/* CRM hierarchy: prominent business values, readable records, circular identity and truthful progress. */
:root{--frame:#edf2ef;--ink:#223c31;--forest:#145d45;--muted:#607263;--line:#e2eae4}
main{padding:34px 34px 0}.sidebar{padding-top:29px}.brand{margin-bottom:26px}.workspace{border-radius:12px;padding:12px 9px}.workspace-mark,.company-avatar,.avatar{border-radius:50%}.workspace-mark{width:32px;height:32px;flex-shrink:0}.company-avatar{width:40px;height:40px;font-size:12px;font-weight:550}.sidebar nav{gap:3px}.sidebar nav a{height:41px;border-radius:9px;font-size:13px}.sidebar nav a.active{background:#dcebe2}.sidebar .nav-label{font-size:12px}.prototype-note{margin-top:20px;margin-bottom:15px}.page-heading h1{font-size:30px;font-weight:600;letter-spacing:-1px}.page-heading p{font-size:13px;line-height:1.7}.page-heading{margin-bottom:28px}.button{font-size:13px;min-height:40px;padding:10px 15px;border-radius:9px}.heading-actions .button{min-height:42px}.button svg{width:17px;height:17px}.topbar{font-size:12px}.prototype-label{font-size:12px}
.crm-metrics{display:grid;grid-template-columns:.85fr 1.25fr 1.25fr 1fr;border:1px solid #dce8df;background:#f5f9f5;border-radius:13px;padding:26px 22px;gap:0;margin-bottom:27px}.crm-metrics>div{padding:0 23px;border-left:1px solid #dbe6dd;min-width:0}.crm-metrics>div:first-child{padding-left:0;border:0}.crm-metrics>div:last-child{padding-right:0}.crm-metrics>div>span{font-size:12px;color:#526c59;display:block;line-height:1.5}.crm-metrics strong{font-size:36px;letter-spacing:-1.3px;font-weight:550;line-height:1.1;display:flex;align-items:baseline;gap:6px;margin:14px 0 12px;font-variant-numeric:tabular-nums;color:#185a40}.crm-metrics strong em{font-size:11px;letter-spacing:0;font-weight:500;font-style:normal;color:#6a7f6c}.crm-metrics>div:nth-child(2) strong{color:#315f8c}.crm-metrics>div:last-child strong{color:#9a681c}.crm-metrics small{font-size:11px;color:#62715d;line-height:1.7;display:block}.metric-dot{align-self:center;width:8px;height:8px;margin-left:3px}
.pipeline-strip{margin-bottom:30px;border-bottom:1px solid var(--line);padding-bottom:22px}.pipeline-strip .section-heading{margin-bottom:16px}.section-heading h2{font-size:16px;font-weight:600}.section-heading p{font-size:12px}.quiet-link{font-size:12px}.pipeline-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.pipeline-stages button{display:flex;gap:9px;border:0;text-align:left;background:none;padding:5px 0;align-items:flex-start;border-radius:4px}.pipeline-stages button>span:last-child{font-size:12px;color:#61705d;flex:1}.pipeline-stages strong{display:block;font-size:23px;font-weight:500;margin-top:6px;color:#2d4837;line-height:1.1}.stage-marker{width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#c9933f;display:inline-block;margin-top:3px}.stage-1{background:#628bae}.stage-2{background:#8398ab}.stage-3{background:#8f8770}.stage-4{background:#3d8961}.pipeline-stages button:hover{background:#f2f7f2}
.crm-overview-grid{grid-template-columns:minmax(0,1fr) 290px;gap:27px}.crm-readiness{border:1px solid #dce7de;border-radius:12px;padding:19px;background:#fafcf9}.crm-readiness .section-heading{margin-bottom:15px}.crm-readiness .section-heading h2{font-size:14px}.crm-readiness .section-heading>span{font-size:11px}.readiness-body{display:flex;gap:15px;align-items:center}.readiness-ring{position:relative;width:118px;height:118px;flex-shrink:0}.readiness-ring svg{width:118px;height:118px;stroke-width:9;fill:none}.ring-track{stroke:#e2eae1}.ring-value{stroke:#338263;stroke-linecap:round}.readiness-ring>span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.readiness-ring strong{font-size:29px;font-weight:550;letter-spacing:-1px;line-height:1.1;color:#245a41}.readiness-ring strong small{font-size:14px;font-weight:400;letter-spacing:0;margin-left:2px}.readiness-ring em{font-size:11px;font-style:normal;color:#64765d;margin-top:5px}.readiness-legend{flex:1}.readiness-legend>div{position:relative;padding-left:12px;margin:14px 0}.readiness-legend i{position:absolute;width:5px;height:5px;background:#398767;left:0;top:8px;border-radius:50%}.readiness-legend .amber-key{background:#c7943b}.readiness-legend strong{font-size:20px;line-height:1;font-weight:550;display:block}.readiness-legend span{font-size:11px;color:#65745e;display:block;line-height:1.5;margin-top:5px}.crm-readiness>p{font-size:11px;color:#69765f;line-height:1.7;border-top:1px solid #e2eae0;padding-top:12px;margin:13px 0 0}.crm-priority{margin-top:17px;padding:19px;border:1px solid #efdfb8;border-radius:12px;background:#fff7e7}.priority-top{display:flex;gap:7px;align-items:center;font-size:12px;color:#86632a;margin-bottom:18px}.priority-dot{width:6px;height:6px;border-radius:50%;background:#b78c38}.crm-priority .company-avatar{width:38px;height:38px;background:#f1e6cc;color:#806735;border-color:#e6d6b2;margin-bottom:11px}.crm-priority h3{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 8px;color:#59492d}.crm-priority p{font-size:12px;color:#796641;line-height:1.8;margin:0 0 15px}.crm-priority .button{background:#fffcf5;color:#6b542d;border-color:#decba0;min-height:35px;font-size:12px;padding:8px 12px}.crm-photo{height:152px;border-radius:12px;margin-top:17px}.crm-photo p{font-size:23px}.crm-photo span{color:#e6eddd}
table{font-size:13px}.row-title{font-size:14px;font-weight:550}.customer-cell{gap:12px}td small{font-size:12px;line-height:1.6;margin-top:5px}.customer-cell small{max-width:220px}.badge{font-size:11px;padding:5px 8px;border-radius:14px}td{padding-top:20px;padding-bottom:20px}th{font-size:12px}.exception-count{font-size:11px}.row-action a{font-size:12px}.tabs{gap:23px}.tabs button{font-size:12px}.source-panel,.quotation-paper,.settings-fields,.integration-details{border-radius:12px}.review-line{padding:20px 0}.line-top strong{font-size:14px}.line-top small,.line-price{font-size:12px}.line-fields select,.line-fields input{font-size:12px;min-height:40px}.email-body{font-size:14px}.paper-table td strong{font-size:13px}.paper-table td small{font-size:11px}.paper-totals .total{font-size:23px}.paper-terms p{font-size:11px}.number-edit{min-height:34px}.user{font-size:12px}.footer{font-size:11px}
.customer-summary{display:flex;align-items:center;gap:28px;padding:24px 0 27px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:16px}.customer-summary>div{display:flex;gap:13px;align-items:center}.customer-summary>div>strong{font-size:38px;font-weight:500;line-height:1;color:#1d6548}.customer-summary>div>span{font-size:13px;max-width:70px;line-height:1.7;color:#526b56}.customer-summary>p{font-size:12px;line-height:1.8;color:#66775f;margin:0}.customer-summary .search-field{margin:0 0 0 auto}.customer-summary .search-field input{max-width:180px;font-size:12px}.customer-table .numeric{font-size:15px}.account-action{font-size:12px;color:#426748;text-decoration:underline;text-underline-offset:4px}.account-profile{display:flex;align-items:center;gap:15px;background:#f3f8f3;padding:23px;border-radius:12px;border:1px solid #dfebdf}.account-profile>.company-avatar{width:59px;height:59px;background:#d8eade;color:#2c6b49;font-size:18px}.account-profile h2{font-size:22px;font-weight:550;margin:0 0 6px;letter-spacing:-.5px}.account-profile p{font-size:13px;color:#627a61;margin:0}.account-profile>.badge{margin-left:auto}.account-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:25px 0;gap:24px;border-bottom:1px solid var(--line)}.account-metrics>div{border-left:1px solid var(--line);padding-left:25px}.account-metrics>div:first-child{border:0;padding-left:0}.account-metrics span{font-size:12px;color:#667a60;display:block}.account-metrics strong{display:block;font-size:29px;font-weight:500;margin-top:12px;font-variant-numeric:tabular-nums;color:#235b40}.account-section{margin-top:30px}.account-quote-list>a{display:flex;align-items:center;gap:25px;padding:18px 0;border-bottom:1px solid var(--line)}.account-quote-list>a>strong{margin-left:auto;font-size:18px;font-weight:500}.account-quote-list strong{font-size:14px}.account-quote-list small{display:block;font-size:12px;color:#6c7b61;margin-top:6px}.account-empty{border:1px dashed #dce5d7;border-radius:10px;padding:24px;font-size:13px;line-height:1.8;color:#63755b}.relationship-note{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.relationship-note p{margin:0 0 7px;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.relationship-note small{font-size:12px;color:#75836a}
.pipeline-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:21px 0;margin-bottom:23px}.pipeline-heading>div{display:flex;align-items:baseline;gap:12px}.pipeline-heading strong{font-size:29px;font-weight:500;letter-spacing:-.5px;color:#245f45}.pipeline-heading span,.pipeline-heading label{font-size:12px;color:#687b60}.pipeline-heading label{display:flex;align-items:center;gap:12px}.pipeline-heading select{margin:0;font-size:12px}.pipeline-board{display:grid;grid-template-columns:repeat(5,minmax(185px,1fr));gap:16px;overflow:auto;padding-bottom:17px;position:relative;min-width:0}.pipeline-lane{background:#f4f7f2;border-radius:12px;padding:14px;min-height:250px}.lane-heading{display:flex;align-items:center;gap:7px;margin-bottom:17px}.lane-heading h2{font-size:12px;font-weight:550;line-height:1.6;margin:0}.lane-heading .count{margin-left:auto}.pipeline-record{border:1px solid #dfe7db;border-radius:10px;background:white;padding:14px;margin-bottom:12px}.pipeline-record-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.pipeline-record-top .company-avatar{width:31px;height:31px;font-size:11px}.pipeline-record-top small{font-size:11px;color:#74866a}.pipeline-customer{font-size:14px;font-weight:600;line-height:1.5;color:#2d5239;display:block}.pipeline-record>p{font-size:12px;line-height:1.8;color:#697f60;margin:8px 0 17px}.pipeline-record-bottom{border-top:1px solid #edf1e9;padding-top:12px}.pipeline-record-bottom strong{display:block;font-size:15px;font-weight:550;color:#345b41}.pipeline-record-bottom a{font-size:12px;color:#376c4b;text-decoration:underline;text-underline-offset:4px;display:inline-block;margin-top:11px}.lane-empty{font-size:12px;color:#718468;line-height:1.7}
@media(min-width:1650px){.crm-metrics strong{font-size:40px}.crm-overview-grid{grid-template-columns:minmax(0,1fr) 320px}.readiness-body{justify-content:center}.readiness-legend{max-width:130px}}
@media(max-width:1250px){.crm-metrics{grid-template-columns:1fr 1.15fr 1.15fr 1fr;padding:22px 17px}.crm-metrics>div{padding-left:16px;padding-right:16px}.crm-metrics strong{font-size:30px}.crm-metrics>div>span{font-size:11px}.crm-overview-grid{grid-template-columns:minmax(0,1fr) 260px;gap:22px}.readiness-body{gap:6px}.readiness-ring,.readiness-ring svg{width:108px;height:108px}.customer-cell small{max-width:175px}.customer-summary{flex-wrap:wrap}.customer-summary .search-field{margin-left:auto}.crm-readiness{padding:15px}.crm-readiness .section-heading{gap:5px}.crm-readiness .section-heading>span{font-size:11px}.crm-metrics strong em{display:none}}
@media(max-width:1050px){.crm-overview-grid{grid-template-columns:minmax(0,1fr)}.right-rail{grid-template-columns:1fr 1fr;gap:20px}.crm-priority{margin:0}.crm-photo{display:none}.crm-metrics{grid-template-columns:1fr 1fr;gap:25px 0}.crm-metrics>div:nth-child(3){border:0;padding-left:0}.crm-metrics>div>span{font-size:12px}.crm-metrics strong{font-size:35px}.crm-metrics strong em{display:inline}.account-metrics{grid-template-columns:1fr 1fr;gap:24px}.account-metrics>div:nth-child(3){border:0;padding-left:0}.customer-summary>p{display:none}}
@media(max-width:760px){main{padding:25px 18px 0}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.heading-actions{max-width:135px}.heading-actions .button{font-size:12px;min-height:39px;padding:9px}.crm-metrics{border-radius:12px;padding:22px 16px;margin-top:0;margin-bottom:25px;gap:25px 0}.crm-metrics strong{font-size:30px;gap:4px}.crm-metrics>div{padding:0 10px 0 16px}.crm-metrics>div:nth-child(3){padding-left:0}.crm-metrics>div>span{font-size:11px}.crm-metrics small{font-size:11px;line-height:1.7}.crm-metrics strong em{font-size:10px}.pipeline-stages{grid-template-columns:repeat(5,minmax(105px,1fr));overflow:auto;gap:16px;padding-bottom:6px}.pipeline-stages button>span:last-child{font-size:12px}.pipeline-strip{min-width:0}.section-heading h2{font-size:16px}.crm-overview-grid .right-rail{grid-template-columns:1fr}.crm-readiness{padding:20px}.readiness-body{justify-content:center;gap:20px}.readiness-legend{max-width:155px}.readiness-ring,.readiness-ring svg{width:130px;height:130px}.readiness-ring strong{font-size:33px}.crm-priority{padding:20px}.crm-readiness .section-heading h2{font-size:16px}.crm-metrics>div:nth-child(4)>span{max-width:135px}.company-avatar{width:36px;height:36px}.inquiry-table{min-width:560px}.customer-summary{gap:15px;padding:20px 0}.customer-summary>div>strong{font-size:33px}.customer-summary .search-field{width:100%;margin:0}.customer-summary .search-field input{max-width:none}.customer-table{min-width:740px!important}.account-profile{flex-wrap:wrap;padding:18px;gap:12px}.account-profile h2{font-size:21px}.account-profile>.company-avatar{width:48px;height:48px;font-size:16px}.account-profile p{font-size:12px}.account-profile>.badge{margin-left:60px;margin-top:-4px}.account-metrics{gap:24px 15px}.account-metrics>div{padding-left:16px}.account-metrics strong{font-size:28px}.account-metrics span{font-size:11px}.account-quote-list>a{flex-wrap:wrap;gap:14px}.account-quote-list>a>strong{font-size:17px}.account-section .section-heading{align-items:flex-start}.account-section .muted{font-size:11px;max-width:120px;text-align:right}.pipeline-heading{align-items:flex-start;flex-direction:column;gap:18px}.pipeline-heading>div{display:block}.pipeline-heading strong{font-size:29px;display:block}.pipeline-heading span{display:block;margin-top:7px}.pipeline-heading select{min-width:170px}.pipeline-board{grid-template-columns:repeat(5,minmax(220px,1fr))}.pipeline-lane{min-height:260px}.footer{font-size:11px;line-height:1.8}.footer>span:last-child{max-width:135px}.line-fields select{font-size:12px}.line-top strong{font-size:14px}.paper-table{min-width:600px!important}}
@media print{.crm-metrics,.pipeline-strip{display:none}.quotation-paper{border-radius:0}}
