/* Cobalt / ice accents; statuses use text as well as colour. */
.customer-stage-group{display:inline-flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:5px;max-width:100%}.customer-stage{--stage:#53647b;color:var(--stage);background:color-mix(in srgb,var(--stage) 9%,white);border:1px solid color-mix(in srgb,var(--stage) 16%,white);display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 9px;font-weight:650;white-space:nowrap;touch-action:manipulation}.customer-stage svg{width:12px;height:12px}.stage-low{--stage:#667085}.stage-review{--stage:#3261b3}.stage-high{--stage:#22766b}.stage-absent{--stage:#96731f}.stage-invalid{--stage:#95645a}.stage-meeting_expected{--stage:#6758a1}.stage-meeting_confirmed{--stage:#3554b2}.stage-meeting_completed{--stage:#22766b}.stage-contract{--stage:#286c88}.stage-closed{--stage:#666b78}.stage-new{--stage:#59718c}.stage-restriction{font-size:10px;color:#a13f36}.customer-stage:focus-visible,.stage-choice:has(input:focus-visible){outline:2px solid #3869c0;outline-offset:3px}.customer-stage:hover{filter:brightness(.97)}
.stage-dialog{width:min(440px,calc(100vw - 40px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dfe6f0;border-radius:18px;box-shadow:0 20px 70px #182c522b;overflow:auto}.stage-dialog[style*="left"]{margin:0;position:fixed}.stage-dialog::backdrop{background:#1b2a432b}.stage-dialog #modalBody{padding:24px}.stage-dialog .modal-head h2{font-size:19px}.stage-dialog .modal-sub{margin:8px 0 18px}.stage-context{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6a778a;margin-bottom:16px}.stage-context strong{color:#30445f}.stage-choices{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stage-choice{position:relative;cursor:pointer;border-radius:9px}.stage-choice input{position:absolute;opacity:0;width:1px;height:1px}.stage-choice span{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e2e7ef;border-radius:9px;font-size:12px;color:#536176;background:#fff}.stage-choice input:checked+span{border-color:#4771b6;background:#edf4ff;color:#244b8d;box-shadow:0 0 0 1px #4771b6;font-weight:700}.stage-choice input:disabled+span{opacity:.4;cursor:default}.stage-description{min-height:36px;line-height:1.5;font-size:12px;color:#758298;margin:13px 0 8px}.stage-dialog .field{width:100%;min-height:44px;font-size:14px;box-sizing:border-box}.stage-dialog .form-label{font-size:12px;margin:14px 0 6px}.stage-dialog textarea.field{min-height:72px}.stage-existing,.stage-warning{padding:12px;background:#f6f8fc;border:1px solid #e1e8f2;border-radius:10px;font-size:12px;line-height:1.6}.stage-existing p{margin:0;color:#536780}.stage-followup{margin-top:14px;border-top:1px solid #edf0f5;padding-top:12px;font-size:12px;color:#67788e}.stage-followup summary{cursor:pointer;padding:5px 0}.stage-followup p{font-size:11px}.stage-dialog .modal-footer{position:sticky;bottom:-24px;background:#fff;padding:16px 0 0;display:flex;gap:8px}.stage-dialog .modal-footer button{min-height:44px}.stage-dialog [hidden]{display:none!important}.customer-row{position:relative}.customer-open{background:none;border:0;text-align:left;color:inherit;padding:0;min-height:32px;cursor:pointer}.customer-open:after{content:'';position:absolute;inset:0}.customer-row .customer-stage-group{position:relative;z-index:1}.customer-row .row-top strong{overflow-wrap:anywhere}.customer-row .customer-stage-group{max-width:48%}.customer-row .customer-stage{font-size:11px}.contact-call{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px}.stage-pipeline-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 18px;max-width:100%}.stage-pipeline-tabs button{display:flex;gap:8px;align-items:center;min-height:42px;border:1px solid #e2e7ef;background:white;color:#637187;padding:9px 12px;border-radius:10px;white-space:nowrap;font-size:12px}.stage-pipeline-tabs button[aria-pressed=true]{background:#eaf1fc;color:#234d8c;border-color:#b9cceb;font-weight:700}.stage-pipeline-tabs strong{font-size:11px;opacity:.7}.stage-pipeline-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.stage-pipeline-grid .deal-card{margin:0;padding:20px}.stage-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-pipeline-grid .customer-link{font-size:17px;margin:14px 0 8px}.stage-card-meta{display:flex;justify-content:space-between;color:#7a8799;font-size:12px;margin-top:14px}.stage-pipeline-grid .stage-card-schedule{padding-top:12px;border-top:1px solid #edf0f5;margin-top:14px;font-size:12px;color:#657a99}.nc-filters{display:flex;gap:6px;margin:0 0 14px}.nc-filters button{background:#f5f7fa;border:0;border-radius:8px;min-height:40px;padding:8px 14px;color:#748096;font-size:12px}.nc-filters button[aria-pressed=true]{background:#e9f0fc;color:#2c558d;font-weight:700}
@media(max-width:700px){.stage-dialog,.stage-dialog[style*="left"]{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:90dvh;border-radius:22px 22px 0 0;border-bottom:0}.stage-dialog #modalBody{padding:24px 20px calc(20px + env(safe-area-inset-bottom))}.stage-dialog .modal-footer{bottom:calc(-20px - env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.stage-dialog .modal-footer .primary{flex:1}.stage-choices{gap:8px}.stage-choice span{min-height:46px}.customer-stage{min-height:36px}.stage-pipeline-tabs{flex-wrap:nowrap;overflow:auto;padding:2px 0 8px;scrollbar-width:none}.stage-pipeline-grid{grid-template-columns:1fr}.contact-line .action-buttons{display:flex;flex-wrap:wrap}.contact-call{min-height:44px}.customer-row .row-top{align-items:start}.customer-row .customer-stage-group{justify-content:flex-end}.stage-pipeline-grid .deal-card{padding:18px}}

.inbox-current-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;flex-wrap:wrap}.stage-dialog{padding:0!important}.stage-dialog .modal-footer{margin-top:18px}.stage-choices legend{font-size:12px;color:#607089;margin-bottom:8px}
@media(max-width:700px){.mobile-web dialog.stage-dialog,html.app-native dialog.stage-dialog,body dialog.stage-dialog{width:100%;max-width:100%;inset:auto 0 0;margin:0;max-height:90dvh;border-radius:22px 22px 0 0;padding:0}.stage-dialog #modalBody{padding:22px 20px calc(20px + env(safe-area-inset-bottom))}.stage-dialog .modal-footer{margin-top:18px}.stage-dialog .form-error:empty{display:none}}

/* v0.12.15.2: work-oriented desktop customer list. */
.pipeline-workspace .pipeline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.pipeline-toolbar .pipeline-search{width:min(440px,100%);margin:0}.pipeline-toolbar p{font-size:12px;color:#7c889b;margin:0}.pipeline-workspace .stage-pipeline-tabs{margin:16px 0}.pipeline-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-size:12px;color:#7b889a}.pipeline-list-heading .pipeline-summary{margin:0}.pipeline-list-heading strong{color:#384b66}.pipeline-table-wrap{background:#fff;border:1px solid #e2e7ef;border-radius:12px;overflow:auto}.pipeline-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px}.pipeline-table th{position:sticky;top:0;background:#f8fafd;color:#78869a;font-size:11px;font-weight:600;white-space:nowrap;padding:13px 14px;text-align:left;border-bottom:1px solid #e7ecf3}.pipeline-table td{padding:13px 14px;vertical-align:middle;border-bottom:1px solid #edf0f5;color:#607089;line-height:1.5;overflow-wrap:anywhere}.pipeline-table tr:last-child td{border-bottom:0}.pipeline-table tbody tr:hover{background:#f8fbff}.pipeline-table .customer-link{display:block;width:100%;text-align:left;font-size:13px;font-weight:650;line-height:1.45;padding:0;min-height:24px;color:#283a53;white-space:normal;overflow-wrap:anywhere}.pipeline-table .customer-link:focus-visible{outline:2px solid #3869c0;outline-offset:4px}.pipeline-table .customer-number{display:block;margin-top:3px;font-size:10px;color:#8a97a9}.pipeline-table .customer-stage-group{gap:4px}.pipeline-table .customer-stage{font-size:11px}.pipeline-next small{display:block;font-size:10px;color:#8a97a9;margin-top:2px}.pipeline-none{color:#a5afbe}.pipeline-table .pipeline-received,.pipeline-table .pipeline-next{font-variant-numeric:tabular-nums;font-size:11px}
@media(min-width:901px){.pipeline-table{min-width:940px}.pipeline-table-wrap{max-height:calc(100dvh - 340px);min-height:180px}}
@media(max-width:1100px){.pipeline-table td,.pipeline-table th{padding:12px 10px}.pipeline-toolbar p{display:none}}
@media(max-width:900px){.pipeline-table,.pipeline-table tbody{display:block;width:100%}.pipeline-table colgroup,.pipeline-table thead{display:none}.pipeline-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px;border-bottom:1px solid #e7ecf3}.pipeline-table tbody tr:last-child{border-bottom:0}.pipeline-table td{display:block;border:0;padding:0;font-size:12px;min-width:0}.pipeline-table .pipeline-customer{grid-column:1;grid-row:1}.pipeline-table .pipeline-customer .customer-link{font-size:14px;min-height:32px}.pipeline-table .pipeline-stage{grid-column:2;grid-row:1;max-width:130px;text-align:right}.pipeline-stage .customer-stage-group{justify-content:flex-end}.pipeline-table .pipeline-brand{grid-column:1;grid-row:2}.pipeline-table .pipeline-owner{grid-column:2;grid-row:2;text-align:right}.pipeline-table .pipeline-region,.pipeline-table .pipeline-channel,.pipeline-table .pipeline-received,.pipeline-table .pipeline-next{grid-column:1/-1;display:flex;align-items:baseline;gap:8px}.pipeline-table [data-label]:before{content:attr(data-label);color:#98a3b3;font-size:11px;flex:0 0 52px}.pipeline-table .pipeline-owner:before{margin-right:8px}.pipeline-next small{display:inline;margin:0}.pipeline-workspace .pipeline-toolbar{display:block}.pipeline-toolbar .pipeline-search{width:100%}.pipeline-workspace .stage-pipeline-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:6px}.pipeline-table-wrap{overflow:hidden}.pipeline-table .customer-stage{min-height:40px}}
