:root{--orange:#ff6900;--ink:#15171b;--panel:#fff;--bg:#f3f4f6;--line:#e3e6ea;--muted:#818892;--green:#287851;--red:#a8444d;--blue:#477fb7;--purple:#6955a5;--yellow:#9b7b22}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.login{min-height:100vh;display:grid;grid-template-columns:1.12fr .88fr;background:#fff}.loginBrand{background:linear-gradient(140deg,#111318,#211f1e);color:#fff;padding:56px;display:flex;flex-direction:column}.logo{width:220px;max-width:70vw}.loginBrand h1{font-size:54px;line-height:1.02;letter-spacing:-.05em;margin:auto 0 16px}.loginBrand p{color:#bec2c8;font-size:18px;line-height:1.6;max-width:650px}.loginBox{display:flex;align-items:center;justify-content:center;padding:32px}.cardLogin{width:min(420px,100%)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--orange)}h2{letter-spacing:-.03em}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#535a63;margin:14px 0}.field input,.field select,.field textarea,.input{border:1px solid #dfe2e6;border-radius:8px;padding:11px 12px;background:#fff;outline:none}.field textarea{min-height:90px}.btn{border:0;border-radius:8px;padding:10px 13px;font-weight:700}.btn.primary{background:var(--orange);color:#fff}.btn.secondary{background:#fff;border:1px solid #dfe2e6}.btn.bad{background:#fff5f5;color:var(--red);border:1px solid #efcfd2}.btn.full{width:100%}.shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;background:#15171b;color:#aeb4bc;display:flex;flex-direction:column;z-index:50}.sideLogo{padding:20px;border-bottom:1px solid #292c31}.sideLogo img{width:158px}.nav{padding:14px 9px}.nav button{width:100%;border:0;background:transparent;color:#aeb4bc;text-align:left;border-radius:8px;padding:11px 12px;margin:2px 0;font-weight:700}.nav button:hover,.nav button.active{background:#292c31;color:#fff}.nav button.active{box-shadow:inset 3px 0 var(--orange)}.sideBottom{margin-top:auto;border-top:1px solid #292c31;padding:16px 20px;font-size:12px;color:#777e87}.crmStatusLine{display:flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.2}.crmStatusDot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;display:inline-block}.crmStatusDot.online{background:#32b875;box-shadow:0 0 0 3px rgba(50,184,117,.12)}.crmStatusDot.offline{background:#d95a64;box-shadow:0 0 0 3px rgba(217,90,100,.10)}.crmStatusDivider{color:#555b64}.codenest{display:flex;align-items:center;gap:6px;color:#777e87;text-decoration:none;margin-top:10px}.codenest img{width:85px}.main{margin-left:238px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px;position:sticky;top:0;z-index:40}.topbar h1{font-size:18px;margin:0}.topbar small{display:block;color:#989ea6;margin-top:2px}.actions{margin-left:auto;display:flex;gap:8px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--orange),#262a2f);color:#fff;font-size:12px;font-weight:700}.page{padding:22px}.hero{background:linear-gradient(110deg,#17191d,#2a241f);color:#fff;border-radius:13px;padding:25px 27px;display:flex;justify-content:space-between;align-items:end}.hero h2{font-size:29px;margin:6px 0}.hero p{margin:0;color:#b9bdc4}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:14px 0}.stat,.panel{background:#fff;border:1px solid var(--line);border-radius:10px}.stat{padding:16px}.stat span{font-size:12px;text-transform:uppercase;font-weight:700;color:#818892}.stat b{font-size:27px;display:block;margin:6px 0}.panelHead{padding:15px 17px;border-bottom:1px solid #edf0f2;display:flex;justify-content:space-between;align-items:center}.panelHead h3{margin:0;font-size:14px}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 14px}.kanban{display:flex;gap:10px;overflow-x:auto;padding-bottom:18px}.column{flex:0 0 270px;background:#e8eaed;border-radius:10px;padding:6px}.colHead{height:38px;border-radius:7px;background:#68707a;color:#fff;padding:0 10px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.colHead.fresh{background:#d86b24}.colHead.contacted{background:#447aaa}.colHead.working{background:#6552a5}.colHead.followup{background:#a98426}.colHead.pending{background:#9d672d}.colHead.sold{background:#357c59}.colHead.dead{background:#777c83}.leadCard{background:#fff;border:1px solid #dfe2e5;border-radius:8px;padding:12px;margin:7px 0;box-shadow:0 2px 7px #00000008}.leadCard h4{font-size:12px;margin:7px 0 4px}.leadCard p{font-size:12px;color:#7e858d;margin:4px 0}.chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.chip{font-size:12px;background:#fff3ea;color:#b64c09;border:1px solid #f5d5be;border-radius:999px;padding:4px 6px}.badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f0f2f3;font-size:12px;font-weight:700}.tableWrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:900px}.table th{font-size:12px;text-transform:uppercase;color:#90969e;background:#fafbfb;text-align:left;padding:10px 12px}.table td{font-size:12px;padding:11px 12px;border-top:1px solid #eef0f2}.drawerOverlay,.modalOverlay{position:fixed;inset:0;background:#0b0d10a8;z-index:100;display:flex}.drawerOverlay{justify-content:flex-end}.drawer{width:min(570px,100%);background:#fff;height:100%;display:flex;flex-direction:column}.drawerHead{padding:17px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.drawerBody{overflow:auto;padding:17px 19px;flex:1}.drawerActions{padding:12px 19px;border-top:1px solid var(--line);display:flex;gap:8px}.drawerActions>*{flex:1}.section{padding:15px 0;border-top:1px solid #eceef0}.section h4{font-size:12px;text-transform:uppercase;color:#818892;letter-spacing:.08em}.interestBox{border:1px solid #e4e7ea;border-radius:9px;padding:11px}.interestGrid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.check{display:flex;align-items:center;gap:7px;font-size:12px;border:1px solid #eceef0;border-radius:7px;padding:8px;background:#fafbfb}.saleLine{border:1px solid #e5e7ea;border-radius:9px;padding:11px;margin:8px 0}.saleLineTop{display:flex;justify-content:space-between;gap:10px}.lineGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.fileRow{display:flex;align-items:center;gap:9px;border:1px solid #e7e9ec;border-radius:8px;padding:9px;margin:7px 0}.modalOverlay{align-items:center;justify-content:center;padding:18px}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:13px;padding:18px}.formGrid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.span2{grid-column:1/-1}.mobileNav{display:none}#toast{position:fixed;right:18px;bottom:18px;background:#1b1e22;color:#fff;border-radius:9px;padding:11px 14px;z-index:200;opacity:0;transform:translateY(15px);transition:.2s;font-size:12px}#toast.show{opacity:1;transform:none}.error{background:#fff2f2;border:1px solid #f0cecf;color:#9d3f47;padding:10px;border-radius:8px;font-size:12px}.success{background:#edf8f2;border:1px solid #cde9da;color:#26734f;padding:10px;border-radius:8px;font-size:12px}.hamb{display:none}@media(max-width:900px){.login{grid-template-columns:1fr}.loginBrand{display:none}.loginBox{min-height:100vh}.sidebar{transform:translateX(-100%)}.sidebar.open{transform:none}.main{margin-left:0;padding-bottom:70px}.hamb{display:block}.stats{grid-template-columns:1fr 1fr}.kanban{display:block;overflow:visible}.column{width:100%;margin-bottom:10px}.mobileNav{display:flex;position:fixed;left:0;right:0;bottom:0;height:66px;background:#fff;border-top:1px solid var(--line);z-index:80;padding-bottom:env(safe-area-inset-bottom)}.mobileNav button{flex:1;border:0;background:transparent;font-size:12px}.mobileNav button.active{color:var(--orange);font-weight:700}.actions .desktopOnly{display:none}}@media(max-width:560px){.page{padding:13px}.topbar{height:62px;padding:0 12px}.hero{padding:19px}.hero h2{font-size:23px}.stats{gap:7px}.stat{padding:12px}.stat b{font-size:22px}.formGrid,.interestGrid,.lineGrid{grid-template-columns:1fr}.span2{grid-column:auto}.drawer{width:100%}.drawerActions{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}
/* v2 event approval + payroll filtering */
.eventGroup{margin:16px 0}.eventGroupHead{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}.eventGroupHead h3{font-size:14px;margin:0}.eventGroupHead span{font-size:12px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 8px}.eventGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.eventCard{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px}.eventCardTop{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#888f97;font-size:12px}.eventCard h3{font-size:14px;margin:11px 0 5px}.eventCard p{font-size:12px;color:#656c74;margin:0 0 6px}.eventCard small{font-size:12px;color:#9298a0;line-height:1.45}.eventStatus{display:inline-flex;border-radius:999px;padding:5px 7px;font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:.04em;background:#f2f3f4;color:#727880}.eventStatus.pending_approval{background:#fff3df;color:#8a6819}.eventStatus.approved{background:#e8f5ee;color:#26734f}.eventStatus.changes_requested{background:#fff0f0;color:#a7444d}.eventStatus.draft{background:#edf2f8;color:#4d6c8a}.docMiniRow{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0}.docMini{font-size:12px;border:1px solid #e4e7ea;border-radius:999px;padding:4px 6px;color:#969ca4}.docMini.on{background:#eff8f3;color:#2b7653;border-color:#cae6d8}.eventActions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.eventEmpty{grid-column:1/-1;background:#fff;border:1px dashed #d9dde1;border-radius:10px;padding:18px;text-align:center;color:#9298a0;font-size:12px}.eventDocStack{border:1px solid var(--line);border-radius:10px;padding:12px;margin:14px 0}.eventDocStack h3{font-size:12px;margin:0 0 4px}.mutedCopy{font-size:12px;color:#858b93;line-height:1.5}.eventDocSlot{display:flex;gap:8px;align-items:center;border-top:1px solid #edf0f2;padding:10px 0}.eventDocSlot>div{min-width:0;flex:1}.eventDocSlot b{font-size:12px;display:block}.eventDocSlot small{font-size:12px;color:#9298a0;display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eventDocUpload{display:flex;gap:5px;align-items:center}.eventDocUpload input{max-width:170px;font-size:12px}.approvalBox{background:#fafbfb;border:1px solid #e3e6e9;border-radius:10px;padding:12px;margin-top:12px}.approvalCheck{background:#fff}.payrollTools{gap:15px;align-items:flex-end}.payrollTools>div:first-child{min-width:220px}.payrollTools small{font-size:12px;color:#90969e}.payFilters{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.payFilters .input{min-width:145px}.payFilters #paySearch{min-width:210px}.payPill{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:12px;font-weight:700;background:#f2f3f4}.payPill.pending{background:#fff3df;color:#866514}.payPill.approved{background:#eaf3fb;color:#356c9e}.payPill.paid{background:#e8f5ee;color:#26734f}.payPill.expired,.deadlineExpired{background:#f8e9ea;color:#a5424c}.installDeadline{display:block;color:#85671b;background:#fff8e8;border:1px solid #f0dfb5;border-radius:7px;padding:7px 8px;margin:7px 0;font-size:12px}
@media(max-width:1050px){.eventGrid{grid-template-columns:1fr 1fr}.payrollTools{align-items:flex-start;flex-direction:column}.payFilters{justify-content:flex-start;width:100%}}
@media(max-width:620px){.eventGrid{grid-template-columns:1fr}.eventDocSlot{align-items:flex-start;flex-wrap:wrap}.eventDocUpload{width:100%;flex-wrap:wrap}.eventDocUpload input{max-width:100%;width:100%}.payFilters{flex-direction:column}.payFilters .input,.payFilters #paySearch,.payFilters .btn{width:100%}.mobileNav button{font-size:12px}}
/* WordPress standalone shell hardening */
body.dotcrm-standalone{margin:0!important;padding:0!important;background:var(--bg)!important;overflow-x:hidden}body.dotcrm-standalone #wpadminbar{display:none!important}html:has(body.dotcrm-standalone){margin-top:0!important}body.dotcrm-standalone a{text-decoration:none}#dotcrm-root{min-height:100vh}body.dotcrm-standalone .logo,body.dotcrm-standalone .sideLogo img{background:transparent!important}
/* Full WordPress plugin reporting/import/DCMS enhancements */
.dailyPeople{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;padding:14px 16px}.dailyPerson{border:1px solid #e6e8eb;border-radius:10px;padding:13px;background:#fafbfb}.dailyPersonTop{display:grid;grid-template-columns:24px 34px 1fr auto;gap:8px;align-items:center}.dailyPersonTop>div{display:flex;flex-direction:column}.dailyPersonTop>div b{font-size:12px}.dailyPersonTop>div small{font-size:12px;color:#9298a0}.dailyPersonTop strong{font-size:22px}.dailyPersonTop strong small{font-size:12px;color:#9298a0}.rankNum{width:22px;height:22px;border-radius:6px;background:#eceef0;display:grid;place-items:center;font-size:12px;font-weight:700;color:#747b83}.dcmsHandoff{margin:13px 0;padding:12px;border:1px solid #cce6d7;background:#f1faf5;border-radius:10px}.dcmsHandoff b{font-size:12px;color:#26734f}.dcmsHandoff p{font-size:12px;color:#63756b;line-height:1.5}.bonusRow{display:grid;grid-template-columns:1.4fr .8fr .65fr auto auto;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid #edf0f2;font-size:12px}.bonusRow:first-child{border-top:0}.bonusRow>div:first-child b{font-size:12px;display:block}.bonusRow small{display:block;color:#9298a0;margin-top:2px}.progress{height:7px;background:#eceef0;border-radius:999px;overflow:hidden;min-width:100px}.progress i{display:block;height:100%;background:var(--orange);border-radius:999px}.bonusActions{display:flex;gap:5px;flex-wrap:wrap}.importForm{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;align-items:end}.importForm>.btn{margin:14px 0;height:42px}.importForm .field:first-child{grid-column:1/-1}.payPill.success{background:#e8f5ee;color:#26734f}.payPill.failed{background:#f8e9ea;color:#a5424c}.payPill.processing{background:#eaf3fb;color:#356c9e}
@media(max-width:850px){.bonusRow{grid-template-columns:1fr 1fr}.bonusRow>div:first-child{grid-column:1/-1}.importForm{grid-template-columns:1fr}.importForm .field:first-child{grid-column:auto}}
@media(max-width:560px){.dailyPeople{grid-template-columns:1fr;padding:10px}.bonusRow{grid-template-columns:1fr}.bonusRow>*{grid-column:auto!important}}

/* v1.3 Brand Ambassador QR lead cards */
.qrCardBox{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:center;margin:16px 0;padding:16px;border:1px solid #e5e7ea;border-radius:12px;background:#fafbfb}.qrCardBox canvas{width:260px;height:260px;max-width:100%;background:#fff;border:1px solid #e3e5e7;border-radius:8px}.qrCardMeta{min-width:0;display:flex;flex-direction:column;gap:5px}.qrCardMeta span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#969ca4;margin-top:6px}.qrCardMeta b{font-size:18px;letter-spacing:.04em}.qrCardMeta code{font-size:12px;line-height:1.55;word-break:break-all;background:#fff;border:1px solid #e6e8ea;border-radius:7px;padding:9px}.qrCardMeta small{font-size:12px;color:#747b83;line-height:1.5;margin-top:6px}.qrActions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.qrActions .btn{flex:1;min-width:130px}
@media(max-width:640px){.qrCardBox{grid-template-columns:1fr}.qrCardBox canvas{margin:auto}.qrActions{flex-direction:column}.qrActions .btn{width:100%}}

/* v1.4 Brand Ambassador Pole Sign submissions */
.poleSettingsBox{border:1px solid #e5e7ea;border-radius:10px;background:#fafbfb;padding:13px;margin:12px 0}.poleSettingsBox h3{font-size:12px;margin:0 0 9px}.weeklySignGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:14px}.weeklySignCard{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center}.weeklySignCard div{display:flex;flex-direction:column}.weeklySignCard b{font-size:12px}.weeklySignCard small{font-size:12px;color:#9298a0;margin-top:2px}.weeklySignCard strong{font-size:22px}.weeklySignCard>span{grid-column:1/-1;font-size:12px;color:#8a6819;background:#fff8e8;border:1px solid #efdfb8;border-radius:999px;width:max-content;padding:4px 7px}.weeklySignCard.met{border-color:#c9e5d7;background:#f7fcf9}.weeklySignCard.met>span{color:#26734f;background:#e8f5ee;border-color:#c9e5d7}.poleRules{margin-top:14px}.ruleTarget{font-size:12px;font-weight:700;color:#b5500d;background:#fff2e9;border:1px solid #f3d3bc;border-radius:999px;padding:5px 8px;white-space:nowrap}.poleRuleGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid #edf0f2}.poleRuleGrid>div{padding:14px 16px;border-right:1px solid #edf0f2;border-bottom:1px solid #edf0f2}.poleRuleGrid>div:nth-child(2n){border-right:0}.poleRuleGrid b{font-size:12px}.poleRuleGrid ul{margin:8px 0 0 18px;padding:0;color:#707780;font-size:12px;line-height:1.55}.poleStatus{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:12px;font-weight:700;text-transform:capitalize;background:#f1f2f3;color:#6f767e}.poleStatus.submitted{background:#fff3df;color:#856514}.poleStatus.approved{background:#e8f5ee;color:#26734f}.poleStatus.rejected{background:#f8e9ea;color:#a5424c}.payPill.unpaid{background:#f1f2f3;color:#777e87}.poleActions{display:flex;flex-wrap:wrap;gap:5px}.cameraBox{border:1px solid #e4e7ea;border-radius:11px;background:#111;padding:10px;margin:12px 0;color:#fff}.cameraBox video,.cameraBox img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:8px;background:#000}.cameraActions{display:flex;gap:7px;margin-top:9px}.cameraBox .mutedCopy{color:#c0c5cb;margin-top:8px}.gpsBox{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4e7ea;border-radius:9px;padding:11px 12px;background:#fafbfb}.gpsBox>div{display:flex;flex-direction:column}.gpsBox b{font-size:12px}.gpsBox small{font-size:12px;color:#848b93;margin-top:3px}.poleConfirm{line-height:1.45;margin:12px 0}.polePayStats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 16px}.polePayStats span{background:#fafbfb;border:1px solid #e7e9ec;border-radius:8px;padding:10px;font-size:12px;color:#737a83}.polePayStats b{display:block;color:#272b30;font-size:16px;margin-bottom:3px}.poleTable .btn{padding:7px 9px;font-size:12px}
@media(max-width:720px){.poleRuleGrid{grid-template-columns:1fr}.poleRuleGrid>div{border-right:0}.polePayStats{grid-template-columns:1fr}.cameraActions,.gpsBox{align-items:stretch;flex-direction:column}.mobileNav button{font-size:12px}}

/* v1.4.3 Team & Users management clarity */
.adminControlGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.adminControlCard{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px;display:grid;grid-template-columns:30px 1fr;gap:8px 10px;align-items:start}.adminControlCard>span{width:28px;height:28px;border-radius:8px;background:#fff1e8;color:#c9530d;display:grid;place-items:center;font-size:12px;font-weight:700}.adminControlCard>div{min-width:0}.adminControlCard b{display:block;font-size:12px;margin:1px 0 4px}.adminControlCard small{display:block;font-size:12px;line-height:1.5;color:#858b93}.adminControlCard .btn{grid-column:1/-1;margin-top:3px}.adminEmptyState{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border:1px solid #f0d9c6;border-left:4px solid var(--orange);background:#fff8f2;border-radius:10px;margin:0 0 14px}.adminEmptyState b{font-size:12px}.adminEmptyState p{font-size:12px;line-height:1.55;color:#7b675a;margin:5px 0 0;max-width:850px}.adminEmptyState .btn{white-space:nowrap}.teamActions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.managementAccountTag{font-size:12px;font-weight:700;color:#6d747c;background:#f1f3f4;border:1px solid #e3e6e8;border-radius:999px;padding:5px 7px;white-space:nowrap}.statusGood{color:#26734f;font-weight:700}.statusOff{color:#a5424c;font-weight:700}.teamTable td:last-child{min-width:330px}
@media(max-width:1150px){.adminControlGrid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.adminControlGrid{grid-template-columns:1fr}.adminEmptyState{align-items:flex-start;flex-direction:column}.adminEmptyState .btn{width:100%}.teamTable td:last-child{min-width:260px}}

/* v1.5.0 branded account/reset experience */
.forgotLink{display:block;text-align:center;margin:13px 0 0;color:#df600e;text-decoration:none;font-size:12px;font-weight:700}.forgotLink:hover{text-decoration:underline}.teamActions .password-reset{white-space:nowrap}
.loginStatus{min-height:18px;margin:8px 0 2px;text-align:center;font-size:12px;color:#69717a}.cardLogin .btn:disabled{opacity:.68;cursor:wait}
/* v1.5.4 — Event commission, completion and payroll */
.eventStatus.completed{background:#eaf3fb;color:#356c9e}.commissionSummary{margin:10px 0 2px;padding:8px 9px;border:1px solid #f0dfd2;background:#fff8f2;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.commissionSummary b{font-size:12px;color:#b5500d}.commissionSummary small{font-size:12px;color:#8c735f;text-align:right}.commissionMoney{display:flex;align-items:center;border:1px solid #dfe2e6;border-radius:8px;background:#fff;overflow:hidden}.commissionMoney span{padding:0 0 0 11px;font-weight:700;color:#8a9098}.commissionMoney input{border:0!important;box-shadow:none!important}.payPill.locked{background:#f1f2f3;color:#6f767e}.payPill.rejected{background:#f8e9ea;color:#a5424c}.polePayStats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
/* v1.6.0 — Management event expenses and accounts payable */
.eventPaymentHero{background:linear-gradient(115deg,#15171b,#30251e)}.eventPaymentHero>div{max-width:840px}.eventPaymentHero .btn{white-space:nowrap}
.eventPaymentStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px 5px}.eventPaymentStats article{border:1px solid #e5e8eb;border-radius:10px;background:#fafbfb;padding:13px}.eventPaymentStats span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#818892}.eventPaymentStats b{display:block;font-size:22px;margin:6px 0 3px;color:#25292e}.eventPaymentStats small{display:block;font-size:12px;color:#8b929a}
.eventPaymentResultCount{padding:10px 16px;color:#777e87;font-size:12px}.eventPaymentTable{min-width:1220px}.eventPaymentTable td{vertical-align:top}.eventPaymentTable td small{color:#8a9199;line-height:1.5}.eventPaymentOverdue{background:#fffafa}.eventPaymentDue{color:#a5424c;font-weight:700}
.eventPaymentStatus{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:.035em;background:#f1f2f3;color:#6f767e;white-space:nowrap}.eventPaymentStatus.awaiting_approval{background:#fff3df;color:#866514}.eventPaymentStatus.approved_to_pay{background:#eaf3fb;color:#356c9e}.eventPaymentStatus.paid,.eventPaymentStatus.reimbursed{background:#e8f5ee;color:#26734f}.eventPaymentStatus.reimbursement_owing{background:#fff0e7;color:#b4500d}.eventPaymentStatus.declined{background:#f8e9ea;color:#a5424c}.eventPaymentStatus.not_required,.eventPaymentStatus.unconfigured{background:#f1f2f3;color:#6f767e}
.eventPaymentDocs{display:flex;flex-direction:column;gap:4px}.eventPaymentDocs a{color:#c8510c;font-weight:700;text-decoration:none}.eventPaymentDocs span{color:#9aa0a7;font-size:12px}
.eventPaymentBox{border:1px solid #f0d6c2;border-left:4px solid var(--orange);border-radius:10px;background:#fffaf6;padding:13px;margin:14px 0}.eventPaymentHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.eventPaymentHead h3{font-size:13px;margin:4px 0 0}.eventPaymentMini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.eventPaymentMini span{border:1px solid #eee3da;background:#fff;border-radius:8px;padding:9px;min-width:0}.eventPaymentMini small{display:block;color:#96908b;font-size:12px;text-transform:uppercase;font-weight:700;margin-bottom:4px}.eventPaymentMini b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eventPaymentWarning{border:1px solid #efcfb8;background:#fff1e7;color:#98440f;border-radius:8px;padding:9px;margin:9px 0;font-size:12px}
.eventPaymentSeparate{display:flex;flex-direction:column;gap:3px;background:#f1faf5;border:1px solid #cce6d7;border-radius:9px;padding:10px 11px;margin:10px 0}.eventPaymentSeparate b{font-size:12px;color:#26734f}.eventPaymentSeparate span{font-size:12px;color:#63756b;line-height:1.45}
.eventPaymentDocuments{border:1px solid #e5e7ea;border-radius:10px;padding:12px;margin:14px 0}.eventPaymentDocuments h3{font-size:12px;margin:0 0 3px}.eventPaymentDocumentRow{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(180px,1fr);gap:8px;align-items:center;border-top:1px solid #edf0f2;padding:10px 0}.eventPaymentDocumentRow span{display:flex;min-width:0;flex-direction:column}.eventPaymentDocumentRow b{font-size:12px}.eventPaymentDocumentRow small{font-size:12px;color:#9298a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eventPaymentDocumentRow input{min-width:0;max-width:100%;font-size:12px}.eventPaymentAuditNote{font-size:12px;color:#777e87;background:#fafbfb;border:1px solid #e7e9ec;border-radius:8px;padding:9px;margin:0 0 10px}
#eventPaymentSearch{min-width:230px}
@media(max-width:1100px){.eventPaymentStats{grid-template-columns:1fr 1fr}.eventPaymentHero{align-items:flex-start;flex-direction:column;gap:16px}.eventPaymentHero .btn{width:100%}}
@media(max-width:650px){.eventPaymentStats{grid-template-columns:1fr;padding:10px}.eventPaymentMini{grid-template-columns:1fr}.eventPaymentHead{align-items:flex-start;flex-direction:column}.eventPaymentDocumentRow{grid-template-columns:1fr}.eventPaymentDocumentRow .btn,.eventPaymentDocumentRow input{width:100%}#eventPaymentSearch{min-width:0}.eventPaymentHero .btn{width:100%}}

/* v1.6.1 — responsive application-shell and readability refinement */
:root{--bg:#f5f6f8;--panel:#fff;--line:#e2e6ea;--muted:#69717b;--soft:#f8f9fa;--shadow:0 8px 28px rgba(16,24,40,.055);--shadow-lg:0 22px 60px rgba(10,16,24,.18)}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-size:14px;line-height:1.5}
button,input,select,textarea{font-size:14px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(255,105,0,.25);outline-offset:2px}
.btn{min-height:40px;padding:10px 15px;border-radius:10px;font-size:12px;line-height:1.25;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn.primary{box-shadow:0 5px 14px rgba(255,105,0,.2)}
.btn.secondary:hover{border-color:#c8cdd3;background:#fafafa}
.btn:disabled{cursor:not-allowed;opacity:.62;transform:none}
.eyebrow{font-size:12px;line-height:1.3;letter-spacing:.13em}
h2{font-size:28px;line-height:1.14;margin:8px 0 14px}
.mutedCopy{font-size:12px;line-height:1.6;color:var(--muted)}
.shell{min-height:100dvh}
.sidebar{width:264px;box-shadow:10px 0 32px rgba(0,0,0,.06)}
.sideLogo{padding:22px 22px 18px;display:flex;flex-direction:column;gap:8px}
.sideLogo img{width:174px;max-width:100%}
.sideLogo span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:#737b84}
.nav{padding:14px 11px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}
.nav button{min-height:43px;padding:10px 12px;display:flex;align-items:center;gap:10px;border-radius:10px;font-size:12px;line-height:1.25;margin:2px 0}
.navMark{width:7px;height:7px;flex:0 0 7px;border-radius:999px;background:#555b63;transition:.15s ease}
.nav button:hover .navMark{background:#8b929a}
.nav button.active{background:linear-gradient(90deg,#2b2d32,#25272b);box-shadow:inset 3px 0 var(--orange),0 5px 16px rgba(0,0,0,.12)}
.nav button.active .navMark{background:var(--orange);box-shadow:0 0 0 4px rgba(255,105,0,.13)}
.navText{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sideBottom{padding:16px 20px 18px;margin-top:0;background:#131519}
.crmStatusLine{font-size:12px}
.main{margin-left:264px;min-width:0}
.topbar{height:78px;padding:0 clamp(18px,2.3vw,34px);gap:14px;box-shadow:0 1px 0 rgba(17,24,39,.025)}
.topbarTitle{min-width:0}
.topbar h1{font-size:19px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar small{font-size:12px;color:#7f8791}
.actions{gap:10px;min-width:0}
.topbarUser{display:flex;align-items:center;gap:9px;min-width:0;padding:5px 9px 5px 5px;border:1px solid #e6e8eb;border-radius:999px;background:#fafbfb}
.topbarUserCopy{display:flex;flex-direction:column;line-height:1.18;max-width:150px}
.topbarUserCopy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbarUserCopy small{font-size:12px;margin:2px 0 0}
.avatar{width:36px;height:36px;flex:0 0 36px;font-size:12px;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.page{width:min(100%,1640px);margin:0 auto;padding:clamp(18px,2.3vw,32px)}
.hero{border-radius:16px;padding:clamp(24px,3vw,38px);box-shadow:0 16px 36px rgba(15,18,23,.11);gap:24px}
.hero h2{font-size:clamp(27px,2.7vw,38px);margin:7px 0 9px}
.hero p{font-size:13px;line-height:1.65;max-width:900px;color:#c5c9ce}
.stats{gap:14px;margin:18px 0}
.stat,.panel{border-radius:14px;box-shadow:var(--shadow)}
.stat{padding:19px}
.stat span{font-size:12px;letter-spacing:.06em}
.stat b{font-size:30px;line-height:1.15;margin:8px 0 4px}
.stat small{font-size:12px;color:var(--muted)}
.panelHead{min-height:64px;padding:16px 20px;gap:16px}
.panelHead h3{font-size:16px;line-height:1.3}
.panelHead small{font-size:12px!important;line-height:1.5}
.toolbar{margin-bottom:18px;gap:16px}
.toolbar h2{font-size:30px!important}
.tableWrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.table th{padding:12px 14px;font-size:12px;letter-spacing:.055em;white-space:nowrap;position:sticky;top:0;z-index:1}
.table td{padding:13px 14px;font-size:12px;line-height:1.45}
.table tbody tr{transition:background .14s ease}
.table tbody tr:hover{background:#fffaf6}
.field{gap:7px;margin:16px 0;font-size:12px;line-height:1.35}
.field input,.field select,.field textarea,.input{min-height:44px;border-radius:10px;padding:11px 13px;font-size:14px;color:#24292f;transition:border-color .15s ease,box-shadow .15s ease}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:#ff9b57;box-shadow:0 0 0 4px rgba(255,105,0,.09)}
.field small{font-size:12px;line-height:1.45;color:#858d96}
.check{min-height:42px;padding:10px 11px;font-size:12px;line-height:1.35}
.chip,.badge{font-size:12px;padding:5px 8px}
.leadCard{padding:14px;border-radius:11px;box-shadow:0 4px 13px rgba(16,24,40,.04)}
.leadCard h4{font-size:14px}
.leadCard p{font-size:12px;line-height:1.45}
.column{flex-basis:294px;border-radius:12px;padding:7px}
.colHead{height:43px;font-size:12px;border-radius:9px}
.drawerOverlay,.modalOverlay{backdrop-filter:blur(3px);background:rgba(11,13,16,.7)}
.drawer{width:min(640px,100%);box-shadow:-18px 0 55px rgba(0,0,0,.18)}
.drawerHead{padding:20px 22px;gap:14px}
.drawerHead h2{font-size:23px;margin:7px 0 3px}
.drawerBody{padding:18px 22px}
.drawerActions{padding:14px 22px}
.section h4{font-size:12px;letter-spacing:.1em}
.modal{position:relative;width:min(680px,100%);max-height:min(92dvh,920px);border-radius:17px;padding:24px;box-shadow:var(--shadow-lg)}
.modal h2{padding-right:42px}
.modalClose{position:absolute;right:16px;top:16px;width:36px;height:36px;border:1px solid #e1e4e7;border-radius:999px;background:#fff;color:#5d646c;font-size:23px;line-height:1;display:grid;place-items:center;z-index:2}
.modalClose:hover{background:#f5f6f7;color:#111}
#toast{right:24px;bottom:24px;max-width:min(420px,calc(100vw - 32px));padding:13px 16px;border-radius:11px;font-size:12px;box-shadow:0 15px 35px rgba(0,0,0,.2)}
.sidebarScrim{display:none}
.crmFooter{display:flex;justify-content:flex-end;padding-top:4px}
.loginBrand{padding:clamp(40px,5vw,72px)}
.loginBrand h1{font-size:clamp(46px,5vw,70px);max-width:720px}
.loginBrand p{font-size:18px}
.loginBox{padding:40px}
.cardLogin{width:min(440px,100%)}
.cardLogin h2{font-size:31px;margin-bottom:22px}
.loginMobileLogo{display:none}
.loginLegal{font-size:12px;color:#7c848d;text-align:center;line-height:1.55;margin:18px 0 0}
.eventGrid{gap:14px}
.eventGroupHead h3{font-size:16px}.eventGroupHead span{font-size:12px}
.eventCard{border-radius:14px;padding:17px;box-shadow:var(--shadow)}
.eventCard h3{font-size:16px}
.eventCard p{font-size:12px}
.eventCard small{font-size:12px}
.eventStatus,.payPill,.poleStatus{font-size:12px;padding:5px 8px}
.docMini{font-size:12px;padding:5px 7px}
.eventDocStack{padding:15px;border-radius:12px}.eventDocStack h3{font-size:14px}.eventDocSlot b{font-size:12px}.eventDocSlot small{font-size:12px}.eventDocUpload input{font-size:12px}
.payFilters .input{min-width:160px}.payrollTools small{font-size:12px}
.dailyPeople{gap:12px;padding:16px 20px}.dailyPerson{padding:15px;border-radius:12px}.dailyPersonTop>div b{font-size:13px}.dailyPersonTop>div small{font-size:12px}.dailyPersonTop strong{font-size:24px}.dailyPersonTop strong small{font-size:12px}
.bonusRow{padding:14px 20px;font-size:12px}.bonusRow>div:first-child b{font-size:12px}.bonusRow small{font-size:12px}
.qrCardMeta span{font-size:12px}.qrCardMeta code{font-size:12px}.qrCardMeta small{font-size:12px}.qrActions .btn{font-size:12px}
.poleSettingsBox h3{font-size:14px}.weeklySignCard{padding:15px}.weeklySignCard b{font-size:13px}.weeklySignCard small{font-size:12px}.weeklySignCard>span,.ruleTarget{font-size:12px}.poleRuleGrid b{font-size:12px}.poleRuleGrid ul{font-size:12px}.gpsBox b{font-size:12px}.gpsBox small{font-size:12px}.poleTable .btn{font-size:12px}
.adminControlCard{padding:16px}.adminControlCard b{font-size:13px}.adminControlCard small{font-size:12px}.adminEmptyState b{font-size:13px}.adminEmptyState p{font-size:12px}.managementAccountTag{font-size:12px}
.forgotLink{font-size:12px}.loginStatus{font-size:12px}.commissionSummary b{font-size:12px}.commissionSummary small{font-size:12px}
.eventPaymentStats{gap:13px;padding:18px 20px 8px}
.eventPaymentStats article{border-radius:12px;padding:16px;background:linear-gradient(145deg,#fff,#f8f9fa)}
.eventPaymentStats span{font-size:12px}
.eventPaymentStats b{font-size:25px}
.eventPaymentStats small{font-size:12px}
.eventPaymentResultCount{padding:12px 20px;font-size:12px}
.eventPaymentStatus{font-size:12px;padding:6px 9px}
.eventPaymentTable td small{font-size:12px}
.eventPaymentMobileRegister{display:none}
.eventPaymentModal{width:min(860px,100%);padding:28px}
.eventPaymentModal .formGrid{column-gap:18px}
.eventPaymentDocuments{padding:15px;border-radius:12px}
.eventPaymentDocuments h3{font-size:14px}
.eventPaymentDocumentRow{padding:13px 0;grid-template-columns:minmax(160px,1fr) auto minmax(210px,1fr)}
.eventPaymentDocumentRow b{font-size:12px}
.eventPaymentDocumentRow small,.eventPaymentAuditNote,.eventPaymentSeparate span{font-size:12px}
.eventPaymentSeparate b{font-size:12px}

@media(max-width:1200px){
  .sidebar{width:244px}.main{margin-left:244px}.topbarUserCopy{display:none}.topbarUser{padding-right:5px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:900px){
  body.navOpen{overflow:hidden}
  .sidebar{width:min(310px,86vw);transform:translateX(-105%);transition:transform .22s ease;z-index:130;box-shadow:18px 0 50px rgba(0,0,0,.24)}
  .sidebar.open{transform:none}
  .sidebarScrim{display:block;position:fixed;inset:0;border:0;padding:0;background:rgba(9,12,16,.55);backdrop-filter:blur(2px);z-index:120;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
  .sidebarScrim.open{opacity:1;visibility:visible}
  .main{margin-left:0;padding-bottom:0}
  .hasMobileNav .main{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .topbar{height:70px;padding:0 16px;gap:12px}
  .hamb{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:42px}
  .hambText{font-size:12px}
  .topbarTitle{flex:1}
  .topbar h1{font-size:17px}
  .actions{margin-left:0}
  .actions .desktopOnly{display:none}
  .topbarUser{padding:3px;border:0;background:transparent}
  .topbarUserCopy{display:none}
  .avatar{width:34px;height:34px;flex-basis:34px}
  .page{padding:18px}
  .hero{padding:25px;align-items:flex-start;flex-direction:column}
  .hero>.btn,.hero>a.btn{width:100%}
  .kanban{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;padding:2px 2px 18px}
  .column{width:auto;flex:0 0 min(82vw,310px);margin:0;scroll-snap-align:start}
  .mobileNav{height:calc(68px + env(safe-area-inset-bottom));padding:0 5px env(safe-area-inset-bottom);overflow-x:auto;overscroll-behavior-x:contain;box-shadow:0 -8px 25px rgba(18,24,32,.08)}
  .mobileNav button{min-width:58px;min-height:58px;padding:7px 5px;font-size:12px;line-height:1.2;border-radius:9px;position:relative}
  .mobileNav button.active{background:#fff5ee}
  .mobileNav button.active:before{content:"";position:absolute;left:24%;right:24%;top:4px;height:3px;border-radius:999px;background:var(--orange)}
  .crmFooter{justify-content:center;padding-bottom:24px}
  .loginMobileLogo{display:block;width:260px;max-width:100%;height:auto;margin:0 auto 28px}
  .btn{min-height:44px}
}

@media(max-width:760px){
  .panelHead{align-items:flex-start;flex-direction:column}
  .panelHead>.btn,.panelHead>a.btn{width:100%}
  .toolbar{align-items:stretch;flex-direction:column}
  .toolbar>.input,.toolbar select{width:100%}
  .eventPaymentDesktopRegister{display:none}
  .eventPaymentMobileRegister{display:grid;gap:12px;padding:4px 14px 16px}
  .eventPaymentMobileCard{border:1px solid #e2e5e8;border-radius:14px;background:#fff;padding:15px;box-shadow:0 7px 20px rgba(16,24,40,.05)}
  .eventPaymentMobileCard.eventPaymentOverdue{border-color:#edc7ca;background:#fffafa}
  .eventPaymentMobileHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #eceef0}
  .eventPaymentMobileHead>div{min-width:0}
  .eventPaymentMobileHead h3{font-size:16px;line-height:1.25;margin:4px 0}
  .eventPaymentMobileHead p{font-size:12px;line-height:1.45;color:var(--muted);margin:0}
  .eventPaymentMobileAmount{padding:14px 0 11px;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:end}
  .eventPaymentMobileAmount span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#858c94}
  .eventPaymentMobileAmount b{font-size:25px;line-height:1;color:#25292e}
  .eventPaymentMobileAmount small{grid-column:1/-1;font-size:12px;color:#8a9199}
  .eventPaymentMobileFacts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .eventPaymentMobileFacts>span{min-width:0;padding:10px;border:1px solid #e8eaed;border-radius:10px;background:#fafbfb;display:flex;flex-direction:column}
  .eventPaymentMobileFacts small{font-size:12px;text-transform:uppercase;font-weight:700;color:#8b929a;margin-bottom:4px}
  .eventPaymentMobileFacts b{font-size:12px;line-height:1.35;word-break:break-word}
  .eventPaymentMobileFacts em{font-size:12px;color:#7d858e;font-style:normal;margin-top:3px}
  .eventPaymentMobileFoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #eceef0}
  .eventPaymentMobileFoot .eventPaymentDocs{flex-direction:row;flex-wrap:wrap;gap:10px}
  .eventPaymentMobileFoot .btn{min-width:125px}
  .eventPaymentStats{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px 14px 7px}
  .eventPaymentStats article{padding:13px}
  .eventPaymentStats b{font-size:21px}
  .eventPaymentResultCount{padding:10px 14px}
  .eventPaymentModal{width:100%;padding:22px 18px calc(20px + env(safe-area-inset-bottom))}
}

@media(max-width:620px){
  body{font-size:13px}
  .login{background:linear-gradient(155deg,#15171b 0,#23201d 34%,#f5f6f8 34%)}
  .loginBox{min-height:100dvh;align-items:flex-start;padding:clamp(28px,10vh,78px) 16px 24px}
  .cardLogin{background:#fff;border:1px solid #e5e7ea;border-radius:18px;padding:22px;box-shadow:0 22px 55px rgba(0,0,0,.16)}
  .cardLogin h2{font-size:27px;margin:7px 0 20px}
  .loginMobileLogo{display:block;width:260px;max-width:100%;height:auto;margin:0 auto 28px}
  .cardLogin .field input{font-size:16px}
  .page{padding:14px}
  .topbar{padding:0 12px;gap:9px}
  .hamb{padding:9px 11px}
  .hambText{display:none}
  .topbar small{font-size:12px}
  .actions{gap:7px}
  .actions #newLead{padding:9px 11px;font-size:12px;white-space:nowrap}
  .hero{border-radius:14px;padding:21px}
  .hero h2{font-size:25px}
  .hero p{font-size:12px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .stat{padding:14px}
  .stat b{font-size:24px}
  .stat small{font-size:12px}
  .panel{border-radius:12px}
  .panelHead{padding:14px}
  .panelHead h3{font-size:15px}
  .formGrid,.interestGrid,.lineGrid{grid-template-columns:1fr}
  .field input,.field select,.field textarea,.input{font-size:16px}
  .drawer{width:100%;height:100dvh}
  .drawerHead{padding:16px}
  .drawerBody{padding:14px 16px}
  .drawerActions{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .modalOverlay{align-items:flex-end;padding:0}
  .modal{width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom))}
  .modalClose{position:sticky;float:right;right:0;top:0;margin:-6px -2px 0 10px}
  #toast{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:none;text-align:center}
  .hasMobileNav #toast{bottom:calc(80px + env(safe-area-inset-bottom))}
  .eventGrid{grid-template-columns:1fr}
  .eventCard{padding:15px}
  .payFilters{width:100%;flex-direction:column}
  .payFilters .input,.payFilters .btn,.payFilters #paySearch,#eventPaymentSearch{width:100%;min-width:0}
  .eventPaymentHero .btn{width:100%}
  .eventPaymentDocumentRow{grid-template-columns:1fr}
  .eventPaymentDocumentRow .btn,.eventPaymentDocumentRow input{width:100%}
}

@media(max-width:420px){
  .topbarUser{display:none}
  .topbarTitle small{display:none}
  .stats{grid-template-columns:1fr}
  .eventPaymentStats{grid-template-columns:1fr 1fr!important}
  .eventPaymentMobileHead{flex-direction:column}
  .eventPaymentMobileFacts{grid-template-columns:1fr}
  .eventPaymentMobileFoot{align-items:stretch;flex-direction:column}
  .eventPaymentMobileFoot .btn{width:100%}
  .eventPaymentMobileFoot .eventPaymentDocs{justify-content:space-between}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v1.6.2 — payroll-period corrections, reliable logout, and export hardening */
.sideLogout{width:100%;min-height:40px;margin:12px 0 2px;padding:9px 11px;border:1px solid #343940;border-radius:9px;background:#1b1e23;color:#e4e7ea;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;transition:background .15s ease,border-color .15s ease}
.sideLogout:hover{background:#262a30;border-color:#4a5058;color:#fff}.sideLogout:disabled{opacity:.58;cursor:wait}
.payrollTable{min-width:1280px}.payrollPeriod{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;background:#f1f3f5;color:#5f6670;font-size:12px;font-weight:700;white-space:nowrap}.payrollPeriod.adjusted{background:#fff1e7;color:#ad4b0c;border:1px solid #f1d2bd}.payrollPeriodSource{display:block;margin-top:5px;color:#8a9199;font-size:12px;white-space:nowrap}.payrollActions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:210px}.payrollActions .btn{padding:8px 10px;min-height:36px;font-size:12px}.payrollGuard{display:flex;flex-direction:column;gap:4px;padding:11px 12px;border:1px solid #cce6d7;border-radius:10px;background:#f1faf5;margin:11px 0}.payrollGuard b{font-size:12px;color:#26734f}.payrollGuard span{font-size:12px;line-height:1.5;color:#63756b}.payrollCurrent{display:flex;flex-direction:column;gap:3px;margin:10px 0 15px;padding:11px;border:1px solid #e4e7ea;border-radius:10px;background:#fafbfb;font-size:12px}.payrollCurrent small{color:#7d858e;line-height:1.45}
.accountGrid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:14px;margin-top:14px}.accountPanel{padding:22px}.accountPanel h3{font-size:16px;margin:0 0 7px}.accountPanel hr{border:0;border-top:1px solid #eceef0;margin:22px 0}.sessionPanel{display:flex;flex-direction:column;justify-content:space-between;gap:22px}.dataProtection{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #e2e5e8;border-radius:10px;background:#fafbfb}.dataProtection b{font-size:12px}.dataProtection span{font-size:12px;line-height:1.5;color:#737b84}
.recordDangerZone{margin-top:12px;padding:15px;border:1px solid #efcfd2;border-radius:10px;background:#fff8f8;display:flex;align-items:center;justify-content:space-between;gap:14px}.recordDangerZone h4{margin:0 0 5px;color:var(--red)}.recordDangerZone p{margin:0;max-width:350px;color:#7d6568;font-size:12px;line-height:1.45}.recordDangerActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;flex:0 0 auto}.recordDeleteWarning{display:flex;flex-direction:column;gap:6px;margin:11px 0;padding:12px;border:1px solid #efcfd2;border-radius:10px;background:#fff5f5;color:#805057}.recordDeleteWarning b{font-size:12px;color:var(--red)}.recordDeleteWarning span{font-size:12px;line-height:1.5}.btn.bad:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:900px){.sideLogout{min-height:44px;margin-top:14px}.accountGrid{grid-template-columns:1fr}.sessionPanel{gap:16px}}
@media(max-width:620px){.payrollActions{min-width:190px}.accountPanel{padding:17px}.sessionPanel .btn{min-height:48px}.recordDangerZone{align-items:stretch;flex-direction:column}.recordDangerActions{display:grid;grid-template-columns:1fr}.recordDangerActions .btn{min-height:44px;width:100%}}
@media print{body.dotcrm-standalone *{display:none!important}body.dotcrm-standalone:before{content:"DOT Canada CRM printing and data export are disabled.";display:block!important;padding:40px;font:700 18px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15171b;background:#fff}}

/* v1.6.3 — mandatory structured Canadian customer addresses */
.contactGrid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.addressBlock{display:flex;flex-direction:column;gap:3px;line-height:1.45}.addressBlock span{display:block}.addressBlock b{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#858c94}.leadCardAddress{margin-top:9px;padding-top:8px;border-top:1px solid #eef0f2;font-size:12px;color:#747b83}.leadCardAddress .addressBlock{gap:2px}.leadDirectory{min-width:1220px}.leadDirectory td:nth-child(3){min-width:190px}.requiredNotice{padding:9px 11px;border:1px solid #f3d7c4;border-radius:9px;background:#fff8f2;color:#8f4c20;font-size:12px;line-height:1.45}.field input:required,.field select:required{border-left:3px solid #ff9b57}
.customerFieldSet{display:grid;gap:14px;margin:15px 0}.customerFieldGroup{border:1px solid #e4e7ea;border-radius:12px;background:#fafbfb;padding:14px 15px 2px}.customerFieldHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1px}.customerFieldHeading h3{margin:0;font-size:12px;color:#24282e}.customerFieldHeading span{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#a44e14;background:#fff1e7;border:1px solid #f4d3bc;border-radius:999px;padding:5px 7px}.requiredMark{color:#d9550d}.customerFieldGroup .field{position:relative}
@media(max-width:620px){.contactGrid{grid-template-columns:1fr}.contactGrid .span2{grid-column:auto}.leadCardAddress{font-size:12px}.requiredNotice{font-size:12px}.customerFieldGroup{padding:13px 13px 1px}.customerFieldHeading{align-items:flex-start;flex-direction:column;gap:6px}.customerFieldHeading span{font-size:12px}}

/* v1.6.6 — 10,000+ lead/sale capacity with server-side paging */
.leadToolbar{margin-bottom:10px}.leadToolbar small{display:block;color:var(--muted);font-size:12px;line-height:1.45}.leadControls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:14px 16px;border:1px solid #e3e6e9;border-radius:12px;background:#fff;box-shadow:var(--shadow);margin-bottom:13px}.leadControls>.input{min-width:180px}.leadSearchForm{display:flex;align-items:center;gap:8px;flex:1;min-width:min(100%,390px)}.leadSearchForm .input{flex:1;min-width:220px}.leadPerPage{min-width:132px!important}.leadPageNotice{margin:0 0 13px;padding:10px 13px;border:1px solid #dfe8ef;border-radius:10px;background:#f7fafc;color:#64717c;font-size:12px;line-height:1.5}.leadPager{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;color:#69727b;font-size:12px}.leadPager>span b{color:#292e34}.leadPagerButtons{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.leadPagerButtons .btn{min-height:34px;padding:7px 10px;font-size:12px}.leadPagerButtons .btn:disabled{opacity:.45;cursor:not-allowed}.leadPagerButtons>span{padding:0 5px;white-space:nowrap}.leadColumnEmpty{padding:14px 8px;text-align:center;color:#9ba1a8;font-size:12px;line-height:1.4}.leadColumnMore{margin-top:8px;padding:9px 8px 10px;border-top:1px solid #edf0f2;text-align:center;color:#7f8891;font-size:12px;line-height:1.4}.leadColumnMore b{color:#2f3439}.leadBoardNewestNote{border-top:1px solid #edf0f2;background:#fbfcfd}.leadDirectoryHead{align-items:center}.leadEmptyState{display:flex;flex-direction:column;align-items:center;gap:5px;padding:30px 16px;text-align:center;color:#7b838b}.leadEmptyState b{color:#2d3237;font-size:13px}.leadEmptyState span{max-width:520px;font-size:12px;line-height:1.5}
@media(max-width:900px){.leadControls{align-items:stretch}.leadControls>.input{flex:1}.leadSearchForm{order:2;flex-basis:100%}.leadPager{align-items:flex-start;flex-direction:column}.leadPagerButtons{justify-content:flex-start;width:100%}}
@media(max-width:620px){.leadControls{padding:11px;gap:8px}.leadControls>.input,.leadSearchForm,.leadSearchForm .input{width:100%;min-width:0}.leadSearchForm{display:grid;grid-template-columns:1fr auto}.leadSearchForm .input{grid-column:1/-1;font-size:16px}.leadSearchForm .btn{width:100%}.leadPager{padding:12px;gap:10px}.leadPagerButtons{display:grid;grid-template-columns:1fr 1fr;width:100%}.leadPagerButtons>span{grid-column:1/-1;grid-row:1;text-align:center;padding:4px}.leadPagerButtons .btn{min-height:42px}.leadPageNotice{font-size:12px}.leadDirectoryHead small{font-size:12px!important}}

/* v1.6.7 — role-aware end-of-day Fresh Lead reminder */
.freshLeadReminder{position:relative;text-align:center;padding:9px 7px 3px}.freshLeadReminderIcon{width:54px;height:54px;margin:0 auto 14px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#ffefe3,#fff8f3);border:1px solid #f4d2ba;color:var(--orange);font-size:27px;font-weight:700;box-shadow:0 9px 24px rgba(255,105,0,.13)}.freshLeadReminder h2{margin:7px 0 10px;font-size:28px;line-height:1.1}.freshLeadReminder>p{max-width:520px;margin:14px auto;color:#59616b;font-size:13px;line-height:1.65}.freshLeadReminderCount{display:inline-block;margin:2px auto 0;padding:8px 11px;border:1px solid #f0d3be;border-radius:999px;background:#fff7f1;color:#91450f;font-size:12px}.freshLeadReminderSuccess{display:flex;align-items:flex-start;gap:9px;margin:16px 0;padding:13px 14px;border:1px solid #cfe7d9;border-radius:11px;background:#f2faf6;text-align:left;color:#38614c}.freshLeadReminderSuccess b{flex:0 0 auto;font-size:12px;color:#26734f}.freshLeadReminderSuccess span{font-size:12px;line-height:1.5}.freshLeadReminderActions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.freshLeadReminderActions .btn{min-height:44px}
@media(max-width:620px){.freshLeadReminder{padding:4px 0 0}.freshLeadReminderIcon{width:49px;height:49px;border-radius:15px;font-size:24px}.freshLeadReminder h2{font-size:24px}.freshLeadReminder>p{font-size:12px}.freshLeadReminderCount{display:block;border-radius:10px;font-size:12px}.freshLeadReminderSuccess{flex-direction:column;gap:4px}.freshLeadReminderSuccess span{font-size:12px}.freshLeadReminderActions{grid-template-columns:1fr}.freshLeadReminderActions .btn{min-height:48px}.freshLeadReminderActions .primary{order:-1}}

/* v1.6.8 — Brand Ambassador self-service QR card */
.myQrHero{align-items:center;background:radial-gradient(circle at 84% 18%,rgba(255,105,0,.24),transparent 28%),linear-gradient(115deg,#131519,#29221e)}.myQrPrivateBadge{flex:0 0 auto;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 11px;color:#d4d7dc;background:rgba(255,255,255,.06);font-size:12px;font-weight:700;letter-spacing:.09em}.myQrBody{margin-top:16px}.myQrLoading{min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#69717b}.myQrLoader{width:34px;height:34px;border:3px solid #eceff1;border-top-color:var(--orange);border-radius:50%;animation:myQrSpin .8s linear infinite}@keyframes myQrSpin{to{transform:rotate(360deg)}}.myQrLayout{display:grid;grid-template-columns:minmax(420px,1fr) minmax(320px,410px);gap:18px;align-items:start}.myQrLayout>div{display:flex;justify-content:center;min-width:0}.myQrClientCard{width:min(650px,100%);overflow:hidden;border:1px solid #dde1e5;border-radius:22px;background:#fff;box-shadow:0 22px 60px rgba(18,22,28,.12)}.myQrClientHead{min-height:145px;padding:27px 30px 23px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:radial-gradient(circle at 86% 14%,rgba(255,105,0,.3),transparent 32%),linear-gradient(140deg,#111318,#28211d);border-top:6px solid var(--orange)}.myQrClientHead img{display:block;width:290px;max-width:74%;height:auto}.myQrClientHead span{color:#ff9b57;font-size:12px;font-weight:700;letter-spacing:.16em}.myQrClientBody{padding:30px;text-align:center}.myQrCanvasFrame{width:min(440px,100%);margin:0 auto 22px;padding:18px;border:1px solid #e4e7ea;border-radius:19px;background:#fff;box-shadow:0 10px 30px rgba(17,24,39,.07)}.myQrCanvasFrame canvas{display:block;width:100%;height:auto;margin:auto;image-rendering:pixelated}.myQrClientBody h2{margin:3px 0 8px;padding:0;font-size:25px}.myQrClientBody p{margin:0;color:#6b737c;font-size:12px}.myQrSecureLine{display:inline-flex;margin-top:17px;padding:6px 9px;border:1px solid #cee5d8;border-radius:999px;background:#f2faf6;color:#287851;font-size:12px;font-weight:700;letter-spacing:.09em}.myQrTools{padding:24px}.myQrTools h3{margin:6px 0 8px;font-size:20px}.myQrTools>p{margin:0 0 18px;color:#68717b;font-size:12px;line-height:1.6}.myQrToolActions{display:grid;gap:9px}.myQrToolActions .btn{width:100%;min-height:46px}.myQrHow{display:grid;gap:8px;margin:21px 0}.myQrHow span{display:flex;align-items:center;gap:9px;color:#5c646d;font-size:12px}.myQrHow b{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:#fff1e7;color:#bd500b}.myQrServices{padding:13px;border:1px solid #e4e7ea;border-radius:11px;background:#fafbfb}.myQrServices>span{display:block;color:#858d96;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.myQrServices p{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 0}.myQrServices b{padding:5px 7px;border:1px solid #f0d4c0;border-radius:999px;background:#fff6ef;color:#a7470b;font-size:12px}.myQrServices em{color:#a44a50;font-size:12px;line-height:1.5}.myQrSafety{display:block;margin-top:14px;color:#89919a;font-size:12px;line-height:1.55}.qrCustomerMode{overflow:hidden}.qrCustomerOverlay{position:fixed;inset:0;z-index:500;display:grid;place-items:center;overflow:auto;padding:32px 20px;background:radial-gradient(circle at 50% -10%,#3a2b22 0,transparent 45%),#101216}.qrCustomerStage{width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.qrCustomerOverlay .myQrClientCard{width:min(610px,calc(100vw - 40px));box-shadow:0 30px 90px rgba(0,0,0,.38)}.qrCustomerOverlay .myQrCanvasFrame{width:min(50vh,430px)}.qrCustomerClose{position:fixed;right:18px;top:18px;width:43px;height:43px;z-index:2;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:28px;line-height:1;backdrop-filter:blur(8px)}.qrCustomerClose:hover{background:rgba(255,255,255,.18)}.qrCustomerHint{margin:14px 0 0;color:#b8bdc4;font-size:12px;text-align:center}
@media(max-width:1050px){.myQrLayout{grid-template-columns:1fr}.myQrTools{width:min(650px,100%);margin:auto}.myQrPrivateBadge{display:none}}
@media(max-width:620px){.myQrHero{align-items:flex-start}.myQrClientCard{border-radius:17px}.myQrClientHead{min-height:116px;padding:21px 18px 18px}.myQrClientHead img{width:240px}.myQrClientHead span{font-size:12px}.myQrClientBody{padding:20px 16px 23px}.myQrCanvasFrame{width:min(360px,100%);padding:13px;border-radius:15px;margin-bottom:17px}.myQrClientBody h2{font-size:21px}.myQrClientBody p{font-size:12px}.myQrTools{padding:18px}.myQrToolActions .btn{min-height:48px}.qrCustomerOverlay{padding:54px 10px 18px}.qrCustomerOverlay .myQrClientCard{width:min(470px,calc(100vw - 20px))}.qrCustomerOverlay .myQrClientHead{min-height:100px;padding:17px 15px 14px}.qrCustomerOverlay .myQrClientHead img{width:210px}.qrCustomerOverlay .myQrClientBody{padding:15px 13px 18px}.qrCustomerOverlay .myQrCanvasFrame{width:min(45vh,76vw,330px);padding:10px;margin-bottom:12px}.qrCustomerOverlay .myQrClientBody h2{font-size:18px;margin-bottom:5px}.qrCustomerOverlay .myQrSecureLine{margin-top:11px}.qrCustomerClose{right:11px;top:9px;width:39px;height:39px}.qrCustomerHint{font-size:12px;margin-top:9px}.role-brand_ambassador .mobileNav button{font-size:12px;padding:0 2px}}

/* v1.6.8 — Management-only Brand Ambassador lead takeover */
.colHead.transferred{background:linear-gradient(115deg,#c1500e,#ea792d)}
.leadTransferTag{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:8px 0;padding:7px 8px;border:1px solid #f0d1ba;border-radius:8px;background:#fff7f1;color:#85410f;font-size:12px;line-height:1.35}.leadTransferTag span{padding:3px 5px;border-radius:999px;background:#dc641b;color:#fff;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.leadTransferTag b{font-size:12px}.leadTransferTag small{flex-basis:100%;color:#9b6b4b;font-size:12px}.leadDirectory .leadTransferTag{max-width:190px;margin:7px 0 0}.leadTransferHistory{margin:0 0 13px;padding:14px;border:1px solid #efcfb7;border-left:4px solid var(--orange);border-radius:11px;background:linear-gradient(135deg,#fff8f2,#fff)}.leadTransferHistoryHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.leadTransferHistoryHead span{padding:5px 7px;border-radius:999px;background:#dc641b;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.leadTransferHistoryHead b{font-size:12px;color:#784018}.leadTransferFacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.leadTransferFacts>span{display:flex;flex-direction:column;gap:3px;padding:9px;border:1px solid #f0e0d4;border-radius:8px;background:#fff}.leadTransferFacts small{color:#a17c62;font-size:12px;font-weight:700;text-transform:uppercase}.leadTransferFacts b{font-size:12px}.leadTransferHistory>p{margin:10px 0 0;font-size:12px;color:#73533d;line-height:1.5}.leadTransferPreserved{display:block;margin-top:10px;color:#877567;font-size:12px;line-height:1.5}.managementTransferZone{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:15px;border:1px solid #f0ceb5;border-radius:10px;background:#fff8f2}.managementTransferZone>div>span{display:block;color:#c1500e;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.managementTransferZone h4{margin:4px 0 5px;color:#71390f}.managementTransferZone p{max-width:370px;margin:0;color:#806651;font-size:12px;line-height:1.5}.managementTransferZone .btn{flex:0 0 auto}.leadTransferPreview{display:flex;align-items:center;gap:10px;margin:13px 0;padding:12px;border:1px solid #e4e7ea;border-radius:10px;background:#fafbfb}.leadTransferPreview>div{display:flex;min-width:0;flex-direction:column;gap:3px}.leadTransferPreview b{font-size:12px}.leadTransferPreview small{color:#818892;font-size:12px}.leadTransferWarning{border-color:#f0d0b7;background:#fff8f2}.leadTransferWarning b{color:#a9480d}.transfer-all-leads{border-color:#efc8ab!important;color:#a9480d!important}
.qrCustomerOnlyCard{width:min(610px,calc(100vw - 40px));display:flex;align-items:center;flex-direction:column;gap:22px;padding:38px;border:1px solid rgba(255,255,255,.14);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));box-shadow:0 30px 90px rgba(0,0,0,.38);backdrop-filter:blur(12px)}.qrCustomerOnlyCard>img{display:block;width:min(390px,78%);height:auto}.qrCustomerOnlyCard .myQrCanvasFrame{width:min(50vh,430px);margin:0;padding:16px;border:5px solid #fff;box-shadow:0 16px 45px rgba(0,0,0,.3)}.qrCustomerOnlyCard>p{margin:0;color:#fff;font-size:18px;font-weight:700;letter-spacing:.01em;text-align:center}
.workspaceLocked{display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:11px 12px;border:1px solid #e3e6e9;border-radius:9px;background:#fafbfb}.workspaceLocked span{font-size:12px;font-weight:700;color:#59616a}.workspaceLocked b{font-size:12px}.workspaceLocked small{color:#858c94;font-size:12px;line-height:1.45}
@media(max-width:620px){.managementTransferZone{align-items:stretch;flex-direction:column}.managementTransferZone .btn{width:100%;min-height:44px}.leadTransferFacts{grid-template-columns:1fr}.leadTransferHistoryHead{align-items:flex-start;flex-direction:column}.leadTransferTag{font-size:12px}.qrCustomerOnlyCard{width:min(470px,calc(100vw - 20px));gap:16px;padding:24px 15px 20px;border-radius:20px}.qrCustomerOnlyCard>img{width:min(290px,75%)}.qrCustomerOnlyCard .myQrCanvasFrame{width:min(47vh,78vw,340px);padding:9px;border-width:3px}.qrCustomerOnlyCard>p{font-size:15px}}

/* v1.7.0 — Office service boards, transferred-lead routing and duplicate opportunities */
.boardPicker{min-width:218px;display:flex;flex-direction:column;gap:4px;color:#7b838c;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.boardPicker .input{width:100%;min-height:40px;color:#252a30;font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;border-color:#f0c9ad;background:#fff9f5}.boardContextPill{display:inline-flex;margin:8px 0 0;padding:7px 10px;border:1px solid #f0cfb8;border-radius:999px;background:#fff7f1;color:#8d4818;font-size:12px}.colHead.transferred{background:#c25a25}.leadDuplicateTag{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:8px 0;padding:7px 8px;border:1px solid #cfe0ee;border-radius:8px;background:#f4f9fd;color:#365f80;font-size:12px}.leadDuplicateTag span{padding:3px 5px;border-radius:999px;background:#477fb7;color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.leadDuplicateTag b{font-size:12px}.leadDirectory .leadDuplicateTag{max-width:190px;margin:7px 0 0}.leadDuplicateHistory{margin:0 0 13px;padding:14px;border:1px solid #cfe0ee;border-left:4px solid var(--blue);border-radius:11px;background:linear-gradient(135deg,#f4f9fd,#fff)}.leadDuplicateHistory>span,.officeBoardActions>div>span{display:block;color:#426f93;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.leadDuplicateHistory h4,.officeBoardActions h4{margin:5px 0;color:#294b67}.leadDuplicateHistory p,.officeBoardActions p{margin:0;color:#637484;font-size:12px;line-height:1.5}.officeBoardActions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:15px;border:1px solid #cfe0ee;border-radius:10px;background:#f7fbfe}.officeBoardActions>div:first-child{max-width:350px}.officeBoardActionButtons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.duplicateSummary{display:flex;flex-direction:column;gap:5px;margin:13px 0;padding:12px;border:1px solid #cfe0ee;border-radius:10px;background:#f4f9fd;color:#50687b}.duplicateSummary b{font-size:12px;color:#2f5e82}.duplicateSummary span{font-size:12px;line-height:1.45}
@media(max-width:900px){.boardPicker{flex:1;min-width:210px}.boardPicker .input{min-height:44px}.officeBoardActions{align-items:stretch;flex-direction:column}.officeBoardActionButtons{display:grid;grid-template-columns:1fr 1fr}.officeBoardActionButtons .btn{min-height:44px}}
@media(max-width:620px){.boardPicker{width:100%;min-width:0}.boardPicker .input{font-size:16px}.officeBoardActionButtons{grid-template-columns:1fr}.leadDuplicateTag{font-size:12px}.duplicateSummary span{font-size:12px}}

/* v1.7.1 — modern scrolling and a cleaner Office board toolbar */
@media (hover:hover) and (pointer:fine){
html,body.dotcrm-standalone,body.dotcrm-standalone *{scrollbar-width:thin;scrollbar-color:#b8bec6 transparent}
html::-webkit-scrollbar,body.dotcrm-standalone::-webkit-scrollbar,body.dotcrm-standalone *::-webkit-scrollbar{width:11px;height:11px}
html::-webkit-scrollbar-track,body.dotcrm-standalone::-webkit-scrollbar-track,body.dotcrm-standalone *::-webkit-scrollbar-track{background:transparent}
html::-webkit-scrollbar-thumb,body.dotcrm-standalone::-webkit-scrollbar-thumb,body.dotcrm-standalone *::-webkit-scrollbar-thumb{min-height:46px;border:3px solid transparent;border-radius:999px;background:#b8bec6;background-clip:padding-box}
html::-webkit-scrollbar-thumb:hover,body.dotcrm-standalone::-webkit-scrollbar-thumb:hover,body.dotcrm-standalone *::-webkit-scrollbar-thumb:hover{background:#939ca7;background-clip:padding-box}
html::-webkit-scrollbar-thumb:active,body.dotcrm-standalone::-webkit-scrollbar-thumb:active,body.dotcrm-standalone *::-webkit-scrollbar-thumb:active{background:#f07828;background-clip:padding-box}
body.dotcrm-standalone .sidebar,body.dotcrm-standalone .sidebar *{scrollbar-color:rgba(255,255,255,.27) transparent}
body.dotcrm-standalone .sidebar::-webkit-scrollbar-thumb,body.dotcrm-standalone .sidebar *::-webkit-scrollbar-thumb{background:rgba(255,255,255,.23);background-clip:padding-box}
body.dotcrm-standalone .sidebar::-webkit-scrollbar-thumb:hover,body.dotcrm-standalone .sidebar *::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.38);background-clip:padding-box}
}
.leadControls{align-items:stretch;gap:10px;padding:12px 13px;border-color:#e4e7ea;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(16,24,40,.045)}
label.leadControlSelect{position:relative;display:block;flex:0 1 224px;width:224px;min-width:205px;height:48px;margin:0;color:#252a30;text-transform:none;letter-spacing:0}
label.leadControlSelect>span{position:absolute;left:15px;top:6px;z-index:2;color:#818892;font-size:12px;font-weight:700;line-height:1.1;letter-spacing:.085em;text-transform:uppercase;pointer-events:none}
label.leadControlSelect:after{content:"";position:absolute;right:16px;top:20px;z-index:2;width:7px;height:7px;border-right:1.5px solid #626a73;border-bottom:1.5px solid #626a73;transform:rotate(45deg);pointer-events:none}
label.leadControlSelect>select.input{appearance:none;width:100%;height:48px;min-height:48px;margin:0;padding:19px 40px 5px 15px;border:1px solid #dfe3e7;border-radius:11px;background:#fff;color:#24292f;font-size:12px;font-weight:700;line-height:1.2;box-shadow:0 1px 2px rgba(16,24,40,.035);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
label.leadControlSelect>select.input:hover{border-color:#cbd1d7;background:#fcfcfd}
label.leadControlSelect:focus-within>select.input{border-color:#ff9854;box-shadow:0 0 0 4px rgba(255,105,0,.09)}
label.boardPicker>span{left:18px;color:#a94b0e}
label.boardPicker>select.input{padding-left:18px;border-color:#e1e4e8;background:linear-gradient(90deg,#fff8f2 0,#fff 34%);box-shadow:inset 3px 0 var(--orange),0 1px 2px rgba(16,24,40,.035)}
.leadControls>.input,.leadSearchForm,.leadSearchForm .input,.leadSearchForm .btn{min-height:48px}
.leadSearchForm .input{border-radius:11px}
.leadSearchForm .btn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1050px){label.leadControlSelect{flex:1 1 220px;width:auto}.leadSearchForm{flex-basis:100%;order:3}}
@media(max-width:620px){.leadControls{padding:10px;border-radius:12px}label.leadControlSelect{flex-basis:100%;width:100%;min-width:0;height:50px}label.leadControlSelect>select.input{height:50px;min-height:50px;padding-top:20px;font-size:16px}.leadSearchForm{order:3}}

/* v1.7.2 — authenticated CRM edition of DOT Canada Network Bar v1.1.1 */
.crmNetworkShell{padding-top:40px}
.crmNetworkShell .sidebar{top:40px}
.crmNetworkShell .topbar{top:40px}
.crmNetworkBar{--network-bg:#0f1012;position:fixed;inset:0 0 auto 0;z-index:90;display:flex;align-items:stretch;height:40px;min-height:40px;overflow:hidden;border-bottom:1px solid #25272a;background:var(--network-bg);color:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.crmNetworkBar *{box-sizing:border-box}
.crmNetworkBar a{text-decoration:none}
.crmNetworkBrand{position:relative;z-index:2;display:flex;align-items:center;flex:0 0 auto;min-height:40px;padding:0 17px;border-right:1px solid #2b2d31;background:var(--network-bg);color:#d7d9dd;font-size:12px;font-weight:700;letter-spacing:1.35px;white-space:nowrap}
.crmNetworkBrand:hover,.crmNetworkBrand:focus-visible{color:#fff}
.crmNetworkBrand:focus-visible,.crmNetworkLink:focus-visible{outline:2px solid #ff9854;outline-offset:-3px}
.crmNetworkMarquee{display:flex;align-items:center;flex:1 1 auto;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)}
.crmNetworkTrack{display:flex;align-items:center;width:max-content;will-change:transform;animation:crmNetworkRoll 46s linear infinite}
.crmNetworkSet{display:flex;align-items:center;flex:0 0 auto;gap:9px;padding:0 9px}
.crmNetworkLink{--service:#d7d9dd;display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid transparent;border-radius:999px;color:#e3e5e8;font-size:12px;font-weight:700;letter-spacing:.01em;white-space:nowrap;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease}
.crmNetworkLink:after{content:"↗";font-size:12px;opacity:.52}
.crmNetworkLink:hover,.crmNetworkLink:focus-visible{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.08);color:#fff;transform:translateY(-1px)}
.crmNetworkServiceDot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--service)}
.crmNetwork-alarm{--service:#ff6800}.crmNetwork-xplore{--service:#69d69e}.crmNetwork-shaw{--service:#36a9e1}.crmNetwork-surecall{--service:#45b8f0}.crmNetwork-cameras{--service:#5c88ff}.crmNetwork-shades{--service:#a678ff}.crmNetwork-prewire{--service:#f3ae3d}
.crmNetworkBar:hover .crmNetworkTrack,.crmNetworkBar:focus-within .crmNetworkTrack{animation-play-state:paused}
@keyframes crmNetworkRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:720px){.crmNetworkShell{padding-top:42px}.crmNetworkShell .sidebar,.crmNetworkShell .topbar{top:42px}.crmNetworkBar{height:42px;min-height:42px}.crmNetworkBrand{min-height:42px;padding:0 11px;font-size:12px;letter-spacing:.95px}.crmNetworkMarquee{mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent)}.crmNetworkTrack{animation-duration:38s}.crmNetworkSet{gap:6px;padding:0 6px}.crmNetworkLink{gap:6px;padding:5px 8px;font-size:12px}}
@media(max-width:420px){.crmNetworkBrand{max-width:116px;padding:0 9px;white-space:normal;text-align:center;line-height:1.05}.crmNetworkLink{font-size:12px}}
@media(prefers-reduced-motion:reduce){.crmNetworkMarquee{overflow-x:auto;mask-image:none;-webkit-mask-image:none;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent}.crmNetworkTrack{animation:none!important;transform:none!important;will-change:auto}.crmNetworkSetCopy{display:none}}

/* v1.7.3 — customer price-sheet email workflow and live preview */
.priceActions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:15px 0 7px}.priceActions .btn{display:inline-flex;align-items:center;justify-content:center;min-width:0;text-align:center}.priceDeliveryHint{display:block;min-height:31px;line-height:1.45}.priceSendModal{width:min(1120px,100%);padding:26px}.priceSendModal>h2{margin-bottom:6px}.priceSendModal>.mutedCopy{margin:0;color:#6f7780;font-size:12px;line-height:1.55}.priceSendLayout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:22px;align-items:start;margin-top:18px}.priceSendForm{padding:17px;border:1px solid #e2e5e8;border-radius:13px;background:#fafbfc}.priceSendForm .field:first-child{margin-top:0}.priceSendForm .btn{margin-top:8px}.priceSenderCard{display:flex;flex-direction:column;gap:4px;margin:16px 0;padding:12px;border:1px solid #efd5c3;border-left:4px solid var(--orange);border-radius:9px;background:#fff7f1}.priceSenderCard>span{color:#ab4a0b;font-size:12px;font-weight:700;letter-spacing:.09em}.priceSenderCard>b{font-size:12px;color:#2c3035}.priceSenderCard>small{font-size:12px;line-height:1.45;color:#7d6758;word-break:break-word}.priceSendStatus{min-height:18px;margin-top:10px;color:#69717a;font-size:12px;line-height:1.45}.priceSendStatus.success,.priceSendStatus.error{padding:10px}.pricePreviewPane{min-width:0}.pricePreviewTitle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}.pricePreviewTitle>span{color:#676f78;font-size:12px;font-weight:700;letter-spacing:.1em}.pricePreviewTitle>small{color:#8b929a;font-size:12px}.priceEmailCanvas{padding:13px;border:1px solid #dde1e5;border-radius:13px;background:#edf0f3}.priceEmailMeta{display:flex;flex-direction:column;gap:4px;margin:0 0 10px;padding:10px 12px;border:1px solid #dfe3e7;border-radius:8px;background:#fff;color:#68717a;font-size:12px;line-height:1.4}.priceEmailMeta span{overflow-wrap:anywhere}.priceEmailMeta b{display:inline-block;width:68px;color:#272c31}.priceEmailMessage{overflow:hidden;border:1px solid #dfe2e5;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.08)}.priceEmailMessage>header{padding:20px 23px;border-top:5px solid var(--orange);background:#17191d;color:#fff}.priceEmailMessage>header strong{display:block;font-size:20px;line-height:1;font-weight:700;letter-spacing:.035em}.priceEmailMessage>header strong i{color:var(--orange);font-style:normal}.priceEmailMessage>header small{display:block;margin-top:7px;color:#c2c7cd;font-size:12px;font-weight:700;letter-spacing:.13em}.priceEmailContent{padding:23px;color:#34393f}.priceEmailContent h3{margin:0 0 13px;padding:0;font-size:18px;color:#17191d}.priceEmailContent p{margin:0 0 12px;font-size:12px;line-height:1.65}.pricePersonalNote{margin:16px 0;padding:11px 12px;border-left:4px solid var(--orange);border-radius:3px 8px 8px 3px;background:#fff7f1;color:#3e4247;font-size:12px;line-height:1.55}.pricePersonalNote>b{display:block;margin-bottom:4px;color:#a94608;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.priceAttachment{display:flex;align-items:center;gap:11px;margin:17px 0;padding:11px;border:1px solid #e2e5e8;border-radius:9px;background:#fafbfc}.priceAttachment>span{flex:0 0 42px;color:var(--orange);font-size:14px;font-weight:700}.priceAttachment>div{display:flex;min-width:0;flex-direction:column;gap:3px}.priceAttachment b{overflow-wrap:anywhere;font-size:12px}.priceAttachment small{color:#7d858e;font-size:12px}.priceSignature{margin-top:17px!important}.priceSignature em{color:#d75b0a;font-style:normal}.priceEmailCta{display:inline-flex;margin-top:3px;padding:10px 14px;border-radius:8px;background:var(--orange);color:#fff;font-size:12px;font-weight:700}.priceEmailMessage>footer{padding:13px 23px;border-top:1px solid #e6e8eb;background:#f7f8f9;color:#7d858d;font-size:12px;line-height:1.5}.statArchived .priceDeliveryHint{display:none}
@media(max-width:900px){.priceSendModal{width:min(740px,100%)}.priceSendLayout{grid-template-columns:1fr}.pricePreviewPane{margin-top:3px}.priceActions{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.priceSendModal{padding:19px}.priceSendLayout{gap:15px}.priceSendForm{padding:14px}.pricePreviewTitle{align-items:flex-start;flex-direction:column;gap:4px}.priceEmailCanvas{padding:8px}.priceEmailMessage>header{padding:17px}.priceEmailContent{padding:18px 16px}.priceEmailContent p{font-size:12px}.priceActions{grid-template-columns:1fr}.priceActions .btn{min-height:46px}.priceDeliveryHint{min-height:0}.priceEmailMeta b{width:61px}}

/* v1.7.7 — immutable lead submitter and timestamp history */
.leadSubmitted{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-width:0}.leadSubmittedAvatar{width:32px;height:32px;display:grid;place-items:center;border:1px solid #f0d3be;border-radius:10px;background:linear-gradient(145deg,#fff4eb,#fff);color:#ba4e09;font-size:12px;font-weight:700;letter-spacing:.03em}.leadSubmittedText{display:flex;min-width:0;flex-direction:column;gap:2px;line-height:1.25}.leadSubmittedText small{color:#8b929a;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.leadSubmittedText b{overflow-wrap:anywhere;color:#2e3338;font-size:12px}.leadSubmittedText span{overflow-wrap:anywhere;color:#747c85;font-size:12px;line-height:1.4}.leadSubmitted-card{margin:9px 0;padding:8px;border:1px solid #e5e8eb;border-radius:9px;background:#fafbfc}.leadSubmitted-table{min-width:220px}.leadSubmitted-table .leadSubmittedAvatar{width:29px;height:29px;border-radius:9px}.leadSubmitted-table .leadSubmittedText b{font-size:12px}.leadDirectory{min-width:1450px}.leadDirectory td:nth-child(8){min-width:235px}.leadSubmissionSection{margin:0 0 13px;padding:15px;border:1px solid #e2e6ea;border-left:4px solid var(--orange);border-radius:11px;background:linear-gradient(135deg,#fff9f4,#fff)}.leadSubmissionSection>h4{margin:0 0 11px;color:#9b4a16}.leadSubmitted-drawer{grid-template-columns:42px minmax(0,1fr)}.leadSubmitted-drawer .leadSubmittedAvatar{width:42px;height:42px;border-radius:13px;font-size:12px}.leadSubmitted-drawer .leadSubmittedText small{font-size:12px}.leadSubmitted-drawer .leadSubmittedText b{font-size:13px}.leadSubmitted-drawer .leadSubmittedText span{font-size:12px}.leadSubmissionNote{margin:11px 0 0;color:#7a828b;font-size:12px;line-height:1.5}
@media(max-width:620px){.leadSubmitted-card{padding:9px}.leadSubmittedText b{font-size:12px}.leadSubmittedText span{font-size:12px}.leadSubmissionSection{padding:13px}.leadSubmitted-drawer .leadSubmittedText b{font-size:12px}.leadSubmissionNote{font-size:12px}}
/* v1.8.0 Lead Command Centre */
.leadCardTop{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.responsePill{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;background:#edf0f3;color:#5d6670}.responsePill.on_track{background:#e8f7ef;color:#167148}.responsePill.warning{background:#fff3d6;color:#8a5b00}.responsePill.overdue{background:#ffe7e4;color:#b52b1f}.responsePill.responded{background:#e9efff;color:#3853a4}.responsePill.unrecorded{background:#f1f2f4;color:#6e737a}.commandPage{display:grid;gap:16px}.commandHero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:22px;background:linear-gradient(135deg,#17191d,#2a2e34);color:#fff;box-shadow:0 18px 45px rgba(20,24,29,.14)}.commandHero h2{margin:4px 0 7px;font-size:28px}.commandHero p{margin:0;color:#c7cbd1}.commandHero .eyebrow{color:#ff8a3d}.commandHeroActions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}.soundToggle{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #4a4e54;border-radius:10px;font-size:12px;font-weight:700}.commandMetrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.commandMetrics>div{padding:16px 17px;border:1px solid #e1e4e8;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(21,27,35,.05)}.commandMetrics span{display:block;color:#737a84;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.commandMetrics b{display:block;margin-top:6px;font-size:25px;color:#1d2228}.commandMetrics.analytics{grid-template-columns:repeat(6,minmax(0,1fr))}.myDayGroup{overflow:hidden;border:1px solid #e1e4e8;border-radius:18px;background:#fff}.myDayGroupHead{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eceef1;background:#fafbfc}.myDayGroupHead h3{margin:0 0 3px;font-size:15px}.myDayGroupHead small{color:#727983}.myDayGroupHead>b{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:11px;background:#17191d;color:#fff}.myDayCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:13px}.myDayCard{min-width:0;padding:14px;border:1px solid #e7e9ec;border-radius:14px;background:#fff;transition:.18s ease}.myDayCard:hover{border-color:#f2a16e;box-shadow:0 10px 24px rgba(30,34,40,.08);transform:translateY(-1px)}.myDayCard>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:6px}.myDayCard h4{margin:11px 0 5px}.myDayCard p{margin:0 0 5px;font-size:12px;color:#59616c}.myDayCard>small{display:block;overflow:hidden;text-overflow:ellipsis}.myDayActions{display:flex;gap:7px;margin-top:12px}.myDayEmpty,.commandLoading{padding:24px;color:#777;text-align:center}.commandSettings{display:grid;gap:14px}.commandSettings>.panel{padding:0 18px 18px}.settingsGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}.field.compact{min-width:160px;color:#fff}.field.compact select{margin-top:5px}.commandToggle{margin:4px 0 16px;padding:12px 14px;border-radius:12px;background:#fff7f1;color:#783912}.routingDefaults{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:14px;padding:12px;border:1px solid #e8eaed;border-radius:12px}.routingDefaults>b{margin-right:auto}.routingRow{display:grid;grid-template-columns:190px 1fr;gap:15px;padding:13px 2px;border-top:1px solid #eceef1}.routingRow>div{display:flex;flex-wrap:wrap;gap:8px}.templateGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.templateEditor{padding:12px;border:1px solid #e4e6e9;border-radius:13px;background:#fafbfc}.templateEditor textarea{min-height:185px}.commandSave{position:sticky;bottom:18px;z-index:4;justify-self:end;box-shadow:0 10px 30px rgba(255,105,0,.28)}.analyticsGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.analyticsRows{padding:0 16px 15px}.analyticsRows>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eceef1;font-size:12px}.analyticsRows>div b{text-align:right}.smartViewPicker{min-width:190px}.saveLeadView{align-self:end}.responseCommand{border-color:#dfe5eb!important;background:linear-gradient(180deg,#fbfcfd,#fff)}.responseCommandHead,.leadActivityHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.responseCommandHead span,.leadActivityHead span{color:#e55d05;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.responseCommandHead h4,.leadActivityHead h4{margin:4px 0}.responseFacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.responseFacts>span{padding:10px;border-radius:10px;background:#f2f4f6}.responseFacts small,.responseFacts b{display:block}.responseFacts small{margin-bottom:3px;color:#777}.communicationActions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.activityRows{position:relative;display:grid;gap:0;margin-top:10px}.activityRow{position:relative;display:grid;grid-template-columns:16px 1fr;gap:9px;padding:0 0 16px}.activityRow:not(:last-child):before{content:"";position:absolute;left:5px;top:11px;bottom:0;width:2px;background:#eceef1}.activityDot{position:relative;z-index:1;width:12px;height:12px;margin-top:3px;border:3px solid #ffe1ce;border-radius:50%;background:#ff6900}.activityRow b{font-size:12px}.activityRow p{margin:3px 0;color:#656c75;font-size:12px}.activityRow small{color:#9499a0}.contactLaunch{display:grid;gap:4px;padding:15px;margin:10px 0;border:1px solid #e4e6ea;border-radius:13px;background:#f7f8fa}.contactLaunch b{font-size:18px}.duplicateInline,.duplicateGate{display:grid;gap:8px;margin:12px 0;padding:13px;border:1px solid #f1b88f;border-radius:13px;background:#fff8f2;color:#6f3713}.duplicateInline span,.duplicateGate span{display:block;font-size:12px}.duplicateInline button{padding:7px;border:1px solid #f1cfb8;border-radius:8px;background:#fff;text-align:left;color:#75401d}.duplicateGate article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px;border-radius:10px;background:#fff}.duplicateGate article small{display:block;margin-top:3px;color:#777}.leadAlertStack{position:fixed;right:18px;top:76px;z-index:10050;display:grid;gap:8px;width:min(350px,calc(100vw - 28px))}.leadAlertCard{display:grid;gap:4px;padding:15px 17px;border:1px solid #ffb889;border-radius:15px;background:#17191d;color:#fff;text-align:left;box-shadow:0 18px 55px rgba(0,0,0,.28);animation:leadAlertIn .25s ease}.leadAlertCard>span{color:#ff8c42;font-size:12px;font-weight:700;letter-spacing:.13em}.leadAlertCard>b{font-size:14px}.leadAlertCard>small{color:#c8cbd0}@keyframes leadAlertIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}
@media(max-width:1050px){.commandMetrics.analytics{grid-template-columns:repeat(3,1fr)}.myDayCards,.templateGrid,.analyticsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.commandHero{align-items:flex-start;flex-direction:column;padding:20px;border-radius:17px}.commandHero h2{font-size:23px}.commandHeroActions{justify-content:flex-start;width:100%}.commandMetrics,.commandMetrics.analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.commandMetrics>div{padding:13px}.commandMetrics b{font-size:21px}.myDayCards,.templateGrid,.analyticsGrid,.settingsGrid{grid-template-columns:1fr}.routingRow{grid-template-columns:1fr}.responseFacts{grid-template-columns:1fr}.responseCommandHead{align-items:flex-start;flex-direction:column}.smartViewPicker{min-width:100%}.commandSave{right:0;bottom:76px;width:100%}.leadAlertStack{top:66px;right:14px}.communicationActions{grid-template-columns:1fr}.duplicateGate article{align-items:flex-start;flex-direction:column}}
.communicationActions{grid-template-columns:repeat(2,minmax(0,1fr))}.leadPriceChoices{display:grid;gap:9px;margin:14px 0}.leadPriceChoice{display:grid;gap:3px;width:100%;padding:13px 15px;border:1px solid #e1e4e8;border-radius:12px;background:#fff;text-align:left}.leadPriceChoice:hover{border-color:#f0a16f;background:#fffaf7}.leadPriceChoice span{color:#d95605;font-size:12px;font-weight:700;text-transform:uppercase}.leadPriceChoice b{font-size:13px}.leadPriceChoice small{color:#7c838c}@media(max-width:700px){.communicationActions{grid-template-columns:1fr}}

/* v1.8.1 — responsive Price Check cards and touch-friendly file replacement */
.priceSheetGrid{align-items:stretch}.priceSheetCard{display:flex;min-width:0;flex-direction:column;overflow:hidden}.priceSheetIntro{display:flex;min-width:0;flex-direction:column}.priceSheetTitle{overflow-wrap:anywhere;font-size:15px!important}.priceCustomerTools{margin-top:auto}.priceManagement{margin-top:16px;padding-top:14px;border-top:1px solid #eceef1}.priceManagementHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.priceManagementHead>span{color:#858c94;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.priceManagementHead>.btn{min-height:36px;padding:8px 11px;font-size:12px}.priceUpload{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.priceFilePicker{position:relative;grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-width:0;min-height:43px;overflow:hidden;border:1px solid #dfe2e6;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.priceFilePicker:hover{border-color:#f0a16f}.priceFilePicker:focus-within{border-color:#ff9b57;box-shadow:0 0 0 4px rgba(255,105,0,.09)}.priceFilePicker input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.priceFileButton{align-self:stretch;display:inline-flex;align-items:center;padding:0 12px;border-right:1px solid #e3e6e9;background:#f5f6f7;color:#343a40;font-size:12px;font-weight:700;white-space:nowrap}.priceFileName{display:block;min-width:0;padding:0 11px;overflow:hidden;color:#8a9199;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.priceFileName.hasFile{color:#2e343a;font-weight:700}.priceUploadHint{min-width:0;color:#858c94;font-size:12px!important;line-height:1.4}.priceReplace{min-height:38px;padding:8px 11px;font-size:12px;white-space:nowrap}.priceReplace:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:900px){#priceGrid .priceSheetGrid{grid-template-columns:1fr;gap:14px}.priceSheetCard{padding:20px;border-radius:16px}.priceSheetTitle{font-size:19px!important;line-height:1.25}.priceSheetCard>.priceSheetIntro>small{font-size:12px}.priceCustomerTools{margin-top:4px}.priceSheetCard .priceActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.priceSheetCard .priceActions .btn{min-height:48px}.priceManagement{margin-top:18px;padding-top:16px}.priceManagementHead>span{font-size:12px}.priceUpload{grid-template-columns:minmax(0,1fr) auto}.priceFilePicker{min-height:46px}.priceReplace{min-height:46px}}
@media(max-width:560px){.priceSheetCard{padding:17px}.priceSheetCard .priceActions{grid-template-columns:1fr}.priceManagementHead{align-items:stretch;flex-direction:column}.priceManagementHead>.btn{width:100%;min-height:44px}.priceUpload{grid-template-columns:1fr}.priceFilePicker{grid-template-columns:1fr}.priceFileButton{justify-content:center;min-height:44px;border-right:0;border-bottom:1px solid #e3e6e9}.priceFileName{padding:10px 12px;text-align:center}.priceUploadHint{text-align:center}.priceReplace{width:100%;min-height:46px}}

/* v1.8.3 — compact high-volume Lead Board cards */
.leadCardCompact{min-width:0;margin:6px 0;padding:12px;border-radius:10px;cursor:pointer}.leadCardCompact:hover{border-color:#efb58f;box-shadow:0 7px 18px rgba(20,27,35,.07)}.leadCardCompact .leadCardTop{margin:0}.leadCardCompact .responsePill{max-width:150px;overflow:hidden;padding:4px 7px;font-size:12px;text-overflow:ellipsis}.leadCardCompact>h4{margin:9px 0 8px;font-size:15px;line-height:1.2;overflow-wrap:anywhere}.leadCardService{display:flex;align-items:center;gap:6px;min-width:0;margin:0 0 9px}.leadCardService .chip{max-width:100%;overflow:hidden;padding:4px 7px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.leadCardService small{flex:0 0 auto;color:#7b838c;font-size:12px;font-weight:700}.leadCardFacts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:6px}.leadCardFacts>span{display:flex;min-width:0;flex-direction:column;gap:2px;padding:7px 8px;border:1px solid #eceef1;border-radius:8px;background:#fafbfc}.leadCardFacts small,.leadCardLocation small{color:#8a9199;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.leadCardFacts b{overflow:hidden;color:#384049;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.leadCardLocation{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 2px 0}.leadCardLocation>span{min-width:0;overflow:hidden;color:#6f7780;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.leadSubmitted-compact{display:block;margin:9px 0 0;padding:8px 2px 0;border-top:1px solid #eceef1;background:transparent}.leadSubmitted-compact .leadSubmittedAvatar{display:none}.leadSubmitted-compact .leadSubmittedText{display:flex;align-items:baseline;flex-flow:row wrap;gap:2px 4px}.leadSubmitted-compact .leadSubmittedText small{font-size:12px}.leadSubmitted-compact .leadSubmittedText b{font-size:12px}.leadSubmitted-compact .leadSubmittedText span{flex-basis:100%;color:#8a9199;font-size:12px;line-height:1.3}.leadCardCompact .leadTransferTag,.leadCardCompact .leadDuplicateTag{margin:6px 0;padding:5px 6px}.leadCardCompact .leadTransferTag small{flex-basis:auto}.leadCardCompact .leadCardAddress,.leadCardCompact>p,.leadCardCompact>.chips{display:none}
@media(max-width:900px){.column{flex-basis:min(78vw,292px);padding:5px}.leadCardCompact{margin:5px 0;padding:11px}.leadCardCompact>h4{font-size:14px}.leadCardFacts>span{padding:6px 7px}}

/* v1.9.0 — Office Productivity */
.addressAssist{display:flex;align-items:center;gap:9px;margin:10px 0 15px;padding:10px 12px;border:1px solid #e3e6e9;border-radius:11px;background:#f7f8fa;color:#6d7580;font-size:12px;line-height:1.45}.addressAssistDot{flex:0 0 9px;width:9px;height:9px;border:2px solid #c4cad1;border-radius:50%;background:#fff}.addressAssist.checking .addressAssistDot{border-color:#ffb27f;border-top-color:#ff6900;animation:addressAssistSpin .8s linear infinite}.addressAssist.standardized{border-color:#cce8d9;background:#effaf4;color:#1d6b49}.addressAssist.standardized .addressAssistDot,.addressAssist.verified .addressAssistDot{border-color:#2ca66f;background:#2ca66f}.addressAssist.verified{border-color:#bde2cf;background:#eaf8f0;color:#17633f}.addressAssist.suggested{justify-content:space-between;border-color:#f0b58e;background:#fff8f2;color:#6f3a17}.addressAssist.suggested>div{display:flex;min-width:0;flex-direction:column;gap:3px}.addressAssist.suggested b{font-size:12px;text-transform:uppercase;letter-spacing:.05em}.addressAssist.suggested span{overflow-wrap:anywhere}.addressAssist.warning{border-color:#f1d49c;background:#fff9e9;color:#7a5a12}@keyframes addressAssistSpin{to{transform:rotate(360deg)}}

.leadPresenceNotice{position:sticky;top:-1px;z-index:6;display:grid;gap:5px;margin:-1px -1px 13px;padding:11px 14px;border:1px solid #ffc79f;border-radius:11px;background:#fff5ed;color:#6e3612;box-shadow:0 8px 20px rgba(48,32,20,.08)}.leadPresenceNotice[hidden]{display:none}.leadPresenceNotice span{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4}.leadPresenceNotice i{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#ff6900;box-shadow:0 0 0 4px rgba(255,105,0,.12)}.leadPresenceNotice b{font-size:12px;text-transform:uppercase;letter-spacing:.05em}

.customer360{overflow:hidden;border-color:#dfe4e9!important;background:linear-gradient(145deg,#f8fafb,#fff)!important}.customer360Head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer360Head>div>span,.leadQuoteHead>div>span{color:#e85f08;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.customer360Head h4,.leadQuoteHead h4{margin:4px 0}.customer360Head p,.leadQuoteHead p{margin:0;color:#737b84;font-size:12px;line-height:1.5}.customer360Head>b{display:grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border-radius:11px;background:#17191d;color:#fff}.customer360Rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}.customer360Opportunity{position:relative;display:flex;min-width:0;flex-direction:column;gap:4px;padding:11px;border:1px solid #e3e7eb;border-radius:11px;background:#fff}.customer360Opportunity.current{border-color:#f5b98f;background:#fff9f5}.customer360Service{display:flex;align-items:center;justify-content:space-between;gap:7px}.customer360Service span{overflow:hidden;color:#d95605;font-size:12px;font-weight:700;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.customer360Service b{font-size:12px}.customer360Opportunity h5{margin:4px 0 0;font-size:12px}.customer360Opportunity p{margin:0;overflow:hidden;color:#6f7780;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer360Opportunity>small{color:#9298a0;font-size:12px}.customer360Opportunity>.btn{align-self:flex-start;min-height:30px;margin-top:5px;padding:6px 9px;font-size:12px}.currentOpportunity{align-self:flex-start;margin-top:5px;padding:5px 7px;border-radius:999px;background:#ffe9da;color:#a54205;font-size:12px;font-weight:700}.customer360Empty,.quoteEmpty{grid-column:1/-1;padding:17px;border:1px dashed #d9dde2;border-radius:11px;color:#7b838c;text-align:center;font-size:12px}

.leadQuotePanel{border-color:#f0cfb9!important;background:linear-gradient(145deg,#fffaf6,#fff)!important}.leadQuoteHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.leadQuoteHead>.btn{flex:0 0 auto}.leadQuoteRows{display:grid;gap:9px;margin-top:14px}.quoteHistoryRow{display:grid;grid-template-columns:minmax(0,1.1fr) auto;gap:11px;padding:12px;border:1px solid #e3e6e9;border-radius:12px;background:#fff}.quoteHistoryMain{display:flex;min-width:0;flex-direction:column;gap:4px}.quoteHistoryMain>b{font-size:13px}.quoteHistoryMain>small{color:#808790;font-size:12px}.quoteStatus{align-self:flex-start;padding:4px 7px;border-radius:999px;background:#eff1f3;color:#5f6872;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.quoteStatus.sent{background:#e9f2ff;color:#325c91}.quoteStatus.converted{background:#e8f7ef;color:#167148}.quoteTotals{display:grid;grid-template-columns:repeat(2,minmax(82px,1fr));gap:6px}.quoteTotals>span,.quoteCustomer>span,.quoteLiveTotals>span{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px;border-radius:9px;background:#f5f6f8}.quoteTotals small,.quoteCustomer small,.quoteLiveTotals small{color:#7e858e;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.quoteTotals b{font-size:12px}.quoteActions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.quoteActions .btn{min-height:34px;padding:7px 10px;font-size:12px}

.quoteBuilderModal{width:min(1080px,100%)}.quoteBuilder{display:grid;gap:15px}.quoteBuilder>h2{margin:0}.quoteCustomer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quoteCustomer>span{background:#f3f5f7}.quoteCustomer b{overflow-wrap:anywhere;font-size:12px}.quoteLineHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}.quoteLineHeader h3{margin:0}.quoteLineRows{display:grid;gap:8px}.quoteLineEditor{display:grid;grid-template-columns:minmax(145px,.9fr) minmax(210px,1.5fr) 70px 110px 110px 34px;align-items:end;gap:8px;padding:10px;border:1px solid #e1e4e8;border-radius:12px;background:#fafbfc}.quoteLineEditor .field{margin:0}.quoteLineEditor .field input,.quoteLineEditor .field select{min-height:42px}.quoteLineRemove{display:grid;width:34px;height:34px;margin-bottom:4px;place-items:center;border:1px solid #ecc8bd;border-radius:9px;background:#fff;color:#bd341e;font-size:18px;cursor:pointer}.quoteBuilderMeta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quoteLiveTotals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quoteLiveTotals>span{padding:13px;border:1px solid #f3cfb8;background:#fff8f3}.quoteLiveTotals b{color:#df5a05;font-size:18px}.quoteBuilderActions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.quoteConvertNotice{display:flex;flex-direction:column;gap:4px;margin:10px 0 14px;padding:12px 14px;border:1px solid #f0c4a7;border-left:4px solid #ff6900;border-radius:10px;background:#fff8f3}.quoteConvertNotice b{color:#b84a06}.quoteConvertNotice span{color:#6f7780;font-size:12px;line-height:1.5}

.bulkActionBar{display:none;align-items:center;gap:8px;margin:10px 0;padding:10px;border:1px solid #dfe3e7;border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(20,27,35,.05)}.bulkActionBar.active{display:flex}.bulkSelectionCount{display:flex;align-items:baseline;gap:4px;padding:6px 10px;border-radius:9px;background:#17191d;color:#fff}.bulkSelectionCount b{font-size:16px}.bulkSelectionCount span{font-size:12px;text-transform:uppercase;letter-spacing:.04em}.bulkActionButtons{display:flex;flex-wrap:wrap;gap:7px}.bulkActionBar>.bulkClear{margin-left:auto;border:0;background:none;color:#ac3c29;font-size:12px;font-weight:700;cursor:pointer}.bulkActionBar>small{color:#8b929a;font-size:12px}.leadBulkCheck{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.leadBulkCheck input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.leadBulkCheck>span{display:grid;width:20px;height:20px;place-items:center;border:1px solid #cbd1d8;border-radius:6px;background:#fff;box-shadow:0 2px 5px rgba(20,28,36,.05)}.leadBulkCheck input:checked+span{border-color:#ff6900;background:#ff6900}.leadBulkCheck input:checked+span:after{content:"✓";color:#fff;font-size:12px;font-weight:700}.leadBulkCheck em{color:#727a84;font-size:12px;font-style:normal;font-weight:700}.leadCardCompact{position:relative}.leadCardCompact>.leadBulkCheck{position:absolute;top:10px;left:10px;z-index:2}.leadCardCompact>.leadBulkCheck em{display:none}.leadCardCompact:has(>.leadBulkCheck) .leadCardTop{padding-left:28px}.leadCardCompact.bulkSelected,.productivityDirectory tr.bulkSelected{border-color:#ff9d5e!important;background:#fff9f5!important;box-shadow:0 0 0 2px rgba(255,105,0,.08)}.productivityDirectory .bulkColumn{width:50px;min-width:50px;text-align:center}.productivityDirectory .bulkColumn .leadBulkCheck em{display:none}.bulkModalCount{display:flex;align-items:center;gap:10px;margin:13px 0;padding:13px;border-radius:11px;background:#17191d;color:#fff}.bulkModalCount b{font-size:24px}.bulkModalCount span{font-size:12px}

@media(max-width:800px){
  .customer360Rows{grid-template-columns:1fr}.quoteHistoryRow{grid-template-columns:1fr}.quoteTotals{grid-template-columns:repeat(2,1fr)}
  .quoteLineEditor{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.quoteLineEditor .quoteDescription{grid-column:1/-1}.quoteLineRemove{grid-column:2;justify-self:end}
  .bulkActionBar.active{align-items:stretch;flex-wrap:wrap}.bulkActionButtons{order:3;flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bulkActionButtons .btn{min-height:42px}.bulkActionBar>small{order:4;flex-basis:100%}
}
@media(max-width:560px){
  .addressAssist{align-items:flex-start}.addressAssist.suggested{flex-direction:column}.addressAssist.suggested .btn{width:100%}
  .leadPresenceNotice{position:static;margin:0 0 11px}.leadPresenceNotice span{align-items:flex-start;flex-wrap:wrap}.customer360Head,.leadQuoteHead{align-items:stretch;flex-direction:column}.leadQuoteHead>.btn{width:100%}
  .customer360Opportunity{padding:10px}.quoteCustomer{grid-template-columns:1fr}.quoteLineEditor{grid-template-columns:1fr;padding:11px}.quoteLineEditor .quoteDescription,.quoteLineRemove{grid-column:auto}.quoteLineRemove{justify-self:end}.quoteBuilderMeta,.quoteLiveTotals{grid-template-columns:1fr}.quoteBuilderActions{display:grid;grid-template-columns:1fr}.quoteBuilderActions .btn{min-height:46px}
  .bulkActionBar.active{position:sticky;top:69px;z-index:15}.bulkSelectionCount{flex:1}.bulkActionBar>#bulkSelectPage{flex:1}.bulkActionButtons{grid-template-columns:1fr 1fr}.bulkActionBar>.bulkClear{margin:0}.leadCardCompact>.leadBulkCheck{top:9px;left:9px}
}

/* v1.9.1 — per-user Office Sales communication permissions */
.staffPermissionSwitches{display:grid;gap:7px;min-width:170px}.staffPermissionSwitch{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:6px 8px;border:1px solid #e3e6e9;border-radius:10px;background:#fafbfc;cursor:pointer}.staffPermissionSwitch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.staffPermissionSwitch>span{position:relative;width:34px;height:20px;border-radius:999px;background:#c8cdd3;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);transition:.18s ease}.staffPermissionSwitch>span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:.18s ease}.staffPermissionSwitch input:checked+span{background:#ff6900}.staffPermissionSwitch input:checked+span:after{transform:translateX(14px)}.staffPermissionSwitch input:focus-visible+span{outline:3px solid rgba(255,105,0,.22);outline-offset:2px}.staffPermissionSwitch:has(input:disabled){cursor:wait;opacity:.65}.staffPermissionSwitch>b{font-size:12px;white-space:nowrap}.staffPermissionSwitch>small{color:#7b838c;font-size:12px;font-weight:700}.permissionNotApplicable{color:#9aa0a7;font-size:12px}.staffPermissionBox{display:grid;gap:9px;margin:14px 0;padding:15px;border:1px solid #efcfb9;border-left:4px solid var(--orange);border-radius:12px;background:#fff9f5}.staffPermissionBox h3{margin:0;color:#9c430d;font-size:13px}.staffPermissionBox>p{margin:0 0 2px;color:#747c84;font-size:12px;line-height:1.5}.staffPermissionChoice{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid #e7e9ec;border-radius:10px;background:#fff;cursor:pointer}.staffPermissionChoice input{width:18px;height:18px;margin:1px 0 0;accent-color:#ff6900}.staffPermissionChoice span{display:flex;min-width:0;flex-direction:column;gap:3px}.staffPermissionChoice b{font-size:12px}.staffPermissionChoice small{color:#777f88;font-size:12px;line-height:1.45}.staffPermissionNotice{display:flex;flex-direction:column;gap:4px;padding:11px 13px;border:1px solid #eed0bd;border-left:4px solid var(--orange);border-radius:10px;background:#fff8f3}.staffPermissionNotice b{color:#9b430d;font-size:12px}.staffPermissionNotice span{color:#717982;font-size:12px;line-height:1.45}.teamTable th:nth-child(5),.teamTable td:nth-child(5){min-width:190px}
@media(max-width:700px){.staffPermissionSwitches{min-width:155px}.staffPermissionBox{padding:13px}.staffPermissionChoice{padding:9px}.teamTable th:nth-child(5),.teamTable td:nth-child(5){min-width:175px}}

/* v1.9.2 — compact staff cards and lead-only Quote Builder workspace */
.teamPage{max-width:1500px}.teamHero{align-items:center}.teamSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.teamSummary>span{display:flex;min-width:0;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e2e5e8;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(20,28,36,.04)}.teamSummary b{overflow:hidden;color:#20242a;font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.teamSummary small{color:#7a828b;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.teamDirectoryHead{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:23px 2px 12px}.teamDirectoryHead h3{margin:0 0 4px}.teamDirectoryHead p{margin:0;color:#747c85;font-size:12px;line-height:1.45}.teamDirectoryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teamUserCard{min-width:0;overflow:hidden;padding:16px;border:1px solid #e0e4e8;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(18,25,33,.045)}.teamUserCard.isDisabled{background:#fafafa;opacity:.78}.teamUserHead{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px}.teamUserAvatar{display:grid;width:42px;height:42px;place-items:center;border:1px solid #f1c8ad;border-radius:13px;background:linear-gradient(145deg,#fff8f2,#fff);color:#ab4808;font-size:12px;font-weight:700}.teamUserHead h3{margin:0 0 3px;font-size:15px}.teamUserHead a{display:block;overflow:hidden;color:#6f7780;font-size:12px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.teamUserHead a:hover{color:#d65707}.teamUserStatus{padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.teamUserStatus.active{background:#e9f7ef;color:#147047}.teamUserStatus.disabled{background:#f8eaea;color:#a13d45}.teamUserMeta{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.teamUserMeta span{padding:5px 7px;border:1px solid #e5e8eb;border-radius:999px;background:#f8f9fa;color:#616a74;font-size:12px;font-weight:700}.teamCommunication{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(210px,1.25fr);align-items:center;gap:12px;padding:11px;border:1px solid #e8eaed;border-radius:12px;background:#fafbfc}.teamCommunication>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.teamCommunication>div:first-child b{font-size:12px}.teamCommunication>div:first-child small{color:#818891;font-size:12px}.teamCommunication .staffPermissionSwitches{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.teamCommunication .staffPermissionSwitch{grid-template-columns:32px minmax(0,1fr) auto;min-width:0}.teamCommunication .staffPermissionSwitch>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teamAccessFull{display:inline-flex;justify-self:start;padding:7px 9px;border:1px solid #d5e9df;border-radius:999px;background:#edf8f2;color:#1c714b;font-size:12px;font-weight:700}.teamPrimaryActions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.teamPrimaryActions .btn{min-height:36px;padding:7px 10px;font-size:12px}.teamMore{margin-top:10px;border-top:1px solid #eceef0}.teamMore summary{padding:10px 2px 0;color:#676f78;font-size:12px;font-weight:700;cursor:pointer;list-style:none}.teamMore summary::-webkit-details-marker{display:none}.teamMore summary:after{content:"＋";float:right;color:#a84a0c}.teamMore[open] summary:after{content:"−"}.teamMore>div{display:flex;flex-wrap:wrap;gap:7px;padding-top:10px}.teamMore .btn{min-height:34px;padding:7px 9px;font-size:12px}

.quoteLaunchCard{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:15px 0;padding:20px 22px;border:1px solid #e7c3aa;border-radius:17px;background:radial-gradient(circle at 90% 0,rgba(255,105,0,.17),transparent 35%),linear-gradient(135deg,#1a1c20,#2b241f);box-shadow:0 12px 34px rgba(26,24,22,.12);color:#fff}.quoteLaunchCard>div{min-width:0}.quoteLaunchCard span,.quoteWorkspaceHero .eyebrow,.quoteLeadFinderHead>span,.quoteWorkspaceHistory header span{color:#ff8739;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.quoteLaunchCard h3{margin:5px 0 6px;color:#fff;font-size:20px}.quoteLaunchCard p{max-width:720px;margin:0;color:#d3d6da;font-size:12px;line-height:1.55}.quoteLaunchCard small{display:block;margin-top:7px;color:#ffa36a;font-size:12px;font-weight:700}.quoteLaunchCard>.btn{flex:0 0 auto}

.quoteWorkspace{max-width:1500px}.quoteWorkspaceHero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px;border-radius:18px;background:radial-gradient(circle at 88% 10%,rgba(255,105,0,.24),transparent 34%),linear-gradient(135deg,#15171b,#29231f);box-shadow:0 14px 36px rgba(18,21,26,.13);color:#fff}.quoteWorkspaceHero h2{margin:5px 0 8px;color:#fff}.quoteWorkspaceHero p{max-width:760px;margin:0;color:#cbd0d5;font-size:12px;line-height:1.55}.quoteWorkspaceHero>div:last-child{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}.quotePermissionOn,.quotePermissionOff{padding:7px 9px;border-radius:999px;font-size:12px;font-weight:700}.quotePermissionOn{border:1px solid rgba(68,211,142,.28);background:rgba(33,166,104,.16);color:#8ce4ba}.quotePermissionOff{border:1px solid rgba(255,181,125,.3);background:rgba(255,105,0,.13);color:#ffb27f}.quoteWorkspaceLayout{display:grid;grid-template-columns:minmax(300px,365px) minmax(0,1fr);gap:14px;margin-top:14px;align-items:start}.quoteLeadFinder,.quoteWorkspaceDesk{min-width:0;border:1px solid #dfe3e7;border-radius:16px;background:#fff;box-shadow:0 7px 23px rgba(19,27,35,.045)}.quoteLeadFinder{position:sticky;top:95px;overflow:hidden}.quoteLeadFinderHead{padding:18px 18px 12px}.quoteLeadFinderHead h3{margin:5px 0 5px;font-size:17px}.quoteLeadFinderHead p{margin:0;color:#747c85;font-size:12px;line-height:1.45}.quoteLeadFinder form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:0 18px 14px}.quoteLeadFinder form .input{min-width:0}.quoteLeadResults{max-height:620px;overflow:auto;border-top:1px solid #eceef0;padding:8px}.quoteLeadResult{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px;padding:11px;border:1px solid transparent;border-radius:11px;background:#fafbfc;color:#242a30;text-align:left;cursor:pointer}.quoteLeadResult:hover,.quoteLeadResult.selected{border-color:#f1bd99;background:#fff7f1}.quoteLeadResult>div{display:flex;min-width:0;flex-direction:column;gap:3px}.quoteLeadResult b,.quoteLeadResult small,.quoteLeadResult span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quoteLeadResult b{font-size:12px}.quoteLeadResult span{color:#737b84;font-size:12px}.quoteLeadResult small{color:#999fa6;font-size:12px}.quoteLeadResult>em{flex:0 0 auto;padding:5px 7px;border-radius:999px;background:#eff1f3;color:#616972;font-size:12px;font-style:normal;font-weight:700}.quoteLeadEmpty{padding:22px 13px;color:#7b838c;font-size:12px;line-height:1.55;text-align:center}.quoteWorkspaceDesk{min-height:435px;padding:18px}.quoteWorkspaceWelcome{display:flex;min-height:395px;align-items:center;justify-content:center;flex-direction:column;padding:35px;text-align:center}.quoteWorkspaceWelcome>span{display:grid;width:46px;height:46px;place-items:center;border-radius:15px;background:#fff0e6;color:#c84f03;font-size:18px;font-weight:700}.quoteWorkspaceWelcome h3{margin:15px 0 6px;font-size:20px}.quoteWorkspaceWelcome>p{max-width:430px;margin:0;color:#717983;font-size:12px;line-height:1.55}.quoteWorkspaceWelcome>div{display:flex;max-width:440px;flex-direction:column;gap:4px;margin:18px 0;padding:12px 15px;border:1px solid #e2e5e8;border-radius:11px;background:#fafbfc}.quoteWorkspaceWelcome>div b{font-size:12px}.quoteWorkspaceWelcome>div small{color:#7b838c;font-size:12px;line-height:1.45}.quoteSelectedLead{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid #efc6aa;border-radius:13px;background:#fff8f3}.quoteSelectedLead>div:first-child{min-width:0}.quoteSelectedLead span{color:#cf5102;font-size:12px;font-weight:700;letter-spacing:.06em}.quoteSelectedLead h3{margin:5px 0 4px}.quoteSelectedLead p,.quoteSelectedLead small{display:block;overflow-wrap:anywhere;color:#6f7780;font-size:12px}.quoteSelectedLead small{margin-top:4px}.quoteSelectedLead>div:last-child{display:flex;flex:0 0 auto;gap:7px}.quoteWorkspaceHistory{margin-top:17px}.quoteWorkspaceHistory>header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 2px 10px;border-bottom:1px solid #eceef0}.quoteWorkspaceHistory h3{margin:4px 0 0}.quoteWorkspaceHistory header small{color:#818891;font-size:12px}.quoteEditNotice{display:flex;flex-direction:column;gap:4px;padding:11px 13px;border:1px solid #efc7ab;border-left:4px solid #ff6900;border-radius:10px;background:#fff8f3;color:#6f3b17}.quoteEditNotice b{font-size:12px}.quoteEditNotice span{font-size:12px;line-height:1.45}

@media(max-width:1120px){.teamDirectoryGrid{grid-template-columns:1fr}.quoteWorkspaceLayout{grid-template-columns:310px minmax(0,1fr)}.teamCommunication{grid-template-columns:minmax(130px,.65fr) minmax(250px,1.35fr)}}
@media(max-width:850px){.teamSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.quoteWorkspaceHero{align-items:flex-start;flex-direction:column}.quoteWorkspaceHero>div:last-child{justify-content:flex-start}.quoteWorkspaceLayout{grid-template-columns:1fr}.quoteLeadFinder{position:static}.quoteLeadResults{max-height:320px}.quoteWorkspaceDesk{min-height:360px}.quoteSelectedLead{align-items:stretch;flex-direction:column}.quoteSelectedLead>div:last-child{display:grid;grid-template-columns:1fr 1fr}.quoteWorkspaceHistory>header{align-items:flex-start;flex-direction:column}.quoteLaunchCard{align-items:flex-start;flex-direction:column}.quoteLaunchCard>.btn{width:100%}}
@media(max-width:600px){.teamHero{align-items:stretch;flex-direction:column}.teamHero>.btn{width:100%}.teamSummary{gap:7px}.teamSummary>span{padding:11px}.teamSummary b{font-size:13px}.teamDirectoryHead{align-items:stretch;flex-direction:column}.teamDirectoryHead>.btn{width:100%}.teamUserCard{padding:13px}.teamUserHead{grid-template-columns:38px minmax(0,1fr) auto}.teamUserAvatar{width:38px;height:38px}.teamUserStatus{padding:4px 6px}.teamCommunication{grid-template-columns:1fr}.teamCommunication .staffPermissionSwitches{grid-template-columns:1fr}.teamPrimaryActions{display:grid;grid-template-columns:1fr 1fr}.teamPrimaryActions .btn{min-height:42px}.teamMore>div{display:grid;grid-template-columns:1fr}.teamMore .btn{min-height:42px}.quoteLaunchCard{padding:18px}.quoteWorkspaceHero{padding:20px 18px}.quoteWorkspaceHero>div:last-child,.quoteWorkspaceHero .btn{width:100%}.quoteWorkspaceHero .btn{min-height:45px}.quoteWorkspaceLayout{gap:10px;margin-top:10px}.quoteLeadFinder form{grid-template-columns:1fr}.quoteLeadFinder form .btn{min-height:43px}.quoteWorkspaceDesk{padding:12px}.quoteWorkspaceWelcome{min-height:310px;padding:23px 12px}.quoteSelectedLead>div:last-child{grid-template-columns:1fr}.quoteSelectedLead .btn{min-height:43px}.quoteHistoryRow{padding:10px}.quoteTotals{grid-template-columns:1fr 1fr}}
.quoteLeadResult div>em{display:block;overflow:hidden;margin-top:2px;color:#616972;font-size:12px;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}

/* v1.9.3 — fast Office call outcomes and timestamped communication notes */
.quickCallOutcomes{margin:14px 0;padding:13px;border:1px solid #dfe4e9;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(25,30,36,.045)}
.quickCallOutcomeHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.quickCallOutcomeHead span{color:#32373d;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.quickCallOutcomeHead small{color:#7b838c;font-size:12px;text-align:right}
.quickCallOutcomeButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.quickCallOutcomeButtons .btn{min-height:44px;border-radius:10px;font-weight:700}
.quickCallOutcomeButtons .btn>span{display:inline-grid;width:20px;height:20px;margin-right:5px;place-items:center;border-radius:50%;font-size:12px}
.quickCallConnected{border:1px solid #ff6900;background:#ff6900;color:#fff;box-shadow:0 7px 18px rgba(255,105,0,.18)}
.quickCallConnected:hover{background:#e95f00;color:#fff}
.quickCallConnected>span{background:rgba(255,255,255,.2)}
.quickCallVoicemail{border:1px solid #d8dde3;background:#f5f7f9;color:#22272d}
.quickCallVoicemail:hover{border-color:#bfc6ce;background:#edf0f3}
.quickCallVoicemail>span{background:#dde3e8;color:#4f5963}
.quickCallOutcomeButtons .btn:disabled{box-shadow:none;cursor:not-allowed;opacity:.48}
.leadNotesSection>.leadNoteRow{align-items:flex-start;gap:12px;padding:12px 0}
.leadNoteBody{flex:1;min-width:0}
.leadNoteBody p{margin:0;color:#2e343a;font-size:12px;font-weight:650;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.leadNoteMeta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:6px;color:#858d96;font-size:12px}
.leadNoteMeta b{color:#626b74;font-size:12px}
.leadNoteMeta time{font-variant-numeric:tabular-nums}
.leadNoteCallConnected,.leadNoteVoicemail,.leadNoteDelivery{position:relative;padding-left:13px!important}
.leadNoteCallConnected:before,.leadNoteVoicemail:before,.leadNoteDelivery:before{content:"";position:absolute;top:12px;bottom:12px;left:0;width:3px;border-radius:3px;background:#ff6900}
.leadNoteVoicemail:before{background:#6f7b86}
.leadNoteDelivery:before{background:#338bc6}
.priceLeadPicker{width:min(720px,100%)}
.priceLeadPicker>h2{margin-bottom:6px}
.priceLeadPicker>form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:16px 0 10px}
.priceLeadResults{display:grid;gap:7px;max-height:430px;overflow:auto;padding:4px 3px 4px 0}
.priceLeadResult{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:12px;border:1px solid #e2e6e9;border-radius:12px;background:#fff;color:#252a30;text-align:left;cursor:pointer}
.priceLeadResult:hover{border-color:#edb58f;background:#fff8f3}
.priceLeadResult:disabled{cursor:not-allowed;filter:grayscale(1);opacity:.5}
.priceLeadResult>div{display:flex;min-width:0;flex-direction:column;gap:3px}
.priceLeadResult b,.priceLeadResult small,.priceLeadResult em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.priceLeadResult b{font-size:12px}.priceLeadResult small{color:#656e77;font-size:12px}.priceLeadResult em{color:#949ba2;font-size:12px;font-style:normal}
.priceLeadEmpty{padding:25px;color:#737c85;font-size:12px;text-align:center}
.priceLeadPickerActions{display:flex;justify-content:space-between;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid #eceef0}
@media(max-width:700px){.quickCallOutcomeHead{align-items:flex-start;flex-direction:column}.quickCallOutcomeHead small{text-align:left}.quickCallOutcomeButtons{grid-template-columns:1fr}.quickCallOutcomeButtons .btn{min-height:48px}.leadNotesSection>.leadNoteRow{align-items:stretch;flex-direction:column}.leadNotesSection>.leadNoteRow>.editNote{align-self:flex-start}.priceLeadPicker>form{grid-template-columns:1fr}.priceLeadPicker>form .btn{min-height:45px}.priceLeadResults{max-height:46vh}.priceLeadPickerActions{display:grid;grid-template-columns:1fr}.priceLeadPickerActions .btn{min-height:44px}}

/* v1.9.12 — shared customer editing and standalone Price Check delivery */
.leadAttributionEdit{display:grid;gap:10px;margin:16px 0;padding:15px;border:1px solid #e1e5e9;border-radius:13px;background:#fafbfc}.leadAttributionEdit .customerFieldHeading{margin-bottom:1px}.priceRecipientModes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0 12px}.priceRecipientMode{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:12px;border:1px solid #dfe4e8;border-radius:12px;background:#fff;color:#252a30;text-align:left;cursor:pointer}.priceRecipientMode:hover,.priceRecipientMode.active{border-color:#efb187;background:#fff8f3}.priceRecipientMode>span{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#f0f2f4;color:#59616a;font-size:12px;font-weight:700}.priceRecipientMode.active>span,.priceRecipientMode:hover>span{background:#ff6900;color:#fff}.priceRecipientMode>div{display:flex;min-width:0;flex-direction:column;gap:3px}.priceRecipientMode b{font-size:12px}.priceRecipientMode small{color:#777f88;font-size:12px;line-height:1.4}.priceRecipientBadge{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border:1px solid #dfe4e8;border-left:4px solid #808993;border-radius:10px;background:#f8f9fa}.priceRecipientBadge.linked{border-color:#d9e8df;border-left-color:#238357;background:#f2faf6}.priceRecipientBadge.manual{border-color:#f0d2bd;border-left-color:#ff6900;background:#fff8f3}.priceRecipientBadge span{color:#7a828b;font-size:12px;font-weight:700;letter-spacing:.09em}.priceRecipientBadge b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.priceLeadResult.loading{grid-template-columns:1fr;min-height:67px;filter:none;opacity:1}.priceLeadResult.loading .commandLoading{padding:0;text-align:left}
@media(max-width:700px){.priceRecipientModes{grid-template-columns:1fr}.priceRecipientMode{min-height:62px}.leadAttributionEdit{padding:12px}.priceRecipientBadge{padding:10px}}


/* v1.9.13 Meta Lead Ads */
.metaAttributionSection{border-left:3px solid #1877f2;background:linear-gradient(180deg,#f8fbff,#fff)}
.metaAttributionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.metaAttributionHead>div>span{display:block;font-size:12px;font-weight:700;letter-spacing:.1em;color:#1877f2}
.metaAttributionHead h4{margin:2px 0 0}
.metaAttributionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.metaAttributionGrid>div{padding:9px;border:1px solid #e5e7eb;border-radius:9px;background:#fff;min-width:0}
.metaAttributionGrid small{display:block;color:#6b7280;font-size:12px;margin-bottom:3px}
.metaAttributionGrid b,.metaAttributionGrid code{display:block;font-size:12px;overflow-wrap:anywhere}
.metaAttributionGrid b small{font-weight:400;color:#9ca3af;margin-top:2px}
.metaAttributionWide{grid-column:1/-1}
.metaLeadWarning{display:flex;flex-direction:column;gap:3px;background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;padding:9px;margin-bottom:10px;color:#9a3412;font-size:12px}
@media(max-width:620px){.metaAttributionGrid{grid-template-columns:1fr}}

/* v1.9.16 — aligned lead/staff cards and opt-in Ambassador lead sharing */
.column{align-self:stretch}
.leadCardCompact{display:flex;width:100%;max-width:100%;align-items:stretch;flex-direction:column;text-align:left}
.leadCardCompact .leadCardTop{width:100%}
.leadCardCompact>h4{width:100%;min-height:18px}
.leadCardCompact .leadCardService{width:100%}
.leadCardCompact .leadCardFacts{width:100%;align-items:stretch}
.leadCardCompact .leadCardFacts>span{min-height:43px;align-items:flex-start;justify-content:center;text-align:left}
.leadCardCompact .leadCardLocation{width:100%;min-height:29px}
.leadOfficeSharingTag{display:flex;align-items:center;gap:7px;min-width:0;margin:6px 0 9px;padding:7px 8px;border:1px solid #cfe7da;border-radius:9px;background:#f2faf6;color:#1d6547}
.leadOfficeSharingTag>span{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;border-radius:7px;background:#dcefe5;font-size:12px;font-weight:700}
.leadOfficeSharingTag>div{display:flex;min-width:0;flex-direction:column;gap:1px}
.leadOfficeSharingTag b{font-size:12px;line-height:1.25}
.leadOfficeSharingTag small{overflow:hidden;color:#56816d;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.productivityDirectory .leadOfficeSharingTag{width:max-content;max-width:210px;margin:7px 0 0;padding:5px 7px}
.productivityDirectory .leadOfficeSharingTag>span{width:18px;height:18px;flex-basis:18px;font-size:12px}
.leadOfficeSharingBanner{display:flex;align-items:flex-start;gap:11px;margin:0 0 13px;padding:13px 14px;border:1px solid #c7e4d5;border-left:4px solid #238357;border-radius:11px;background:linear-gradient(135deg,#effaf4,#fff);color:#255d45}
.leadOfficeSharingBanner>span{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:10px;background:#dcefe5;font-size:15px;font-weight:700}
.leadOfficeSharingBanner>div{min-width:0}
.leadOfficeSharingBanner b{font-size:12px}
.leadOfficeSharingBanner p{margin:3px 0 0;color:#587568;font-size:12px;line-height:1.5}

.teamDirectoryGrid{align-items:stretch}
.teamUserCard{display:flex;height:100%;flex-direction:column}
.teamUserHead>div{min-width:0}
.teamCommunication{min-height:66px}
.teamUserMeta .shared{border-color:#cce5d8;background:#edf8f2;color:#176844}
.teamUserMeta .private{border-color:#e0e3e6;background:#f5f6f7;color:#717982}
.teamLeadSharing{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(190px,1.2fr);align-items:center;gap:12px;min-height:66px;margin-top:9px;padding:10px 11px;border:1px solid #e2e5e8;border-radius:12px;background:#fafbfc}
.teamLeadSharing.isShared{border-color:#c9e4d6;background:#f1faf5}
.teamLeadSharing>div{display:flex;min-width:0;flex-direction:column;gap:3px}
.teamLeadSharing>div>b{font-size:12px}
.teamLeadSharing>div>small{color:#778089;font-size:12px;line-height:1.4}
.teamLeadSharing .staffPermissionSwitch{min-width:0;background:#fff}
.teamLeadSharing.isShared .staffPermissionSwitch{border-color:#c9e4d6}
.teamPrimaryActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:auto;padding-top:12px}
.teamPrimaryActions .btn{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;text-align:center}
.ambassadorVisibilityBox{border-color:#c8e3d5;border-left-color:#238357;background:#f3faf6}
.ambassadorVisibilityBox h3{color:#1e6b49}
.leadSharingChoice{border-color:#d2e8dc}

@media(max-width:1120px){.teamUserCard{height:auto}.teamPrimaryActions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.teamLeadSharing{grid-template-columns:1fr}.teamLeadSharing .staffPermissionSwitch{min-height:42px}.teamPrimaryActions{grid-template-columns:1fr 1fr}.leadOfficeSharingBanner{padding:11px}.leadOfficeSharingTag small{white-space:normal}}

/* v1.9.17 — compact high-volume board cards and light pipeline headers */
.colHead{height:42px;border:1px solid #d9dde2;background:#f4f5f7;color:#3f464e;box-shadow:0 2px 7px rgba(20,27,35,.04)}
.colHead b{min-width:27px;padding:4px 7px;border:1px solid currentColor;border-radius:999px;background:rgba(255,255,255,.7);text-align:center}
.colHead.fresh{border-color:#f2c9ad;background:#fff1e7;color:#9d430b}
.colHead.contacted{border-color:#c9deee;background:#eef6fc;color:#35698e}
.colHead.working{border-color:#d9d1ef;background:#f4f1fb;color:#5b4a8c}
.colHead.followup{border-color:#eadcae;background:#fff8df;color:#7d6414}
.colHead.pending{border-color:#e8d5bc;background:#faf2e7;color:#76552d}
.colHead.sold{border-color:#c9e4d6;background:#edf8f2;color:#216947}
.colHead.dead{border-color:#d9dde1;background:#f1f3f5;color:#626a73}
.colHead.transferred{border-color:#efc8ac;background:#fff0e5;color:#98440f}
.leadCardCompact{gap:0;margin:5px 0;padding:9px 10px;border-radius:9px}
.leadCompactTop{display:flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:7px}
.leadCompactTop h4{min-width:0;margin:0;overflow:hidden;color:#24292f;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.leadCompactTop .responsePill{flex:0 0 auto;max-width:106px;padding:3px 6px;overflow:hidden;font-size:12px;text-overflow:ellipsis}
.leadCompactFacts{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:5px;margin-top:7px}
.leadCompactFacts>span{display:flex;min-width:0;flex-direction:column;gap:1px;padding:0}
.leadCompactFacts small,.leadCompactInterest small{color:#9298a0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.leadCompactFacts b{overflow:hidden;color:#59616a;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.leadCompactInterest{display:flex;width:100%;min-width:0;align-items:baseline;gap:6px;margin-top:6px;padding:6px 7px;border-radius:7px;background:#fff4ec}
.leadCompactInterest small{flex:0 0 auto;color:#a95620}
.leadCompactInterest b{min-width:0;overflow:hidden;color:#8e3f0d;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.leadCompactInterest em{color:#a96a43;font-size:12px;font-style:normal}
.leadCompactFlags{display:flex;width:100%;flex-wrap:wrap;gap:4px;margin-top:5px}
.leadCompactFlags span{padding:3px 5px;border-radius:999px;background:#eef1f4;color:#626a73;font-size:12px;font-weight:700;line-height:1.2}
.leadCompactFlags .transferred{background:#fff0e5;color:#98440f}
.leadCompactFlags .duplicate{background:#edf5fb;color:#35698e}
.leadCompactFlags .shared{background:#edf8f2;color:#216947}
.leadCompactOpen{display:flex;width:100%;align-items:center;justify-content:space-between;gap:6px;margin-top:6px;padding-top:5px;border-top:1px solid #edf0f2;color:#9298a0;font-size:12px}
.leadCompactOpen b{color:#6c747d;font-size:12px}
.leadCompactOpen i{color:var(--orange);font-style:normal}
.leadCardCompact:has(>.leadBulkCheck) .leadCompactTop{padding-left:28px}
@media(max-width:900px){.leadCardCompact{padding:9px 10px}.leadCompactTop h4{font-size:13px}.leadCompactFacts b,.leadCompactInterest b{font-size:12px}.leadCompactFacts small,.leadCompactInterest small,.leadCompactOpen{font-size:12px}}

/* v1.9.18 — cleaner, moderately compact lead drawer */
.drawerHead{align-items:center;padding:13px 18px}
.drawerHead>div:first-child{display:grid;min-width:0;flex:1;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:9px;row-gap:1px}
.drawerHead>div:first-child>.badge{grid-row:1/3;align-self:center;margin:0}
.drawerHead h2{grid-column:2;min-width:0;margin:0;overflow:hidden;font-size:18px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.drawerHead>div:first-child>small{grid-column:2;min-width:0;overflow:hidden;color:#747c85;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.drawerHead>#closeDrawer{display:grid;width:38px;height:38px;min-width:38px;flex:0 0 38px;place-items:center;padding:0;border-radius:10px;font-size:18px;line-height:1}
.drawerBody{padding:0 18px 12px}
.drawerBody>.section{padding:12px 0}
.drawerBody>.section:first-child{border-top:0}
.drawerBody>.section>h4{margin:0 0 8px}
.drawerBody>.section>p{margin:6px 0;line-height:1.45}
.drawerBody .field{margin:10px 0}
.drawerBody .field input,.drawerBody .field select,.drawerBody .field textarea{padding:9px 10px}
.drawerBody .field textarea{min-height:74px}
.drawerBody .interestBox,.drawerBody .saleLine{padding:9px}
.drawerBody .check{padding:7px}
.drawerBody .fileRow{margin:6px 0;padding:8px}
.responseCommand{padding-top:12px!important;padding-bottom:13px!important}
.responseCommandHead{align-items:center;flex-direction:row}
.responseCommandHead h4{margin:2px 0 0}
.responseCommandHead .responsePill{padding:4px 7px;font-size:12px}
.responseFacts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:9px 0}
.responseFacts>span{display:flex;min-height:48px;flex-direction:column;justify-content:center;padding:7px 8px;border:1px solid #e8ebee;border-radius:9px;background:#f4f6f8}
.responseFacts small{margin:0 0 2px;color:#7d858d;font-size:12px}
.responseFacts b{font-size:12px;line-height:1.3}
.quickCallOutcomes{margin:9px 0;padding:9px 10px;border-radius:10px;box-shadow:none}
.quickCallOutcomeHead{flex-direction:row;margin-bottom:7px}
.quickCallOutcomeHead span{font-size:12px}
.quickCallOutcomeHead small{font-size:12px}
.quickCallOutcomeButtons{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.quickCallOutcomeButtons .btn{min-height:40px;padding:7px 9px;border-radius:8px;font-size:12px}
.quickCallOutcomeButtons .btn>span{width:17px;height:17px;margin-right:4px;font-size:12px}
.communicationActions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.communicationActions .btn{min-height:40px;min-width:0;padding:7px 8px;font-size:12px;line-height:1.2}
.metaAttributionSection{padding:11px 0 12px 11px!important}
.metaAttributionHead{align-items:center;margin-bottom:8px}
.metaAttributionHead>div>span{font-size:12px}
.metaAttributionHead h4{margin:1px 0 0}
.metaAttributionHead>.payPill{padding:4px 7px;font-size:12px}
.metaLeadWarning{gap:2px;margin-bottom:8px;padding:8px 9px;border-radius:8px;font-size:12px;line-height:1.4}
.metaAttributionSummary{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:6px}
.metaAttributionSummary>span{display:flex;min-width:0;min-height:45px;flex-direction:column;justify-content:center;padding:7px 8px;border:1px solid #dfe7f0;border-radius:8px;background:#fff}
.metaAttributionSummary small,.metaAttributionGrid small{display:block;margin:0 0 2px;color:#747d87;font-size:12px}
.metaAttributionSummary b{overflow:hidden;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.metaAttributionDetails{margin-top:7px;overflow:hidden;border:1px solid #dfe7f0;border-radius:8px;background:#fff}
.metaAttributionDetails>summary{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;color:#343c45;cursor:pointer;list-style:none}
.metaAttributionDetails>summary::-webkit-details-marker{display:none}
.metaAttributionDetails>summary>span{display:flex;min-width:0;flex-direction:column;gap:1px}
.metaAttributionDetails>summary b{font-size:12px}
.metaAttributionDetails>summary small{color:#7c858e;font-size:12px}
.metaAttributionDetails>summary i{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:6px;background:#edf4fb;color:#1877f2;font-size:13px;font-style:normal;transition:transform .15s ease}
.metaAttributionDetails[open]>summary{border-bottom:1px solid #e7edf3;background:#f8fbff}
.metaAttributionDetails[open]>summary i{transform:rotate(45deg)}
.metaAttributionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
.metaAttributionGrid>div{padding:7px 8px;border-radius:8px}
.metaAttributionGrid b,.metaAttributionGrid code{font-size:12px;line-height:1.35}
.drawerActions{padding:9px 18px calc(9px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -5px 16px rgba(24,29,35,.04)}
.drawerActions .btn{min-height:40px;padding:8px 11px}

@media(max-width:520px){
  .drawerHead{padding:12px 14px}
  .drawerBody{padding:0 14px 10px}
  .drawerBody>.section{padding:11px 0}
  .responseCommandHead{align-items:center;flex-direction:row}
  .responseFacts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .quickCallOutcomeHead{align-items:center;flex-direction:row}
  .quickCallOutcomeHead small{display:none}
  .quickCallOutcomeButtons{grid-template-columns:repeat(2,minmax(0,1fr))}
  .communicationActions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .metaAttributionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .metaAttributionWide{grid-column:1/-1}
  .drawerActions{padding:9px 14px calc(9px + env(safe-area-inset-bottom))}
}

/* v1.9.19 — synchronized board scrollbars and shared My Day lead cards */
.kanban{padding-bottom:8px;scrollbar-width:none;-ms-overflow-style:none}
.kanban::-webkit-scrollbar{display:none}
.kanbanScrollProxy{height:15px;overflow-x:auto;overflow-y:hidden;border-radius:999px;scrollbar-width:thin;scrollbar-color:#d96a22 #e9ecef}
.kanbanScrollProxy.is-hidden{display:none}
.kanbanScrollSpacer{height:1px;min-width:100%}
.kanbanScrollTop{margin:1px 2px 8px}
.kanbanScrollBottom{margin:8px 2px 3px}
.kanbanScrollProxy::-webkit-scrollbar{height:11px}
.kanbanScrollProxy::-webkit-scrollbar-track{border:1px solid #e2e5e8;border-radius:999px;background:#edf0f2}
.kanbanScrollProxy::-webkit-scrollbar-thumb{min-width:52px;border:2px solid #edf0f2;border-radius:999px;background:linear-gradient(90deg,#f1843d,#d85a00)}
.kanbanScrollProxy::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#ff6900,#b94600)}
.kanbanScrollProxy:focus-visible{outline:2px solid rgba(255,105,0,.38);outline-offset:2px}

.myDayGroup{border-radius:12px;box-shadow:0 4px 14px rgba(20,27,35,.035)}
.myDayGroupHead{padding:11px 13px;background:#f7f8f9}
.myDayGroupHead h3{margin:0 0 2px;font-size:13px}
.myDayGroupHead small{font-size:12px}
.myDayGroupHead>b{min-width:29px;height:29px;border-radius:9px;font-size:12px}
.myDayCards{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:8px;padding:10px}
.myDayCards .leadCardCompact{height:max-content;margin:0}
.myDayGroup-fresh .myDayGroupHead{border-color:#f2c9ad;background:#fff1e7;color:#9d430b}
.myDayGroup-followups .myDayGroupHead{border-color:#eadcae;background:#fff8df;color:#7d6414}
.myDayGroup-callbacks .myDayGroupHead{border-color:#c9deee;background:#eef6fc;color:#35698e}
.myDayGroup-transferred .myDayGroupHead{border-color:#efc8ac;background:#fff0e5;color:#98440f}
.myDayGroup-pending .myDayGroupHead{border-color:#e8d5bc;background:#faf2e7;color:#76552d}
.myDayGroup-fresh .myDayGroupHead>b,.myDayGroup-followups .myDayGroupHead>b,.myDayGroup-callbacks .myDayGroupHead>b,.myDayGroup-transferred .myDayGroupHead>b,.myDayGroup-pending .myDayGroupHead>b{background:rgba(255,255,255,.72);color:currentColor;border:1px solid currentColor}
@media(max-width:900px){.kanbanScrollProxy{display:none!important}.kanban{padding-bottom:0;scrollbar-width:auto}.myDayCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.myDayCards{grid-template-columns:1fr;padding:8px}.myDayGroupHead{padding:10px 11px}}


/* v1.9.20 — readability pass for compact secondary text */
.leadCompactTop .responsePill{font-size:12px}
.leadCompactFacts small,.leadCompactInterest small{font-size:12px}
.leadCompactFacts b,.leadCompactInterest b{font-size:12px}
.leadCompactInterest em{font-size:12px}
.leadCompactFlags span{font-size:12px}
.leadCompactOpen{font-size:12px}
.leadCompactOpen b{font-size:12px}
.myDayGroupHead small{font-size:12px}
.drawerHead>div:first-child>small{font-size:12px}
.responseFacts small{font-size:12px}
.quickCallOutcomeHead small{font-size:12px}
.metaAttributionHead>div>span{font-size:12px}
.metaAttributionSummary small,.metaAttributionGrid small{font-size:12px}
.metaAttributionDetails>summary small{font-size:12px}
@media(max-width:900px){.leadCompactFacts b,.leadCompactInterest b{font-size:12px}.leadCompactFacts small,.leadCompactInterest small,.leadCompactOpen{font-size:12px}}


/* v1.9.21 — cleaner, lighter expanded lead drawer */
.drawer{width:min(620px,100%)}
.drawerHead{border-bottom-color:#eef0f2;background:#fff}
.drawerHead h2{font-size:17px;font-weight:700;letter-spacing:-.02em}
.drawerHead>div:first-child>.badge{border:1px solid #e6e9ec;background:#f6f7f8;color:#616972;font-weight:700}
.drawerHead>div:first-child>small{color:#8a9199;font-weight:450}
.drawerHead>#closeDrawer{border-color:#e9ecef;background:#fafbfc;color:#68717a;font-weight:500;box-shadow:none}
.drawerHead>#closeDrawer:hover{border-color:#dfe3e7;background:#f3f5f6;transform:none}
.drawerBody{color:#343a40}
.drawerBody>.section{border-top-color:#f0f2f4}
.drawerBody>.section>h4{color:#727a83;font-size:12px;font-weight:700;letter-spacing:.06em}
.drawerBody>.section>p{color:#555e67;font-size:12px;font-weight:450}
.drawerBody .field{color:#68717a;font-size:12px;font-weight:650}
.drawerBody .field input,.drawerBody .field select,.drawerBody .field textarea{border-color:#e5e8eb;background:#fbfcfd;color:#30363d}
.drawerBody .field input:focus,.drawerBody .field select:focus,.drawerBody .field textarea:focus{border-color:#efb58f;background:#fff;box-shadow:0 0 0 3px rgba(255,105,0,.07)}
.drawer .btn{font-weight:700;box-shadow:none}
.drawer .btn:hover{transform:none}
.drawer .btn.secondary{border-color:#e3e6e9;background:#fff;color:#3f474f}
.drawer .btn.secondary:hover{border-color:#d7dce1;background:#f8f9fa}
.drawer .btn.primary{box-shadow:none}

.responseCommand{border-color:#eef0f2!important;background:#fff!important}
.responseCommandHead span,.leadActivityHead span{color:#c96120;font-size:12px;font-weight:650;letter-spacing:.065em}
.responseCommandHead h4,.leadActivityHead h4{margin:2px 0 0;color:#30363d;font-size:12px;font-weight:650;letter-spacing:0;text-transform:none}
.responseCommandHead .responsePill{font-weight:650}
.responseFacts{gap:7px}
.responseFacts>span{min-height:46px;padding:7px 9px;border-color:#eceff2;border-radius:8px;background:#f8f9fa}
.responseFacts small{color:#858d96;font-weight:600;letter-spacing:0;text-transform:none}
.responseFacts b{color:#3f474f;font-weight:650}

.quickCallOutcomes{border-color:#eceff2;background:#fafbfc}
.quickCallOutcomeHead span{color:#68717a;font-size:12px;font-weight:650;letter-spacing:0;text-transform:none}
.quickCallOutcomeHead small{color:#90979f;font-weight:450}
.quickCallOutcomeButtons .btn{font-weight:650;box-shadow:none}
.quickCallConnected{border-color:#f1c7ad;background:#fff6f0;color:#b64c0c;box-shadow:none}
.quickCallConnected:hover{border-color:#eaae88;background:#fff0e6;color:#a9440a}
.quickCallConnected>span{background:#ffe4d2;color:#c8530b}
.quickCallVoicemail{border-color:#e2e6e9;background:#fff;color:#4d5660}
.quickCallVoicemail:hover{border-color:#d4d9de;background:#f7f8f9}
.quickCallVoicemail>span{background:#eef1f3;color:#69737d}
.communicationActions .btn{font-weight:650}
.communicationActions .btn.primary{background:#f56b16}

.drawerBody>.section:first-child .btn.secondary{min-height:36px;padding:7px 10px;background:#f8f9fa;font-size:12px}
.interestBox{border-color:#eceff2;background:#fcfcfd}
.drawerBody .check{border-color:#eceff2;background:#fff;color:#525b64;font-weight:550}
.drawerBody .check:has(input:checked){border-color:#f0c6aa;background:#fff8f3;color:#8e430f}
.drawerBody .check input{accent-color:var(--orange)}

.leadSubmissionSection{border:1px solid #edf0f2;border-left:1px solid #edf0f2;background:#fbfcfd}
.leadSubmissionSection>h4{color:#727a83}
.leadSubmissionNote{color:#8a9199;font-weight:450}
.leadSubmitted-drawer .leadSubmittedText small{font-weight:650}
.leadSubmitted-drawer .leadSubmittedText b{font-weight:650}

.metaAttributionSection{border-left:0;background:#fff}
.metaAttributionHead>div>span{color:#5c7da5;font-weight:650;letter-spacing:.07em}
.metaAttributionHead h4{color:#30363d;font-weight:650;letter-spacing:0;text-transform:none}
.metaAttributionHead>.payPill{background:#f0f5fa;color:#5d7795;font-weight:650}
.metaAttributionSummary>span{border-color:#e9edf1;background:#f9fafb}
.metaAttributionSummary small,.metaAttributionGrid small{color:#858d96;font-weight:600}
.metaAttributionSummary b{color:#3f474f;font-weight:650}
.metaAttributionDetails{border-color:#e8ecf0}
.metaAttributionDetails>summary{color:#4a535c}
.metaAttributionDetails>summary b{font-weight:650}
.metaAttributionDetails>summary small{color:#8b939c;font-weight:450}
.metaAttributionDetails>summary i{background:#f1f5f9;color:#6784a5}
.metaAttributionDetails[open]>summary{border-bottom-color:#edf0f3;background:#fafbfd}
.metaAttributionGrid>div{border-color:#edf0f2;background:#fbfcfd}
.metaAttributionGrid b,.metaAttributionGrid code{color:#4c555e;font-weight:600}

.drawerBody .fileRow{border-color:#eceff2;background:#fff}
.drawerBody .fileRow b{font-weight:650}
.drawerBody .saleLine{border-color:#e9ecef;background:#fcfcfd}
.drawerActions{border-top-color:#eef0f2;box-shadow:0 -4px 14px rgba(24,29,35,.025)}
.drawerActions .btn{font-weight:650}

@media(max-width:520px){
  .drawer{width:100%}
  .drawerHead h2{font-size:16px}
  .responseFacts>span{min-height:44px;padding:6px 7px}
  .quickCallOutcomeButtons .btn,.communicationActions .btn{font-size:12px}
}


/* v1.9.22 — required spoken-call notes and automatic call-outcome stages */
.calledSpokeModal{max-width:560px;margin:auto}
.calledSpokeModal h2{margin:5px 0 7px;font-size:21px;font-weight:700;color:#252a30}
.calledSpokeModal .mutedCopy{margin:0 0 16px;color:#747d86;font-size:12px;line-height:1.55}
.calledSpokeModal .field{margin:0;color:#59626b;font-size:12px;font-weight:700}
.calledSpokeModal textarea{min-height:132px;resize:vertical;line-height:1.5;font-weight:450}
.calledSpokeModal textarea:focus{border-color:#efad81;box-shadow:0 0 0 3px rgba(255,105,0,.08)}
.requiredMark{margin-left:5px;color:#bd5310;font-size:12px;font-weight:700}
.calledSpokeHint{color:#8a929a;font-size:12px;font-weight:450;line-height:1.4}
.calledSpokeActions{display:grid;grid-template-columns:1fr 140px;gap:8px;margin-top:15px}
.calledSpokeActions .btn{min-height:40px;font-weight:700}
@media(max-width:520px){.calledSpokeActions{grid-template-columns:1fr}.calledSpokeModal textarea{min-height:150px}}

/* v1.9.23 — site-wide softer visual system and consistent CRM surfaces */
:root{
  --orange:#f56b16;
  --ink:#282d33;
  --panel:#fff;
  --bg:#f6f7f9;
  --line:#e8ebef;
  --muted:#7d8690;
  --soft:#f8fafb;
  --green:#2f7b57;
  --red:#a84d56;
  --blue:#4e7eaa;
  --purple:#6e61a0;
  --yellow:#8f7629;
  --shadow:0 3px 14px rgba(24,31,40,.035);
  --shadow-lg:0 18px 48px rgba(22,28,36,.13)
}
html,body{color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.main{background:linear-gradient(180deg,#fbfcfd 0,#f6f7f9 190px,#f6f7f9 100%)}

/* Navigation + top chrome */
.sidebar{background:#20242a;color:#adb4bc;box-shadow:inset -1px 0 rgba(255,255,255,.035)}
.sideLogo{border-bottom-color:#30353b}
.sideLogo span{color:#858d96;font-weight:700}
.nav button{color:#aeb5bd;font-weight:620;border:1px solid transparent;transition:background .15s ease,border-color .15s ease,color .15s ease}
.nav button:hover{background:#272c32;border-color:#30363d;color:#f3f4f5}
.nav button.active{background:#2a2f35;border-color:#343a41;color:#fff;box-shadow:inset 3px 0 var(--orange)}
.nav button.active .navMark{box-shadow:0 0 0 3px rgba(245,107,22,.12)}
.sideBottom{background:#1d2126;border-top-color:#30353b;color:#858d96}
.sideLogout{font-weight:620}
.topbar{height:74px;border-bottom-color:#eceff2;background:rgba(255,255,255,.96);box-shadow:none;backdrop-filter:blur(10px)}
.topbar h1{color:#2a2f35;font-weight:680;letter-spacing:-.02em}
.topbar small{color:#8a929b;font-weight:450}
.topbarUser{border-color:#eaedf0;background:#fafbfc;box-shadow:none}
.topbarUserCopy b{font-weight:650}
.avatar{box-shadow:none;background:linear-gradient(135deg,#f47728,#4a4f55)}
.crmNetworkBar{box-shadow:none}

/* Global typography */
h2,h3,h4{color:#2b3036}
.eyebrow{color:#d75d10;font-weight:700;letter-spacing:.11em}
.mutedCopy{color:#7b848e!important;font-weight:450}

/* Buttons and controls */
.btn{border-radius:10px;font-weight:650;box-shadow:none;transition:background .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}
.btn:hover{transform:none}
.btn.primary{background:#f56b16;color:#fff}
.btn.primary:hover{background:#e86111}
.btn.secondary{border:1px solid #e3e7ea;background:#fbfcfd;color:#49515a}
.btn.secondary:hover{border-color:#d7dce1;background:#f5f7f8;color:#333a42}
.btn.bad{border-color:#efdadd;background:#fff8f8;color:#a64b53}
.btn.bad:hover{border-color:#e6cdd1;background:#fff4f4}
.field{color:#626b74;font-weight:620}
.field input,.field select,.field textarea,.input{border-color:#e3e7eb;background:#fbfcfd;color:#30363d;box-shadow:none}
.field input:hover,.field select:hover,.field textarea:hover,.input:hover{border-color:#d8dde2;background:#fff}
.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:#efb58f;background:#fff;box-shadow:0 0 0 3px rgba(245,107,22,.07)}
.field small{color:#8b939c;font-weight:450}
.check{border-color:#e8ebee;background:#fbfcfd;color:#555e67;font-weight:540}
.check:hover{border-color:#dfe3e7;background:#fff}
.check:has(input:checked){border-color:#efcbb4;background:#fff8f4;color:#8e4515}

/* Primary page surfaces */
.hero,.commandHero,.teamHero,.eventPaymentHero,.myQrHero,.quoteWorkspaceHero,.quoteLaunchCard{
  border:1px solid #efe6e0;
  background:radial-gradient(circle at 92% 0,rgba(245,107,22,.09),transparent 34%),linear-gradient(135deg,#fff8f3,#fff 68%);
  color:#2c3137;
  box-shadow:var(--shadow)
}
.hero h2,.commandHero h2,.quoteWorkspaceHero h2,.quoteLaunchCard h3{color:#292f35}
.hero p,.commandHero p,.quoteWorkspaceHero p,.quoteLaunchCard p{color:#727b85}
.commandHero .eyebrow,.quoteWorkspaceHero .eyebrow,.quoteLaunchCard span{color:#d65e12}
.quoteLaunchCard small{color:#a76338}
.quotePermissionOn{border-color:#cfe4d8;background:#f1f8f4;color:#2f7554}
.quotePermissionOff{border-color:#ead8ca;background:#fff6f0;color:#9e5a2d}
.myQrPrivateBadge{border-color:#e6dcd5;background:#fff;color:#6d747c}

.stat,.panel,.eventCard,.weeklySignCard,.adminControlCard,.accountPanel,.teamUserCard,.quoteLeadFinder,.quoteWorkspaceDesk,.priceSheetCard,.myQrClientCard{
  border-color:#e8ebef;
  background:#fff;
  box-shadow:var(--shadow)
}
.stat{padding:17px 18px}
.stat span{color:#858e98;font-weight:700}
.stat b{color:#2b3036;font-weight:680}
.stat small{color:#8a929b}
.panelHead{border-bottom-color:#edf0f2;background:#fff}
.panelHead h3{color:#30363d;font-weight:650}
.panelHead small{color:#858e98!important;font-weight:450}

/* Tables */
.table th{border-bottom:1px solid #eceff2;background:#f8fafb;color:#838c96;font-weight:700}
.table td{border-top-color:#eef1f3;color:#414951}
.table td>b{font-weight:650;color:#30363d}
.table tbody tr:hover{background:#fcfaf8}
.tableWrap{scrollbar-color:#c8ced4 #f1f3f5}

/* Dashboard / daily sales */
.dailyPerson{border:1px solid #e9ecef;background:#fbfcfd;box-shadow:none}
.dailyPersonTop>div b{font-weight:650}
.dailyPersonTop strong{font-weight:680;color:#30363d}
.rankNum{background:#f1f3f5!important;color:#6f7881!important}
.chip{border-color:#f0d8c8;background:#fff7f2;color:#a84e18;font-weight:620}
.badge{background:#f2f4f6;color:#68717a;font-weight:650}

/* Lead board, lead directory and My Day */
.leadControls{border-color:#e8ebef;background:#fbfcfd;box-shadow:none}
.leadToolbar small,.leadPager,.leadPageNotice{color:#7f8891}
.leadPageNotice{border-color:#e6ebef;background:#fafcfd}
.leadPager{border-top:1px solid #edf0f2;background:#fbfcfd}
.column{border:1px solid #e8ebee;background:#f2f4f6;box-shadow:none}
.colHead{box-shadow:none;font-weight:700}
.leadCard{border-color:#e5e9ec;box-shadow:none;transition:border-color .14s ease,background .14s ease}
.leadCard:hover{border-color:#dfd8d2;background:#fffdfb;transform:none}
.leadCompactTop h4{font-weight:650}
.leadCompactFacts b,.leadCompactInterest b,.leadCompactOpen b{font-weight:620}
.leadCompactFacts small,.leadCompactInterest small{font-weight:700}
.leadCompactFlags span{font-weight:650}
.responsePill{font-weight:650}
.myDayGroup{border-color:#e8ebef;box-shadow:var(--shadow)}
.myDayGroupHead{border-bottom-color:#edf0f2}
.myDayGroupHead h3{font-weight:650}
.myDayGroupHead small{font-weight:450}
.commandMetrics>div{border-color:#e8ebef;background:#fff;box-shadow:var(--shadow)}
.commandMetrics span{color:#838c96;font-weight:700}
.commandMetrics b{color:#2b3036;font-weight:680}
.soundToggle{border-color:#e1e5e8;background:#fff;color:#58616a;font-weight:600}

/* Modals, drawers and overlays */
.drawerOverlay,.modalOverlay{background:rgba(25,30,36,.52);backdrop-filter:blur(3px)}
.drawer{border-left:1px solid #edf0f2;box-shadow:-14px 0 42px rgba(24,30,37,.11)}
.drawerHead{border-bottom-color:#eef1f3;background:#fff}
.drawerBody>.section{border-top-color:#f0f2f4}
.drawerActions{border-top-color:#eef1f3;background:#fff;box-shadow:0 -3px 12px rgba(24,29,35,.02)}
.modal{border:1px solid #eceff2;background:#fff;box-shadow:var(--shadow-lg)}
.modalClose{border-color:#e8ebee;background:#fafbfc;color:#6e7780;box-shadow:none}
.modalClose:hover{background:#f3f5f6;color:#343a40}
.success{border-color:#d8e9e0;background:#f4faf7;color:#3a7458}
.error{border-color:#efdadd;background:#fff7f7;color:#9f4b53}

/* Notes, activity and customer sections */
.interestBox,.saleLine,.fileRow,.leadAttributionEdit,.workspaceLocked,.leadSubmissionSection,.leadActivity,.leadQuotePanel,.customer360,.leadPresenceNotice,.leadDuplicateHistory,.leadTransferHistory{
  border-color:#e9ecef!important;
  background:#fbfcfd!important;
  box-shadow:none!important
}
.leadActivityHead h4,.responseCommandHead h4{font-weight:650}
.leadNoteBody p{font-weight:480;color:#424a52}
.leadNoteMeta{color:#8b939c}
.leadSubmittedText b{font-weight:650}
.leadSubmittedAvatar{box-shadow:none}

/* Team, management and settings */
.teamSummary>span{border-color:#e8ebef;background:#fff;box-shadow:var(--shadow)}
.teamSummary b{font-weight:650}
.teamSummary small{font-weight:700;color:#858d96}
.teamUserCard{box-shadow:var(--shadow)}
.teamUserHead h3{font-weight:650}
.teamUserStatus,.teamUserMeta span,.teamAccessFull,.managementAccountTag{font-weight:650}
.teamCommunication,.teamLeadSharing,.staffPermissionSwitch,.staffPermissionChoice,.staffPermissionBox,.staffPermissionNotice,.dataProtection,.adminEmptyState{
  border-color:#e7eaee;
  background:#fbfcfd;
  box-shadow:none
}
.teamLeadSharing.isShared{border-color:#d4e7dc;background:#f5faf7}
.staffPermissionBox,.staffPermissionNotice,.adminEmptyState{border-left-width:3px}
.staffPermissionSwitch>b,.staffPermissionChoice b{font-weight:620}
.adminControlCard>span{background:#fff4ec;color:#b95010}
.adminControlCard b{font-weight:650}

/* Events, payments, payroll and pole signs */
.eventCard{box-shadow:var(--shadow)}
.eventCardTop{color:#8a929b}
.eventCard h3{font-weight:650}
.eventStatus,.eventPaymentStatus,.poleStatus,.payPill{font-weight:650}
.eventPaymentStats article,.polePayStats span,.weeklySignCard,.poleSettingsBox,.eventPaymentDocuments,.eventPaymentAuditNote{
  border-color:#e8ebef;
  background:#fbfcfd;
  box-shadow:none
}
.eventPaymentBox{border-color:#eedfd4;border-left-width:3px;background:#fffaf6}
.eventPaymentSeparate{border-color:#d8e8df;background:#f5faf7}
.eventPaymentWarning{border-color:#efd7c5;background:#fff7f1;color:#8f4b1f}
.poleRuleGrid{border-top-color:#eceff2}
.poleRuleGrid>div{border-right-color:#eceff2;border-bottom-color:#eceff2}
.cameraBox{border-color:#30343a;background:#171a1e}

/* Price Check + quote builder */
.priceSheetCard{box-shadow:var(--shadow)}
.priceManagement{border-top-color:#edf0f2}
.priceFilePicker,.priceRecipientMode,.priceLeadResult,.leadPriceChoice,.quoteLeadResult,.quoteSelectedLead,.quoteWorkspaceWelcome>div{
  border-color:#e6e9ed;
  background:#fbfcfd;
  box-shadow:none
}
.priceRecipientMode:hover,.priceRecipientMode.active,.priceLeadResult:hover,.leadPriceChoice:hover,.quoteLeadResult:hover,.quoteLeadResult.selected{
  border-color:#efc8ae;
  background:#fff8f3
}
.priceFileButton{border-right-color:#e5e8eb;background:#f4f6f7;color:#4e565f;font-weight:650}
.priceRecipientMode>span{background:#f0f2f4;color:#66707a;font-weight:700}
.priceRecipientMode.active>span,.priceRecipientMode:hover>span{background:#f56b16;color:#fff}
.quoteWorkspaceWelcome>span{background:#fff3ea;color:#b64f10}
.quoteSelectedLead{border-color:#efd7c6;background:#fff9f5}
.quoteEditNotice{border-color:#efd7c5;border-left-width:3px;background:#fff9f5;color:#734723}

/* QR tools */
.myQrClientCard{box-shadow:0 8px 28px rgba(22,29,37,.07)}
.myQrClientHead{border-top-width:4px;background:radial-gradient(circle at 88% 10%,rgba(245,107,22,.15),transparent 34%),linear-gradient(135deg,#24282d,#34383d)}
.myQrCanvasFrame{border-color:#e8ebef;box-shadow:var(--shadow)}
.myQrServices{border-color:#e8ebef;background:#fbfcfd}
.myQrHow b{background:#fff4ec;color:#b95010}

/* Login */
.login{background:#f7f8fa}
.loginBrand{background:radial-gradient(circle at 20% 5%,rgba(245,107,22,.12),transparent 28%),linear-gradient(145deg,#20242a,#292d32)}
.loginBrand p{color:#c5c9ce}
.loginBox{background:linear-gradient(180deg,#fff,#fafbfc)}
.cardLogin{padding:26px;border:1px solid #e8ebef;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(22,29,37,.06)}
.cardLogin h2{color:#2b3036;font-weight:680}

/* Mobile polish */
@media(max-width:900px){
  .topbar{height:68px;background:rgba(255,255,255,.98)}
  .mobileNav{border-top-color:#e9ecef;box-shadow:0 -5px 18px rgba(18,24,32,.055)}
  .mobileNav button{color:#727b84;font-weight:570}
  .mobileNav button.active{background:#fff5ee;color:#c9550d;font-weight:680}
  .sidebar{background:#20242a;box-shadow:16px 0 42px rgba(15,20,25,.18)}
  .sidebarScrim{background:rgba(19,24,29,.46)}
  .hero,.commandHero,.teamHero,.eventPaymentHero,.myQrHero,.quoteWorkspaceHero,.quoteLaunchCard{box-shadow:none}
  .stat,.panel,.eventCard,.weeklySignCard,.adminControlCard,.accountPanel,.teamUserCard,.quoteLeadFinder,.quoteWorkspaceDesk,.priceSheetCard{box-shadow:none}
}
@media(max-width:560px){
  .page{padding:14px}
  .cardLogin{padding:20px;border-radius:15px}
  .stat{padding:14px}
  .panel,.myDayGroup{border-radius:12px}
  .hero,.commandHero,.teamHero,.eventPaymentHero,.myQrHero,.quoteWorkspaceHero,.quoteLaunchCard{border-radius:14px}
}


/* v1.9.25 — shared CRM badge replaces the response-overdue card slot */
.leadCompactTop .responsePill{display:none!important}
.leadSharingSlot,.leadSharingPill{display:inline-flex;align-items:center;justify-content:center;min-width:0;border:1px solid #cfe5d9;border-radius:999px;background:#f0f8f4;color:#2e6b4d;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap}
.leadSharingSlot{width:112px;max-width:112px;height:22px;flex:0 0 112px;padding:0 7px;overflow:hidden;text-overflow:ellipsis}
.leadSharingSlot.isEmpty{visibility:hidden}
.leadSharingPill{max-width:150px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis}
.responseCommandHead .leadSharingSlot{width:auto;max-width:180px;flex:0 1 auto;visibility:visible;padding:0 9px}
.leadCompactFlags .shared{display:none!important}
@media(max-width:700px){.leadSharingSlot{width:105px;max-width:105px;flex-basis:105px}.responseCommandHead .leadSharingSlot{width:auto;max-width:150px;flex-basis:auto}}

/* v1.9.26 — complete All Leads directory revamp */
.leadDirectoryPage{display:block}
.leadDirectoryIntro{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 14px;padding:19px 21px;border:1px solid #e8ebef;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.leadDirectoryIntro .eyebrow{font-size:12px;letter-spacing:.09em;color:#d65e12}
.leadDirectoryIntro h2{margin:4px 0 4px;color:#2d3339;font-size:23px;font-weight:670;line-height:1.15}
.leadDirectoryIntro p{margin:0;max-width:620px;color:#7a838d;font-size:12px;line-height:1.5}
.leadDirectorySummary{display:grid;width:300px;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;flex:0 0 300px}
.leadDirectorySummary>span{display:flex;min-width:86px;flex-direction:column;gap:2px;padding:9px 11px;border:1px solid #eaedf0;border-radius:11px;background:#fafbfc}
.leadDirectorySummary small{color:#8a929b;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.leadDirectorySummary b{color:#30363d;font-size:15px;font-weight:660}
.leadDirectoryFilterPanel{margin:0 0 12px;padding:12px;border:1px solid #e8ebef;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.leadDirectoryFilterPanel .leadControls{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:9px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.leadDirectoryFilterPanel label.leadControlSelect{width:auto;min-width:0;height:48px;grid-column:span 4}
.leadDirectoryFilterPanel .smartViewPicker{grid-column:span 3}
.leadDirectoryFilterPanel .workspacePicker{grid-column:span 4}
.leadDirectoryFilterPanel .boardPicker{grid-column:span 5}
.leadDirectoryFilterPanel .leadSearchForm{grid-column:span 8;min-width:0;order:initial}
.leadDirectoryFilterPanel .leadSearchForm .input{min-width:0}
.leadDirectoryFilterPanel #leadStageFilter{display:none;grid-column:span 2;min-width:0!important}
.leadDirectoryFilterPanel #leadPerPage{grid-column:span 2;min-width:0!important}
.leadDirectoryFilterPanel #saveLeadView{grid-column:span 2;min-width:0;padding-inline:10px;white-space:nowrap}
.leadDirectoryFilterPanel .input,.leadDirectoryFilterPanel .btn{min-height:44px}
.leadDirectoryStageStrip{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px;padding-top:11px;border-top:1px solid #edf0f2}
.leadDirectoryStageFilter{display:inline-flex;align-items:center;gap:6px;min-height:31px;padding:5px 8px;border:1px solid #e4e8eb;border-radius:999px;background:#fafbfc;color:#69727b;font:inherit;font-size:12px;font-weight:620;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}
.leadDirectoryStageFilter b{display:grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:999px;background:#eef1f3;color:#606a74;font-size:12px;font-weight:690}
.leadDirectoryStageFilter:hover{border-color:#e7c6b1;background:#fff9f5;color:#9c4b18}
.leadDirectoryStageFilter.active{border-color:#efc2a4;background:#fff5ee;color:#b14e10}
.leadDirectoryStageFilter.active b{background:#f56b16;color:#fff}
.leadDirectoryList{overflow:hidden;border:1px solid #e7ebee;border-radius:15px;background:#fff;box-shadow:var(--shadow)}
.leadDirectoryListHead,.leadDirectoryRow{display:grid;grid-template-columns:42px minmax(0,1.05fr) minmax(0,1.12fr) minmax(0,1fr) minmax(0,1.38fr) minmax(0,.82fr) minmax(0,.78fr) 66px;align-items:center;gap:10px}
.leadDirectoryListHead{min-height:38px;padding:0 14px;border-bottom:1px solid #e9edf0;background:#f8fafb;color:#858e97;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.leadDirectoryRow{position:relative;min-height:82px;padding:11px 14px;border-bottom:1px solid #edf0f2;background:#fff;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease}
.leadDirectoryRow:last-child{border-bottom:0}
.leadDirectoryRow:hover{z-index:1;background:#fffdfb;box-shadow:inset 3px 0 #f2a06b}
.leadDirectoryRow.bulkSelected{background:#fff8f3!important;box-shadow:inset 3px 0 #f56b16!important}
.directorySelect{display:flex;align-items:center;justify-content:center;min-width:0}
.directorySelect .leadBulkCheck em{display:none}
.directorySelect .leadBulkCheck>span{width:21px;height:21px;border-radius:6px;box-shadow:none}
.directoryCustomer,.directoryContact,.directoryAddress,.directoryOpportunity,.directoryStageWrap,.directorySubmitted{display:flex;min-width:0;flex-direction:column}
.directoryCustomer{gap:4px}
.directoryCustomerName{min-width:0}
.directoryCustomerName b{display:block;overflow:hidden;color:#2f353b;font-size:12px;font-weight:660;line-height:1.28;text-overflow:ellipsis;white-space:nowrap}
.directoryIdentity{display:flex;align-items:center;gap:6px;min-width:0;min-height:22px}
.directoryIdentity>span:first-child{color:#78818b;font-size:12px;font-weight:580;white-space:nowrap}
.directoryIdentity .leadSharingPill{max-width:120px;padding:3px 6px;font-size:12px;font-weight:620}
.directoryCustomer .leadCompactFlags{margin-top:1px;gap:4px}
.directoryCustomer .leadCompactFlags span{padding:3px 5px;font-size:12px;font-weight:620}
.directoryContact{gap:3px}
.directoryContact b{overflow:hidden;color:#46505a;font-size:12px;font-weight:560;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryContact span{overflow:hidden;color:#78818a;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryAddress{gap:3px}
.directoryAddress b{overflow:hidden;color:#48515a;font-size:12px;font-weight:560;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryAddress span{overflow:hidden;color:#7a838c;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryOpportunity{gap:3px}
.directoryOpportunity>small,.directorySubmitted>small{color:#8b939c;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.directoryOpportunity>b{overflow:hidden;color:#454d55;font-size:12px;font-weight:590;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryInterestList{display:flex;min-width:0;align-items:center;gap:4px;margin-top:2px;overflow:hidden}
.directoryInterestList .chip{max-width:112px;overflow:hidden;padding:3px 6px;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.directoryMoreInterest,.directoryNoInterest{color:#7d8690;font-size:12px;white-space:nowrap}
.directoryBoard{overflow:hidden;color:#9299a1;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.directoryStageWrap{align-items:flex-start;gap:5px}
.leadDirectoryStage{display:inline-flex;max-width:100%;align-items:center;min-height:25px;padding:4px 7px;border:1px solid #dfe4e8;border-radius:999px;background:#f4f6f7;color:#646d76;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap}
.leadDirectoryStage.fresh{border-color:#f2cfb8;background:#fff3ea;color:#a6490f}
.leadDirectoryStage.contacted{border-color:#d0e2ef;background:#f1f7fb;color:#3f6f90}
.leadDirectoryStage.working{border-color:#ddd6ef;background:#f6f3fb;color:#655692}
.leadDirectoryStage.followup{border-color:#eadfb9;background:#fff9e8;color:#80691c}
.leadDirectoryStage.pending{border-color:#ecd9c5;background:#fff6ed;color:#8c5b2e}
.leadDirectoryStage.sold{border-color:#cfe5d9;background:#f0f8f4;color:#2e6b4d}
.leadDirectoryStage.dead{border-color:#dfe2e5;background:#f4f5f6;color:#6a727a}
.leadDirectoryStage.transferred{border-color:#efcfbd;background:#fff4ec;color:#9a4d1e}
.directoryStageWrap>small{overflow:hidden;max-width:100%;color:#858d96;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directorySubmitted{gap:3px}
.directorySubmitted b{color:#4b545d;font-size:12px;font-weight:590;line-height:1.35}
.directorySubmitted span{overflow:hidden;color:#89919a;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.directoryOpen{display:flex;justify-content:flex-end}
.directoryOpenButton{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:62px;min-height:34px;padding:6px 8px;border:1px solid #e3e7ea;border-radius:9px;background:#fff;color:#4e5760;font:inherit;font-size:12px;font-weight:640;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}
.directoryOpenButton i{color:#d65e12;font-size:12px;font-style:normal}
.directoryOpenButton:hover{border-color:#efc6ab;background:#fff7f1;color:#a64a12}
.directoryEmpty{min-height:220px;justify-content:center}
.leadDirectoryPage>.leadPager{margin-top:10px;border:1px solid #e8ebef;border-radius:13px;background:#fff;box-shadow:var(--shadow)}

@media(max-width:1220px){
  .leadDirectoryIntro{align-items:flex-start;flex-direction:column}
  .leadDirectorySummary{width:100%;grid-template-columns:repeat(3,1fr)}
  .leadDirectoryListHead{padding-inline:11px}
  .leadDirectoryRow{padding-inline:11px}
}
@media(max-width:1040px){
  .leadDirectoryFilterPanel .smartViewPicker,.leadDirectoryFilterPanel .workspacePicker,.leadDirectoryFilterPanel .boardPicker{grid-column:span 4}
  .leadDirectoryFilterPanel .leadSearchForm{grid-column:span 8}
  .leadDirectoryFilterPanel #leadPerPage{grid-column:span 2}
  .leadDirectoryFilterPanel #saveLeadView{grid-column:span 2}
  .leadDirectoryListHead{display:none}
  .leadDirectoryList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border:0;background:transparent;box-shadow:none}
  .leadDirectoryRow{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"select customer stage" "select contact contact" "select location location" "select opportunity opportunity" "select submitted open";align-items:start;gap:7px 10px;min-height:0;padding:13px;border:1px solid #e7eaed;border-radius:13px;box-shadow:var(--shadow)}
  .leadDirectoryRow:last-child{border-bottom:1px solid #e7eaed}
  .directorySelect{grid-area:select;align-self:start;padding-top:1px}
  .directoryCustomer{grid-area:customer}
  .directoryContact{grid-area:contact;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding-top:7px;border-top:1px solid #eef1f3}
  .directoryAddress{grid-area:location;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}
  .directoryOpportunity{grid-area:opportunity;padding-top:7px;border-top:1px solid #eef1f3}
  .directoryStageWrap{grid-area:stage;align-items:flex-end}
  .directoryStageWrap>small{max-width:130px;text-align:right}
  .directorySubmitted{grid-area:submitted;align-self:center}
  .directoryOpen{grid-area:open;align-self:end}
  .directoryOpenButton{min-width:68px}
}
@media(max-width:760px){
  .leadDirectoryIntro{padding:16px;border-radius:14px}
  .leadDirectoryIntro h2{font-size:21px}
  .leadDirectorySummary{gap:6px}
  .leadDirectorySummary>span{min-width:0;padding:8px 9px}
  .leadDirectoryFilterPanel{padding:10px;border-radius:14px}
  .leadDirectoryFilterPanel .leadControls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .leadDirectoryFilterPanel .smartViewPicker,.leadDirectoryFilterPanel .workspacePicker,.leadDirectoryFilterPanel .boardPicker,.leadDirectoryFilterPanel .leadSearchForm{grid-column:1/-1}
  .leadDirectoryFilterPanel #leadStageFilter{display:block;grid-column:span 1}
  .leadDirectoryFilterPanel #leadPerPage,.leadDirectoryFilterPanel #saveLeadView{grid-column:span 1}
  .leadDirectoryStageStrip{display:none}
  .leadDirectoryList{grid-template-columns:1fr;padding:0;gap:9px}
}
@media(max-width:520px){
  .leadDirectoryIntro p{font-size:12px}
  .leadDirectorySummary small{font-size:12px}
  .leadDirectorySummary b{font-size:13px}
  .leadDirectoryFilterPanel #leadStageFilter,.leadDirectoryFilterPanel #leadPerPage,.leadDirectoryFilterPanel #saveLeadView{grid-column:1/-1}
  .leadDirectoryFilterPanel #saveLeadView{min-height:42px}
  .leadDirectoryRow{grid-template-columns:30px minmax(0,1fr);grid-template-areas:"select customer" "stage stage" "contact contact" "location location" "opportunity opportunity" "submitted open";gap:7px 9px;padding:12px}
  .directoryStageWrap{align-items:flex-start;flex-direction:row;justify-content:space-between;gap:8px;padding-top:2px}
  .directoryStageWrap>small{max-width:48%;text-align:right}
  .directoryContact,.directoryAddress{grid-template-columns:1fr;gap:3px}
  .directoryIdentity{flex-wrap:wrap}
  .directoryIdentity .leadSharingPill{max-width:150px}
  .directoryInterestList .chip{max-width:140px}
  .directoryOpenButton{min-width:72px;min-height:38px}
}

/* v1.9.27 — event notes, links, Future queue and Event button alignment */
.eventNewButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding-inline:16px;white-space:nowrap}
.eventNewPlus{display:grid;width:19px;height:19px;place-items:center;border:1px solid rgba(255,255,255,.42);border-radius:6px;font-size:15px;font-weight:520;line-height:1}
.eventLinkGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eventLinkGrid .field{min-width:0}
.eventInfoPanel{display:grid;gap:9px;margin:12px 0;padding:12px 13px;border:1px solid #e6eaed;border-radius:11px;background:#fbfcfd}
.eventNotesBlock>span{display:block;margin-bottom:4px;color:#858e97;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.eventNotesBlock p{margin:0;color:#4e5760;font-size:12px;line-height:1.5;white-space:pre-wrap}
.eventLinkRow{display:flex;flex-wrap:wrap;gap:7px}
.eventLinkButton{min-height:34px;padding:7px 10px;font-size:12px}
.eventReviewNote{margin:10px 0;padding:10px 11px;border:1px solid #dfe5ea;border-left:3px solid #8292a2;border-radius:9px;background:#f8fafb;color:#55616c;font-size:12px;line-height:1.5}
.eventReviewNote b{font-weight:680}
.eventReviewNote.changes{border-color:#efd1d4;border-left-color:#c6656d;background:#fff7f7;color:#8c4048}
.eventReviewNote.future{border-color:#d9d6eb;border-left-color:#7c70a6;background:#f8f7fc;color:#5f557f}
.eventStatus.future{border-color:#ddd9ec;background:#f5f3fb;color:#665b89}
.eventDecisionActions{align-items:center}
.futureAction{border-color:#d8d4e8!important;background:#f8f7fc!important;color:#625783!important}
.futureAction:hover{border-color:#c9c2df!important;background:#f2eff9!important;color:#554a77!important}
.futureBox{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px 13px;border:1px solid #ddd9ec;border-radius:10px;background:#f8f7fc}
.futureBox>div{min-width:0}
.futureBox b{color:#5f557f;font-size:12px;font-weight:680}
.futureBox p{margin:3px 0 0;color:#7a7292;font-size:12px;line-height:1.45}
.futureBox .btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:640px){.eventLinkGrid{grid-template-columns:1fr}.eventNewButton{width:100%;margin-top:10px}.futureBox{align-items:stretch;flex-direction:column}.futureBox .btn{width:100%}.eventDecisionActions .btn{flex:1 1 100%}}
#eNotes,#eeNotes{min-height:78px}

/* v1.9.28 — event setup details, owner editing and private BA event visibility */
.eventSetupGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.eventSetupSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0;padding:10px;border:1px solid #e5eaee;border-radius:11px;background:#fafbfc}
.eventSetupSummary>span{display:grid;gap:2px;min-width:0;padding:8px 9px;border:1px solid #edf0f2;border-radius:8px;background:#fff}
.eventSetupSummary small{color:#8b939b;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.eventSetupSummary b{overflow:hidden;color:#47515a;font-size:12px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}
.eventAttendeePanel{display:grid;gap:7px;padding:12px;margin-bottom:12px}
.eventAttendeePanel>b{font-size:12px;font-weight:680;color:#4d565f}
.eventAttendeePanel>small{margin-top:-3px;color:#818991;font-size:12px;line-height:1.4}
.eventOwnerEditNotice{margin-bottom:12px;font-size:12px;line-height:1.45}
@media(max-width:680px){.eventSetupGrid,.eventSetupSummary{grid-template-columns:1fr}.eventSetupSummary>span{padding:7px 8px}}
.eventMetaMini{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 7px}
.eventMetaMini span{padding:3px 7px;border:1px solid #e5e9ec;border-radius:999px;background:#fafbfc;color:#69737c;font-size:12px;font-weight:620;line-height:1.2}


/* v1.9.29 — quote delivery truth + compact diagnostics */
.quoteBadgeRow{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.quoteDelivery{align-self:flex-start;padding:4px 7px;border-radius:999px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.045em;background:#f1f3f5;color:#66707b}
.quoteDelivery.accepted{background:#eaf4ff;color:#315e93}
.quoteDelivery.failed{background:#fff0ed;color:#a33c2c}
.quoteDelivery.attempting{background:#fff6e7;color:#8b6108}
.quoteDeliveryError{display:block;margin-top:2px;padding:6px 8px;border-radius:7px;background:#fff4f1;color:#93402f!important;font-size:12px!important;line-height:1.4}
.quoteDeliveryNote{display:block;margin-top:2px;color:#697583!important;font-size:12px!important;line-height:1.4}

/* v1.9.30 — cleaner Management Dashboard / team metrics */
.managementDashboard{display:grid;gap:14px;max-width:1680px;margin:0 auto}
.managementHero{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:23px 25px;border:1px solid #e7eaee;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fffaf6 100%);box-shadow:0 8px 26px rgba(27,31,36,.045)}
.managementHero h2{margin:4px 0 6px;color:#292f35;font-size:27px;font-weight:680;letter-spacing:-.035em}
.managementHero p{max-width:760px;margin:0;color:#77808a;font-size:12px;line-height:1.55}
.mgmtPeriod{display:flex;min-width:170px;flex-direction:column;gap:6px;color:#7c858f;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.mgmtPeriod select{min-width:180px;border:1px solid #e1e5e9;border-radius:10px;padding:10px 12px;background:#fff;color:#30363d;font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;outline:none}
.mgmtMetrics{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.mgmtMetric{min-width:0;padding:15px 16px;border:1px solid #e8ebef;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(26,31,37,.035)}
.mgmtMetric>span{display:block;overflow:hidden;color:#858e98;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap}
.mgmtMetric>b{display:block;margin:5px 0 2px;color:#2c3238;font-size:24px;font-weight:680;letter-spacing:-.04em}
.mgmtMetric>small{display:block;overflow:hidden;color:#98a0a8;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.mgmtMetric.good{background:#fbfefc;border-color:#e3eee8}.mgmtMetric.good>b{color:#256b4b}
.mgmtMetric.attention{background:#fffcf8;border-color:#f1dfcf}.mgmtMetric.attention>b{color:#a85620}
.mgmtActivityStrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:hidden;border:1px solid #e8ebee;border-radius:13px;background:#fff}
.mgmtActivityStrip>div{min-width:0;padding:11px 13px;border-right:1px solid #eef0f2}.mgmtActivityStrip>div:last-child{border-right:0}
.mgmtActivityStrip span{display:block;overflow:hidden;color:#8b939c;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.mgmtActivityStrip b{display:block;margin-top:3px;color:#3b4249;font-size:16px;font-weight:680}.mgmtActivityStrip .warning{background:#fff9f7}.mgmtActivityStrip .warning b{color:#a8444d}
.mgmtDashboardGrid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(290px,.8fr);gap:12px;align-items:start}
.mgmtTeamPanel{min-width:0;overflow:hidden}.mgmtGenerated{padding:5px 8px;border-radius:999px;background:#f3f5f7;color:#7c858e;font-size:12px;font-weight:700;white-space:nowrap}
.mgmtTeamTable{min-width:1060px}.mgmtTeamTable th{padding:9px 11px;background:#fafbfc;font-size:12px;font-weight:700;letter-spacing:.06em}.mgmtTeamTable td{padding:10px 11px;vertical-align:middle;font-size:12px}.mgmtTeamTable td>b{display:block;color:#343a40;font-size:12px;font-weight:680}.mgmtTeamTable td>small{display:block;margin-top:2px;color:#929aa3;font-size:12px;line-height:1.4}
.mgmtMember{display:flex;align-items:center;gap:8px;min-width:150px}.mgmtMember .avatar{width:30px;height:30px;flex:0 0 30px;font-size:12px}.mgmtMember>div{min-width:0}.mgmtMember b{display:block;overflow:hidden;color:#30363d;font-size:12px;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.mgmtMember small{display:block;margin-top:2px;color:#939ba4;font-size:12px}
.mgmtWarnText{color:#a65720!important}.mgmtLastActive{display:block;max-width:115px;color:#737c86;font-size:12px;line-height:1.35}
.mgmtSideStack{display:grid;gap:12px}.mgmtSideStack .panel,.mgmtLowerGrid .panel{overflow:hidden}
.mgmtAttention{padding:7px 15px 10px}.mgmtAttention>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #f0f2f4;color:#69727b;font-size:12px}.mgmtAttention>div:last-child{border-bottom:0}.mgmtAttention b{color:#343a40;font-size:13px}.mgmtAttention .warn b{color:#a65720}.mgmtAttention .bad b{color:#a8444d}
.mgmtAttentionActions{display:flex;flex-wrap:wrap;gap:6px;padding:0 15px 14px}.mgmtAttentionActions .btn{padding:7px 9px;font-size:12px}
.mgmtBars{padding:8px 15px 15px}.mgmtBarRow{padding:7px 0}.mgmtBarRow>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px;color:#68717a;font-size:12px}.mgmtBarRow>div b{color:#3b4249;font-weight:680}.mgmtBarRow>i{display:block;height:5px;overflow:hidden;border-radius:999px;background:#f0f2f4}.mgmtBarRow>i>em{display:block;height:100%;border-radius:999px;background:#e8894a}
.mgmtLowerGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mgmtServiceRows{padding:7px 15px 14px}.mgmtServiceRows>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #f0f2f4;color:#69727b;font-size:12px}.mgmtServiceRows>div:last-child{border-bottom:0}.mgmtServiceRows b{color:#343a40;font-weight:680;white-space:nowrap}.mgmtServiceRows em{margin-left:5px;color:#d7661f;font-size:12px;font-style:normal;font-weight:700}
.mgmtTodaySales .panelHead{gap:10px}.mgmtTodaySales .panelHead .input{max-width:138px;padding:8px 9px;font-size:12px}.mgmtTodayTotal{display:flex;align-items:end;justify-content:space-between;padding:13px 15px 6px}.mgmtTodayTotal span{color:#8a929b;font-size:12px;font-weight:700;text-transform:uppercase}.mgmtTodayTotal b{color:#30363d;font-size:27px;font-weight:680;letter-spacing:-.04em}.mgmtTodayPeople{padding:0 15px 13px}.mgmtTodayPeople>div{display:grid;grid-template-columns:22px 29px 1fr auto;gap:7px;align-items:center;padding:7px 0;border-top:1px solid #f0f2f4}.mgmtTodayPeople .avatar{width:29px;height:29px;font-size:12px}.mgmtTodayPeople>div>div b{display:block;color:#343a40;font-size:12px}.mgmtTodayPeople>div>div small{display:block;color:#949ca5;font-size:12px}.mgmtTodayPeople strong{color:#30363d;font-size:15px;font-weight:680}
.mgmtEmpty{padding:18px;color:#959da6;text-align:center;font-size:12px}
@media(max-width:1450px){.mgmtMetrics{grid-template-columns:repeat(4,minmax(0,1fr))}.mgmtActivityStrip{grid-template-columns:repeat(4,minmax(0,1fr))}.mgmtActivityStrip>div:nth-child(4){border-right:0}.mgmtActivityStrip>div:nth-child(n+5){border-top:1px solid #eef0f2}}
@media(max-width:1180px){.mgmtDashboardGrid{grid-template-columns:1fr}.mgmtSideStack{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmtLowerGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmtTodaySales{grid-column:1/-1}}
@media(max-width:760px){.managementDashboard{gap:10px}.managementHero{align-items:flex-start;flex-direction:column;padding:18px;border-radius:14px}.managementHero h2{font-size:22px}.mgmtPeriod,.mgmtPeriod select{width:100%;min-width:0}.mgmtMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mgmtMetric{padding:12px}.mgmtMetric>b{font-size:21px}.mgmtActivityStrip{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmtActivityStrip>div{border-top:1px solid #eef0f2}.mgmtActivityStrip>div:nth-child(-n+2){border-top:0}.mgmtActivityStrip>div:nth-child(even){border-right:0}.mgmtSideStack,.mgmtLowerGrid{grid-template-columns:1fr}.mgmtTodaySales{grid-column:auto}.mgmtTeamPanel .tableWrap{overflow:visible}.mgmtTeamTable,.mgmtTeamTable tbody,.mgmtTeamTable tr,.mgmtTeamTable td{display:block;min-width:0;width:100%}.mgmtTeamTable thead{display:none}.mgmtTeamTable tbody{display:grid;gap:8px;padding:10px}.mgmtTeamTable tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e9ecef;border-radius:12px;background:#fff;overflow:hidden}.mgmtTeamTable td{min-height:50px;padding:9px 10px;border:0;border-top:1px solid #f0f2f4}.mgmtTeamTable td:nth-child(1){grid-column:1/-1;border-top:0}.mgmtTeamTable td:nth-child(2){border-top:1px solid #f0f2f4}.mgmtTeamTable td:nth-child(even){border-right:1px solid #f0f2f4}.mgmtMember{min-width:0}.mgmtLastActive{max-width:none}.mgmtSideStack .panelHead,.mgmtLowerGrid .panelHead{padding:13px 14px}}

/* v1.9.31 — Daily Sales first + compact single-member Team Performance */
.mgmtDailyHero{overflow:hidden;border-color:#eadfd7;background:linear-gradient(135deg,#fff 0%,#fff9f4 100%);box-shadow:0 10px 28px rgba(29,33,37,.055)}
.mgmtDailyHeroHead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:19px 21px 15px;border-bottom:1px solid #f1e8e1}
.mgmtDailyHeroHead h2{margin:3px 0 4px;color:#272d33;font-size:25px;font-weight:700;letter-spacing:-.035em}
.mgmtDailyHeroHead p{margin:0;color:#7d8791;font-size:12px;line-height:1.5}
.mgmtDailyHeroTools{display:flex;align-items:flex-end;gap:10px}
.mgmtDailyHeroTools>label{display:flex;flex-direction:column;gap:5px;color:#8a929b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.mgmtDailyHeroTools .input{width:145px;padding:8px 10px;border-radius:9px;background:#fff;font-size:12px}
.mgmtDailyHeroTotal{min-width:112px;padding:9px 13px;border:1px solid #f1d8c6;border-radius:11px;background:#fff7f0;text-align:right}
.mgmtDailyHeroTotal span{display:block;color:#a16c48;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.mgmtDailyHeroTotal b{display:block;margin-top:2px;color:#e76a16;font-size:25px;font-weight:700;letter-spacing:-.04em}
.mgmtDailyLeaderboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
.mgmtDailyLeader{min-width:0;padding:11px 12px;border:1px solid #e8ebef;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(28,32,37,.025)}
.mgmtDailyLeader.leader{border-color:#f0c5a7;background:linear-gradient(135deg,#fffaf5 0%,#fff 100%)}
.mgmtDailyLeaderTop{display:grid;grid-template-columns:22px 30px minmax(0,1fr) auto;align-items:center;gap:7px}
.mgmtDailyRank{display:grid;width:22px;height:22px;place-items:center;border-radius:999px;background:#f2f4f6;color:#7e8790;font-size:12px;font-weight:700}
.mgmtDailyLeader.leader .mgmtDailyRank{background:#ff6b00;color:#fff}
.mgmtDailyLeader .avatar{width:30px;height:30px;font-size:12px}
.mgmtDailyLeaderName{min-width:0}.mgmtDailyLeaderName b{display:block;overflow:hidden;color:#333a41;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.mgmtDailyLeaderName small{display:block;margin-top:1px;color:#969ea7;font-size:12px}
.mgmtDailyLeader strong{color:#2f353b;font-size:19px;font-weight:700;text-align:right}.mgmtDailyLeader strong small{display:block;color:#9aa1a8;font-size:12px;font-weight:700;text-transform:uppercase}
.mgmtDailyServices{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;padding-left:59px}.mgmtDailyServices span{padding:4px 6px;border-radius:999px;background:#f6f7f8;color:#737d86;font-size:12px;font-weight:700}.mgmtDailyServices b{color:#d96319}
.mgmtDailyEmpty{grid-column:1/-1;padding:22px;text-align:center;color:#8d969f}.mgmtDailyEmpty b{display:block;color:#555e67;font-size:12px}.mgmtDailyEmpty span{display:block;margin-top:3px;font-size:12px}
.mgmtDailyDetails{border-top:1px solid #f0e8e2}.mgmtDailyDetails summary{cursor:pointer;padding:9px 16px;color:#6f7881;font-size:12px;font-weight:700}.mgmtDailyRecordList{padding:0 16px 12px}.mgmtDailyRecordList>div{display:grid;grid-template-columns:1.25fr 1fr 1.8fr .6fr;gap:10px;padding:7px 0;border-top:1px solid #f0f2f4;color:#7d858e;font-size:12px}.mgmtDailyRecordList b{color:#3e454c;font-size:12px}
.mgmtOverviewHero{padding:16px 20px}.mgmtOverviewHero h2{font-size:22px}.mgmtOverviewHero p{font-size:12px}
.mgmtPersonPanel{min-width:0;overflow:hidden}
.mgmtPersonHead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #edf0f2}.mgmtPersonHead h3{margin:0;color:#32383f;font-size:13px}.mgmtPersonHead small{display:block;margin-top:3px;color:#8c959e;font-size:12px}
.mgmtPersonSelect{display:flex;min-width:250px;flex-direction:column;gap:4px;color:#8a929b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.mgmtPersonSelect select{width:100%;border:1px solid #dfe4e8;border-radius:9px;padding:8px 10px;background:#fff;color:#333a41;font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;outline:none}
.mgmtPersonIdentity{display:flex;align-items:center;gap:9px;padding:13px 16px 9px}.mgmtPersonIdentity .avatar{width:38px;height:38px;flex:0 0 38px;font-size:12px}.mgmtPersonIdentity>div{min-width:0;flex:1}.mgmtPersonIdentity>div b{display:block;color:#30363c;font-size:12px;font-weight:700}.mgmtPersonIdentity>div small{display:block;margin-top:2px;color:#8c959e;font-size:12px}.mgmtPersonIdentity>.mgmtGenerated{margin-left:auto}
.mgmtPersonPrimary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0 16px 12px}.mgmtPersonPrimary>div{padding:10px 11px;border:1px solid #e9ecef;border-radius:10px;background:#fbfcfc}.mgmtPersonPrimary span{display:block;color:#858e97;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.mgmtPersonPrimary b{display:block;margin-top:3px;color:#343a40;font-size:18px;font-weight:700}.mgmtPersonPrimary small{display:block;margin-top:1px;color:#959da6;font-size:12px}.mgmtPersonPrimary .attention{border-color:#f0d5c3;background:#fffaf6}.mgmtPersonPrimary .attention b{color:#a75622}
.mgmtPersonDetailGrid{display:grid;grid-template-columns:1fr 1fr 1.15fr;border-top:1px solid #edf0f2}.mgmtPersonBlock{min-width:0;padding:12px 14px;border-right:1px solid #edf0f2}.mgmtPersonBlock:last-child{border-right:0}.mgmtPersonBlock h4{margin:0 0 8px;color:#69727b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.mgmtPersonChips{display:flex;flex-wrap:wrap;gap:5px}.mgmtPersonChips span{padding:5px 7px;border:1px solid #e8ebee;border-radius:999px;background:#fff;color:#7c858e;font-size:12px;font-weight:700}.mgmtPersonChips b{color:#353c43;font-size:12px}.mgmtPersonChips .bad{border-color:#f0d3d5;background:#fff8f8;color:#a34a51}.mgmtPersonChips .bad b{color:#a34a51}
.mgmtDashboardGrid{grid-template-columns:minmax(0,2.35fr) minmax(285px,.85fr)}
.mgmtSideStack{display:block}
.mgmtLowerGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1320px){.mgmtDailyLeaderboard{grid-template-columns:repeat(3,minmax(0,1fr))}.mgmtPersonPrimary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1020px){.mgmtDailyLeaderboard{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmtDashboardGrid{grid-template-columns:1fr}.mgmtPersonDetailGrid{grid-template-columns:1fr 1fr}.mgmtPersonBlock:last-child{grid-column:1/-1;border-top:1px solid #edf0f2}.mgmtPersonBlock:nth-child(2){border-right:0}}
@media(max-width:760px){.mgmtDailyHeroHead{align-items:stretch;flex-direction:column;padding:15px}.mgmtDailyHeroHead h2{font-size:22px}.mgmtDailyHeroTools{align-items:stretch}.mgmtDailyHeroTools>label{flex:1}.mgmtDailyHeroTools .input{width:100%}.mgmtDailyHeroTotal{min-width:92px}.mgmtDailyLeaderboard{grid-template-columns:1fr;padding:9px}.mgmtDailyServices{padding-left:59px}.mgmtDailyRecordList>div{grid-template-columns:1fr 1fr}.mgmtPersonHead{align-items:stretch;flex-direction:column}.mgmtPersonSelect{min-width:0;width:100%}.mgmtPersonPrimary{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 10px}.mgmtPersonIdentity{padding:12px}.mgmtPersonIdentity>.mgmtGenerated{display:none}.mgmtPersonDetailGrid{grid-template-columns:1fr}.mgmtPersonBlock,.mgmtPersonBlock:nth-child(2),.mgmtPersonBlock:last-child{grid-column:auto;border-right:0;border-top:1px solid #edf0f2}.mgmtPersonBlock:first-child{border-top:0}.mgmtLowerGrid{grid-template-columns:1fr}}


/* v1.9.32 — Last Contacted filter + scan-friendly contact recency */
.leadContactPicker{flex-basis:205px!important;width:205px!important;min-width:190px!important}
.leadContactTodayShortcut{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 14px;border:1px solid #dfe4e8;border-radius:11px;background:#fff;color:#5f6973;font:800 10px/1.1 inherit;cursor:pointer;white-space:nowrap;transition:.15s ease}
.leadContactTodayShortcut:hover{border-color:#efb58e;background:#fff8f3;color:#a84b11}.leadContactTodayShortcut.active{border-color:#b8dfca;background:#eff9f4;color:#176c48}.leadContactTodayShortcut span{font-size:12px}
.leadContactCustom{display:grid;grid-template-columns:142px 142px auto;align-items:end;gap:7px;min-width:0;padding:5px 6px;border:1px solid #e4e7ea;border-radius:11px;background:#fafbfc}
.leadContactCustom label{position:relative;display:block}.leadContactCustom label>span{position:absolute;left:11px;top:5px;z-index:1;color:#858d96;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.leadContactCustom input.input{width:100%;height:40px;min-height:40px;padding:16px 9px 4px;font-size:12px}.leadContactCustom .btn{min-height:40px;padding:8px 12px}
.leadLastContact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 7px;width:100%;min-height:34px;margin:7px 0 0;padding:6px 8px;border:1px solid #e6e9ec;border-radius:9px;background:#fafbfc}.leadLastContact small{grid-column:1/-1;color:#8a929a;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.leadLastContact b{overflow:hidden;color:#46505a;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.leadLastContact span{align-self:center;color:#7d8790;font-size:12px;white-space:nowrap}.leadLastContact.hasContact{border-color:#d9e7df;background:#f5faf7}.leadLastContact.hasContact b{color:#245f46}.leadLastContact.never{background:#fafafa;color:#8b9299}
.leadDirectoryListHead,.leadDirectoryRow{grid-template-columns:42px minmax(150px,1.25fr) minmax(145px,1.05fr) minmax(150px,1.15fr) minmax(170px,1.35fr) minmax(112px,.85fr) minmax(105px,.78fr) minmax(112px,.9fr) 58px}
.directoryLastContact{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:2px}.directoryLastContact small{color:#8a929a;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.directoryLastContact b{overflow:hidden;color:#36414b;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.directoryLastContact span{color:#78818a;font-size:12px}
@media(max-width:1180px){.leadContactPicker{flex:1 1 190px!important;width:auto!important}.leadContactCustom{grid-template-columns:1fr 1fr auto;flex:1 1 100%}.leadContactTodayShortcut{flex:0 0 auto}.leadDirectoryListHead,.leadDirectoryRow{grid-template-columns:36px minmax(150px,1.25fr) minmax(145px,1.1fr) minmax(150px,1.15fr) minmax(120px,.9fr) minmax(105px,.8fr) minmax(110px,.9fr) 58px}.leadDirectoryListHead>span:nth-child(4),.leadDirectoryRow>.directoryAddress{display:none}}
@media(max-width:860px){.leadDirectoryListHead{display:none}.leadDirectoryRow{grid-template-columns:34px minmax(0,1.4fr) minmax(0,1fr);gap:10px}.leadDirectoryRow>.directoryContact,.leadDirectoryRow>.directoryAddress,.leadDirectoryRow>.directoryOpportunity,.leadDirectoryRow>.directoryLastContact,.leadDirectoryRow>.directoryStageWrap,.leadDirectoryRow>.directorySubmitted,.leadDirectoryRow>.directoryOpen{grid-column:auto}.directoryLastContact{padding:7px 0}.leadContactCustom{grid-template-columns:1fr 1fr auto}}
@media(max-width:620px){.leadContactPicker{flex-basis:100%!important;width:100%!important}.leadContactTodayShortcut{width:100%;min-height:44px}.leadContactCustom{grid-template-columns:1fr 1fr;flex-basis:100%;width:100%}.leadContactCustom .btn{grid-column:1/-1;min-height:43px}.leadDirectoryRow{grid-template-columns:28px minmax(0,1fr)}.leadDirectoryRow>.directoryCustomer,.leadDirectoryRow>.directoryContact,.leadDirectoryRow>.directoryAddress,.leadDirectoryRow>.directoryOpportunity,.leadDirectoryRow>.directoryLastContact,.leadDirectoryRow>.directoryStageWrap,.leadDirectoryRow>.directorySubmitted,.leadDirectoryRow>.directoryOpen{grid-column:2}.directoryLastContact{display:grid;grid-template-columns:1fr auto;align-items:center;padding:8px 0;border-top:1px solid #eef0f2;border-bottom:1px solid #eef0f2}.directoryLastContact small{grid-column:1/-1}.directoryLastContact span{text-align:right}}
/* v1.9.32 directory placement refinements */
.leadDirectoryFilterPanel .leadContactPicker{grid-column:span 4}
.leadDirectoryFilterPanel .leadContactTodayShortcut{grid-column:span 3;min-width:0}
.leadDirectoryFilterPanel .leadContactCustom{grid-column:span 7}
@media(max-width:1040px){
  .leadDirectoryFilterPanel .leadContactPicker{grid-column:span 4}
  .leadDirectoryFilterPanel .leadContactTodayShortcut{grid-column:span 4}
  .leadDirectoryFilterPanel .leadContactCustom{grid-column:1/-1}
  .leadDirectoryRow{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"select customer stage" "select contact contact" "select location location" "select opportunity opportunity" "select lastcontact lastcontact" "select submitted open"}
  .leadDirectoryRow>.directoryAddress{display:grid}
  .directoryLastContact{grid-area:lastcontact;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding-top:7px;border-top:1px solid #eef1f3}
  .directoryLastContact small{grid-column:1/-1}
  .directoryLastContact span{text-align:right}
}
@media(max-width:760px){
  .leadDirectoryFilterPanel .leadContactPicker,.leadDirectoryFilterPanel .leadContactTodayShortcut,.leadDirectoryFilterPanel .leadContactCustom{grid-column:1/-1}
}
@media(max-width:520px){
  .leadDirectoryRow{grid-template-columns:30px minmax(0,1fr);grid-template-areas:"select customer" "stage stage" "contact contact" "location location" "opportunity opportunity" "lastcontact lastcontact" "submitted open"}
}

/* v1.9.33 — explicit sale credit / commission attribution */
.saleCreditField small{display:block;margin:4px 0 7px;color:#6b7280;font-weight:500;line-height:1.35}
.saleAttributionNotice{display:flex;flex-direction:column;gap:3px;margin:8px 0 12px;padding:10px 12px;border:1px solid #eadfd5;border-radius:12px;background:#fffaf6;color:#5f554d;font-size:12px;line-height:1.4}
.saleAttributionNotice b{color:#342d28;font-size:12px;font-weight:700}.saleAttributionNotice span{font-weight:500}
.saleServicesHelp{font-size:12px;color:#6b7280;margin:8px 0}.saleSellerPrompt{padding:14px;border:1px dashed #d8d4cf;border-radius:12px;background:#faf9f7;color:#6b625a;font-size:12px;text-align:center}
.saleCreditedSeller{display:inline-flex;flex-direction:column;gap:1px;margin:2px 0 10px;padding:8px 11px;border:1px solid #e8dfd6;border-radius:11px;background:#fffaf6;min-width:210px}
.saleCreditedSeller small{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#8a8178;font-weight:700}.saleCreditedSeller b{font-size:12px;color:#2d2925}.saleCreditedSeller span{font-size:12px;color:#766d65}
@media(max-width:640px){.saleCreditedSeller{display:flex;width:100%;box-sizing:border-box}.saleAttributionNotice{font-size:12px}}


/* v1.9.35 — Lead Reserve */
.reserveHero{align-items:center}.reserveHeroCount{min-width:190px;padding:16px 18px;border:1px solid var(--border,#e8e2dc);border-radius:16px;background:rgba(255,255,255,.76);box-shadow:0 8px 24px rgba(30,25,20,.05);display:grid;gap:3px}.reserveHeroCount span,.reserveHeroCount small{font-size:12px;color:#746d67}.reserveHeroCount b{font-size:28px;line-height:1}.reserveTabs{display:flex;gap:8px;overflow:auto;padding:12px 0 4px;scrollbar-width:thin}.reserveTabs button{border:1px solid #e4ddd6;background:#fff;border-radius:13px;padding:10px 13px;display:flex;gap:9px;align-items:center;white-space:nowrap;font:inherit;color:#4b4642;cursor:pointer}.reserveTabs button b{background:#f2eee9;border-radius:999px;padding:2px 7px;font-size:12px}.reserveTabs button.active{border-color:#e98d45;background:#fff7f0;color:#8a4210}.reserveTabs button.active b{background:#f4cda9}.reserveFilters{display:grid;grid-template-columns:minmax(270px,2fr) repeat(6,minmax(120px,1fr)) auto;gap:8px;margin:12px 0}.reserveFilters form{display:flex;gap:7px}.reserveFilters form input{min-width:0;flex:1}.reserveBulk{margin:12px 0;padding:12px 14px;border:1px solid #e8e1da;border-radius:14px;background:#fbfaf8;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.reserveBulk>div{margin-right:auto;display:grid}.reserveBulk small{color:#77706a;font-size:12px}.reserveList{display:grid;gap:9px}.reserveLeadCard{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid #e7e1da;border-radius:16px;background:#fff;box-shadow:0 4px 18px rgba(26,21,17,.04)}.reserveSelect{align-self:start;padding-top:5px}.reserveLeadMain{min-width:0}.reserveLeadTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.reserveLeadTop h3{margin:4px 0 1px;font-size:16px}.reserveLeadTop small{color:#817a73}.reserveBucket{display:inline-flex;width:max-content;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;letter-spacing:.02em;background:#f2eee9;color:#665f58}.reserveBucket.imported{background:#eef4ff;color:#355785}.reserveBucket.install_exception{background:#fff1e8;color:#9a4c15}.reserveStage{border-radius:999px;padding:5px 8px;background:#f6f3ef;color:#665f58;font-size:12px;font-weight:700}.reserveLeadFacts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:11px 0 9px}.reserveLeadFacts span,.reserveReasonLine>div{display:grid;gap:2px}.reserveLeadFacts small,.reserveReasonLine small,.reserveDrawerTouch small{font-size:12px;color:#89817a;text-transform:uppercase;letter-spacing:.03em}.reserveLeadFacts b,.reserveReasonLine b{font-size:12px;color:#38332f}.reserveReasonLine{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:9px;border-top:1px solid #f0ece8;padding-top:9px}.reserveReasonLine span,.reserveDrawerTouch span{font-size:12px;color:#77706a}.reserveLeadActions{display:flex;gap:7px;flex-direction:column}.reserveEmpty{padding:38px 20px;border:1px dashed #ddd3c9;border-radius:16px;background:#fdfcfb;text-align:center;display:grid;gap:5px}.reserveEmpty span{font-size:12px;color:#77706a}.reserveRecentRow{display:grid;grid-template-columns:140px minmax(0,1fr) 180px auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e7e1da;border-radius:14px;background:#fff}.reserveRecentRow>div{display:grid}.reserveRecentRow small{color:#817a73}.reserveMovement{font-size:12px;font-weight:700;border-radius:999px;padding:5px 8px;width:max-content;background:#fff0e4;color:#995019}.reserveMovement.out{background:#ebf7ef;color:#2f6d46}.reserveDrawerStatus{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}.reserveDrawerStatus>div{display:grid}.reserveDrawerStatus small{font-size:12px;color:#77706a}.reserveDrawerTouch{display:grid;gap:2px;padding:10px 12px;border:1px solid #eee7df;border-radius:12px;background:#fbfaf8;margin-bottom:10px}.reserveSaleWarning{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:#fff4ea;border:1px solid #f4d4ba;margin:9px 0}.reserveSaleWarning span{font-size:12px;color:#75553f}
@media(max-width:1100px){.reserveFilters{grid-template-columns:1fr 1fr 1fr}.reserveFilters form{grid-column:1/-1}.reserveLeadFacts{grid-template-columns:1fr 1fr}.reserveReasonLine{grid-template-columns:1fr 1fr}.reserveLeadCard{grid-template-columns:28px minmax(0,1fr)}.reserveLeadActions{grid-column:2;flex-direction:row}}
@media(max-width:700px){.reserveHero{display:grid;gap:12px}.reserveHeroCount{min-width:0}.reserveFilters{grid-template-columns:1fr 1fr}.reserveFilters form{grid-column:1/-1}.reserveFilters .btn{min-height:42px}.reserveBulk{align-items:stretch}.reserveBulk>div{width:100%}.reserveBulk select,.reserveBulk button{flex:1}.reserveLeadCard{grid-template-columns:24px minmax(0,1fr);padding:12px}.reserveLeadTop{display:grid}.reserveLeadFacts,.reserveReasonLine{grid-template-columns:1fr 1fr}.reserveLeadActions{grid-column:1/-1;flex-direction:row}.reserveLeadActions .btn{flex:1}.reserveRecentRow{grid-template-columns:1fr auto}.reserveRecentRow>span:last-of-type{grid-column:1}.reserveMovement{grid-column:1}.reserveRecentRow .btn{grid-column:2;grid-row:1/3}.reserveTabs{margin-right:-12px}.reserveFilters #reserveCity{grid-column:1/-1}}

/* v1.9.44 — scoped lead workspace; no board, login, modal or integration restyle. */
html.dotcrmLeadDrawerOpen,body.dotcrmLeadDrawerOpen{overflow:hidden!important;overscroll-behavior:none}
#drawerOv.leadDrawerV1944{overflow:hidden;align-items:stretch}
#drawerOv.leadDrawerV1944 .drawer{width:min(680px,100%);height:100%;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;color:#303840;background:#fff}
#drawerOv.leadDrawerV1944 [hidden]{display:none!important}
#drawerOv.leadDrawerV1944 .drawerHead{flex:0 0 auto;align-items:center;padding:17px 22px;gap:12px}
#drawerOv.leadDrawerV1944 .drawerHead h2{font-size:21px;font-weight:700;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
#drawerOv.leadDrawerV1944 .drawerHead>div:first-child>.badge{font-size:12px;padding:7px 10px}
#drawerOv.leadDrawerV1944 .drawerHead>div:first-child>small{font-size:12px;margin-top:4px}
#drawerOv.leadDrawerV1944 #closeDrawer{width:40px;height:40px;min-width:40px;flex-basis:40px;font-size:22px}
#drawerOv.leadDrawerV1944 .ldAtAGlance{flex:0 0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 22px;border-bottom:1px solid #edf0f3;background:#fbfcfd;font-size:12px}
#drawerOv.leadDrawerV1944 .ldAtAGlance button{font:inherit;border:0;border-radius:7px;min-height:30px;padding:4px 8px;cursor:pointer}
#drawerOv.leadDrawerV1944 .ldStage{display:flex;gap:8px;align-items:center;background:#fff1e5;color:#954515;font-weight:700!important}
#drawerOv.leadDrawerV1944 .ldSource{color:#687381;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .ldFollowup{margin-left:auto;color:#596572;background:transparent;text-align:left;max-width:100%;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .ldHighPriority{color:#a03943;font-size:12px;font-weight:700}
#drawerOv.leadDrawerV1944 .ldTabs{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;padding:9px 18px;border-bottom:1px solid #e9edf1;background:#fff}
#drawerOv.leadDrawerV1944 .ldTab{min-height:39px;border:0;border-radius:8px;background:transparent;color:#65717d;font-size:13px;font-weight:650;padding:8px}
#drawerOv.leadDrawerV1944 .ldTab[aria-selected=true]{color:#9c4209;background:#fff0e4}
#drawerOv.leadDrawerV1944 .ldTab:hover{background:#f5f7f9}
#drawerOv.leadDrawerV1944 .ldTab[aria-selected=true]:hover{background:#ffebdb}
#drawerOv.leadDrawerV1944 .drawerBody{flex:1 1 auto;min-height:0;height:auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bac2cc transparent;scrollbar-gutter:stable;padding:0 22px 16px}
#drawerOv.leadDrawerV1944 .ldPanel{min-width:0;outline:none}
#drawerOv.leadDrawerV1944 .ldPanel>.section{padding:17px 0;border:0;border-bottom:1px solid #edf0f3;border-radius:0;margin:0;background:#fff}
#drawerOv.leadDrawerV1944 .ldPanel>.section:last-child{border-bottom:0}
#drawerOv.leadDrawerV1944 .ldPanel h4{font-size:13px;font-weight:700;letter-spacing:0;text-transform:none;color:#313a45;margin:0 0 10px;line-height:1.4}
#drawerOv.leadDrawerV1944 .ldSectionHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
#drawerOv.leadDrawerV1944 .ldSectionHead h4{margin:0}
#drawerOv.leadDrawerV1944 .btn{min-height:36px;font-size:12px;padding:8px 11px;line-height:1.25;border-radius:8px;white-space:normal}
#drawerOv.leadDrawerV1944 .ldSectionHead .btn{min-height:32px;padding:6px 9px;font-size:12px}
#drawerOv.leadDrawerV1944 .ldContact{display:grid;grid-template-columns:.85fr 1.5fr;gap:12px;margin-bottom:13px}
#drawerOv.leadDrawerV1944 .ldContact>div{display:flex;flex-direction:column;min-width:0;gap:3px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .ldLabel{font-size:12px;font-weight:650;color:#74808d;line-height:1.4}
#drawerOv.leadDrawerV1944 .ldAddress{display:flex;flex-direction:column;gap:3px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .ldAddress b{font-weight:600}
#drawerOv.leadDrawerV1944 .communicationActions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0 0}
#drawerOv.leadDrawerV1944 .communicationActions .btn{min-height:38px;padding:8px 6px;font-size:12px}
#drawerOv.leadDrawerV1944 .ldQuickOutcomes{padding:0;margin:12px 0 0;border:0;background:transparent;border-radius:0;box-shadow:none}
#drawerOv.leadDrawerV1944 .quickCallOutcomeHead{margin-bottom:6px}
#drawerOv.leadDrawerV1944 .quickCallOutcomeHead span{font-size:12px}
#drawerOv.leadDrawerV1944 .quickCallOutcomeHead small{display:none}
#drawerOv.leadDrawerV1944 .quickCallOutcomeButtons{grid-template-columns:1fr 1fr;gap:7px}
#drawerOv.leadDrawerV1944 .quickCallOutcomeButtons .btn{min-height:34px;padding:6px 9px;font-size:12px}
#drawerOv.leadDrawerV1944 .ldServiceChips{display:flex;flex-wrap:wrap;gap:6px}
#drawerOv.leadDrawerV1944 .ldServiceChips .chip{font-size:12px;line-height:1.4;padding:6px 10px;background:#fff5ec;border-color:#f4d9c4;color:#8c4312;font-weight:600}
#drawerOv.leadDrawerV1944 .ldServiceEditor{margin:9px 0 0!important;border:0!important;background:transparent!important;border-radius:0!important}
#drawerOv.leadDrawerV1944 .ldServiceEditor>summary{padding:4px 0;min-height:28px;color:#64717f}
#drawerOv.leadDrawerV1944 .ldServiceEditor>summary b{font-size:12px;font-weight:650;color:#64717f}
#drawerOv.leadDrawerV1944 .ldServiceEditor .interestBox{border:1px solid #e6eaef;background:#fafbfc;padding:12px;margin-top:6px}
#drawerOv.leadDrawerV1944 .interestGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#drawerOv.leadDrawerV1944 .check{padding:9px;font-size:12px;min-height:41px;gap:8px}
#drawerOv.leadDrawerV1944 .check input{width:17px;height:17px;flex:0 0 17px}
#drawerOv.leadDrawerV1944 .ldNotes>h4{display:flex;align-items:center;gap:8px}
#drawerOv.leadDrawerV1944 .ldCount{background:#eef1f4;color:#687482;border-radius:6px;font-size:12px;min-width:23px;text-align:center;padding:2px 6px}
#drawerOv.leadDrawerV1944 .ldNotes>h4>small{margin-left:auto;font-size:12px;font-weight:500;color:#7a8590}
#drawerOv.leadDrawerV1944 .leadNoteRow{display:flex;align-items:flex-start;flex-direction:row;gap:10px;margin:0 0 8px!important;padding:11px 12px!important;border:1px solid #e7ecf0;background:#fafbfc;border-radius:10px}
#drawerOv.leadDrawerV1944 .leadNoteBody{flex:1;min-width:0}
#drawerOv.leadDrawerV1944 .leadNoteBody>p{font-size:13px;line-height:1.55;margin:0 0 7px;color:#424d59;white-space:pre-wrap;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .leadNoteMeta{font-size:12px!important;line-height:1.4;display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#7a8590}
#drawerOv.leadDrawerV1944 .leadNoteMeta>b{font-size:12px;color:#66717c;font-weight:650}
#drawerOv.leadDrawerV1944 .leadNoteRow>.editNote{flex:0 0 auto;min-height:30px;padding:5px 8px;font-size:12px;background:#fff;border-color:#e4e9ee}
#drawerOv.leadDrawerV1944 .ldNoteComposer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;margin-top:10px}
#drawerOv.leadDrawerV1944 .ldNoteComposer .field{margin:0;font-size:12px;min-width:0}
#drawerOv.leadDrawerV1944 #note{min-height:68px;height:68px;width:100%;padding:10px;font-size:13px;line-height:1.45;resize:vertical}
#drawerOv.leadDrawerV1944 .ldNoteComposer>.btn{margin-bottom:0;min-height:38px}
#drawerOv.leadDrawerV1944 .ldDisclosure{margin:12px 0;border:1px solid #e4e9ef;border-radius:11px;background:#fff;overflow:clip}
#drawerOv.leadDrawerV1944 .ldDisclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:14px;min-height:52px;color:#394450}
#drawerOv.leadDrawerV1944 .ldDisclosure>summary::-webkit-details-marker{display:none}
#drawerOv.leadDrawerV1944 .ldDisclosure>summary>span:first-child{display:grid;gap:4px;min-width:0}
#drawerOv.leadDrawerV1944 .ldDisclosure>summary b{font-size:13px;font-weight:650;line-height:1.4}
#drawerOv.leadDrawerV1944 .ldDisclosure>summary small{font-size:12px;color:#7a8591;line-height:1.45;overflow-wrap:anywhere}
#drawerOv.leadDrawerV1944 .ldChevron{font-size:23px;color:#8a96a3;transition:transform .15s;line-height:1;flex:0 0 auto}
#drawerOv.leadDrawerV1944 .ldDisclosure[open]>summary{background:#f9fafc;border-bottom:1px solid #e9edf2}
#drawerOv.leadDrawerV1944 .ldDisclosure[open]>summary>.ldChevron{transform:rotate(90deg)}
#drawerOv.leadDrawerV1944 .ldDisclosure>.section,#drawerOv.leadDrawerV1944 .ldDisclosure>form,#drawerOv.leadDrawerV1944 .ldDisclosure>.dcmsHandoff{padding:14px!important;margin:0;border:0;border-radius:0;background:#fff}
#drawerOv.leadDrawerV1944 .ldDisclosure>.section+.section{border-top:1px solid #edf0f3}
#drawerOv.leadDrawerV1944 .ldOlderNotes{border:0;margin:5px 0 9px;border-radius:0}
#drawerOv.leadDrawerV1944 .ldOlderNotes>summary{padding:5px 0;min-height:34px}
#drawerOv.leadDrawerV1944 .ldOlderNotes>summary b{font-size:12px;color:#657280}
#drawerOv.leadDrawerV1944 .ldOlderNotes[open]>summary{background:#fff;border:0}
#drawerOv.leadDrawerV1944 .ldOlderNotes>.leadNoteRow{margin-top:8px!important}
#drawerOv.leadDrawerV1944 .ldDangerDisclosure{border-color:#ecd4d8}
#drawerOv.leadDrawerV1944 .ldDangerDisclosure>summary b{color:#a94552}
#drawerOv.leadDrawerV1944 .ldDangerDisclosure[open]>summary{background:#fff8f8;border-color:#f1dfe2}
#drawerOv.leadDrawerV1944 .field{font-size:12px;margin:10px 0}
#drawerOv.leadDrawerV1944 .field input,#drawerOv.leadDrawerV1944 .field select,#drawerOv.leadDrawerV1944 .field textarea{font-size:13px;min-width:0;max-width:100%;padding:10px}
#drawerOv.leadDrawerV1944 .formGrid,#drawerOv.leadDrawerV1944 .lineGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
#drawerOv.leadDrawerV1944 .responseFacts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#drawerOv.leadDrawerV1944 .responseFacts small{font-size:12px}
#drawerOv.leadDrawerV1944 .responseFacts b{font-size:12px}
#drawerOv.leadDrawerV1944 .leadQuotePanel{background:#fff!important;border-color:#edf0f3!important}
#drawerOv.leadDrawerV1944 .leadQuoteHead{display:flex;flex-direction:row;align-items:center;gap:10px}
#drawerOv.leadDrawerV1944 .leadQuoteHead>div>span{font-size:12px;color:#7a8590}
#drawerOv.leadDrawerV1944 .leadQuoteHead h4{margin:3px 0 0;font-size:17px}
#drawerOv.leadDrawerV1944 .leadQuoteHead>.btn{width:auto;font-size:12px}
#drawerOv.leadDrawerV1944 .leadQuoteRows{margin-top:12px}
#drawerOv.leadDrawerV1944 .quoteHistoryMain>b{font-size:14px}
#drawerOv.leadDrawerV1944 .quoteHistoryMain>small,#drawerOv.leadDrawerV1944 .quoteDeliveryNote{font-size:12px;line-height:1.5}
#drawerOv.leadDrawerV1944 .quoteTotals small{font-size:12px}
#drawerOv.leadDrawerV1944 .quoteTotals b{font-size:13px}
#drawerOv.leadDrawerV1944 .ldEmpty,#drawerOv.leadDrawerV1944 .ldMuted{font-size:13px;color:#7a8590;line-height:1.5}
#drawerOv.leadDrawerV1944 .leadOfficeSharingBanner{margin:12px 0 0;padding:10px 12px}
#drawerOv.leadDrawerV1944 .leadOfficeSharingBanner b{font-size:12px}
#drawerOv.leadDrawerV1944 .leadOfficeSharingBanner p{font-size:12px;line-height:1.45;margin:3px 0 0}
#drawerOv.leadDrawerV1944 .metaLeadWarning{padding:9px 11px;margin:11px 0 0;font-size:12px;line-height:1.5}
#drawerOv.leadDrawerV1944 .leadPresenceNotice{position:static;margin:10px 0 0;font-size:12px}
#drawerOv.leadDrawerV1944 .ldSaleShortcut{display:block;width:100%;border:1px solid #ead9ca;border-radius:9px;padding:11px;margin-top:10px;background:#fff8f2;color:#94501e;font-size:12px;font-weight:650;text-align:left}
#drawerOv.leadDrawerV1944 .drawerActions{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 22px calc(11px + env(safe-area-inset-bottom));box-shadow:none}
#drawerOv.leadDrawerV1944 .drawerActions>*{flex:none}
#drawerOv.leadDrawerV1944 .ldFooterHint{font-size:12px;color:#84909d;max-width:70%}
#drawerOv.leadDrawerV1944 #closeDrawer2{min-width:90px}
#drawerOv.leadDrawerV1944 :is(button,summary,a,input,select,textarea):focus-visible{outline:2px solid #c45b1d;outline-offset:3px}
@media(max-width:520px){
 #drawerOv.leadDrawerV1944 .drawerHead{padding:14px 15px}
 #drawerOv.leadDrawerV1944 .drawerHead h2{font-size:19px}
 #drawerOv.leadDrawerV1944 .ldAtAGlance{padding:8px 15px;font-size:12px;gap:6px}
 #drawerOv.leadDrawerV1944 .ldTabs{padding:7px 11px;gap:3px}
 #drawerOv.leadDrawerV1944 .ldTab{font-size:12px;min-height:40px;padding:8px 4px}
 #drawerOv.leadDrawerV1944 .drawerBody{padding:0 15px 14px}
 #drawerOv.leadDrawerV1944 .ldContact{grid-template-columns:1fr;gap:9px}
 #drawerOv.leadDrawerV1944 .communicationActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #drawerOv.leadDrawerV1944 .communicationActions .btn{min-height:40px}
 #drawerOv.leadDrawerV1944 .quickCallOutcomeButtons .btn{font-size:12px;min-height:40px}
 #drawerOv.leadDrawerV1944 .interestGrid{grid-template-columns:1fr}
 #drawerOv.leadDrawerV1944 .ldNoteComposer{grid-template-columns:1fr}
 #drawerOv.leadDrawerV1944 .ldNoteComposer>.btn{justify-self:end}
 #drawerOv.leadDrawerV1944 .leadNoteRow{gap:8px;padding:10px!important}
 #drawerOv.leadDrawerV1944 .leadNoteBody>p{font-size:13px}
 #drawerOv.leadDrawerV1944 .leadNoteRow>.editNote{min-width:39px;max-width:62px;min-height:36px;font-size:12px}
 #drawerOv.leadDrawerV1944 .formGrid,#drawerOv.leadDrawerV1944 .lineGrid{grid-template-columns:1fr}
 #drawerOv.leadDrawerV1944 .responseFacts{grid-template-columns:1fr}
 #drawerOv.leadDrawerV1944 .field input,#drawerOv.leadDrawerV1944 .field select,#drawerOv.leadDrawerV1944 .field textarea{font-size:16px}
 #drawerOv.leadDrawerV1944 .drawerActions{padding:10px 15px calc(10px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){#drawerOv.leadDrawerV1944 .ldChevron{transition:none}}

#drawerOv.leadDrawerV1944 .ldServiceEditor>summary{padding:4px 0;min-height:28px}
#drawerOv.leadDrawerV1944 .ldServiceEditor>summary b{font-size:12px;font-weight:650;color:#64717f}
#drawerOv.leadDrawerV1944 .ldServiceEditor[open]>summary{background:transparent;border:0}

/* Place the selected services in one compact row; open the checklist only to edit. */
#drawerOv.leadDrawerV1944 .ldCustomerFacts{display:grid;grid-template-columns:1fr 1.05fr;gap:20px}
#drawerOv.leadDrawerV1944 .ldCustomerFacts .ldContact{display:flex;flex-direction:column;gap:9px;margin:0;min-width:0}
#drawerOv.leadDrawerV1944 .ldCustomerFacts .ldAddress{justify-content:flex-start}
#drawerOv.leadDrawerV1944 .ldServices{padding:12px 0!important}
#drawerOv.leadDrawerV1944 .ldServices .ldServiceEditor{margin:0!important}
#drawerOv.leadDrawerV1944 .ldServices .ldServiceEditor>summary{padding:2px 0;min-height:34px}
#drawerOv.leadDrawerV1944 .ldServices .ldServiceEditor>summary>.ldServiceSummary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
#drawerOv.leadDrawerV1944 .ldServices .ldServiceEditor>summary b{font-size:13px;color:#313a45}
#drawerOv.leadDrawerV1944 .ldServiceEditHint{display:flex;align-items:center;gap:8px;font-size:12px;color:#667483;flex-shrink:0}
#drawerOv.leadDrawerV1944 .ldServiceEditor[open]>summary .ldServiceEditHint .ldChevron{transform:rotate(90deg)}
#drawerOv.leadDrawerV1944 .ldNoteShortcut{color:#7f431d;background:#fff7f1;border-color:#f1d7c4}
@media(max-width:520px){#drawerOv.leadDrawerV1944 .ldCustomerFacts{grid-template-columns:1fr;gap:12px}#drawerOv.leadDrawerV1944 .ldCustomerFacts .ldContact{display:grid;grid-template-columns:1fr;gap:9px}}

/* v1.9.45 — All Leads owns its layout; old directory grid breakpoints do not
 * set its column widths. Content adapts to the workspace, not only the viewport. */
.page.allLeadsFit{width:100%;max-width:none;min-width:0;margin:0;padding:16px 18px;container:all-leads / inline-size}
.allLeadsFit .alPageHead{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-bottom:12px}
.allLeadsFit .alPageHead>div{min-width:0}
.allLeadsFit .alPageHead .eyebrow{font-size:12px;letter-spacing:.09em}
.allLeadsFit .alPageHead h2{font-size:22px;line-height:1.2;margin:3px 0 4px;overflow-wrap:anywhere;color:#2d3339}
.allLeadsFit .alPageHead p{margin:0;font-size:12px;color:#74808c}
.allLeadsFit .alPageHead p>span{padding:0 5px}
.allLeadsFit .alExpandView{flex:0 0 auto;min-height:36px;font-size:12px;padding:8px 12px;border:1px solid #dbe1e7}
.allLeadsFit .alExpandView[aria-pressed=true]{background:#fff4eb;border-color:#efc4a5;color:#994313}
.allLeadsFit .alFilters{padding:11px 12px;margin-bottom:10px;border:1px solid #e1e6eb;border-radius:12px;background:#fff}
.allLeadsFit .alPrimaryFilters{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);align-items:end;gap:9px}
.allLeadsFit .alPrimaryFilters.alNoScope{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.allLeadsFit .alPrimaryFilters.alNoScope.alNoBoard{grid-template-columns:minmax(0,1fr)}
.allLeadsFit .leadSearchForm{display:flex;min-width:0;width:100%;gap:6px;margin:0;order:0}
.allLeadsFit .leadSearchForm .input{flex:1 1 0;width:0;min-width:0}
.allLeadsFit .leadSearchForm .btn{flex:0 0 auto;width:auto;min-width:0;white-space:nowrap}
.allLeadsFit .alFilters .btn,.allLeadsFit .alFilters .input{min-height:39px;height:39px;font-size:12px;padding:8px 10px;border-radius:8px}
.allLeadsFit .alFilters label.leadControlSelect{display:flex;flex-direction:column;gap:3px;position:relative;width:auto!important;min-width:0!important;height:auto;flex-basis:auto!important;padding:0;margin:0;border:0;background:transparent;box-shadow:none}
.allLeadsFit .alFilters label.leadControlSelect>span{position:static;display:block;padding:0;font-size:12px;line-height:1.25;font-weight:650;letter-spacing:.035em;color:#75808b}
.allLeadsFit .alFilters label.leadControlSelect select{width:100%;max-width:100%;min-width:0!important;padding:8px 28px 8px 10px}
.allLeadsFit .alFilterDisclosure{margin-top:8px}
.allLeadsFit .alFilterDisclosure>summary{display:flex;align-items:center;gap:6px;width:fit-content;max-width:100%;padding:4px 0;min-height:30px;list-style:none;font-size:12px;color:#596471;font-weight:650;cursor:pointer}
.allLeadsFit .alFilterDisclosure>summary::-webkit-details-marker{display:none}
.allLeadsFit .alFilterDisclosure[open]>summary .alDisclosureArrow{transform:rotate(180deg)}
.allLeadsFit .alFilterActive{padding:2px 5px;border-radius:5px;color:#9d480e;background:#fff2e8;font-size:12px}
.allLeadsFit .alFilterGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:end;padding:8px 0 3px}
.allLeadsFit .alFilterGrid>*{min-width:0;max-width:100%}
.allLeadsFit .alFilterGrid #leadStageFilter{display:block}
.allLeadsFit .alFilterGrid .leadContactTodayShortcut{min-width:0;min-height:39px;height:39px;padding:7px 9px;font-size:12px;border-radius:8px}
.allLeadsFit .alFilterGrid .leadContactCustom{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
.allLeadsFit .alFilterGrid .leadContactCustom input{padding:16px 8px 3px}
.allLeadsFit .leadDirectoryStageStrip{display:flex;flex-wrap:wrap;margin-top:5px;padding-top:8px;gap:5px}
.allLeadsFit .leadDirectoryStageFilter{min-height:29px;font-size:12px;padding:4px 7px}
.allLeadsFit .leadDirectoryStageFilter b{font-size:12px;min-width:18px;height:18px}
.allLeadsFit .alList{width:100%;min-width:0;border:1px solid #e2e7ec;border-radius:12px;background:#fff}
.allLeadsFit .alListHead,.allLeadsFit .alRowGrid{display:grid;grid-template-columns:26px minmax(0,1.42fr) minmax(0,1.14fr) minmax(0,1.02fr) minmax(0,.92fr) 98px;align-items:center;gap:12px;padding:10px 13px;min-width:0}
.allLeadsFit .alListHead{min-height:35px;padding-block:8px;border-radius:12px 12px 0 0;background:#f7f9fb;border-bottom:1px solid #e5eaef;color:#77828e;font-size:12px;line-height:1.25;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.allLeadsFit .alListHead>span:last-child{text-align:center}
.allLeadsFit .leadDirectoryRow.alListRow{display:block;min-width:0;min-height:0;padding:0;gap:0;border:0;border-bottom:1px solid #e8edf1;border-radius:0;box-shadow:none;background:#fff;position:relative}
.allLeadsFit .alListRow:last-child{border-bottom:0;border-radius:0 0 12px 12px}
.allLeadsFit .alListRow:hover{background:#fffdfb;box-shadow:inset 3px 0 #f2a06b}
.allLeadsFit .alRowGrid{min-height:88px}
.allLeadsFit .alRowGrid>*{min-width:0;max-width:100%}
.allLeadsFit .alSelect{display:flex;align-items:center;justify-content:center}
.allLeadsFit .alSelect .leadBulkCheck{position:relative;inset:auto;margin:0;padding:0;width:26px;min-height:30px;display:flex;justify-content:center;align-items:center}
.allLeadsFit .alSelect .leadBulkCheck em{display:none}
.allLeadsFit .alSelect .leadBulkCheck>span{width:19px;height:19px;border-radius:5px;box-shadow:none}
.allLeadsFit .alPerson,.allLeadsFit .alAddress,.allLeadsFit .alServices,.allLeadsFit .alStatus{display:flex;flex-direction:column;gap:4px;min-width:0}
.allLeadsFit .alCustomerName{display:block;align-self:flex-start;max-width:100%;padding:0;border:0;border-radius:3px;background:none;text-align:left;white-space:normal;overflow-wrap:anywhere;color:#283541;font-family:inherit;font-size:13px;font-weight:700;line-height:1.35;cursor:pointer}
.allLeadsFit .alCustomerName:hover{color:#b44e13;text-decoration:underline}
.allLeadsFit .alIdentity{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:12px;line-height:1.3;color:#75818c}
.allLeadsFit .alIdentity .leadSharingPill{max-width:100%;padding:2px 5px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alContact{display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:1.4;color:#52616e}
.allLeadsFit .alContact span{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.allLeadsFit .alContact span+span{font-size:12px;color:#72808c}
.allLeadsFit .alPerson .leadCompactFlags{display:flex;flex-wrap:wrap;margin:0;gap:3px}
.allLeadsFit .alPerson .leadCompactFlags:empty{display:none}
.allLeadsFit .alPerson .leadCompactFlags span{max-width:100%;padding:2px 4px;font-size:12px;overflow-wrap:anywhere;white-space:normal}
.allLeadsFit .alAddress b{font-size:12px;line-height:1.4;font-weight:600;color:#465460;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alAddress>span{font-size:12px;line-height:1.5;color:#72808c;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alServiceName{display:block;align-self:flex-start;max-width:100%;padding:4px 7px;border:1px solid #e2e6eb;border-radius:6px;background:#f7f9fb;color:#4f5b67;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
.allLeadsFit .alMoreServices{align-self:flex-start;max-width:100%;border:0;background:none;padding:2px 0;color:#a84c16;font-family:inherit;font-size:12px;line-height:1.4;white-space:normal;text-align:left;cursor:pointer}
.allLeadsFit .alStatus{align-items:flex-start;gap:4px}
.allLeadsFit .alStatus .leadDirectoryStage{font-size:12px;padding:4px 7px;min-height:24px;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alSource{font-size:12px;line-height:1.4;color:#73818d;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alContactRecency{display:flex;flex-direction:column;max-width:100%;font-size:12px;line-height:1.4;color:#697783;overflow-wrap:anywhere}
.allLeadsFit .alContactRecency small{font-size:12px;color:#8b96a0}
.allLeadsFit .alActions{display:flex;flex-direction:column;gap:5px;align-items:stretch;width:98px}
.allLeadsFit .alOpenButton{display:inline-flex;justify-content:center;align-items:center;gap:6px;width:100%;min-width:0;min-height:36px;padding:7px 8px;border:1px solid #efcdb6;border-radius:8px;background:#fff8f2;color:#a94e18;font:inherit;font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap;cursor:pointer}
.allLeadsFit .alOpenButton:hover{border-color:#e99c67;background:#ffefe2}
.allLeadsFit .alDetailsButton{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-height:28px;padding:3px 1px;border:0;border-radius:5px;background:none;color:#74818c;font:inherit;font-size:12px;line-height:1.4;white-space:nowrap;cursor:pointer}
.allLeadsFit .alDetailsButton:hover{color:#354555;background:#f4f6f8}
.allLeadsFit .alRowExtra[hidden]{display:none!important}
.allLeadsFit .alRowExtra{margin:0 13px 10px 51px;padding:11px 12px;border:1px solid #e4e9ee;border-radius:8px;background:#f8fafc}
.allLeadsFit .alExtraGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0}
.allLeadsFit .alExtraFact{min-width:0}
.allLeadsFit .alExtraFact dt{margin:0 0 3px;color:#788591;font-size:12px;font-weight:650}
.allLeadsFit .alExtraFact dd{margin:0;color:#495967;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alAllServices{padding-top:9px;margin-top:9px;border-top:1px solid #e5eaef;font-size:12px;color:#697885}
.allLeadsFit .alAllServices>b{display:block;margin-bottom:5px;font-size:12px;color:#788591}
.allLeadsFit .alAllServices>div{display:flex;flex-wrap:wrap;gap:5px}
.allLeadsFit .alAllServices .chip{margin:0;max-width:100%;font-size:12px;padding:3px 6px;white-space:normal;overflow-wrap:anywhere}
.allLeadsFit .alMobileLabel{display:none}
.allLeadsFit .bulkActionBar{flex-wrap:wrap;gap:7px;padding:9px 10px;border-radius:10px;min-width:0}
.allLeadsFit .bulkActionBar>small{display:none}
.allLeadsFit .bulkActionBar .bulkActionButtons{display:flex;flex-wrap:wrap;min-width:0;gap:6px}
.allLeadsFit .bulkActionBar .btn{min-height:33px;font-size:12px;padding:7px 9px}
.allLeadsFit .leadPager{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;padding:10px 12px;border-radius:10px;font-size:12px}
.allLeadsFit .leadPagerButtons{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;min-width:0;max-width:100%}
.allLeadsFit .leadPagerButtons .btn{min-height:33px;padding:6px 9px;font-size:12px}
@media(min-width:981px){.shell.crmAllLeadsExpanded>.sidebar{display:none}.shell.crmAllLeadsExpanded>.main{margin-left:0}.shell.crmAllLeadsExpanded .alExpandView{display:inline-flex}}
@media(max-width:980px){.allLeadsFit .alExpandView{display:none}.page.allLeadsFit{padding:12px}}
@container all-leads (max-width:950px){
 .allLeadsFit .alListHead{display:none}
 .allLeadsFit .alRowGrid{grid-template-columns:24px minmax(0,1.18fr) minmax(0,1fr) 98px;grid-template-areas:"select person status actions" "select address services actions";gap:9px 12px;align-items:start;min-height:0;padding:12px}
 .allLeadsFit .alSelect{grid-area:select}.allLeadsFit .alPerson{grid-area:person}.allLeadsFit .alAddress{grid-area:address}.allLeadsFit .alServices{grid-area:services}.allLeadsFit .alStatus{grid-area:status}.allLeadsFit .alActions{grid-area:actions;align-self:center}
 .allLeadsFit .alMobileLabel{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#87939f;font-weight:700}
 .allLeadsFit .alAddress,.allLeadsFit .alServices{border-top:1px solid #edf0f3;padding-top:7px}
 .allLeadsFit .alPrimaryFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .allLeadsFit .alPrimaryFilters .leadSearchForm{grid-column:1/-1}
 .allLeadsFit .alPrimaryFilters.alNoScope .boardPicker{grid-column:1/-1}
}
@container all-leads (max-width:590px){
 .allLeadsFit .alRowGrid{grid-template-columns:22px minmax(0,1fr) 98px;grid-template-areas:"select person actions" "select address address" "select services services" "select status status";gap:9px 10px;padding:11px}
 .allLeadsFit .alActions{align-self:start}
 .allLeadsFit .alStatus{flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px 8px;padding-top:7px;border-top:1px solid #edf0f3}
 .allLeadsFit .alContactRecency{flex:1 1 135px;display:block}.allLeadsFit .alContactRecency small{display:inline;margin-right:4px}
 .allLeadsFit .alExtraGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .allLeadsFit .alRowExtra{margin-left:43px;margin-right:11px;padding:9px}
 .allLeadsFit .alFilterGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .allLeadsFit .alPageHead h2{font-size:20px}
}
@container all-leads (max-width:390px){
 .allLeadsFit .alRowGrid{grid-template-columns:20px minmax(0,1fr);grid-template-areas:"select person" "select address" "select services" "select status" "actions actions";gap:9px}
 .allLeadsFit .alActions{width:100%;flex-direction:row;align-items:center;justify-content:flex-end;border-top:1px solid #edf0f3;padding-top:8px}
 .allLeadsFit .alOpenButton{width:auto;flex:1;min-height:40px}
 .allLeadsFit .alDetailsButton{min-height:40px;flex:1}
 .allLeadsFit .alPrimaryFilters{grid-template-columns:minmax(0,1fr)}
 .allLeadsFit .alRowExtra{margin-left:11px}
 .allLeadsFit .alExtraGrid{grid-template-columns:minmax(0,1fr)}
 .allLeadsFit .alFilterGrid .leadContactCustom{grid-template-columns:minmax(0,1fr)}
 .allLeadsFit .alFilterGrid .leadContactTodayShortcut{white-space:normal;height:auto}
}

/* v1.9.46 — responsive payroll, approval actions and provider references. */
.page.payrollPage{container:payroll / inline-size;min-width:0;max-width:100%;padding:18px 22px 28px}
.payrollPage *{box-sizing:border-box}
.payrollPage .panel{min-width:0;max-width:100%;overflow:visible}
.payrollPage .pyPageHead{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:12px}
.payrollPage .pyPageHead>div{min-width:0}.payrollPage .pyPageHead h2{font-size:25px;line-height:1.2;margin:6px 0;color:#27343f;font-weight:680}
.payrollPage .pyPageHead p{font-size:12px;line-height:1.5;color:#72808c;margin:0}
.payrollPage .pyPageHead .btn{font-size:12px;white-space:normal;min-height:38px;flex:0 0 auto}
.payrollPage .pyPolicy{font-size:12px;color:#667786;line-height:1.6;border:1px solid #e4e9ee;border-radius:9px;background:#fafcfd;padding:9px 12px;margin:0 0 14px}
.payrollPage .pyPolicy summary{font-weight:650;cursor:pointer}.payrollPage .pyPolicy p{margin:7px 0 0}
.payrollPage .pyFilterHead{padding:13px 15px;border-bottom:0}.payrollPage .panelHead h3{font-size:15px;font-weight:660;margin:0 0 3px}.payrollPage .panelHead small{font-size:12px;color:#7a8792}
.payrollPage .pyFilters{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.65fr) minmax(0,.85fr);gap:10px;padding:0 15px 14px;border-bottom:1px solid #e8edf1;min-width:0}
.payrollPage .pyFilters>label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#76838e;min-width:0;max-width:100%}
.payrollPage .pyFilters input,.payrollPage .pyFilters select{font-size:12px;min-width:0!important;width:100%;max-width:100%;min-height:38px;padding:8px 10px;color:#425362;background:#fff}
.payrollPage .pySearch>div{display:flex;gap:6px;min-width:0}.payrollPage .pySearch input{flex:1 1 0;width:0}.payrollPage .pySearch .btn{font-size:12px;padding:8px 10px;min-height:38px;flex:0 0 auto}
.payrollPage .pySummaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 15px 10px}
.payrollPage .pySummary{display:flex;flex-direction:column;gap:4px;border:1px solid #e3e8ed;background:#f9fbfc;border-radius:9px;padding:11px 12px;min-width:0}
.payrollPage .pySummary>span{font-size:12px;font-weight:650;color:#768490}.payrollPage .pySummary>b{font-size:21px;font-weight:700;color:#324451;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.payrollPage .pySummary>small{font-size:12px;line-height:1.4;color:#7a8894}.payrollPage .pySummary.pending{background:#fffcf4;border-color:#eee4c8}.payrollPage .pySummary.approved{background:#f3f8fd;border-color:#dfe8f1}.payrollPage .pySummary.paid{background:#f3faf6;border-color:#ddece2}
.payrollPage .pyMissingNotice{margin:0 15px 10px;padding:9px 11px;border:1px solid #eed1b9;background:#fff8f1;border-radius:8px;font-size:12px;line-height:1.6;color:#99571f;overflow-wrap:anywhere}
.payrollPage .pyListHeading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;margin:0;padding:6px 15px 12px;font-size:12px;color:#5f7381}.payrollPage .pyListHeading small{font-size:12px;color:#8b97a1}
.payrollPage .pyColumns,.payrollPage .pyRowGrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,.82fr) minmax(0,1.03fr) minmax(0,.86fr) minmax(0,1.32fr);gap:14px;padding:13px 15px;align-items:center;min-width:0;max-width:100%}
.payrollPage .pyColumns{padding-top:9px;padding-bottom:9px;background:#f7f9fb;border-top:1px solid #e8edf2;border-bottom:1px solid #e8edf2;font-size:12px;font-weight:700;color:#81909d;text-transform:uppercase;letter-spacing:.045em}
.payrollPage .pyRow{min-width:0;max-width:100%;border-bottom:1px solid #e8edf2}.payrollPage .pyRow:last-child{border-bottom:0}
.payrollPage .pyRowGrid>div{display:flex;flex-direction:column;gap:5px;min-width:0;max-width:100%;align-items:flex-start;overflow-wrap:anywhere}
.payrollPage .pyRowGrid small{font-size:12px;line-height:1.4;color:#7b8893}.payrollPage .pyCustomer{display:block;text-align:left;font-size:13px;color:#283e4f;font-weight:700;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:100%;border:0;background:none;margin:0;padding:0}
.payrollPage button.pyCustomer:hover{color:#ab511d;text-decoration:underline}.payrollPage .pyService{font-size:12px;font-weight:600;color:#536877;line-height:1.45}.payrollPage .pyService small{color:#85939e}
.payrollPage .payrollPeriod{font-size:12px;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:5px 7px}.payrollPage .pyProvider b{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.payrollPage .pyReferenceMissing{color:#a65323;font-size:12px;font-weight:650;line-height:1.5}.payrollPage .pyOptional,.payrollPage .pyReadOnly{font-size:12px;color:#8b98a3;line-height:1.5}
.payrollPage .pyAmount strong{font-size:17px;color:#344855;font-weight:680;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.payrollPage .payPill{font-size:12px;text-transform:capitalize;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.payrollPage .pyDecisionButtons{display:flex;flex-wrap:wrap;gap:6px;width:100%;min-width:0}.payrollPage .pyActions .btn,.payrollPage .pyProvider .btn{font-size:12px;line-height:1.4;min-height:36px;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:7px 10px;border-radius:7px;min-width:0}
.payrollPage .pyDecisionButtons>.btn{flex:1 1 65px}.payrollPage button:disabled{opacity:.48;cursor:not-allowed}
.payrollPage .pyTextButton{font:inherit;font-size:12px;font-weight:600;border:0;background:transparent;color:#996039;min-height:29px;max-width:100%;padding:3px 0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.payrollPage .pyTextButton:hover{text-decoration:underline}.payrollPage .pyMobileLabel{display:none}
.payrollPage .pyDetails{margin:0 15px 10px;border-top:1px dashed #e9edf0;font-size:12px;color:#758895;min-width:0;max-width:100%;padding-top:5px}
.payrollPage .pyDetails>summary{cursor:pointer;font-weight:650;line-height:1.6;min-height:25px;max-width:100%;overflow-wrap:anywhere}.payrollPage .pyDetails>summary>span{font-weight:400;font-size:12px;margin-left:8px;color:#929da6}
.payrollPage .pyDetails dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:6px 0 0;padding:12px;border:1px solid #e8edf2;border-radius:8px;background:#f9fbfc}.payrollPage .pyDetails dl>div{min-width:0}.payrollPage dt{font-size:12px;font-weight:650;color:#8795a1;margin-bottom:3px}.payrollPage dd{font-size:12px;line-height:1.5;color:#526977;margin:0;white-space:normal;overflow-wrap:anywhere}
.payrollPage .pyAuxPanel{margin-top:15px}.payrollPage .pyAuxPanel .panelHead{padding:13px 15px}.payrollPage .bonusRow{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr) minmax(0,.8fr) minmax(0,.5fr) minmax(0,1.3fr);gap:12px;min-width:0;padding:13px 15px}.payrollPage .bonusRow>div{min-width:0;overflow-wrap:anywhere}.payrollPage .bonusRow b{font-size:12px;line-height:1.4}.payrollPage .bonusRow small{font-size:12px;line-height:1.4}.payrollPage .progress{min-width:0}.payrollPage .bonusActions{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.payrollPage .bonusActions .btn{flex:1 1 65px;font-size:12px;min-height:36px;min-width:0;max-width:100%;padding:7px 9px;white-space:normal}
.payrollPage .polePayStats{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));padding:13px 15px;gap:9px}.payrollPage .polePayStats span{min-width:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.payrollPage .polePayStats b{font-size:17px}
.payrollPage .tableWrap{max-width:100%;min-width:0;overflow:visible}.payrollPage .pyAuxTable{display:block;width:100%;min-width:0;max-width:100%;border-collapse:collapse}.payrollPage .pyAuxTable thead{display:none}.payrollPage .pyAuxTable tbody{display:block}
.payrollPage .pyAuxTable tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;width:100%;padding:13px 15px;border-top:1px solid #e7edf2;min-width:0}.payrollPage .pyAuxTable td{display:block;min-width:0;border:0;padding:0;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#576d7c}
.payrollPage .pyAuxTable td:before{content:attr(data-label);display:block;font-size:12px;font-weight:650;color:#8795a1;margin-bottom:4px}.payrollPage .pyAuxTable td b{font-size:12px}.payrollPage .pyAuxTable td small{font-size:12px;white-space:normal}.payrollPage .pyAuxTable .pyAuxActions{grid-column:span 2}.payrollPage .pyAuxActions .btn{font-size:12px;min-height:36px;padding:7px 10px;white-space:normal;max-width:100%;margin:0 3px 3px 0}.payrollPage .pyAuxEmpty{grid-column:1/-1}.payrollPage .pyAuxEmpty:before{display:none}
.saleServiceOrder{border:1px solid #e2e8ed;border-radius:10px;margin:9px 0;padding:12px;min-width:0;background:#fbfcfd}.saleServiceOrder.isSelected{border-color:#efc7ab;background:#fffaf6}
.saleServiceOrderTop{display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0}.saleServiceChoice{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px;line-height:1.4;cursor:pointer}.saleServiceChoice>input{flex:0 0 auto;width:18px;height:18px;accent-color:var(--orange)}.saleServiceChoice>span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}.saleServiceChoice small{font-size:12px;color:#85939e}.saleServiceQty{display:flex;flex-direction:column;gap:4px;flex:0 0 60px;font-size:12px;color:#7a8995}.saleServiceQty input{width:60px;min-width:0;border:1px solid #dae3ea;border-radius:7px;padding:7px;font-size:12px;background:#fff}.saleProviderField[hidden]{display:none!important}.saleProviderField{margin-top:10px;padding-top:9px;border-top:1px solid #ecdfd5;min-width:0}.saleProviderField .field{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;margin:0 0 6px;font-size:12px}.saleProviderField .field small{font-size:12px;color:#8795a0}.saleProviderField>input{width:100%;min-width:0;font-size:13px;max-width:100%;min-height:39px}.saleProviderField>small{display:block;font-size:12px;line-height:1.5;color:#8c7768;margin-top:5px}.providerRequirementHint{font-size:12px;color:#9d643e!important;line-height:1.5}input[aria-invalid="true"]{border-color:#c46456!important}
@media(min-width:981px){.shell.crmPayrollExpanded>.sidebar{display:none}.shell.crmPayrollExpanded>.main{margin-left:0}}
@media(max-width:980px){.page.payrollPage{padding:12px}#pyExpandView{display:none}}
@container payroll (max-width:970px){
 .payrollPage .pyFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .payrollPage .pyColumns{display:none}
 .payrollPage .pyRowGrid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.9fr);grid-template-areas:"person amount actions" "provider period actions";align-items:start;gap:11px 14px}
 .payrollPage .pyPerson{grid-area:person}.payrollPage .pyPeriod{grid-area:period}.payrollPage .pyProvider{grid-area:provider}.payrollPage .pyAmount{grid-area:amount}.payrollPage .pyActions{grid-area:actions;align-self:center}
 .payrollPage .pyMobileLabel{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.025em}
 .payrollPage .pyDetails dl{grid-template-columns:repeat(3,minmax(0,1fr))}
 .payrollPage .pyAuxTable tr{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container payroll (max-width:600px){
 .payrollPage .pyPageHead h2{font-size:21px}
 .payrollPage .pyRowGrid{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);grid-template-areas:"person amount" "provider period" "actions actions";gap:12px}
 .payrollPage .pyRowGrid .pyActions{width:100%;align-items:stretch;border-top:1px solid #e9eef2;padding-top:9px}.payrollPage .pyDecisionButtons>.btn{min-height:40px}
 .payrollPage .pyDetails dl{grid-template-columns:repeat(2,minmax(0,1fr))}.payrollPage .pyDetails>summary>span{display:none}
 .payrollPage .pySummary{padding:9px}.payrollPage .pySummary>b{font-size:16px}.payrollPage .pySummaries{gap:7px}
 .payrollPage .bonusRow{grid-template-columns:repeat(2,minmax(0,1fr))}.payrollPage .bonusRow>div:first-child{grid-column:1/-1}.payrollPage .bonusRow .bonusActions{grid-column:1/-1}.payrollPage .bonusRow .progress{grid-column:1/-1}
 .payrollPage .pyAuxTable tr{grid-template-columns:repeat(2,minmax(0,1fr))}.payrollPage .pyAuxTable .pyAuxActions{grid-column:1/-1}.payrollPage .pyAuxActions .btn{min-height:40px}
}
@container payroll (max-width:380px){
 .payrollPage .pyFilters{grid-template-columns:minmax(0,1fr)}.payrollPage .pyRowGrid{padding:11px;gap:10px}.payrollPage .pySummaries{padding:11px;gap:6px}.payrollPage .pySummary>small{font-size:12px}.payrollPage .pySummary>b{font-size:14px}
 .payrollPage .pyDetails dl{grid-template-columns:minmax(0,1fr)}
}


/* v1.9.47 — green Fresh Leads category; label-free city/source card facts. */
.colHead.fresh,
.myDayGroup-fresh .myDayGroupHead{border-color:#b7d9be;background:#eaf6ed;color:#27633b}
.leadCardCompact .leadCompactFacts{margin-top:5px;align-items:start}
.leadCardCompact .leadCompactFacts>span{gap:0}
.leadCardCompact .leadCompactFacts b{overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3}


/* v1.9.48.2 — lead drawer close-button alignment and single board scroll track */
#drawerOv #closeDrawer{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:0!important;
  font-size:0!important;
  text-align:center!important;
}
#drawerOv #closeDrawer::before{
  content:"×";
  display:block;
  width:1em;
  height:1em;
  font-size:22px;
  line-height:1;
  text-align:center;
  transform:translateY(-.5px);
}
.leadBoardPage{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
}
.leadBoardPage .kanban{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:visible;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.leadBoardPage .kanban::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.leadBoardPage .kanbanScrollProxy{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.leadBoardPage .kanbanScrollBottom{margin-bottom:0}
@media(max-width:900px){
  .leadBoardPage{overflow-x:visible}
  .leadBoardPage .kanban{overflow-x:visible!important;overflow-y:visible!important;scrollbar-width:auto!important}
}


/* v1.9.48.3 — visible Open Lead state and one-click Office Sales claim action. */
.leadSharingSlot.isOpen,.leadSharingPill.isOpen{visibility:visible;background:#fff8dc;border-color:#e8d793;color:#6c5a17}
.openLeadClaim{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 12px;border:1px solid #e8d793;border-radius:10px;background:#fffdf2}
.openLeadClaim>div{display:grid;gap:2px;min-width:0}.openLeadClaim b{font-size:12px}.openLeadClaim span{font-size:12px;color:#69634b;line-height:1.35}.openLeadClaim .btn{flex:0 0 auto}
@media(max-width:600px){.openLeadClaim{align-items:stretch;flex-direction:column}.openLeadClaim .btn{width:100%}}
