.portal-home{min-height:100svh;background:#f6f8fa}.portal-header{height:96px;background:#0a1220;border-bottom:3px solid #0066ff;padding:0 max(32px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;color:#c4d0e4}.portal-header>img{width:252px}.portal-header>div{display:flex;align-items:center;gap:20px}.portal-header .icon-button{color:#bdd0ec}.portal-account{font-size:13px}.portal-main{margin:0 auto!important;max-width:1240px;padding:66px 32px 24px}.portal-welcome{position:relative;margin-bottom:42px}.portal-welcome h1{font-family:'Exo 2',Arial,sans-serif;font-size:52px;letter-spacing:-1.5px;margin:12px 0 18px;color:#0a1220}.portal-welcome h1 span,.module-card>strong>span{color:#0066ff}.portal-welcome>p:not(.eyebrow){color:#68768c;font-size:17px;line-height:1.6}.portal-date{position:absolute;right:0;top:12px;color:#778395;font-size:12px}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.module-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;background:#fff;border:1px solid #dce3ec;border-radius:14px;padding:34px 36px;color:#0a1220;box-shadow:0 5px 22px #12203904;transition:transform .2s,border-color .2s,box-shadow .2s}.module-card:hover{transform:translateY(-4px);border-color:#8fb6fa;box-shadow:0 14px 38px #1537620d}.module-icon{width:58px;height:58px;border-radius:13px;display:grid;place-items:center;background:#eaf1ff;color:#0066ff;margin-bottom:34px}.module-icon svg{width:28px;height:28px}.module-kicker{font-size:10px;font-weight:700;color:#6e7b8f;letter-spacing:1.6px}.module-card>strong{font:600 38px 'Exo 2',Arial,sans-serif;margin:12px 0 15px;letter-spacing:-1px}.module-description{font-size:15px;line-height:1.8;color:#68758a;max-width:380px}.module-tags{display:flex;flex-wrap:wrap;gap:7px;margin:24px 0 34px}.module-tags>span{font-size:11px;border:1px solid #e2e8f1;border-radius:4px;padding:6px 9px;color:#66768d}.module-open{margin-top:auto;width:100%;border-top:1px solid #e7ecf3;padding-top:23px;color:#0066ff;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.portal-footer{display:flex;justify-content:space-between;border-top:1px solid #e0e6ee;padding-top:24px;margin-top:50px;font-size:11px;color:#7a889b;gap:15px}.live-dot::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#35a57f;margin-right:8px}.crm-sidebar nav{overflow-y:auto}.crm-sidebar .workspace{margin-top:28px;margin-bottom:20px}.crm-sidebar .nav-item svg{width:19px;height:19px;flex-shrink:0}.crm-sidebar .nav-item{padding:11px 13px;min-height:41px}.crm-sidebar .module-back{margin-bottom:24px;border:1px solid #273448}.crm-sidebar .profile strong{max-width:170px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-main{min-width:0}.crm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:25px 0 28px}.crm-stat{border:1px solid #e2e7ee;border-radius:9px;padding:23px;background:#fff;display:flex;flex-direction:column;gap:13px;min-width:0}.crm-stat>span{font-size:12px;color:#6a7b8e}.crm-stat strong{font:600 clamp(22px,2.1vw,32px) 'Exo 2',Arial,sans-serif;letter-spacing:-.7px;color:#0a1220;overflow-wrap:anywhere}.crm-stat small{font-size:11px;color:#8b96a6}.crm-panel{background:white;border:1px solid #e1e7ee;border-radius:10px;overflow:hidden;margin-bottom:24px}.crm-panel-heading{padding:23px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.crm-panel-heading h2{font-size:18px;letter-spacing:-.3px;margin:0}.crm-panel-heading .eyebrow{font-size:9px;margin:0 0 9px}.crm-text-button{display:inline-flex;align-items:center;gap:8px;color:#0066ff;background:none;border:0;font-size:12px;padding:6px 0;text-align:left}.crm-text-button svg{width:15px;height:15px}.pipeline-summary{display:grid;grid-template-columns:repeat(5,1fr);padding:0 24px 22px;gap:12px}.pipeline-summary button{display:flex;flex-direction:column;gap:12px;text-align:left;background:#f7f9fc;border:1px solid #e7edf5;border-top:3px solid #b5cefb;border-radius:5px;padding:18px}.pipeline-summary button:hover{border-color:#0066ff}.pipeline-summary button>span{font-size:12px;color:#5c6d83}.pipeline-summary strong{font:600 28px 'Exo 2',Arial,sans-serif;color:#132138}.pipeline-summary small{font-size:11px;color:#75869c}.crm-panel-note{margin:0;background:#fafbfd;border-top:1px solid #e9edf4;padding:13px 24px;color:#718098;font-size:12px}.crm-panel-note strong{color:#314568}.crm-two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.crm-feed{display:flex;align-items:center;width:100%;border:0;border-top:1px solid #edf1f6;padding:18px 24px;gap:13px;background:white;text-align:left}.crm-feed:hover{background:#f8faff}.feed-icon{display:grid;place-items:center;width:35px;height:35px;background:#eef3fc;border-radius:8px;flex-shrink:0;color:#5784c9}.crm-feed strong{display:block;font-size:13px;line-height:1.5}.crm-feed small{display:block;font-size:11px;line-height:1.6;color:#8190a1;margin-top:5px}.feed-date{margin-left:auto;font-size:11px;color:#8491a3;white-space:nowrap}.feed-date.late{color:#b66b37}.crm-panel-link{width:100%;padding:17px 24px;display:flex;justify-content:space-between;align-items:center;color:#0066ff;border:0;border-top:1px solid #e8edf4;background:#fbfcfe;font-size:12px}.crm-empty{text-align:center;padding:36px 22px;color:#7d8c9f}.crm-empty>span{display:inline-flex;background:#eff4fd;padding:12px;color:#7499d5;border-radius:12px}.crm-empty svg{width:23px;height:23px}.crm-empty h3{color:#435774;font-size:15px;margin:18px 0 8px}.crm-empty p{font-size:12px;line-height:1.7;margin:0}.crm-toolbar{padding:21px 24px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.crm-toolbar .search{flex:1;max-width:470px}.crm-toolbar .search svg{height:20px;width:20px;flex-shrink:0}.crm-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-filters select{max-width:190px;border:1px solid #dfe6ee;border-radius:6px;padding:10px;font-size:12px;background:white;color:#5e6f86}.crm-filters .button{font-size:12px;padding:8px 12px}.crm-pagination{display:flex;align-items:center;gap:12px}.crm-pagination button{border:1px solid #dae2ed;background:white;border-radius:4px;padding:3px 9px;color:#52698b}.crm-badge{font-size:11px;padding:5px 8px;border-radius:5px;background:#eaf1ff;color:#4b6da1;display:inline-block}.crm-badge.positive{background:#eaf6ef;color:#347457}.crm-badge.negative{background:#fff1e9;color:#ad633d}.crm-board{display:flex;gap:14px;overflow:auto;background:#f9fbfe;padding:0 22px 24px}.crm-lane{flex:0 0 228px;min-width:0}.crm-lane>header{display:flex;justify-content:space-between;border-top:3px solid #9abdf8;padding:15px 2px 6px;margin-top:10px;font-size:12px;font-weight:600}.crm-lane>header>span:last-child{font-size:11px;color:#7e90a9}.crm-lane>small{display:block;color:#8291a6;font-size:11px;padding:3px 2px 15px}.opportunity-card{display:flex;flex-direction:column;text-align:left;gap:13px;width:100%;background:white;border:1px solid #e1e8f2;border-radius:7px;padding:17px;margin-bottom:12px}.opportunity-card:hover{border-color:#8eb2f1}.opportunity-card>small{font-size:10px;color:#8595aa}.opportunity-card>strong{font-size:13px;line-height:1.6;color:#203758}.opportunity-card>span{font:600 17px 'Exo 2',Arial,sans-serif}.opportunity-card footer{display:flex;justify-content:space-between;border-top:1px solid #edf1f6;padding-top:11px;color:#8a98ac;font-size:10px}.lane-empty{border:1px dashed #dbe3ef;padding:24px 12px;color:#96a3b4;text-align:center;font-size:11px;border-radius:6px}.crm-dialog{width:min(940px,calc(100% - 32px))}.crm-dialog h2{font-family:'Exo 2',Arial,sans-serif}.crm-dialog .dialog-body{max-height:70vh;overflow:auto}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.crm-form-grid .full{grid-column:1/-1}.crm-form-grid input[readonly]{background:#f3f6fb;color:#65809f}.crm-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.crm-detail-grid .full{grid-column:1/-1}.crm-detail-grid dt{font-size:11px;color:#8393a9;margin-bottom:8px}.crm-detail-grid dd{margin:0;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.crm-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.crm-detail-actions .button{font-size:12px;min-height:36px;padding:8px 12px;text-decoration:none}.crm-notice{padding:15px 18px;background:#edf3ff;border:1px solid #d8e5fb;border-radius:7px;color:#4e6b91;font-size:12px;line-height:1.7}.crm-related{margin-top:26px;border:1px solid #e0e7f1;border-radius:7px;overflow:hidden}.crm-related .crm-panel-heading{padding:18px}.crm-related h3{font-size:15px}.crm-related td{font-size:12px;padding:13px}.crm-related th{font-size:9px}.crm-related .button{font-size:12px;min-height:32px}.crm-upload{position:relative;overflow:hidden;cursor:pointer}.crm-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.crm-danger{color:#b3503d}.crm-loading{text-align:center;padding:100px 20px}.crm-loading h1{font-size:27px;margin-top:25px}.crm-loading p{font-size:14px;color:#6d819e;line-height:1.7}.crm-spinner{display:inline-block;width:32px;height:32px;border:3px solid #d8e6ff;border-top-color:#0066ff;border-radius:50%;animation:crm-spin .8s linear infinite}@keyframes crm-spin{to{transform:rotate(360deg)}}.doc-module-home{margin-bottom:15px!important;border:1px solid #2a3d5a!important}.doc-module-home svg{width:18px;height:18px;flex-shrink:0}
@media(max-width:1300px){.crm-stats{gap:12px}.crm-stat{padding:18px}.crm-two-col{gap:16px}.crm-panel-heading{padding:20px}.crm-panel-heading h2{font-size:16px}.pipeline-summary{padding:0 20px 20px;gap:8px}.pipeline-summary button{padding:13px 10px}}
@media(max-width:1100px){.crm-sidebar .nav-item>span{display:none}.crm-sidebar .module-back{margin:18px 0}.crm-sidebar .nav-label{display:none}.crm-sidebar nav{margin-top:12px}.doc-module-home>span{display:none}.crm-sidebar .workspace{display:none}}
@media(max-width:800px){.crm-stats{grid-template-columns:1fr 1fr}.crm-two-col{grid-template-columns:1fr}.portal-main{padding-top:35px}.portal-date{position:static;font-size:11px}.portal-welcome h1{font-size:40px}.module-card{padding:26px}.module-grid{gap:16px}.module-card>strong{font-size:32px}.portal-account{display:none}.crm-detail-grid{grid-template-columns:1fr 1fr}.pipeline-summary{overflow:auto;grid-template-columns:repeat(5,minmax(125px,1fr))}}
@media(max-width:600px){.portal-header{height:78px;padding:0 22px}.portal-header>img{width:205px}.portal-main{padding:30px 20px 20px}.portal-welcome{margin-bottom:26px}.portal-welcome>p:not(.eyebrow){font-size:14px}.module-grid{grid-template-columns:1fr}.module-icon{margin-bottom:22px}.module-card>strong{font-size:32px}.module-description{font-size:14px}.module-tags{margin-bottom:22px}.portal-footer{flex-direction:column;margin-top:28px;line-height:1.6}.crm-sidebar{position:static;flex-wrap:wrap;gap:8px;padding:10px!important;width:100%!important}.crm-sidebar .brand{width:32px}.crm-sidebar .logo-symbol{width:32px;height:32px}.crm-sidebar .module-back{margin:0;width:34px}.crm-sidebar nav{order:3;width:100%;display:flex;justify-content:space-between;margin:0;overflow:auto}.crm-sidebar .nav-item{width:34px;padding:8px;min-height:34px}.crm-sidebar .sidebar-bottom{display:flex;margin-left:auto}.crm-sidebar .sidebar-bottom .profile{display:none}.crm-form-grid{grid-template-columns:1fr}.crm-detail-grid{gap:18px}.crm-toolbar{padding:15px}.crm-toolbar .search{min-width:100%}.crm-filters{width:100%;gap:6px}.crm-filters select{min-width:0;max-width:100%;flex:1}.crm-dialog .dialog-body{padding:18px}.crm-stat strong{font-size:25px}.crm-stat>span{font-size:11px}.crm-stat small{line-height:1.5}.crm-main .page-heading .button{width:auto}.crm-sidebar~main{margin-left:0}.crm-feed{padding:16px}.feed-date{font-size:10px}}
.crm-dialog{overflow:hidden}.crm-dialog .dialog-body{max-height:calc(90svh - 180px)}.crm-upload{margin-bottom:0;white-space:nowrap}
.crm-module-shortcut{border-top:1px solid #2a3d5a;margin-top:12px;padding-top:12px}.crm-row-actions{display:flex;align-items:center;gap:18px;white-space:nowrap}
@media(max-width:600px){.crm-sidebar .crm-module-shortcut{order:4;width:100%;margin-top:2px;padding-top:8px}.crm-sidebar .crm-module-shortcut .nav-item{width:auto;gap:10px}.crm-sidebar .crm-module-shortcut .nav-item>span{display:inline}}
@media print{body.printing-quote> :not(#crm-dialog){display:none!important}body.printing-quote #crm-dialog{position:static!important;display:block!important;max-height:none!important;width:100%!important;max-width:none!important;border:0;margin:0;padding:0;overflow:visible!important}body.printing-quote #crm-dialog .dialog-header,body.printing-quote #crm-dialog .dialog-footer{display:none!important}body.printing-quote #customer-quote{max-height:none!important;overflow:visible!important;padding:0}body.printing-quote table{min-width:0!important;width:100%}body.printing-quote th,body.printing-quote td{white-space:normal!important;padding:8px;font-size:10pt}body.printing-quote tr{break-inside:avoid}body.printing-quote dialog::backdrop{background:none}}
.quote-number-header{margin:9px 0 0;color:#64758d;font-size:13px;font-weight:500}
.crm-related-actions{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.crm-related-actions>.button{min-height:40px;padding:9px 14px;line-height:20px}
.crm-related-actions>.button svg{width:20px;height:20px}
.crm-revision-controls{display:flex;align-items:flex-end;gap:16px;margin:0 0 20px;flex-wrap:wrap}.crm-revision-controls label{margin:0;flex:1;min-width:220px}.crm-revision-controls select{display:block;box-sizing:border-box;width:100%;height:43px;padding:10px;border:1px solid #dce3ed;border-radius:6px;background:white}
.crm-revision-controls>.button{height:43px;margin:0}
.crm-quote-followups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.crm-quote-followups>.crm-related{min-width:0}.crm-quote-followups .crm-panel-heading{flex-wrap:wrap}.crm-quote-followups .table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:700px){.crm-quote-followups{grid-template-columns:minmax(0,1fr);gap:0}}
.quote-file-content{padding:0 18px 18px}.quote-file-list{list-style:none;padding:0;margin:0}.quote-file-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e0e7f1}.quote-file-list li>span{overflow-wrap:anywhere;min-width:0}.quote-file-list li>div{display:flex;gap:8px;flex-shrink:0}.quote-file-list small{color:#718098}
@media(prefers-reduced-motion:reduce){.module-card{transition:none}.crm-spinner{animation:none}}
