.notification-center{--nc-border: #dfe2e1;--nc-text: #202224;--nc-green-dark: #176b4b;--nc-green-soft: #eef8f3;--nc-red: #b42318;position:relative;display:inline-flex;color:var(--nc-text)}.notification-center__trigger{position:relative;display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid var(--nc-border);border-radius:7px;background:#fff;color:#4f5459;font:inherit;cursor:pointer}.notification-center__trigger:hover,.notification-center__trigger.is-active{border-color:#9ccbb7;background:var(--nc-green-soft);color:var(--nc-green-dark)}.notification-center__trigger:focus-visible{outline:2px solid #68ad90;outline-offset:2px}.notification-center__badge{position:absolute;top:-6px;right:-7px;display:inline-grid;min-width:19px;height:19px;padding:0 5px;place-items:center;border:2px solid #fff;border-radius:10px;background:var(--nc-red);color:#fff;font-size:10px;font-weight:750;line-height:1}*{box-sizing:border-box}.drawer.opportunity-drawer{width:min(1180px,100vw)}.commercial-model-editor{grid-column:1 / -1;min-width:0;overflow:hidden;border:1px solid #d8dcda;border-left:4px solid #277a5b;border-radius:2px;background:#fff}.commercial-model-editor-head,.opportunity-commercial-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:8px 14px;border-bottom:1px solid #e4e7e5}.commercial-model-title,.opportunity-commercial-detail-head>div{display:flex;align-items:center;gap:10px;min-width:0}.commercial-section-icon{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border:1px solid #b9d8ca;color:#277a5b}.commercial-model-title h3,.opportunity-commercial-detail-head h3{margin:0;color:#343a37;font-size:14px;font-weight:750;line-height:1.2}.commercial-model-title p,.opportunity-commercial-detail-head p{margin:2px 0 0;color:#777d7a;font-size:11px;line-height:1.25}.commercial-summary-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;border-bottom:1px solid #e4e7e5;background:#fafbfa}.commercial-summary-metrics>div{min-width:0;padding:9px 12px 8px;border-right:1px solid #e4e7e5}.commercial-summary-metrics>div:last-child{border-right:0}.commercial-summary-metrics dt{overflow:hidden;color:#727875;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-summary-metrics dd{margin:3px 0 0;color:#242927;font-size:15px;font-weight:720;line-height:1.2;white-space:nowrap}.commercial-summary-metrics small{display:block;overflow:hidden;margin-top:2px;color:#929794;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-summary-metrics .is-weighted{box-shadow:inset 0 -2px #4b83e6}.commercial-summary-metrics .is-negative dd{color:#b42318}.commercial-readiness{display:grid;gap:7px;padding:8px 12px 9px;border-bottom:1px solid #ead7bc;background:#fffaf2;color:#5d4930}.commercial-readiness.is-ready{border-bottom-color:#cfe1d8;background:#f6faf8;color:#385346}.commercial-readiness>header,.commercial-readiness>header>div{display:flex;align-items:center;gap:7px}.commercial-readiness>header{justify-content:space-between}.commercial-readiness>header svg{color:#b56b18}.commercial-readiness.is-ready>header svg{color:#277a5b}.commercial-readiness>header strong{font-size:12px}.commercial-readiness>p{margin:0;color:#665d52;font-size:11px;line-height:1.35}.commercial-readiness-checks{display:flex;min-width:0;flex-wrap:wrap;gap:5px}.commercial-readiness-check{display:grid;min-width:148px;grid-template-columns:7px minmax(0,1fr);gap:0 6px;padding:4px 7px;border:1px solid #ead0a8;border-radius:5px;background:#fff}.commercial-readiness-check>i{width:7px;height:7px;align-self:center;grid-row:1 / 3;border-radius:50%;background:#ca701d}.commercial-readiness-check.is-complete{border-color:#cfe1d8}.commercial-readiness-check.is-complete>i{background:#27805f}.commercial-readiness-check b,.commercial-readiness-check small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commercial-readiness-check b{color:#414844;font-size:10.5px}.commercial-readiness-check small,.commercial-readiness-rule{color:#7e7a74;font-size:10px;line-height:1.25}.commercial-readiness-rule{display:block}.commercial-add-commands{display:flex;align-items:center;gap:4px;padding:7px 10px;border-bottom:1px solid #e4e7e5}.commercial-add-command{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 9px;border:0;border-right:1px solid #e4e7e5;background:transparent;color:#4b514e;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.commercial-add-command:last-child{border-right:0}.commercial-add-command.is-work svg:first-child{color:#356bc4}.commercial-add-command.is-income svg:first-child{color:#21825d}.commercial-add-command.is-expense svg:first-child{color:#ba6423}.commercial-add-command.is-subcontract svg:first-child{color:#c87935}.commercial-add-command.is-relation svg:first-child{color:#65706b}.commercial-add-command:hover,.commercial-add-command:focus-visible{background:#f2f5f3;color:#181b19;outline:none}.commercial-editor-ledger{min-width:0;overflow-x:auto}.commercial-editor-columns,.commercial-editor-row{display:grid;grid-template-columns:112px 158px minmax(150px,1fr) 88px 145px 122px 145px 34px;align-items:center;min-width:1040px}.commercial-editor-entry{--commercial-row-accent: #356bc4;min-width:1040px;border-bottom:1px solid #e4e7e5;border-left:3px solid var(--commercial-row-accent);background:#fff}.commercial-editor-entry:last-child{border-bottom:0}.commercial-editor-entry.is-income{--commercial-row-accent: #21825d}.commercial-editor-entry.is-expense{--commercial-row-accent: #ba6423}.commercial-editor-entry.is-subcontract{--commercial-row-accent: #c87935}.commercial-editor-entry.is-relation{--commercial-row-accent: #65706b}.commercial-editor-columns{min-height:28px;padding:0 8px;border-bottom:1px solid #e4e7e5;background:#f5f6f5;color:#777d7a;font-size:10px;line-height:1.2}.commercial-editor-columns span{min-width:0;padding:0 5px}.commercial-editor-row{--commercial-row-accent: #356bc4;align-items:start;gap:0;min-height:47px;padding:6px 8px 6px 5px;border:0}.commercial-editor-row:last-child{border-bottom:0}.commercial-editor-row.is-income{--commercial-row-accent: #21825d}.commercial-editor-row.is-expense{--commercial-row-accent: #ba6423}.commercial-editor-row.is-subcontract{--commercial-row-accent: #c87935}.commercial-editor-row.is-relation{--commercial-row-accent: #65706b}.commercial-editor-row>*{min-width:0;margin:0 4px}.commercial-editor-row input,.commercial-editor-row select{width:100%;min-width:0;height:31px;min-height:31px;padding:3px 8px;border:1px solid #d7dbd9;border-radius:4px;background:#fff;color:#303532;font:inherit;font-size:14px}.commercial-editor-row .select-wrap select{padding-right:25px}.commercial-editor-row .select-wrap svg{right:7px;width:12px;height:12px}.commercial-editor-row input:focus,.commercial-editor-row select:focus{border-color:#4a9b79;outline:2px solid rgba(74,155,121,.13);outline-offset:0}.commercial-base-control,.commercial-value-control{display:grid;gap:3px}.commercial-base-control input{height:27px;min-height:27px}.commercial-value-control label{position:relative;display:block}.commercial-value-control label input{padding-right:23px}.commercial-value-control label span{position:absolute;top:50%;right:8px;color:#777d7a;font-size:10px;transform:translateY(-50%)}.commercial-value-control small{overflow:hidden;padding-left:2px;color:#525854;font-size:10px;font-weight:650;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.commercial-not-applicable{padding-left:8px;color:#a1a6a3}.commercial-editor-row .icon-button{width:30px;min-width:30px;height:30px;margin:0 0 0 3px}.commercial-editor-row .commercial-participation-comment{grid-column:5 / 8}.commercial-schedule-summary{display:grid;grid-template-columns:minmax(168px,.72fr) minmax(205px,1fr) minmax(250px,auto) minmax(150px,auto);align-items:center;gap:10px;min-height:34px;padding:3px 12px 3px 9px;border-top:1px solid #edf0ee;background:#fafbfa;color:#737976;font-size:11.5px;line-height:1.2}.commercial-schedule-summary.is-mismatch{background:#fff9f7}.commercial-schedule-toggle{display:inline-flex;align-items:center;justify-self:start;gap:6px;min-width:0;padding:3px 5px 3px 0;border:0;background:transparent;color:#343a37;font:inherit;font-weight:720;cursor:pointer}.commercial-schedule-toggle svg{flex:0 0 auto;color:var(--commercial-row-accent);transition:transform .14s ease}.commercial-schedule-toggle svg.is-open{transform:rotate(180deg)}.commercial-schedule-toggle:hover,.commercial-schedule-toggle:focus-visible{color:#176346;outline:none}.commercial-schedule-date,.commercial-schedule-distributed{display:inline-flex;align-items:center;min-width:0;gap:5px;white-space:nowrap}.commercial-schedule-date{overflow:hidden;text-overflow:ellipsis}.commercial-schedule-date svg{flex:0 0 auto;color:#8a908d}.commercial-schedule-distributed{justify-self:end;font-variant-numeric:tabular-nums}.commercial-schedule-distributed strong{color:#343a37;font-weight:720}.commercial-schedule-balance{justify-self:end;color:#277a5b;font-size:11.5px;font-weight:720;white-space:nowrap}.commercial-schedule-summary.is-mismatch .commercial-schedule-balance{color:#b42318}.commercial-schedule-editor{padding:0 10px 7px 30px;border-top:1px solid #e7eae8;background:#fafbfa}.commercial-schedule-columns,.commercial-schedule-row{display:grid;grid-template-columns:30px minmax(150px,1.15fr) 132px 125px minmax(160px,1.25fr) 32px;align-items:center;gap:7px}.commercial-schedule-columns{min-height:24px;color:#858b88;font-size:10.5px;line-height:1.15}.commercial-schedule-row{min-height:39px;padding:4px 0;border-top:1px solid #ecefed}.commercial-schedule-row:first-of-type{border-top:0}.commercial-schedule-number{color:var(--commercial-row-accent);font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}.commercial-schedule-row input{width:100%;min-width:0;height:29px;padding:3px 7px;border:1px solid #d7dbd9;border-radius:4px;background:#fff;color:#303532;font:inherit;font-size:14px}.commercial-schedule-row input:focus{border-color:#4a9b79;outline:2px solid rgba(74,155,121,.13);outline-offset:0}.commercial-schedule-row .icon-button{width:29px;min-width:29px;height:29px}.commercial-schedule-row .icon-button:disabled{cursor:not-allowed;opacity:.32}.commercial-schedule-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding-top:5px;border-top:1px solid #e7eae8;color:#858b88;font-size:10.5px}.commercial-editor-empty,.commercial-detail-empty,.commercial-model-state{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 14px;color:#777d7a;font-size:12px}.commercial-model-state.is-error{color:#9f2d24;background:#fff8f7}.opportunity-commercial-detail{border-top:2px solid #c3cac6;border-bottom:2px solid #c3cac6;background:#fff}.opportunity-commercial-detail-head{min-height:45px;padding-right:20px;padding-left:20px}.opportunity-commercial-detail-head-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px}.commercial-quick-add{position:relative}.commercial-quick-add-trigger{min-height:28px;gap:5px;padding:3px 8px;font-size:11.5px}.commercial-quick-add-menu{position:absolute;top:calc(100% + 5px);right:0;z-index:24;display:grid;width:228px;padding:4px;border:1px solid #d8dcda;border-radius:4px;background:#fff;box-shadow:0 12px 28px #18181b29}.commercial-quick-add-option{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;gap:7px;min-height:34px;padding:6px 8px;border:0;border-radius:3px;background:transparent;color:#3f4542;font:inherit;font-size:12px;font-weight:650;text-align:left;cursor:pointer}.commercial-quick-add-option>svg:last-child{color:#999f9c}.commercial-quick-add-option.is-work>svg:first-child{color:#356bc4}.commercial-quick-add-option.is-income>svg:first-child{color:#21825d}.commercial-quick-add-option.is-expense>svg:first-child{color:#ba6423}.commercial-quick-add-option.is-relation>svg:first-child{color:#65706b}.commercial-quick-add-option.is-external-agreement>svg:first-child{color:#7358c7}.commercial-quick-add-separator{height:1px;margin:3px 6px;background:#e5e1f2}.commercial-quick-add-option:hover,.commercial-quick-add-option:focus-visible{background:#f2f5f3;color:#181b19;outline:none}.drawer.commercial-model-quick-drawer{width:min(1180px,100vw)}.commercial-model-quick-drawer .drawer-head{padding:14px 16px}.commercial-model-quick-drawer .drawer-head h2{font-size:18px}.commercial-model-quick-form{display:grid;gap:10px;padding:14px}.commercial-model-quick-form>.form-error{margin:0}.commercial-model-quick-actions{position:sticky;bottom:0;z-index:2;margin:0 -14px -14px;padding:10px 14px;border-top:1px solid #e4e7e5;background:#fffffff5}.opportunity-commercial-detail-head>div{gap:8px}.opportunity-commercial-detail-head .commercial-section-icon{flex-basis:16px;width:16px;height:18px;border:0}.opportunity-commercial-detail-head .commercial-section-icon svg{width:16px;height:16px}.opportunity-commercial-detail .commercial-summary-metrics.is-compact{grid-template-columns:repeat(6,minmax(0,1fr))}.opportunity-commercial-detail .commercial-summary-metrics.is-compact>div{padding:7px 12px 6px}.opportunity-commercial-detail .commercial-summary-metrics.is-compact dd{font-size:14px}.commercial-table-scroll{width:100%;overflow:auto;border-top:1px solid var(--crm-surface-strong);border-bottom:1px solid var(--crm-surface-strong);background:#fff}.commercial-finance-table{background:#fff}.commercial-finance-table th,.commercial-finance-table td{border-right:1px solid #eceeed}.commercial-finance-table th:last-child,.commercial-finance-table td:last-child{border-right:0}.commercial-finance-table tbody tr.commercial-finance-row>td{height:30px;padding:4px 8px;color:#3f3f46;font-size:13px;font-weight:400;line-height:1.2;background:#fff}.commercial-finance-table tbody tr.commercial-finance-row.is-expandable{cursor:pointer}.commercial-finance-table tbody tr.commercial-finance-row.is-expandable:hover>td,.commercial-finance-table tbody tr.commercial-finance-row.is-expanded>td{background:#fafbfa}.commercial-finance-table tbody tr.commercial-finance-row:focus-visible{outline:2px solid #4b83e6;outline-offset:-2px}.commercial-table-cell-content{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commercial-table-direction{display:flex;min-width:0;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commercial-table-flow-indicator{display:inline-grid;width:18px;height:18px;flex:0 0 18px;place-items:center;border:1px solid currentColor;border-radius:5px;background:#fff}.commercial-table-flow-indicator.is-income{color:#21825d}.commercial-table-flow-indicator.is-expense{color:#ba6423}.commercial-table-direction-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commercial-table-chevron{flex:0 0 auto;transition:transform .12s ease}.commercial-table-chevron.is-expanded{transform:rotate(90deg)}.commercial-finance-table td[data-column-key=amount],.commercial-finance-table th[data-column-key=amount]{text-align:right}.commercial-table-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.commercial-finance-table tfoot td{height:31px;padding:4px 8px;border-top:1px solid #dce5df;background:#f8fbf9;color:#27272a;font-size:13px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.commercial-schedule-expanded-row>td{padding:0!important;background:#fff!important}.commercial-schedule-table{width:100%;table-layout:fixed;border-collapse:collapse;background:#fff}.commercial-schedule-table th,.commercial-schedule-table td{height:28px;padding:3px 8px;overflow:hidden;border-top:1px solid #eceeed;border-right:1px solid #f0f1f0;color:var(--crm-text-secondary);font-size:12px;font-weight:400;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-schedule-table th{height:29px;background:var(--crm-surface-muted);color:var(--crm-text-secondary);font-weight:600}.commercial-schedule-table th:first-child,.commercial-schedule-table td:first-child{width:54px;padding-left:18px}.commercial-schedule-table th:nth-child(3),.commercial-schedule-table td:nth-child(3){width:120px}.commercial-schedule-table th:nth-child(4),.commercial-schedule-table td:nth-child(4){width:150px;text-align:right;font-variant-numeric:tabular-nums}.commercial-detail-ledger{display:grid}.commercial-detail-row{--commercial-row-accent: #356bc4;display:grid;grid-template-columns:minmax(135px,.8fr) minmax(190px,1.35fr) minmax(160px,.9fr) minmax(110px,.55fr) 24px;align-items:center;min-height:45px;padding:6px 20px 6px 16px;border-bottom:1px solid #eceeed;border-left:4px solid var(--commercial-row-accent)}.commercial-detail-row:last-child{border-bottom:0}.commercial-detail-row.is-income{--commercial-row-accent: #21825d}.commercial-detail-row.is-expense{--commercial-row-accent: #ba6423}.commercial-detail-row.is-subcontract{--commercial-row-accent: #c87935}.commercial-detail-row.is-relation{--commercial-row-accent: #65706b}.external-agreements{margin:10px;border:1px solid #dfe4e1;border-left:4px solid #7b6ac8;background:#fff}.project-economics-sheet>.external-agreements{margin:0;border-right:0;border-left-width:4px}.external-agreements-head,.external-agreements-head>div:first-child{display:flex;align-items:center;gap:10px}.external-agreements-head{justify-content:space-between;min-height:48px;padding:7px 10px;border-bottom:1px solid #e7e9e8;background:#fbfaff}.external-agreements-icon{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d8d0f3;color:#6f5cc2}.external-agreements h3{margin:0;font-size:13px;line-height:1.2}.external-agreements p{margin:2px 0 0;color:#737a76;font-size:11px}.external-agreements-hint,.external-agreements-empty{padding:10px 12px;color:#7b817e;font-size:12px}.external-agreements-columns,.external-agreement-row{display:grid;grid-template-columns:150px 150px minmax(210px,1fr) 230px 135px 130px 32px;align-items:center;min-width:1040px}.external-agreements-table{overflow-x:auto}.external-agreements-registry-table{background:#fff}.external-agreements-registry-table th,.external-agreements-registry-table td{border-right:1px solid rgba(63,82,73,.08)}.external-agreements-registry-table th:last-child,.external-agreements-registry-table td:last-child{border-right:0}.external-agreements-registry-table tbody tr.external-agreement-registry-row,.external-agreements-registry-table tbody tr.external-agreement-registry-row>td{height:30px}.external-agreements-registry-table tbody tr.external-agreement-registry-row>td{padding:0 8px;color:#3f3f46;font-size:13px;font-weight:400;line-height:1.2;background:#fff}.external-agreements-registry-table tbody tr.external-agreement-registry-row:hover>td{background:#fafbfa}.external-agreement-table-cell{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.external-agreements-registry-table :is(th,td)[data-column-key=amount]{text-align:right;font-variant-numeric:tabular-nums}.external-agreements-registry-table :is(th,td)[data-column-key=due_date],.external-agreements-registry-table :is(th,td)[data-column-key=status]{text-align:center}.external-agreements-registry-table td[data-column-key=status] .badge{display:inline-flex;min-height:18px;padding:1px 6px;border-radius:5px;font-size:11px;line-height:1}.external-agreements-columns{min-height:28px;padding:0 7px;border-bottom:1px solid #e7e9e8;background:#f6f5fa;color:#777d7a;font-size:10px}.external-agreements-columns span,.external-agreement-row>*{min-width:0;margin:0 4px}.external-agreement-entry{min-width:1040px;border-bottom:1px solid #e7e9e8}.external-agreement-row{min-height:48px;padding:5px 7px}.external-agreement-subject,.external-agreement-calculation{display:grid;grid-template-columns:92px minmax(100px,1fr);gap:4px}.external-agreement-calculation{grid-template-columns:80px minmax(64px,1fr) minmax(64px,1fr)}.external-agreement-meta{display:flex;align-items:center;gap:12px;padding:0 42px 6px 11px}.external-agreement-meta input{flex:1}.external-agreement-meta .link-button{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.external-agreement-term{display:grid;grid-template-columns:34px minmax(180px,1fr) 130px 145px minmax(180px,1fr) 32px;align-items:center;gap:4px;min-height:38px;padding:4px 11px 4px 22px;border-top:1px dashed #e2dff0;background:#faf9fd;font-size:11px}.external-agreement-readonly{display:grid;grid-template-columns:minmax(120px,.8fr) 22px minmax(120px,.8fr) minmax(220px,1.3fr) 150px 110px 105px auto;align-items:center;gap:8px;min-height:42px;padding:6px 12px;border-bottom:1px solid #eceeed;color:#454b48;font-size:12px}.external-agreement-readonly:last-child{border-bottom:0}.external-agreement-arrow{color:#7b6ac8}.external-agreement-readonly small{color:#808683;white-space:nowrap}.commercial-detail-row.is-expandable{cursor:pointer}.commercial-detail-row.is-expandable:hover,.commercial-detail-row.is-expandable.is-expanded{background:#f7f9f8}.commercial-detail-row.is-expandable:focus-visible{outline:2px solid #4b83e6;outline-offset:-2px}.commercial-detail-kind,.commercial-detail-party,.commercial-detail-formula{min-width:0}.commercial-detail-kind{display:flex;align-items:center;gap:7px;color:#4b514e;font-size:12px;font-weight:700}.commercial-detail-kind svg{flex:0 0 auto;color:var(--commercial-row-accent)}.commercial-detail-party,.commercial-detail-formula{display:grid;gap:2px;padding-right:16px}.commercial-detail-party strong,.commercial-detail-amount{overflow:hidden;color:#282d2a;font-size:12px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-detail-party span,.commercial-detail-formula span,.commercial-detail-formula small{overflow:hidden;color:#777d7a;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-detail-party span{font-size:12px}.commercial-detail-formula small{color:#9a6a42}.commercial-detail-formula .commercial-detail-schedule{display:inline-flex;align-items:center;gap:4px;color:#65706b}.commercial-detail-schedule svg{flex:0 0 auto;color:#277a5b}.commercial-detail-amount{justify-self:end;font-variant-numeric:tabular-nums}.commercial-detail-expand-icon{display:grid;width:24px;height:24px;place-items:center;color:#656c68}.commercial-detail-expand-icon svg{transition:transform .12s ease}.commercial-detail-row.is-expanded .commercial-detail-expand-icon svg{transform:rotate(180deg)}.commercial-detail-stages{--commercial-row-accent: #356bc4;position:relative;padding:0 20px 0 48px;border-bottom:1px solid #dde2df;border-left:4px solid var(--commercial-row-accent);background:#fbfcfb}.commercial-detail-stages.is-income{--commercial-row-accent: #21825d}.commercial-detail-stages.is-expense{--commercial-row-accent: #ba6423}.commercial-detail-stages.is-relation{--commercial-row-accent: #65706b}.commercial-detail-stages:before{position:absolute;top:0;bottom:0;left:31px;width:1px;background:color-mix(in srgb,var(--commercial-row-accent) 30%,transparent);content:""}.commercial-detail-stage{display:grid;grid-template-columns:34px minmax(180px,1.4fr) minmax(120px,.7fr) minmax(115px,.6fr);align-items:center;min-height:42px;padding:5px 0;border-top:1px solid #e7eae8}.commercial-detail-stage:first-child{border-top:0}.commercial-detail-stage.is-unallocated{background:#f7f9f8}.commercial-detail-stage.is-unallocated .commercial-detail-stage-index,.commercial-detail-stage.is-unallocated .commercial-detail-stage-title strong,.commercial-detail-stage.is-unallocated .commercial-detail-stage-date strong{color:#737b76}.commercial-detail-stage-index{color:var(--commercial-row-accent);font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}.commercial-detail-stage-title,.commercial-detail-stage-date,.commercial-detail-stage-amount{display:grid;min-width:0;gap:1px;padding-right:16px}.commercial-detail-stage-title strong,.commercial-detail-stage-date strong,.commercial-detail-stage-amount strong{overflow:hidden;color:#303532;font-size:12px;font-weight:680;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-detail-stage-title small,.commercial-detail-stage-date span,.commercial-detail-stage-amount span{overflow:hidden;color:#858b87;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.commercial-detail-stage-amount{padding-right:0;text-align:right}.commercial-detail-stage-amount strong{font-variant-numeric:tabular-nums}@media(max-width:1100px){.commercial-summary-metrics,.opportunity-commercial-detail .commercial-summary-metrics.is-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.commercial-summary-metrics>div:nth-child(3){border-right:0}.commercial-summary-metrics>div:nth-child(-n+3){border-bottom:1px solid #e4e7e5}.commercial-detail-row{grid-template-columns:minmax(125px,.75fr) minmax(170px,1.25fr) minmax(145px,.9fr) minmax(105px,.55fr) 24px}}@media(max-width:700px){.commercial-model-editor-head,.opportunity-commercial-detail-head{align-items:flex-start}.commercial-summary-metrics,.opportunity-commercial-detail .commercial-summary-metrics.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-summary-metrics>div:nth-child(3){border-right:1px solid #e4e7e5}.commercial-summary-metrics>div:nth-child(2n){border-right:0}.commercial-summary-metrics>div:nth-child(-n+4){border-bottom:1px solid #e4e7e5}.commercial-add-commands{align-items:stretch;flex-direction:column}.commercial-add-command{justify-content:flex-start;border-right:0}.commercial-detail-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding-left:12px}.commercial-detail-party,.commercial-detail-formula{grid-column:1 / -1;padding:0}.commercial-detail-amount{grid-column:2;grid-row:1}.commercial-detail-expand-icon{grid-column:2;grid-row:2;justify-self:end}.commercial-detail-stages{padding-right:12px;padding-left:34px}.commercial-detail-stages:before{left:21px}.commercial-detail-stage{grid-template-columns:28px minmax(0,1fr) auto;gap:4px 8px}.commercial-detail-stage-date{grid-column:2}.commercial-detail-stage-amount{grid-column:3;grid-row:1 / span 2;align-self:center}}:root{--crm-background: #f4f4f5;--crm-surface: #ffffff;--crm-surface-muted: #fafafa;--crm-surface-strong: #e4e4e7;--crm-text: #18181b;--crm-text-secondary: #52525b;--crm-text-muted: #68686f;--crm-brand: #059669;--crm-primary: #047857;--crm-primary-pressed: #065f46;--crm-primary-soft: #ecfdf5;--crm-border: #d4d4d8;--crm-success: #047857;--crm-success-soft: #ecfdf5;--crm-warning: #b45309;--crm-warning-soft: #fffbeb;--crm-danger: #b91c1c;--crm-danger-soft: #fef2f2;--crm-overlay: rgba(24, 24, 27, .48);--entity-link-underline-color: #69ae99;--entity-link-underline-height: 1px;--entity-link-underline-opacity: .62;scrollbar-gutter:stable;color:var(--crm-text);background:var(--crm-background);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{margin:0;min-width:320px;min-height:100vh;background:var(--crm-background)}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app{display:flex;min-height:100vh;color:var(--crm-text)}.sidebar{display:flex;width:260px;flex:0 0 260px;flex-direction:column;border-right:1px solid var(--crm-border);background:var(--crm-surface-muted)}.brand{display:flex;align-items:center;gap:12px;min-height:66px;padding:0 18px;border-bottom:1px solid var(--crm-surface-strong)}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:var(--crm-brand);color:#fff;font-size:13px;font-weight:800}.brand-logo{display:block;width:38px;height:38px;flex:0 0 38px;object-fit:contain}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{margin-top:2px;color:var(--crm-text-muted);font-size:12px}.nav{display:grid;gap:4px;padding:14px 10px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--crm-text-secondary);cursor:pointer;text-align:left;white-space:nowrap;transition:background-color .15s ease,color .15s ease}@media(min-width:1101px)and (max-width:1600px){.sidebar{width:228px;flex-basis:228px}.brand{gap:10px;padding-inline:12px}.nav{padding-inline:8px}.nav-item{gap:9px;padding-inline:9px}}.nav-item:hover,.nav-item.active{background:var(--crm-surface-strong);color:#09090b}.auth-page{display:grid;min-height:100vh;place-items:center;padding:20px;background:var(--crm-background)}.auth-panel{width:min(460px,100%);border:1px solid var(--crm-border);border-radius:8px;background:var(--crm-surface);box-shadow:0 18px 50px #18181b14}.auth-brand{border-bottom:1px solid var(--crm-surface-strong)}.auth-form{display:grid;gap:14px;padding:18px}.auth-switch{margin:0 18px 18px}.workspace{display:flex;min-width:0;flex:1;flex-direction:column}.topbar{position:relative;z-index:30;display:flex;align-items:center;gap:12px;min-height:66px;padding:0 18px;border-bottom:1px solid var(--crm-surface-strong);background:var(--crm-surface)}.topbar-account-actions{display:inline-flex;align-items:center;gap:8px;margin-left:auto}.user-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:var(--crm-text);cursor:pointer;font-weight:600}.avatar{display:inline-grid;width:28px;height:28px;place-items:center;border-radius:999px;background:var(--crm-text);color:#fff;object-fit:cover;font-size:11px;font-weight:800}.avatar-md{width:48px;height:48px;font-size:16px}.search{position:relative;display:flex;align-items:center;gap:9px;width:min(560px,55vw);height:40px;padding:0 12px;border:1px solid var(--crm-border);border-radius:8px;color:var(--crm-text-muted);background:var(--crm-surface-muted)}.search:focus-within{border-color:#3f9b71;background:#fff;box-shadow:0 0 0 3px #3f9b711f}.search>svg:first-child,.search-spinner{flex:none}.search-spinner{animation:crm-spin .8s linear infinite}.search input{min-width:0;flex:1;border:0;outline:none;background:transparent;color:var(--crm-text)}.search-shortcut{flex:none;padding:2px 6px;border:1px solid var(--crm-border);border-bottom-color:#a1a1aa;border-radius:5px;background:var(--crm-background);color:var(--crm-text-muted);font:600 11px/1.35 inherit}.search-clear{display:inline-grid;width:26px;height:26px;flex:none;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--crm-text-muted);cursor:pointer}.search-clear:hover,.search-clear:focus-visible{background:var(--crm-surface-strong);color:var(--crm-text);outline:none}.global-search-results{position:absolute;z-index:80;top:calc(100% + 7px);left:-1px;width:calc(100% + 2px);max-height:min(520px,calc(100vh - 92px));overflow-y:auto;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:var(--crm-text);box-shadow:0 14px 36px #18181b29}.global-search-state{padding:18px 16px;color:var(--crm-text-muted);font-size:14px;text-align:center}.global-search-state.error{color:var(--crm-danger)}.global-search-group+.global-search-group{border-top:1px solid var(--crm-surface-strong)}.global-search-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px 5px;color:var(--crm-text-muted);font-size:12px;font-weight:700}.global-search-item{display:grid;width:100%;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 12px;border:0;background:#fff;color:#27272a;cursor:pointer;text-align:left}.global-search-item:hover,.global-search-item.active{background:#eef8f2;outline:none}.global-search-icon{display:inline-grid;width:30px;height:30px;place-items:center;border:1px solid var(--crm-border);border-radius:6px;background:var(--crm-surface-muted);color:#3f7f61}.global-search-copy{min-width:0}.global-search-copy strong,.global-search-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-copy strong{font-size:14px;font-weight:650}.global-search-copy span,.global-search-meta{margin-top:2px;color:var(--crm-text-muted);font-size:12px}.global-search-meta{max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:8px;cursor:pointer;color:var(--crm-text);font-weight:600;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}.button:active,.icon-button:active{transform:scale(.98)}.button.primary{background:var(--crm-primary);color:#fff}.button.primary:hover,.button.primary:focus-visible{background:var(--crm-primary-pressed)}.button.secondary{border-color:var(--crm-border);background:#fff}.button.secondary:hover{background:var(--crm-background)}.button.danger{border-color:#fca5a5;background:#fff;color:var(--crm-danger)}.button.danger:hover{border-color:#ef4444;background:var(--crm-danger-soft)}.button:disabled{cursor:not-allowed;opacity:.58;transform:none}.page{min-width:0;flex:1;padding:22px 11px}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.page-title span{color:var(--crm-primary);font-size:13px;font-weight:700}.page-title h1{margin:3px 0 5px;color:#09090b;font-size:27px;line-height:1.15}.page-title p{max-width:780px;margin:0;color:var(--crm-text-secondary);line-height:1.45}.page-title.compact{align-items:center;margin-bottom:12px}.page-title.compact h1{margin-top:2px;font-size:24px}.page-title.compact p{font-size:14px;line-height:1.35}.directory-page-won-projects{padding-top:6px}.directory-page-won-projects>.page-title.compact{min-height:36px;margin-bottom:6px}.directory-page-won-projects>.page-title.compact h1{margin:0;line-height:1}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.metric{padding:15px;border:1px solid var(--crm-border);border-radius:8px;background:#fff}.metric-icon{display:grid;width:36px;height:36px;margin-bottom:12px;place-items:center;border-radius:8px;background:var(--crm-primary-soft);color:var(--crm-primary)}.metric span{display:block;color:var(--crm-text-muted);font-size:13px}.metric strong{display:block;margin-top:5px;color:#09090b;font-size:24px;line-height:1.15}.dashboard-grid,.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-grid>.panel{min-width:0;overflow:hidden}.panel{border:1px solid var(--crm-border);border-radius:8px;background:#fff;box-shadow:0 1px 2px #18181b0a}.panel-note{margin:10px 16px 8px;color:var(--crm-text-muted);font-size:13px;line-height:1.35}.dashboard-tasks-source{display:grid;gap:2px}.dashboard-tasks-source strong{color:var(--crm-text-secondary);font-weight:650}.panel-head,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--crm-surface-strong)}.panel-head h2{margin:0;font-size:17px}.dashboard-task-actions{display:flex;align-items:center;gap:10px}.dashboard-panel-title{display:flex;align-items:center;gap:8px}.dashboard-panel-title>svg{color:#3f8f6b}.toolbar div{display:flex;align-items:center;gap:8px;color:var(--crm-text-secondary);font-weight:600}.toolbar .toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.opportunity-view-switch{display:inline-grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;overflow:hidden;border:1px solid #cfd5d2;border-radius:7px;background:#f5f7f6}.opportunity-view-switch-button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:0;border-right:1px solid #d9dddb;background:transparent;color:#646b68;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.opportunity-view-switch-button:last-child{border-right:0}.opportunity-view-switch-button:hover{background:#eef2f0;color:#303633}.opportunity-view-switch-button.is-active{background:#fff;color:#176f52;box-shadow:inset 0 -2px #2f8b68}.opportunity-view-switch-button:focus-visible{position:relative;z-index:1;outline:2px solid #4b83e6;outline-offset:-2px}.toolbar .toolbar-title{min-width:0;flex-wrap:wrap}.toolbar.toolbar-with-filters{display:grid;grid-template-columns:minmax(250px,auto) minmax(340px,1fr) auto;align-items:center;gap:8px}.toolbar .toolbar-filters{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));width:min(100%,520px);min-width:0;justify-self:end;gap:8px}.toolbar-filters .select-wrap{min-width:0}.toolbar-filters select{height:38px;padding-top:0;padding-bottom:0;border:1px solid var(--crm-border);border-radius:6px;background:#fff;outline:none;font-size:14px;font-weight:500}.toolbar-filters select:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #0596691f}.toolbar-query-error{grid-column:1 / -1;color:var(--crm-danger);font-size:12px;font-weight:500}.toolbar-with-filters .toolbar-actions{flex-wrap:nowrap;white-space:nowrap}.toolbar-with-filters .toolbar-actions .button{gap:6px;padding-inline:10px}.toolbar-with-filters .table-record-count{margin-left:0;padding-left:8px}.table-record-count{margin-left:4px;padding-left:12px;border-left:1px solid var(--crm-border);color:var(--crm-text-muted);font-size:12px;font-weight:500;white-space:nowrap}.table-save-status{color:var(--crm-text-muted);font-size:12px;font-weight:500}.table-save-status.is-saved{color:var(--crm-primary)}.table-save-status.is-error{color:var(--crm-danger)}.link-button{border:0;background:transparent;color:#2563eb;cursor:pointer;font-weight:600}.stage-list,.dashboard-task-list{display:grid;gap:12px;padding:16px}.stage-row{display:grid;grid-template-columns:170px minmax(0,1fr) 28px;align-items:center;gap:12px;color:var(--crm-text-secondary)}.stage-track{height:8px;overflow:hidden;border-radius:99px;background:var(--crm-background)}.stage-track div{height:100%;border-radius:inherit;background:var(--crm-brand)}.dashboard-task{display:grid;gap:8px;padding:12px;border:1px solid var(--crm-surface-strong);border-radius:8px;background:var(--crm-surface-muted)}.dashboard-task-clickable{cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.dashboard-task-clickable:hover,.dashboard-task-clickable:focus-visible{border-color:#86bca4;background:#f5faf7;outline:none}.dashboard-task strong,.dashboard-task span{display:block}.dashboard-task span{margin-top:2px;color:var(--crm-text-muted);font-size:13px}.dashboard-task p{margin:0;color:#3f3f46;line-height:1.4}.dashboard-milestones-panel{grid-column:1 / -1}.dashboard-milestone-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px 16px 10px}.dashboard-milestone{display:grid;grid-template-columns:112px minmax(0,1fr) max-content;align-items:center;gap:12px;min-width:0;padding:10px 8px;border:0;border-bottom:1px solid #eceeed;background:transparent;color:#27272a;cursor:pointer;font:inherit;text-align:left}.dashboard-control-item{grid-template-areas:"icon date status" "icon copy copy";grid-template-columns:30px minmax(0,1fr) max-content;width:100%;column-gap:10px;row-gap:3px}.dashboard-control-list{grid-template-columns:minmax(0,1fr)}.dashboard-control-icon{grid-area:icon;display:grid;width:28px;height:28px;align-self:center;place-items:center;border:1px solid #d9e7df;border-radius:6px;background:#f5faf7;color:#287a58}.dashboard-control-item.is-overdue .dashboard-control-icon{border-color:#f4d1cc;background:#fff;color:#c43224}.dashboard-milestone:nth-last-child(-n+2){border-bottom-color:transparent}.dashboard-milestone:hover,.dashboard-milestone:focus-visible{background:#f5faf7;outline:none}.dashboard-milestone.is-overdue{background:#fff8f7}.dashboard-milestone-date{color:var(--crm-text-secondary);font-size:13px;font-weight:650;white-space:nowrap}.dashboard-control-item .dashboard-milestone-date{grid-area:date;min-width:0;overflow:hidden;text-overflow:ellipsis}.dashboard-milestone-copy{display:grid;min-width:0;gap:2px}.dashboard-control-item .dashboard-milestone-copy{grid-area:copy}.dashboard-control-item>.badge{grid-area:status;max-width:140px;justify-self:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-milestone-copy strong,.dashboard-milestone-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-milestone-copy strong{font-size:14px;font-weight:650}.dashboard-milestone-copy small{color:var(--crm-text-muted);font-size:12px}.table-panel{overflow:hidden}.directory-page-clients .table-panel>.toolbar{min-height:48px;padding:7px 12px}.directory-page-clients .table-panel>.toolbar .toolbar-actions{gap:6px}.directory-page-clients .table-panel>.toolbar .toolbar-actions .button{min-height:32px;gap:6px;padding-inline:9px;border-radius:7px;font-size:13px}.directory-page-clients .table-panel>.toolbar .toolbar-actions .button svg{width:15px;height:15px}.directory-panel-lead{margin-bottom:14px;overflow:hidden}.directory-panel-lead-won-projects{border-color:#cfd6d2;box-shadow:0 2px 6px #18181b0b}.directory-panel-lead-won-projects .portfolio-cash-flow{border:1px solid #dde2df;border-radius:10px;background:#fff;box-shadow:0 6px 18px #13302506}.project-portfolio-lead{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);gap:7px;padding:7px;container-name:project-portfolio;container-type:inline-size}table{width:100%;border-collapse:collapse}th,td{padding:12px 14px;border-bottom:1px solid var(--crm-surface-strong);text-align:left;vertical-align:middle}th{color:var(--crm-text-muted);background:var(--crm-surface-muted);font-size:13px;font-weight:700}.data-table-scroll{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:stable}.table-initial-loading-row{height:30px;pointer-events:none}.table-initial-loading-row>td{height:30px;padding:9px 10px}.table-initial-loading-line{display:block;width:78%;height:9px;border-radius:999px;background:linear-gradient(90deg,#3f52490e,#3f52491c,#3f52490e)}.table-initial-loading-row:nth-child(3n+2) .table-initial-loading-line{width:62%}.table-initial-loading-row:nth-child(3n) .table-initial-loading-line{width:71%}.resizable-data-table th[data-column-key],.resizable-data-table td[data-column-key]{width:auto;min-width:0}.resizable-data-table td[data-column-key]{overflow:hidden;padding-right:5px;padding-left:5px;text-overflow:ellipsis;white-space:nowrap}.resizable-data-table td[data-column-key]>strong,.resizable-data-table td[data-column-key]>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resizable-column-header{position:relative;padding:0;color:var(--crm-text-secondary);font-size:13px;text-align:center;-webkit-user-select:none;user-select:none;transition:background-color .14s ease,box-shadow .14s ease,color .14s ease}.table-header-sort{display:flex;width:100%;min-width:0;min-height:40px;align-items:center;justify-content:center;gap:5px;padding:8px;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:750;letter-spacing:0;text-align:center;transition:background-color .14s ease,color .14s ease}.table-header-sort:hover{background:#f1f2f3;color:var(--crm-text)}.table-header-sort:focus-visible{outline:2px solid #10b981;outline-offset:-3px}.resizable-column-header.is-sorted{background:#f0f7f4;box-shadow:inset 0 -3px 0 var(--crm-primary);color:var(--crm-primary)}.resizable-column-header.is-sorted .table-header-sort:hover{background:#e8f3ee}.table-header-label{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-sort-indicator{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--crm-primary)}.client-id-column .table-header-sort,.opportunity-id-column .table-header-sort{gap:4px;padding-right:4px;padding-left:4px}.column-resize-handle{position:absolute;top:0;right:-5px;z-index:5;width:10px;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;touch-action:none}.column-resize-handle:after{position:absolute;top:7px;bottom:7px;left:4px;width:1px;background:var(--crm-border);content:"";transition:width .12s ease,background-color .12s ease}.column-resize-handle:hover:after,.column-resize-handle:focus-visible:after,.is-resizing-column .column-resize-handle:after{width:2px;background:var(--crm-primary)}.column-resize-handle:focus-visible{outline:2px solid #10b981;outline-offset:-2px}.is-resizing-column,.is-resizing-column *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.table-column-measure-host{position:fixed;top:-10000px;left:-10000px;z-index:-1;visibility:hidden;width:max-content;pointer-events:none}.table-column-measure,.table-column-measure *{max-width:none!important;white-space:nowrap!important}.table-column-measure [data-table-autofit-content]{display:inline-block!important;width:max-content!important;min-width:max-content!important;overflow:visible!important;text-overflow:clip!important}td{color:#3f3f46;font-size:14px}.resizable-data-table td{font-size:13px}tbody tr{cursor:default}tbody tr:hover,tbody tr.selected{background:#f8fafc}td>strong,td>span:not(.badge):not(.client-logo){display:block}td>strong{color:var(--crm-text);font-weight:700}td>span:not(.badge):not(.client-logo){margin-top:3px;color:var(--crm-text-muted);font-size:12px}.table-entity-text{display:grid;gap:1px;min-width:0}.table-entity-primary,.table-entity-secondary{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-entity-primary{color:var(--crm-text);font-size:13px;font-weight:600;line-height:1.2}.table-entity-secondary{margin:0;color:var(--crm-text-muted);font-size:12px;line-height:1.2}.row-actions{white-space:nowrap}.resizable-data-table .table-actions-column{position:sticky;right:0;z-index:4;padding-right:6px;padding-left:4px;background:#fff;background-clip:padding-box;box-shadow:-1px 0 var(--crm-surface-strong),-10px 0 16px -16px #18181b9e;text-align:right}.resizable-data-table thead .table-actions-column{z-index:6;background:transparent;box-shadow:none;pointer-events:none}.resizable-data-table tbody tr:hover>.table-actions-column,.resizable-data-table tbody tr.selected>.table-actions-column{background:#f8fafc}.resizable-data-table .icon-button{width:30px;height:30px;margin-left:2px;border-radius:6px}.resizable-data-table .badge{min-height:22px;padding-right:6px;padding-left:6px}.icon-button{display:inline-grid;width:34px;height:34px;margin-left:4px;place-items:center;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:var(--crm-text-secondary);cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.icon-button:hover{background:var(--crm-background);color:var(--crm-text)}.icon-button.danger{color:#dc2626}.icon-button.success{border-color:#bdd8c9;background:#f2f9f5;color:#2f7355}.icon-button.success:hover{border-color:#8fbea4;background:#e7f4ed;color:#1f6447}.badge{display:inline-flex;align-items:center;min-height:24px;margin:0;padding:0 8px;border:1px solid;border-radius:7px;font-size:12px;font-weight:700}.badge-neutral{border-color:var(--crm-border);background:var(--crm-background);color:#3f3f46}.badge-blue{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.badge-green{border-color:#bbf7d0;background:#f0fdf4;color:var(--crm-primary)}.badge-amber{border-color:#fde68a;background:var(--crm-warning-soft);color:var(--crm-warning)}.badge-red{border-color:#fecaca;background:var(--crm-danger-soft);color:var(--crm-danger)}.opportunities-panel{width:100%;overflow:hidden}.badge-violet{border-color:#ddd6fe;background:#f5f3ff;color:#5b44a0}.opportunities-page{container:opportunities-page / inline-size;padding:16px 18px 24px}.opportunities-page>.page-title{margin-bottom:8px}.opportunities-page>.page-title.compact h1{letter-spacing:-.025em}.opportunities-page>.page-title.compact p{color:#68736d;font-size:12px}.opportunity-portfolio-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:64px;overflow:hidden;border:1px solid #dce2de;border-radius:10px;background:#fff;transition:opacity .15s ease}.opportunity-portfolio-summary.is-loading{opacity:.72}.opportunity-portfolio-metric{display:grid;min-width:0;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:8px 13px;border-right:1px solid #e5e8e6}.opportunity-portfolio-metric:last-child{border-right:0}.opportunity-portfolio-metric-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;background:#edf6f1;color:#357b5d}.opportunity-portfolio-metric.is-forecast .opportunity-portfolio-metric-icon{background:#eef3fb;color:#446dad}.opportunity-portfolio-metric.is-attention .opportunity-portfolio-metric-icon{background:#fff5e6;color:#9b641d}.opportunity-portfolio-metric-copy{display:grid;min-width:0;gap:1px}.opportunity-portfolio-metric-copy small{overflow:hidden;color:#68726c;font-size:10.5px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.opportunity-portfolio-metric-copy strong{overflow:hidden;color:#16211c;font-size:16px;font-variant-numeric:tabular-nums;font-weight:730;letter-spacing:-.02em;line-height:1.22;text-overflow:ellipsis;white-space:nowrap}.opportunity-portfolio-metric-copy>span{overflow:hidden;color:#929994;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.opportunities-registry-v4{container:opportunities-registry / inline-size;margin-top:10px;overflow:visible;border-color:#dce1de;border-radius:10px;box-shadow:0 1px 3px #13221a08}.opportunity-command-row{display:flex;min-height:50px;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid #e4e8e5;background:#fff;border-radius:10px 10px 0 0}.opportunities-registry-v4 .opportunity-view-switch{flex:none;height:32px;padding:3px;overflow:visible;border-color:#dde2df;border-radius:8px;background:#f3f5f4}.opportunities-registry-v4 .opportunity-view-switch-button{min-height:24px;padding:0 9px;border:0;border-radius:5px;font-size:12px;font-weight:650;line-height:1.15}.opportunities-registry-v4 .opportunity-view-switch-button.is-active{background:#fff;color:#286d50;box-shadow:0 1px 3px #122a1e1f}.opportunity-command-row>.saved-views-bar.is-compact{min-width:276px;flex:0 1 292px}.opportunity-command-row>.saved-views-bar.is-compact .saved-views-main select{width:auto;min-width:0;flex:1 1 0;font-size:12px;line-height:1.15}.opportunity-command-row>.table-local-search{width:clamp(174px,22vw,250px);min-width:150px;height:32px;flex:1 1 220px;border-color:#dde2df;border-radius:7px}.opportunity-command-row>.table-local-search input{height:30px;font-size:12px;line-height:1.15}.opportunity-record-count{flex:none;color:#7e8681;font-size:10px;white-space:nowrap}.opportunity-command-row .table-save-status{max-width:96px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.opportunity-columns-button{min-height:32px;flex:none;gap:6px;padding:0 10px;border-radius:7px;font-size:12px;line-height:1.15}.opportunity-actions-menu{position:relative;flex:none}.opportunity-actions-menu>summary{display:grid;width:32px;height:32px;padding:0;place-items:center;border:1px solid #d9dfdc;border-radius:7px;background:#fff;color:#53605a;cursor:pointer;list-style:none}.opportunity-actions-menu>summary::-webkit-details-marker{display:none}.opportunity-actions-menu>summary:hover,.opportunity-actions-menu>summary:focus-visible,.opportunity-actions-menu[open]>summary{border-color:#9fb9ac;background:#f1f7f4;color:#2f7355;outline:none}.opportunity-actions-menu-popover{position:absolute;z-index:50;top:calc(100% + 6px);right:0;display:grid;width:212px;padding:5px;border:1px solid #d9dfdc;border-radius:8px;background:#fff;box-shadow:0 14px 34px #18231d29}.opportunity-actions-menu-popover button,.opportunity-actions-menu-popover a{display:flex;min-height:34px;align-items:center;gap:8px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#36423b;cursor:pointer;font-size:12px;text-align:left;text-decoration:none}.opportunity-actions-menu-popover button:hover,.opportunity-actions-menu-popover button:focus-visible,.opportunity-actions-menu-popover a:hover,.opportunity-actions-menu-popover a:focus-visible{background:#f2f5f3;outline:none}.opportunity-filter-shell{position:relative;border-bottom:1px solid #e4e8e5;background:#fafbfa}.opportunity-primary-filters,.opportunity-advanced-filters{display:flex;min-height:44px;align-items:center;gap:8px;padding:6px 12px}.opportunity-primary-filters{overflow:hidden;flex-wrap:nowrap}.opportunity-filter-scope,.opportunity-adaptive-filter{min-width:0;flex:none}.opportunity-filter-scope{width:max-content}.opportunity-adaptive-filter.is-access,.opportunity-filter-measurement.is-access,.opportunity-adaptive-filter.is-standard,.opportunity-filter-measurement.is-standard{width:164px}.opportunity-adaptive-filter.is-task-period,.opportunity-filter-measurement.is-task-period{width:188px}.opportunity-adaptive-filter.is-wide,.opportunity-filter-measurement.is-wide{width:230px}.opportunity-primary-filters .opportunity-adaptive-filter .select-wrap,.opportunity-advanced-filters .opportunity-adaptive-filter .select-wrap{width:100%;min-width:0;flex:none}.opportunity-filter-measurements{position:absolute;width:max-content;height:0;overflow:hidden;visibility:hidden;pointer-events:none}.opportunity-filter-measurement{display:inline-block}.opportunity-scope-switch{display:inline-flex;height:30px;flex:none;align-items:center;padding:2px;border:1px solid #d9dfdc;border-radius:7px;background:#f1f4f2}.opportunity-scope-switch-button{display:inline-flex;min-width:82px;height:24px;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:0;border-radius:5px;background:transparent;color:#5f6963;cursor:pointer;font:inherit;font-size:11px;font-weight:680;white-space:nowrap}.opportunity-scope-switch-button>span{display:inline-grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border-radius:999px;background:#e1e6e3;color:#68716c;font-size:10px;font-variant-numeric:tabular-nums}.opportunity-scope-switch-button:hover,.opportunity-scope-switch-button:focus-visible{color:#286d50;outline:none}.opportunity-scope-switch-button:focus-visible{box-shadow:0 0 0 2px #377d5b33}.opportunity-scope-switch-button.is-active{background:#fff;color:#286d50;box-shadow:0 1px 3px #122a1e1f}.opportunity-scope-switch-button.is-active>span{background:#e4f1ea;color:#286d50}.opportunity-primary-filters .select-wrap{width:clamp(116px,15vw,164px);flex:0 1 164px}.opportunity-primary-filters .opportunity-task-period-filter{width:clamp(146px,18vw,188px);flex-basis:188px}.opportunity-primary-filters select,.opportunity-advanced-filters select{min-height:30px;padding-top:0;padding-bottom:0;border-color:#dfe3e1;border-radius:7px;font-size:12px;line-height:1.15}.opportunity-more-filters{min-height:30px;min-width:136px;flex:none;gap:6px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:650;line-height:1.15}.opportunity-more-filters.is-open{border-color:#a8c8b8;background:#f0f7f3;color:#2f7355}.opportunity-more-filters>span{display:grid;width:17px;height:17px;place-items:center;border-radius:999px;background:#dfeee6;color:#286d50;font-size:10px;font-weight:750}.opportunity-advanced-filters{min-height:42px;flex-wrap:wrap;padding-top:0;border-top:1px dashed #dfe4e1}.opportunity-advanced-filters .opportunity-adaptive-filter{width:min(230px,100%);flex:1 1 180px}.opportunity-advanced-filters .select-wrap{width:min(230px,24%);flex:1 1 180px}.opportunity-analytics-slice-filter{flex:0 0 auto;min-height:30px;border-color:#a8c8b8;border-radius:7px;background:#edf7f1;color:#286d50;font-size:10.5px;font-weight:700;white-space:nowrap}.opportunity-filter-shell>.table-query-error{margin:0 12px 7px}.opportunities-registry-v4 .bulk-action-bar{border-bottom-color:#dfe4e1}.opportunities-registry-v4 .data-table-scroll{border-radius:0;scrollbar-width:thin}.opportunities-registry-v4 .opportunities-registry-table th,.opportunities-registry-v4 .opportunities-registry-table td{border-right-color:#edf0ee}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row{transition:background-color .12s ease,box-shadow .12s ease}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row:hover{background:#f8faf9}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row.is-won{background:#fbfcfb}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row.is-won td{color:#6e7772}.opportunity-forecast-cell.is-transferred strong{color:#78817c}.opportunity-forecast-cell.is-transferred small{color:#7d8781}.opportunity-win-toast{position:fixed;z-index:180;right:20px;bottom:20px;display:grid;width:min(430px,calc(100vw - 28px));min-height:62px;grid-template-columns:22px minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:10px 10px 10px 13px;border:1px solid #b9d4c6;border-radius:9px;background:#fff;color:#2f7355;box-shadow:0 14px 34px #18231d29}.opportunity-win-toast>div{display:grid;min-width:0;gap:2px}.opportunity-win-toast strong{color:#1f2c25;font-size:13px;line-height:1.2}.opportunity-win-toast span{overflow:hidden;color:#707a74;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.opportunity-win-toast>button:not(.opportunity-win-toast-close){display:inline-flex;min-height:30px;align-items:center;gap:4px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#286d50;cursor:pointer;font:inherit;font-size:11px;font-weight:700;white-space:nowrap}.opportunity-win-toast>button:not(.opportunity-win-toast-close):hover,.opportunity-win-toast>button:not(.opportunity-win-toast-close):focus-visible{background:#edf6f1;outline:none}.opportunity-win-toast-close{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:#7d8781;cursor:pointer}.opportunity-win-toast-close:hover,.opportunity-win-toast-close:focus-visible{background:#f0f3f1;color:#38443d;outline:none}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row.selected{background:#f3f8f5;box-shadow:inset 3px 0 #3e8e6a}.opportunities-registry-v4 .opportunities-registry-table tbody td{color:#3f3f46;font-size:13px;line-height:1.2}.opportunities-registry-v4 .opportunity-column-title,.opportunities-registry-v4 .opportunity-column-client_name,.opportunities-registry-v4 .opportunity-column-stage,.opportunities-registry-v4 .opportunity-column-status,.opportunities-registry-v4 .opportunity-column-next_task_title,.opportunities-registry-v4 .opportunity-column-next_task_due_at{min-width:0}.opportunities-registry-v4 .opportunity-column-amount,.opportunities-registry-v4 .opportunity-column-planned_revenue,.opportunities-registry-v4 .opportunity-column-probability,.opportunities-registry-v4 .opportunity-column-forecast_amount{text-align:right}.opportunity-title-table-cell{display:flex;min-width:0;align-items:center;gap:5px}.opportunity-id-cell{display:flex;min-width:0;align-items:center;justify-content:center;gap:1px}.opportunity-id-cell>strong{overflow:hidden;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.2;text-overflow:ellipsis}.opportunity-title-table-cell .table-entity-text{min-width:0}.opportunity-expand-button{display:grid;width:24px;height:24px;flex:0 0 24px;margin-left:-3px;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:#65716b;cursor:pointer}.opportunity-expand-button:hover,.opportunity-expand-button:focus-visible{background:#e8f1ec;color:#2f7355;outline:none}.opportunity-stage-status-cell{--opportunity-stage-accent: #87928c;--opportunity-stage-text: #48534d;position:relative;display:inline-grid;width:max-content;max-width:100%;min-width:0;min-height:31px;align-content:center;justify-items:start;gap:3px;padding-left:8px}.opportunity-stage-status-cell:before{position:absolute;top:3px;bottom:3px;left:0;width:2px;border-radius:999px;background:var(--opportunity-stage-accent);content:""}.opportunity-stage-status-cell.is-blue{--opportunity-stage-accent: #6f91c9;--opportunity-stage-text: #315f9f}.opportunity-stage-status-cell.is-green{--opportunity-stage-accent: #64a383;--opportunity-stage-text: #2f7355}.opportunity-stage-status-cell.is-amber{--opportunity-stage-accent: #d3a251;--opportunity-stage-text: #8c571c}.opportunity-stage-status-cell.is-violet{--opportunity-stage-accent: #9283c9;--opportunity-stage-text: #6551a3}.opportunity-stage-label{display:block;max-width:100%;overflow:hidden;color:var(--opportunity-stage-text);font-size:12px;font-weight:650;line-height:15px;text-overflow:ellipsis;white-space:nowrap}.opportunity-status-caption{display:flex;max-width:100%;align-items:center;gap:4px;overflow:hidden;color:#7c8580;font-size:11px;line-height:13px;text-overflow:ellipsis;white-space:nowrap}.opportunity-status-caption i{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#6b7280}.opportunity-status-caption.is-green i{background:#4a9a75}.opportunity-status-caption.is-blue i{background:#5f82c4}.opportunity-status-caption.is-amber i{background:#d38a26}.opportunity-status-caption.is-red i{background:#d14b4b}.opportunity-money-value{display:block;width:100%;overflow:hidden;font-variant-numeric:tabular-nums;font-weight:400;text-align:right;text-overflow:ellipsis;white-space:nowrap}.opportunity-forecast-cell,.opportunity-next-task-cell{display:grid;min-width:0;gap:2px}.opportunity-forecast-cell{justify-items:end;text-align:right}.opportunity-forecast-cell strong,.opportunity-next-task-cell strong{max-width:100%;overflow:hidden;font-size:13px;font-variant-numeric:tabular-nums;font-weight:600;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.opportunity-forecast-cell small,.opportunity-next-task-cell small{max-width:100%;overflow:hidden;color:#7f8883;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.opportunity-next-task-cell small.is-overdue,.opportunity-task-due.is-overdue{color:#b42318}.opportunity-next-task-cell small.is-today,.opportunity-task-due.is-today{color:#9a5f14}.opportunity-row-action-set{display:flex;align-items:center;justify-content:flex-end;gap:3px}.opportunity-standalone-link{margin-left:0;text-decoration:none}.opportunity-standalone-page{display:grid;align-content:start;gap:10px;padding-top:10px}.opportunity-standalone-header{display:flex;min-width:0;min-height:48px;align-items:center;justify-content:space-between;gap:16px}.opportunity-standalone-heading{display:grid;min-width:0;gap:4px}.opportunity-standalone-back{display:inline-flex;width:max-content;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#47705d;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.opportunity-standalone-back svg{transform:rotate(180deg)}.opportunity-standalone-back:hover,.opportunity-standalone-back:focus-visible{color:var(--crm-primary)}.opportunity-standalone-title-row{display:flex;min-width:0;align-items:baseline;gap:10px}.opportunity-standalone-title-row h1{max-width:min(980px,72vw);overflow:hidden;margin:0;color:#111827;font-size:clamp(22px,2vw,28px);line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.opportunity-standalone-title-row span{flex:0 0 auto;color:#6b7280;font-size:13px;font-weight:650}.opportunity-standalone-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.opportunity-standalone-actions>span{color:#b42318;font-size:12px}.opportunity-standalone-card{min-width:0;overflow:hidden;border:1px solid #d7dfdb;border-radius:10px;background:#fff;box-shadow:0 4px 14px #18231d0f}.opportunity-standalone-card .entity-inline-detail{border-top:0;box-shadow:none}.opportunity-standalone-state{display:flex;min-height:180px;align-items:center;justify-content:center;gap:9px;color:#53615a}.opportunity-standalone-state.is-error{flex-wrap:wrap;align-content:center;color:#7f1d1d}.opportunity-standalone-state.is-error>div{display:grid;gap:3px}.opportunity-standalone-state.is-error span{color:#6b7280}@media(max-width:800px){.opportunity-standalone-header{align-items:flex-start;flex-direction:column}.opportunity-standalone-title-row h1{max-width:76vw}}.opportunities-registry-v4 .opportunity-expanded-row>td{padding:8px;background:#eef2ef}.opportunities-registry-v4 .opportunity-detail-card-shell{position:static;width:100%;overflow:hidden;border-color:#cbd7d1;box-shadow:0 5px 16px #18231d12}.opportunity-inline-detail.is-registry-variant{container:opportunity-detail-card / inline-size}.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs{min-height:36px;padding:0 10px;border-bottom:1px solid #e2e6e3;background:#fff}.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs button{min-height:36px;gap:5px;padding:0 9px;border-bottom-width:2px;font-size:12.5px;font-weight:680;line-height:1.2}.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs .opportunity-detail-edit{min-height:28px;align-self:center;margin-left:auto;padding:0 10px;border:1px solid #dce2de;border-radius:6px;color:#35413a}.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs .opportunity-detail-edit:hover,.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs .opportunity-detail-edit:focus-visible{border-color:#a9bbb1;background:#f2f6f4}.opportunity-inline-detail.is-registry-variant .entity-detail-tab-pane{min-width:0;overflow:hidden;background:#fff}.opportunity-inline-detail.is-registry-variant .opportunity-detail-overview-pane>.opportunity-detail-body{border-top:0}@container opportunities-registry (max-width: 900px){.opportunity-command-row{flex-wrap:wrap}.opportunity-command-row>.saved-views-bar.is-compact{min-width:0;flex:1 1 286px}.opportunity-command-row>.table-local-search{order:3;max-width:none;flex-basis:calc(100% - 8px)}.opportunity-record-count{margin-left:auto}.opportunity-advanced-filters{flex-wrap:wrap}.opportunity-scope-switch{flex:0 0 auto}.opportunity-advanced-filters .select-wrap{width:auto;min-width:150px;flex:1 1 180px}}@container opportunities-registry (max-width: 600px){.opportunity-command-row>.saved-views-bar.is-compact{flex-basis:100%}}@container opportunity-detail-card (max-width: 760px){.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs{overflow-x:auto}.opportunity-inline-detail.is-registry-variant .opportunity-detail-tabs .opportunity-detail-edit{position:sticky;right:0;background:#fff}}@container opportunities-page (max-width: 720px){.opportunity-portfolio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-portfolio-metric:nth-child(2){border-right:0}.opportunity-portfolio-metric:nth-child(-n+2){border-bottom:1px solid #e5e8e6}}@container opportunities-page (max-width: 520px){.opportunities-page{padding-right:10px;padding-left:10px}.opportunities-page>.page-title{align-items:stretch;flex-direction:column}.opportunities-page>.page-title>.button{width:100%;justify-content:center}.opportunity-portfolio-summary{grid-template-columns:1fr}.opportunity-portfolio-metric{border-right:0;border-bottom:1px solid #e5e8e6}.opportunity-portfolio-metric:last-child{border-bottom:0}.opportunity-win-toast{right:14px;bottom:14px;grid-template-columns:22px minmax(0,1fr) 28px}.opportunity-win-toast>button:not(.opportunity-win-toast-close){grid-column:2;justify-self:start}.opportunity-win-toast-close{grid-column:3;grid-row:1}}.resizable-data-table th{line-height:1.25;white-space:nowrap}.opportunity-column-title{min-width:180px}.opportunity-column-client_name,.opportunity-column-contact_name,.opportunity-column-stage,.opportunity-column-status{min-width:150px}.opportunity-column-next_task_title,.opportunity-column-notes,.opportunity-column-risk,.opportunity-column-scope{min-width:210px}.opportunity-column-next_task_due_at,.opportunity-column-last_activity_at{min-width:150px}.resizable-data-table tbody tr.entity-table-row td[data-column-key]>.badge{display:flex;width:max-content;margin:0}.table-cell-wrap{max-width:340px;white-space:normal;line-height:1.4}.entity-table-row{cursor:pointer}.entity-expanded-row:hover{background:var(--crm-surface-muted)}.entity-expanded-row>td{padding:0;border-bottom-color:var(--crm-border);background:#f8faf9}.opportunity-expanded-row>td{padding:10px;border-bottom:2px solid #c3cac6;background:#eef1ef}.entity-inline-detail{--detail-accent: #2563eb;display:grid;overflow:hidden;border-top:1px solid var(--crm-surface-strong);background:#f8faf9;box-shadow:inset 4px 0 0 var(--detail-accent)}.opportunity-detail-green{--detail-accent: var(--crm-brand)}.opportunity-detail-amber{--detail-accent: #d97706}.opportunity-detail-red{--detail-accent: #dc2626}.opportunity-inline-detail{overflow:visible}.opportunity-inline-head{display:grid;grid-template-columns:minmax(250px,1fr) minmax(430px,1.2fr);align-items:center;gap:28px;padding:20px 28px;border-bottom:1px solid var(--crm-surface-strong);background:#fff}.opportunity-inline-head h2{margin:0;color:var(--crm-text);font-size:20px;line-height:1.2}.opportunity-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:4px}.opportunity-status-editor{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:8px}.opportunity-status-select{position:relative;height:32px;min-height:32px;margin:0;padding:0}.opportunity-status-select select{width:100%;height:30px;min-width:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 30px 0 10px;border:0;outline:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:13px;font-weight:700}.opportunity-status-select option{background:#fff;color:var(--crm-text)}.opportunity-status-select>svg{position:absolute;right:8px;color:currentColor;pointer-events:none}.opportunity-status-select:focus-within{outline:2px solid #10b981;outline-offset:2px}.opportunity-status-save{min-height:32px;padding:0 10px;font-size:12px}.opportunity-status-success{display:inline-grid;width:26px;height:26px;margin:0;place-items:center;color:var(--crm-success)}.opportunity-status-error{display:inline-flex;align-items:center;gap:5px;margin:0;color:var(--crm-danger);font-size:12px;font-weight:650}.configured-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 20px 18px;align-items:stretch}.configured-detail-section{--configured-detail-accent: #a1a1aa;display:grid;align-content:start;gap:8px;min-width:0;padding:12px 18px 14px;border:1px solid #dedfdf;border-left:4px solid var(--configured-detail-accent);background:#fff}.configured-detail-section-green{--configured-detail-accent: var(--crm-brand)}.configured-detail-section-blue{--configured-detail-accent: #2563eb}.configured-detail-section-violet{--configured-detail-accent: #6d5bd0}.configured-detail-section-amber{--configured-detail-accent: #d97706}.configured-detail-section-red{--configured-detail-accent: #dc2626}.configured-detail-section-title{color:#3f4143;font-size:14px;font-weight:800;line-height:1.25}.configured-detail-columns,.configured-detail-spanning{display:grid;gap:0 28px;min-width:0;align-items:start}.configured-detail-lead{min-width:0}.configured-detail-lead .configured-detail-field{min-height:0;padding:2px 0 7px}.configured-detail-field-image .configured-detail-value{margin-top:4px}.configured-detail-column{display:grid;min-width:0;align-content:start}.configured-detail-field{min-width:0;min-height:52px;padding:8px 0 10px;border-bottom:1px solid #ededee}.configured-detail-column .configured-detail-field:last-child{border-bottom-color:transparent}.configured-detail-spanning{margin-top:2px}.configured-detail-span{min-width:0}.configured-detail-span .configured-detail-field{border-top:1px solid #ededee;border-bottom:0}.configured-detail-label{color:var(--crm-text-muted);font-size:12px;line-height:1.25}.configured-detail-value{margin-top:5px;overflow-wrap:anywhere;color:#27272a;font-size:14px;font-weight:600;line-height:1.4;white-space:pre-wrap}.configured-detail-empty{color:#a1a1aa;font-weight:450}.configured-detail-status-editor{margin-top:3px}.configured-detail-status-editor .opportunity-status-select{height:28px;min-height:28px}.configured-detail-status-editor .opportunity-status-select select{height:26px;padding-top:0;padding-bottom:0}.opportunity-detail-toggle-bar{display:flex;justify-content:flex-start;padding:10px 20px 12px;border-top:1px solid var(--crm-surface-strong);background:#fff}.opportunity-detail-toggle{position:sticky;left:20px;z-index:1;min-height:34px;padding:0 12px;color:#3f3f46;font-size:13px}.opportunity-detail-toggle-chevron{transition:transform .14s ease}.opportunity-detail-toggle-chevron.expanded{transform:rotate(180deg)}.opportunity-full-detail{border-top:1px solid var(--crm-surface-strong);background:#f8faf9}.opportunity-inline-head p{display:flex;align-items:center;gap:7px;margin:0;color:var(--crm-text-muted)}.opportunity-inline-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.opportunity-inline-kpis>div{display:grid;align-content:center;min-height:58px;padding:0 20px;border-left:1px solid var(--crm-surface-strong)}.opportunity-inline-kpis dt{color:var(--crm-text-muted);font-size:12px}.opportunity-inline-kpis dd{margin:5px 0 0;color:var(--crm-text);font-size:18px;font-weight:700;line-height:1.2;white-space:nowrap}.opportunity-inline-kpis dd.entity-kpi-text{overflow-wrap:anywhere;font-size:15px;font-weight:650;white-space:normal}.probability-track{display:block;overflow:hidden;width:100%;height:4px;margin-top:7px;background:var(--crm-surface-strong)}.probability-track span{display:block;height:100%;background:var(--detail-accent)}.opportunity-detail-body{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(250px,1fr) minmax(220px,.85fr);gap:0;padding:20px 28px 22px}.opportunity-detail-body.without-risk{grid-template-columns:minmax(280px,1.35fr) minmax(340px,1fr)}.opportunity-detail-body section{min-width:0}.opportunity-context-section{padding-right:28px}.opportunity-context-section h3{margin:0 0 13px;color:var(--crm-text-secondary);font-size:12px;font-weight:700;text-transform:uppercase}.opportunity-context-list{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(180px,1.2fr);gap:24px;margin:0}.opportunity-context-list div{min-width:0}.opportunity-context-list dt,.opportunity-section-label{display:flex;align-items:center;gap:7px;color:var(--crm-text-muted);font-size:12px}.opportunity-context-list dd{margin:7px 0 0;color:var(--crm-text);font-size:15px;font-weight:600;line-height:1.4}.opportunity-next-step{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;padding:1px 28px 0;border-left:4px solid #6d5bd0}.opportunity-next-step .opportunity-section-label,.opportunity-next-step strong,.opportunity-next-step>span{grid-column:1}.opportunity-next-step strong{display:block;margin-top:9px;color:var(--crm-text);line-height:1.4}.opportunity-next-step>span{display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--crm-text-secondary);font-size:12px;font-weight:600}.opportunity-risk{padding:1px 0 0 28px;border-left:4px solid #dc2626}.opportunity-risk-marker{display:block;width:24px;height:2px;margin-bottom:10px;background:#d97706}.opportunity-risk .opportunity-section-label{color:var(--crm-text-muted)}.opportunity-risk p{margin:9px 0 0;color:#3f3f46;font-weight:600;line-height:1.4}.opportunity-risk-empty{border-left-color:#a1a1aa}.opportunity-risk-empty p{color:#a1a1aa;font-weight:450}.opportunity-summary-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:0}.opportunity-summary-grid.is-single-row{grid-template-columns:var(--summary-single-row-template, repeat(3, minmax(0, 1fr)))}.opportunity-summary-grid.is-single-row>.opportunity-summary-section{grid-column:auto}.opportunity-summary-section{--summary-accent: #a1a1aa;grid-column:span 4;min-width:0;padding:1px 24px 0;border-left:4px solid var(--summary-accent)}.opportunity-summary-section:first-child{padding-left:20px}.opportunity-summary-section-neutral{--summary-accent: #a1a1aa}.opportunity-summary-section-green{--summary-accent: var(--crm-brand)}.opportunity-summary-section-blue{--summary-accent: #2563eb}.opportunity-summary-section-violet{--summary-accent: #6d5bd0}.opportunity-summary-section-amber{--summary-accent: #d97706}.opportunity-summary-section-red{--summary-accent: #dc2626}.opportunity-summary-width-narrow{grid-column:span 3}.opportunity-summary-width-normal{grid-column:span 4}.opportunity-summary-width-wide{grid-column:span 5}.opportunity-summary-section-title{display:flex;align-items:center;gap:7px;margin:0 0 11px;color:var(--crm-text-secondary);font-size:12px;font-weight:750;line-height:1.25;text-transform:uppercase}.opportunity-summary-section-title svg{flex:0 0 auto;color:var(--summary-accent)}.opportunity-summary-fields{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:11px}.opportunity-summary-width-wide .opportunity-summary-fields{grid-template-columns:minmax(0,1fr)}.opportunity-summary-fields-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;min-width:0}.opportunity-summary-field,.opportunity-summary-value-only{grid-column:var(--summary-field-column, auto) / span var(--summary-field-column-span, 1);min-width:0}.opportunity-summary-field-label{color:var(--crm-text-muted);font-size:12px;line-height:1.25}.opportunity-summary-field-value,.opportunity-summary-value-only{color:var(--crm-text);font-size:15px;font-weight:400;line-height:1.38;overflow-wrap:anywhere}.opportunity-summary-value-only{display:flex;align-items:flex-start;gap:7px}.opportunity-summary-value-only.is-date{align-items:center;color:var(--crm-text-secondary);font-size:12px;font-weight:600}.opportunity-summary-value-only.is-date svg{flex:0 0 auto;color:var(--summary-accent)}.opportunity-summary-field.is-badge .badge{margin-top:6px}.opportunity-summary-field.is-empty .opportunity-summary-field-value,.opportunity-summary-value-only.is-empty{color:#a1a1aa;font-weight:450}.is-project-economics-summary .project-summary-financial-value{font-variant-numeric:tabular-nums;font-weight:600}.is-project-economics-summary .project-summary-financial-value.is-expense,.is-project-economics-summary .project-summary-financial-value.is-non-positive{color:var(--crm-danger)}.is-project-economics-summary .project-summary-financial-value.is-positive{color:var(--crm-success)}.opportunity-summary-empty{grid-column:1 / -1;padding:4px 0;color:#a1a1aa;font-size:13px}.opportunity-detail-body.opportunity-summary-grid-project,.opportunity-summary-grid-project.is-single-row{grid-template-columns:minmax(280px,1fr) minmax(0,2fr);padding:14px 18px 16px;background:#fff}.opportunity-summary-grid-project.is-single-row>.opportunity-summary-section,.opportunity-summary-grid-project>.opportunity-summary-section:only-of-type{grid-column:auto}.opportunity-summary-grid-project>.opportunity-summary-section:only-of-type{grid-column:1 / -1}.opportunity-summary-grid-project .opportunity-summary-section{padding-top:1px;padding-bottom:2px}.opportunity-summary-grid-project .opportunity-summary-section+.opportunity-summary-section{border-left-color:#3f78c5}.opportunity-summary-grid-project .opportunity-summary-section-title{min-height:24px;margin-bottom:9px}.project-summary-economics-open{display:inline-flex;min-height:26px;align-items:center;gap:5px;margin:-4px 0 -4px auto;padding:2px 7px;border:1px solid #cddced;border-radius:5px;background:#fff;color:#315f9f;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:0;text-transform:none}.project-summary-economics-open:hover{border-color:#80a5d4;background:#f2f7fd}.project-summary-economics-open:focus-visible{outline:3px solid rgb(49 95 159 / 22%);outline-offset:1px}.drawer.project-economics-detail-drawer{width:min(1180px,calc(100vw - 48px));background:#fff}.project-economics-detail-drawer>.drawer-head{padding:13px 16px}.project-economics-detail-drawer>.drawer-head h2{overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.project-economics-detail-drawer>.project-economics{min-height:calc(100vh - 55px)}@media(max-width:900px){.opportunity-detail-body.opportunity-summary-grid-project,.opportunity-summary-grid-project.is-single-row{grid-template-columns:minmax(0,1fr)}.opportunity-summary-grid-project .opportunity-summary-section+.opportunity-summary-section{margin-top:14px}.drawer.project-economics-detail-drawer{width:100vw}}.opportunity-detail-body.opportunity-summary-grid-opportunity{--opportunity-content-rail: 44px;grid-template-columns:repeat(12,minmax(0,1fr));padding:0;background:#fff}.opportunity-summary-grid-opportunity.is-single-row{grid-template-columns:var(--summary-single-row-template, repeat(3, minmax(0, 1fr)))}.opportunity-summary-grid-opportunity .opportunity-summary-section{container:opportunity-summary-section / inline-size;min-width:0;min-height:0;padding:9px 20px 10px;border-top:0;border-left:0}.opportunity-summary-grid-opportunity .opportunity-summary-section:first-child{padding-left:20px;border-top:0}.opportunity-summary-grid-opportunity .opportunity-summary-width-wide{grid-column:1 / -1}.opportunity-summary-grid-opportunity .opportunity-summary-width-normal{grid-column:span 8}.opportunity-summary-grid-opportunity .opportunity-summary-width-narrow{grid-column:span 4;border-left:1px solid var(--crm-surface-strong)}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-1{grid-column:span 3}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-2{grid-column:span 6}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-3{grid-column:span 9}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-4{grid-column:1 / -1}.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-1,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-2,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-3,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-4{grid-column:auto;border-left:0}.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section+.opportunity-summary-section{border-left:1px solid var(--crm-surface-strong)}.opportunity-summary-grid-opportunity .opportunity-summary-section-title{gap:8px;margin-bottom:7px;color:var(--crm-text-secondary);font-size:13px;font-weight:700;line-height:1.2;text-transform:none}.opportunity-summary-grid-opportunity .opportunity-summary-section.is-leading-opportunity-section{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start}.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-section-title{margin:0;padding-top:1px}.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-fields,.opportunity-summary-grid-opportunity .is-leading-opportunity-section.opportunity-summary-width-wide .opportunity-summary-fields{grid-template-columns:minmax(0,1fr);padding-left:0}.opportunity-summary-grid-opportunity .opportunity-summary-fields,.opportunity-summary-grid-opportunity .opportunity-summary-width-wide .opportunity-summary-fields{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;padding-left:24px}.opportunity-summary-grid-opportunity .opportunity-summary-fields-row{gap:24px}.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-fields-row{grid-template-columns:minmax(170px,.82fr) minmax(170px,.82fr) minmax(260px,1.36fr)}@container opportunity-summary-section (max-width: 760px){.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-fields-row{grid-template-columns:minmax(0,.82fr) minmax(0,.82fr) minmax(0,1.36fr);gap:16px}}@container opportunity-summary-section (max-width: 520px){.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-fields-row{grid-template-columns:minmax(0,1fr);gap:8px}.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-field,.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-value-only{grid-column:1 / -1}}.opportunity-summary-grid-opportunity .opportunity-summary-field-value,.opportunity-summary-grid-opportunity .opportunity-summary-field.is-badge .badge{margin-top:3px}.opportunity-summary-grid-opportunity .opportunity-summary-value-only{align-items:center;min-height:20px;font-size:14px;line-height:1.3}.opportunity-summary-grid-opportunity .opportunity-summary-value-only.is-date{font-size:13px}@container opportunity-detail-card (max-width: 900px){.opportunity-summary-grid-opportunity.is-single-row{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-2,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-3,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-4{grid-column:1 / -1}}@container opportunity-detail-card (max-width: 760px){.opportunity-summary-grid-opportunity.is-single-row{grid-template-columns:minmax(0,1fr)}.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-1,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-2,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-3,.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section.opportunity-summary-field-count-4{grid-column:1 / -1}.opportunity-summary-grid-opportunity.is-single-row>.opportunity-summary-section+.opportunity-summary-section{border-top:1px solid var(--crm-surface-strong);border-left:0}.opportunity-summary-grid-opportunity .opportunity-summary-fields-row,.opportunity-summary-grid-opportunity .is-leading-opportunity-section .opportunity-summary-fields-row{grid-template-columns:minmax(0,1fr)}.opportunity-summary-grid-opportunity .opportunity-summary-field,.opportunity-summary-grid-opportunity .opportunity-summary-value-only{grid-column:1 / -1}}.opportunity-summary-scope-list{display:grid;gap:3px}.opportunity-summary-scope-row{display:block;min-width:0;line-height:1.3}.opportunity-summary-scope-row span{min-width:0}.opportunity-summary-scope-row>span:first-child{overflow-wrap:normal;word-break:normal}.opportunity-summary-scope-amount{display:inline-block;margin-left:5px;font-weight:inherit;white-space:nowrap}.opportunity-related-panel{--opportunity-content-rail: 44px;border-top:1px solid var(--crm-surface-strong);background:#fff}.opportunity-related-panel-head{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:6px 20px}.opportunity-related-panel-head>div{display:flex;align-items:center;gap:8px;color:#3f3f46;font-size:13px}.opportunity-related-panel-head>div>strong{font-weight:700;line-height:1.2}.opportunity-related-panel-head>div svg{color:var(--crm-brand)}.opportunity-related-panel-head>div>span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border:1px solid var(--crm-border);color:var(--crm-text-muted);font-size:11px;font-weight:700}.button.compact{min-height:31px;padding:0 9px;font-size:12px}.opportunity-related-state,.opportunity-related-empty{display:flex;align-items:center;gap:8px;padding:4px 20px 12px var(--opportunity-content-rail);color:var(--crm-text-muted);font-size:12px}.opportunity-related-state.is-error,.opportunity-related-error{color:#b42318}.opportunity-participant-list{border-top:1px solid #f0f0f1}.opportunity-participant-row{display:grid;grid-template-columns:28px minmax(150px,1.2fr) minmax(130px,.85fr) minmax(125px,.8fr) minmax(170px,1.5fr) auto;align-items:center;gap:12px;min-height:50px;padding:6px 20px 6px var(--opportunity-content-rail);border-bottom:1px solid #f0f0f1}.opportunity-participant-row:last-child{border-bottom:0}.opportunity-participant-company-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;color:#2563eb;background:#eff6ff}.opportunity-participant-company,.opportunity-participant-role,.opportunity-participant-status,.opportunity-participant-comment{display:grid;min-width:0;gap:2px}.opportunity-participant-row span:not(.badge){color:var(--crm-text-muted);font-size:11px}.opportunity-participant-row strong{overflow:hidden;color:#27272a;font-size:12px;font-weight:620;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.opportunity-participant-row strong.is-empty{color:#a1a1aa;font-weight:450}.opportunity-participant-actions{display:flex;gap:5px}.opportunity-participant-editor{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(200px,1.5fr) auto;align-items:end;gap:10px;padding:10px 20px 12px var(--opportunity-content-rail);border-top:1px solid var(--crm-surface-strong);background:#f8faf9}.opportunity-participant-editor .field{gap:4px}.opportunity-participant-editor input,.opportunity-participant-editor select{min-height:36px;font-size:13px}.opportunity-participant-editor-actions{display:flex;gap:6px}.opportunity-task-list{border-top:1px solid #f0f0f1}.opportunity-task-row{display:grid;grid-template-columns:30px minmax(190px,1.45fr) minmax(135px,.9fr) minmax(130px,.82fr) minmax(85px,.55fr) minmax(120px,.7fr) auto;align-items:center;gap:12px;min-height:54px;padding:5px 20px 5px var(--opportunity-content-rail);border-bottom:1px solid #f0f0f1}.opportunity-task-row:last-child{border-bottom:0}.opportunity-task-row.is-overdue{box-shadow:inset 3px 0 #dc2626}.opportunity-task-row.is-completed{background:var(--crm-surface-muted)}.opportunity-task-complete{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;padding:0;border:1px solid var(--crm-border);border-radius:4px;background:#fff;color:var(--crm-text-secondary);cursor:pointer}.opportunity-task-complete:hover:not(:disabled){border-color:#86c8aa;background:#f0fdf7;color:var(--crm-primary)}.opportunity-task-complete:disabled{cursor:default;opacity:.55}.opportunity-task-row.is-completed .opportunity-task-complete{border-color:#86c8aa;background:var(--crm-primary-soft);color:var(--crm-primary)}.opportunity-task-title,.opportunity-task-assignee,.opportunity-task-dates,.opportunity-task-priority,.opportunity-task-status{display:grid;min-width:0;gap:2px}.opportunity-task-row span:not(.badge),.opportunity-task-row small{color:var(--crm-text-muted);font-size:11px}.opportunity-task-row strong{overflow:hidden;color:#27272a;font-size:12px;font-weight:620;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.opportunity-task-title>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opportunity-task-row.is-completed .opportunity-task-title strong{color:var(--crm-text-muted);text-decoration:line-through}.opportunity-task-row.is-overdue .opportunity-task-dates>span,.opportunity-task-priority strong.is-high{color:#b42318}.opportunity-task-dates small{display:inline-flex;align-items:center;gap:4px}.opportunity-task-dates small b{display:inline-flex;min-width:18px;height:17px;align-items:center;justify-content:center;padding:0 4px;border:1px solid #ded7f1;border-radius:3px;color:#6755b8;font-size:10px}.opportunity-task-actions{display:flex;gap:5px}.opportunity-tasks-panel>.task-editor{border-width:1px 0 0;border-radius:0;padding-right:20px;padding-left:var(--opportunity-content-rail);background:#fbfcfb}.opportunity-task-editor{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(170px,1fr) repeat(2,minmax(140px,.8fr)) repeat(2,minmax(125px,.7fr));align-items:end;gap:9px;padding:10px 20px 12px var(--opportunity-content-rail);border-top:1px solid var(--crm-surface-strong);background:#f8faf9}.opportunity-task-editor .field{gap:4px}.opportunity-task-editor input,.opportunity-task-editor select{min-height:36px;font-size:13px}.opportunity-task-comment-field{grid-column:1 / -2}.opportunity-task-editor-actions{display:flex;grid-column:-2 / -1;gap:6px}.opportunity-related-error{margin:0 20px 10px}.entity-detail-tab-pane[hidden],.project-detail-pane[hidden]{display:none}.activity-timeline{min-width:0;border-top:1px solid var(--crm-surface-strong);background:#fff;color:#27272a}.activity-timeline.is-compact{margin-top:12px;border:1px solid #dfe3e0;border-radius:4px;overflow:hidden}.activity-timeline-head{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:12px;padding:7px 20px;border-bottom:1px solid #ececee}.activity-timeline.is-compact .activity-timeline-head{padding-right:12px;padding-left:12px}.activity-timeline-title,.activity-timeline-head-actions,.activity-timeline-title>div{display:flex;min-width:0;align-items:center}.activity-timeline-title{gap:8px}.activity-timeline-title>svg{flex:0 0 auto;color:#0e7490}.activity-timeline-title>div{gap:7px}.activity-timeline-title strong{font-size:13px;font-weight:650}.activity-timeline-title span{color:var(--crm-text-muted);font-size:11px}.activity-timeline-head-actions{flex:0 0 auto;gap:6px}.activity-filter-toggle,.activity-clear-filters,.activity-item-actions button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--crm-text-muted);cursor:pointer;font:inherit}.activity-filter-toggle{min-height:30px;gap:4px;padding:0 7px;font-size:12px}.activity-filter-toggle:hover,.activity-filter-toggle.is-active{color:#0e7490;background:#ecfeff}.activity-filter-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.activity-filters{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(150px,1fr) repeat(2,minmax(130px,.72fr)) auto;align-items:end;gap:8px;padding:9px 20px 10px;border-bottom:1px solid var(--crm-surface-strong);background:var(--crm-surface-muted)}.activity-timeline.is-compact .activity-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding-right:12px;padding-left:12px}.activity-filters label,.activity-editor label,.activity-next-action-fields label{display:grid;min-width:0;gap:4px}.activity-filters label>span,.activity-editor label>span,.activity-next-action-fields label>span{color:#626269;font-size:11px;font-weight:600}.activity-filters select,.activity-filters input,.activity-editor select,.activity-editor input:not([type=checkbox]),.activity-editor textarea,.activity-next-action-fields input{width:100%;min-height:34px;padding:6px 9px;border:1px solid var(--crm-border);border-radius:4px;background:#fff;color:#27272a;font:inherit;font-size:12px}.activity-editor textarea{min-height:72px;resize:vertical}.activity-filters select:focus,.activity-filters input:focus,.activity-editor select:focus,.activity-editor input:not([type=checkbox]):focus,.activity-editor textarea:focus,.activity-next-action-fields input:focus{border-color:#67a994;outline:2px solid #dff4ec;outline-offset:0}.activity-clear-filters{min-height:34px;gap:4px;padding:0 5px;font-size:11px}.activity-clear-filters:hover{color:#b42318}.activity-editor{padding:12px 20px;border-bottom:1px solid #dfe3e0;background:#f7faf8}.activity-timeline.is-compact .activity-editor{padding-right:12px;padding-left:12px}.activity-editor-main{display:grid;grid-template-columns:minmax(120px,.62fr) minmax(180px,.85fr) minmax(220px,1.4fr) minmax(170px,.85fr);align-items:end;gap:9px}.activity-editor-result{grid-column:1 / -1}.activity-timeline.is-compact .activity-editor-main{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-timeline.is-compact .activity-editor-subject,.activity-timeline.is-compact .activity-editor-result{grid-column:1 / -1}.activity-next-action-switch{display:inline-flex!important;align-items:center;gap:7px!important;margin-top:9px;color:#3f3f46;cursor:pointer}.activity-next-action-switch input{width:16px;height:16px;margin:0;accent-color:var(--crm-primary)}.activity-next-action-switch span{color:inherit!important;font-size:12px!important}.activity-next-action-fields{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(190px,.75fr);gap:9px;margin-top:8px}.activity-editor-actions{display:flex;min-height:32px;align-items:center;justify-content:flex-end;gap:6px;margin-top:10px}.activity-editor-state{display:inline-flex;flex:1 1 auto;align-items:center;gap:5px;color:#b42318;font-size:11px}.activity-editor-state:has(.lucide-circle-check-big),.activity-editor-state:has(.lucide-circle-check){color:var(--crm-primary)}.activity-timeline-state,.activity-timeline-empty{display:flex;min-height:92px;align-items:center;justify-content:center;gap:9px;padding:16px 20px;color:var(--crm-text-muted);font-size:12px}.activity-timeline-state.is-error{color:#b42318}.activity-timeline-empty>svg{color:#0e7490}.activity-timeline-empty>div{display:grid;gap:2px}.activity-timeline-empty strong{color:#3f3f46;font-weight:650}.activity-timeline-empty button{margin-left:8px;border:0;background:transparent;color:var(--crm-primary);cursor:pointer;font:inherit;font-size:12px;font-weight:650}.activity-list{position:relative;margin:0;padding:0;list-style:none}.activity-list:before{position:absolute;top:24px;bottom:24px;left:36px;width:1px;background:#dfe3e0;content:""}.activity-load-more{position:relative;display:flex;justify-content:center;padding:12px 20px;background:#fff}.activity-timeline.is-compact .activity-list:before{left:28px}.activity-item{--activity-accent: #0e7490;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:12px 20px;border-bottom:1px solid #ececee}.activity-timeline.is-compact .activity-item{grid-template-columns:26px minmax(0,1fr) auto;gap:8px;padding:11px 12px}.activity-item:last-child{border-bottom:0}.activity-tone-blue{--activity-accent: #2563eb}.activity-tone-violet{--activity-accent: #6d5bd0}.activity-tone-cyan{--activity-accent: #0e7490}.activity-tone-amber{--activity-accent: var(--crm-warning)}.activity-tone-green{--activity-accent: var(--crm-primary)}.activity-item-marker{z-index:1;display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--activity-accent) 24%,#fff);border-radius:50%;background:#fff;color:var(--activity-accent)}.activity-timeline.is-compact .activity-item-marker{width:26px;height:26px}.activity-item-content{display:grid;min-width:0;gap:7px}.activity-item-heading{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:12px}.activity-item-heading>div{display:flex;min-width:0;align-items:baseline;flex-wrap:wrap;gap:6px}.activity-type-label{color:var(--activity-accent);font-size:10.5px;font-weight:700;text-transform:uppercase}.activity-item-heading strong{color:#27272a;font-size:13px;font-weight:650;line-height:1.35}.activity-item-heading time,.activity-next-action time{flex:0 0 auto;color:var(--crm-text-muted);font-size:10.5px;white-space:nowrap}.activity-item-content>p{margin:0;color:var(--crm-text-secondary);font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}.activity-item-meta{display:flex;flex-wrap:wrap;gap:5px 14px;color:#85858d;font-size:10.5px}.activity-item-meta b{color:#626269;font-weight:600}.activity-next-action{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 9px;border-left:3px solid #6d5bd0;background:#faf9ff}.activity-next-action>svg{color:#6d5bd0}.activity-next-action>div{display:grid;min-width:0;gap:1px}.activity-next-action>div span{color:var(--crm-text-muted);font-size:10px}.activity-next-action>div strong{color:#3f3f46;font-size:11.5px;font-weight:650}.activity-task-linked{padding:3px 6px;border:1px solid #c4b5fd;color:#5b43b7;font-size:10px;font-weight:650;white-space:nowrap}.activity-item-actions{display:flex;align-items:flex-start;gap:3px}.activity-item-actions button{width:28px;height:28px}.activity-item-actions button:hover{background:var(--crm-background);color:#27272a}.activity-item-actions button.is-danger:hover{background:#fff1f1;color:#dc2626}.entity-detail-section{--section-accent: #2563eb;min-width:0;padding:1px 28px 0;border-left:4px solid var(--section-accent)}.entity-detail-blue{--section-accent: #2563eb}.entity-detail-green{--section-accent: var(--crm-brand)}.entity-detail-violet{--section-accent: #6d5bd0}.entity-detail-list{display:grid;gap:12px;margin:13px 0 0}.entity-detail-list>div{min-width:0}.entity-detail-list dt{display:flex;align-items:center;gap:6px;color:var(--crm-text-muted);font-size:12px}.entity-detail-list dd{margin:5px 0 0;overflow-wrap:anywhere;color:#27272a;font-size:14px;font-weight:600;line-height:1.4}.entity-inline-extras{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;padding:14px 28px 16px;border-top:1px solid var(--crm-surface-strong);background:#fff}.entity-inline-extras h3{margin:2px 0 0;color:var(--crm-text-secondary);font-size:12px;font-weight:700;text-transform:uppercase}.entity-inline-extras dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px 0;margin:0}.entity-inline-extras dl>div{min-width:0;padding:0 18px;border-left:2px solid var(--crm-border)}.entity-inline-extras dt{color:var(--crm-text-muted);font-size:12px}.entity-inline-extras dd{margin:5px 0 0;overflow-wrap:anywhere;color:#27272a;font-size:14px;font-weight:600;line-height:1.4}.opportunity-inline-note{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px 28px 16px;border-top:1px solid var(--crm-surface-strong);background:#fff}.opportunity-inline-note strong{color:var(--crm-text-muted);font-size:12px}.opportunity-inline-note p{margin:0;color:#3f3f46;line-height:1.45}.projects-panel{container-name:projects-panel;container-type:inline-size;width:100%;overflow:hidden}.projects-panel>.toolbar{--project-toolbar-control-height: 30px;--project-toolbar-control-font-size: 12px;grid-template-columns:320px minmax(0,1fr) max-content;min-height:44px;gap:8px;padding:6px 10px;background:var(--crm-surface-muted)}.projects-panel>.toolbar .toolbar-title{flex-wrap:nowrap;white-space:nowrap}.projects-panel>.toolbar .toolbar-title>span:first-of-type{color:#27272a;font-size:15px;font-weight:700}.projects-panel>.toolbar .toolbar-title>svg{color:#3f3f46}.projects-panel>.toolbar .toolbar-filters{display:flex;width:100%;max-width:none;align-items:center;justify-self:stretch;gap:6px}.projects-panel>.toolbar .project-registry-view-switch{min-width:190px;flex:0 0 auto}.projects-panel>.toolbar .project-registry-view-switch .opportunity-view-switch-button{height:var(--project-toolbar-control-height);min-height:var(--project-toolbar-control-height);padding-inline:9px;font-size:var(--project-toolbar-control-font-size)}.project-payment-expansion-controls{display:inline-flex;min-width:max-content;height:30px;flex:0 0 auto;overflow:hidden;border:1px solid #dfe4e1;border-radius:6px;background:#fff}.project-payment-expansion-controls>button{display:inline-flex;min-height:28px;align-items:center;justify-content:center;gap:4px;padding:0 7px;border:0;background:transparent;color:#4f5d57;font:inherit;font-size:12px;font-weight:550;white-space:nowrap;cursor:pointer}.project-payment-expansion-controls>button+button{border-left:1px solid #e5e9e7}.project-payment-expansion-controls>button:hover:not(:disabled){background:#f1f7f4;color:#176a4a}.project-payment-expansion-controls>button:focus-visible{position:relative;z-index:1;outline:2px solid rgb(36 122 88 / 24%);outline-offset:-2px}.project-payment-expansion-controls>button:disabled{color:#a1aaa5;cursor:default}.projects-panel>.toolbar .toolbar-filters>.table-local-search{width:auto;min-width:0;max-width:210px;height:var(--project-toolbar-control-height);flex:0 1 190px;padding-inline:8px}.projects-panel>.toolbar .toolbar-filters>.table-local-search input{font-size:var(--project-toolbar-control-font-size)}.projects-panel>.toolbar .toolbar-filters>.select-wrap{width:auto;min-width:0;max-width:154px;flex:1 1 118px}.project-toolbar-saved-views{min-width:0;flex:0 0 auto;margin-left:auto}.project-toolbar-saved-views .saved-views-bar{min-height:var(--project-toolbar-control-height);flex-wrap:nowrap;gap:6px;padding:0;border:0;background:transparent}.project-toolbar-saved-views .saved-views-main,.project-toolbar-saved-views .saved-views-actions{flex-wrap:nowrap;gap:6px}.project-toolbar-saved-views .saved-views-label{font-size:10px;letter-spacing:.04em}.project-toolbar-saved-views .saved-views-main select{width:176px;height:var(--project-toolbar-control-height);font-size:var(--project-toolbar-control-font-size)}.project-toolbar-saved-views .saved-views-actions .button.compact,.project-toolbar-saved-views .saved-view-icon-button{height:var(--project-toolbar-control-height);min-height:var(--project-toolbar-control-height)}.projects-panel>.toolbar .toolbar-filters select{width:100%;height:var(--project-toolbar-control-height);padding-right:26px;padding-left:8px;border-color:var(--crm-surface-strong);background:var(--crm-surface-muted);color:var(--crm-text-secondary);font-size:var(--project-toolbar-control-font-size);font-weight:400}.projects-panel>.toolbar .toolbar-filters .select-wrap.is-filter-active select{border-color:#79aa94;background:#f2f8f5;color:#205b45;box-shadow:inset 0 0 0 1px #247a5817;font-weight:550}.projects-panel>.toolbar .toolbar-filters .select-wrap.is-filter-active select:focus{border-color:#247a58;box-shadow:0 0 0 2px #247a5829}.projects-panel>.toolbar .toolbar-filters .select-wrap.is-filter-active svg{color:#327b5f}.projects-panel>.toolbar .project-filters-reset{height:var(--project-toolbar-control-height);min-height:var(--project-toolbar-control-height);flex:0 0 auto;justify-content:center;padding-inline:8px;font-size:var(--project-toolbar-control-font-size)}.projects-panel>.toolbar .toolbar-filters .select-wrap svg{right:8px;width:14px;height:14px;color:#a1a1aa}.projects-panel>.toolbar .toolbar-actions{gap:6px;min-width:max-content;flex-wrap:nowrap}@container projects-panel (max-width: 2120px){.projects-panel>.toolbar.toolbar-with-filters{grid-template-columns:minmax(0,1fr) max-content}.projects-panel>.toolbar.toolbar-with-filters .toolbar-title{grid-column:1;grid-row:1}.projects-panel>.toolbar.toolbar-with-filters .toolbar-actions{grid-column:2;grid-row:1}.projects-panel>.toolbar.toolbar-with-filters .toolbar-filters{grid-column:1 / -1;grid-row:2;flex-wrap:wrap}.projects-panel>.toolbar .toolbar-filters>.table-local-search{min-width:150px}.projects-panel>.toolbar .toolbar-filters>.select-wrap{min-width:108px}}.projects-panel>.toolbar .toolbar-actions .button{height:var(--project-toolbar-control-height);min-height:var(--project-toolbar-control-height);padding-inline:8px;border-color:var(--crm-surface-strong);color:var(--crm-text-secondary);font-size:var(--project-toolbar-control-font-size);font-weight:500}.projects-panel>.toolbar .toolbar-actions .button svg{width:15px;height:15px;color:var(--crm-text-muted)}.project-registry-toolbar-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:6px}.project-financial-create-menu{position:relative;flex:0 0 auto}.project-financial-create-menu>summary{list-style:none;cursor:pointer}.project-financial-create-menu>summary::-webkit-details-marker{display:none}.projects-panel>.toolbar .toolbar-actions .project-financial-create-trigger{border-color:#247a58;background:#247a58;color:#fff}.projects-panel>.toolbar .toolbar-actions .project-financial-create-trigger svg{color:currentColor}.project-financial-create-menu[open]>.project-financial-create-trigger,.project-financial-create-trigger:hover,.project-financial-create-trigger:focus-visible{border-color:#176445;background:#176445;color:#fff;outline:none}.projects-panel>.toolbar .project-financial-create-popover,.economics-ledger-table-actions .project-financial-create-popover{position:absolute;z-index:80;top:calc(100% + 6px);right:0;display:grid;align-items:stretch;gap:2px;width:292px;padding:5px;border:1px solid #d9dfdc;border-radius:8px;background:#fff;box-shadow:0 16px 36px #18231d2e}.economics-ledger-table-actions .project-financial-create-trigger{min-height:28px;padding:4px 8px;border-radius:6px;font-size:11px}.project-financial-create-popover button{display:grid;min-height:46px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;padding:5px 8px;border:0;border-radius:5px;background:transparent;color:#3f4944;cursor:pointer;text-align:left}.project-financial-create-popover button:hover,.project-financial-create-popover button:focus-visible{background:#f0f5f2;outline:none}.project-financial-create-popover button>svg{color:#27805d}.project-financial-create-popover button>span{display:grid;min-width:0;gap:2px}.project-financial-create-popover strong{color:#27332d;font-size:12px;font-weight:650}.project-financial-create-popover small{overflow:hidden;color:#727b76;font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.project-column-title{min-width:170px}.project-column-fact_indicator{min-width:64px}.project-column-client_name,.project-column-contract_number{min-width:120px}.project-column-project_manager{min-width:140px}.project-column-contract_status{min-width:120px}.project-column-amount{min-width:100px}.project-column-start_date,.project-column-end_date{min-width:115px;font-variant-numeric:tabular-nums;text-align:right}.resizable-data-table th.project-column-start_date .table-header-sort,.resizable-data-table th.project-column-end_date .table-header-sort{justify-content:flex-end;text-align:right}.project-column-stages,.project-column-notes{min-width:220px}.project-stages .opportunity-risk-marker{background:#2563eb}.project-period{border-left-color:var(--crm-brand)}.project-stages{border-left-color:#2563eb}.project-stages p{color:#3f3f46}.project-detail-navigation{display:flex;min-height:30px;align-items:end;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;padding:0 12px;border-bottom:1px solid var(--crm-surface-strong);background:#fff;scrollbar-width:thin;white-space:nowrap}.project-expanded-row>td,.project-inline-detail,.project-inline-detail .project-detail-body{background:#fff}.configured-entity-inline-detail{background:#fff;box-shadow:none}.project-inline-detail{grid-template-columns:minmax(0,1fr);box-shadow:none}.project-conversion-context{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.25fr) minmax(280px,1fr);border-top:1px solid #d7ddd9;border-bottom:1px solid #d7ddd9;background:#fbfcfb}.project-conversion-context.is-origin-only{grid-template-columns:minmax(0,1fr)}.project-conversion-segment{min-width:0;padding:11px 18px 12px;border-left:1px solid #e4e7e5}.project-conversion-segment:first-child{border-left:0}.project-conversion-heading{display:flex;min-height:20px;align-items:center;gap:7px;margin-bottom:7px;color:var(--crm-text-secondary);font-size:12px;font-weight:700;letter-spacing:0;line-height:1.2;text-transform:uppercase}.project-conversion-heading svg{flex:0 0 auto;color:#3f8f6b}.project-conversion-heading strong{margin-left:auto;color:#27272a;font-size:12px;font-weight:700}.project-source-link{display:flex;max-width:100%;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#126647;cursor:pointer;font:inherit;font-size:14px;font-weight:700;line-height:1.3;text-align:left}.project-source-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-source-link svg{flex:0 0 auto;transition:transform .12s ease}.project-source-link:hover{color:#064e3b}.project-source-link:hover svg{transform:translate(2px)}.project-source-link:focus-visible{border-radius:2px;outline:2px solid #86efac;outline-offset:3px}.project-conversion-primary,.project-conversion-note,.project-conversion-meta,.project-conversion-empty{display:block}.project-conversion-primary{color:#27272a;font-size:14px;line-height:1.3}.project-conversion-note{overflow:hidden;margin-top:3px;color:var(--crm-text-secondary);font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.project-conversion-meta,.project-conversion-empty{margin-top:5px;color:#8a8a93;font-size:11px;line-height:1.3}.project-conversion-list{display:grid;gap:0}.project-conversion-list-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:12px;padding:4px 0;border-top:1px solid #eceeed;color:#3f3f46;font-size:12px;line-height:1.25}.project-conversion-list-row:first-child{padding-top:0;border-top:0}.project-conversion-list-row span{overflow-wrap:anywhere}.project-conversion-list-row strong{color:#27272a;font-weight:700;white-space:nowrap}.project-participant-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:2px 10px;padding:4px 0;border-top:1px solid #eceeed;font-size:12px;line-height:1.25}.project-participant-row:first-child{padding-top:0;border-top:0}.project-participant-row strong{overflow:hidden;color:#27272a;text-overflow:ellipsis;white-space:nowrap}.project-participant-row>span{color:var(--crm-text-muted);white-space:nowrap}.project-participant-row small{grid-column:1 / -1;color:var(--crm-text-muted);font-size:11px;line-height:1.3}.table-inline-detail .configured-detail-sections{gap:8px;padding:10px 12px 12px}.table-inline-detail .configured-detail-section{gap:5px;padding:8px 12px 9px}.table-inline-detail .configured-detail-section-title{color:var(--crm-text-secondary);font-size:14px;font-weight:700;line-height:1.15}.table-inline-detail .configured-detail-columns,.table-inline-detail .configured-detail-spanning{gap:0 22px}.table-inline-detail .configured-detail-field{min-height:40px;padding:4px 0 5px}.table-inline-detail .configured-detail-spanning{margin-top:0}.table-inline-detail .configured-detail-value{margin-top:2px;line-height:1.3}.table-inline-detail .configured-detail-lead .configured-detail-field{min-height:0;padding:2px 0 6px}.table-inline-detail .configured-detail-field-image .client-logo.large{width:44px;height:44px;flex-basis:44px}.project-detail-pane[hidden]{display:none}.project-detail-panes{min-width:0;overflow-anchor:none}.entity-expanded-row .table-inline-detail{position:sticky;left:0;width:min(100%,calc(100vw - 300px))}.entity-expanded-row .opportunity-detail-card-shell{--opportunity-detail-viewport-offset: 318px;position:sticky;left:10px;width:min(100%,calc(100vw - var(--opportunity-detail-viewport-offset)));overflow:hidden;border:1px solid #cbd3cf;border-radius:8px;background:#fff;box-shadow:0 7px 20px #18181b14,0 1px 3px #18181b0f}.entity-expanded-row .opportunity-detail-card-shell>.table-inline-detail{position:static;width:100%;border-top:0;background:#fff}@media(max-width:1100px){.entity-expanded-row .opportunity-detail-card-shell{--opportunity-detail-viewport-offset: 63px}}.project-detail-navigation button{display:inline-flex;min-height:30px;flex:0 0 auto;align-items:center;gap:7px;padding:0 1px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--crm-text-secondary);cursor:pointer;font-size:14px;font-weight:700}.project-detail-navigation button:hover{color:#27272a}.project-detail-navigation button.active{border-bottom-color:var(--crm-primary);color:var(--crm-primary)}.project-financial-plan-control{display:flex;align-items:center;gap:14px;min-height:54px;padding:7px 10px;border:1px solid #d7e1dc;border-left:3px solid var(--crm-brand);border-radius:10px;background:linear-gradient(90deg,#f5fbf8,#fff 48%)}.project-financial-plan-control.is-draft{border-left-color:#7c5ac7;background:linear-gradient(90deg,#f8f6fd,#fff 48%)}.project-financial-plan-state{display:flex;align-items:center;gap:9px;min-width:280px}.project-financial-plan-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:8px;color:var(--crm-brand);background:#e8f5ef}.is-draft .project-financial-plan-icon{color:#6d4bb4;background:#eee9fa}.project-financial-plan-state>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:1px 7px}.project-financial-plan-state span,.project-financial-plan-state strong{font-size:13px;line-height:1.25}.project-financial-plan-state small{grid-column:1 / -1;color:var(--crm-text-muted);font-size:11px;white-space:nowrap}.project-financial-plan-delta{display:flex;align-items:center;gap:14px;margin:0;padding-left:14px;border-left:1px solid #e1e6e3}.project-financial-plan-delta>div{display:grid;gap:1px}.project-financial-plan-delta dt{color:var(--crm-text-muted);font-size:10px}.project-financial-plan-delta dd{margin:0;font-size:12px;font-weight:700;white-space:nowrap}.project-financial-plan-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.project-financial-plan-actions .button{min-height:34px;padding:6px 11px;font-size:12px}.project-financial-plan-history{position:relative}.project-financial-plan-history>summary{display:flex;align-items:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid var(--crm-border);border-radius:8px;background:#fff;font-size:12px;font-weight:700;cursor:pointer;list-style:none}.project-financial-plan-history>summary::-webkit-details-marker{display:none}.project-financial-plan-history>div{position:absolute;z-index:20;top:calc(100% + 6px);right:0;width:min(520px,72vw);max-height:280px;overflow:auto;padding:5px;border:1px solid var(--crm-border);border-radius:10px;background:#fff;box-shadow:0 12px 32px #1f312929}.project-financial-plan-history article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:start;padding:8px;border-radius:7px}.project-financial-plan-history article+article{border-top:1px solid #edf0ee}.project-financial-plan-history article>span{color:var(--crm-brand);font-weight:800}.project-financial-plan-history article div{display:grid;gap:1px;min-width:0}.project-financial-plan-history article strong,.project-financial-plan-history article b{font-size:12px}.project-financial-plan-history article small{color:var(--crm-text-muted);font-size:10px}.project-financial-plan-history article p{margin:3px 0 0;color:var(--crm-text-muted);font-size:11px}.project-financial-plan-history article b{white-space:nowrap}.project-financial-plan-confirmation{display:flex;gap:12px;align-items:flex-start}.project-financial-plan-confirmation-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:10px;color:#6d4bb4;background:#eee9fa}.project-financial-plan-confirmation-icon.is-approved{color:var(--crm-brand);background:#e8f5ef}.project-financial-plan-confirmation h3{margin:0 0 5px}.project-financial-plan-confirmation p{margin:0;color:var(--crm-text-muted);line-height:1.45}.project-financial-plan-confirmation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid var(--crm-border);border-radius:10px;overflow:hidden}.project-financial-plan-confirmation-summary>div{display:grid;gap:3px;padding:10px 12px}.project-financial-plan-confirmation-summary>div+div{border-left:1px solid var(--crm-border)}.project-financial-plan-confirmation-summary dt{color:var(--crm-text-muted);font-size:11px}.project-financial-plan-confirmation-summary dd{margin:0;font-size:15px;font-weight:800}.project-financial-plan-drawer textarea{min-height:88px}.project-economics{min-width:0;background:#fff}.project-economics-loading,.project-economics-error{display:flex;min-height:160px;align-items:center;justify-content:center;gap:9px;padding:24px;color:var(--crm-text-secondary)}.project-economics-error{color:#991b1b}.project-economics-inline-error{display:flex;align-items:center;gap:8px;padding:10px 24px;border-bottom:1px solid #fecaca;background:snow;color:#991b1b;font-size:13px}.project-economics-statement{padding:0 24px 18px;border-bottom:1px solid var(--crm-border);background:#fff}.economics-statement-head{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--crm-surface-strong)}.economics-statement-title{display:flex;min-width:0;align-items:center;gap:9px;color:var(--crm-primary)}.economics-statement-title h3{margin:0;color:#27272a;font-size:15px;line-height:1.2}.economics-reconciliation-state{display:grid;justify-items:end;gap:2px}.economics-reconciliation-state span{color:var(--crm-text-muted);font-size:10px}.economics-reconciliation-state strong{color:var(--crm-primary);font-size:12px}.economics-reconciliation-state.is-overdue strong{color:var(--crm-danger)}.economics-statement-grid{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(520px,1.5fr);margin-top:16px;border:1px solid var(--crm-border);border-left:4px solid var(--crm-brand);background:#fff}.economics-plan-sheet,.economics-cash-sheet{min-width:0}.economics-plan-sheet{padding:15px 18px 13px}.economics-plan-sheet>header{display:grid;gap:3px;padding-bottom:10px;border-bottom:1px solid var(--crm-surface-strong)}.economics-plan-sheet>header span,.economics-cash-head>span{color:var(--crm-text-muted);font-size:10px}.economics-plan-sheet>header strong,.economics-cash-head>strong{color:#3f3f46;font-size:12px}.economics-plan-register{margin:0}.economics-plan-register>div{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ededee}.economics-plan-register dt{color:var(--crm-text-muted);font-size:11px}.economics-plan-register dd{margin:0;color:#27272a;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.economics-plan-register .economics-plan-total{min-height:55px;border-bottom:0;border-top:2px solid var(--crm-brand)}.economics-plan-total dt{display:grid;gap:2px}.economics-plan-total dt span{color:#27272a;font-size:12px;font-weight:750}.economics-plan-total dt small{color:var(--crm-text-muted);font-size:10px}.economics-plan-total dd{color:var(--crm-primary);font-size:17px}.economics-plan-total.is-negative{border-top-color:#dc2626}.economics-plan-total.is-negative dd,.economics-plan-total.is-negative dt small{color:var(--crm-danger)}.economics-cash-sheet{border-left:1px solid var(--crm-border)}.economics-cash-head,.economics-cash-row{display:grid;grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(105px,.8fr));align-items:center;column-gap:18px}.economics-cash-head{min-height:47px;padding:0 18px;border-bottom:1px solid var(--crm-border);background:var(--crm-surface-muted)}.economics-cash-head span{text-align:right}.economics-cash-row{min-height:58px;padding:8px 18px;border-bottom:1px solid var(--crm-surface-strong)}.economics-cash-row>span,.economics-cash-row>strong{overflow:hidden;color:#3f3f46;font-size:12px;font-variant-numeric:tabular-nums;text-align:right;text-overflow:ellipsis;white-space:nowrap}.economics-cash-row>strong{color:var(--crm-text);font-size:13px}.economics-cash-label{display:grid;min-width:0;gap:7px}.economics-cash-label strong{color:#3f3f46;font-size:12px}.economics-cash-progress{display:block;width:100%;height:3px;overflow:hidden;background:var(--crm-surface-strong)}.economics-cash-progress i{display:block;height:100%;background:var(--crm-brand)}.economics-cash-row.expenses .economics-cash-progress i{background:#d97706}.economics-cash-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-height:56px;padding:8px 18px;border-left:4px solid #a1a1aa;background:var(--crm-surface-muted)}.economics-cash-result>div{display:grid;gap:2px}.economics-cash-result span{color:#3f3f46;font-size:12px;font-weight:750}.economics-cash-result small{color:var(--crm-text-muted);font-size:10px}.economics-cash-result>strong{color:#27272a;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}.economics-cash-result.is-positive{border-left-color:var(--crm-success)}.economics-cash-result.is-positive>strong{color:var(--crm-primary)}.economics-cash-result.is-negative{border-left-color:#dc2626}.economics-cash-result.is-negative>strong,.economics-cash-result.is-negative small{color:var(--crm-danger)}.project-economics-composition{padding:14px 18px 15px;border:1px solid var(--crm-border);border-top:0;background:var(--crm-surface-muted)}.project-economics-composition-head,.project-economics-composition-head>div{display:flex;align-items:center;gap:8px}.project-economics-composition-head{justify-content:space-between;color:var(--crm-text-secondary);font-size:13px}.project-economics-composition-head>div svg{color:var(--crm-brand)}.economics-loss-note{display:inline-flex;align-items:center;gap:5px;color:var(--crm-danger);font-size:12px;font-weight:650}.economics-composition-track{display:flex;width:100%;height:8px;margin-top:11px;overflow:hidden;background:var(--crm-surface-strong)}.economics-composition-track span{display:block;min-width:2px;height:100%}.economics-composition-commission,.economics-legend-commission{background:#7c3aed}.economics-composition-subcontract,.economics-legend-subcontract{background:#2563eb}.economics-composition-operating,.economics-legend-operating{background:#d97706}.economics-composition-margin,.economics-legend-margin{background:var(--crm-brand)}.economics-composition-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px}.project-economics-sheet .economics-composition-footer .economics-composition-legend{min-width:0;margin-top:0}.economics-composition-footer .economics-result-meta{flex:0 0 auto;margin-left:auto}.economics-composition-legend>span{display:inline-grid;grid-template-columns:8px auto auto;align-items:center;gap:6px;color:var(--crm-text-muted);font-size:12px}.economics-composition-legend i{display:block;width:8px;height:8px}.economics-composition-legend strong{color:#3f3f46;font-weight:700}.project-economics-ledger{padding:0 20px 20px;background:#f8faf9}.economics-ledger-title{display:flex;align-items:baseline;gap:10px;padding:14px 4px 10px}.economics-ledger-title span{color:var(--crm-text-muted);font-size:10px}.economics-ledger-title h3{margin:0;color:#27272a;font-size:14px}.economics-ledger-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.economics-ledger-column{min-width:0;align-self:start;border:1px solid var(--crm-border);border-top:4px solid var(--crm-brand);background:#fff}.economics-ledger-column.is-expenses{border-top-color:#d97706}.economics-ledger-column-head{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:16px;padding:9px 14px;border-bottom:1px solid var(--crm-border);background:var(--crm-surface-muted)}.economics-ledger-column-head h3{margin:0;color:#27272a;font-size:15px}.economics-ledger-column-head dl,.economics-ledger-balance{display:flex;gap:18px;margin:0}.economics-ledger-column-head dl>div,.economics-ledger-balance>div{display:grid;justify-items:end;gap:2px}.economics-ledger-column-head dt,.economics-ledger-balance dt{color:var(--crm-text-muted);font-size:10px}.economics-ledger-column-head dd,.economics-ledger-balance dd{margin:0;color:#27272a;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.economics-ledger-section{--ledger-accent: var(--crm-text-muted);min-width:0;border:0;border-left:4px solid var(--ledger-accent);background:#fff}.economics-ledger-section+.economics-ledger-section{border-top:8px solid var(--crm-background)}.economics-ledger-income{--ledger-accent: var(--crm-brand)}.economics-ledger-commission{--ledger-accent: #7c3aed}.economics-ledger-subcontract{--ledger-accent: #2563eb}.economics-ledger-operating{--ledger-accent: #d97706}.economics-ledger-section>header{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 8px 12px;border-bottom:1px solid var(--crm-surface-strong);background:#fff}.economics-ledger-heading,.economics-ledger-tools{display:flex;min-width:0;align-items:center;gap:8px}.economics-ledger-tools{justify-content:flex-end}.economics-ledger-section h4{margin:0;color:#3f3f46;font-size:13px}.economics-ledger-balance{gap:12px}.economics-ledger-balance dd{font-size:11px}.economics-ledger-marker{display:block;width:7px;height:7px;background:var(--ledger-accent)}.economics-add-button{display:inline-flex;min-height:30px;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--crm-border);border-radius:6px;background:#fff;color:#3f3f46;cursor:pointer;font-size:12px;font-weight:700}.economics-add-button:hover{border-color:var(--ledger-accent);color:var(--ledger-accent)}.economics-ledger-empty{padding:16px 14px;color:#a1a1aa;font-size:13px}.project-economics-sheet{--financial-actions-width: 152px;container-type:inline-size;display:grid;gap:14px;padding:0 24px 20px;background:#fff}.economics-sheet-section{min-width:0;padding-top:14px;border-top:1px solid var(--crm-border)}.economics-sheet-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.economics-sheet-section-head h3{margin:0;color:#27272a;font-size:18px;line-height:1.25}.receipts-economics-caption{display:block;margin-top:3px;color:var(--crm-text-muted);font-size:11px;line-height:1.3}.economics-result-meta{display:flex;align-items:center;gap:12px}.economics-composition-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;min-width:0}.economics-margin-note,.economics-payment-state,.economics-items-count{color:var(--crm-text-muted);font-size:13px}.economics-margin-note{padding:3px 7px;border:1px solid #bbf7d0;border-radius:5px;color:var(--crm-primary);font-weight:700}.economics-actual-summary{display:inline-flex;align-items:baseline;gap:5px;padding-left:12px;border-left:3px solid #a1a1aa;color:var(--crm-text-muted);font-size:11px}.economics-actual-summary strong{color:#27272a;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.economics-actual-summary.is-positive{border-left-color:#16a34a}.economics-actual-summary.is-positive strong{color:#15803d}.economics-actual-summary.is-negative{border-left-color:#dc2626}.economics-actual-summary.is-negative strong{color:var(--crm-danger)}.economics-margin-note.is-negative{border-color:#fecaca;color:var(--crm-danger)}.economics-payment-state{display:inline-flex;align-items:center;gap:5px;color:var(--crm-primary);font-weight:650}.economics-payment-state.is-overdue{color:var(--crm-danger)}.economics-equation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1.2fr);align-items:stretch;margin-top:12px}.economics-equation-number{display:grid;min-width:0;gap:5px;padding:12px 16px}.economics-equation-number:first-child{padding-left:0}.economics-equation-number>span{color:var(--crm-text-muted);font-size:14px}.economics-equation-number>strong{overflow:hidden;color:#27272a;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.economics-equation-number.is-result{padding-left:18px;border-left:4px solid #4f8ff7}.economics-equation-number.is-result>strong{color:#27272a}.economics-equation-number.is-result.is-negative{border-left-color:#dc2626}.economics-equation-number.is-result.is-negative>strong{color:var(--crm-danger)}.economics-equation-operator{display:flex;align-items:center;justify-content:center;padding:0 6px;color:#a1a1aa;font-size:20px;font-weight:500}.project-economics-sheet .project-economics-composition{display:grid;gap:8px;margin-top:10px;padding:0;border:0;background:transparent}.project-economics-sheet .economics-composition-track{height:10px;margin-top:0}.economics-sheet-section.economics-summary-section{padding-top:0;border-top:0}.economics-summary-section .economics-equation{margin-top:0}.economics-summary-section .economics-equation-number{padding-top:4px;padding-bottom:4px}.project-economics-sheet .economics-summary-section .project-economics-composition{margin-top:4px}.project-economics-sheet .economics-summary-section .economics-composition-track{height:7px}.project-economics-sheet .economics-composition-commission,.project-economics-sheet .economics-legend-commission{background:#dc72ad}.project-economics-sheet .economics-composition-subcontract,.project-economics-sheet .economics-legend-subcontract{background:#ef8a47}.project-economics-sheet .economics-composition-operating,.project-economics-sheet .economics-legend-operating{background:#7b72d8}.project-economics-sheet .economics-composition-margin,.project-economics-sheet .economics-legend-margin{background:#4f8ff7}.economics-cash-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:3px 0 0}.receipts-cash-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.economics-cash-section{padding-top:6px;scroll-margin-block-start:12px}.economics-cash-section:focus-visible{outline:2px solid #86efac;outline-offset:-2px}.economics-cash-section .economics-sheet-section-head h3{font-size:16px;line-height:1.1}.economics-cash-section .economics-payment-state{font-size:11px}.economics-cash-strip>div{display:grid;min-width:0;gap:0;padding:0 12px;border-left:1px solid var(--crm-surface-strong)}.economics-cash-strip>div:first-child{padding-left:0;border-left:0}.economics-cash-strip dt{overflow:hidden;color:var(--crm-text-muted);font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.economics-cash-strip dd{overflow:hidden;margin:0;color:#27272a;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.economics-cash-strip small{overflow:hidden;color:var(--crm-text-muted);font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.economics-cash-strip .economics-actual-result{padding-left:16px;border-left:4px solid #a1a1aa}.economics-actual-result.is-positive{border-left-color:var(--crm-success)}.economics-actual-result.is-positive dd{color:var(--crm-primary)}.economics-actual-result.is-negative{border-left-color:#dc2626}.economics-actual-result.is-negative dd,.economics-actual-result.is-negative small{color:var(--crm-danger)}.economics-timeline-section{padding-top:9px}.cash-flow-heading{display:flex;min-width:0;align-items:center;gap:10px}.cash-flow-heading>div{display:grid;min-width:0;gap:2px}.cash-flow-heading p{margin:0;color:var(--crm-text-muted);font-size:12px;font-weight:450;line-height:1.35}.cash-flow-eyebrow{color:var(--crm-primary);font-size:11px;font-weight:750;text-transform:uppercase}.cash-flow-header-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:14px}.cash-flow-header-main{display:flex;width:100%;min-width:0;min-height:42px;align-items:center;justify-content:space-between;gap:20px}.cash-flow-legend-row{display:flex;width:100%;min-height:18px;align-items:center;justify-content:flex-end;gap:18px;padding-top:2px}.cash-flow-range{display:inline-flex;min-width:0;align-items:center;gap:6px;color:var(--crm-text-muted);font-size:12px;white-space:nowrap}.cash-flow-range-label{color:var(--crm-text-secondary);font-weight:650}.cash-flow-range input{width:128px;height:28px;padding:0 7px;border:1px solid var(--crm-border);border-radius:4px;background:#fff;color:#27272a;font:inherit;font-variant-numeric:tabular-nums}.cash-flow-range input:focus{border-color:#10b981;outline:2px solid rgba(16,185,129,.14);outline-offset:0}.cash-flow-range.has-error input{border-color:#dc2626}.cash-flow-range-error{color:var(--crm-danger);font-size:11px;font-weight:600}.portfolio-cash-flow{--portfolio-flow-ink: #151a18;--portfolio-flow-muted: #69716d;--portfolio-flow-line: #dde2df;--portfolio-flow-line-strong: #cbd3cf;--portfolio-flow-surface: #fff;--portfolio-flow-soft: #f6f8f7;--portfolio-flow-accent: #08a35b;--portfolio-flow-accent-strong: #087f4b;--portfolio-flow-accent-soft: #edf7f1;--portfolio-flow-alert: #ef4528;--portfolio-flow-grid: #dce6e1;--portfolio-flow-axis: #4e617c;container-name:portfolio-cash-flow;container-type:inline-size;padding:0;overflow:hidden;border:1px solid var(--portfolio-flow-line);border-radius:10px;background:var(--portfolio-flow-surface);color:var(--portfolio-flow-ink);box-shadow:0 6px 18px #13302506}.portfolio-cash-flow .cash-flow-section-head{gap:0;border-bottom:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow .cash-flow-header-main{display:grid;min-height:52px;grid-template-columns:minmax(260px,max-content) minmax(0,1fr);align-items:stretch;gap:0}.portfolio-cash-flow .cash-flow-heading{min-width:0;padding:8px 14px}.portfolio-cash-flow .cash-flow-section-head h3{color:var(--portfolio-flow-ink);font-size:clamp(18px,1.45vw,22px);font-weight:600;letter-spacing:-.025em;line-height:1.15;white-space:nowrap}.portfolio-cash-flow .cash-flow-eyebrow{color:var(--portfolio-flow-accent-strong);font-size:11px}.portfolio-cash-flow .cash-flow-chart{background:var(--portfolio-flow-surface)}.portfolio-cash-flow .cash-flow-header-actions{min-width:0;align-self:stretch;display:block}.portfolio-cash-flow .cash-flow-legend{flex-wrap:nowrap;color:var(--portfolio-flow-muted);font-size:11.5px}.portfolio-cash-flow .cash-flow-legend-row{min-height:52px;align-items:center;justify-content:space-between;gap:16px;padding:9px 18px;border-top:1px solid var(--portfolio-flow-line);background:#fcfdfc}.portfolio-cash-flow .cash-flow-controls-row{grid-template-columns:minmax(0,1fr) auto}@container portfolio-cash-flow (max-width: 1500px){.portfolio-cash-flow .cash-flow-legend-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;padding-block:7px}.portfolio-cash-flow .cash-flow-range{width:max-content;max-width:100%}}.portfolio-cash-flow .cash-flow-range{flex:0 1 auto;margin-right:auto;color:var(--portfolio-flow-muted);font-size:12px}.portfolio-cash-flow .cash-flow-range-label{color:#40556a;font-weight:650}.portfolio-cash-flow .cash-flow-range input{height:34px;border-color:var(--portfolio-flow-line-strong);border-radius:6px;color:#10213b;font-size:12px}.portfolio-cash-flow .cash-flow-range input:focus{border-color:var(--portfolio-flow-accent-strong);outline-color:#087f4b29}.portfolio-cash-flow .cash-flow-full-range-button{min-width:96px;height:34px;padding:0 12px;border:1px solid var(--portfolio-flow-line-strong);border-radius:6px;background:var(--portfolio-flow-surface);color:#40556a;font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer}.portfolio-cash-flow .cash-flow-full-range-button:hover:not(:disabled){border-color:#9ec8b4;color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-full-range-button.active{border-color:#9ec8b4;background:var(--portfolio-flow-accent-soft);box-shadow:inset 0 0 0 1px #087f4b0d;color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-full-range-button:focus-visible{border-color:var(--portfolio-flow-accent-strong);outline:2px solid rgb(8 127 75 / 16%);outline-offset:1px}.portfolio-cash-flow .cash-flow-full-range-button:disabled{color:#a1aaa6;cursor:default;opacity:.65}.portfolio-cash-flow-metrics{display:grid;width:100%;height:100%;grid-template-columns:minmax(118px,max-content) repeat(4,minmax(0,1fr));margin:0}.portfolio-cash-flow-metrics.is-receipts{grid-template-columns:minmax(118px,max-content) repeat(4,minmax(0,1fr))}.portfolio-cash-flow-metrics>div{align-content:center;display:grid;grid-template-rows:24px 15px;min-width:0;gap:1px;padding:6px 12px;border-left:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow-metrics dt{overflow:hidden;color:var(--portfolio-flow-muted);font-size:11.5px;line-height:1.25;order:2;text-overflow:ellipsis;white-space:nowrap}.portfolio-cash-flow-metrics dd{min-width:0;overflow:hidden;margin:0;color:#10213b;font-size:clamp(19px,1.6vw,24px);font-variant-numeric:tabular-nums;font-weight:620;letter-spacing:-.035em;line-height:1;order:1;text-overflow:ellipsis;white-space:nowrap}.portfolio-cash-flow-metrics .positive dd{color:var(--portfolio-flow-accent)}.portfolio-cash-flow-metrics .forecast dd{color:#7764ba}.portfolio-cash-flow-metrics .negative dd{color:var(--portfolio-flow-alert)}.portfolio-cash-flow-state{display:flex;min-height:486px;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;color:var(--portfolio-flow-muted);font-size:12px}.portfolio-cash-flow-state-copy,.portfolio-cash-flow-state-copy>span,.portfolio-cash-flow-state-copy>div,.portfolio-cash-flow-state-title{display:inline-flex;align-items:center;gap:8px}.portfolio-cash-flow-state-copy{min-height:60px;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow-state-title{color:var(--portfolio-flow-ink)}.portfolio-cash-flow-state-title>svg{color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow-skeleton{position:relative;min-height:411px;flex:1;overflow:hidden;border-top:52px solid #fcfdfc;background:repeating-linear-gradient(to bottom,transparent 0 43px,var(--portfolio-flow-grid) 44px 45px),linear-gradient(to bottom,#fff,#fbfcfb)}.portfolio-cash-flow-skeleton:after{position:absolute;right:18px;bottom:20px;left:18px;height:1px;background:var(--portfolio-flow-axis);content:"";opacity:.5}.portfolio-cash-flow-skeleton>span{position:absolute;bottom:21px;width:clamp(18px,2.4vw,34px);border-radius:5px 5px 0 0;background:var(--portfolio-flow-accent-soft)}.portfolio-cash-flow-skeleton>span:nth-child(1){left:8%;height:72px}.portfolio-cash-flow-skeleton>span:nth-child(2){left:24%;height:108px}.portfolio-cash-flow-skeleton>span:nth-child(3){left:40%;height:46px}.portfolio-cash-flow-skeleton>span:nth-child(4){left:57%;height:136px}.portfolio-cash-flow-skeleton>span:nth-child(5){left:73%;height:84px}.portfolio-cash-flow-skeleton>span:nth-child(6){left:89%;height:58px}.portfolio-overdue-summary{min-width:0;overflow:hidden;border:1px solid #d8dedb;border-radius:8px;background:#fff;box-shadow:0 2px 7px #23362c0d}.portfolio-overdue-summary.is-overdue{display:grid;min-height:48px;grid-template-columns:minmax(270px,.9fr) minmax(410px,1.35fr);border-color:#edcbc6;background:#fff8f7}.portfolio-overdue-summary.is-clear{display:grid;min-height:48px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:5px 12px;border-color:#cfe2d8;background:#f7fbf8}.portfolio-overdue-summary-total,.portfolio-overdue-direction{min-width:0;border:0;border-radius:0;font:inherit;text-align:left}.portfolio-overdue-summary-total{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 10px;border-right:1px solid #edcbc6;background:#fff3f1;color:#832f27;cursor:pointer}.portfolio-overdue-summary-icon{display:inline-flex;width:28px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #efc2bc;border-radius:7px;background:#fff;color:#c43e35}.portfolio-overdue-summary.is-clear .portfolio-overdue-summary-icon{border-color:#c7dfd2;color:#237455}.portfolio-overdue-summary-copy,.portfolio-overdue-direction>span:nth-child(2){display:grid;min-width:0;gap:1px}.portfolio-overdue-summary-copy small,.portfolio-overdue-direction small{overflow:hidden;color:#8b4c46;font-size:10px;font-weight:800;letter-spacing:.045em;line-height:1.2;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.portfolio-overdue-summary-copy strong,.portfolio-overdue-direction strong{overflow:hidden;color:#292524;font-size:13.5px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.portfolio-overdue-summary-copy em,.portfolio-overdue-direction em{overflow:hidden;color:#78716c;font-size:10.5px;font-style:normal;font-weight:500;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.portfolio-overdue-summary.is-clear .portfolio-overdue-summary-copy small{color:#237455}.portfolio-overdue-summary-directions{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff}.portfolio-overdue-direction{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 9px;border-right:1px solid #ece7e5;background:#fff;color:#57534e;cursor:pointer}.portfolio-overdue-direction:last-child{border-right:0}.portfolio-overdue-direction-icon{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:6px;background:#edf7f1;color:#237455}.portfolio-overdue-direction.is-expense .portfolio-overdue-direction-icon{background:#fff1ef;color:#c43e35}.portfolio-overdue-direction:disabled{cursor:default;opacity:.46}.portfolio-overdue-summary-total:focus-visible,.portfolio-overdue-direction:focus-visible{position:relative;z-index:1;outline:2px solid #2563eb;outline-offset:-3px}@media(hover:hover){.portfolio-overdue-summary-total:hover{background:#ffefec}.portfolio-overdue-direction:not(:disabled):hover{background:#fafcfb}}@container project-portfolio (max-width: 800px){.portfolio-overdue-summary.is-overdue{grid-template-columns:minmax(0,1fr)}.portfolio-overdue-summary-total{border-right:0;border-bottom:1px solid #edcbc6}}@container project-portfolio (max-width: 520px){.portfolio-overdue-summary-directions{grid-template-columns:minmax(0,1fr)}.portfolio-overdue-direction{border-right:0;border-bottom:1px solid #ece7e5}.portfolio-overdue-direction:last-child{border-bottom:0}}.portfolio-cash-flow-frame{position:relative;min-width:0;max-width:100%;overflow-anchor:none}.portfolio-cash-flow-refresh-error{position:absolute;z-index:3;right:14px;bottom:12px;display:inline-flex;max-width:min(540px,calc(100% - 28px));align-items:center;gap:7px;padding:6px 9px;border:1px solid #f1c4bc;border-radius:6px;background:#fff8f6;color:#a83b29;box-shadow:0 4px 14px #5a231914;font-size:11.5px}.portfolio-cash-flow-refresh-error span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portfolio-cash-flow-refresh-error button{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.cash-flow-section-head{display:grid;width:100%;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:stretch;gap:4px}.cash-flow-section-head h3{font-size:16px}.cash-flow-mode{display:inline-flex;min-height:28px;padding:2px;border:1px solid var(--crm-border);border-radius:5px;background:var(--crm-surface-muted)}.cash-flow-mode button{min-width:82px;min-height:24px;padding:0 9px;border:0;border-radius:3px;background:transparent;color:var(--crm-text-muted);cursor:pointer;font-size:12px;font-weight:650}.cash-flow-mode button:hover{color:#27272a}.cash-flow-mode button.active{background:#fff;box-shadow:0 0 0 1px #bbf7d0;color:var(--crm-primary)}.cash-flow-mode button:focus-visible{outline:2px solid #10b981;outline-offset:1px}.cash-flow-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:5px 16px;margin:0;color:var(--crm-text-muted);font-size:12px}.project-economics-sheet .economics-sheet-section-head h3{font-size:15px;font-weight:600;line-height:1.2}.cash-flow-legend>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.cash-flow-key{width:10px;height:10px}.cash-flow-key.planned-income,.cash-flow-bar.planned-income{fill:#6b927f;background:#6b927f}.cash-flow-key.forecast-income,.cash-flow-bar.forecast-income{fill:#2f835c;background:#2f835c}.cash-flow-key.actual-income,.cash-flow-bar.actual-income{fill:#14724f;background:#14724f}.cash-flow-key.planned-expense,.cash-flow-bar.planned-expense{fill:#b96f60;background:#b96f60}.cash-flow-key.forecast-expense,.cash-flow-bar.forecast-expense{fill:#9b5f8d;background:#9b5f8d}.cash-flow-key.actual-expense,.cash-flow-bar.actual-expense{fill:#c94c3c;background:#c94c3c}.cash-flow-viewport{overflow-x:auto;overflow-y:hidden;border-top:1px solid var(--crm-surface-strong);border-bottom:1px solid var(--crm-surface-strong);scrollbar-color:#a1a1aa var(--crm-background);scrollbar-width:thin}.cash-flow-viewport::-webkit-scrollbar{height:6px}.cash-flow-viewport::-webkit-scrollbar-track{background:var(--crm-background)}.cash-flow-viewport::-webkit-scrollbar-thumb{background:#a1a1aa}.cash-flow-chart{display:block;background:#fff}.cash-flow-grid line{stroke:#ececee;stroke-width:1;vector-effect:non-scaling-stroke}.cash-flow-grid text,.cash-flow-zero-label{fill:#a1a1aa;font-size:11px;font-variant-numeric:tabular-nums}.cash-flow-zero-line{stroke:var(--crm-text-muted);stroke-width:1;vector-effect:non-scaling-stroke}.cash-flow-period{cursor:pointer;outline:none}.cash-flow-period-hit,.cash-flow-period-highlight{fill:transparent}.cash-flow-period:hover .cash-flow-period-highlight,.cash-flow-period:focus-visible .cash-flow-period-highlight,.cash-flow-period.active .cash-flow-period-highlight{fill:#f5f8f6}.cash-flow-period:focus-visible .cash-flow-period-highlight,.cash-flow-period.active .cash-flow-period-highlight{stroke:#34a977;stroke-width:1;vector-effect:non-scaling-stroke}.cash-flow-bar{shape-rendering:crispEdges}.cash-flow-period-label{fill:var(--crm-text-secondary);font-size:12px;font-weight:650}.cash-flow-period-year{fill:#a1a1aa;font-size:11px}.cash-flow-period.active .cash-flow-period-label{fill:var(--crm-primary)}.cash-flow-period-summary{display:grid;grid-template-columns:minmax(110px,.7fr) repeat(3,minmax(170px,1fr));margin:0;background:var(--crm-surface-muted)}.cash-flow-period-summary>div{display:grid;min-width:0;gap:2px;padding:6px 12px;border-left:1px solid var(--crm-surface-strong)}.cash-flow-period-summary>div:first-child{padding-left:0;border-left:0}.cash-flow-period-summary dt{color:var(--crm-text-muted);font-size:12px}.cash-flow-period-summary dd{display:flex;min-width:0;align-items:baseline;flex-wrap:wrap;gap:3px 10px;margin:0;color:#3f3f46;font-size:13px;font-variant-numeric:tabular-nums}.cash-flow-period-summary dd strong{color:#27272a;font-size:14px;font-weight:700;white-space:nowrap}.cash-flow-period-summary dd em{color:#2f7f5b;font-size:13px;font-style:normal;font-weight:680;white-space:nowrap}.cash-flow-period-name dd{color:var(--crm-text);font-size:14px;font-weight:700;white-space:nowrap}.cash-flow-balance.positive dd strong{color:var(--crm-primary)}.cash-flow-balance.negative dd strong{color:var(--crm-danger)}.cash-flow-undated{display:flex;flex-wrap:wrap;align-items:center;gap:3px 10px;padding:5px 0 0;color:var(--crm-text-muted);font-size:12px}.cash-flow-undated>svg{flex:0 0 auto;color:#d97706}.cash-flow-undated>span:first-of-type{color:#92400e;font-weight:700}.cash-flow-undated>button{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;border-bottom:1px dotted #8b9b93;background:transparent;color:#59645e;font:inherit;line-height:inherit;cursor:pointer;text-underline-offset:2px}.cash-flow-undated>button:hover,.cash-flow-undated>button.active{border-bottom-color:var(--portfolio-flow-accent-strong, #2f7d58);color:var(--portfolio-flow-accent-strong, #2f7d58)}.cash-flow-undated>button:focus-visible{border-radius:2px;outline:2px solid rgb(47 125 88 / 22%);outline-offset:2px}.cash-flow-empty{display:flex;min-height:88px;align-items:center;justify-content:center;gap:10px;margin-top:6px;border-top:1px solid var(--crm-surface-strong);border-bottom:1px solid var(--crm-surface-strong);color:var(--crm-text-muted)}.cash-flow-empty>svg{color:#a1a1aa}.cash-flow-empty>div{display:grid;gap:2px}.cash-flow-empty strong{color:#3f3f46;font-size:12px}.cash-flow-empty span{font-size:11px}.portfolio-cash-flow .cash-flow-mode{height:34px;min-height:34px;flex:0 0 auto;padding:2px;border-color:var(--portfolio-flow-line-strong);border-radius:6px;background:var(--portfolio-flow-soft)}.portfolio-cash-flow .cash-flow-mode button{min-width:76px;height:28px;min-height:28px;border-radius:4px;color:var(--portfolio-flow-muted);font-size:12px;font-weight:650}.portfolio-cash-flow .cash-flow-mode button:hover{color:var(--portfolio-flow-ink)}.portfolio-cash-flow .cash-flow-mode button.active{background:var(--portfolio-flow-surface);box-shadow:0 0 0 1px #b9d8ca;color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-mode button:focus-visible{outline-color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-key{width:24px;height:0;border-top:1.35px solid currentcolor;border-radius:0;background:transparent}.portfolio-cash-flow .cash-flow-key.planned-income,.portfolio-cash-flow .cash-flow-bar.planned-income{color:#789986;fill:#6b927f;background:transparent}.portfolio-cash-flow .cash-flow-key.forecast-income,.portfolio-cash-flow .cash-flow-bar.forecast-income{color:#7764ba;fill:#7764ba;background:transparent}.portfolio-cash-flow .cash-flow-key.actual-income,.portfolio-cash-flow .cash-flow-bar.actual-income{color:#15915f;fill:#0f6344;background:transparent}.portfolio-cash-flow .cash-flow-key.planned-expense,.portfolio-cash-flow .cash-flow-bar.planned-expense{color:#bd786b;fill:#b96f60;background:transparent}.portfolio-cash-flow .cash-flow-key.forecast-expense,.portfolio-cash-flow .cash-flow-bar.forecast-expense{color:#9b5f8d;fill:#9b5f8d;background:transparent}.portfolio-cash-flow .cash-flow-key.actual-expense,.portfolio-cash-flow .cash-flow-bar.actual-expense{color:#d55440;fill:var(--portfolio-flow-alert);background:transparent}.portfolio-cash-flow .cash-flow-key.planned-result{color:#3f5f77;border-top-width:2.4px;border-top-style:dashed}.portfolio-cash-flow .cash-flow-key.forecast-result{color:#0b6f61;border-top-width:2.8px}.portfolio-cash-flow .cash-flow-key.planned-income,.portfolio-cash-flow .cash-flow-key.planned-expense{border-top-style:dashed}.portfolio-cash-flow .cash-flow-viewport{min-width:0;max-width:calc(100% - 36px);margin:12px 18px 0;border-top:0;border-bottom:0;scrollbar-color:var(--portfolio-flow-line-strong) transparent}.portfolio-cash-flow .cash-flow-viewport::-webkit-scrollbar-track{background:transparent}.portfolio-cash-flow .cash-flow-viewport::-webkit-scrollbar-thumb{background:var(--portfolio-flow-line-strong);border-radius:999px}.portfolio-cash-flow .cash-flow-grid line{stroke:var(--portfolio-flow-grid);stroke-dasharray:3 4}.portfolio-cash-flow .cash-flow-grid text,.portfolio-cash-flow .cash-flow-zero-label{fill:var(--portfolio-flow-axis);font-size:12px}.portfolio-cash-flow .cash-flow-zero-line{stroke:#8799b1;stroke-width:1.25}.portfolio-cash-flow .cash-flow-period:hover .cash-flow-period-highlight,.portfolio-cash-flow .cash-flow-period:focus-visible .cash-flow-period-highlight,.portfolio-cash-flow .cash-flow-period.active .cash-flow-period-highlight{fill:var(--portfolio-flow-accent-soft)}.portfolio-cash-flow .cash-flow-period:focus-visible .cash-flow-period-highlight,.portfolio-cash-flow .cash-flow-period.active .cash-flow-period-highlight{stroke:#b9d8ca}.portfolio-cash-flow .cash-flow-bar{shape-rendering:geometricPrecision}.cash-flow-canvas{position:relative;min-width:100%}.portfolio-cash-flow .cash-flow-series{pointer-events:none;vector-effect:non-scaling-stroke}.portfolio-cash-flow .cash-flow-series{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.35px}.portfolio-cash-flow .cash-flow-series.planned-income{stroke:#789986;stroke-dasharray:6 5}.portfolio-cash-flow .cash-flow-series.forecast-income{stroke:#7764ba}.portfolio-cash-flow .cash-flow-series.actual-income{stroke:#15915f}.portfolio-cash-flow .cash-flow-series.planned-expense{stroke:#bd786b;stroke-dasharray:6 5}.portfolio-cash-flow .cash-flow-series.forecast-expense{stroke:#9b5f8d}.portfolio-cash-flow .cash-flow-series.actual-expense{stroke:#d55440}.portfolio-cash-flow .cash-flow-series.planned-result{stroke:#3f5f77;stroke-width:2.4px;stroke-dasharray:8 5}.portfolio-cash-flow .cash-flow-series.forecast-result{stroke:#0b6f61;stroke-width:2.8px}.portfolio-cash-flow .cash-flow-tooltip{pointer-events:none}.portfolio-cash-flow .cash-flow-tooltip>rect{fill:#fffffff7;stroke:#cfdad5;stroke-width:1;filter:drop-shadow(0 7px 15px rgb(23 63 51 / 12%))}.portfolio-cash-flow .cash-flow-tooltip text{fill:#607069;font-size:11.5px;font-variant-numeric:tabular-nums}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-title{fill:#15231e;font-size:12.5px;font-weight:700}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-section{fill:#31423c;font-size:11.5px;font-weight:700}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value{fill:#344740;font-weight:650}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value.forecast-income{fill:#6652ad}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value.actual-income{fill:#087f4b}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value.actual-expense{fill:#bd4938}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value.planned-expense{fill:#a8675b}.portfolio-cash-flow .cash-flow-tooltip .cash-flow-tooltip-value.forecast-expense{fill:#8d527f}.portfolio-cash-flow .cash-flow-tooltip line{stroke:#e1e8e4;stroke-width:1}.portfolio-cash-flow .cash-flow-tooltip-result-label{font-weight:700}.portfolio-cash-flow .cash-flow-tooltip-result{font-size:12.5px!important;font-weight:750}.portfolio-cash-flow .cash-flow-tooltip-result-label.planned-result,.portfolio-cash-flow .cash-flow-tooltip-result.planned-result{fill:#3f5f77!important}.portfolio-cash-flow .cash-flow-tooltip-result-label.forecast-result,.portfolio-cash-flow .cash-flow-tooltip-result.forecast-result{fill:#0b6f61!important}.portfolio-cash-flow .cash-flow-tooltip-result-label.result-variance{fill:#4f5d58!important}.portfolio-cash-flow .cash-flow-tooltip-result.result-variance.positive{fill:#087f4b!important}.portfolio-cash-flow .cash-flow-tooltip-result.negative{fill:#bd4938!important}.cash-flow-period-matrix{border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;color:#40556a;font-size:12px;font-variant-numeric:tabular-nums}.cash-flow-period-matrix th,.cash-flow-period-matrix td{box-sizing:border-box;height:24px;padding:0;border-top:1px solid #edf1ef;border-left:1px solid #f1f3f2;text-align:right;vertical-align:middle}.cash-flow-period-matrix th:first-child,.cash-flow-period-matrix td:first-child{border-left:0}.cash-flow-period-matrix thead th{height:42px;background:#f8faf9;color:#62716b;font-size:11.5px;font-weight:650;text-align:left}.cash-flow-period-matrix thead th:first-child,.cash-flow-period-matrix tbody th{padding:0 12px}.cash-flow-period-matrix thead th:first-child,.cash-flow-period-matrix tbody th{position:sticky;left:0;z-index:2;box-shadow:1px 0 #edf1ef}.cash-flow-period-matrix thead th:first-child{z-index:3;background:#f8faf9}.cash-flow-period-matrix tbody th{background:#fff}.cash-flow-period-matrix thead th:not(:first-child){text-align:center}.cash-flow-period-matrix button{width:100%;height:100%;padding:1px 3px;border:0;outline:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-variant-numeric:inherit;text-align:right}.cash-flow-period-matrix thead button{display:grid;place-content:center;gap:0;text-align:center}.cash-flow-period-matrix thead button strong{color:#31465b;font-size:12px;font-weight:700;line-height:1.1}.cash-flow-period-matrix thead button span{color:#87958f;font-size:11px;line-height:1.1}.cash-flow-period-matrix tbody th{overflow:hidden;color:#4e5f58;font-weight:600;line-height:1.15;text-align:left;text-overflow:ellipsis;white-space:nowrap}.cash-flow-matrix-key{display:inline-block;width:16px;height:0;margin-right:7px;border-top:1.35px solid currentcolor;vertical-align:middle}.cash-flow-matrix-key.planned-income,.cash-flow-matrix-key.planned-expense{border-top-style:dashed}.cash-flow-period-matrix .planned-income{color:#6c8e7c}.cash-flow-period-matrix .forecast-income{color:#6652ad}.cash-flow-period-matrix .actual-income{color:#087f4b}.cash-flow-period-matrix .planned-expense{color:#a8675b}.cash-flow-period-matrix .forecast-expense{color:#8d527f}.cash-flow-period-matrix .actual-expense{color:#bd4938}.cash-flow-period-matrix .planned-result{color:#3f5f77}.cash-flow-period-matrix .forecast-result{color:#0b6f61}.cash-flow-period-matrix .result-variance{color:#4f5d58}.cash-flow-period-matrix .cash-flow-matrix-key.planned-result{border-top-width:2.4px;border-top-style:dashed}.cash-flow-period-matrix .cash-flow-matrix-key.forecast-result{border-top-width:2.8px}.cash-flow-period-matrix .cash-flow-matrix-key.result-variance{border-top-width:2px;border-top-style:dotted}.cash-flow-period-matrix td button{overflow:hidden;font-size:11.5px;font-weight:600;line-height:1;text-overflow:ellipsis;white-space:nowrap}.cash-flow-period-matrix tr.planned-result th,.cash-flow-period-matrix tr.planned-result td button,.cash-flow-period-matrix tr.forecast-result th,.cash-flow-period-matrix tr.forecast-result td button,.cash-flow-period-matrix tr.result-variance th,.cash-flow-period-matrix tr.result-variance td button{font-weight:750}.cash-flow-period-matrix tr.result-variance td.positive button{color:#087f4b}.cash-flow-period-matrix tr.result-variance td.negative button{color:#bd4938}.cash-flow-period-matrix tr.result-variance td.detail-active{box-shadow:inset 0 -2px #087f4b,inset -1px 0 #b9d8ca}.cash-flow-period-matrix th.active,.cash-flow-period-matrix td.active{border-left-color:#b9d8ca;background:var(--portfolio-flow-accent-soft);box-shadow:inset -1px 0 #b9d8ca}.cash-flow-period-matrix thead th.active button strong{color:var(--portfolio-flow-accent-strong)}.cash-flow-period-matrix button:focus-visible{box-shadow:inset 0 0 0 2px #087f4b59}.cash-flow-period-matrix .cash-flow-matrix-spacer{padding:0;border-left:0;background:#fff}.portfolio-cash-flow .cash-flow-period-label{fill:#40556a;font-size:10.5px;font-weight:600}.portfolio-cash-flow .cash-flow-period-year{fill:#8799b1;font-size:10.5px}.portfolio-cash-flow .cash-flow-period-values{pointer-events:none}.portfolio-cash-flow .cash-flow-period-value{font-size:10px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.01em}.portfolio-cash-flow .cash-flow-period-value.planned-income{fill:#668b7a}.portfolio-cash-flow .cash-flow-period-value.forecast-income{fill:#287652}.portfolio-cash-flow .cash-flow-period-value.actual-income{fill:#0f5b40}.portfolio-cash-flow .cash-flow-period-value.planned-expense{fill:#a86659}.portfolio-cash-flow .cash-flow-period-value.forecast-expense{fill:#8d527f}.portfolio-cash-flow .cash-flow-period-value.actual-expense{fill:#bf493b}.portfolio-cash-flow .cash-flow-period-value.empty{fill:#aab4af;font-weight:500}.portfolio-cash-flow .cash-flow-period.active .cash-flow-period-label{fill:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-period-summary{margin:0 18px 16px;border-top:1px solid var(--portfolio-flow-line);background:var(--portfolio-flow-surface)}.portfolio-cash-flow .cash-flow-period-summary>div,.portfolio-cash-flow .cash-flow-period-summary>div:first-child{padding:10px 12px;border-color:var(--portfolio-flow-line)}.portfolio-cash-flow .cash-flow-period-summary dt{color:var(--portfolio-flow-muted);font-size:11.5px}.portfolio-cash-flow .cash-flow-period-summary dd{color:#40556a;font-size:12.5px}.portfolio-cash-flow .cash-flow-period-summary dd strong{color:#10213b;font-size:13.5px;font-weight:680}.portfolio-cash-flow .cash-flow-period-summary dd em{color:var(--portfolio-flow-accent-strong);font-size:12.5px}.portfolio-cash-flow .cash-flow-period-name dd{color:var(--portfolio-flow-ink);font-size:13.5px;font-weight:700}.portfolio-cash-flow .cash-flow-balance.positive dd strong{color:var(--portfolio-flow-accent-strong)}.portfolio-cash-flow .cash-flow-balance.negative dd strong{color:var(--portfolio-flow-alert)}.portfolio-payment-detail{min-width:0;overflow:hidden;margin:0 18px 18px;border:1px solid var(--portfolio-flow-line);border-radius:8px;background:var(--portfolio-flow-surface)}.portfolio-variance-detail{min-width:0;overflow:hidden;margin:10px 18px 14px;border:1px solid var(--portfolio-flow-line);border-radius:8px;background:var(--portfolio-flow-surface)}.portfolio-variance-detail-head{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:18px;padding:9px 14px;background:#fcfdfc}.portfolio-variance-detail-head>div:first-child{display:grid;min-width:0;gap:2px}.portfolio-variance-detail-head>div:first-child>span{color:var(--portfolio-flow-accent-strong);font-size:10px;font-weight:720;letter-spacing:.055em;text-transform:uppercase}.portfolio-variance-detail-head h4{overflow:hidden;margin:0;color:#10213b;font-size:14.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.portfolio-variance-detail-metrics{display:flex;flex:0 0 auto;align-items:center;gap:0;margin:0;font-variant-numeric:tabular-nums}.portfolio-variance-detail-metrics>div{display:grid;gap:1px;min-width:126px;padding:0 12px;border-left:1px solid var(--portfolio-flow-line)}.portfolio-variance-detail-metrics dt{color:var(--portfolio-flow-muted);font-size:10.5px}.portfolio-variance-detail-metrics dd{margin:0;color:#40556a;font-size:12.5px;font-weight:700;white-space:nowrap}.portfolio-variance-detail-metrics .positive dd,.portfolio-variance-impact.positive{color:#087f4b}.portfolio-variance-detail-metrics .negative dd,.portfolio-variance-impact.negative{color:#bd4938}.portfolio-variance-reasons{min-width:980px;margin:0;padding:0;border-top:1px solid var(--portfolio-flow-line);list-style:none}.portfolio-variance-detail:has(.portfolio-variance-reasons){overflow-x:auto}.portfolio-variance-reasons li+li{border-top:1px solid #edf1ef}.portfolio-variance-reasons button,.portfolio-variance-reasons li>div{display:grid;width:100%;min-height:34px;grid-template-columns:84px minmax(180px,1.15fr) minmax(130px,.8fr) minmax(210px,1.25fr) 188px 122px 118px 16px;align-items:center;gap:10px;padding:4px 12px;border:0;background:#fff;color:#40556a;font:inherit;font-size:11.5px;font-variant-numeric:tabular-nums;text-align:left}.portfolio-variance-reasons button{cursor:pointer}.portfolio-variance-reasons button:hover{background:#f4f9f6}.portfolio-variance-reasons button:focus-visible{position:relative;z-index:1;outline:2px solid rgb(8 127 75 / 35%);outline-offset:-2px}.portfolio-variance-reasons strong,.portfolio-variance-reasons span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portfolio-variance-direction{width:fit-content;padding:2px 6px;border:1px solid #cfe4da;border-radius:999px;background:#f0faf5;color:#087f4b;font-size:10.5px;font-weight:700}.portfolio-variance-direction.is-expense{border-color:#f0d2cc;background:#fff5f3;color:#a94537}.portfolio-variance-payment,.portfolio-variance-comparison{color:var(--portfolio-flow-muted)}.portfolio-variance-reason{color:#263a32;font-weight:650}.portfolio-variance-impact{text-align:right}.portfolio-variance-action-label{color:var(--portfolio-flow-accent-strong);font-weight:650;text-align:right}.portfolio-variance-reasons svg{color:var(--portfolio-flow-accent-strong)}.portfolio-variance-empty{display:flex;min-height:52px;align-items:center;justify-content:center;gap:7px;border-top:1px solid var(--portfolio-flow-line);color:var(--portfolio-flow-muted);font-size:12px}.portfolio-variance-empty svg{color:var(--portfolio-flow-accent-strong)}.project-overdue-payments{--portfolio-flow-ink: #151a18;--portfolio-flow-muted: #69716d;--portfolio-flow-line: #dde2df;--portfolio-flow-line-strong: #cbd3cf;--portfolio-flow-surface: #fff;--portfolio-flow-accent: #08a35b;--portfolio-flow-accent-strong: #087f4b;--portfolio-flow-alert: #ef4528}.portfolio-payment-detail-head{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;background:#fcfdfc}.portfolio-payment-detail-head>div:first-child{display:grid;min-width:0;gap:2px}.portfolio-payment-detail-head>div:first-child>span{color:var(--portfolio-flow-accent-strong);font-size:10px;font-weight:720;letter-spacing:.055em;text-transform:uppercase}.portfolio-payment-detail-head h4{overflow:hidden;margin:0;color:#10213b;font-size:14.5px;font-weight:700;letter-spacing:-.012em;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.portfolio-payment-detail-error{display:flex;align-items:center;gap:6px;padding:7px 14px;border-top:1px solid #f3cdc7;background:#fff5f3;color:#a83225;font-size:11.5px}.portfolio-payment-detail-meta{display:flex;flex:0 0 auto;align-items:center;gap:8px;color:var(--portfolio-flow-muted);font-size:11.5px;font-variant-numeric:tabular-nums;white-space:nowrap}.portfolio-payment-detail-meta strong{color:#10213b;font-size:12px}.portfolio-payment-detail-meta span{padding-left:8px;border-left:1px solid var(--portfolio-flow-line)}.portfolio-payment-detail-actions{display:flex;flex:0 0 auto;align-items:center;gap:12px}.portfolio-payment-detail-actions .button.compact{min-height:30px;padding:5px 9px;font-size:12px}.portfolio-payment-table-wrap{max-width:100%;overflow-x:auto;border-top:1px solid var(--portfolio-flow-line)}.project-payments-registry{min-width:0;border-top:1px solid var(--crm-surface-strong);background:#fff}.project-payments-registry-heading{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border-bottom:1px solid var(--crm-surface-strong);background:#fcfdfc}.project-payments-registry-heading>div{display:grid;min-width:0;gap:1px}.project-payments-registry-heading span{color:#237458;font-size:12px;font-weight:700}.project-payments-registry-heading strong{overflow:hidden;color:var(--crm-text-muted);font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.project-payments-registry-actions{display:flex!important;flex:0 0 auto;grid-auto-flow:initial;align-items:center;gap:8px!important}@container projects-panel (max-width: 1320px){.project-payments-registry-heading{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px}.project-payments-registry-heading>div:first-child{width:100%}.project-payments-registry-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.project-payments-subtotal{flex:1 1 720px;flex-wrap:wrap;white-space:normal}.project-payments-subtotal-group{flex-wrap:wrap}}.project-payments-subtotal{display:flex!important;min-width:0;align-items:center;gap:8px!important;color:var(--crm-text-secondary);font-size:11px;white-space:nowrap}.project-payments-subtotal-caption{color:var(--crm-text-muted)!important;font-size:10px!important;font-weight:700!important;letter-spacing:.035em;text-transform:uppercase}.project-payments-subtotal-group{display:flex!important;align-items:center;gap:7px!important;padding-left:8px;border-left:1px solid #d9e1dc}.project-payments-subtotal-kind,.project-payments-subtotal-metric{color:var(--crm-text-muted)!important;font-size:11px!important;font-weight:500!important}.project-payments-subtotal-kind{color:#3f3f46!important;font-weight:700!important}.project-payments-subtotal-metric strong{margin-left:2px;color:var(--crm-text);font-variant-numeric:tabular-nums;font-weight:700}.project-payments-subtotal-metric strong.is-income{color:#13795b}.project-payments-subtotal-metric strong.is-expense,.project-payments-subtotal-metric strong.is-negative{color:#c24132}.project-payments-action-error{max-width:360px;overflow:hidden;color:#b42318!important;font-size:11px!important;font-weight:600!important;text-overflow:ellipsis;white-space:nowrap}.project-payment-overdue-filter{display:inline-flex;min-height:28px;align-items:center;gap:5px;padding:4px 8px;border:1px solid #d8dedb;border-radius:6px;background:#fff;color:#575f5a;cursor:pointer;font:inherit;font-size:10.5px;font-weight:700;line-height:1}.project-payment-overdue-filter.is-active{border-color:#e2aaa3;background:#fff1ef;color:#b33a31;box-shadow:inset 0 -2px #c43e35}.project-payment-overdue-filter:focus-visible{outline:2px solid #2563eb;outline-offset:1px}@media(hover:hover){.project-payment-overdue-filter:hover{border-color:#b9c4be;background:#f7faf8}.project-payment-overdue-filter.is-active:hover{border-color:#d89188;background:#ffeae7}}.project-payments-loading{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;color:var(--crm-text-muted)!important;font-size:11px!important;font-weight:500!important}.project-payments-table-wrap{width:100%;max-width:100%;overflow-x:auto;border-top:0}.project-payments-table{min-width:1640px;table-layout:fixed}.project-payment-type-value{display:block;min-width:0;margin:0!important;overflow:hidden;color:inherit!important;font-size:inherit!important;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.project-payment-record-type-cell{text-align:center}.project-payment-record-type-content{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.project-payment-record-type{display:inline-flex;min-width:48px;min-height:18px;align-items:center;justify-content:center;padding:1px 6px;border:1px solid #d9e1dd;border-radius:999px;background:#f7f9f8;color:#536059;font-size:11px;font-weight:650;line-height:1;text-align:center;white-space:nowrap}.project-payment-record-type.is-fact{width:42px;min-width:42px;max-width:42px;padding-inline:4px;border-color:#c8ddf3;background:#f3f8fd;color:#35658f}.project-payment-fact-indicator-cell{text-align:center}.projects-table .pr{display:block;width:100%;min-width:0;background:linear-gradient(to right,#258263 0 var(--r),#e2e8e5 var(--r)) left center / calc(100% - 54px) 6px no-repeat;color:#343a3d;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.project-payment-fact-indicator{display:inline-block;width:18px;height:10px;border:1px solid #cbd4cf;border-radius:999px;background:#fff;vertical-align:middle}.project-payment-fact-indicator.is-partial{border-color:#8dceb0;background:#bfe8d2}.project-payment-fact-indicator.is-complete{border-color:#0d7e50;background:#159a64}.project-payment-fact-indicator.is-overdue{border-color:#d97706;background:#f59e0b}.project-payments-table tbody tr.is-record-fact>td{background:#f8fbfe}.project-payments-table tbody tr.is-record-fact:hover>td{background:#f1f7fd}.project-payment-number-content{display:inline-flex;min-width:0;align-items:center;gap:3px;white-space:nowrap}.project-payment-row-toggle,.project-payment-row-toggle-spacer{width:18px;height:18px;flex:0 0 18px}.project-payment-row-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:4px;background:transparent;color:#15805a;cursor:pointer}.project-payment-row-toggle:hover{background:#eaf5ef}.project-payment-row-toggle:focus-visible{outline:2px solid rgb(36 122 88 / 24%);outline-offset:0}.project-payments-table tbody tr.has-expandable-facts>td{background:#fff}.project-payments-table tbody tr.has-expandable-facts{cursor:pointer}.project-payments-table tbody tr.is-nested-fact-row,.project-payments-table tbody tr.is-nested-fact-row>td{height:24px}.project-payments-table tbody tr.is-nested-fact-row>td{padding-top:1px!important;padding-bottom:1px!important;background:#f6f9fc;color:#58616b;font-size:12px;line-height:1.1}.project-payments-table tbody tr.is-nested-fact-row:hover>td{background:#eff5fb}.project-payments-table tbody tr.is-first-nested-fact-row>td{border-top:3px solid #fff}.project-payments-table tbody tr.is-last-nested-fact-row>td{border-bottom:4px solid #fff}.project-payments-table tbody tr.is-nested-fact-row>td:first-child{padding-left:10px!important;box-shadow:inset 7px 0 #fff}.project-payments-table tbody tr.is-nested-fact-row>td:last-child{padding-right:10px!important;box-shadow:inset -7px 0 #fff}.project-payments-table tbody tr.is-nested-fact-row .project-payment-record-type{min-height:16px;font-size:10px}.project-payments-table tbody tr.is-nested-fact-row .table-actions-column .icon-button{width:20px;height:20px;min-height:20px;border-color:transparent;background:transparent}.project-payments-table tbody tr.is-nested-fact-row .table-actions-column .icon-button svg{width:12px;height:12px}.project-payments-table tbody tr.is-record-fact>td.project-payment-project-cell{border-left:3px solid #c8ddf3}.project-payments-table tbody tr.is-navigation-focus>td{background:#e8f5ef!important;border-top-color:#78b99c;border-bottom-color:#78b99c}.project-payments-table tbody tr.is-navigation-focus>td:first-child{box-shadow:inset 4px 0 #0d7e50!important}.project-payments-table tbody tr.is-navigation-focus:focus{outline:none}.project-payments-table tfoot tr.project-payment-total-row>td{height:32px;padding:4px 8px;border-top:2px solid #cfd8d3;border-right:1px solid #e4e9e6;background:#f7faf8;color:#10213b;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.2}.project-payments-table tfoot tr.project-payment-total-row>td:last-child{border-right:0}.project-payments-table .project-payment-total-cell.has-value{color:#147653;font-weight:700;white-space:nowrap}.project-payments-table .project-payment-total-cell.has-value>strong{display:inline-block;font:inherit}.project-payments-table .portfolio-payment-number.is-fact-row{text-align:right!important}.project-payments-table .project-payment-project-cell.is-fact-row>div{padding-left:20px}.project-payment-remaining-cell{font-variant-numeric:tabular-nums;white-space:nowrap}.project-payment-direction-cell{text-align:center!important}.project-payment-direction-cell .badge{justify-content:center;margin-inline:auto}.project-payment-actual-date-cell{text-align:center!important}.project-payment-actual-date{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-payment-actual-date time{color:#40556a;font-size:inherit;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}.project-payment-actual-date small{overflow:hidden;max-width:100%;color:#7a8580;font-size:10px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.project-payments-empty{height:72px!important;color:#7a8580!important;text-align:center!important}.portfolio-payment-table{width:100%;min-width:1028px;border-collapse:separate;border-spacing:0;table-layout:fixed}.portfolio-payment-table th,.portfolio-payment-table td{padding:5px 10px;border-bottom:1px solid var(--portfolio-flow-line);text-align:left;vertical-align:middle}.portfolio-payment-table th+th,.portfolio-payment-table td+td{border-left:1px solid #edf0ee}.portfolio-payment-table th{height:40px;padding:0;color:var(--portfolio-flow-muted);background:#f8faf9;font-size:12px;font-weight:700;line-height:1.25;letter-spacing:.015em;white-space:nowrap}.portfolio-payment-table th>.table-header-label{display:flex;overflow:hidden;min-height:40px;align-items:center;justify-content:center;padding:7px 10px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.portfolio-payment-table td{color:#40556a;font-size:11.5px;font-variant-numeric:tabular-nums}.portfolio-payment-table tbody td{height:36px;padding-top:1px;padding-bottom:1px}.portfolio-payment-table tbody tr:last-child td{border-bottom:0}.portfolio-payment-table tbody tr{transition:background .14s ease}.portfolio-payment-table tbody tr:hover{background:#fbfdfc}.portfolio-payment-table tbody tr.is-income>td:first-child{box-shadow:inset 3px 0 0 var(--portfolio-flow-accent)}.portfolio-payment-table tbody tr.is-expense>td:first-child{box-shadow:inset 3px 0 0 var(--portfolio-flow-alert)}.portfolio-payment-project{display:grid;min-width:0;gap:0}.portfolio-payment-project strong{overflow:hidden;color:#10213b;font-size:13px;font-weight:650;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.portfolio-payment-project>span{overflow:hidden;color:var(--portfolio-flow-muted);font-size:11.5px;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.portfolio-payment-number,.portfolio-payment-amount-cell{text-align:center!important}.portfolio-payment-number>span{color:#40556a;font-size:12px;font-weight:400;line-height:1}.portfolio-payment-value{color:#10213b;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1.1;white-space:nowrap}.portfolio-payment-value.is-income{color:var(--portfolio-flow-accent-strong)}.portfolio-payment-value.is-expense{color:#c94635}.portfolio-payment-plan-date{display:inline-block;color:#40556a;font-size:12px;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.1;white-space:nowrap}.portfolio-payment-plan-date.is-overdue-without-forecast{color:#c94635}.portfolio-payment-plan-cell{background:transparent!important;box-shadow:none!important;text-align:center!important}.portfolio-payment-plan-action{display:inline-flex;min-height:24px;align-items:center;justify-content:center;margin-inline:auto;padding:1px 2px;border:0;border-bottom:1px dotted currentColor;background:transparent;color:#405f78;font:inherit;font-size:11.5px;font-weight:600;line-height:1.15;cursor:pointer}.portfolio-payment-plan-action:hover{color:#244d69;border-bottom-style:solid}.portfolio-payment-plan-action:focus-visible{border-radius:3px;outline:2px solid rgb(64 95 120 / 20%);outline-offset:2px}.portfolio-payment-table tbody tr:hover .portfolio-payment-plan-cell{background:transparent!important}.portfolio-payment-table td.is-in-period{background:#f2f8f5;box-shadow:inset 0 -2px #8cc5a6}.portfolio-payment-table tbody tr:hover td.is-in-period{background:#edf6f1}.portfolio-payment-missing{color:#a2aaa6}.portfolio-payment-fact{display:grid;min-width:0;gap:4px}.portfolio-payment-fact>strong{color:#10213b;font-size:11.5px;font-weight:700;letter-spacing:-.01em;line-height:1.15;white-space:nowrap}.portfolio-payment-fact>strong.is-income{color:var(--portfolio-flow-accent-strong)}.portfolio-payment-fact>strong.is-expense{color:#c94635}.portfolio-payment-date-control{position:relative;display:block;width:100%;max-width:132px}.portfolio-payment-date-control input{width:100%;height:29px;padding:3px 7px;border:1px solid #ccd7d1;border-radius:6px;outline:0;background:#fff;color:#31465b;font:inherit;font-size:10.75px;font-variant-numeric:tabular-nums;line-height:1;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.portfolio-payment-date-control input:hover:not(:disabled){border-color:#9fbbb0}.portfolio-payment-date-control input:focus-visible{border-color:var(--portfolio-flow-accent);box-shadow:0 0 0 2px #3f916924}.portfolio-payment-date-control input:disabled{cursor:progress;background:#f5f8f6;color:#7c8983}.portfolio-payment-date-control>svg{position:absolute;top:8px;right:29px;color:var(--portfolio-flow-accent-strong);pointer-events:none}.portfolio-payment-fact>small{color:#b33a29;font-size:10px;line-height:1.25}.portfolio-payment-fact.has-error input{border-color:#d98f83;background:#fff9f7}.portfolio-payment-operations-cell{display:grid;min-width:0;gap:5px}.portfolio-payment-operations-cell ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.portfolio-payment-operations-cell li{display:flex;min-width:0;align-items:baseline;justify-content:space-between;gap:6px}.portfolio-payment-operations-cell li strong{color:var(--portfolio-flow-accent-strong);font-size:11px;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}.portfolio-payment-operations-cell li strong.is-expense{color:#c94635}.portfolio-payment-operations-cell li time{color:var(--portfolio-flow-muted);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.portfolio-payment-operation-add{display:inline-flex;width:fit-content;min-height:24px;align-items:center;gap:4px;padding:2px 7px;border:1px solid #b8d3c6;border-radius:5px;background:#fff;color:#2f7655;font-size:10px;font-weight:700;cursor:pointer}.portfolio-payment-operation-add:hover{border-color:#6fa88c;background:#f0f7f3}.portfolio-payment-operation-add:focus-visible{outline:2px solid rgb(47 125 88 / 20%);outline-offset:1px}.portfolio-payment-table td>span.portfolio-payment-status{display:inline-flex;width:100%;max-width:132px;min-height:22px;align-items:center;justify-content:center;margin-block:0;margin-inline:auto;padding:2px 8px;border:1px solid #d6deda;border-radius:999px;background:#f6f8f7;color:#59645e;font-size:10.5px;font-weight:680;line-height:1;text-align:center;white-space:nowrap}.portfolio-payment-status-cell{text-align:center!important}.portfolio-payment-table .financial-stage-forecast,.portfolio-payment-table .financial-stage-actual{padding-top:1px!important;padding-bottom:1px!important;text-align:center}.portfolio-payment-table .financial-stage-forecast-button,.portfolio-payment-table .financial-stage-actual-button,.portfolio-payment-table .financial-stage-actual-static,.portfolio-payment-table .financial-stage-forecast-static{min-height:30px;gap:1px;padding-top:1px;padding-bottom:1px}.portfolio-payment-table .financial-stage-forecast-button.is-empty-action,.portfolio-payment-table .financial-stage-actual-button.is-empty-action{display:inline-flex;width:fit-content;min-width:0;min-height:24px;align-items:center;justify-content:center;gap:0;margin-inline:auto;padding:1px 2px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.portfolio-payment-table .financial-stage-actual-static.is-empty-readonly{display:inline-flex;width:fit-content;min-width:0;min-height:24px;align-items:center;justify-content:center;margin-inline:auto;padding:1px 2px}.portfolio-payment-table .financial-stage-forecast-button.is-empty-action:hover:not(:disabled),.portfolio-payment-table .financial-stage-actual-button.is-empty-action:hover{border:0;background:transparent}.portfolio-payment-table .financial-stage-forecast-button.is-empty-action>small,.portfolio-payment-table .financial-stage-actual-button.is-empty-action>small,.portfolio-payment-table .financial-stage-forecast-button.is-empty-action>.financial-stage-forecast-history{display:none}.portfolio-payment-table td>span.portfolio-payment-status.is-paid{border-color:#b9dec9;background:#edf8f1;color:#18774c}.portfolio-payment-table td>span.portfolio-payment-status.is-partial{border-color:#d8d0ad;background:#fff9e8;color:#806612}.portfolio-payment-table td>span.portfolio-payment-status.is-overdue{border-color:#edc1b9;background:#fff1ee;color:#b33a29}.portfolio-payment-table td>span.portfolio-payment-status.is-undated{border-color:#efcf9d;background:#fff8eb;color:#996017}.portfolio-payment-empty{display:flex;min-height:88px;align-items:center;gap:10px;padding:16px;border-top:1px solid var(--portfolio-flow-line);color:var(--portfolio-flow-muted)}.portfolio-payment-empty>svg{flex:0 0 auto;color:#87958e}.portfolio-payment-empty>div{display:grid;gap:3px}.portfolio-payment-empty strong{color:#40556a;font-size:12px}.portfolio-payment-empty span{font-size:11px}.portfolio-cash-flow .cash-flow-undated{padding:0 18px 14px}.portfolio-cash-flow .cash-flow-empty{margin:12px 18px 16px;border-color:var(--portfolio-flow-line)}.project-economics-sheet .project-economics-ledger{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px;padding:0;background:transparent}.project-economics-sheet .economics-ledger-section,.project-economics-sheet .economics-ledger-section+.economics-ledger-section{min-width:0;align-self:start;border:1px solid var(--crm-border);border-left:4px solid var(--ledger-accent);background:#fff}.project-economics-sheet .economics-ledger-income{--ledger-accent: #4f8ff7;--ledger-tint: #f5f8ff;--ledger-guide: #c9d9fb}.project-economics-sheet .economics-ledger-commission{--ledger-accent: #dc72ad;--ledger-tint: #fff6fb;--ledger-guide: #efc8de}.project-economics-sheet .economics-ledger-subcontract{--ledger-accent: #ef8a47;--ledger-tint: #fff8f3;--ledger-guide: #f2c9aa}.project-economics-sheet .economics-ledger-operating{--ledger-accent: #7b72d8;--ledger-tint: #f8f7ff;--ledger-guide: #d5d1f2}.project-economics-sheet .economics-ledger-section>header{min-height:40px;padding:4px 12px 4px 14px;border-bottom:1px solid var(--crm-surface-strong);background:var(--ledger-tint)}.project-economics-sheet .economics-ledger-heading{gap:8px}.project-economics-sheet .economics-ledger-section h4{font-size:14px;font-weight:600}.project-economics-sheet .economics-add-button{min-height:26px;padding:0 5px;border-color:transparent;background:transparent;color:var(--crm-text-muted);font-size:12px;font-weight:500}.project-economics-sheet .economics-add-button:hover{border-color:var(--crm-surface-strong);background:#fff;color:#3f3f46}.economics-ledger-total{margin-left:4px;padding-left:10px;border-left:1px solid var(--crm-border);color:#27272a;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.project-economics-sheet .economics-ledger-empty{display:flex;min-height:34px;align-items:center;justify-content:space-between;padding:4px 14px;color:#a1a1aa;font-size:12px}.economics-ledger-empty>span{display:inline-flex;align-items:center;gap:6px}.project-economics-sheet .project-financial-item-summary{grid-template-columns:minmax(0,1fr) var(--financial-actions-width);min-height:40px;gap:10px;padding:5px 14px 5px 12px;background:#fff}.project-economics-sheet .project-financial-item{margin-left:36px;border-left:2px solid var(--ledger-guide)}.project-economics-sheet .project-financial-item.expanded,.project-economics-sheet .project-financial-item.expanded>.project-financial-item-summary,.project-economics-sheet .project-financial-item-summary:hover,.project-economics-sheet .project-financial-item-summary:focus-visible{background:var(--ledger-tint)}.project-economics-sheet .financial-item-actions{width:var(--financial-actions-width);min-width:0;justify-content:flex-end}.project-economics-sheet .financial-item-actions .icon-button,.project-economics-sheet .financial-expand-button{border-color:transparent;background:transparent}.project-economics-sheet .financial-item-actions .icon-button.danger{opacity:0}.project-economics-sheet .project-financial-item-summary:hover .icon-button.danger,.project-economics-sheet .financial-item-actions .icon-button.danger:focus-visible{opacity:1}.project-economics-sheet .financial-stage-list{padding-top:0;padding-bottom:4px;border-top:1px solid var(--ledger-guide);background:var(--ledger-tint)}.economics-result-rows{overflow:hidden;border:1px solid #dde2df;border-radius:7px;background:#fff}.economics-result-row{display:grid;grid-template-columns:48px minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1.18fr);min-height:42px;align-items:stretch}.economics-result-row+.economics-result-row{border-top:1px solid #e5e9e7}.economics-result-row.is-actual{background:#f7fbf9}.economics-result-row-label{display:flex;align-items:center;justify-content:center;border-right:1px solid #e5e9e7;color:#66716b;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.economics-result-row.is-actual .economics-result-row-label{color:#087857}.economics-result-value{display:grid;min-width:0;align-content:center;gap:1px;padding:5px 10px}.economics-result-value>span{overflow:hidden;color:#7a837e;font-size:10px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.economics-result-value>strong{overflow:hidden;color:#27272a;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.economics-result-value.is-result{padding-left:12px;border-left:3px solid #4f8ff7}.economics-result-value.is-result.is-positive{border-left-color:var(--crm-success)}.economics-result-value.is-result.is-positive>strong{color:var(--crm-primary)}.economics-result-value.is-result.is-negative{border-left-color:#dc2626}.economics-result-value.is-result.is-negative>strong{color:var(--crm-danger)}.economics-result-operator{display:flex;align-items:center;justify-content:center;color:#a1aaa5;font-size:14px}.project-economics-detail-drawer .economics-summary-section .project-economics-composition{gap:5px;margin-top:5px}.project-economics-detail-drawer .economics-composition-footer{gap:8px}.project-economics-detail-drawer .economics-composition-legend{gap:5px 12px;font-size:10px}.project-economics-detail-drawer .economics-composition-legend>span{gap:4px}.project-economics-detail-drawer .economics-margin-note{padding:2px 6px;font-size:11px}.project-economics-detail-drawer .economics-cash-section{padding-top:5px}.project-economics-detail-drawer .economics-cash-section .economics-sheet-section-head{min-height:24px}.project-economics-detail-drawer .economics-cash-strip{margin-top:1px}.project-economics-detail-drawer .economics-sheet-section:not(.economics-summary-section){padding-top:8px}.economics-ledger-table-head{min-height:31px}.economics-ledger-table-head>div:first-child{min-width:0}.economics-ledger-table-head h3{font-size:15px}.economics-ledger-table-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:6px}.economics-ledger-table-actions .button{min-height:28px;padding:4px 8px;border-radius:6px;font-size:11px}.economics-ledger-table-actions .economics-items-count{margin-right:3px;font-size:11px;white-space:nowrap}.project-economics-ledger-table{min-width:0;margin-top:6px}.project-economics-table-scroll{border:1px solid #d9dfdc;border-radius:7px;background:#fff}.project-economics-items-table{border-collapse:separate;border-spacing:0}.project-economics-items-table thead th{border-bottom:1px solid #d9dfdc;background:var(--crm-surface-muted)}.project-economics-items-table .project-economics-column-groups th{height:22px;padding:3px 6px;border-right:1px solid rgba(63,82,73,.08);background:#f7f9f8;color:#6b746f;font-size:10px;font-weight:700;line-height:1;text-align:center;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.project-economics-items-table .project-economics-column-groups th.is-planning{background:#f5f7fb;color:#54617a}.project-economics-items-table .project-economics-column-groups th.is-execution,.project-economics-items-table .project-economics-column-groups .project-economics-actions-column{background:#f3f8f5;color:#3c6c55}.project-economics-items-table .project-economics-column-labels th{height:30px}.project-economics-items-table .project-economics-column-labels .table-header-sort{min-height:30px;padding:4px 6px;font-size:12px}.project-economics-items-table thead th:not(:last-child),.project-economics-items-table tbody tr>td:not(:last-child){border-right:1px solid rgba(63,82,73,.08)}.project-economics-items-table tbody tr.project-economics-item-row,.project-economics-items-table tbody tr.project-economics-payment-row{height:32px}.project-economics-items-table tbody tr.project-economics-item-row{cursor:pointer}.project-economics-items-table tbody tr.project-economics-item-row>td,.project-economics-items-table tbody tr.project-economics-payment-row>td{height:32px;padding:3px 5px;border-bottom:1px solid #e4e8e6;font-size:12px;line-height:1.2;vertical-align:middle}.project-economics-items-table tbody tr.project-economics-item-row:not(:first-child)>td{border-top:1px solid #cfd8d3}.project-economics-items-table tbody tr.project-economics-item-row.is-income>td{background:#f5fbf8}.project-economics-items-table tbody tr.project-economics-item-row.is-expense>td{background:#fdf8fb}.project-economics-items-table tbody tr.project-economics-item-row.is-income>td:first-child,.project-economics-items-table tbody tr.project-economics-payment-row.is-income>td:first-child{border-left:3px solid #2d9a70}.project-economics-items-table tbody tr.project-economics-item-row.is-expense>td:first-child,.project-economics-items-table tbody tr.project-economics-payment-row.is-expense>td:first-child{border-left:3px solid #b65b88}.project-economics-items-table tbody tr.project-economics-payment-row>td:first-child{padding-left:13px}.project-economics-items-table tbody tr.project-economics-item-row:hover>td{filter:brightness(.985)}.project-economics-items-table tbody tr.project-economics-payment-row:hover>td{background:#fbfcfb}.project-economics-items-table tbody tr.project-economics-item-row.is-removing>td{opacity:.62;pointer-events:none}.project-economics-items-table .project-economics-actions-column{width:128px;padding-right:4px;padding-left:3px;text-align:center}.project-economics-items-table .project-economics-actions-column .icon-button,.project-economics-items-table .project-economics-actions-column .financial-expand-button{display:inline-grid;width:24px;height:24px;min-height:24px;margin-left:1px;border-color:transparent;border-radius:5px;background:transparent;vertical-align:middle}.project-economics-items-table .project-economics-actions-column .icon-button svg,.project-economics-items-table .project-economics-actions-column .financial-expand-button svg{width:13px;height:13px}.project-economics-items-table td.is-numeric{text-align:right}.project-economics-flow{display:inline-flex;max-width:100%;align-items:center;gap:4px;overflow:hidden;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.project-economics-flow svg{flex:0 0 auto}.project-economics-flow svg.is-reversed{transform:rotate(180deg)}.project-economics-flow.is-income{color:#187454}.project-economics-flow.is-expense{color:#9a3f6d}.project-economics-payment-number{color:#65716b;font-variant-numeric:tabular-nums}.project-economics-cell-text,.project-economics-date{display:block;min-width:0;overflow:hidden;color:#29332e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}strong.project-economics-cell-text{font-weight:650}.project-economics-date{font-variant-numeric:tabular-nums;text-align:center}.project-economics-calculation,.project-economics-notes{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-economics-calculation,.project-economics-notes{display:block;color:#626c66;font-size:12px}.project-economics-money{display:block;overflow:hidden;color:#29332e;font-size:12px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.project-economics-money.is-actual,.project-economics-money.is-settled{color:#087857}.project-economics-empty-value{display:block;margin:0!important;color:#a1a8a4!important;font-size:12px!important}.project-economics-schedule{display:grid;min-width:0;grid-template-columns:auto minmax(30px,52px) minmax(0,1fr);align-items:center;gap:5px;color:#65716b;font-size:11px;white-space:nowrap}.project-economics-schedule>strong{color:#34413a;font-size:11px;font-variant-numeric:tabular-nums}.project-economics-schedule-track{display:flex;min-width:0;height:5px;gap:1px;overflow:hidden;border-radius:3px;background:#eef1ef}.project-economics-schedule-segment{position:relative;display:block;min-width:4px;overflow:hidden;border-radius:2px;background:#e2e7e4}.project-economics-schedule-segment i{position:absolute;top:0;bottom:0;left:0;display:block;background:#8d9a93}.project-economics-schedule-segment.is-paid i{background:#18a676}.project-economics-schedule-segment.is-partial i{background:#4f8ff7}.project-economics-schedule-segment.is-overdue{background:#fee2e2}.project-economics-schedule-segment.is-overdue i{background:#dc5a5a}.project-economics-schedule-segment.is-forecast{background:#ece9fb}.project-economics-schedule-segment.is-forecast i{background:#7b72d8}.project-economics-schedule-segment.is-empty{flex:1 1 auto;border:1px dashed #c8d0cc;background:#f7f8f7}.project-economics-schedule>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-economics-inline-action{display:block;max-width:100%;min-height:22px;overflow:hidden;margin:0 auto;padding:0 2px;border:0;background:transparent;cursor:pointer;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.project-economics-inline-action.is-forecast{color:#6d5bb8}.project-economics-inline-action.is-actual{color:#287655}.project-economics-inline-action.has-value{font-weight:650}.project-economics-inline-action:disabled{color:#a1a8a4;cursor:default}.project-economics-inline-action:not(:disabled):hover{text-decoration:underline;text-underline-offset:2px}.project-economics-column-status,.project-economics-column-forecast_date,.project-economics-column-payment_schedule{text-align:center}.project-economics-column-status .badge{max-width:100%;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.project-economics-stage-actions{padding:2px 4px!important;text-align:center}.project-economics-stage-actions .financial-stage-add-fact-button{min-height:24px;padding:2px 7px;font-size:11px}.project-economics-distribution-label.is-unallocated{color:#9a620d;font-weight:600}.project-economics-distribution-label.is-overallocated{color:#b42318;font-weight:600}.project-economics-distribution-notice{display:flex;min-height:34px;align-items:center;gap:9px;padding:7px 12px;border:1px solid #ead3a8;border-left:3px solid #c47b12;border-radius:8px;background:#fffaf0;color:#765018}.project-economics-distribution-notice.is-critical{border-color:#efc1bd;border-left-color:#c53c32;background:#fff6f5;color:#8f2f29}.project-economics-distribution-notice>svg{flex:0 0 auto}.project-economics-distribution-notice>span{display:grid;min-width:0;gap:1px}.project-economics-distribution-notice strong,.project-economics-distribution-notice small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-economics-distribution-notice strong{font-size:12px;line-height:1.2}.project-economics-distribution-notice small{color:inherit;font-size:11px;line-height:1.2;opacity:.86}.project-economics-table-empty td{height:48px;padding:8px 12px;color:#8a938e;font-size:13px;text-align:center}.project-economics-table-empty svg{margin-right:6px;vertical-align:-3px}@container (max-width: 820px){.project-economics-sheet .project-economics-ledger{grid-template-columns:1fr}.cash-flow-period-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-flow-period-summary>div:nth-child(3){padding-left:0;border-left:0}}@container (max-width: 620px){.economics-result-row{grid-template-columns:42px minmax(0,1fr)}.economics-result-row-label{grid-row:1 / span 3}.economics-result-operator{display:none}.economics-result-value{min-height:38px;border-top:1px solid #e8ecea}.economics-result-value:nth-of-type(1){border-top:0}.economics-ledger-table-head{align-items:flex-start;flex-direction:column}.economics-ledger-table-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}@container (max-width: 560px){.economics-equation,.economics-cash-strip{grid-template-columns:1fr}.economics-equation-operator{justify-content:flex-start;padding:0 0 0 16px}.economics-equation-number,.economics-equation-number:first-child{padding:9px 16px}.economics-cash-strip>div,.economics-cash-strip>div:first-child{padding:6px 0;border-top:1px solid var(--crm-surface-strong);border-left:0}.economics-cash-strip>div:first-child{border-top:0}.economics-cash-strip .economics-actual-result{padding-left:12px;border-left:4px solid #a1a1aa}.project-economics-sheet .project-financial-item{margin-left:18px}.cash-flow-header-main{align-items:stretch;flex-direction:column}.cash-flow-header-actions{width:100%;align-items:flex-end;justify-content:flex-end}.cash-flow-legend{justify-content:flex-end}.cash-flow-period-summary{grid-template-columns:1fr}.cash-flow-period-summary>div,.cash-flow-period-summary>div:first-child,.cash-flow-period-summary>div:nth-child(3){padding:6px 0;border-top:1px solid var(--crm-surface-strong);border-left:0}.cash-flow-period-summary>div:first-child{border-top:0}}.project-financial-item{position:relative;border-bottom:1px solid var(--crm-surface-strong)}.project-financial-item:last-child{border-bottom:0}.project-financial-item-summary{display:grid;grid-template-columns:minmax(110px,1.3fr) minmax(80px,.8fr) minmax(84px,.8fr) auto;align-items:center;gap:8px;padding:10px 10px 10px 14px;cursor:pointer}.project-financial-item-summary:hover,.project-financial-item-summary:focus-visible{outline:0;background:#fbfdfc}.financial-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.financial-item-actions .icon-button,.financial-expand-button{width:30px;height:30px;min-height:30px;border-radius:6px}.financial-expand-button{display:grid;place-items:center;border:1px solid var(--crm-border);background:#fff;color:var(--crm-text-secondary);cursor:pointer}.financial-expand-button svg{transition:transform .14s ease}.financial-expand-button svg.expanded{transform:rotate(180deg)}.financial-overdue-count{display:inline-flex;align-items:center;gap:3px;color:var(--crm-danger);font-size:11px;font-weight:750}.financial-item-plan-context{display:flex;min-width:0;align-items:baseline;gap:7px;overflow:hidden;color:var(--crm-text-secondary);font-size:12px;line-height:1.35;white-space:nowrap}.financial-item-plan-label{color:var(--crm-text-secondary);font-weight:650}.financial-item-plan-context>strong{color:var(--crm-text);font-size:13px;font-variant-numeric:tabular-nums}.financial-item-context-separator{flex:0 0 auto;color:#a1a1aa}.financial-item-context-value{min-width:0;overflow:hidden;text-overflow:ellipsis}.financial-stage-list{min-width:0;background:var(--crm-surface-muted)}.financial-stage-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.financial-stage-table{border-collapse:separate;border-spacing:0;background:var(--ledger-tint)}.financial-stage-table th,.financial-stage-table td{box-sizing:border-box;min-width:0;border-bottom:1px solid #e4e7e5;color:#27272a;vertical-align:middle}.financial-stage-table th+th,.financial-stage-table td+td{border-left:1px solid #edf0ee}.financial-stage-table th{height:34px;padding:7px 12px;background:#f8faf9;color:#646b67;font-size:12px;font-weight:650;line-height:1.25;text-align:center;white-space:nowrap}.financial-stage-table td,.financial-stage-table td[data-column-key]{height:54px;padding:5px 12px;font-size:12px;line-height:1.25}.financial-stage-table tbody tr:last-child td{border-bottom:0}.financial-stage-table .table-header-label{display:block;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.financial-stage-number{color:var(--ledger-accent)!important;font-variant-numeric:tabular-nums}.financial-stage-number>span:not(.financial-stage-note){margin-top:0;color:inherit;font-size:12px;font-weight:400}.financial-stage-number .financial-stage-note{display:inline-flex;margin:0 0 0 7px;color:var(--ledger-accent);vertical-align:middle}.financial-stage-amount strong{overflow:hidden;display:block;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.financial-stage-plan time,.financial-stage-plan>span,.financial-stage-actual-date time,.financial-stage-actual-date>span{overflow:hidden;display:block;margin-top:0;color:inherit;font-size:12px;font-weight:400;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.financial-stage-forecast,.financial-stage-actual{padding:4px 7px!important}.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static{position:relative;display:flex;box-sizing:border-box;width:100%;min-width:0;min-height:30px;align-items:center;justify-content:flex-start;gap:1px;margin:0;padding:3px 28px 3px 9px;border-radius:6px;text-align:left}.financial-stage-table :is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line{display:inline-flex;width:auto;max-width:100%;min-height:22px;justify-content:center;gap:0;padding:0 2px;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.financial-stage-table .is-single-line :is(.financial-stage-forecast-history,.financial-stage-actual-edit-indicator){display:none}.financial-stage-table :is(.financial-stage-forecast-button,.financial-stage-actual-button).is-single-line:hover{border:0;background:transparent}.financial-stage-table td.field-table-align-left>:is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line{margin-right:auto;margin-left:0}.financial-stage-table td.field-table-align-center>:is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line{margin-right:auto;margin-left:auto}.financial-stage-table td.field-table-align-right>:is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line{margin-right:0;margin-left:auto}.financial-stage-forecast-button{border:1px solid #d9d2ee;border-left:3px solid #8b78cc;background:#f7f5fc;color:#5f4ca2;cursor:pointer}.financial-stage-forecast-button:hover:not(:disabled){border-color:#a99bd8;border-left-color:#6d5bb8;background:#f1eef9}.financial-stage-forecast-button:focus-visible{border-color:#7864be;outline:2px solid rgb(109 91 184 / 18%);outline-offset:1px}.financial-stage-forecast-button.has-value{border-color:#c9c0e5;background:#f3f0fa}.financial-stage-forecast-button:disabled{cursor:default;opacity:.74}.financial-stage-forecast-button>.financial-stage-action-label{color:#5f4ca2!important}.financial-stage-forecast-button>small{color:#70678f!important}.financial-stage-actual-button{border:1px solid #b9d7c8;border-left:3px solid #65a182;background:#f2f8f5;color:#286b4c;cursor:pointer}.financial-stage-actual-button:hover{border-color:#80b79b;border-left-color:#2f7d58;background:#ebf6f0}.financial-stage-actual-edit-indicator{position:absolute;top:7px;right:8px;color:#397158;opacity:.72;pointer-events:none}.financial-stage-actual-button:hover .financial-stage-actual-edit-indicator,.financial-stage-actual-button:focus-visible .financial-stage-actual-edit-indicator{color:#1f6847;opacity:1}.financial-stage-actual-button:focus-visible{border-color:#2f7d58;outline:2px solid rgb(47 125 88 / 17%);outline-offset:1px}.financial-stage-actual-button>.financial-stage-money,.financial-stage-actual-static>.financial-stage-money{color:#286b4c}.financial-stage-actual-static{border:1px solid transparent;padding-left:10px;color:#3f5f4f}.financial-stage-action-label,.financial-stage-forecast-button>.financial-stage-action-label,.financial-stage-actual-button>.financial-stage-action-label,.financial-stage-actual-static>.financial-stage-action-label,.financial-stage-forecast-static>.financial-stage-action-label{overflow:hidden;max-width:100%;font-size:12px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.financial-stage-actual-button>.financial-stage-money,.financial-stage-actual-static>.financial-stage-money{overflow:hidden;max-width:100%;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.financial-stage-forecast-button>small,.financial-stage-actual-button>small,.financial-stage-actual-static>small,.financial-stage-forecast-static>small{overflow:hidden;max-width:100%;color:#65716b;font-size:10px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.financial-stage-actual-button em,.financial-stage-actual-static em{overflow:hidden;color:#397158;font-size:10px;font-style:normal;font-weight:400;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.financial-stage-actual-button em strong,.financial-stage-actual-static em strong{font-weight:700}.financial-stage-actual-button em.is-overpaid,.financial-stage-actual-static em.is-overpaid{color:#a56215}.financial-stage-forecast-static{display:grid;min-height:44px;align-content:center;gap:1px;padding:5px 10px;color:#65716b}.financial-stage-forecast-history{position:absolute;top:50%;right:7px;display:inline-flex;align-items:center;gap:2px;color:#6d5bb8!important;font-size:10px!important;font-variant-numeric:tabular-nums;transform:translateY(-50%)}.financial-stage-status{text-align:center}.financial-stage-status .badge{min-width:0;max-width:100%;overflow:hidden;margin:0 auto;font-size:10px;font-weight:500;line-height:1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.financial-stage-action-column{width:128px;padding-right:7px!important;padding-left:7px!important;text-align:center}.financial-stage-add-fact-button{display:inline-flex;min-height:28px;align-items:center;justify-content:center;gap:5px;margin:0 auto;padding:3px 8px;border:1px solid var(--crm-border);border-radius:6px;background:#fff;color:#3f3f46;cursor:pointer;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap}.financial-stage-add-fact-button:hover{border-color:#65a182;color:#286b4c}.financial-stage-add-fact-button:focus-visible{border-color:#2f7d58;outline:2px solid rgb(47 125 88 / 17%);outline-offset:1px}.financial-item-note{display:flex;align-items:flex-start;gap:6px;margin:0;padding:8px 0 2px 28px;border-top:1px solid var(--crm-surface-strong);color:var(--crm-text-secondary);font-size:12px;line-height:1.4}.financial-item-note>svg{flex:0 0 auto;margin-top:2px;color:var(--ledger-accent)}.financial-comment-marker{display:inline-flex;width:18px;height:24px;align-items:center;justify-content:center;color:var(--ledger-accent)}.financial-item-progress{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:7px;background:#ffffffe6;color:var(--crm-text-secondary);font-size:12px}.financial-drawer{width:min(820px,100vw)}.portfolio-financial-launcher-drawer,.portfolio-payment-plan-picker-drawer{width:min(620px,100vw)}.portfolio-unplanned-expense-drawer{width:min(760px,100vw)}.portfolio-financial-launcher,.portfolio-unplanned-expense-form{gap:10px;padding:14px}.portfolio-financial-action-intro{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:8px;padding:10px 12px;border:1px solid #cfe2d8;border-left:4px solid #2d8a64;background:#f5faf7;color:#315c49}.portfolio-financial-action-intro.is-expense,.portfolio-financial-action-intro.is-unplanned{border-color:#ead9c8;border-left-color:#d07b33;background:#fff9f3;color:#76512f}.portfolio-financial-action-intro.is-fact{border-color:#d5dfed;border-left-color:#4c76a6;background:#f6f8fb;color:#405b7c}.portfolio-financial-action-intro>svg{margin-top:1px}.portfolio-financial-action-intro>div{display:grid;gap:2px}.portfolio-financial-action-intro strong{font-size:13px;font-weight:650}.portfolio-financial-action-intro span{color:#66716b;font-size:11.5px;line-height:1.35}.portfolio-financial-selection-section{padding:12px 14px 14px}.portfolio-financial-selected-project{display:grid;min-height:42px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;margin-top:10px;padding:6px 9px;border:1px solid #dce4df;background:#f8faf9;color:#415047}.portfolio-financial-selected-project>svg{color:#27805d}.portfolio-financial-selected-project>span{display:grid;min-width:0;gap:1px}.portfolio-financial-selected-project strong,.portfolio-financial-selected-project small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portfolio-financial-selected-project strong{font-size:12.5px}.portfolio-financial-selected-project small,.portfolio-financial-selected-project em{color:#737c77;font-size:11px;font-style:normal}.portfolio-financial-selected-project.is-final{margin-top:0}.portfolio-financial-empty{display:flex;min-height:42px;align-items:center;gap:7px;margin-top:10px;padding:8px 10px;border:1px dashed #d7ded9;color:#737c77;font-size:12px}.portfolio-selected-plan-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 0;border:1px solid #dce3df;background:#fafbfa}.portfolio-selected-plan-summary>div{display:grid;min-width:0;gap:2px;padding:7px 9px;border-right:1px solid #e4e8e5}.portfolio-selected-plan-summary>div:last-child{border-right:0}.portfolio-selected-plan-summary dt{color:#7a837e;font-size:10px;text-transform:uppercase}.portfolio-selected-plan-summary dd{overflow:hidden;margin:0;color:#35423b;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.project-financial-form{display:grid;gap:14px;padding:18px}.financial-form-section{min-width:0;padding:14px 16px 16px;border:1px solid #dedfdf;border-left:4px solid var(--crm-brand);background:#fff}.financial-form-calculation{border-left-color:#7c3aed}.financial-form-stages{border-left-color:#2563eb}.financial-form-section h3{margin:0 0 12px;color:#3f3f46;font-size:14px}.financial-actual-drawer{width:min(620px,100vw)}.drawer.financial-forecast-drawer{width:min(540px,100vw)}.drawer.financial-planned-date-drawer{width:min(480px,100vw)}.financial-planned-date-form{gap:10px;padding:14px}.financial-planned-date-form .financial-form-section{padding:12px 14px 14px}.financial-plan-required-notice{display:flex;align-items:flex-start;gap:8px;padding:9px 11px;border:1px solid #ead6a8;border-left:3px solid #d89a2b;border-radius:5px;background:#fff9eb;color:#76511a;font-size:12px;line-height:1.35}.financial-plan-required-notice>svg{flex:0 0 auto;margin-top:1px;color:#b97818}.financial-plan-required-notice>div{display:flex;min-width:0;flex-wrap:wrap;gap:2px 4px}.financial-plan-required-notice strong{font-weight:650}.financial-plan-required-notice span{color:#85642f}.financial-planned-date-editor{display:grid;gap:10px;border-left-color:#52738b}.financial-planned-date-editor h3{margin-bottom:0}.financial-planned-date-editor input{min-height:44px}.financial-forecast-form{gap:10px;padding:14px}.financial-forecast-form .financial-form-section{padding:12px 14px 14px}.financial-forecast-context{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(130px,.65fr);gap:14px;border-left-color:#3f9169;background:#f8fbf9}.financial-forecast-context>div{display:grid;min-width:0;align-content:center;gap:3px}.financial-forecast-context span,.financial-forecast-context small{overflow:hidden;color:#5f6e66;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.financial-forecast-context strong{overflow:hidden;color:#1e2c25;font-size:14px;font-variant-numeric:tabular-nums;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.financial-forecast-editor{display:grid;gap:10px;border-left-color:#2f7f5b}.financial-forecast-editor h3{margin-bottom:0}.financial-forecast-editor input,.financial-forecast-editor textarea{min-height:44px}.financial-forecast-editor textarea{min-height:86px;resize:vertical}.financial-forecast-readonly{display:grid;min-height:58px;align-content:center;gap:3px;padding:9px 11px;border:1px solid #c8d8d0;border-radius:5px;background:#f5f9f7}.financial-forecast-readonly span,.financial-forecast-readonly small{color:#5f6e66;font-size:11px;line-height:1.3}.financial-forecast-readonly strong{color:#244936;font-size:14px;font-variant-numeric:tabular-nums}.financial-forecast-help{margin:-2px 0 0;color:#6b756f;font-size:11px;line-height:1.4}.financial-forecast-field-error{display:block;margin-top:4px;color:#ad3829;font-size:11px;font-weight:600;line-height:1.35}.financial-form-section.financial-forecast-history{padding:0;overflow:hidden;border-left-color:#8ba79a}.financial-forecast-history>header{display:flex;min-height:40px;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #e2e8e5;background:#fafcfb}.financial-forecast-history>header h3{margin:0;color:#33433b;font-size:12.5px}.financial-forecast-history>header span{color:#5f6e66;font-size:11px;font-variant-numeric:tabular-nums}.financial-forecast-history ol{max-height:240px;overflow-y:auto;margin:0;padding:0;list-style:none}.financial-forecast-history li{display:grid;gap:5px;padding:10px 12px;border-top:1px solid #edf0ee}.financial-forecast-history li:first-child{border-top:0}.financial-forecast-history li>div{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:12px}.financial-forecast-history li strong{display:inline-flex;flex:1 1 auto;min-width:0;align-items:center;flex-wrap:wrap;gap:5px;color:#244936;font-size:12px;font-variant-numeric:tabular-nums}.financial-forecast-history li>div>span{max-width:48%;overflow:hidden;color:#606c66;font-size:10.5px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.financial-forecast-history li p{margin:0;color:#505d56;font-size:11.5px;line-height:1.4}.financial-forecast-history-state{display:flex;min-height:54px;align-items:center;gap:7px;padding:10px 12px;color:#5f6e66;font-size:11.5px}.financial-forecast-history-state.is-error{color:#ad3829}.financial-form-actions.financial-forecast-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;margin:0 -14px -14px;padding:12px 14px 14px}.financial-form-actions.financial-forecast-actions.is-read-only{display:flex;justify-content:flex-end}.financial-forecast-actions .button{min-height:42px}.financial-forecast-reset{justify-self:start;color:#4f6258}.financial-actual-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-left-color:#2563eb}.financial-actual-context>div{display:grid;min-width:0;gap:3px}.financial-actual-context span,.financial-actual-context small,.financial-actual-help{color:var(--crm-text-muted);font-size:11px;line-height:1.35}.financial-actual-context strong{overflow:hidden;color:#27272a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.financial-actual-help{margin:10px 0 0}.drawer.payment-operations-drawer{width:min(720px,100vw)}.payment-operations-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid #dce5e0;border-radius:7px;background:#f8fbf9}.payment-operations-summary>div{min-width:0;padding:9px 12px;border-left:1px solid #dce5e0}.payment-operations-summary>div:first-child{border-left:0}.payment-operations-summary dt{color:#68766e;font-size:10.5px}.payment-operations-summary dd{overflow:hidden;margin:2px 0 0;color:#1d3027;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.payment-operations-summary .is-overpaid dt,.payment-operations-summary .is-overpaid dd{color:#9b5d16}.payment-operation-editor{display:grid;gap:10px;border-left-color:#3f9169}.payment-operation-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-operation-editor>header h3{margin:0}.text-button{display:inline-flex;min-height:28px;align-items:center;gap:5px;padding:3px 7px;border:0;background:transparent;color:#2f7655;font-size:11px;font-weight:700;cursor:pointer}.text-button:hover{background:#eef6f1}.text-button:focus-visible{outline:2px solid rgb(47 125 88 / 20%);outline-offset:1px}.payment-operations-list{margin:0 18px 18px;overflow:hidden;border:1px solid #dfe5e2;border-radius:7px;background:#fff}.payment-operations-list>header{min-height:42px;padding:8px 12px;border-bottom:1px solid #e5e9e7;background:#fafcfb}.payment-operations-list>header>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.payment-operations-list h3{margin:0;color:#273a31;font-size:12.5px}.payment-operations-list header span{color:#6a766f;font-size:10.5px}.payment-operations-list ol{max-height:260px;overflow-y:auto;margin:0;padding:0;list-style:none}.payment-operations-list li{display:grid;grid-template-columns:82px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:9px 10px 9px 12px;border-top:1px solid #edf0ee}.payment-operations-list li:first-child{border-top:0}.payment-operations-list li:hover,.payment-operations-list li.is-editing{background:#f5f9f7}.payment-operations-list li>time{color:#40564b;font-size:11px;font-variant-numeric:tabular-nums}.payment-operations-list li>div{display:grid;min-width:0;gap:2px}.payment-operations-list li strong{color:#1f352a;font-size:12px;font-variant-numeric:tabular-nums}.payment-operations-list li span,.payment-operations-list li small{overflow:hidden;color:#65736b;font-size:10.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.payment-operations-list li small{color:#87918c;font-size:10px}.payment-operations-empty{padding:18px 12px;color:#78837d;font-size:11.5px;text-align:center}@media(max-width:640px){.payment-operations-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-operations-summary>div:nth-child(odd){border-left:0}.payment-operations-summary>div:nth-child(n+3){border-top:1px solid #dce5e0}.payment-operation-editor>header{align-items:flex-start;flex-direction:column}.payment-operations-list li{grid-template-columns:74px minmax(0,1fr) 30px;gap:7px}}.financial-form-grid,.financial-stage-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.financial-calculated-total{display:grid;min-height:40px;align-content:center;align-self:end;padding:0 12px;border-left:3px solid #7c3aed;background:var(--crm-surface-muted)}.financial-calculated-total span{color:var(--crm-text-muted);font-size:11px}.financial-calculated-total strong{margin-top:2px;color:var(--crm-text);font-size:17px}.financial-form-stages>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.financial-form-stages>header>div{display:flex;align-items:baseline;gap:8px}.financial-form-stages>header h3{margin:0}.financial-form-stages>header span{color:var(--crm-text-muted);font-size:12px}.financial-form-stages>header .button{min-height:32px;padding:0 9px;font-size:12px}.financial-stage-editor-list{display:grid;gap:10px}.financial-stage-editor{border:1px solid var(--crm-surface-strong);background:var(--crm-surface-muted)}.financial-stage-editor.is-focused{border-color:#74ae98;box-shadow:0 0 0 2px #2374581f}.financial-stage-editor-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;min-height:40px;align-items:center;gap:8px;padding:4px 6px 4px 12px;border-bottom:1px solid var(--crm-surface-strong)}.financial-stage-editor-head>span{color:#2563eb;font-size:11px;font-weight:800}.financial-stage-editor-head>strong{color:#3f3f46;font-size:13px}.financial-stage-editor-head .icon-button{width:30px;height:30px}.financial-stage-editor-grid{padding:12px}.financial-stage-editor-grid .field>span:first-child,.project-financial-form>.field>span:first-child{font-size:12px}.financial-stage-editor-grid .field input:not([type=checkbox]),.financial-stage-editor-grid .field select,.project-financial-form .field input:not([type=checkbox]),.project-financial-form .field select{height:38px;min-height:38px;font-size:15px}.financial-stage-editor-grid input:disabled{border-color:#d7ddd9;background:#f3f6f4;color:#526159;cursor:not-allowed;opacity:1}.financial-plan-lock-note{color:#65716b;font-size:11px;line-height:1.35}.financial-stages-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid var(--crm-border);color:var(--crm-text-secondary);font-size:12px}.financial-stages-total strong{color:var(--crm-text)}.financial-stages-total.mismatch strong{color:var(--crm-danger)}.financial-form-notes textarea{min-height:82px}.financial-form-error{display:flex;align-items:center;gap:7px;padding:10px 12px;border-left:4px solid #dc2626;background:snow;color:#991b1b}.financial-preflight-warnings{display:grid;gap:8px;padding:10px 12px;border:1px solid #f0cc8b;border-left:3px solid #d58a16;border-radius:9px;background:#fffaf0;color:#704a0c}.financial-preflight-warnings>header{display:flex;align-items:center;gap:7px;font-size:13px}.financial-preflight-warnings ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.financial-preflight-warnings li{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(0,1fr);gap:8px;padding-top:6px;border-top:1px solid rgba(181,117,19,.18);font-size:12px}.financial-preflight-warnings li span,.financial-preflight-warnings>small{color:#85652f}.financial-preflight-warnings>small{font-size:11px}.financial-form-actions{position:sticky;bottom:0;margin:0 -18px -18px;padding:14px 18px 18px;border-top:1px solid var(--crm-surface-strong);background:#fff}.client-id-column,.opportunity-id-column{position:sticky;left:0;z-index:1;width:48px;min-width:48px;padding-right:4px;padding-left:4px;background:#fff;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.resizable-data-table tbody td.client-id-column,.resizable-data-table tbody td.opportunity-id-column{padding-right:4px;padding-left:4px}thead .client-id-column,thead .opportunity-id-column{z-index:3;padding:0;background:var(--crm-surface-muted);text-align:left}.clients-table tr.selected .client-id-column,.clients-table tbody tr:hover .client-id-column,.opportunities-table tr.selected .opportunity-id-column,.opportunities-table tbody tr:hover .opportunity-id-column{background:#f4f7f5}.client-column-logo_data{width:76px;min-width:76px;text-align:center}.client-logo{display:block;width:34px;height:34px;margin:0 auto;border:1px solid #dedfdf;border-radius:4px;background:#fff;object-fit:contain}.client-logo.large{width:64px;height:64px;margin:0;flex:0 0 64px}.client-logo-placeholder{display:grid;place-items:center;background:#eef3f0;color:#166534;font-size:16px;font-weight:900}.client-inline-detail{--detail-accent: #2563eb}.drawer.client-detail-drawer{width:min(580px,100vw);height:100vh;min-height:0;display:flex;overflow:hidden;flex-direction:column;background:#fff;animation:client-detail-drawer-enter .16s ease-out}.client-detail-drawer .drawer-head{z-index:4;flex:0 0 auto;padding:8px 12px}.client-detail-drawer .drawer-head h2{color:var(--crm-text-secondary);font-size:14px;font-weight:700;line-height:1.3}.client-detail-drawer .drawer-head .icon-button{width:30px;height:30px}.client-detail-head-actions{display:flex;align-items:center;gap:7px}.client-detail-command-wrap{position:relative}.client-detail-command{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:0 10px;border:1px solid #dfe3e0;border-radius:5px;background:#fff;color:#3f4143;cursor:pointer;font:inherit;font-size:12px;font-weight:650}.client-detail-command:hover,.client-detail-command[aria-expanded=true]{border-color:#bdc7c1;background:#f7f9f8;color:var(--crm-text)}.client-detail-command-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:6;width:190px;padding:5px;border:1px solid #dfe3e0;border-radius:6px;background:#fff;box-shadow:0 14px 34px #18181b24}.client-detail-command-menu button{display:flex;width:100%;min-height:34px;align-items:center;gap:9px;padding:0 9px;border:0;border-radius:4px;background:transparent;color:#3f4143;cursor:pointer;font:inherit;font-size:12px;text-align:left}.client-detail-command-menu button:hover{background:#f2f5f3;color:var(--crm-text)}.client-detail-drawer-content{min-height:0;display:flex;flex:1 1 auto;overflow:hidden;flex-direction:column;background:#fff}.client-detail-drawer-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;flex:0 0 auto;padding:12px 18px;border-bottom:1px solid #dfe3e0;background:#f8fbf9}.client-detail-drawer-hero .client-logo.large{width:46px;height:46px;flex-basis:46px;border-color:#cfe1d7;background:#eef7f2}.client-detail-drawer-identity{min-width:0}.client-detail-drawer-eyebrow{display:block;margin-bottom:1px;color:#3f7f61;font-size:11px;font-weight:700;letter-spacing:0}.client-detail-drawer-identity h3{margin:0;overflow-wrap:anywhere;color:var(--crm-text);font-size:18px;font-weight:700;line-height:1.15}.client-detail-drawer-title-row{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:6px}.client-relationship-status{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;color:#2563eb;font-size:11.5px;font-weight:650}.client-relationship-status:before{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:currentColor;content:""}.client-inspector-tabs{display:flex;flex:0 0 auto;align-items:stretch;justify-content:space-between;overflow-x:auto;overflow-y:hidden;gap:2px;padding:0 12px;border-bottom:1px solid #dfe3e0;background:#fff;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#cbd5cf transparent}.client-inspector-tabs::-webkit-scrollbar{height:4px}.client-inspector-tabs::-webkit-scrollbar-thumb{border-radius:999px;background:#cbd5cf}.client-inspector-tabs button[data-tab=history]{--client-tab-accent: #0e7490;--client-tab-tint: #ecfeff}.client-inspector-tabs button{--client-tab-accent: var(--crm-primary);--client-tab-tint: #edf8f2;position:relative;display:inline-flex;min-width:max-content;min-height:48px;flex:0 0 auto;align-items:center;justify-content:center;gap:4px;padding:0 6px;border:0;border-radius:0;background:transparent;color:#555a60;cursor:pointer;font:inherit;font-size:12px;font-weight:650;line-height:1.2;transition:background-color .12s ease,color .12s ease;white-space:nowrap}.client-inspector-tabs button[data-tab=requisites]{--client-tab-accent: #2563eb;--client-tab-tint: #eff6ff}.client-inspector-tabs button[data-tab=fields]{--client-tab-accent: #6d5bd0;--client-tab-tint: #f3f0ff}.client-inspector-tabs button[data-tab=relations]{--client-tab-accent: var(--crm-warning);--client-tab-tint: #fff7ed}.client-inspector-tabs button[data-tab=system]{--client-tab-accent: var(--crm-text-secondary);--client-tab-tint: var(--crm-background)}.client-inspector-tabs button svg{flex:0 0 auto;color:var(--client-tab-accent);opacity:.76;transition:opacity .12s ease}.client-inspector-tabs button:after{position:absolute;right:0;bottom:-1px;left:0;height:3px;background:transparent;content:""}.client-inspector-tabs button:hover,.client-inspector-tabs button.is-active{background:var(--client-tab-tint);color:var(--client-tab-accent)}.client-inspector-tabs button:hover svg,.client-inspector-tabs button.is-active svg{opacity:1}.client-inspector-tabs button.is-active:after{background:var(--client-tab-accent)}.client-inspector-tabs button:focus-visible{z-index:1;outline:2px solid var(--client-tab-accent);outline-offset:-3px}.client-inspector-pane{min-height:0;flex:1 1 auto;overflow-y:auto;padding:0 18px 16px;overscroll-behavior:contain}.client-inspector-section{padding:14px 0 2px}.client-inspector-section+.client-inspector-section{margin-top:9px;border-top:1px solid #e3e6e4}.client-inspector-section>header,.client-inspector-all-fields .configured-detail-section-title{margin:0;padding:0 0 9px;color:#45494e;font-size:11.5px;font-weight:700;letter-spacing:0;line-height:1.2;text-transform:uppercase}.client-inspector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.client-inspector-field{min-width:0;min-height:58px;display:grid;align-content:center;gap:4px;padding:8px 12px 9px 0;border-bottom:1px solid #e6e8e7}.client-inspector-field:nth-child(2n){padding-right:0;padding-left:12px;border-left:1px solid #e6e8e7}.client-inspector-field>span{color:#686d73;font-size:11.5px;line-height:1.3}.client-inspector-field>strong,.client-inspector-field>a{min-width:0;color:#242629;font-size:14px;font-weight:620;line-height:1.35;overflow-wrap:anywhere}.client-inspector-field>strong.is-empty{color:#a1a1aa;font-weight:500}.client-inspector-field>a{display:inline-flex;align-items:center;gap:5px;color:var(--crm-primary);text-decoration:none}.client-inspector-relations-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e6e8e7;border-bottom:1px solid #e6e8e7}.client-inspector-relations-strip button{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;min-width:0;min-height:58px;align-items:center;gap:7px;padding:7px 10px;border:0;background:transparent;color:#52565b;cursor:pointer;font:inherit;text-align:left}.client-inspector-relations-strip button+button{border-left:1px solid #e6e8e7}.client-inspector-relations-strip button:hover{background:#f7f9f8;color:var(--crm-text)}.client-inspector-relations-strip button span{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.client-inspector-relations-strip button strong{color:var(--crm-text);font-size:15px}.client-inspector-all-fields .configured-detail-sections{grid-template-columns:1fr;gap:0;padding:0}.client-inspector-all-fields .configured-detail-section{gap:0;padding:14px 0 4px;border:0;border-radius:0;background:transparent}.client-inspector-all-fields .configured-detail-section+.configured-detail-section{margin-top:8px;border-top:1px solid #e3e6e4}.client-inspector-all-fields .configured-detail-columns,.client-inspector-all-fields .configured-detail-spanning{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0}.client-inspector-all-fields .configured-detail-column+.configured-detail-column{border-left:1px solid #e6e8e7}.client-inspector-all-fields .configured-detail-field{min-height:58px;padding:8px 12px 9px 0;border-bottom:1px solid #e6e8e7}.client-inspector-all-fields .configured-detail-column+.configured-detail-column .configured-detail-field{padding-right:0;padding-left:12px}.client-inspector-all-fields .configured-detail-label{font-size:11.5px}.client-inspector-all-fields .configured-detail-value{margin-top:3px;font-size:14px;font-weight:620;line-height:1.35}.client-relations-list{display:grid;gap:12px;padding:14px 0 6px}.client-relation-group{--relation-accent: #5d6670;--relation-tint: #f5f6f6;--relation-line: #d9dddf;overflow:hidden;border:1px solid #dfe3e1;border-radius:4px;background:#fff}.client-relation-group.is-contacts{--relation-accent: #2f6fbb;--relation-tint: #f2f7fc;--relation-line: #c7d9ed}.client-relation-group.is-opportunities{--relation-accent: #6d5bd0;--relation-tint: #f7f5ff;--relation-line: #d8d1f4}.client-relation-group.is-projects{--relation-accent: #2f7d58;--relation-tint: #f1f8f4;--relation-line: #c7dfd1}.client-relation-group>header{display:grid;grid-template-columns:28px minmax(0,1fr) auto;min-height:50px;align-items:center;gap:9px;padding:7px 10px;background:var(--relation-tint);box-shadow:inset 3px 0 0 var(--relation-accent)}.client-relation-group-icon{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--relation-line);border-radius:4px;background:#fff;color:var(--relation-accent)}.client-relation-group-title{display:grid;min-width:0;gap:1px}.client-relation-group-title strong{color:#242629;font-size:13.5px;font-weight:660;line-height:1.25}.client-relation-group-title small{overflow:hidden;color:#737980;font-size:11.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.client-relation-count{padding:3px 6px;border:1px solid var(--relation-line);border-radius:3px;background:#fff;color:var(--relation-accent);font-size:11.5px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.client-relation-group-body{position:relative;padding:0 10px 0 42px}.client-relation-group-body:before{position:absolute;top:0;bottom:0;left:21px;width:1px;background:var(--relation-line);content:""}.client-relation-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;align-items:center;gap:14px;min-height:54px;padding:8px 0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-right:0;border-bottom:0;border-left:0;border-top:1px solid #eceeed;background:#fff;color:inherit;cursor:pointer;font:inherit;text-align:left;transition:background-color .12s ease}.client-relation-row:first-child{border-top:0}.client-relation-row:hover{background:var(--relation-tint)}.client-relation-row:focus-visible{z-index:1;outline:2px solid var(--relation-accent);outline-offset:-2px}.client-relation-row:before{position:absolute;top:50%;left:-24px;width:7px;height:7px;transform:translateY(-50%);border:2px solid #fff;border-radius:1px;background:var(--relation-accent);box-shadow:0 0 0 1px var(--relation-line);content:""}.client-relation-row>div{display:grid;gap:3px;min-width:0}.client-relation-row strong{overflow:hidden;color:#242629;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.client-relation-row>div>span{overflow:hidden;color:#74787e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.client-relation-row-end{display:flex;align-items:center;gap:9px;min-width:0}.client-relation-row-amount{color:#3f4143;font-size:13px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.client-relation-row-arrow{flex:0 0 auto;color:var(--relation-accent);opacity:.62;transition:opacity .12s ease,transform .12s ease}.client-relation-row:hover .client-relation-row-arrow,.client-relation-row:focus-visible .client-relation-row-arrow{opacity:1;transform:translate(2px)}.client-relation-empty,.client-inspector-state{min-height:62px;display:flex;align-items:center;gap:9px;padding:12px 0;color:#8a8e94;font-size:12.5px}.client-inspector-state{min-height:160px;justify-content:center}.client-inspector-state.is-error{color:var(--crm-danger)}.client-inspector-state .button{min-height:30px;padding:0 9px;font-size:12px}.client-inspector-footer{display:flex;min-height:44px;flex:0 0 auto;align-items:center;gap:10px;padding:6px 12px 6px 18px;border-top:1px solid #dfe3e0;background:#fff;color:var(--crm-text-muted);font-size:11.5px}.client-inspector-footer>span+span{padding-left:10px;border-left:1px solid #dfe3e0}.client-inspector-footer button{display:inline-flex;min-height:28px;align-items:center;gap:5px;margin-left:auto;padding:0 7px;border:1px solid #dfe3e0;border-radius:4px;background:#fff;color:#52565b;cursor:pointer;font:inherit;font-size:11.5px;white-space:nowrap}.client-inspector-footer button+button{margin-left:0}.client-inspector-footer button:hover{background:#f7f9f8;color:var(--crm-text)}@keyframes client-detail-drawer-enter{0%{transform:translate(18px);opacity:.92}to{transform:translate(0);opacity:1}}@media(prefers-reduced-motion:reduce){.client-detail-drawer,.contact-detail-drawer,.related-entity-preview-state-drawer{animation:none}}.drawer.contact-detail-drawer,.drawer.related-entity-preview-state-drawer{width:min(580px,100vw);height:100vh;min-height:0;display:flex;overflow:hidden;flex-direction:column;background:#fff;animation:client-detail-drawer-enter .16s ease-out}.contact-detail-drawer .drawer-head,.related-entity-preview-state-drawer .drawer-head{z-index:4;flex:0 0 auto;padding:8px 12px}.contact-detail-drawer .drawer-head h2,.related-entity-preview-state-drawer .drawer-head h2{color:var(--crm-text-secondary);font-size:14px;font-weight:700;line-height:1.3}.contact-detail-drawer .drawer-head .icon-button,.related-entity-preview-state-drawer .drawer-head .icon-button{width:30px;height:30px}.contact-detail-drawer-content{min-height:0;display:flex;flex:1 1 auto;overflow:hidden;flex-direction:column;background:#fff}.contact-detail-drawer-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;flex:0 0 auto;padding:12px 18px;border-bottom:1px solid #dfe3e0;background:#f8fbf9}.contact-detail-monogram{display:grid;width:46px;height:46px;place-items:center;border:1px solid #cfe1d7;border-radius:6px;background:#eaf5ef;color:#166534;font-size:16px;font-weight:800;letter-spacing:.02em}.contact-detail-drawer-identity{min-width:0}.contact-detail-drawer-eyebrow{display:block;margin-bottom:1px;color:#3f7f61;font-size:11px;font-weight:700}.contact-detail-drawer-identity h3{margin:0;overflow-wrap:anywhere;color:var(--crm-text);font-size:18px;font-weight:700;line-height:1.15}.contact-detail-drawer-identity p{margin:3px 0 0;color:var(--crm-text-muted);font-size:12px;line-height:1.3}.contact-detail-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:0 0 auto;gap:1px;padding-bottom:1px;border-bottom:1px solid #dfe3e0;background:#dfe3e0}.contact-detail-context-item{display:grid;min-width:0;min-height:44px;grid-template-columns:auto minmax(64px,max-content) minmax(0,1fr);align-items:center;gap:7px;padding:7px 12px;border:0;background:#fff;color:#27272a;font:inherit;text-align:left;text-decoration:none}a.contact-detail-context-item:hover{background:#f7faf8}.contact-detail-context-item>svg{color:#4d8368}.contact-detail-context-item>span{color:var(--crm-text-muted);font-size:11px;font-weight:650}.contact-detail-context-item>strong,.contact-detail-context-item>.related-entity-link{min-width:0;overflow:hidden;color:#27272a;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.contact-detail-context-item>.related-entity-link{width:100%;justify-content:flex-start}.contact-detail-drawer-body{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}.contact-detail-drawer .contact-inline-detail{min-height:0;grid-template-columns:minmax(0,1fr);align-content:start;border-top:0;background:#fff}.contact-detail-drawer .entity-detail-navigation{position:sticky;top:0;z-index:2}.contact-detail-drawer .opportunity-summary-grid-contact{grid-template-columns:minmax(0,1fr);gap:0;padding:0}.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-section,.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-width-narrow,.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-width-normal,.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-width-wide{grid-column:1 / -1;padding:14px 18px 16px;border-top:1px solid #e4e7e5}.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-section:first-child{border-top:0}.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-fields-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-field,.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-value-only{grid-column:auto}.related-entity-preview-state{display:grid;min-height:260px;flex:1 1 auto;place-content:center;justify-items:center;gap:10px;padding:28px;color:var(--crm-text-secondary);text-align:center}.related-entity-preview-state>svg{color:#3f8f6b}.related-entity-preview-state strong{color:#27272a;font-size:14px}.related-entity-preview-state span{max-width:360px;color:var(--crm-text-muted);font-size:12px;line-height:1.45}.related-entity-preview-state.is-error>svg{color:#dc2626}.related-entity-preview-state .button{margin-top:4px}@media(max-width:640px){.contact-detail-drawer-hero{padding:10px}.contact-detail-context{grid-template-columns:minmax(0,1fr)}.contact-detail-drawer .opportunity-summary-grid-contact .opportunity-summary-fields-row{grid-template-columns:minmax(0,1fr);gap:9px}}.client-inline-identity,.contact-inline-identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.client-inline-kpis dd:not(.entity-kpi-text){font-variant-numeric:tabular-nums}.contact-monogram{display:inline-grid;width:52px;height:52px;place-items:center;border:1px solid #cbd5d1;border-radius:4px;background:#eef6f1;color:#166534;font-size:20px;font-weight:800}.contact-channels{gap:9px}.contact-inline-detail{--detail-accent: var(--crm-brand)}.detail{align-self:start;padding:16px}.detail-head{padding-bottom:14px;border-bottom:1px solid var(--crm-surface-strong)}.detail h2{margin:11px 0 4px;font-size:20px}.detail p{margin:0;color:var(--crm-text-muted)}.detail-list{display:grid;gap:12px;margin:16px 0}.detail-list div{display:grid;gap:3px}.detail-list dt{color:var(--crm-text-muted);font-size:12px}.detail-list dd{margin:0;color:var(--crm-text);line-height:1.35}.note{padding:12px;border-radius:8px;background:var(--crm-background);color:#3f3f46;line-height:1.45}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:flex;justify-content:flex-end;background:#18181b57}.drawer{width:min(720px,100vw);min-height:100vh;overflow-y:auto;background:#fff;box-shadow:-16px 0 40px #18181b29}.drawer-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--crm-surface-strong);background:#fff}.drawer-head h2{margin:0;font-size:20px}.drawer-head-actions{display:flex;align-items:center;gap:8px}.decision-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;display:grid;place-items:center;padding:20px;background:#18181b7a}.decision-dialog{width:min(560px,100%);overflow:hidden;border:1px solid var(--crm-surface-strong);border-radius:8px;background:#fff;box-shadow:0 24px 64px #18181b3d}.decision-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--crm-surface-strong)}.decision-head h3{margin:0;color:var(--crm-text);font-size:19px}.decision-body{display:grid;gap:10px;padding:20px;color:#3f3f46;line-height:1.5}.decision-body p{margin:0}.decision-note{padding:11px 12px;border-left:3px solid #f87171;background:var(--crm-danger-soft);color:#991b1b;font-size:13px}.decision-actions{display:grid;grid-template-columns:1fr;gap:10px;padding:0 20px 20px}.opportunity-win-confirm{display:block;width:min(660px,100%);padding:20px;border-color:#c8ddd2;border-radius:10px;box-shadow:0 22px 60px #18231d38}.opportunity-win-confirm-head{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px}.opportunity-win-confirm-mark{display:grid;width:44px;height:44px;place-items:center;border:1px solid #b8d7c7;border-radius:10px;background:#eef7f2;color:#2f7f5b}.opportunity-win-confirm-copy{min-width:0;align-self:center}.opportunity-win-confirm-copy h3{margin:0;color:#17251e;font-size:17px;line-height:1.32}.opportunity-win-confirm-copy p{overflow:hidden;margin:5px 0 0;color:#707a74;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.opportunity-win-confirm-actions{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0 0}.opportunity-win-confirm-actions .button{min-height:38px}.opportunity-win-preflight{margin-top:16px;border-top:1px solid #e1e7e3;padding-top:14px}.opportunity-win-preflight-state,.opportunity-win-preflight-ready{display:flex;min-height:62px;align-items:center;justify-content:center;gap:8px;color:var(--crm-text-secondary);font-size:13px}.opportunity-win-preflight-state.is-error{justify-content:flex-start;padding:10px 12px;border:1px solid #f4c7c0;border-radius:8px;background:#fff7f5;color:#a33b2e}.opportunity-win-preflight-state.is-error span{flex:1}.opportunity-win-transfer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid #dce5e0;border-radius:8px;background:#fbfdfc}.opportunity-win-transfer-summary>span{display:grid;gap:2px;padding:10px 12px}.opportunity-win-transfer-summary>span+span{border-left:1px solid #e1e7e3}.opportunity-win-transfer-summary small{color:var(--crm-text-muted);font-size:10px}.opportunity-win-transfer-summary strong{overflow:hidden;color:#22342b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.opportunity-win-preflight-issues{margin-top:10px;padding:10px 12px;border:1px solid #ecd59d;border-radius:8px;background:#fffaf0;color:#765313;font-size:12px}.opportunity-win-preflight-issues.has-blockers{border-color:#f1c2b9;background:#fff6f4;color:#9a382d}.opportunity-win-preflight-issues>strong{font-size:12px}.opportunity-win-preflight-issues ul{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}.opportunity-win-preflight-issues li{display:flex;align-items:flex-start;gap:6px}.opportunity-win-preflight-issues li svg{flex:0 0 auto;margin-top:1px}.opportunity-win-preflight-ready{min-height:auto;justify-content:flex-start;margin-top:10px;padding:9px 11px;border:1px solid #b9ddcb;border-radius:8px;background:#f0faf5;color:#0b6d50;font-weight:700}@media(max-width:520px){.opportunity-win-confirm{padding:16px}.opportunity-win-confirm-head{grid-template-columns:38px minmax(0,1fr)}.opportunity-win-confirm-mark{width:38px;height:38px}.opportunity-win-transfer-summary,.opportunity-win-confirm-actions{grid-template-columns:1fr}.opportunity-win-transfer-summary>span+span{border-top:1px solid #e1e7e3;border-left:0}}.form-grid{display:grid;grid-auto-flow:row dense;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.form-grid.compact{padding:0}.form-columns,.form-spanning-grid{grid-column:1 / -1;display:grid;gap:14px;align-items:start}.form-column{display:grid;align-content:start;gap:14px;min-width:0}.form-sections{display:grid;gap:18px}.form-section{--form-section-accent: #a1a1aa;display:grid;gap:13px;min-width:0;padding:14px 16px 16px;border:1px solid #dedfdf;border-left:4px solid var(--form-section-accent);border-radius:2px;background:#fff}.form-section-green{--form-section-accent: var(--crm-brand)}.form-section-blue{--form-section-accent: #2563eb}.form-section-violet{--form-section-accent: #6d5bd0}.form-section-amber{--form-section-accent: #d97706}.form-section-red{--form-section-accent: #dc2626}.form-section-title{color:#3f4143;font-size:14px;font-weight:900;line-height:1.2}.form-section .form-columns,.form-section .form-spanning-grid{grid-column:auto}.form-spanning-field{min-width:0}.field{display:grid;align-content:start;align-self:start;gap:5px}.field-full{grid-column:1 / -1}.client-logo-field{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:12px;padding:0 0 13px;border-bottom:1px solid var(--crm-surface-strong)}.client-logo-preview{display:grid;width:56px;height:56px;place-items:center;overflow:hidden;border:1px solid var(--crm-border);border-radius:4px;background:#f7f8f7;color:var(--crm-text-muted)}.client-logo-preview img{width:100%;height:100%;object-fit:contain}.client-logo-copy{display:grid;gap:3px;min-width:0}.client-logo-copy strong{color:#3f4143;font-size:14px}.client-logo-copy span{color:var(--crm-text-muted);font-size:13px}.client-logo-copy small{color:var(--crm-danger);font-size:12px}.client-logo-actions{display:flex;align-items:center;gap:8px}.client-logo-actions .button{cursor:pointer}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.field-col-1{grid-column-start:1}.field-col-2{grid-column-start:2}.field-col-3{grid-column-start:3}.field-span-1{grid-column-end:span 1}.field-span-2{grid-column-end:span 2}.field-span-3{grid-column-end:span 3}.field>span:first-child{color:var(--crm-text-secondary);font-size:14px;font-weight:700;line-height:1.3}.field-conditionally-required>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.field-required-badge{padding:2px 6px;border:1px solid #f4b87a;border-radius:999px;background:#fff6e8;color:#9a4e0b;font-size:10px;font-style:normal;font-weight:850;letter-spacing:.035em;line-height:1.15;text-transform:uppercase}.field-conditionally-required{padding:9px;border:1px solid #f1c38e;border-radius:10px;background:#fffbf3}.field-conditionally-required input:not([type=checkbox]){border-color:#d88b3c}.field-requirement-hint{display:flex;align-items:flex-start;gap:5px;color:#8d4a10;font-size:11px;font-weight:650;line-height:1.35}.field-requirement-hint>svg{flex:0 0 auto;margin-top:1px}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:var(--crm-text);font-size:17px;outline:none}.field input:not([type=checkbox]),.field select{height:40px;min-height:40px;line-height:1.25}.field select{font-weight:400}.check-field{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border:1px solid var(--crm-border);border-radius:8px;background:#fff}.check-field input{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0;border:0;border-radius:4px;box-shadow:none;accent-color:#2563eb}.check-field span{color:var(--crm-text);font-weight:600}.checkbox-options{display:grid;gap:8px}.checkbox-options .check-field{width:100%}.company-reference-picker{display:grid;gap:7px}.company-reference-row{display:grid;grid-template-columns:58px minmax(0,1fr) 34px;align-items:center;gap:7px}.company-reference-row-label{color:var(--crm-text-muted);font-size:11px;font-weight:650;text-align:right}.company-reference-row .select-wrap{min-width:0}.company-reference-add{justify-self:start;min-height:32px;margin-left:65px;padding:5px 9px;font-size:12px}.multi-company-links{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0;max-width:100%}.multi-company-more{position:relative;display:inline-block;margin-left:5px}.multi-company-more>button{display:inline-flex;align-items:center;min-height:20px;padding:1px 6px;border:1px solid #a7d8c8;border-radius:999px;background:#eef9f5;color:#057857;cursor:pointer;font-size:11px;font-weight:700}.multi-company-more-list{position:absolute;z-index:40;top:calc(100% + 5px);right:0;display:block;min-width:190px;max-width:320px;padding:8px 10px;border:1px solid var(--crm-border);border-radius:7px;background:#fff;box-shadow:0 10px 24px #18181b24;line-height:1.65;white-space:normal}.multi-company-more-list .related-entity-link{white-space:nowrap}.select-legacy-note{display:block;color:#66706b;font-size:12px;font-weight:500;line-height:1.4}.select-legacy-note{color:#8a5a1f}.form-error{padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:var(--crm-danger-soft);color:var(--crm-danger);font-size:13px;font-weight:600}.admin-list{display:grid;gap:8px;padding:12px}.admin-list-row{display:grid;grid-template-columns:34px minmax(220px,1fr) auto minmax(260px,.8fr) 34px;align-items:center;gap:10px;min-height:64px;padding:10px;border:1px solid var(--crm-surface-strong);border-radius:8px;background:#fff}.admin-list-main,.admin-list-meta{display:grid;gap:3px;min-width:0}.admin-list-main strong{color:var(--crm-text)}.admin-list-main span,.admin-list-meta span,.admin-list-meta small{overflow:hidden;color:var(--crm-text-muted);text-overflow:ellipsis;white-space:nowrap}.admin-list-meta span{color:var(--crm-text-secondary);font-weight:700}.inherited-opportunity-field-badge{display:inline-flex;min-height:18px;flex:0 0 auto;align-items:center;padding:1px 5px;border:1px solid #c8d8ef;border-radius:999px;background:#f3f7fc;color:#48698f;font-size:10px;font-weight:720;line-height:1;white-space:nowrap}.custom-field-transfer-option{display:flex;min-height:62px;align-items:flex-start;gap:11px;padding:11px 12px;border:1px solid #c7ddd2;border-radius:8px;background:#f8fcfa;cursor:pointer}.custom-field-transfer-option:hover{border-color:#8dbca6;background:#f2f9f5}.custom-field-transfer-option:focus-within{border-color:#3f8b68;box-shadow:0 0 0 3px #3f8b6821}.custom-field-transfer-option input{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:#367c5b}.custom-field-transfer-option>span{display:grid;gap:3px;min-width:0}.custom-field-transfer-option strong{color:#183c2d;font-size:14px;line-height:1.25}.custom-field-transfer-option small{color:#607069;font-size:12px;font-weight:450;line-height:1.4}.custom-fields-block,.profile-summary{grid-column:1 / -1}.custom-fields-block{display:grid;gap:12px;margin-top:4px;padding-top:14px;border-top:1px solid var(--crm-surface-strong)}.custom-fields-block h3{margin:0;font-size:15px}.profile-summary{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--crm-surface-strong);border-radius:8px;background:var(--crm-surface-muted)}.profile-summary strong,.profile-summary span{display:block}.profile-summary span{margin-top:3px;color:var(--crm-text-muted);font-size:12px}.profile-form-grid>.field input:not([type=checkbox]){height:34px;min-height:34px;padding:3px 10px;border-radius:6px;font-size:12px;line-height:1.25}.field input:not([type=checkbox]),.field textarea{padding:5px 11px}.field textarea{min-height:92px;line-height:1.45;resize:vertical}.field-large input:not([type=checkbox]),.field-large select{min-height:52px}.field-large textarea{min-height:150px}.field input:not([type=checkbox]):focus,.field select:focus,.field textarea:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #05966924}.check-field:focus-within{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1a}.field-validation-error{color:var(--crm-danger);font-size:12px;font-weight:600;line-height:1.35}.field-invalid input:not([type=checkbox]),.field-invalid select,.field-invalid textarea,.field-invalid .check-field{border-color:#ef4444}.field-invalid input:not([type=checkbox]):focus,.field-invalid select:focus,.field-invalid textarea:focus,.field-invalid .check-field:focus-within{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.select-wrap{position:relative;display:flex;align-items:center;width:100%;min-width:0}.select-wrap select{width:100%;min-width:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:3px 36px 3px 11px;cursor:pointer}.select-wrap svg{position:absolute;right:10px;pointer-events:none;color:var(--crm-text-muted)}.drawer-actions{grid-column:1 / -1!important;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.opportunity-drawer .drawer-head{padding:14px 16px}.opportunity-drawer .drawer-head h2{font-size:18px}.opportunity-drawer .form-grid{gap:10px;padding:14px}.opportunity-drawer .form-sections{gap:12px}.opportunity-drawer .form-section{gap:9px;padding:11px 13px 13px}.opportunity-drawer .form-section-title{font-size:13px;font-weight:800}.opportunity-drawer .form-columns,.opportunity-drawer .form-spanning-grid,.opportunity-drawer .form-column{gap:10px}.opportunity-drawer .field{gap:3px}.opportunity-drawer .field>span:first-child{font-size:13px;font-weight:600;line-height:1.25}.opportunity-drawer .field input:not([type=checkbox]),.opportunity-drawer .field select,.opportunity-drawer .field textarea{border-radius:6px;font-size:14px}.opportunity-drawer .field input:not([type=checkbox]),.opportunity-drawer .field select,.opportunity-drawer .field-large input:not([type=checkbox]),.opportunity-drawer .field-large select{height:32px;min-height:32px}.opportunity-drawer .field input:not([type=checkbox]),.opportunity-drawer .field textarea{padding:2px 9px}.opportunity-drawer .select-wrap select{padding:1px 30px 1px 9px}.opportunity-drawer .select-wrap svg{right:9px;width:14px;height:14px}.opportunity-drawer .field textarea{min-height:76px;line-height:1.35}.opportunity-scope-field{min-width:0}.opportunity-scope-head{display:flex;height:16.25px;align-items:center;justify-content:space-between;gap:10px}.opportunity-scope-label{color:var(--crm-text-secondary);font-size:13px;font-weight:600;line-height:1.25}.opportunity-scope-add{display:inline-flex;min-height:0;align-items:center;gap:5px;padding:0 7px;border:0;border-radius:4px;background:transparent;color:#277a5b;font:inherit;font-size:12px;font-weight:700;line-height:1.25;cursor:pointer}.opportunity-scope-add:hover,.opportunity-scope-add:focus-visible{background:#edf7f2;outline:none}.opportunity-scope-editor{min-width:0;overflow:hidden;border:1px solid var(--crm-border);border-radius:6px;background:#fff}.opportunity-scope-columns,.opportunity-scope-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(92px,.38fr) 34px;align-items:center;column-gap:8px}.opportunity-scope-columns{min-height:25px;padding:3px 7px;border-bottom:1px solid var(--crm-surface-strong);background:#f7f8f7;color:var(--crm-text-muted);font-size:11px;font-weight:600}.opportunity-scope-columns span:nth-child(3){text-align:right}.opportunity-scope-row{min-height:40px;padding:4px 7px;border-bottom:1px solid #eceeed}.opportunity-scope-row:last-child{border-bottom:0}.opportunity-scope-index{color:#a1a1aa;font-variant-numeric:tabular-nums;font-size:11px;font-weight:700;text-align:center}.opportunity-drawer .opportunity-scope-row>input,.opportunity-drawer .opportunity-scope-amount input{min-width:0;height:30px;min-height:30px;border-radius:5px;font-size:13px}.opportunity-scope-amount{position:relative;min-width:0}.opportunity-drawer .field .opportunity-scope-amount input{padding:2px 32px 2px 9px;text-align:right;font-variant-numeric:tabular-nums}.opportunity-scope-amount>span{position:absolute;top:50%;right:9px;color:var(--crm-text-muted);font-size:12px;pointer-events:none;transform:translateY(-50%)}.opportunity-scope-row>.icon-button{width:30px;height:30px;margin-left:0;border-radius:5px}.opportunity-scope-row>.icon-button:disabled{border-color:transparent;background:transparent;color:var(--crm-border);cursor:default}.opportunity-scope-total{display:flex;min-height:34px;align-items:center;justify-content:flex-end;gap:16px;padding:5px 11px;border-top:1px solid #dfe4e1;background:#f7faf8;color:var(--crm-text-secondary);font-size:12px}.opportunity-scope-total strong{min-width:120px;color:var(--crm-text);font-size:14px;font-variant-numeric:tabular-nums;text-align:right}.opportunity-drawer .field-large textarea{min-height:108px}.opportunity-drawer .check-field{gap:10px;padding:9px 10px;border-radius:6px;font-size:14px}.opportunity-drawer .drawer-actions{padding-top:2px}.opportunity-working-files{grid-column:1 / -1;overflow:hidden;border:1px solid #dce5e0;border-left:3px solid #4a9876;border-radius:7px;background:#fff}.opportunity-working-files-head{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:1px solid #e5e9e7;background:#fbfcfb}.opportunity-working-files-title{display:flex;min-width:0;align-items:center;gap:9px}.opportunity-working-files-icon{display:inline-flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border:1px solid #cfe0d7;border-radius:6px;background:#f1f8f4;color:#277a5b}.opportunity-working-files-title h3,.opportunity-working-files-title p,.opportunity-working-files-note,.opportunity-working-files-error{margin:0}.opportunity-working-files-title h3{color:#202421;font-size:14px;font-weight:800;line-height:1.2}.opportunity-working-files-title p{margin-top:2px;color:#727b76;font-size:11px;line-height:1.25}.opportunity-working-files-body{display:grid;gap:6px;padding:8px 11px 9px}.opportunity-working-files-note{display:flex;align-items:center;gap:6px;color:#6f7973;font-size:11px;line-height:1.35}.opportunity-working-files-error{color:#b13b32;font-size:11px;line-height:1.35}.opportunity-working-files-list{display:grid;overflow-y:auto;max-height:168px;border:1px solid #e1e6e3;border-radius:6px}.opportunity-working-file-row{display:grid;grid-template-columns:20px minmax(0,1fr) 30px;min-height:43px;align-items:center;gap:7px;padding:5px 7px;color:#68716c}.opportunity-working-file-row+.opportunity-working-file-row{border-top:1px solid #e8ecea}.opportunity-working-file-row.is-pending{background:#f7fbf9}.opportunity-working-file-row>div{display:grid;min-width:0;gap:1px}.opportunity-working-file-row strong,.opportunity-working-file-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opportunity-working-file-row strong{color:#252a27;font-size:12px;font-weight:700;line-height:1.2}.opportunity-working-file-row span{color:#7b847f;font-size:10px;line-height:1.2}.opportunity-working-file-row>button,.opportunity-working-file-row>a{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid #dbe2de;border-radius:6px;background:#fff;color:#606a64;cursor:pointer}.opportunity-working-file-row>button:hover,.opportunity-working-file-row>a:hover{border-color:#aebdb5;color:#277a5b}.opportunity-working-file-row>button:disabled{cursor:default;opacity:.55}@media(max-width:680px){.opportunity-working-files-head{align-items:stretch;flex-direction:column}.opportunity-working-files-head .button{justify-content:center}}.column-settings{display:grid;gap:14px;padding:18px}.column-settings-list{display:grid;gap:8px}.column-settings-row{display:grid;grid-template-columns:34px 22px minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:9px 12px 9px 9px;border:1px solid var(--crm-surface-strong);border-radius:8px;background:#fff;transition:border-color .15s ease,background-color .15s ease,opacity .15s ease}.column-settings-row.fixed{grid-template-columns:34px 22px minmax(0,1fr) auto;border-color:var(--crm-border);background:#f7f8f7}.column-settings-row.fixed:hover{border-color:var(--crm-border);background:#f7f8f7}.column-fixed-icon{display:grid;width:34px;height:34px;place-items:center;color:var(--crm-text-secondary)}.column-fixed-note{color:var(--crm-text-muted);font-size:12px;font-weight:700}.column-settings-row:hover{border-color:#a7f3d0;background:#f8fffc}.column-settings-row.muted{background:var(--crm-surface-muted);opacity:.62}.column-settings-row input{width:18px;height:18px;accent-color:var(--crm-primary)}.column-settings-row strong{color:#27272a;font-size:14px}.column-settings-actions{position:sticky;bottom:0;margin:0 -18px -18px;padding:14px 18px 18px;border-top:1px solid var(--crm-surface-strong);background:#fff}.column-settings-actions .button:first-child{margin-right:auto}.layout-section-editor-green{--layout-section-accent: var(--crm-brand)}.layout-section-editor-blue{--layout-section-accent: #2563eb}.layout-section-editor-violet{--layout-section-accent: #6d5bd0}.layout-section-editor-amber{--layout-section-accent: #d97706}.layout-section-editor-red{--layout-section-accent: #dc2626}.layout-canvas-1{grid-template-columns:1fr}.layout-canvas-2{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-canvas-3{grid-template-columns:repeat(3,minmax(0,1fr))}.layout-list{display:grid;gap:8px}.drag-handle{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--crm-surface-strong);border-radius:8px;background:#fff;color:var(--crm-text-muted);cursor:grab}.summary-layout-block-neutral{--summary-editor-accent: #a1a1aa}.summary-layout-block-green{--summary-editor-accent: var(--crm-brand)}.summary-layout-block-blue{--summary-editor-accent: #2563eb}.summary-layout-block-violet{--summary-editor-accent: #6d5bd0}.summary-layout-block-amber{--summary-editor-accent: #d97706}.summary-layout-block-red{--summary-editor-accent: #dc2626}.summary-layout-block-narrow,.summary-layout-block-normal,.summary-layout-block-wide{grid-column:auto}.empty,.loading,.error{padding:22px;color:var(--crm-text-secondary)}.compact-error,.compact-notice{padding:0}.error{color:var(--crm-danger)}.desktop-runtime-error{display:grid;gap:8px;margin:20px;border:1px solid color-mix(in srgb,var(--crm-danger) 24%,transparent);border-radius:10px;background:color-mix(in srgb,var(--crm-danger) 5%,var(--crm-surface))}.desktop-runtime-error strong{color:var(--crm-text-primary);font-size:16px}.desktop-runtime-error-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.desktop-section-reference-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 20px 0;padding:8px 10px;border:1px solid #f1d8a9;border-radius:8px;background:#fffaf0;color:#8a5a16;font-size:12px}.notice{color:var(--crm-primary)}@media(max-width:1100px){.app{display:block}.sidebar{width:100%;flex:none}.nav{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid,.dashboard-grid,.content-grid,.dashboard-milestone-list{grid-template-columns:1fr}.dashboard-milestone:nth-last-child(-n+2){border-bottom-color:#eceeed}.dashboard-milestone:last-child{border-bottom-color:transparent}.configured-detail-sections{grid-template-columns:1fr}.project-conversion-context{grid-template-columns:repeat(2,minmax(0,1fr))}.project-conversion-source{grid-column:1 / -1;border-bottom:1px solid #e4e7e5}.search{width:100%}.opportunity-inline-head{grid-template-columns:1fr;gap:18px}.opportunity-inline-kpis>div:first-child{padding-left:0;border-left:0}.opportunity-detail-body,.opportunity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-summary-section,.opportunity-summary-width-narrow,.opportunity-summary-width-normal{grid-column:span 1}.opportunity-summary-width-wide{grid-column:1 / -1}.opportunity-detail-body.without-risk{grid-template-columns:1fr}.opportunity-context-section{grid-column:1 / -1;padding:0 0 20px;border-bottom:1px solid var(--crm-border)}.opportunity-next-step{padding:20px 24px 0 20px}.opportunity-risk{padding:20px 0 0 20px}.entity-detail-section{padding:20px 24px 0 20px}.economics-statement-grid,.economics-ledger-columns{grid-template-columns:1fr}.economics-cash-sheet{border-top:1px solid var(--crm-border);border-left:0}.entity-expanded-row .table-inline-detail{width:min(100%,calc(100vw - 58px))}.portfolio-cash-flow .cash-flow-header-main{grid-template-columns:minmax(0,1fr)}.portfolio-cash-flow .cash-flow-heading{border-right:0;border-bottom:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow-metrics>div:first-child{border-left:0}.summary-layout-block-narrow,.summary-layout-block-normal,.summary-layout-block-wide{grid-column:auto}}@media(max-width:760px){.topbar,.page-title,.toolbar{flex-direction:column;align-items:stretch}.topbar-account-actions{width:100%;justify-content:flex-end;margin-left:0}.toolbar .toolbar-actions{justify-content:stretch}.toolbar .toolbar-actions .button{flex:1 1 auto;justify-content:center}.page{padding:14px}.nav,.metric-grid,.form-grid,.project-conversion-context{grid-template-columns:1fr}.project-conversion-source{grid-column:auto}.project-conversion-segment{border-top:1px solid #e4e7e5;border-left:0}.project-conversion-segment:first-child{border-top:0}.opportunity-scope-columns{display:none}.opportunity-scope-row{grid-template-columns:minmax(0,1fr) 30px;gap:6px}.opportunity-scope-row>input{grid-column:1;grid-row:1}.opportunity-scope-amount{grid-column:1;grid-row:2}.opportunity-scope-row>.icon-button{grid-column:2;grid-row:1 / span 2;align-self:center}.opportunity-scope-index,.opportunity-scope-add span{display:none}.opportunity-scope-total{justify-content:space-between}.portfolio-cash-flow-state{align-items:stretch;flex-direction:column}.portfolio-cash-flow .cash-flow-section-head h3{white-space:normal}.portfolio-cash-flow .cash-flow-legend{flex-wrap:wrap}.portfolio-cash-flow .cash-flow-legend-row{display:flex;align-items:stretch;flex-direction:column;gap:8px}.portfolio-cash-flow .cash-flow-range{width:100%}.portfolio-cash-flow .cash-flow-range input{width:auto;min-width:0;flex:1 1 0}.portfolio-cash-flow-metrics,.portfolio-cash-flow-metrics.is-receipts{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-cash-flow-metrics>div{padding:11px 12px}.portfolio-cash-flow-metrics>div:first-child{grid-column:1 / -1;border-left:0}.portfolio-cash-flow-metrics>div:nth-child(2){border-top:1px solid var(--portfolio-flow-line);border-left:0}.portfolio-cash-flow-metrics>div:nth-child(3){border-top:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow-metrics>div:nth-child(4){border-top:1px solid var(--portfolio-flow-line);border-left:0}.portfolio-cash-flow-metrics>div:nth-child(5){border-top:1px solid var(--portfolio-flow-line)}.portfolio-cash-flow .cash-flow-mode{align-self:flex-start}.portfolio-cash-flow .cash-flow-viewport{margin-right:14px;margin-left:14px}.portfolio-cash-flow .cash-flow-period-summary,.portfolio-payment-detail{margin-right:14px;margin-bottom:14px;margin-left:14px}.portfolio-payment-detail-head{align-items:flex-start;flex-direction:column;gap:8px}.portfolio-payment-detail-head h4{white-space:normal}.portfolio-payment-detail-meta{flex-wrap:wrap;white-space:normal}.portfolio-payment-detail-actions{width:100%;align-items:flex-start;justify-content:space-between}.portfolio-payment-table-wrap{overflow:visible;padding:0 10px 10px;background:#f8faf9}.portfolio-payment-table,.portfolio-payment-table tbody{display:block;width:100%!important;min-width:0!important}.portfolio-payment-table colgroup,.portfolio-payment-table thead{display:none}.portfolio-payment-table tbody{display:grid;gap:9px;padding-top:10px}.portfolio-payment-table tbody tr{display:grid;overflow:hidden;grid-auto-flow:dense;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--portfolio-flow-line);border-radius:7px;background:var(--portfolio-flow-surface)}.portfolio-payment-table td,.portfolio-payment-table td+td{display:block;min-width:0;padding:9px 10px;border-bottom:0;border-left:0}.portfolio-payment-table td:before{display:block;margin-bottom:4px;color:#8a938e;content:attr(data-label);font-size:10px;font-weight:700;letter-spacing:.025em;text-transform:uppercase}.portfolio-payment-table td:nth-child(2),.portfolio-payment-table td:nth-child(4),.portfolio-payment-table td:nth-child(5),.portfolio-payment-table td:nth-child(6),.portfolio-payment-table td:nth-child(7){grid-column:1 / -1}.portfolio-payment-table td:nth-child(n+2){border-top:1px solid var(--portfolio-flow-line)}.portfolio-payment-table td:nth-child(3){border-left:1px solid var(--portfolio-flow-line)}.portfolio-payment-project strong,.portfolio-payment-project>span{white-space:normal}.portfolio-payment-date-control{max-width:none}.portfolio-cash-flow .cash-flow-undated{padding-right:14px;padding-left:14px}.field-col-1,.field-col-2,.field-col-3,.field-span-1,.field-span-2,.field-span-3{grid-column:auto}.summary-layout-block-narrow,.summary-layout-block-normal,.summary-layout-block-wide{grid-column:1}.form-columns,.form-spanning-grid,.admin-list-row{grid-template-columns:1fr}.form-columns,.form-spanning-grid,.configured-detail-columns,.configured-detail-spanning{grid-template-columns:1fr!important}.client-logo-field{grid-template-columns:48px minmax(0,1fr)}.client-logo-preview{width:48px;height:48px}.client-logo-actions{grid-column:1 / -1}.column-settings-row.fixed{grid-template-columns:34px 22px minmax(0,1fr)}.column-fixed-note{grid-column:3}.form-spanning-field,.configured-detail-span{grid-column:auto!important}.table-panel{overflow-x:auto}table{min-width:820px}.opportunity-inline-head,.opportunity-detail-body{padding-right:20px;padding-left:20px}.configured-detail-sections{padding-right:14px;padding-left:14px}.opportunity-inline-kpis,.opportunity-detail-body,.opportunity-context-list,.opportunity-inline-note{grid-template-columns:1fr}.opportunity-inline-kpis>div{min-height:52px;padding:10px 0;border-top:1px solid var(--crm-surface-strong);border-left:0}.opportunity-detail-body{gap:0}.opportunity-summary-grid{grid-template-columns:1fr}.opportunity-summary-section,.opportunity-summary-width-narrow,.opportunity-summary-width-normal,.opportunity-summary-width-wide{grid-column:1 / -1;padding:16px 0 16px 16px;border-top:1px solid var(--crm-border)}.opportunity-summary-section:first-child{padding-top:0;padding-left:16px;border-top:0}.opportunity-summary-width-wide .opportunity-summary-fields{grid-template-columns:1fr}.opportunity-summary-fields-row{grid-template-columns:minmax(0,1fr)}.opportunity-summary-field,.opportunity-summary-value-only{grid-column:1}.opportunity-context-section{grid-column:auto;padding:0 0 18px}.opportunity-next-step,.opportunity-risk,.entity-detail-section{padding:18px 0 18px 16px;border-top:1px solid var(--crm-border)}.opportunity-risk{padding-bottom:0}.opportunity-inline-note{gap:6px}.entity-inline-extras{grid-template-columns:1fr;gap:10px;padding-right:20px;padding-left:20px}.entity-inline-extras dl{grid-template-columns:1fr}.entity-inline-extras dl>div{padding-right:0}.project-detail-navigation{padding-right:20px;padding-left:20px}.project-detail-navigation button{min-height:44px}.financial-form-grid,.financial-stage-editor-grid{grid-template-columns:1fr}.project-economics-statement{padding-right:14px;padding-bottom:14px;padding-left:14px}.project-economics-sheet{gap:16px;padding-right:14px;padding-bottom:14px;padding-left:14px}.economics-statement-head{min-height:52px}.economics-statement-grid{margin-top:12px}.economics-plan-sheet{padding-right:12px;padding-left:12px}.economics-cash-head,.economics-cash-row{grid-template-columns:minmax(82px,1.1fr) repeat(3,minmax(68px,.8fr));column-gap:5px;padding-right:9px;padding-left:9px}.economics-cash-head>strong,.economics-cash-label strong,.economics-cash-row>strong,.economics-cash-row>span{font-size:10px}.economics-cash-result{gap:10px;padding-right:10px;padding-left:10px}.economics-cash-result>strong{font-size:15px}.project-economics-composition{padding-right:12px;padding-left:12px}.project-economics-ledger{padding-top:0;padding-right:14px;padding-left:14px}.economics-ledger-column-head{gap:10px;padding-right:10px;padding-left:10px}.economics-ledger-column-head dl{gap:10px}.economics-ledger-section>header{align-items:stretch;flex-direction:column}.economics-ledger-tools{justify-content:space-between}.project-economics-sheet .project-financial-item-summary{grid-template-columns:minmax(0,1fr) auto}.financial-item-actions{grid-column:2;grid-row:1}.financial-forecast-context,.financial-forecast-actions{grid-template-columns:1fr}.financial-forecast-actions .button,.financial-forecast-reset{width:100%;justify-content:center}.financial-actual-context{grid-template-columns:1fr}.financial-form-stages>header{align-items:stretch;flex-direction:column}.column-settings-actions{position:static;flex-wrap:wrap}.column-settings-actions .button:first-child{width:100%;margin-right:0}}@container (max-width: 420px){.financial-item-plan-context{flex-wrap:wrap;gap:3px 6px;white-space:normal}}@media(max-width:420px){.financial-forecast-history li>div{align-items:stretch;flex-direction:column;gap:3px}.financial-forecast-history li>div>span{max-width:none;overflow:visible;text-align:left;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.table-query-controls{display:grid;grid-template-columns:minmax(0,1fr);min-height:50px;align-items:center;gap:12px;padding:7px 14px;border-bottom:1px solid var(--crm-surface-strong);background:var(--crm-surface-muted)}.table-filter-group{display:flex;min-width:0;align-items:center;gap:8px}.table-filter-group{flex-wrap:wrap}.table-local-search{display:flex;flex:1 1 250px;min-width:210px;max-width:360px;height:36px;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--crm-border);border-radius:6px;background:#fff;color:var(--crm-text-muted)}.table-local-search:focus-within{border-color:var(--crm-primary);box-shadow:0 0 0 3px #0596691f}.table-local-search input{min-width:0;height:auto;flex:1;padding:0;border:0;border-radius:0;background:transparent;color:#27272a;outline:0;box-shadow:none;font-size:14px}.table-local-search input:focus{border:0;box-shadow:none}.table-local-search button{display:inline-grid;width:24px;height:24px;flex:none;padding:0;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--crm-text-muted);cursor:pointer}.table-local-search button:hover,.table-local-search button:focus-visible{background:var(--crm-surface-strong);color:var(--crm-text);outline:none}.table-filter-group .select-wrap,.table-filter-group>input{flex:0 1 190px;width:190px}.table-filter-group .opportunity-period-filter{flex-basis:176px;width:176px}.table-filter-group .opportunity-activity-period-filter{flex-basis:202px;width:202px}.table-query-controls select,.page-size-control select{height:36px;padding-top:0;padding-bottom:0;border:1px solid var(--crm-border);border-radius:6px;background:#fff;outline:none;font-size:14px}.table-query-controls select:focus,.page-size-control select:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #0596691f}.table-query-controls .select-wrap svg,.page-size-control .select-wrap svg{right:11px}.table-query-error{grid-column:1 / -1;color:var(--crm-danger);font-size:13px}.table-pagination{display:flex;min-height:50px;align-items:center;justify-content:space-between;gap:12px;padding:7px 14px;border-top:1px solid var(--crm-surface-strong);color:var(--crm-text-secondary);font-size:13px}.table-pagination .button{min-width:84px}.page-size-control,.page-navigation{display:flex;align-items:center;gap:9px}.page-size-control>span,.page-navigation>span{white-space:nowrap}.page-size-control .select-wrap{width:112px}.resizable-data-table tbody tr.entity-table-row>td{padding-top:4px;padding-bottom:4px}.projects-table tbody tr.entity-table-row,.projects-table tbody tr.entity-table-row>td{height:30px}.project-payments-table tbody tr.entity-table-row>td{color:#3f3f46;font-size:13px}.project-payments-table .portfolio-payment-project strong{font-size:13px;font-weight:600;line-height:1.2}.project-payments-table tbody tr.is-record-fact .portfolio-payment-project strong,.project-payments-table tbody tr.is-record-fact .project-payment-remaining-cell>strong{font-weight:400}.project-payments-table .portfolio-payment-number>span,.project-payments-table .portfolio-payment-value,.project-payments-table .portfolio-payment-plan-date,.project-payments-table .project-payment-actual-date time{margin:0;font-size:13px;line-height:1.2}.project-payments-table td[data-column-key=amount] .portfolio-payment-value.is-income{color:#286b4c}.project-payments-table td[data-column-key=amount] .portfolio-payment-value.is-expense{color:#c94635}.project-payments-table td[data-column-key=completed_amount] .financial-stage-money,.project-payments-table td[data-column-key=actual_amount] .financial-stage-money{color:var(--crm-text);font-weight:400}.project-payments-table td[data-column-key=completed_amount].field-text-format.is-bold .financial-stage-money,.project-payments-table td[data-column-key=actual_amount].field-text-format.is-bold .financial-stage-money{font-weight:700}.project-payments-table .financial-stage-forecast,.project-payments-table .financial-stage-actual{padding-top:0!important;padding-bottom:0!important;text-align:center}.project-payments-table :is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line{display:inline-flex;width:auto;max-width:100%;min-height:22px;align-items:center;justify-content:center;gap:0;margin-inline:auto;padding:0 2px;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.project-payments-table :is(.financial-stage-forecast-button,.financial-stage-actual-button).is-single-line:hover{border:0;background:transparent}.project-payments-table :is(.financial-stage-forecast-button,.financial-stage-actual-button,.financial-stage-actual-static).is-single-line>:is(.financial-stage-action-label,.financial-stage-money){max-width:100%;font-size:13px;line-height:1.2}.project-payments-table td>span.portfolio-payment-status{display:inline-flex;width:100%;max-width:132px;min-height:18px;align-items:center;justify-content:center;margin-block:0;margin-inline:auto;padding:1px 6px;border:1px solid #d6deda;border-radius:999px;background:#f6f8f7;color:#59645e;font-size:11px;font-weight:680;line-height:1;text-align:center;white-space:nowrap}.project-payments-table td>span.portfolio-payment-status.is-paid{border-color:#b9dec9;background:#edf8f1;color:#18774c}.project-payments-table td>span.portfolio-payment-status.is-partial{border-color:#d8d0ad;background:#fff9e8;color:#806612}.project-payments-table td>span.portfolio-payment-status.is-overpaid{border-color:#e6c39d;background:#fff7ed;color:#9a5a16}.project-payments-table td>span.portfolio-payment-status.is-overdue{border-color:#edc1b9;background:#fff1ee;color:#b33a29}.project-payments-table td>span.portfolio-payment-status.is-undated{border-color:#efcf9d;background:#fff8eb;color:#996017}.opportunities-registry-table tbody tr.entity-table-row,.opportunities-registry-table tbody tr.entity-table-row>td{height:30px}.projects-table tbody tr.entity-table-row>td{padding-top:0;padding-bottom:0}.opportunities-registry-table tbody tr.entity-table-row>td{padding-top:0;padding-bottom:0}.opportunities-registry-v4 .opportunities-registry-table tbody tr.entity-table-row>td.opportunity-column-stage{padding-top:0;padding-bottom:0}.opportunities-registry-table .opportunity-stage-status-cell.is-single-line{min-height:20px;gap:0}.projects-table .table-actions-column,.project-payments-table .table-actions-column{padding-right:4px;padding-left:3px}.projects-table .table-actions-column .icon-button,.project-payments-table .table-actions-column .icon-button{width:24px;height:24px;margin-left:1px;border-radius:5px}.opportunities-registry-table .table-actions-column .icon-button{width:22px;height:22px;margin-left:1px;border-radius:5px}.projects-table .table-actions-column .icon-button svg,.project-payments-table .table-actions-column .icon-button svg{width:13px;height:13px}.opportunities-registry-table .table-actions-column .icon-button svg{width:12px;height:12px}.projects-table tbody tr.entity-table-row>td.project-column-lifecycle_status .badge,.projects-table tbody tr.entity-table-row>td.project-column-contract_status .badge{min-height:18px;padding-right:5px;padding-left:5px;border-radius:5px;font-size:11px;line-height:1}.opportunities-registry-table .opportunity-row-action-set .icon-button{margin-left:0}.opportunities-registry-table .opportunity-row-action-set{gap:2px}.projects-table tbody tr.entity-table-row>td:not(:last-child),.opportunities-registry-table tbody tr.entity-table-row>td:not(:last-child){border-right:1px solid rgba(63,82,73,.08)}.resizable-data-table tbody tr.entity-table-row.selected{background:#e2f2e9}.resizable-data-table tbody tr.entity-table-row.selected>td,.resizable-data-table tbody tr.entity-table-row.selected:hover>td{background:#e2f2e9}.resizable-data-table tbody tr.entity-table-row.selected>.table-actions-column{background:#e2f2e9}.projects-table tbody tr.entity-table-row.selected .table-entity-primary{color:#123c2b;font-weight:700}.spin{animation:crm-spin .9s linear infinite}@keyframes crm-spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.table-query-controls{display:flex;align-items:stretch;flex-direction:column}.table-filter-group{flex-wrap:wrap}}@media(max-width:720px){.table-filter-group .select-wrap,.table-filter-group>input{width:100%}.table-pagination,.page-navigation{align-items:flex-start;flex-direction:column}}@media(max-width:1120px){.toolbar.toolbar-with-filters{grid-template-columns:minmax(0,1fr) auto}.toolbar-with-filters .toolbar-filters{grid-column:1 / -1;grid-row:2;width:100%;max-width:none;justify-self:stretch}.projects-panel>.toolbar.toolbar-with-filters .toolbar-filters{width:100%}}@media(max-width:760px){.toolbar.toolbar-with-filters{grid-template-columns:minmax(0,1fr)}.toolbar-with-filters .toolbar-filters{grid-column:1;grid-template-columns:minmax(0,1fr)}.projects-panel>.toolbar.toolbar-with-filters .toolbar-filters{grid-template-columns:minmax(0,1fr);flex-direction:column;align-items:stretch}.projects-panel>.toolbar .toolbar-filters select,.projects-panel>.toolbar .project-filters-reset{min-height:44px}.projects-panel>.toolbar .toolbar-filters>.table-local-search,.projects-panel>.toolbar .toolbar-filters>.select-wrap{width:100%;max-width:none;flex:none}.project-toolbar-saved-views{width:100%;margin-left:0}.project-toolbar-saved-views .saved-views-bar{width:100%;align-items:stretch}.project-toolbar-saved-views .saved-views-main{flex:1 1 auto}.project-toolbar-saved-views .saved-views-main select{width:auto;min-width:0;flex:1 1 auto}.project-payment-expansion-controls{width:100%;height:38px}.project-payment-expansion-controls>button{min-height:36px;flex:1 1 50%}.toolbar-with-filters .toolbar-actions{flex-wrap:wrap}.projects-panel>.toolbar .toolbar-actions{min-width:0}.project-registry-toolbar-actions{width:100%;justify-content:flex-start}.projects-panel>.toolbar .project-financial-create-popover{right:auto;left:0;width:min(292px,calc(100vw - 24px))}.portfolio-selected-plan-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-selected-plan-summary>div:nth-child(2){border-right:0}.portfolio-selected-plan-summary>div:nth-child(-n+2){border-bottom:1px solid #e4e8e5}.opportunity-view-switch{flex:1 1 100%}}@media(max-width:640px){.client-detail-drawer-hero{grid-template-columns:auto minmax(0,1fr);padding:10px}.client-detail-command{padding:0 7px;font-size:0}.client-detail-command svg{margin:0}.client-inspector-tabs{display:flex;overflow-x:auto;padding:0 6px}.client-inspector-tabs button{min-width:86px}.client-inspector-pane{padding-right:12px;padding-left:12px}.client-inspector-grid{grid-template-columns:minmax(0,1fr)}.client-inspector-field:nth-child(2n){padding-left:0;border-left:0}.client-inspector-footer>span:nth-child(2),.client-inspector-footer button:first-of-type{display:none}}@media(max-width:1100px){.activity-filters,.activity-editor-main{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-editor-subject,.activity-editor-result{grid-column:1 / -1}.opportunity-detail-body.opportunity-summary-grid-opportunity{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-1{grid-column:span 1}.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-2,.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-3,.opportunity-summary-grid-opportunity .opportunity-summary-section.opportunity-summary-field-count-4{grid-column:1 / -1}}@media(max-width:760px){.activity-timeline-head{align-items:flex-start;padding-right:12px;padding-left:12px}.activity-timeline-title>div{display:grid;gap:1px}.activity-filter-toggle{width:30px;padding:0;font-size:0}.activity-filters,.activity-timeline.is-compact .activity-filters,.activity-editor-main,.activity-timeline.is-compact .activity-editor-main,.activity-next-action-fields{grid-template-columns:minmax(0,1fr)}.activity-clear-filters{justify-self:start}.activity-editor,.activity-timeline.is-compact .activity-editor{padding-right:12px;padding-left:12px}.activity-editor-subject,.activity-editor-result,.activity-timeline.is-compact .activity-editor-subject,.activity-timeline.is-compact .activity-editor-result{grid-column:auto}.activity-item,.activity-timeline.is-compact .activity-item{grid-template-columns:26px minmax(0,1fr);padding-right:12px;padding-left:12px}.activity-list:before,.activity-timeline.is-compact .activity-list:before{left:25px}.activity-item-actions{grid-column:2;justify-content:flex-end}.activity-item-heading,.activity-next-action{align-items:flex-start}.activity-item-heading{display:grid;gap:3px}.activity-next-action{grid-template-columns:20px minmax(0,1fr)}.activity-next-action time,.activity-task-linked{grid-column:2;justify-self:start}.activity-timeline-empty{align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.activity-timeline-empty button{width:100%;margin-left:27px;text-align:left}.opportunity-detail-body.opportunity-summary-grid-opportunity{--opportunity-content-rail: 40px;grid-template-columns:minmax(0,1fr)}.opportunity-related-panel{--opportunity-content-rail: 40px}.opportunity-summary-grid-opportunity .opportunity-summary-section,.opportunity-summary-grid-opportunity .opportunity-summary-width-narrow,.opportunity-summary-grid-opportunity .opportunity-summary-width-normal,.opportunity-summary-grid-opportunity .opportunity-summary-width-wide{grid-column:1 / -1;padding:9px 16px 10px;border-top:1px solid var(--crm-surface-strong);border-left:0}.opportunity-summary-grid-opportunity .opportunity-summary-section:first-child{padding-left:16px;border-top:0}.opportunity-summary-grid-opportunity .opportunity-summary-fields,.opportunity-summary-grid-opportunity .opportunity-summary-width-wide .opportunity-summary-fields{grid-template-columns:minmax(0,1fr)}.opportunity-related-panel-head{padding-right:16px;padding-left:16px}.opportunity-participant-row,.opportunity-task-row,.opportunity-participant-editor,.opportunity-task-editor,.opportunity-related-state,.opportunity-related-empty{padding-left:var(--opportunity-content-rail)}}.telegram-profile-link{grid-column:1 / -1;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border:1px solid #dedfdf;border-left:3px solid #a1a1aa;border-radius:6px;background:var(--crm-surface-muted)}.telegram-profile-link.is-linked{border-left-color:var(--crm-brand);background:#f6faf8}.telegram-profile-link__icon{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--crm-border);border-radius:5px;background:#fff;color:#6d5bd0}.telegram-profile-link.is-linked .telegram-profile-link__icon{border-color:#b7d9c9;color:var(--crm-primary)}.telegram-profile-link__body{display:grid;gap:2px;min-width:0}.telegram-profile-link__body strong{color:#27272a;font-size:13px}.telegram-profile-link__body span,.telegram-profile-link__body a{color:var(--crm-text-muted);font-size:12px;line-height:1.35}.telegram-profile-link__body a{width:fit-content;color:var(--crm-primary);font-weight:700}.telegram-profile-link__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.profile-notifications{grid-column:1 / -1;overflow:hidden;border:1px solid #d9dddb;border-radius:6px;background:#fff}.profile-notifications__head{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #dfe3e1;background:#f7faf8}.profile-notifications__head-icon{display:grid;width:32px;height:32px;place-items:center;border:1px solid #bad8ca;border-radius:5px;background:#fff;color:#277a5b}.profile-notifications__head h3,.profile-notifications__head p,.profile-notifications__footnote{margin:0}.profile-notifications__head h3{color:#27272a;font-size:14px;font-weight:750}.profile-notifications__head p{margin-top:2px;color:var(--crm-text-muted);font-size:12px;line-height:1.35}.profile-notifications__system-badge,.profile-channel-row__always{display:inline-flex;align-items:center;gap:5px;color:#277a5b;font-size:11px;font-weight:750;white-space:nowrap}.profile-channel-row{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(220px,1.15fr) 68px;align-items:center;gap:12px;min-height:66px;padding:10px 14px;border-bottom:1px solid #e6e8e7}.profile-channel-row.is-system{grid-template-columns:minmax(0,1fr) auto;min-height:56px;background:#fcfcfc}.profile-channel-row.has-actions{align-items:start}.profile-channel-row__identity{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;min-width:0}.profile-channel-row__icon{display:grid;width:30px;height:30px;place-items:center;border:1px solid #d8dcda;border-radius:5px;background:#f7f8f8;color:var(--crm-text-secondary)}.profile-channel-row__icon.is-in-app{border-color:#b9d8ca;background:#f2f8f5;color:#277a5b}.profile-channel-row__icon.is-email{color:#2563eb}.profile-channel-row__icon.is-telegram{color:#6d5bd0}.profile-channel-row.is-linked .profile-channel-row__icon.is-telegram{border-color:#b9d8ca;background:#f2f8f5;color:#277a5b}.profile-channel-row__identity>div>strong,.profile-channel-row__identity>div>span{display:block}.profile-channel-row__identity strong{color:#27272a;font-size:13px;font-weight:750}.profile-channel-row__identity div>span{margin-top:2px;color:var(--crm-text-muted);font-size:11px;line-height:1.35}.profile-channel-row.is-muted .profile-channel-row__identity{opacity:.58}.profile-channel-row.is-invalid{background:snow}.profile-channel-row__control{display:grid;gap:6px;min-width:0}.profile-channel-row__control input{width:100%;height:36px;min-width:0;padding:0 10px;border:1px solid var(--crm-border);border-radius:6px;background:#fff;color:#27272a;font:inherit;font-size:14px;outline:none}.profile-channel-row__control input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #0596691f}.profile-channel-row__control input:disabled{border-color:var(--crm-surface-strong);background:var(--crm-background);color:#a1a1aa}.profile-channel-row__actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.profile-channel-row__actions .button,.profile-channel-row__actions .link-button{display:inline-flex;align-items:center;gap:5px;width:fit-content;text-decoration:none}.profile-channel-row__actions .danger-text{color:#b42318}.telegram-check-button{min-height:30px}.profile-channel-feedback{display:inline-flex;align-items:flex-start;gap:5px;max-width:100%;color:var(--crm-text-secondary);font-size:11px;font-weight:650;line-height:1.4}.profile-channel-feedback svg{flex:0 0 auto;margin-top:1px}.profile-channel-feedback.is-success{color:#277a5b}.profile-channel-feedback.is-warning{color:#9a5b13}.profile-channel-feedback.is-error{color:#b42318}.profile-channel-feedback.is-info{color:#315f8f}.profile-channel-validation{display:inline-flex;align-items:flex-start;gap:5px;color:#b42318;font-size:11px;font-weight:650;line-height:1.35}.profile-channel-validation svg{flex:0 0 auto;margin-top:1px}.profile-channel-switch{position:relative;display:grid;grid-template-columns:34px 28px;align-items:center;justify-self:end;gap:6px;min-height:28px;cursor:pointer}.profile-channel-switch input{position:absolute;width:1px;height:1px;opacity:0}.profile-channel-switch>span{position:relative;width:34px;height:20px;border:1px solid #c9ccca;border-radius:999px;background:var(--crm-surface-strong);transition:background-color .12s ease,border-color .12s ease}.profile-channel-switch>span:after{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #18181b3d;content:"";transition:transform .12s ease}.profile-channel-switch input:checked+span{border-color:#277a5b;background:#34926f}.profile-channel-switch input:checked+span:after{transform:translate(14px)}.profile-channel-switch input:focus-visible+span{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}.profile-channel-switch b{color:var(--crm-text-muted);font-size:10px;font-weight:700}.profile-notifications__footnote{padding:8px 14px;color:var(--crm-text-muted);font-size:11px;line-height:1.35;background:var(--crm-surface-muted)}@media(max-width:720px){.profile-notifications__head{grid-template-columns:32px minmax(0,1fr)}.profile-notifications__system-badge{grid-column:2;justify-self:start}.profile-channel-row,.profile-channel-row.is-system{grid-template-columns:minmax(0,1fr) auto}.profile-channel-row__control{grid-column:1 / -1;grid-row:2}.profile-channel-switch{grid-column:2;grid-row:1}.telegram-profile-link{grid-template-columns:32px minmax(0,1fr)}.telegram-profile-link__actions{grid-column:1 / -1;justify-content:flex-start}}.opportunity-materials-panel{border-top:2px solid #c7cfcb;border-bottom:2px solid #c7cfcb;background:#fff}.opportunity-materials-head{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:16px;padding:8px 14px;border-bottom:1px solid #e3e7e5}.opportunity-materials-title,.opportunity-materials-title>div,.opportunity-materials-upload-file,.proposal-version-file,.opportunity-proposal-pending>div{min-width:0}.opportunity-materials-title{display:flex;align-items:center;gap:10px}.opportunity-materials-title>svg{flex:0 0 auto;color:#358865}.opportunity-materials-title h3,.opportunity-materials-title p{margin:0}.opportunity-materials-title h3{color:#343836;font-size:14px;font-weight:720}.opportunity-materials-title p{margin-top:2px;color:#828784;font-size:11px}.opportunity-materials-actions,.proposal-version-actions{display:flex;flex:0 0 auto;align-items:center;gap:6px}.opportunity-materials-actions .button{min-height:34px;padding:5px 10px;font-size:12px}.opportunity-materials-upload{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,280px) auto auto;align-items:end;gap:10px;padding:9px 14px;border-bottom:1px solid #e3e7e5;background:#f7faf8}.opportunity-materials-upload-file,.opportunity-proposal-pending>div{display:grid;gap:2px}.opportunity-materials-upload-file strong,.opportunity-proposal-pending strong{overflow:hidden;color:#2f3431;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.opportunity-materials-upload-file span,.opportunity-proposal-pending>div>span{color:#858a87;font-size:10px}.opportunity-materials-upload>label,.opportunity-proposal-pending>label{display:grid;gap:4px;color:#6c716e;font-size:10px;font-weight:650}.opportunity-materials-upload input,.opportunity-proposal-pending input{width:100%;min-height:34px;padding:5px 8px;border:1px solid #d6dad8;border-radius:5px;background:#fff;color:#303431;font:inherit;font-size:12px}.proposal-version-list{display:grid}.proposal-version-row{display:grid;grid-template-columns:42px minmax(180px,1fr) auto 72px;min-height:52px;align-items:center;gap:10px;padding:7px 14px;border-bottom:1px solid #ecefed}.proposal-version-row:last-child{border-bottom:0}.proposal-version-number{display:inline-grid;width:34px;height:28px;place-items:center;border-left:3px solid #4a9b75;background:#f1f7f4;color:#226c4d;font-size:11px;font-weight:800}.proposal-version-file{display:grid;gap:2px}.proposal-version-file strong{overflow:hidden;color:#2f3331;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.proposal-version-file span{color:#838885;font-size:10px}.proposal-version-list.is-compact{border:1px solid #e1e5e3;border-radius:5px;overflow:hidden}.proposal-version-list.is-compact .proposal-version-row{min-height:46px;padding:6px 9px}.proposal-version-empty,.proposal-version-loading,.proposal-version-error{display:flex;min-height:44px;align-items:center;gap:7px;padding:8px 14px;color:#858a87;font-size:11px}.proposal-version-error{color:#a33a32;background:#fff7f6}.opportunity-proposal-field{display:grid;gap:8px;padding:9px;border:1px solid #ccd8d2;border-radius:5px;background:#f2f7f4}.opportunity-proposal-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.opportunity-proposal-picker>input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.opportunity-proposal-picker>span{color:#7f8581;font-size:10px;font-weight:500}.opportunity-proposal-picker>.button{min-height:34px;padding:0 12px;font-size:12px}.opportunity-proposal-pending{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,280px) 34px;align-items:end;gap:9px;padding-top:8px;border-top:1px solid #e3e7e5}.opportunity-proposal-existing{display:grid;gap:6px;padding-top:8px;border-top:1px solid #e3e7e5}.opportunity-proposal-existing-title{display:flex;min-height:20px;align-items:center;justify-content:space-between;color:#606662;font-size:10px;font-weight:700}.opportunity-source-data-link{display:inline-flex;min-width:0;max-width:100%;align-items:center;flex-wrap:wrap;gap:5px;color:#267858;font-size:12px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;text-decoration:none;white-space:normal}.opportunity-source-data-link>svg{flex:0 0 auto}.opportunity-source-data-link:hover{text-decoration:underline}.opportunity-summary-proposals{display:grid;min-width:0;border-top:1px solid #e7ebe9}.opportunity-summary-proposal{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 6px;padding:5px 0;border-bottom:1px solid #e7ebe9;color:#3f4541;font-size:12px;font-weight:550;line-height:1.3;text-decoration:none}.opportunity-summary-proposal.is-amount-required{padding-left:7px;border-left:3px solid #e57d22;background:linear-gradient(90deg,#fff5e7 0,#fff5e700 88%)}.opportunity-summary-proposal-meta{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:2px 6px}.opportunity-summary-proposal:hover,.opportunity-summary-proposal:focus-visible{color:#176f50}.opportunity-summary-proposal:focus-visible{outline:2px solid #78b89f;outline-offset:2px}.opportunity-summary-proposal-version{color:#267858;font-size:11px;font-weight:800;letter-spacing:.02em}.opportunity-summary-proposal time,.opportunity-summary-proposal-current{white-space:nowrap}.opportunity-summary-proposal-requirement{display:inline-flex;align-items:center;gap:3px;color:#ad4d0e;font-size:10px;font-weight:800;white-space:nowrap}.opportunity-summary-required-amount{display:grid;width:min(100%,260px);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:6px 8px;border:1px solid #eda65f;border-radius:7px;background:#fff7eb;color:#8f4210;text-align:left}button.opportunity-summary-required-amount{cursor:pointer}button.opportunity-summary-required-amount:hover,button.opportunity-summary-required-amount:focus-visible{border-color:#cc681c;background:#fff0dc;box-shadow:0 0 0 3px #cc681c1f;outline:none}.opportunity-summary-required-amount>svg{flex:0 0 auto}.opportunity-summary-required-amount>span{display:grid;min-width:0;gap:1px}.opportunity-summary-required-amount strong{color:#b44119;font-size:14px}.opportunity-summary-required-amount small{color:#875630;font-size:10px;font-weight:650;line-height:1.25}.opportunity-summary-proposal time{color:#484e4a;font-size:12px;font-weight:650}.opportunity-summary-proposal-current{color:#267858;font-size:11px;font-weight:700}.opportunity-summary-proposal-name{grid-column:1 / 3;min-width:0;color:#7b817d;font-size:12px;font-weight:450;overflow-wrap:anywhere;white-space:normal}.opportunity-summary-proposal>svg{grid-row:1;grid-column:2;color:#8c928e}.opportunity-summary-proposal-state{display:inline-flex;min-height:20px;align-items:center;gap:5px;color:#747a76;font-size:11px;font-weight:550}.opportunity-summary-proposal-state.is-error{color:#b33b31}@media(max-width:900px){.opportunity-materials-head{align-items:flex-start;flex-direction:column}.opportunity-materials-actions{width:100%;flex-wrap:wrap}.opportunity-materials-upload,.opportunity-proposal-pending{grid-template-columns:minmax(0,1fr);align-items:stretch}.proposal-version-row{grid-template-columns:38px minmax(0,1fr) auto}.proposal-version-row>.badge{display:none}}.project-control-panel .project-control-panel__milestone-progress{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(240px,1.4fr) auto;align-items:center;gap:12px;padding:8px 14px;border-bottom:1px solid #dfe5e2;background:#f7faf8}.project-control-panel .project-control-panel__milestone-progress-copy{display:grid;gap:1px}.project-control-panel .project-control-panel__milestone-progress-copy strong{color:#303632;font-size:12px;font-weight:750}.project-control-panel .project-control-panel__milestone-progress-copy span,.project-control-panel .project-control-panel__milestone-progress-stats span{color:#686e6a;font-size:10px;line-height:1.3}.project-control-panel .project-control-panel__milestone-progress-track{height:6px;overflow:hidden;background:#e3e9e6}.project-control-panel .project-control-panel__milestone-progress-track>span{display:block;height:100%;background:#41966f;transition:width .18s ease}.project-control-panel .project-control-panel__milestone-progress-stats{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 12px}.project-control-panel .project-control-panel__milestone-progress-stats span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.project-control-panel .project-control-panel__milestone-progress-stats .is-overdue{color:#b42318;font-weight:700}.project-control-panel .project-control-panel__milestone-row{grid-template-columns:32px minmax(210px,1.25fr) minmax(145px,.8fr) minmax(145px,.8fr) minmax(190px,1fr) minmax(135px,.72fr) 70px;min-width:1120px;min-height:58px;gap:10px;padding:6px 14px}.project-control-panel .project-control-panel__milestone-row.is-overdue{background:#fff8f6;box-shadow:inset 3px 0 #d92d20}.project-control-panel .project-control-panel__milestone-row.is-overdue:hover{background:#fff5f2}.project-control-panel .project-control-panel__milestone-category{color:#686e6a;font-size:10px;line-height:1.25}.project-control-panel .project-control-panel__milestone-comment{overflow:hidden;color:#686e6a;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.project-control-panel .project-control-panel__milestone-relation,.project-control-panel .project-control-panel__milestone-owner{display:grid;min-width:0;align-content:center;gap:2px}.project-control-panel .project-control-panel__milestone-relation>span,.project-control-panel .project-control-panel__milestone-owner>span{display:flex;align-items:center;gap:4px;overflow:hidden;color:#686e6a;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.project-control-panel .project-control-panel__milestone-relation>strong,.project-control-panel .project-control-panel__milestone-owner>strong{overflow:hidden;color:#303632;font-size:12px;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.project-control-panel .project-control-panel__milestone-relation>small,.project-control-panel .project-control-panel__milestone-owner>small{overflow:hidden;color:#686e6a;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.project-control-panel .project-control-panel__milestone-task{display:flex;align-items:center;gap:4px}.project-control-panel .project-control-panel__milestone-row .project-control-panel__chips{align-items:flex-start;flex-wrap:wrap;overflow:visible}.project-control-panel .project-control-panel__badge.is-overdue{border-color:#f2bbb5;background:#fff1ef;color:#b42318}.project-control-panel .project-control-panel__row-actions:empty{visibility:hidden}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid{gap:8px 10px}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-name{grid-column:span 6}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-category,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-status,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-sort{grid-column:span 2}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-planned,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-actual,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-responsible,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-relation{grid-column:span 3}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-comment,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-related,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.project-control-panel__task-automation,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-reminder{grid-column:span 6}.project-control-panel .project-control-panel__relation-note,.project-control-panel .project-control-panel__task-automation{display:grid;min-width:0;min-height:58px;align-content:center;gap:2px;padding:7px 9px;border:1px solid #dde3df;border-radius:5px;background:#f8faf9}.project-control-panel .project-control-panel__relation-note>span{color:#686e6a;font-size:10px;line-height:1.25}.project-control-panel .project-control-panel__relation-note>strong{overflow:hidden;color:#303632;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.project-control-panel .project-control-panel__toggle-line{display:flex;align-items:center;gap:8px;cursor:pointer}.project-control-panel .project-control-panel__toggle-line>input{width:16px;height:16px;flex:0 0 auto;margin:0;accent-color:#41966f}.project-control-panel .project-control-panel__toggle-line>span{display:grid;min-width:0;gap:1px}.project-control-panel .project-control-panel__toggle-line strong{color:#303632;font-size:12px;font-weight:700}.project-control-panel .project-control-panel__toggle-line small{overflow:hidden;color:#686e6a;font-size:10px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1100px){.project-control-panel .project-control-panel__milestone-progress{grid-template-columns:minmax(150px,1fr) auto}.project-control-panel .project-control-panel__milestone-progress-track{grid-column:1 / -1;grid-row:2}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-name,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-comment,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-related,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.project-control-panel__task-automation,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-reminder{grid-column:span 12}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-category,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-status,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-sort{grid-column:span 4}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-planned,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-actual,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-responsible,.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>.is-relation{grid-column:span 6}}@media(max-width:720px){.project-control-panel .project-control-panel__milestone-progress{grid-template-columns:minmax(0,1fr)}.project-control-panel .project-control-panel__milestone-progress-track{grid-column:auto;grid-row:auto}.project-control-panel .project-control-panel__milestone-progress-stats{align-items:flex-start;justify-content:flex-start;flex-direction:column}.project-control-panel .project-control-panel__milestone-row{grid-template-columns:32px minmax(0,1fr) auto;min-width:0;gap:7px 10px;padding:9px 10px}.project-control-panel .project-control-panel__milestone-row>.project-control-panel__primary{grid-column:2}.project-control-panel .project-control-panel__milestone-row>.project-control-panel__milestone-relation,.project-control-panel .project-control-panel__milestone-row>.project-control-panel__fact,.project-control-panel .project-control-panel__milestone-row>.project-control-panel__milestone-owner,.project-control-panel .project-control-panel__milestone-row>.project-control-panel__chips{grid-column:2 / -1;padding-top:6px;border-top:1px solid #edf0ee}.project-control-panel .project-control-panel__milestone-row>.project-control-panel__row-actions{grid-column:3;grid-row:1}.project-control-panel .project-control-panel__milestone-editor .project-control-panel__editor-grid>*{grid-column:1 / -1}}@media(prefers-reduced-motion:reduce){.project-control-panel .project-control-panel__milestone-progress-track>span{transition:none}}.record-access-badge{display:inline-flex;min-width:0;min-height:18px;flex:0 0 auto;align-items:center;gap:3px;padding:0 5px;overflow:hidden;border:1px solid #d6ded9;border-radius:5px;background:#f4f7f5;color:#526159;font-size:10px;font-weight:720;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.record-access-badge.is-private{border-color:#ddd8cf;background:#f8f6f1;color:#695f4e}.record-access-badge.is-team{border-color:#c8d9cf;background:#eef6f1;color:#2f7355}.record-access-badge.is-created-by-me{border-color:#bfd7c9;background:#e9f5ee;color:#256548}.opportunity-title-table-cell,.project-title-table-cell{display:flex;min-width:0;align-items:center;gap:6px}.opportunity-title-table-cell .table-entity-text,.project-title-table-cell .table-entity-text{min-width:0;flex:1 1 auto}.opportunity-primary-filters .record-access-filter{width:clamp(126px,15vw,164px);flex-basis:164px}.record-access-settings{grid-column:1 / -1;display:grid;gap:13px;overflow:hidden;padding:14px;border:1px solid #dce3df;border-radius:8px;background:#fbfcfb}.record-access-settings-head{display:flex;min-width:0;align-items:center;gap:10px}.record-access-settings-icon{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:7px;background:#eaf4ee;color:#2f7355}.record-access-settings-head>div{display:grid;min-width:0;gap:2px}.record-access-settings-head strong,.record-access-members-head strong{color:#28352e;font-size:13px;font-weight:760;line-height:1.25}.record-access-settings-head>div>span,.record-access-members-head span{color:#7b8580;font-size:11px;line-height:1.25}.record-access-readonly-label{margin-left:auto;padding:3px 7px;border-radius:999px;background:#f0f2f1;color:#6d7671;font-size:10px;font-weight:680;white-space:nowrap}.record-access-settings-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px}.record-access-control{display:grid;min-width:0;align-content:start;gap:5px}.record-access-control>span:first-child{color:#5c6761;font-size:11px;font-weight:700}.record-access-control>small{color:#8a938e;font-size:10px;line-height:1.35}.record-access-control .select-wrap,.record-access-add-member{width:100%}.record-access-control select,.record-access-add-member select,.record-access-member select{min-height:34px;padding-top:0;padding-bottom:0;border-color:#d9dfdc;border-radius:7px;background:#fff;font-size:12px}.record-access-static-value{display:flex;min-width:0;min-height:34px;align-items:center;gap:7px;padding:0 10px;border:1px solid #e0e4e2;border-radius:7px;background:#f6f8f7;color:#46534c;font-size:12px}.record-access-static-value span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-access-members{display:grid;gap:8px;padding-top:11px;border-top:1px solid #e4e8e6}.record-access-members-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.record-access-members-head>div{display:grid;gap:1px}.record-access-add-member{max-width:220px}.record-access-member-list{display:grid;gap:5px}.record-access-member{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(128px,.48fr) 32px;min-height:40px;align-items:center;gap:8px;padding:3px 5px 3px 7px;border:1px solid #e1e6e3;border-radius:7px;background:#fff}.record-access-settings.is-readonly .record-access-member{grid-template-columns:28px minmax(0,1fr) auto;padding-right:10px}.record-access-avatar{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#e8f2ec;color:#2f7355;font-size:11px;font-weight:760}.record-access-member-name{display:grid;min-width:0;gap:1px}.record-access-member-name strong,.record-access-member-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-access-member-name strong{color:#303c35;font-size:12px;font-weight:680}.record-access-member-name small,.record-access-level-label{color:#7c8680;font-size:10px}.record-access-member .icon-button{width:30px;height:30px}.record-access-members-empty{display:flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px dashed #d5ddd8;border-radius:7px;color:#818b85;font-size:11px}.opportunity-drawer .record-access-settings{gap:10px;padding:11px 13px;border-radius:6px}@media(max-width:760px){.record-access-settings-grid{grid-template-columns:minmax(0,1fr)}.record-access-member{grid-template-columns:28px minmax(0,1fr) 32px}.record-access-member .select-wrap{grid-column:2 / 3}.record-access-member .icon-button{grid-column:3;grid-row:1 / span 2}.record-access-members-head{align-items:stretch;flex-direction:column}.record-access-add-member{max-width:none}}.field-text-format,.field-text-format :where(.table-entity-primary,.table-entity-secondary,.badge,strong,b,small,time,.configured-detail-empty,.project-payment-record-type,.portfolio-payment-status,.financial-stage-money){font-weight:400;font-style:normal;text-decoration:none}.field-text-format.is-bold,.field-text-format.is-bold :where(.table-entity-primary,.table-entity-secondary,.badge,strong,b,small,time,.configured-detail-empty,.project-payment-record-type,.portfolio-payment-status,.financial-stage-money){font-weight:700}.field-text-format.is-italic,.field-text-format.is-italic :where(.table-entity-primary,.table-entity-secondary,.badge,strong,b,small,time,.configured-detail-empty,.project-payment-record-type,.portfolio-payment-status,.financial-stage-money){font-style:italic}.field-text-format.is-underlined,.field-text-format.is-underlined :where(.table-entity-primary,.table-entity-secondary,.badge,strong,b,small,time,.configured-detail-empty,.project-payment-record-type,.portfolio-payment-status,.financial-stage-money){text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:2px}.resizable-data-table tbody td .related-entity-link:not(.is-static){text-decoration:none}.registry-record-link{display:inline-block;position:relative;max-width:100%;color:inherit;font:inherit;text-decoration:none;vertical-align:baseline}.registry-record-link:after{position:absolute;right:0;bottom:0;left:0;height:var(--entity-link-underline-height);background-color:var(--entity-link-underline-color);content:"";opacity:var(--entity-link-underline-opacity);pointer-events:none}.registry-record-link.is-plain:after{content:none}.registry-record-link:hover{color:#057857}.registry-record-link:hover:after{background-color:currentColor;opacity:1}.registry-record-link:focus-visible{border-radius:3px;outline:2px solid rgba(5,120,87,.34);outline-offset:2px}.resizable-data-table tbody td.field-text-format.is-underlined:has(:is(.registry-record-link,.related-entity-link:not(.is-static))){text-decoration-line:none}.resizable-data-table tbody td.field-text-format.is-underlined :where(.table-entity-primary,.table-entity-secondary,.badge,strong,b,small,time,.configured-detail-empty):has(:is(.registry-record-link,.related-entity-link:not(.is-static))){text-decoration-line:none}td.field-table-align-left{text-align:left}td.field-table-align-center{text-align:center}td.field-table-align-right{text-align:right}.project-payments-table td[data-column-key].field-table-align-left{text-align:left!important}.project-payments-table td[data-column-key].field-table-align-center{text-align:center!important}.project-payments-table td[data-column-key].field-table-align-right{text-align:right!important}.projects-table td[data-column-key].field-table-align-left{text-align:left!important}.projects-table td[data-column-key].field-table-align-center{text-align:center!important}.projects-table td[data-column-key].field-table-align-right{text-align:right!important}.project-payments-table td.field-table-align-left>:is(.project-payment-record-type-content,.project-payment-fact-indicator,.portfolio-payment-status){margin-right:auto;margin-left:0}.project-payments-table td.field-table-align-center>:is(.project-payment-record-type-content,.project-payment-fact-indicator,.portfolio-payment-status){margin-right:auto;margin-left:auto}.project-payments-table td.field-table-align-right>:is(.project-payment-record-type-content,.project-payment-fact-indicator,.portfolio-payment-status){margin-right:0;margin-left:auto}.projects-table td.field-table-align-left>.project-payment-fact-indicator{margin-right:auto;margin-left:0}.projects-table td.field-table-align-center>.project-payment-fact-indicator{margin-right:auto;margin-left:auto}.projects-table td.field-table-align-right>.project-payment-fact-indicator{margin-right:0;margin-left:auto}td.field-table-align-left :is(.table-entity-text,.opportunity-stage-status-cell,.opportunity-forecast-cell,.opportunity-next-task-cell){justify-items:start;text-align:left}td.field-table-align-center :is(.table-entity-text,.opportunity-stage-status-cell,.opportunity-forecast-cell,.opportunity-next-task-cell){justify-items:center;text-align:center}td.field-table-align-right :is(.table-entity-text,.opportunity-stage-status-cell,.opportunity-forecast-cell,.opportunity-next-task-cell){justify-items:end;text-align:right}td.field-table-align-left .opportunity-money-value,td.field-table-align-center .opportunity-money-value,td.field-table-align-right .opportunity-money-value{text-align:inherit}.resizable-data-table tbody tr.entity-table-row td[data-column-key].field-table-align-left>.badge{margin-right:auto;margin-left:0}.resizable-data-table tbody tr.entity-table-row td[data-column-key].field-table-align-center>.badge{margin-right:auto;margin-left:auto}.resizable-data-table tbody tr.entity-table-row td[data-column-key].field-table-align-right>.badge{margin-right:0;margin-left:auto}.form-conflict-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e4b85f;border-radius:10px;background:#fff9e9;color:#674b13}.form-conflict-notice>div{display:grid;gap:2px}.form-conflict-notice strong,.form-conflict-notice span,.form-conflict-notice small{display:block}.form-conflict-notice span{font-size:13px}.form-conflict-notice small{color:#846a37;font-size:11px}@media(max-width:720px){.form-conflict-notice{grid-template-columns:auto minmax(0,1fr)}.form-conflict-notice .button{grid-column:1 / -1;justify-self:start}}
