/* A readable commercial workflow within the OpsFlow demo. */
body[data-brand=opsflow]{--crm-line:#344a46;--crm-muted:#b3c7bd}
.crm-section{padding:28px;border-bottom:1px solid var(--crm-line)}
.crm-heading{display:flex;align-items:start;justify-content:space-between;gap:32px;margin-bottom:26px}
.crm-heading h2{font:500 clamp(23px,2.3vw,32px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.045em;margin:8px 0 12px;max-width:560px;color:#edf2ee}
.crm-heading p:not(.section-kicker){max-width:570px;font-size:13px;line-height:1.7;color:var(--crm-muted);margin:0}
.crm-total{flex-shrink:0;text-align:right;display:flex;flex-direction:column;gap:8px;padding-top:6px}
.crm-total strong{font:500 34px/1.1 Manrope,Arial,sans-serif;letter-spacing:-.06em;color:#c3deb8;font-variant-numeric:tabular-nums}
.crm-total span{font-size:12px;color:var(--crm-muted)}
.crm-pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.crm-stage{min-width:0;background:#111d20;border:1px solid var(--crm-line);padding:14px}
.crm-stage>h3{font-size:12px;line-height:1.5;font-weight:600;display:flex;align-items:center;gap:8px;color:#dbe9df;margin:2px 0 16px}
.crm-stage>h3>span:last-child{margin-left:auto;color:var(--crm-muted);font-variant-numeric:tabular-nums}
.crm-stage-dot{width:7px;height:7px;border-radius:50%;background:#b0c3cc;flex-shrink:0}
.crm-stage-1{background:#dec49a}.crm-stage-2{background:#a8b4df}.crm-stage-3{background:#b5d3a7}
.crm-opportunity{background:#1b2a2d;border:1px solid #3c524b;padding:16px;margin-top:12px;overflow-wrap:anywhere}
.crm-client{display:flex;align-items:start;justify-content:space-between;gap:10px;width:100%;border:0;background:none;color:#edf2ee;text-align:left;padding:0;min-height:44px;font:600 13px/1.55 Manrope,Arial,sans-serif;cursor:pointer}
.crm-client span{color:#b6cdbd}
.crm-value{display:block;font-size:23px;line-height:1.2;font-weight:500;letter-spacing:-.04em;margin:12px 0;color:#e5ece7;font-variant-numeric:tabular-nums}
.crm-opportunity p{font-size:12px;line-height:1.65;color:var(--crm-muted);margin:10px 0 12px;min-height:40px}
.crm-date{display:block;color:#cfdfd4;font-size:11px;line-height:1.6;margin-bottom:14px}
.crm-edit{display:block;width:100%;min-height:44px;text-align:left;background:transparent;border:0;border-top:1px solid #3c524b;color:#d0e2c7;padding:12px 0 0;font:600 11px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.crm-stage-empty{font-size:12px;line-height:1.7;color:var(--crm-muted);margin:0;padding:20px 4px}
.crm-scope{font-size:11px;line-height:1.8;color:var(--crm-muted);margin:20px 0 0}
.crm-register-heading{padding:26px 26px 18px;border-bottom:1px solid var(--crm-line)}
.crm-register-heading h2{font:500 23px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;margin:6px 0 0;color:#e5ece7}
.crm-client:hover,.crm-edit:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.crm-client:focus-visible,.crm-edit:focus-visible{outline:2px solid #c3deb8;outline-offset:4px}
.crm-detail{margin:24px 0;padding:22px;background:#e4eadf;border:1px solid #bac8b2}
.crm-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.crm-detail-heading h3{margin:0!important;font-size:18px}
.crm-detail .detail-list{margin:16px 0}
.crm-detail .detail-list>div{border-color:#c3cebd}
.crm-note{padding:12px 0;border-top:1px solid #bcc9b6;line-height:1.75;color:#334735;white-space:pre-wrap;overflow-wrap:anywhere}
.crm-history{margin-top:18px;border-top:1px solid #bdcbb5;padding-top:14px;color:#334735;font-size:13px}
.crm-history summary{cursor:pointer;min-height:40px;padding:8px 0;font-weight:600}
.crm-history ol{list-style:none;padding:0;margin:4px 0 0}
.crm-history li{padding:12px 0;border-top:1px solid #c9d2c3;display:flex;flex-direction:column;gap:5px;line-height:1.6}
.crm-history time{font-size:11px;color:#52634c}
#crm-form textarea{font:14px/1.65 Manrope,Arial,sans-serif;resize:vertical;min-height:100px;width:100%}
.modal-actions{flex-wrap:wrap}
.modal .crm-detail .badge{background:#cbdcbe;color:#24351b}
@media(max-width:1150px){.crm-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-heading{gap:24px}.crm-heading h2{font-size:27px}.crm-total strong{font-size:30px}}
@media(max-width:760px){.crm-section{padding:22px 16px}.crm-heading{display:block;margin-bottom:22px}.crm-heading h2{font-size:27px}.crm-heading p:not(.section-kicker){font-size:12px}.crm-total{padding:18px 0 0;text-align:left;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:8px 16px}.crm-total strong{font-size:29px}.crm-pipeline{grid-template-columns:minmax(0,1fr);gap:16px}.crm-stage{padding:16px}.crm-stage>h3{font-size:13px}.crm-opportunity{padding:18px}.crm-client{font-size:14px;min-height:38px}.crm-value{font-size:25px;margin:8px 0}.crm-opportunity p{min-height:0;font-size:13px}.crm-date,.crm-edit,.crm-scope{font-size:12px}.crm-register-heading{padding:24px 24px 18px}.crm-detail{padding:18px 14px}.crm-detail-heading{align-items:start}.crm-detail .modal-actions{display:grid;grid-template-columns:minmax(0,1fr)}.crm-detail .button{text-align:left;white-space:normal;height:auto;min-height:44px}}

/* The portfolio enquiry is distinct from the local CRM demonstration. */
body[data-brand=opsflow] .demo-bar{min-height:44px;height:auto;gap:16px;flex-wrap:wrap;padding-block:8px}body[data-brand=opsflow] .demo-commercial-link{color:#dcebd8;text-decoration:underline;text-underline-offset:4px;min-height:28px;display:inline-flex;align-items:center;margin-left:auto;font-size:12px}body[data-brand=opsflow] .demo-commercial-link:focus-visible{outline:2px solid #dcebd8;outline-offset:3px}@media(max-width:620px){body[data-brand=opsflow] .demo-bar{gap:6px 12px;font-size:11px}body[data-brand=opsflow] .demo-bar>span{order:3;width:100%;text-align:right}body[data-brand=opsflow] .demo-commercial-link{font-size:11px}}
