/* Sprint 17: a presentation layer for the caller's attended, owned portfolio. */
.my-leads-portfolio{max-width:1540px;margin:0 auto}.my-leads-header{align-items:flex-end;margin-bottom:18px}.my-leads-header .eyebrow{color:#2872b8}.my-leads-header-actions{display:flex;align-items:center;gap:10px}.my-leads-header .primary{min-width:164px;letter-spacing:.01em}.my-leads-kpi-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:0 0 14px}.my-leads-kpi{min-height:106px;border:1px solid #dfeaf3;border-radius:13px;background:linear-gradient(150deg,#fff,#f8fbfe);padding:15px 16px;text-align:left;color:#173750;box-shadow:0 5px 15px #183e6008;transition:transform .16s,box-shadow .16s,border-color .16s}.my-leads-kpi:hover,.my-leads-kpi.active{transform:translateY(-2px);border-color:#8dbce4;box-shadow:0 12px 24px #174b7820}.my-leads-kpi.overdue{background:linear-gradient(145deg,#fff,#fff5f5)}.my-leads-kpi.hot{background:linear-gradient(145deg,#fff,#fff8f0)}.my-leads-kpi.no-followup{background:linear-gradient(145deg,#fff,#f8f5ff)}.my-leads-kpi-label{display:block;color:#587188;font-size:12px;font-weight:700}.my-leads-kpi strong{display:block;margin:5px 0 2px;color:#092b4a;font:800 29px/1 Manrope,sans-serif;letter-spacing:-1px}.my-leads-kpi small{display:block;color:#6b8297;font-size:11px}.my-leads-attention{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0 0 14px;border:1px solid #f0d6bb;border-left:3px solid #e8731b;border-radius:10px;background:#fffaf5;padding:10px 13px;color:#785120;font:600 12px "DM Sans",sans-serif;text-align:left}.my-leads-attention span{color:#075ca5;font-size:11px;font-weight:700}.my-leads-table-card{overflow:hidden;border:1px solid #dce8f1;box-shadow:0 12px 30px #173f600d}.my-leads-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 15px;border-bottom:1px solid #e6eef5;background:#fcfdff}.my-leads-filters{display:flex;gap:5px;min-width:0;overflow:auto;padding-bottom:1px}.my-leads-filters button{flex:0 0 auto;border:1px solid transparent;border-radius:8px;background:#eef4f8;padding:8px 10px;color:#47637c;font:700 11px "DM Sans",sans-serif}.my-leads-filters button:hover{background:#e3eff8}.my-leads-filters button.active{background:#073d70;color:#fff;box-shadow:0 4px 10px #073d7022}.my-leads-toolbar-actions{display:flex;align-items:center;gap:8px}.my-leads-search{position:relative;display:block}.my-leads-search:before{content:"⌕";position:absolute;z-index:1;top:8px;left:10px;color:#63809a;font-size:17px;line-height:1}.my-leads-search input{width:210px;height:36px;border:1px solid #d5e2ed;border-radius:8px;background:#fff;padding:0 10px 0 30px;color:#173750;font:500 12px "DM Sans",sans-serif}.my-leads-search input:focus{outline:0;border-color:#3987ca;box-shadow:0 0 0 3px #3987ca1f}.my-leads-toolbar-actions .secondary{min-height:36px;white-space:nowrap}.my-leads-results{display:flex;align-items:center;padding:14px 15px 9px}.my-leads-results h3{margin:0;color:#173750;font:700 15px Manrope,sans-serif}.my-leads-results h3 span{margin-left:7px;color:#73899c;font:600 11px "DM Sans",sans-serif}.my-leads-desktop-table{overflow-x:auto}.my-leads-desktop-table table{width:100%;min-width:1120px;table-layout:fixed;border-collapse:separate;border-spacing:0}.my-leads-desktop-table th{position:static;padding:10px 11px;background:#f6f9fc;color:#587088;font-size:10px;letter-spacing:.03em;text-transform:uppercase}.my-leads-desktop-table td{padding:12px 11px;vertical-align:middle;color:#203c56;font-size:12px;line-height:1.35}.my-leads-desktop-table th:nth-child(1){width:17%}.my-leads-desktop-table th:nth-child(2){width:11%}.my-leads-desktop-table th:nth-child(3){width:14%}.my-leads-desktop-table th:nth-child(4){width:8%}.my-leads-desktop-table th:nth-child(5){width:10%}.my-leads-desktop-table th:nth-child(6){width:11%}.my-leads-desktop-table th:nth-child(7){width:12%}.my-leads-desktop-table th:nth-child(8){width:10%}.my-leads-desktop-table th:nth-child(9){width:7%}.my-leads-row.is-hot td:first-child{box-shadow:inset 3px 0 #ed8432}.my-leads-company{display:grid;gap:3px;width:100%;border:0;background:transparent;padding:0;color:#103c66;text-align:left}.my-leads-company:hover b{text-decoration:underline}.my-leads-company:focus-visible,.my-leads-actions button:focus-visible,.my-leads-kpi:focus-visible,.my-leads-filters button:focus-visible{outline:3px solid #6bb2ea;outline-offset:2px}.my-leads-company b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.my-leads-company span,.my-leads-contact span,.my-leads-desktop-table td:nth-child(3) span{display:block;overflow:hidden;color:#71879a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.my-leads-contact a{display:block;overflow:hidden;color:#1267a8;font-weight:700;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.my-leads-contact a:hover{text-decoration:underline}.portfolio-temperature,.portfolio-followup,.portfolio-status{display:inline-flex;align-items:center;min-height:23px;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:800;white-space:nowrap}.portfolio-temperature.hot{background:#fff0e5;color:#c45b04}.portfolio-temperature.warm{background:#fff7dc;color:#9d6800}.portfolio-temperature.cold{background:#eaf5ff;color:#1670ae}.portfolio-temperature.negative{background:#f2f4f7;color:#637384}.portfolio-temperature.not-set{background:#eff3f6;color:#677d90}.portfolio-followup{background:#edf6ff;color:#0e619f}.portfolio-followup.overdue{background:#fff0f0;color:#c13838}.portfolio-followup.no-followup{background:#f3f5f7;color:#667d91}.portfolio-status{background:#eff5f9;color:#46647d}.portfolio-status.follow-up-due{background:#fff0e5;color:#bd5906}.portfolio-status.awaiting-technical{background:#eee9ff;color:#6046b3}.portfolio-status.sample-requested,.portfolio-status.quotation-requested{background:#e8f7ef;color:#157446}.my-leads-actions{display:flex;align-items:center;gap:5px}.my-leads-actions .secondary{min-height:30px;padding:0 8px;font-size:10px}.my-leads-actions .icon-btn,.my-leads-actions .compact{min-width:30px;min-height:30px;padding:0 7px;font-size:10px}.my-leads-actions .compact{border-radius:7px}.my-leads-mobile-list{display:none}.my-leads-empty{padding:44px 20px;text-align:center;color:#6c8295}.my-leads-empty b{display:block;color:#28445e;font-size:14px}.my-leads-empty p{margin:7px auto 16px;max-width:420px;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:1180px){.my-leads-kpi-strip{gap:9px}.my-leads-kpi{padding:13px 12px}.my-leads-kpi strong{font-size:26px}.my-leads-desktop-table th:nth-child(5),.my-leads-desktop-table td:nth-child(5),.my-leads-desktop-table th:nth-child(6),.my-leads-desktop-table td:nth-child(6){display:none}.my-leads-desktop-table table{min-width:880px}.my-leads-desktop-table th:nth-child(1){width:20%}.my-leads-desktop-table th:nth-child(2){width:13%}.my-leads-desktop-table th:nth-child(3){width:18%}.my-leads-desktop-table th:nth-child(4){width:11%}.my-leads-desktop-table th:nth-child(7){width:16%}.my-leads-desktop-table th:nth-child(8){width:13%}.my-leads-desktop-table th:nth-child(9){width:9%}}
@media (max-width:820px){.my-leads-header{align-items:flex-start}.my-leads-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.my-leads-toolbar{align-items:stretch;flex-direction:column}.my-leads-toolbar-actions{justify-content:space-between}.my-leads-search{flex:1}.my-leads-search input{width:100%}}
@media (max-width:640px){.my-leads-header{gap:13px;flex-direction:column}.my-leads-header .primary{width:100%}.my-leads-kpi-strip{display:flex;overflow:auto;margin-right:-4px;padding:1px 4px 5px 1px}.my-leads-kpi{flex:0 0 142px;min-height:98px}.my-leads-attention{font-size:11px}.my-leads-filters{margin-right:-15px;padding-right:15px}.my-leads-toolbar-actions{align-items:stretch;flex-direction:column}.my-leads-toolbar-actions .secondary{width:100%}.my-leads-desktop-table{display:none}.my-leads-mobile-list{display:grid;gap:9px;padding:0 12px 14px}.my-leads-mobile-card{position:relative;display:grid;gap:8px;border:1px solid #e0eaf2;border-radius:11px;background:#fff;padding:13px;box-shadow:0 4px 12px #173f6008}.my-leads-mobile-card>.portfolio-temperature{position:absolute;top:12px;right:12px}.my-leads-mobile-card .my-leads-company{max-width:calc(100% - 68px)}.my-leads-mobile-card>a{color:#1267a8;font-size:12px;font-weight:700;text-decoration:none}.my-leads-mobile-card p{margin:0;color:#6b8195;font-size:11px}.my-leads-mobile-card p strong{color:#244964}.my-leads-mobile-card .my-leads-actions{padding-top:3px}.my-leads-results{padding-top:13px}.my-leads-empty{padding:35px 16px}.my-leads-table-card{border-radius:12px}}

/* Keep the dense desktop view within its normal workspace width; tablet rules
   explicitly trade secondary columns for space before scroll is needed. */
.my-leads-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.my-leads-kpi-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eaf3fa;color:#2775b7}.my-leads-kpi.overdue .my-leads-kpi-icon{background:#fff0f0;color:#c44646}.my-leads-kpi.hot .my-leads-kpi-icon{background:#fff1e5;color:#c56a10}.my-leads-kpi.no-followup .my-leads-kpi-icon{background:#f0ecff;color:#694bc1}.my-leads-desktop-table{overflow:visible}.my-leads-desktop-table table{min-width:0}.my-leads-desktop-table th{position:sticky;top:0;z-index:2}
