/* Mina Revenue Command: calmer navigation, readable tables and explicit save state. */
:root{--ink:#172235;--ink2:#34435a;--muted:#66758a;--bg:#f5f7fb;--r:10px;--sh:none}
.sidebar{background:#fff;padding:24px 16px;gap:20px}.nav{gap:5px}.navitem{min-height:43px;border-radius:8px;font-size:13px}.navitem.active{background:#eaf0ff;color:#0344c2;box-shadow:inset 3px 0 #0344c2}.nav-new{margin-left:auto;color:#0344c2;font-size:10px;font-weight:600;background:#edf2ff;padding:2px 6px;border-radius:4px}.navitem svg{stroke-width:1.7}.topbar{background:#fff;backdrop-filter:none;align-items:center;padding:19px 28px}.topbar .eyebrow{display:none}.topbar h1{font-size:22px;font-weight:650}.topbar .sub{font-size:13px;color:#69758a;margin-top:5px}.pages{padding:24px 28px}.topbar-actions .tb-group{background:#f6f8fc}.page table th{font-size:11px;letter-spacing:.015em;text-transform:none}.page table td{padding-top:12px;padding-bottom:12px}.page .cellsel{font-size:12px;height:31px}.page .lkico{width:30px;height:30px}.page a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #0344c2;outline-offset:3px}.privacy{line-height:1.5}.savestate{font-size:11px;line-height:1.55;color:#4b6472}.sync-error{color:#a7402e}.sync-issue{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff4e8;border-bottom:1px solid #f1d4ad;color:#744015;padding:12px 24px;font-size:13px}.sync-issue span{flex:1}.sync-issue button{background:white;border:1px solid #e0c5a3;border-radius:6px;padding:7px 10px;font:inherit;cursor:pointer}.prospecting-active .pages{padding:0}.prospecting-active #topActions .tb-group,.prospecting-active #histBtn,.prospecting-active #archBtn,.prospecting-active #csvBtn,.prospecting-active .topbar-divider{display:none}.prospecting-active .powered{display:none}#page-prospecting{min-height:calc(100vh - 90px)}
@media(max-width:900px){.sidebar{padding:14px}.pages{padding:16px}.topbar{padding:16px}.nav{gap:3px}.navitem{min-height:38px}.prospecting-active .pages{padding:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
[hidden]{display:none!important}.tablewrap.fitwrap{overflow-x:auto;overscroll-behavior-x:contain}.page table.fit{min-width:1200px;max-width:none}.page table.fit td{padding:13px 12px}.page table.fit th{padding:11px 12px}.crm-company{display:flex;align-items:center;gap:10px}.crm-monogram{width:34px;height:34px;display:grid;place-items:center;background:#edf2fc;color:#265087;border:1px solid #dfe7f3;border-radius:8px;font-size:11px;flex:none;font-weight:650}.crm-company-name{font:inherit;font-size:13px;font-weight:600;color:#172235;border:0;padding:0;text-align:left;background:transparent;cursor:pointer;white-space:normal;line-height:1.35}.crm-company-name:hover{color:#0344c2;text-decoration:underline}.crm-domain{color:#69758a;font-size:11px;text-decoration:none}.crm-domain:hover{color:#0344c2;text-decoration:underline}#page-pipeline:not(.show-details) table.fit{table-layout:auto;min-width:1030px}#page-pipeline:not(.show-details) colgroup{display:none}#page-pipeline:not(.show-details) tr>:is(:nth-child(4),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(11)){display:none}#page-pipeline:not(.show-details) tr>:nth-child(1){min-width:220px}#page-pipeline:not(.show-details) tr>:nth-child(2){min-width:165px}#page-pipeline:not(.show-details) tr>:nth-child(3){min-width:180px}#page-pipeline:not(.show-details) tr>:is(:nth-child(8),:nth-child(9)){min-width:120px}#page-pipeline:not(.show-details) tr>:nth-child(10){min-width:105px}#page-pipeline:not(.show-details) tr>:nth-child(12){min-width:95px}#page-pipeline.show-details table.fit{min-width:1750px}.page table.fit td:first-child{background:white}.page table.fit th:first-child{background:#f7f9fc}
.prospecting-active #curToggle{display:none}
@media(max-width:900px){.sidebar .nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.sidebar .navitem{width:auto;flex:0 0 auto;min-height:38px;padding:9px 12px;gap:7px}.sidebar .nav-label{display:none}.sidebar .brand{margin-bottom:8px}.sidebar .nav-c{font-size:10px}.sidebar .nav-new{display:none}.sidebar{gap:8px;padding:12px 14px}.sidebar .sb-logo{padding-bottom:10px}.sidebar .sb-s{font-size:9px}}

@media(max-width:900px){.sidebar{flex:0 0 auto}}
/* V2: visible next actions, direct contact controls, and a focused profile panel. */
.side-brand img{width:126px;height:auto;max-height:42px}.side-brand .brand-copy{display:none}.crm-monogram img{width:26px;height:26px;object-fit:contain}.crm-industry{display:block;max-width:200px;white-space:normal;color:#778294;font-size:10px;line-height:1.35;margin-top:4px}.crm-company>input,#pipelineSelectAll{accent-color:#0344c2;width:15px;height:15px;flex:none;cursor:pointer;margin-right:4px}.crm-filter-check{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#657185;font-size:12px}.crm-filter-check input{accent-color:#0344c2}.crm-selection{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 18px;background:#eef3ff;border-top:1px solid #d8e4fc;border-bottom:1px solid #d8e4fc}.crm-selection strong{color:#0344c2;margin-right:auto;font-size:13px}.crm-contact-links{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;flex-wrap:wrap}.crm-icon-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:30px;height:30px;border:1px solid #e3e8f0;border-radius:6px;color:#425670;background:white;text-decoration:none;padding:5px;cursor:pointer;font:inherit;font-size:12px}.crm-icon-link svg{width:16px;height:16px;flex:none}.crm-icon-link:hover{border-color:#adc4ee;background:#f3f7ff;color:#0344c2}.crm-icon-link span{padding-right:4px}.crm-email{display:block;color:#29445f;font-size:12px;margin-bottom:6px}.crm-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.crm-dashboard-head>p{font-size:13px;color:#7b8798}.crm-dashboard-head>div{display:flex;gap:8px}.crm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:24px}.crm-stat{padding:22px 24px;border:1px solid #e3e8f0;background:white;border-radius:10px;text-align:left;cursor:pointer;color:#142644;font:inherit;transition:border-color .15s}.crm-stat:hover{border-color:#6b95e5}.crm-stat>span{font-size:13px;color:#56647a}.crm-stat>strong{display:block;font-size:36px;line-height:1.25;letter-spacing:-1.5px;font-weight:600;margin:10px 0}.crm-stat>small{font-size:11px;color:#7a889c}.crm-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px;margin-bottom:20px}.crm-panel{border:1px solid #e3e8f0;border-radius:10px;background:white;overflow:hidden}.crm-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #edf0f5}.crm-panel h2{font-size:14px;font-weight:600;letter-spacing:0;margin:0}.crm-tabbar{display:flex;gap:4px}.crm-tabbar button{font:inherit;font-size:11px;color:#69778c;background:transparent;border:0;padding:7px 9px;border-radius:5px;cursor:pointer}.crm-tabbar button.active{background:#edf3ff;color:#0344c2}.crm-task-row,.crm-next-action,.crm-activity-row,.crm-related-person{font:inherit;border:0;border-bottom:1px solid #f0f2f6;background:white;width:100%;display:flex;align-items:center;gap:12px;padding:15px 22px;text-align:left;cursor:pointer;color:#233249}.crm-task-row:hover,.crm-next-action:hover,.crm-activity-row:hover,.crm-related-person:hover{background:#f8faff}.crm-task-row>span:nth-child(2),.crm-related-person>span:nth-child(2){flex:1;min-width:0}.crm-task-row strong,.crm-next-action strong,.crm-related-person strong{display:block;font-size:13px;font-weight:550}.crm-task-row small,.crm-next-action small,.crm-related-person small{display:block;font-size:11px;color:#7b8797;line-height:1.5;margin-top:3px}.crm-task-date{font-size:11px;color:#69778c}.crm-avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;color:#3e5b85;background:#ecf1f9;font-size:10px;flex:none}.crm-next-action{justify-content:space-between;padding:19px 22px}.crm-next-action b{font-size:15px;font-weight:500;color:#0344c2}.crm-empty{padding:35px 24px;color:#7a8799;font-size:12px;line-height:1.65}.crm-empty>strong{color:#384c67;font-size:14px;font-weight:500}.crm-empty p{margin-top:5px;max-width:420px}.crm-activity-row{font-size:12px}.crm-activity-row>span{color:#708096;flex:1}.crm-activity-row strong{font-weight:500;flex:1}.crm-activity-row small{color:#8994a3}.crm-caption{font-size:11px;color:#7a8799}.crm-profile{position:fixed;inset:0 0 0 auto;margin:0;width:min(570px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #e1e6ef;padding:0;box-shadow:-14px 0 70px #0d2b5026;color:#172c47;background:white;overflow:hidden}.crm-profile[open]{display:flex;flex-direction:column}.crm-profile::backdrop{background:rgba(18,34,54,.2)}.crm-profile>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px 28px 14px}.crm-profile h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;font-weight:600;margin:7px 0}.crm-profile header p{font-size:12px;line-height:1.5;color:#738093;margin:0}.crm-close{border:0;background:#f4f6fa;color:#718098;width:30px;height:30px;border-radius:6px;font-size:22px;cursor:pointer}.crm-profile-links{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 28px 22px}.crm-profile-tabs{display:flex;gap:24px;padding:0 28px;border-bottom:1px solid #e6ebf1}.crm-profile-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0;background:none;font:inherit;font-size:12px;color:#69788e;cursor:pointer}.crm-profile-tabs button.active{border-color:#0344c2;color:#0344c2}.crm-profile-body{overflow:auto;padding:24px 28px;flex:1}.crm-facts{display:grid;gap:20px;margin:0 0 26px}.crm-facts>div{display:grid;grid-template-columns:120px 1fr;gap:18px}.crm-facts dt{color:#78869a;font-size:12px}.crm-facts dd{font-size:13px;margin:0;overflow-wrap:anywhere}.crm-facts dd a{color:#0344c2;text-decoration:none}.crm-facts small{display:block;color:#8a94a4;font-size:10px;margin-top:6px}.crm-status{display:inline-flex;padding:6px 9px;border:1px solid #dce6f2;border-radius:5px;background:#f6f9fd;color:#425b7e;white-space:nowrap;font:inherit;font-size:11px;cursor:pointer}.crm-date-action{font:inherit;font-size:12px;color:#496078;border:0;background:none;cursor:pointer;padding:6px 0}.crm-section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.crm-section-heading h3{font-size:14px;font-weight:550}.crm-related-person{padding:14px 0}.crm-related-person>span:last-child{font-size:10px;color:#7a8799}.crm-profile>footer{border-top:1px solid #e4eaf2;padding:16px 28px;background:#fff}.crm-timeline article{display:flex;gap:14px;border-left:1px solid #dbe6f4;margin-left:5px;padding:0 0 26px 20px;position:relative}.crm-dot{position:absolute;width:7px;height:7px;background:#7295ce;left:-4px;top:4px;border-radius:50%}.crm-timeline strong{font-size:13px;font-weight:550}.crm-timeline small{display:block;font-size:10px;color:#8290a4;margin-top:5px}.crm-timeline p{font-size:12px;color:#65758a;line-height:1.6;white-space:pre-wrap}.crm-log-event,.crm-source-details,.crm-record-notes{border-top:1px solid #e7edf4;padding-top:16px;margin-top:18px}.crm-log-event summary,.crm-source-details summary,.crm-record-notes summary{font-size:12px;cursor:pointer;color:#657b98}.crm-source-details article{padding:12px 0;border-bottom:1px solid #f0f3f8;font-size:11px;color:#8190a3}.crm-source-details p{line-height:1.6}.crm-source-details a{display:block;color:#5577a5;font-size:11px;margin:12px 0}.crm-record-notes p{font-size:12px;line-height:1.7;white-space:pre-wrap;color:#758195}.crm-log-event form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.crm-log-event form label{display:grid;gap:7px;color:#718096;font-size:11px}.crm-log-event input,.crm-log-event select,.crm-log-event textarea{width:100%;min-width:0;border:1px solid #dce4ef;border-radius:6px;padding:10px;font:inherit;color:#314765;background:#fff}.crm-log-event textarea{resize:vertical}.crm-log-event label:last-of-type,.crm-form-error{grid-column:1/-1}.crm-log-event form small{font-size:10px;align-self:center;color:#8897aa}.crm-form-error{color:#a33528;font-size:12px;margin:0}#page-contacts table.fit{table-layout:auto;min-width:1020px}#page-contacts colgroup{display:none}#page-contacts tr>:nth-child(1){min-width:185px}#page-contacts tr>:nth-child(2){min-width:185px}#page-contacts tr>:nth-child(3){min-width:220px}.ct-person .crm-contact-links{margin-top:5px}
@media(max-width:1000px){.crm-dashboard-grid{grid-template-columns:1fr}.crm-stats{gap:10px}.crm-stat{padding:17px}.crm-dashboard-head{flex-wrap:wrap}}
@media(max-width:600px){.crm-stats{grid-template-columns:1fr}.crm-stat{display:grid;grid-template-columns:1fr auto;align-items:center}.crm-stat strong{grid-column:2;grid-row:1/3;font-size:30px;margin:0}.crm-stat small{grid-column:1;margin-top:8px}.crm-profile>header,.crm-profile-body{padding:22px}.crm-profile-links,.crm-profile-tabs{padding-left:22px;padding-right:22px}.crm-panel>header{flex-wrap:wrap}.crm-dashboard-head>p{display:none}}

.side-brand{flex-direction:column;align-items:flex-start;gap:6px}.side-brand .sb-s{font-size:10px;margin-left:0;letter-spacing:.04em}

.crm-identity-note{margin:0 0 20px;padding:12px 14px;border:1px solid #ead6ad;border-radius:6px;background:#fffaf0;color:#806024;font-size:12px;line-height:1.6}
