.handoff-block{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;min-width:0;margin:0 0 20px;padding:16px}.handoff-heading,.handoff-inbox-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.handoff-title{align-items:center;gap:8px;min-width:0;display:flex}.handoff-title>svg{color:var(--primary);flex-shrink:0}.handoff-title h3,.handoff-title h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:600;line-height:1.5}.handoff-status{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:5px;align-items:center;gap:5px;padding:4px 7px;font-size:10px;line-height:1.5;display:inline-flex}.handoff-status-pending{color:var(--blue);background:color-mix(in srgb, var(--blue) 8%, var(--surface))}.handoff-status-accepted{color:var(--primary);background:var(--primary-soft)}.handoff-status-rejected{color:var(--danger);background:color-mix(in srgb, var(--danger) 7%, var(--surface))}.handoff-help{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0;font-size:11px;line-height:1.75}.handoff-help>svg{margin-right:6px}.handoff-help strong{color:var(--text);font-weight:500}.handoff-summary{flex-wrap:wrap;align-items:flex-start;gap:16px 30px;margin:16px 0 12px;display:flex}.handoff-summary>div{min-width:0}.handoff-summary dt{color:var(--muted);margin-bottom:4px;font-size:10px}.handoff-summary dd{overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.5}.handoff-summary time{font-variant-numeric:tabular-nums}.handoff-result{background:var(--surface-2);border-radius:6px;align-items:flex-start;gap:8px;margin:12px 0 0;padding:11px 12px;font-size:11px;line-height:1.7;display:flex}.handoff-result>svg{flex-shrink:0;margin-top:2px}.handoff-result-accepted{background:var(--primary-soft);color:var(--primary)}.handoff-result-rejected>svg{color:var(--danger)}.handoff-result-rejected>div{flex:1;min-width:0}.handoff-result-rejected strong{font-size:11px}.handoff-result-rejected p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 8px}.handoff-result-rejected small{color:var(--muted);font-size:10px;line-height:1.7;display:block}.handoff-readiness{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;margin-top:15px;font-size:10px;display:flex}.handoff-readiness>span{font-weight:500}.handoff-readiness ul{flex-wrap:wrap;gap:8px 13px;margin:0;padding:0;list-style:none;display:flex}.handoff-readiness li{white-space:nowrap;align-items:center;gap:4px;display:flex}.handoff-readiness .is-ready{color:var(--primary)}.handoff-readiness .is-missing{color:var(--muted)}.handoff-missing-dot{border:1px solid var(--muted);border-radius:50%;width:7px;height:7px;margin:0 3px;display:inline-block}.handoff-request{align-items:flex-end;gap:10px;margin-top:15px;display:flex}.handoff-request .field{flex-direction:column;flex:1;gap:6px;min-width:0;font-size:11px;display:flex}.handoff-request select{width:100%;min-height:37px;font-size:12px}.handoff-request>.btn{flex-shrink:0;min-height:37px}.handoff-decision{border-top:1px solid var(--border);margin-top:14px;padding-top:12px}.handoff-decision-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:13px;display:flex}.handoff-rejection .field{flex-direction:column;gap:7px;margin-top:13px;font-size:11px;display:flex}.handoff-rejection textarea{resize:vertical;width:100%;min-height:90px;font-size:12px;line-height:1.65}.handoff-error{background:color-mix(in srgb, var(--danger) 7%, var(--surface));color:var(--danger);border-radius:6px;align-items:flex-start;gap:7px;margin:12px 0 0;padding:10px 12px;font-size:11px;line-height:1.6;display:flex}.handoff-error svg{flex-shrink:0;margin-top:2px}.handoff-error span{overflow-wrap:anywhere;min-width:0}.handoff-inbox{min-width:0;margin-bottom:20px}.handoff-inbox-heading{margin-bottom:8px}.handoff-inbox .handoff-title h2{font-size:14px}.handoff-inbox-count{background:var(--primary-soft);min-width:24px;min-height:22px;color:var(--primary);font-variant-numeric:tabular-nums;border-radius:5px;justify-content:center;align-items:center;padding:2px 6px;font-size:11px;font-weight:600;display:inline-flex}.handoff-inbox-filter select{max-width:240px;min-height:34px;font-size:11px}.handoff-inbox-list{overscroll-behavior:contain;max-height:385px;margin-top:14px;overflow:auto}.handoff-inbox-row{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;color:var(--text);background:0 0;border-radius:0;align-items:center;gap:12px;padding:15px 2px;display:flex}.handoff-inbox-row:last-child{border-bottom:0}.handoff-inbox-row:hover{background:var(--surface-2)}.handoff-row-icon{width:30px;height:30px;color:var(--primary);background:var(--primary-soft);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.handoff-row-content{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.handoff-row-content>strong{overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.6}.handoff-row-content>span,.handoff-row-content>small{color:var(--muted);overflow-wrap:anywhere;font-size:10px;line-height:1.6}.handoff-row-time{text-align:right;flex-direction:column;flex-shrink:0;gap:5px;display:flex}.handoff-row-time time,.handoff-row-time small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px;line-height:1.6}.handoff-inbox-row>svg:last-child{color:var(--muted);flex-shrink:0}.handoff-inbox.is-empty{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 20px;padding:12px 16px;display:flex}.handoff-inbox.is-empty .handoff-inbox-heading{flex:1;margin:0}.handoff-inbox.is-empty .handoff-title h2{font-size:12px}.handoff-inbox-empty{color:var(--muted);margin:0;font-size:11px;line-height:1.5}@media (max-width:720px){.handoff-block{margin-bottom:18px;padding:14px}.handoff-title h3{font-size:13px}.handoff-heading{align-items:flex-start;gap:10px}.handoff-help,.handoff-result{font-size:12px}.handoff-request{flex-wrap:wrap}.handoff-request .field{flex-basis:100%;font-size:12px}.handoff-request .btn{width:100%;min-height:44px}.handoff-request select{min-height:44px}.handoff-readiness{gap:8px;font-size:11px}.handoff-readiness ul{gap:7px 10px}.handoff-summary{gap:15px 22px}.handoff-summary dt{font-size:11px}.handoff-decision-actions .btn{flex:1;min-height:44px;font-size:11px}.handoff-rejection .field{font-size:12px}.handoff-rejection textarea{font-size:13px}.handoff-inbox-heading{align-items:flex-start}.handoff-inbox-filter{width:100%}.handoff-inbox-filter select{width:100%;max-width:none;min-height:42px;font-size:12px}.handoff-inbox-list{max-height:450px}.handoff-inbox-row{flex-wrap:wrap;gap:8px 10px;padding:15px 1px}.handoff-row-content{min-width:calc(100% - 80px)}.handoff-row-content>strong{font-size:12px}.handoff-row-content>span,.handoff-row-content>small{font-size:11px}.handoff-row-time{text-align:left;flex-direction:row;flex:1;gap:10px;margin-left:40px}.handoff-row-time time,.handoff-row-time small{font-size:10px}.handoff-inbox-row>svg:last-child{margin-right:2px}.handoff-status,.handoff-result-rejected small{font-size:11px}}@media (max-width:390px){.handoff-decision-actions{flex-direction:column}.handoff-decision-actions .btn{width:100%}.handoff-status{white-space:normal}.handoff-summary{gap:13px}.handoff-summary>div{flex-basis:100%}.handoff-inbox .handoff-title h2{font-size:13px}.handoff-row-time{flex-wrap:wrap;gap:4px 10px}}.opportunity-panel{--opportunity-width:500px;z-index:var(--z-sticky);width:min(var(--opportunity-width), calc(100vw - 32px));border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:10px;outline:none;flex-direction:column;display:flex;position:fixed;top:72px;bottom:16px;left:auto;right:16px;overflow:hidden}.app-shell:has(>.opportunity-panel:not(.is-expanded)) .main-content{margin-right:516px}.opportunity-panel.is-expanded{left:calc(var(--sidebar-width) + 18px);background:var(--bg);border:0;width:auto;right:18px}.app-shell.rail>.opportunity-panel.is-expanded{left:82px}.opportunity-panel-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;min-height:60px;padding:10px 12px;display:flex}.opportunity-panel-header>.icon-button{flex-shrink:0}.opportunity-panel-heading{flex:1;min-width:0}.opportunity-panel-heading h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:14px;line-height:1.4;overflow:hidden}.opportunity-panel-heading>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.opportunity-panel-layout,.opportunity-panel-work{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.opportunity-panel.is-expanded .opportunity-panel-layout{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;padding-top:16px;display:grid}.opportunity-expanded-summary{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:auto}.opportunity-tabs{-webkit-overflow-scrolling:touch;border-bottom:1px solid var(--border-strong);flex-shrink:0;gap:8px;min-height:48px;padding:0 14px;display:flex;overflow-x:auto}.opportunity-tabs>button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;flex:1 0 auto;justify-content:center;align-items:center;gap:6px;padding:12px 4px;font-size:12px;font-weight:500;display:inline-flex}.opportunity-tabs>button[aria-selected=true]{color:var(--text);border-bottom-color:var(--blue)}.opportunity-tabs>button:hover{color:var(--blue)}.opportunity-tabs>button>svg{flex-shrink:0}.opportunity-panel-content{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:var(--bg);flex:1;min-height:0;padding:16px;overflow:auto}.opportunity-panel-content.tab-summary{background:var(--surface);padding:0}.opportunity-panel-content:focus-visible{outline-offset:-3px}.opportunity-feedback-slot{height:100%}.opportunity-feedback-slot .opportunity-feedback__timeline{max-height:none}.opportunity-panel.is-expanded .opportunity-panel-content{padding:16px 0 0}.opportunity-panel.is-expanded .opportunity-panel-content.tab-summary{padding:0}.opportunity-page-stages{flex-shrink:0;align-items:center;gap:12px;min-height:48px;padding-bottom:8px;display:flex}.opportunity-page-stages>strong{white-space:nowrap;font-size:13px}.opportunity-page-stages .crm-stage-progress{flex:1;margin:0}.opportunity-page-stages>button{flex-shrink:0}.opportunity-actions-menu{flex-direction:column;gap:4px;display:flex}.opportunity-actions-menu button{text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:12px;padding:10px 8px;font-size:13px;display:flex}.opportunity-actions-menu button:hover{background:var(--surface-2)}.opportunity-actions-menu hr{border:0;border-top:1px solid var(--border);width:100%}.opportunity-value{border:1px solid var(--border-strong);border-radius:8px;gap:3px;margin:16px 18px;padding:14px 16px;display:grid}.opportunity-value>strong{font-variant-numeric:tabular-nums;font-size:20px;line-height:1.5}.opportunity-value>span:last-child{color:var(--muted);font-size:12px}.opportunity-status{color:var(--blue);background:0 0;width:-moz-fit-content;width:fit-content;font-size:12px}.opportunity-status.status-won{color:var(--primary)}.opportunity-status.status-lost,.opportunity-status.status-discarded{color:var(--danger)}.opportunity-summary-shortcuts{flex-wrap:wrap;gap:8px;padding:0 18px 14px;display:flex}.opportunity-summary-shortcuts button{border:1px solid var(--border);background:0 0;border-radius:5px;align-items:center;gap:6px;padding:7px 8px;font-size:12px;display:inline-flex}.opportunity-summary-shortcuts button:hover{background:var(--surface-2)}.opportunity-summary-shortcuts b{color:var(--muted);font-weight:500}.opportunity-summary-sections{border-bottom:1px solid var(--border);gap:16px;padding:0 18px;display:flex}.opportunity-summary-sections button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 2px;font-size:13px}.opportunity-summary-sections button[aria-pressed=true]{border-color:var(--blue);color:var(--text)}.opportunity-summary-search{border-bottom:1px solid var(--border-strong);color:var(--muted);align-items:center;gap:10px;margin:18px;display:flex}.opportunity-summary-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;border-radius:0;padding:8px 0;font-size:13px}.opportunity-summary-search input::placeholder{color:var(--muted)}.opportunity-summary-fields{padding:0 18px 20px}.opportunity-summary-fields>details>summary{color:var(--muted);cursor:pointer;padding:10px 0;font-size:12px;font-weight:600}.opportunity-summary-fields dl{margin:0}.opportunity-summary-field{gap:12px;padding:10px 0;font-size:13px;display:flex}.opportunity-summary-field>svg,.opportunity-field-marker{width:16px;color:var(--muted);flex:0 0 16px;margin-top:2px}.opportunity-summary-field>div{flex:1;min-width:0}.opportunity-field-edit{width:30px;height:30px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;flex:0 0 30px;place-items:center;margin:-2px 0 0;padding:0;display:inline-grid}.opportunity-field-edit:hover{border-color:var(--border);background:var(--surface-2);color:var(--blue)}.opportunity-summary-field dt{color:var(--muted);margin:0 0 3px;font-size:12px}.opportunity-summary-field dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-weight:500}.opportunity-long-field summary{cursor:pointer;list-style:none}.opportunity-long-field summary span{color:var(--blue);font-size:12px;display:block}.opportunity-long-field[open] summary{color:var(--blue);margin-bottom:8px}.opportunity-long-field p{margin:0}.opportunity-summary>.handoff{margin:0 18px 18px}.opportunity-empty{color:var(--muted);padding:16px 0;font-size:13px}.opportunity-task-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.opportunity-task-toolbar h3{margin:0;font-size:14px}.opportunity-panel .activity-row{flex-wrap:wrap}.opportunity-panel .activity-row>div{flex:1;min-width:160px}.deal-card.prisma-opportunity-card.is-selected{border-color:var(--blue)}@media (max-width:1180px){.app-shell:has(>.opportunity-panel:not(.is-expanded)) .main-content{margin-right:0}.opportunity-panel.is-expanded .opportunity-panel-layout{grid-template-columns:280px minmax(0,1fr);gap:14px}.opportunity-page-stages>strong{text-overflow:ellipsis;max-width:120px;overflow:hidden}}@media (max-width:720px){.opportunity-panel,.opportunity-panel.is-expanded,.app-shell.rail>.opportunity-panel.is-expanded{inset:calc(56px + var(--safe-top)) 0 0;border-width:1px 0 0;border-radius:0;width:auto}.opportunity-panel-header{padding:8px max(8px, var(--safe-right)) 8px max(8px, var(--safe-left));gap:4px}.opportunity-panel-header .icon-button{min-width:40px;min-height:44px}.opportunity-panel.is-expanded .opportunity-panel-layout{padding:0;display:flex}.opportunity-expanded-summary{display:none}.opportunity-tabs{padding:0 max(8px, var(--safe-right)) 0 max(8px, var(--safe-left));gap:8px}.opportunity-tabs>button{min-height:48px;font-size:12px}.opportunity-tabs>button>svg{display:none}.opportunity-panel-content{padding:12px max(12px, var(--safe-right)) calc(12px + var(--safe-bottom)) max(12px, var(--safe-left))}.opportunity-panel-content.tab-summary{padding:0 0 var(--safe-bottom)}.opportunity-panel.is-expanded .opportunity-panel-content{padding:12px max(12px, var(--safe-right)) calc(12px + var(--safe-bottom)) max(12px, var(--safe-left))}.opportunity-panel.is-expanded .opportunity-panel-content.tab-summary{padding:0 0 var(--safe-bottom)}.opportunity-page-stages{padding:8px}.opportunity-page-stages>strong{display:none}.opportunity-summary-search input{min-height:44px;font-size:16px}.opportunity-summary-shortcuts button,.opportunity-summary-sections button,.opportunity-actions-menu button{min-height:44px}}.opportunity-products{min-width:0;color:var(--text);container:opportunity-products/inline-size}.opportunity-products-head,.opportunity-products-actions,.opportunity-products-toolbar,.opportunity-product-draft-footer,.opportunity-products-save,.opportunity-products-total{align-items:center;gap:10px;min-width:0;display:flex}.opportunity-products-head{flex-wrap:wrap;justify-content:space-between;margin-bottom:14px}.opportunity-products-head h3{margin:0}.opportunity-products-actions{flex-wrap:wrap}.opportunity-products-context{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;margin:0 0 18px;padding:0 0 14px;display:grid}.opportunity-products-context dt,.opportunity-products-count,.opportunity-products-help,.opportunity-products-optional{color:var(--muted);font-size:12px}.opportunity-products-context dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:13px}.opportunity-products-money,.opportunity-products-line-total,.opportunity-products-save strong,.opportunity-products-total strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.opportunity-products-toolbar{flex-wrap:wrap;justify-content:space-between;margin-bottom:14px}.opportunity-products-toolbar .search-input{flex:220px;min-width:0}.opportunity-products-toolbar .search-input input{width:100%}.opportunity-products-table-wrap{min-width:0}.opportunity-products-table{border-collapse:collapse;width:100%;font-size:13px}.opportunity-products-table :-webkit-any(th,td){border-bottom:1px solid var(--border);text-align:right;vertical-align:top;font-variant-numeric:tabular-nums;padding:12px 10px}.opportunity-products-table :is(th,td){border-bottom:1px solid var(--border);text-align:right;vertical-align:top;font-variant-numeric:tabular-nums;padding:12px 10px}.opportunity-products-table thead th{color:var(--muted);padding-top:8px;padding-bottom:8px;font-size:12px;font-weight:500}.opportunity-products-table th:first-child{text-align:left;overflow-wrap:anywhere;padding-left:0}.opportunity-products-table td:last-child{padding-right:0}.opportunity-products-description{width:38%;font-weight:400}.opportunity-products-description :-webkit-any(strong,span){display:block}.opportunity-products-description :is(strong,span){display:block}.opportunity-products-description span{color:var(--muted);margin-top:3px;font-size:12px}.opportunity-products-empty{color:var(--muted);padding:24px 0;font-size:13px;line-height:1.6}.opportunity-products-empty h4{color:var(--text);margin:8px 0;font-size:14px;font-weight:600}.opportunity-products-empty p{max-width:65ch;margin:0}.opportunity-products-form{min-width:0}.opportunity-products-fields{border:0;min-width:0;margin:0;padding:0}.opportunity-product-draft{border:0;border-bottom:1px solid var(--border);min-width:0;margin:0 0 18px;padding:0 0 12px}.opportunity-product-draft legend{padding:0 0 10px;font-size:13px;font-weight:600}.opportunity-product-identity{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-bottom:12px;display:grid}.opportunity-product-numbers{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:12px;display:grid}.opportunity-product-draft .field{gap:5px;min-width:0;margin:0}.opportunity-product-draft .field input{width:100%;min-width:0}.opportunity-product-draft-footer{color:var(--muted);justify-content:space-between;margin-top:10px;font-size:12px}.opportunity-product-draft-footer strong{color:var(--text);font-variant-numeric:tabular-nums;margin-left:8px;font-size:13px}.opportunity-product-remove{color:var(--danger)}.opportunity-products-help{margin:12px 0;line-height:1.6}.opportunity-products-apply{background:var(--surface-2);cursor:pointer;border-radius:6px;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;font-size:13px;display:flex}.opportunity-products-apply input{width:18px;height:18px;min-height:18px;accent-color:var(--primary);flex-shrink:0;margin:2px 0 0}.opportunity-products-apply strong{font-variant-numeric:tabular-nums;margin-top:4px;display:block}.opportunity-products-save{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;margin-top:18px;padding:14px 0 4px}.opportunity-products-save>div{color:var(--muted);flex-direction:column;margin-right:auto;font-size:12px;display:flex}.opportunity-products-save strong{color:var(--text);font-size:14px}.opportunity-products-total{justify-content:space-between;margin-top:4px;padding-top:16px;font-size:13px}.opportunity-products-total small{margin-top:2px;display:block}.opportunity-products .form-error{margin-top:12px}@container opportunity-products (width<=640px){.opportunity-products-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.opportunity-products-table :-webkit-any(tbody,tr){display:block}.opportunity-products-table :is(tbody,tr){display:block}.opportunity-products-table tr{border-bottom:1px solid var(--border);padding:12px 0}.opportunity-products-table tbody :-webkit-any(th,td){border:0;justify-content:space-between;gap:12px;width:100%;padding:4px 0;display:flex}.opportunity-products-table tbody :is(th,td){border:0;justify-content:space-between;gap:12px;width:100%;padding:4px 0;display:flex}.opportunity-products-table td:before{content:attr(data-label);color:var(--muted);text-align:left;font-size:12px}.opportunity-products-table .opportunity-products-description{margin-bottom:6px;display:block}}@container opportunity-products (width<=400px){.opportunity-products-context,.opportunity-product-identity{grid-template-columns:minmax(0,1fr)}.opportunity-product-numbers{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.opportunity-product-numbers .field:nth-child(2){grid-area:1/2}.opportunity-products-save>div{flex-basis:100%;margin-bottom:4px}}@media (max-width:720px){.opportunity-products .btn{min-height:44px}.opportunity-products :-webkit-any(input:not([type=checkbox]),select){min-height:44px;font-size:16px}.opportunity-products :is(input:not([type=checkbox]),select){min-height:44px;font-size:16px}}.opportunity-feedback{width:100%;min-width:0;height:100%;min-height:360px;color:var(--text);font:13px/1.5 var(--font-ui);flex-direction:column;display:flex;container-type:inline-size}.opportunity-feedback__filters{flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:12px;display:flex}.opportunity-feedback__filters>select{border:1px solid var(--border-strong);background:var(--input);width:auto;min-width:170px;min-height:36px;color:var(--text);font:inherit;border-radius:6px;flex:0 190px;padding:6px 28px 6px 10px}.opportunity-feedback__search{border:1px solid var(--border-strong);background:var(--input);min-width:0;min-height:36px;color:var(--muted);border-radius:6px;flex:180px;align-items:center;gap:7px;padding:0 9px;display:flex}.opportunity-feedback__search input{width:100%;min-width:0;min-height:34px;color:var(--text);font:inherit;background:0 0;border:0;border-radius:0;margin:0;padding:5px 0}.opportunity-feedback__search svg{flex-shrink:0}.opportunity-feedback__search:focus-within{outline:3px solid var(--blue);outline-offset:2px}.opportunity-feedback__search input:focus-visible{outline:none}.opportunity-feedback__timeline{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-width:0;min-height:140px;max-height:60dvh;overflow:auto}.opportunity-feedback__posts{margin:0;padding:0;list-style:none}.opportunity-feedback__entry{border-bottom:1px solid var(--border);margin:0;padding:15px 8px 15px 0}.opportunity-feedback__entry:first-child{padding-top:7px}.opportunity-feedback__entry:last-child{border-bottom:0}.opportunity-feedback__entry>article{align-items:flex-start;gap:10px;min-width:0;display:flex}.opportunity-feedback__avatar{background:var(--surface-2);width:30px;height:30px;color:var(--muted);border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.opportunity-feedback__post{flex:1;min-width:0}.opportunity-feedback__post>header{flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;display:flex}.opportunity-feedback__post>header strong{overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:600}.opportunity-feedback__post>header time,.opportunity-feedback__post>header>span,.opportunity-feedback__kind{color:var(--muted);font-size:12px}.opportunity-feedback__post>header time{font-variant-numeric:tabular-nums}.opportunity-feedback__post>p{max-width:75ch;color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:7px 0 0;line-height:1.6}.opportunity-feedback__text-button{min-height:32px;color:var(--blue);font:inherit;text-align:left;background:0 0;border:0;border-radius:3px;margin:4px 0 0;padding:4px 0;font-weight:500}.opportunity-feedback__text-button:hover{text-decoration:underline}.opportunity-feedback__pagination,.opportunity-feedback__pagination>div,.opportunity-feedback__composer-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;display:flex}.opportunity-feedback__pagination{min-height:38px;color:var(--muted);font-variant-numeric:tabular-nums;padding:4px 0;font-size:12px}.opportunity-feedback__pagination>div{margin-left:auto}.opportunity-feedback__pagination button{width:32px;height:32px}.opportunity-feedback__composer{border-top:1px solid var(--border);background:var(--surface);flex-direction:column;flex-shrink:0;gap:8px;min-width:0;padding-top:12px;display:flex}.opportunity-feedback__composer>label{font-weight:600}.opportunity-feedback__composer textarea{border:1px solid var(--border-strong);background:var(--input);width:100%;min-width:0;min-height:86px;max-height:220px;color:var(--text);font:inherit;resize:vertical;border-radius:6px;padding:9px 10px;display:block}.opportunity-feedback__composer textarea:read-only{cursor:progress}.opportunity-feedback__composer textarea::placeholder,.opportunity-feedback__search input::placeholder{color:var(--muted);opacity:1}.opportunity-feedback__composer-actions>small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.opportunity-feedback__composer-actions>button{margin-left:auto}.opportunity-feedback__composer>p{overflow-wrap:anywhere;margin:0}.opportunity-feedback__error{color:var(--danger)}.opportunity-feedback__success{color:var(--primary)}.opportunity-feedback__empty{min-height:160px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px 14px;display:flex}.opportunity-feedback__empty strong{color:var(--text);font-weight:500}.opportunity-feedback__empty p{max-width:40ch;margin:0}.opportunity-feedback__readonly,.opportunity-feedback__unavailable{color:var(--muted);margin:0;padding:12px 0;font-size:13px}.opportunity-feedback__readonly{border-top:1px solid var(--border)}@container (width<=360px){.opportunity-feedback__filters>select,.opportunity-feedback__search{flex-basis:100%}.opportunity-feedback__post>header{flex-direction:column}}@media (max-width:720px){.opportunity-feedback__filters>select,.opportunity-feedback__search,.opportunity-feedback__search input,.opportunity-feedback__text-button,.opportunity-feedback__pagination button,.opportunity-feedback__composer-actions>button{min-height:44px}.opportunity-feedback__pagination button{min-width:44px}.opportunity-feedback__composer textarea,.opportunity-feedback__search input,.opportunity-feedback__filters>select{font-size:16px}}.opportunity-conversations{width:100%;min-width:0;color:var(--text);font:13px/1.5 var(--font-ui);container:opportunity-conversations/inline-size}.opportunity-conversations .oc-history-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}.opportunity-conversations .oc-history-directory,.opportunity-conversations .oc-history-thread{min-width:0}.opportunity-conversations h3{color:var(--text);margin:0;font-size:14px;line-height:1.5}.opportunity-conversations .oc-history-directory-heading,.opportunity-conversations .oc-history-thread-header,.opportunity-conversations .oc-history-thread-header h3,.opportunity-conversations .oc-history-conversation-heading{align-items:center;gap:8px;min-width:0;display:flex}.opportunity-conversations .oc-history-directory-heading{justify-content:space-between;margin-bottom:8px}.opportunity-conversations .oc-history-directory-heading>span,.opportunity-conversations .oc-history-message-count,.opportunity-conversations .oc-history-page{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.opportunity-conversations .oc-history-search{border:1px solid var(--border-strong);background:var(--input);min-width:0;min-height:40px;color:var(--muted);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.opportunity-conversations .oc-history-search:focus-within{outline:3px solid var(--blue);outline-offset:2px}.opportunity-conversations .oc-history-search input{width:100%;min-width:0;min-height:38px;color:var(--text);box-shadow:none;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 0}.opportunity-conversations input[type=search]::-webkit-search-cancel-button{display:none}.opportunity-conversations .oc-history-clear{min-height:38px;color:var(--text);background:0 0;border:0;border-radius:4px;flex:0 0 38px;justify-content:center;align-items:center;margin-right:-8px;padding:0;display:inline-flex}.opportunity-conversations .oc-history-conversations{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;gap:4px;max-height:242px;margin:8px 0 0;padding:3px;list-style:none;display:flex;overflow:auto}.opportunity-conversations .oc-history-conversations>li{min-width:0;margin:0;padding:0}.opportunity-conversations .oc-history-conversation{width:100%;min-width:0;color:var(--text);font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:3px;padding:9px 10px;display:flex}.opportunity-conversations .oc-history-conversation[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft)}.opportunity-conversations .oc-history-conversation-heading{flex-wrap:wrap;gap:5px;width:100%}.opportunity-conversations .oc-history-conversation-heading>.oc-history-status{margin-left:auto}.opportunity-conversations .oc-history-status{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.5;display:inline-block}.opportunity-conversations .oc-history-status[data-status=open]{color:var(--primary)}.opportunity-conversations .oc-history-conversation-meta{max-width:100%;color:var(--text);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.opportunity-conversations .oc-history-conversation-link,.opportunity-conversations .oc-history-conversation-date{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.opportunity-conversations .oc-history-thread{border-top:1px solid var(--border);padding-top:14px}.opportunity-conversations .oc-history-thread-header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:10px}.opportunity-conversations .oc-history-relation{color:var(--blue);overflow-wrap:anywhere;margin:10px 0 0;font-size:12px}.opportunity-conversations .oc-history-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:12px 0 16px;display:grid}.opportunity-conversations .oc-history-details>div{min-width:0}.opportunity-conversations .oc-history-details dt{color:var(--muted);font-size:12px}.opportunity-conversations .oc-history-details dd{color:var(--text);overflow-wrap:anywhere;margin:2px 0 0}.opportunity-conversations .oc-history-message-count{margin:10px 0}.opportunity-conversations .oc-history-viewport{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable;border-block:1px solid var(--border);background:var(--bg);min-height:120px;max-height:min(540px,65dvh);padding:8px;overflow:auto}.opportunity-conversations .oc-history-messages{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.opportunity-conversations .oc-history-message{border:1px solid var(--border);background:var(--surface);width:-moz-fit-content;width:fit-content;min-width:0;max-width:min(94%,72ch);color:var(--text);border-radius:8px;align-self:flex-start;padding:9px 11px}.opportunity-conversations .oc-history-message[data-direction=out]{background:var(--primary-soft);align-self:flex-end}.opportunity-conversations .oc-history-message[data-direction=internal]{background:var(--surface-2);border-style:dashed;align-self:stretch;width:auto;max-width:100%}.opportunity-conversations .oc-history-message-direction{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:500}.opportunity-conversations .oc-history-message-text{color:var(--text);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.65}.opportunity-conversations .oc-history-message-meta{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:3px 10px;margin-top:7px;font-size:12px;display:flex}.opportunity-conversations .oc-history-message[data-status=failed] .oc-history-message-status{color:var(--danger);font-weight:600}.opportunity-conversations .oc-history-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin-top:10px;display:flex}.opportunity-conversations .oc-history-page{text-align:center;flex:1;min-width:42px;padding:0 4px}.opportunity-conversations .oc-history-button{border:1px solid var(--border-strong);background:var(--surface);max-width:100%;min-height:40px;color:var(--text);font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:7px 9px;line-height:1.5;display:inline-flex}.opportunity-conversations .oc-history-open{color:var(--blue)}.opportunity-conversations .oc-history-icon{flex-shrink:0;min-width:40px;padding:7px}.opportunity-conversations .oc-history-button:disabled{opacity:.55;cursor:not-allowed}.opportunity-conversations .oc-history-empty{min-height:150px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px 14px;display:flex}.opportunity-conversations .oc-history-empty p{max-width:48ch;font:inherit;margin:0;line-height:1.6}@media (hover:hover){.opportunity-conversations .oc-history-conversation:not([aria-pressed=true]):hover,.opportunity-conversations .oc-history-button:not(:disabled):hover,.opportunity-conversations .oc-history-clear:hover{background:var(--surface-2)}}.opportunity-conversations :-webkit-any(button,.oc-history-viewport):focus-visible{outline:3px solid var(--blue);outline-offset:2px}.opportunity-conversations :is(button,.oc-history-viewport):focus-visible{outline:3px solid var(--blue);outline-offset:2px}@container opportunity-conversations (width>=760px){.opportunity-conversations .oc-history-layout{grid-template-columns:minmax(230px,.38fr) minmax(0,1fr);gap:20px}.opportunity-conversations .oc-history-conversations{max-height:480px}.opportunity-conversations .oc-history-thread{border-top:0;border-left:1px solid var(--border);padding-top:0;padding-left:20px}}@container opportunity-conversations (width<=380px){.opportunity-conversations .oc-history-details{grid-template-columns:minmax(0,1fr)}.opportunity-conversations .oc-history-conversations{max-height:210px}.opportunity-conversations .oc-history-thread-header{align-items:center}.opportunity-conversations .oc-history-message{max-width:100%}.opportunity-conversations .oc-history-pagination .oc-history-page{flex-basis:100%;order:-1}}@media (max-width:720px),(pointer:coarse){.opportunity-conversations .oc-history-button,.opportunity-conversations .oc-history-clear{min-width:44px;min-height:44px}.opportunity-conversations .oc-history-search input{min-height:44px;font-size:16px}}@media (prefers-reduced-motion:reduce){.opportunity-conversations button{transition:none}}.opportunity-section-toolbar{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.opportunity-section-toolbar h3,.opportunity-section-toolbar p{margin:0}.opportunity-section-toolbar h3{font-size:15px}.opportunity-section-toolbar p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5}.stakeholder-workspace{gap:14px;display:grid}.stakeholder-requirement{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:10px;padding:12px 14px;display:flex}.stakeholder-requirement.is-pending{border-color:color-mix(in srgb, var(--warning) 50%, var(--border));background:color-mix(in srgb, var(--warning) 8%, var(--surface));color:var(--warning-strong,var(--warning))}.stakeholder-requirement.is-complete{border-color:color-mix(in srgb, var(--primary) 45%, var(--border));background:color-mix(in srgb, var(--primary) 8%, var(--surface));color:var(--primary)}.stakeholder-requirement svg{flex:none;margin-top:1px}.stakeholder-requirement strong,.stakeholder-requirement span{display:block}.stakeholder-requirement strong{font-size:13px}.stakeholder-requirement span{color:var(--text);margin-top:3px;font-size:12px;line-height:1.5}.stakeholder-history-title{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin:0;padding:14px}.stakeholder-history-title small{color:var(--muted);font-weight:400;line-height:1.45}.stakeholder-list{gap:10px;display:grid}.stakeholder-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.stakeholder-card.is-mapped{border-left:3px solid var(--primary)}.stakeholder-card[role=button]{cursor:pointer;transition:border-color .12s,background-color .12s,transform .12s}.stakeholder-card[role=button]:hover{border-color:color-mix(in srgb, var(--primary) 58%, var(--border));background:color-mix(in srgb, var(--primary) 4%, var(--surface));transform:translateY(-1px)}.stakeholder-card[role=button]:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.stakeholder-card>header{align-items:center;gap:10px;padding:12px 14px;display:flex}.stakeholder-card>header>div{flex:1;min-width:0}.stakeholder-card>header strong,.stakeholder-card>header span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.stakeholder-card>header strong{font-size:13px}.stakeholder-card>header span{color:var(--muted);margin-top:2px;font-size:12px}.stakeholder-card>header>.badge{color:var(--text);flex:none}.stakeholder-open-indicator{color:var(--muted);flex:none}.stakeholder-card[role=button]:hover .stakeholder-open-indicator{color:var(--primary)}.stakeholder-editor{border-top:1px solid var(--border);background:var(--surface-2);grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr);gap:12px 16px;padding:14px;display:grid}.stakeholder-editor fieldset{border:0;grid-column:1/-1;min-width:0;margin:0;padding:0}.stakeholder-editor legend{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:600}.stakeholder-role-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.stakeholder-role-grid label{border:1px solid var(--border);background:var(--surface);border-radius:6px;align-items:flex-start;gap:8px;min-width:0;padding:8px 10px;font-size:12px;line-height:1.35;display:flex}.stakeholder-role-grid input{flex:none;margin-top:1px}.stakeholder-editor>.field{margin:0}.stakeholder-readonly{gap:8px;padding:0 14px 14px 52px;display:grid}.stakeholder-readonly>span{color:var(--muted);font-size:12px}.stakeholder-readonly p{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}.stakeholder-add{border:1px dashed var(--border-strong);background:var(--surface);border-radius:8px;padding:14px;position:relative}.stakeholder-add>.field{margin:0}.stakeholder-search{border:1px solid var(--border-strong);background:var(--bg);color:var(--muted);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.stakeholder-search:focus-within{border-color:var(--blue);box-shadow:var(--focus-ring)}.stakeholder-search input{width:100%;color:var(--text);box-shadow:none;background:0 0;border:0}.stakeholder-results{border:1px solid var(--border);background:var(--surface);border-radius:6px;max-height:240px;margin-top:8px;display:grid;overflow-y:auto}.stakeholder-results button{border:0;border-bottom:1px solid var(--border);color:var(--text);text-align:left;background:0 0;align-items:center;gap:10px;padding:10px 12px;display:flex}.stakeholder-results button:hover{background:var(--surface-2)}.stakeholder-results span,.stakeholder-results strong,.stakeholder-results small{display:block}.stakeholder-results small,.stakeholder-results p{color:var(--muted);font-size:12px}.stakeholder-results p{margin:0;padding:14px}.stakeholder-actions{z-index:2;border-top:1px solid var(--border);background:var(--surface);justify-content:flex-end;gap:8px;margin:4px -16px -16px;padding:12px 16px;display:flex;position:sticky;bottom:-16px}@media (max-width:720px){.opportunity-section-toolbar,.stakeholder-card>header{flex-wrap:wrap;align-items:stretch}.opportunity-section-toolbar>.btn{justify-content:center;width:100%}.stakeholder-editor,.stakeholder-role-grid{grid-template-columns:1fr}.stakeholder-readonly{padding-left:14px}.stakeholder-card>header>.badge{order:4;margin-left:42px}}.commercial-history{gap:16px;display:grid}.commercial-history-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.commercial-history-section,.cost-editor{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.commercial-history-section>header,.cost-editor>header{border-bottom:1px solid var(--border);background:var(--surface-2);align-items:center;gap:8px;min-height:46px;padding:11px 14px;font-size:13px;display:flex}.cost-editor>header{justify-content:space-between}.cost-editor>header>div{min-width:0}.cost-editor>header strong,.cost-editor>header span{display:block}.cost-editor>header span{color:var(--muted);margin-top:3px;font-size:12px}.cost-editor>header>strong{color:var(--primary);font-variant-numeric:tabular-nums;flex:none}.cost-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:14px 14px 0;display:grid}.cost-editor-fields .full{grid-column:1/-1}.cost-items{border:1px solid var(--border);border-radius:7px;margin:0 14px 14px}.cost-items-head{border-bottom:1px solid var(--border);background:var(--surface-2);justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 10px;font-size:12px;display:flex}.cost-item-editor{border-bottom:1px solid var(--border);grid-template-columns:24px minmax(180px,1.4fr) minmax(140px,.8fr) 100px 130px auto 38px;align-items:end;gap:8px;padding:10px;display:grid}.cost-item-editor:last-child{border-bottom:0}.cost-item-editor .field{min-width:0;margin:0}.cost-item-number{background:var(--surface-2);width:24px;height:24px;color:var(--muted);border-radius:50%;align-self:center;place-items:center;font-size:11px;display:grid}.cost-line-total{text-align:right;font-variant-numeric:tabular-nums;align-self:center;min-width:92px;font-size:12px}.cost-editor>.field,.cost-editor>.form-error,.cost-integration-note{margin:0 14px 14px}.cost-integration-note{color:var(--muted);font-size:11px;line-height:1.5}.cost-editor>footer{border-top:1px solid var(--border);background:var(--surface-2);justify-content:flex-end;gap:8px;padding:12px 14px;display:flex}.commercial-history-row,.cost-history-entry>summary{border:0;border-bottom:1px solid var(--border);width:100%;min-height:60px;color:var(--text);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:12px;padding:10px 14px;display:flex}.commercial-history-row:hover,.cost-history-entry>summary:hover{background:var(--surface-2)}.commercial-history-row>span,.cost-history-entry>summary>span{flex:1;min-width:0}.commercial-history-row strong,.commercial-history-row small,.cost-history-entry>summary strong,.cost-history-entry>summary small{display:block}.commercial-history-row small,.cost-history-entry>summary small{color:var(--muted);margin-top:4px;font-size:12px}.commercial-history-row>svg,.cost-history-entry>summary>svg{flex:none}.commercial-history-row>svg:last-child,.cost-history-entry>summary>svg:last-child{color:var(--muted)}.cost-history-entry>summary{list-style:none}.cost-history-entry>summary::-webkit-details-marker{display:none}.cost-history-entry[open]>summary>svg:last-child{transform:rotate(90deg)}.cost-history-detail{border-bottom:1px solid var(--border);background:var(--bg);gap:12px;padding:14px;display:grid}.cost-history-detail dl{margin:0}.cost-history-detail dl>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:18px;padding:8px 0;display:flex}.cost-history-detail dt,.cost-history-detail dd{margin:0;font-size:12px}.cost-history-detail dt{flex:1;min-width:0}.cost-history-detail dt small{color:var(--muted);margin-top:3px;display:block}.cost-history-detail dd{text-align:right;font-variant-numeric:tabular-nums}.cost-history-detail dd strong{margin-top:3px;display:block}.cost-history-detail>p{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}.cost-history-meta{color:var(--muted);flex-wrap:wrap;gap:8px 16px;font-size:11px;display:flex}.cost-history-detail>.btn{justify-self:start}.commercial-history-empty{color:var(--muted);margin:0;padding:18px 14px;font-size:12px}.client-commercial-history{gap:10px;display:grid}.client-commercial-history-intro{color:var(--muted);margin:0 0 4px;font-size:12px;line-height:1.55}.client-history-group{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.client-history-group>summary{cursor:pointer;align-items:center;gap:12px;min-height:62px;padding:11px 14px;list-style:none;display:flex}.client-history-group>summary::-webkit-details-marker{display:none}.client-history-group>summary:hover{background:var(--surface-2)}.client-history-group>summary>span{flex:1;min-width:0}.client-history-group>summary strong,.client-history-group>summary small{display:block}.client-history-group>summary small{color:var(--muted);margin-top:4px;font-size:11px}.client-history-group>summary>svg:last-child{color:var(--muted);transition:transform .15s}.client-history-group[open]>summary>svg:last-child{transform:rotate(90deg)}.client-history-group-content{border-top:1px solid var(--border);background:var(--bg);gap:14px;padding:14px;display:grid}.client-history-group-content>section{border:1px solid var(--border);background:var(--surface);border-radius:7px;overflow:hidden}.client-history-group-content h4{border-bottom:1px solid var(--border);background:var(--surface-2);margin:0;padding:10px 12px;font-size:12px}@media (max-width:1120px){.cost-item-editor{grid-template-columns:24px minmax(0,1fr) minmax(130px,.7fr) 90px 120px 38px}.cost-line-total{text-align:left;grid-column:2/6}}@media (max-width:720px){.commercial-history-actions,.cost-editor>footer{width:100%}.commercial-history-actions>.btn,.cost-editor>footer>.btn{flex:1;justify-content:center}.cost-editor-fields,.cost-item-editor{grid-template-columns:1fr}.cost-item-number{display:none}.cost-line-total{grid-column:auto}.commercial-history-row,.cost-history-entry>summary{align-items:flex-start}}.deal-card.prisma-opportunity-card{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:auto;min-height:148px;color:var(--text);background:var(--card);border:1px solid var(--border);font-family:var(--font-ui);border-radius:10px;flex-direction:column;font-size:12px;line-height:1.5;transition:border-color .15s;display:flex;position:relative}.deal-card.prisma-opportunity-card:hover{border-color:var(--border-strong)}.deal-card.prisma-opportunity-card:focus-within{border-color:var(--blue)}.deal-card.prisma-opportunity-card.crm-card-dragging{opacity:.45}.prisma-opportunity-card .prisma-opportunity-card__main{width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:9px 9px 0 0;flex-direction:column;flex:1;align-items:stretch;gap:6px;margin:0;padding:10px 12px 8px;display:flex}.prisma-opportunity-card .prisma-opportunity-card__main:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}.prisma-opportunity-card .prisma-opportunity-card__heading,.prisma-opportunity-card .prisma-opportunity-card__parties,.prisma-opportunity-card .prisma-opportunity-card__assignment,.prisma-opportunity-card .prisma-opportunity-card__activity{align-items:center;gap:6px;min-width:0;display:flex}.prisma-opportunity-card .prisma-opportunity-card__heading{min-height:20px}.prisma-opportunity-card .prisma-opportunity-card__title,.prisma-opportunity-card .prisma-opportunity-card__company,.prisma-opportunity-card .prisma-opportunity-card__contact,.prisma-opportunity-card .prisma-opportunity-card__truncate{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.prisma-opportunity-card .prisma-opportunity-card__title{letter-spacing:0;text-wrap:nowrap;flex:1;margin:0;font-size:13px;font-weight:600;line-height:20px}.prisma-opportunity-card .prisma-opportunity-card__count{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;align-items:center;gap:3px;display:inline-flex}.prisma-opportunity-card .prisma-opportunity-card__details{min-width:0;color:var(--muted);flex-direction:column;gap:4px;display:flex}.prisma-opportunity-card .prisma-opportunity-card__company{color:var(--blue);flex:55%}.prisma-opportunity-card .prisma-opportunity-card__contact{flex:45%}.prisma-opportunity-card .prisma-opportunity-card__owner,.prisma-opportunity-card .prisma-opportunity-card__task{flex:1;align-items:center;gap:5px;min-width:0;display:flex}.prisma-opportunity-card .prisma-opportunity-card__origin{background:var(--surface-2);min-width:0;max-width:45%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:4px;flex:0 auto;padding:2px 5px;font-size:12px;line-height:16px;overflow:hidden}.prisma-opportunity-card .prisma-opportunity-card__status{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:4px;flex-shrink:0;padding:1px 5px;font-size:12px;font-weight:500;line-height:18px}.prisma-opportunity-card .prisma-opportunity-card__status.status-won{background:var(--primary-soft);color:var(--primary)}.prisma-opportunity-card .prisma-opportunity-card__status.status-lost{background:color-mix(in srgb, var(--danger) 10%, var(--surface));color:var(--danger)}.prisma-opportunity-card .prisma-opportunity-card__status.status-postponed{background:color-mix(in srgb, var(--blue) 9%, var(--surface));color:var(--blue)}.prisma-opportunity-card .prisma-opportunity-card__task[data-overdue=true]{color:var(--danger)}.prisma-opportunity-card .prisma-opportunity-card__task-date{font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}.deal-card.prisma-opportunity-card>.prisma-opportunity-card__footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;min-height:36px;margin:0;padding:6px 12px;display:flex}.prisma-opportunity-card .prisma-opportunity-card__value{min-width:0;color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex:auto;font-size:13px;font-weight:600;line-height:20px}.prisma-opportunity-card .prisma-opportunity-card__footer-meta,.prisma-opportunity-card .prisma-opportunity-card__timing{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.prisma-opportunity-card .prisma-opportunity-card__footer-meta{margin-left:auto}.prisma-opportunity-card .prisma-opportunity-card__avatar{background:var(--primary-soft);width:22px;height:22px;color:var(--primary);border-radius:50%;flex:0 0 22px;justify-content:center;align-items:center;font-size:10px;font-weight:600;line-height:1;display:inline-flex}.prisma-opportunity-card svg{flex-shrink:0}.prisma-opportunity-card .prisma-opportunity-card__sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.deal-card.prisma-opportunity-card,.prisma-opportunity-card .prisma-opportunity-card__main{transition:none}}.funnel-finished-group{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;flex:none;min-width:300px;height:100%;padding:12px;display:flex}.funnel-finished-header,.funnel-finished-title{align-items:center;gap:6px;display:flex}.funnel-finished-header{flex-shrink:0;justify-content:space-between;gap:12px;width:min(100%,100cqw - 26px);padding-bottom:10px;position:sticky;left:13px}.funnel-finished-title{flex-wrap:wrap;min-width:0}.funnel-finished-title h2{margin:0;font-size:14px}.funnel-period-trigger{color:var(--blue);background:0 0;border:0;align-items:center;gap:4px;max-width:240px;padding:4px 0;font-size:14px;display:inline-flex}.funnel-period-trigger span{text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize;overflow:hidden}.funnel-finished-columns{flex:1;gap:12px;min-height:0;display:flex}.funnel-finished-stage{flex-direction:column;flex:0 0 286px;width:286px;min-height:0;display:flex}.funnel-finished-stage>header{flex-shrink:0;padding:2px 10px 10px}.funnel-finished-stage>header>div{align-items:center;gap:10px;display:flex}.funnel-finished-stage h3{margin:0;font-size:13px}.funnel-finished-stage>header h3{flex:1}.funnel-finished-stage>header strong{margin-top:4px;font-size:13px;font-weight:500;display:block}.funnel-won-total{color:var(--primary)}.funnel-finished-stage .funnel-stage-stack{background:var(--bg);padding:8px 4px 8px 8px}.funnel-finished-stage .card-title{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.funnel-finished-stage .funnel-empty{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;min-height:140px;display:flex}.funnel-finished-pagination{flex-shrink:0;padding-top:6px}.funnel-finished-empty{color:var(--muted);text-align:center;width:280px;padding:32px 16px}.funnel-finished-stage.crm-drop-target{outline:2px solid var(--primary);border-radius:6px}.funnel-missing-dates{color:var(--muted);flex-shrink:0;max-width:290px;margin:0 0 10px;font-size:12px}.funnel-missing-dates button{color:var(--blue);font-size:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.funnel-popover{z-index:var(--z-popover);width:min(320px, calc(100vw - 24px - var(--safe-left) - var(--safe-right)));max-height:calc(100vh - 24px);-webkit-overflow-scrolling:touch;max-height:min(600px,100dvh - 24px);color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;margin:0;padding:12px;position:fixed;top:auto;bottom:auto;left:auto;right:auto;overflow-y:auto;box-shadow:0 12px 36px #0003}.funnel-date-tabs{border-bottom:1px solid var(--border);gap:6px;padding-bottom:10px;display:flex}.funnel-date-tabs button,.funnel-month-grid button{color:var(--text);background:0 0;border:0;border-radius:5px;padding:8px 10px}.funnel-date-tabs button.active,.funnel-month-grid button:hover{background:var(--primary-soft);color:var(--primary)}.funnel-period-list h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:16px 10px 6px;font-size:11px}.funnel-period-list button{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;padding:8px 10px;font-size:13px;display:flex}.funnel-period-list button:hover,.funnel-period-list button[aria-pressed=true]{background:var(--surface-2);color:var(--blue)}.funnel-year-picker{justify-content:space-between;align-items:center;padding:10px 0;display:flex}.funnel-month-grid{grid-template-columns:repeat(3,1fr);gap:4px;padding-bottom:12px;display:grid}.funnel-month-grid button{text-transform:capitalize;padding:10px 2px;font-size:12px}.funnel-custom-period{gap:14px;padding:14px 0;display:grid}.funnel-period-error{color:var(--red);margin:0;font-size:12px}.funnel-clear-period{width:100%;margin-top:12px}.funnel-status-picker{border:0;margin:0;padding:4px}.funnel-status-picker legend{color:var(--muted);padding:4px 8px 10px;font-size:12px}.funnel-status-picker label{cursor:pointer;border-radius:6px;align-items:center;gap:14px;padding:12px 8px;font-size:13px;display:flex}.funnel-status-picker label:hover{background:var(--surface-2)}.funnel-status-picker input{width:16px;height:16px;accent-color:var(--blue);color-scheme:var(--select-color-scheme)}@media (max-width:720px){.funnel-finished-group{min-width:min(318px,100vw - 40px);padding:8px}.funnel-finished-stage{flex-basis:min(286px,100vw - 64px);width:min(286px,100vw - 64px)}.funnel-period-trigger,.funnel-finished-header .icon-button,.funnel-period-list button,.funnel-month-grid button,.funnel-date-tabs button{min-height:44px}}.crm-directory{grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;display:grid}.pipeline-overview{--crm-chart-1:#30503a;--crm-chart-2:#477757;--crm-chart-3:#11437e;--crm-chart-4:#687791;--crm-chart-5:#91879f}[data-theme=dark] .pipeline-overview{--crm-chart-1:#9ac9a6;--crm-chart-2:#73a982;--crm-chart-3:#7fafff;--crm-chart-4:#96aacb;--crm-chart-5:#b0a0c6}.crm-pagination,.crm-pagination-buttons,.crm-stage-pagination{align-items:center;gap:10px;display:flex}.crm-pagination{color:var(--muted);border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;margin-block-start:12px;margin-block-end:12px;padding:10px 0;font-size:12px}.crm-pagination label{align-items:center;gap:8px;display:flex}.crm-pagination select{flex-shrink:0;width:88px;min-width:88px;min-height:36px}.crm-pagination-buttons .icon-button,.crm-stage-pagination .icon-button{min-width:36px;min-height:36px}.crm-stage-pagination{color:var(--muted);justify-content:space-between;font-size:12px}.status-discarded,.status-Cancelada,.status-Obsoleta{color:var(--muted);background:var(--surface-2)}.status-postponed{color:var(--blue);background:color-mix(in srgb, var(--blue) 9%, var(--surface))}.status-Concluída{color:var(--primary);background:var(--primary-soft)}.custom-field-summary strong,.timeline p,.activity-row p{overflow-wrap:anywhere;white-space:pre-wrap}@media (max-width:560px){.crm-pagination{align-items:flex-start;gap:8px}.crm-pagination>span{flex-basis:100%}.crm-pagination-buttons{margin-left:auto}}.pipeline-toolbar{flex-wrap:nowrap;gap:8px;padding:8px 10px;overflow:visible}.pipeline-selector{flex:0 250px}.pipeline-primary-filters,.pipeline-toolbar-actions,.pipeline-action-group{align-items:center;display:flex}.pipeline-primary-filters{gap:2px;min-width:0}.pipeline-top-filter{min-width:0;min-height:36px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;padding:7px 9px;font-size:13px;font-weight:600;display:inline-flex}.pipeline-top-filter:hover,.pipeline-top-filter[aria-expanded=true],.pipeline-top-filter.active{color:var(--text);background:var(--surface-2)}.pipeline-top-filter.active>svg:first-child{color:var(--blue)}.pipeline-top-filter>svg{color:var(--muted);flex-shrink:0}.pipeline-toolbar-actions{flex:auto;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}.pipeline-toolbar-actions .crm-opportunity-search{border-radius:22px;flex:0 190px;min-width:145px;margin:0;position:relative}.pipeline-toolbar-actions .crm-opportunity-search input{min-height:36px;padding-right:30px}.search-clear-button{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid;position:absolute;right:7px}.search-clear-button:hover{color:var(--text);background:var(--surface-2)}.pipeline-icon-control{border:1px solid var(--border-strong);border-radius:5px;flex:0 0 38px;width:38px;height:38px}.pipeline-icon-control.active{color:var(--blue);background:var(--surface-2)}.pipeline-action-group{gap:0}.pipeline-action-group .pipeline-icon-control:first-child{border-radius:5px 0 0 5px}.pipeline-action-group .pipeline-icon-control+.pipeline-icon-control{border-radius:0 5px 5px 0;margin-left:-1px}.pipeline-clear-control:not(:disabled){color:var(--danger)}.crm-status-filter{max-width:220px;margin:0 0 10px}.funnel-filter-picker{gap:10px;display:grid}.funnel-filter-header{border-bottom:1px solid var(--border);align-items:center;min-height:30px;padding:0 2px 8px;display:flex}.funnel-filter-header strong{font-size:14px}.funnel-filter-search{width:100%;min-width:0}.funnel-filter-search input{min-height:38px}.funnel-filter-list{overscroll-behavior:contain;scrollbar-width:thin;max-height:260px;display:grid;overflow-y:auto}.funnel-filter-list>label{min-height:40px;color:var(--text);cursor:pointer;border-radius:5px;align-items:center;gap:10px;padding:7px 8px;font-size:13px;display:flex}.funnel-filter-list>label:hover{background:var(--surface-2)}.funnel-filter-list>label[aria-disabled=true]{opacity:.55;cursor:not-allowed}.funnel-filter-list input[type=checkbox],.funnel-filter-list input[type=radio]{width:16px;height:16px;accent-color:var(--blue);color-scheme:var(--select-color-scheme);flex:none;margin:0}.funnel-filter-list>label>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.funnel-filter-list>label>small{color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0}.funnel-filter-empty{color:var(--muted);text-align:center;margin:0;padding:16px 8px;font-size:12px}.funnel-filter-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.funnel-date-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.funnel-owner-picker{gap:12px;width:100%;min-width:0;max-width:100%;display:grid}.funnel-owner-list{max-height:min(430px,52vh)}.funnel-owner-list>label{min-height:52px}.funnel-owner-list .avatar{flex:none}.funnel-owner-list>label>span strong,.funnel-owner-list>label>span small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.funnel-owner-list>label>span small{color:var(--muted);margin-top:2px;font-size:11px}.funnel-owner-footer{flex-wrap:wrap}.is-spinning{animation:.75s linear infinite prisma-spin}@keyframes prisma-spin{to{transform:rotate(360deg)}}@media (max-width:1080px){.pipeline-toolbar{flex-wrap:wrap}.pipeline-selector{flex:230px}.pipeline-primary-filters{flex:auto;justify-content:flex-end}.pipeline-toolbar-actions{flex-basis:100%}.pipeline-toolbar-actions .crm-opportunity-search{flex:220px}}@media (max-width:720px){.pipeline-toolbar{align-items:stretch;gap:6px;padding:8px}.pipeline-selector{flex-basis:100%}.pipeline-primary-filters,.pipeline-toolbar-actions{flex-wrap:wrap;justify-content:flex-start;width:100%;max-width:100%;overflow:visible}.pipeline-top-filter{min-height:44px}.pipeline-toolbar-actions .crm-opportunity-search{flex:1 0 100%;width:100%;min-width:0}.pipeline-toolbar-actions .crm-opportunity-search input,.pipeline-icon-control,.pipeline-view-toggle button{height:44px;min-height:44px}.pipeline-icon-control,.pipeline-view-toggle button{flex-basis:44px;width:44px}.funnel-date-range{grid-template-columns:minmax(0,1fr)}.funnel-owner-picker{min-width:0}}.crm-directory>.table-wrap{contain:inline-size;width:100%;min-width:0;max-width:100%;overflow-x:auto}.crm-directory>.table-topline{flex-wrap:wrap}.crm-directory .toolbar>select,.crm-directory .toolbar>input,.crm-directory .toolbar>.saved-view{min-width:0;max-width:100%}.crm-directory .search-input{min-width:min(200px,100%);max-width:100%}.crm-directory .saved-view>button:first-child{overflow-wrap:anywhere;min-width:0}.crm-profile-summary{margin-bottom:12px}.crm-profile-tags{margin-bottom:14px}.crm-profile-tabs{flex-wrap:nowrap;overflow-x:auto}.crm-profile-tabs button{white-space:nowrap}.crm-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:18px 0 24px;display:grid}.crm-profile-fields dt{color:var(--muted);margin-bottom:5px;font-size:12px}.crm-profile-fields dd{overflow-wrap:anywhere;margin:0}.crm-record-code{color:var(--muted);font-size:11px}.crm-profile-metrics{border-block:1px solid var(--border);flex-wrap:wrap;gap:16px 24px;margin:20px 0;padding:16px 0;display:flex}.crm-profile-metrics>div{flex-direction:column;gap:4px;display:flex}.crm-profile-metrics strong{font-variant-numeric:tabular-nums;font-size:17px}.crm-profile-metrics span{color:var(--muted);font-size:11px}.crm-inline-empty{color:var(--muted);padding:14px 0;font-size:13px}.crm-profile-section{margin-top:24px}.crm-quick-filters{flex-wrap:wrap;gap:6px;margin:14px 0;display:flex}.crm-funnel-dragging{padding-bottom:6px}.crm-funnel-dragging .funnel-stage{outline:1px dashed var(--border-strong);outline-offset:-1px;border-radius:6px}.crm-funnel-dragging .funnel-stage.crm-drop-target{outline:2px solid var(--primary);outline-offset:-2px;background:var(--primary-soft)}.crm-card-dragging{opacity:.45}.crm-stage-drop-hint{color:var(--primary);padding:12px;font-size:12px;font-weight:600}.crm-drag-outcomes{left:calc(var(--sidebar-width) + 20px);z-index:var(--z-sticky);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;display:grid;position:fixed;bottom:16px;right:20px}.crm-drag-summary{grid-column:1/-1;align-self:center;min-width:0;padding:0 8px;font-size:12px}.crm-drag-summary strong{white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;display:block;overflow:hidden}.crm-drag-summary>span{color:var(--muted);font-size:11px}.crm-outcome-zone{background:var(--surface-2);border:2px dashed;border-radius:6px;justify-content:center;align-items:center;gap:10px;min-width:0;min-height:76px;padding:12px;display:flex}.crm-outcome-zone svg{flex-shrink:0}.crm-outcome-zone strong,.crm-outcome-zone small{display:block}.crm-outcome-zone strong{font-size:14px}.crm-outcome-zone small{margin-top:3px;font-size:11px}.crm-outcome-won{color:var(--primary)}.crm-outcome-lost{color:var(--danger)}.crm-outcome-discarded{color:var(--muted)}.crm-outcome-postponed{color:var(--blue)}.crm-outcome-zone.crm-drop-target{background:var(--surface);outline-offset:2px;border-style:solid;outline:2px solid}.crm-outcome-zone.crm-drop-disabled{color:var(--muted);border-color:var(--border)}.crm-movement-fields{border:0;min-width:0;margin:0;padding:0}.crm-movement-fields>legend{margin-bottom:14px;padding:0;font-size:13px;font-weight:600}.crm-movement-fields .error-text{color:var(--danger)}@media (max-width:1050px){.crm-drag-outcomes{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-drag-summary{grid-column:1/-1}.crm-funnel-dragging{padding-bottom:6px}}@media (max-width:720px){.crm-drag-outcomes{gap:8px;padding:10px;bottom:12px;left:12px;right:12px}.crm-outcome-zone{padding:8px}}.crm-filter-chip{border:1px solid var(--border);color:var(--muted);background:var(--surface);border-radius:5px;align-items:center;gap:8px;padding:7px 10px;font-size:12px;display:inline-flex}.crm-filter-chip>span{font-variant-numeric:tabular-nums;font-size:11px}.crm-filter-chip:hover{background:var(--surface-2);color:var(--text)}.crm-filter-chip.active{background:var(--primary-soft);color:var(--primary);border-color:var(--primary)}.crm-inline-notice{background:var(--surface-2);border-radius:6px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:12px 14px;font-size:12px;display:flex}.crm-inline-notice>span{flex:1;min-width:200px}.crm-inline-notice>svg{color:var(--blue);flex-shrink:0}.crm-selection-cell{text-align:center;width:44px}.crm-selection-cell input{width:16px;height:16px;min-height:0;accent-color:var(--primary);vertical-align:middle}.crm-selected-row>td{background:var(--primary-soft)}.crm-bulk-bar{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;display:flex}.crm-bulk-bar>strong{margin-right:12px;font-size:12px}.crm-column-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin:18px 0;display:grid}.crm-column-options label{align-items:center;gap:8px;min-width:0;padding:9px 0;font-size:13px;display:flex}.crm-column-options input{width:16px;height:16px;min-height:0;accent-color:var(--primary)}.crm-column-options small{color:var(--muted);font-size:10px}.crm-bulk-progress{gap:6px;font-size:12px;display:grid}.crm-bulk-progress progress{width:100%}.crm-bulk-results{margin-top:18px}.crm-bulk-results ul{max-height:300px;margin:0;padding:0;list-style:none;overflow:auto}.crm-bulk-results li{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:10px 0;font-size:12px}.crm-bulk-results li>span{margin-top:4px;display:block}.crm-detail-toolbar{justify-content:space-between;align-items:center;gap:8px;margin:0 0 18px;display:flex}.crm-detail-toolbar .crm-record-code{overflow-wrap:anywhere}.crm-detail-toolbar>.btn{white-space:nowrap}.crm-deal-aside,.crm-deal-main{min-width:0}.crm-stage-progress{-webkit-overflow-scrolling:touch;gap:8px;margin:0 0 12px;padding:0 0 12px;list-style:none;display:flex;overflow-x:auto}.crm-stage-progress li{min-width:max-content;color:var(--muted);background:var(--surface-2);border-radius:4px;flex:1;align-items:center;gap:6px;padding:8px 10px;font-size:11px;display:flex}.crm-stage-progress li>span{font-variant-numeric:tabular-nums}.crm-stage-progress li[aria-current=step]{color:var(--primary);background:var(--primary-soft);font-weight:600}dialog.modal.side-panel:has(.crm-deal-expanded){width:calc(100vw - 24px);height:calc(100vh - 24px);border:1px solid var(--border);border-radius:6px;height:calc(100dvh - 24px);max-height:none;margin:12px}.crm-deal-expanded .crm-deal-content{grid-template-columns:minmax(260px,29%) minmax(0,1fr);align-items:start;gap:24px;display:grid}.crm-deal-expanded .crm-deal-aside{border-right:1px solid var(--border);padding-right:22px}.crm-deal-expanded .deal-detail-heading{flex-direction:column}.crm-deal-expanded .deal-detail-heading h2{margin-bottom:12px;font-size:18px}.crm-deal-expanded .deal-detail-heading>strong{font-size:22px}.modal.side-panel .crm-deal-expanded .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-deal-expanded .crm-deal-aside .form-grid{grid-template-columns:minmax(0,1fr)}.crm-deal-expanded .crm-deal-aside .handoff-request{flex-wrap:wrap}.crm-deal-expanded .crm-deal-aside .handoff-request .field{flex-basis:100%}.crm-deal-expanded .crm-deal-aside .handoff-decision-actions .btn{flex:1}.crm-deal-main>.tabs{flex-wrap:nowrap;overflow-x:auto}.crm-deal-main>.tabs>button{white-space:nowrap}@media (max-width:1100px){.modal.side-panel .crm-deal-expanded .detail-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:800px){.crm-deal-expanded .crm-deal-content{display:block}.crm-deal-expanded .crm-deal-aside{border-right:0;padding-right:0}.crm-filter-chip{min-height:44px}}.crm-conversation-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:10px;padding:14px 0;display:flex}.crm-conversation-row>span{flex:1;min-width:0}.crm-conversation-row strong,.crm-conversation-row small{display:block}.crm-conversation-row small{color:var(--muted);margin:4px 0;font-size:11px}.crm-conversation-row p{overflow-wrap:anywhere;margin:5px 0 0}@media (max-width:560px){.crm-directory .toolbar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.crm-directory .toolbar>.search-input,.crm-directory .toolbar>:only-child{grid-column:1/-1;width:100%;min-width:0}.crm-directory .toolbar>select,.crm-directory .toolbar>input{width:100%}.crm-profile-fields{grid-template-columns:minmax(0,1fr);gap:14px}.crm-profile-tabs button{min-height:44px}.crm-profile-metrics{gap:16px}.crm-column-options{grid-template-columns:minmax(0,1fr)}.crm-bulk-bar .btn{flex:auto;min-height:44px}.crm-selection-cell{min-width:44px;height:44px}.crm-detail-toolbar{flex-wrap:wrap}dialog.modal.side-panel:has(.crm-deal-expanded){width:100vw;height:100vh;border:0;border-radius:0;height:100dvh;margin:0}}.crm-deals-workspace{--opportunity-filter-drawer-width:420px;transition:padding-right .16s ease-out}.crm-deals-workspace[data-filters=open]{padding-right:var(--opportunity-filter-drawer-width)}.opportunity-filter-drawer{z-index:60;width:420px;min-width:0;color:var(--text);background:var(--surface);border-left:1px solid var(--border-strong);flex-direction:column;display:flex;position:fixed;top:56px;bottom:0;right:0;box-shadow:-4px 0 14px #08091112}.opportunity-filter-header{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:9px;min-height:54px;padding:8px 14px 8px 10px;display:flex}.opportunity-filter-drawer-loading{color:var(--muted);flex:1;place-items:center;padding:24px;font-size:12px;display:grid}.opportunity-filter-header .icon-button{width:32px;height:32px;color:var(--muted)}.opportunity-filter-header h2{min-width:0;margin:0;font-size:14px;font-weight:700}.opportunity-filter-count{min-width:21px;height:21px;color:var(--blue);background:color-mix(in srgb, var(--blue) 12%, var(--surface));border-radius:11px;place-items:center;margin-left:auto;padding:0 6px;font-size:11px;font-weight:700;display:inline-grid}.opportunity-filter-tabs{border-bottom:1px solid var(--border);flex:none;grid-template-columns:1fr 1fr;gap:0;padding:0 18px;display:grid}.opportunity-filter-tabs button{min-height:48px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:600;display:flex;position:relative}.opportunity-filter-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}.opportunity-filter-tabs button>span{min-width:18px;height:18px;color:var(--muted);background:var(--surface-2);border-radius:9px;place-items:center;padding:0 5px;font-size:10px;display:inline-grid}.opportunity-filter-tabs button[aria-selected=true]>span{color:var(--blue);background:color-mix(in srgb, var(--blue) 12%, var(--surface))}.opportunity-filter-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;flex:auto;min-height:0;overflow:auto}.opportunity-filter-scroll::-webkit-scrollbar{width:7px}.opportunity-filter-scroll::-webkit-scrollbar-track{background:0 0}.opportunity-filter-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border:2px solid var(--surface);border-radius:8px}.opportunity-filter-search{z-index:2;border:1px solid var(--border-strong);min-height:42px;color:var(--muted);background:var(--input);border-radius:6px;align-items:center;gap:8px;margin:12px 16px 8px;padding:0 8px 0 11px;display:flex;position:sticky;top:0}.opportunity-filter-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb, var(--blue) 16%, transparent)}.opportunity-filter-search input{min-width:0;min-height:40px;color:var(--text);box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:0;font-size:13px}.opportunity-filter-search .icon-button{width:28px;height:28px}.opportunity-saved-views{border:1px solid var(--border);background:var(--surface-2);border-radius:6px;margin:0 16px 12px}.opportunity-saved-views>summary{cursor:pointer;min-height:38px;color:var(--muted);align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:600;list-style:none;display:flex}.opportunity-saved-views>summary::-webkit-details-marker{display:none}.opportunity-saved-views>summary>span{font-variant-numeric:tabular-nums;margin-left:auto}.opportunity-saved-views[open]>summary>svg{transform:rotate(180deg)}.opportunity-saved-views>div{flex-wrap:wrap;gap:6px;padding:0 10px 10px;display:flex}.opportunity-saved-views>div>span{border:1px solid var(--border);background:var(--surface);border-radius:5px;min-width:0;display:inline-flex;overflow:hidden}.opportunity-saved-views>div>span.active{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 8%, var(--surface))}.opportunity-saved-views>div button{min-height:30px;color:var(--text);background:0 0;border:0;padding:5px 8px;font-size:11px}.opportunity-saved-views>div button:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.opportunity-saved-views>div button:last-child{width:30px;color:var(--muted);border-left:1px solid var(--border);place-items:center;padding:0;display:inline-grid}.opportunity-filter-group{padding:0 16px}.opportunity-filter-group+.opportunity-filter-group{margin-top:12px}.opportunity-filter-group h3,.opportunity-filter-save h3{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin:0;padding:8px 12px 5px;font-size:10px;font-weight:700}.opportunity-filter-item{border-bottom:1px solid var(--border)}.opportunity-filter-item:first-of-type{border-top:1px solid var(--border)}.opportunity-filter-summary{width:100%;min-height:46px;color:var(--muted);text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:8px 7px 8px 12px;display:flex}.opportunity-filter-summary:hover,.opportunity-filter-summary[aria-expanded=true]{color:var(--text);background:var(--surface-2)}.opportunity-filter-summary>span:first-child{gap:1px;min-width:0;display:grid}.opportunity-filter-summary strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:1.4;overflow:hidden}.opportunity-filter-summary small{color:var(--blue);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.opportunity-filter-summary .filter-check{color:var(--blue);margin-left:auto}.opportunity-filter-summary .filter-chevron{margin-left:auto;transition:transform .14s ease-out}.opportunity-filter-summary .filter-check+.filter-chevron{margin-left:0}.opportunity-filter-summary[aria-expanded=true] .filter-chevron{transform:rotate(180deg)}.opportunity-filter-item.active .opportunity-filter-summary strong{color:var(--text);font-weight:600}.opportunity-filter-control{background:color-mix(in srgb, var(--surface-2) 75%, var(--surface));gap:10px;padding:12px;display:grid}.opportunity-filter-control input:not([type=checkbox]):not([type=radio]),.opportunity-filter-control select,.opportunity-filter-save input{border:1px solid var(--border-strong);width:100%;min-width:0;min-height:38px;color:var(--text);background:var(--input);box-shadow:none;border-radius:5px;padding:7px 9px;font-size:12px}.opportunity-filter-operator,.opportunity-filter-preset,.opportunity-filter-range label{color:var(--muted);gap:5px;font-size:10px;display:grid}.opportunity-filter-options{border:1px solid var(--border);background:var(--input);scrollbar-width:thin;border-radius:5px;max-height:220px;display:grid;overflow:auto}.opportunity-filter-options>label,.opportunity-filter-radio>label{min-height:36px;color:var(--text);cursor:pointer;align-items:center;gap:9px;padding:7px 9px;font-size:12px;display:flex}.opportunity-filter-options>label+label{border-top:1px solid var(--border)}.opportunity-filter-options input,.opportunity-filter-radio input{accent-color:var(--blue)}.opportunity-filter-radio{border:1px solid var(--border);background:var(--input);border-radius:5px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.opportunity-filter-radio>label+label{border-left:1px solid var(--border)}.opportunity-filter-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.opportunity-filter-hint,.opportunity-filter-loading{color:var(--muted);font-size:10px}.opportunity-filter-loading{align-items:center;gap:6px;display:flex}.opportunity-filter-remove{min-height:30px;color:var(--danger);background:0 0;border:0;justify-self:start;align-items:center;gap:6px;padding:3px 6px;font-size:11px;display:inline-flex}.opportunity-filter-empty{min-height:180px;color:var(--muted);text-align:center;place-items:center;gap:4px;padding:24px;font-size:11px;display:grid}.opportunity-filter-empty strong{color:var(--text);font-size:12px}.opportunity-filter-save{border:1px solid var(--border);background:var(--surface-2);border-radius:6px;margin:18px 16px 24px;padding:10px}.opportunity-filter-save h3{color:var(--text);letter-spacing:0;text-transform:none;padding:0;font-size:11px}.opportunity-filter-save p{color:var(--muted);margin:2px 0 9px;font-size:10px}.opportunity-filter-save>div{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.opportunity-filter-save .btn{min-height:38px}.opportunity-filter-footer{min-height:62px;padding:12px 16px calc(12px + var(--safe-bottom));border-top:1px solid var(--border-strong);background:var(--surface);flex:none;justify-content:space-between;gap:12px;display:flex}.opportunity-filter-footer .btn{min-width:92px}.opportunity-filter-clear{color:var(--muted);background:var(--surface-2)}:root[data-theme=dark] .opportunity-filter-drawer{box-shadow:-5px 0 20px #0005}@media (max-width:1120px){.crm-deals-workspace{--opportunity-filter-drawer-width:380px}.opportunity-filter-drawer{width:380px}}@media (max-width:820px){.crm-deals-workspace[data-filters=open]{padding-right:0}.opportunity-filter-drawer{width:min(420px,100vw - 24px);left:auto}}@media (max-width:720px){.opportunity-filter-drawer{top:calc(56px + var(--safe-top));border-left:0;width:100vw;left:0}.opportunity-filter-header,.opportunity-filter-footer{padding-right:max(12px, var(--safe-right));padding-left:max(8px, var(--safe-left))}.opportunity-filter-tabs,.opportunity-filter-group{padding-right:max(12px, var(--safe-right));padding-left:max(12px, var(--safe-left))}.opportunity-filter-search,.opportunity-saved-views,.opportunity-filter-save{margin-right:max(12px, var(--safe-right));margin-left:max(12px, var(--safe-left))}.opportunity-filter-summary{min-height:48px}}@media (prefers-reduced-motion:reduce){.crm-deals-workspace,.opportunity-filter-summary .filter-chevron{transition:none}}.main-content:has(>.contact-directory){flex:auto;display:flex;overflow:hidden}.contact-directory-table-wrap,.contact-column-options-scroll,.contact-filter-entity-tabs,.contact-column-tabs{-webkit-overflow-scrolling:touch}.contact-directory{flex-direction:column;flex:auto;min-width:0;height:100%;min-height:0;display:flex}.contact-directory-header{justify-content:space-between;align-items:center;min-height:48px;margin-bottom:10px;display:flex}.contact-directory-heading,.contact-directory-actions,.contact-directory-primary-filters,.contact-profile-actions,.contact-owner,.contact-inline-value,.contact-directory-pagination>div,.contact-directory-pagination>label{align-items:center;display:flex}.contact-directory-heading{gap:10px}.contact-directory-heading h1{margin:0;font-size:20px}.contact-create-wrap,.contact-more-wrap,.contact-filter-popover-wrap{position:relative}.contact-create-button{color:#10223b;background:#7fafff;border:0;border-radius:6px;place-items:center;width:40px;height:40px;display:grid}.contact-create-button:hover{background:#94bcff}.contact-directory-heading>.contact-more-wrap>.icon-button{border:1px solid var(--border-strong);border-radius:6px;min-width:40px;min-height:40px}.contact-directory-toolbar{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:66px;padding:10px 12px;display:flex}.contact-directory-primary-filters{flex:1 0 max-content;gap:4px;min-width:max-content;max-width:100%}.contact-directory-actions{flex:0 auto;justify-content:flex-end;gap:8px;width:max-content;min-width:0;max-width:100%;margin-left:auto}.contact-directory-select,.contact-filter-trigger{min-height:38px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 8px;font-size:13px;font-weight:600;display:flex}.contact-directory-select:hover,.contact-filter-trigger:hover{background:var(--surface-2)}.contact-directory-select>svg,.contact-filter-trigger>svg:first-child{color:var(--muted);flex:none}.contact-directory-select select{width:auto;max-width:190px;min-height:34px;color:var(--text);box-shadow:none;background-color:#0000;border:0;padding:0 24px 0 0;font-size:13px;font-weight:600}:root[data-theme=dark] .contact-directory-select select option,:root[data-theme=dark] .contact-filter-drawer select option,:root[data-theme=dark] .filter-picker select option{color:var(--text);background:var(--surface)}.contact-directory-search{border:1px solid var(--border-strong);background:var(--input);width:min(190px,24vw);min-width:170px;min-height:40px;color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:0 10px;display:flex}.contact-directory-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.contact-directory-search input{width:100%;min-width:0;min-height:36px;color:var(--text);box-shadow:none;background:0 0;border:0;outline:0;padding:0}.contact-directory-search .icon-button{min-width:28px;min-height:28px}.contact-toolbar-button{border:1px solid var(--border-strong);background:var(--surface);border-radius:6px;min-width:40px;min-height:40px;position:relative}.contact-toolbar-button:hover,.contact-toolbar-button.active{color:var(--blue);background:color-mix(in srgb, var(--blue) 10%, var(--surface));border-color:var(--blue)}.contact-filter-count{border:2px solid var(--surface);color:#fff;background:var(--blue);border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:700;display:grid;position:absolute;top:-6px;right:-5px}:root[data-theme=dark] .contact-filter-count{color:var(--bg)}.contact-directory-popover{z-index:45;border:1px solid var(--border-strong);background:var(--surface);border-radius:8px;width:min(340px,100vw - 32px);max-height:min(520px,100dvh - 220px);padding:12px;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 14px 34px #0003}.contact-directory-actions .contact-directory-popover{left:auto;right:0}.contact-directory-popover.compact{width:240px;padding:6px}.contact-directory-heading .contact-directory-popover.compact{top:calc(100% + 6px)}.contact-directory-popover.compact>button{text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 10px;display:flex}.contact-directory-popover.compact>button:hover{background:var(--surface-2)}.contact-directory-popover.compact>button>span{min-width:0}.contact-directory-popover.compact strong,.contact-directory-popover.compact small{display:block}.contact-directory-popover.compact small{color:var(--muted);margin-top:2px;font-size:11px}.contact-more-wrap .contact-directory-popover{left:auto;right:0}.contact-directory-popover>header,.contact-directory-popover>footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.contact-directory-popover>header{margin-bottom:10px}.contact-directory-popover>footer{border-top:1px solid var(--border);background:var(--surface);margin:10px -12px -12px;padding:10px 12px;position:sticky;bottom:-12px}.contact-directory-check-list{gap:2px;max-height:320px;display:grid;overflow:auto}.contact-directory-check-list label,.quick-picker>label{border-radius:5px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:38px;padding:7px 5px;font-size:12px;display:grid}.contact-directory-check-list label:hover,.quick-picker>label:hover{background:var(--surface-2)}.contact-directory-check-list input,.quick-picker input{width:16px;height:16px;min-height:0;accent-color:var(--blue)}.contact-directory-check-list small{color:var(--muted);font-variant-numeric:tabular-nums}.compact-field{margin-bottom:8px}.contact-picker-search{border:1px solid var(--border-strong);min-height:40px;color:var(--muted);background:var(--input);border-radius:6px;align-items:center;gap:8px;margin-bottom:8px;padding:0 9px;display:flex}.contact-picker-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.contact-picker-search input{width:100%;min-width:0;min-height:36px;color:var(--text);box-shadow:none;background:0 0;border:0;outline:0;flex:auto;padding:0}.contact-picker-search input::-webkit-search-cancel-button{display:none}.contact-picker-search .icon-button{min-width:28px;min-height:28px}.quick-picker{width:330px}.quick-picker>label{grid-template-columns:auto minmax(0,1fr)}.quick-picker>label:has(input:disabled){opacity:.65;cursor:wait}.quick-picker>label span small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.contact-active-filters{white-space:nowrap;align-items:center;gap:6px;padding:8px 2px 2px;display:flex;overflow-x:auto}.contact-active-filters>span,.contact-active-filters>button{border:1px solid var(--border);min-height:28px;color:var(--muted);background:var(--surface);border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;display:inline-flex}.contact-active-filters>span{background:0 0;border-color:#0000}.contact-active-filters>button:hover,.contact-active-filters>button.clear{color:var(--text);border-color:var(--border-strong)}.contact-directory-bulk{margin:8px 0 0}.contact-directory-table-wrap{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);scrollbar-width:thin;scrollbar-color:transparent transparent;border-radius:10px 10px 0 0;flex:320px;width:100%;min-width:0;min-height:0;margin-top:10px;overflow:auto}.contact-directory-table-wrap:hover,.contact-directory-table-wrap:focus-within{scrollbar-color:var(--border-strong) transparent}.contact-directory-state{min-height:220px;color:var(--muted);text-align:center;place-items:center;gap:10px;padding:28px;display:grid}.contact-directory-state .skeleton{width:min(520px,72%);height:12px}.contact-directory-state .skeleton:nth-child(2){width:min(380px,52%)}.contact-directory-state.error strong{color:var(--text)}.contact-directory-state.error .btn{margin-top:4px}.contact-directory-table{table-layout:auto;min-width:1140px;font-size:13px}.contact-directory-table thead{z-index:2;position:sticky;top:0}.contact-directory-table th{height:42px;color:var(--muted);background:var(--surface-2);letter-spacing:.03em;text-transform:uppercase;padding:8px 12px;font-size:12px;font-weight:500}.contact-directory-table td{border-color:var(--border);text-overflow:ellipsis;white-space:nowrap;max-width:260px;height:54px;padding:7px 12px;overflow:hidden}.contact-directory-table td:first-child,.contact-directory-table th.crm-selection-cell{width:48px;min-width:48px;padding:4px 8px}.contact-selection-target{cursor:pointer;border-radius:5px;place-items:center;width:32px;height:32px;display:grid}.contact-selection-target:hover{background:var(--surface-2)}.contact-selection-target input{width:18px;height:18px;min-height:0}.contact-directory-table td:nth-child(2){min-width:250px}.contact-directory-table tbody tr:hover td{background:color-mix(in srgb, var(--blue) 5%, var(--surface))}.contact-directory-table .crm-selected-row td{background:color-mix(in srgb, var(--blue) 13%, var(--surface))}.contact-name-cell{max-width:100%;color:var(--text)}.contact-name-cell>span:last-child{min-width:0}.contact-name-cell strong,.contact-name-cell small{text-overflow:ellipsis;white-space:nowrap;max-width:210px;display:block;overflow:hidden}.contact-name-cell small{color:var(--muted);align-items:center;gap:5px;margin-top:2px;font-size:11px;display:flex}.contact-kind-avatar{display:inline-grid;position:relative}.contact-kind-avatar.companies .avatar{border-radius:7px}.contact-inline-value{gap:8px}.contact-quick-action{border:1px solid var(--border-strong);width:36px;height:36px;color:var(--muted);background:var(--surface);border-radius:5px;flex:none;place-items:center;display:grid}.contact-quick-action:hover{color:var(--blue);border-color:var(--blue)}.contact-text-action{max-width:220px;color:var(--blue);white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex;overflow:hidden}.contact-text-action>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.contact-text-action>svg{flex:none}.contact-lifecycle{color:var(--muted)}.contact-table-tags{flex-wrap:nowrap;max-width:220px;overflow:hidden}.contact-table-tags .tag{text-overflow:ellipsis;white-space:nowrap;max-width:130px;overflow:hidden}.contact-date{color:var(--primary);background:var(--primary-soft);white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:11px}.contact-date.overdue{color:var(--danger);background:color-mix(in srgb, var(--danger) 10%, var(--surface))}.contact-date.due-soon{color:#805300;background:color-mix(in srgb, #be880c 15%, var(--surface))}:root[data-theme=dark] .contact-date.due-soon{color:#f3cd8e}.contact-owner{gap:7px}.contact-owner .avatar{width:24px;height:24px;font-size:9px}.contact-directory-pagination{border:1px solid var(--border);min-height:52px;color:var(--muted);background:var(--surface);border-top:0;border-radius:0 0 10px 10px;flex:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:8px 12px;font-size:12px;display:grid}.contact-directory-pagination>label,.contact-directory-pagination>div{gap:9px}.contact-directory-page-size{justify-self:start}.contact-directory-page-navigation{justify-self:center}.contact-directory-total{text-align:right;justify-self:end}.contact-directory-pagination select{width:74px;min-height:34px}.contact-directory-pagination strong{color:var(--text)}.contact-filter-drawer,#contact-filter-panel{gap:14px;display:grid}.contact-filter-entity-tabs,.contact-column-tabs{border-bottom:1px solid var(--border);gap:8px;display:flex;overflow-x:auto}.contact-filter-entity-tabs button,.contact-column-tabs button{min-height:40px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:0 8px;font-size:12px;display:flex}.contact-filter-entity-tabs button{flex:none}.contact-filter-entity-tabs button.active,.contact-column-tabs button.active{color:var(--blue);border-color:var(--blue)}.contact-filter-sort{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.contact-filter-sort .icon-button{border:1px solid var(--border-strong);min-width:42px;min-height:42px;margin-bottom:1px}.contact-columns-dialog{flex-direction:column;height:min(540px,100dvh - 150px);min-height:360px;display:flex}.contact-column-search{border:1px solid var(--border-strong);min-height:40px;color:var(--muted);background:var(--input);border-radius:6px;flex:none;align-items:center;gap:8px;margin:12px 0;padding:0 10px;display:flex}.contact-column-search:focus-within{border-color:var(--blue)}.contact-column-search input{min-width:0;min-height:38px;color:var(--text);box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:0}.contact-column-search .icon-button{min-width:28px;min-height:28px}.contact-column-options-scroll{scrollbar-width:thin;flex:auto;min-height:0;padding-right:4px;overflow:auto}.contact-columns-dialog .form-footer{background:var(--surface);flex:none;margin-top:12px;padding-top:12px}.contact-import-drop{border:1px dashed var(--border-strong);min-height:160px;color:var(--muted);background:var(--surface-2);cursor:pointer;text-align:center;border-radius:8px;place-items:center;gap:5px;margin:18px 0;padding:20px;display:grid;position:relative}.contact-import-drop strong{color:var(--text)}.contact-import-drop:focus-within{border-color:var(--blue);outline:3px solid var(--blue);outline-offset:2px}.contact-import-drop input{opacity:0;cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.contact-import-errors{border:1px solid color-mix(in srgb, var(--danger) 45%, var(--border));max-height:180px;color:var(--danger);background:color-mix(in srgb, var(--danger) 7%, var(--surface));border-radius:6px;padding:10px 12px;font-size:12px;overflow:auto}.contact-import-errors p{margin:3px 0}.contact-profile-summary{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:grid}.contact-profile-avatar .avatar{width:48px;height:48px;font-size:14px}.contact-profile-avatar.companies .avatar{border-radius:10px}.contact-profile-summary>div:nth-child(2){min-width:0}.contact-profile-summary>div:nth-child(2)>strong,.contact-profile-summary>div:nth-child(2)>span,.contact-profile-summary>div:nth-child(2)>small{display:block}.contact-profile-summary>div:nth-child(2)>span{color:var(--blue);align-items:center;gap:5px;margin-top:3px;font-size:11px;display:flex}.contact-profile-summary>div:nth-child(2)>small{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.contact-profile-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px}.crm-profile-tabs{scrollbar-width:thin;scrollbar-color:transparent transparent}.crm-profile-tabs:hover,.crm-profile-tabs:focus-within{scrollbar-color:var(--border-strong) transparent}.crm-profile-tabs::-webkit-scrollbar{height:4px}.crm-profile-tabs::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}.crm-profile-tabs:hover::-webkit-scrollbar-thumb{background:var(--border-strong)}.crm-profile-tabs:focus-within::-webkit-scrollbar-thumb{background:var(--border-strong)}.contact-profile-panel{min-height:300px;padding-top:10px}@keyframes contact-spin{to{transform:rotate(360deg)}}@media (max-width:1180px){.contact-directory-toolbar{flex-direction:column;align-items:stretch}.contact-directory-primary-filters,.contact-directory-actions{flex:none;width:100%;min-width:0}.contact-directory-primary-filters{flex-wrap:wrap}.contact-directory-actions{justify-content:flex-start;margin-left:0}.contact-directory-search{width:100%}}@media (max-width:720px){.contact-directory-header{min-height:44px}.contact-directory-heading h1{font-size:18px}.contact-create-button{width:44px;height:44px}.contact-directory-toolbar{padding:8px}.contact-directory-primary-filters,.contact-directory-actions{width:100%;min-width:0;overflow-x:visible}.contact-directory-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.contact-directory-primary-filters>.contact-directory-select,.contact-directory-primary-filters>.contact-filter-popover-wrap,.contact-directory-primary-filters .contact-filter-trigger{width:100%;min-width:0}.contact-directory-primary-filters .contact-directory-select select{width:100%;min-width:0;max-width:none}.contact-directory-actions{grid-template-columns:repeat(4,44px);justify-content:start;gap:8px;display:grid}.contact-directory-select,.contact-filter-trigger{border:1px solid var(--border);flex:none;min-height:44px}.contact-directory-actions .contact-directory-search{grid-column:1/-1;width:100%;min-width:0;min-height:44px}.contact-toolbar-button{flex:0 0 44px;min-height:44px}.contact-directory button{min-width:44px;min-height:44px}.contact-directory input:not([type=checkbox]):not([type=radio]),.contact-directory select{min-height:44px;font-size:16px}.contact-directory-check-list label,.quick-picker>label,.contact-columns-dialog .crm-column-options label{min-height:44px}.contact-directory-popover{z-index:75;top:auto;right:max(10px, var(--safe-right));bottom:calc(10px + var(--safe-bottom));left:max(10px, var(--safe-left));width:auto;max-height:min(calc(70dvh - var(--safe-top) - var(--safe-bottom)), 560px);position:fixed}.contact-directory-table-wrap{flex-basis:360px;min-height:0}.contact-directory-pagination{grid-template-columns:minmax(0,1fr) auto;align-items:center}.contact-directory-total{text-align:left;grid-area:1/1/auto/-1;justify-self:start}.contact-directory-page-size{grid-area:2/1}.contact-directory-page-navigation{grid-area:2/2}.contact-directory-table td:first-child,.contact-directory-table th.crm-selection-cell{width:52px;min-width:52px;padding:4px}.contact-selection-target{width:44px;height:44px}.contact-profile-summary{grid-template-columns:auto minmax(0,1fr)}.contact-profile-summary>.btn{grid-column:1/-1;width:100%}}.settings-page{min-width:0}.settings-page-heading{align-items:baseline;gap:10px;min-height:34px;margin:0 0 14px;display:flex}.settings-page-heading h1{letter-spacing:-.025em;margin:0;font-size:20px}.settings-page-heading span{color:var(--muted);font-size:19px}.settings-page-heading strong{color:var(--muted);font-size:15px;font-weight:550}.settings-mobile-nav{display:none}.settings-workspace{grid-template-columns:230px minmax(0,1fr);gap:16px;min-height:min(680px,100dvh - 136px);display:grid}.settings-sidebar{border:1px solid var(--border);background:var(--surface);scrollbar-color:transparent transparent;scrollbar-width:thin;border-radius:10px;align-self:start;max-height:calc(100dvh - 108px);padding:12px 0 18px;overflow-y:auto}.settings-sidebar:hover,.settings-sidebar:focus-within{scrollbar-color:color-mix(in srgb, var(--muted) 42%, transparent) transparent}.settings-sidebar::-webkit-scrollbar{width:5px}.settings-sidebar::-webkit-scrollbar-thumb{background:0 0;border-radius:99px}.settings-sidebar:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--muted) 42%, transparent)}.settings-sidebar:focus-within::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--muted) 42%, transparent)}.settings-menu-search{border:1px solid var(--border);min-height:38px;color:var(--muted);background:var(--bg);border-radius:19px;align-items:center;gap:8px;margin:0 12px 12px;padding:0 11px;display:flex}.settings-menu-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.settings-menu-search input{min-width:0;min-height:34px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-size:12px}.settings-menu-group+.settings-menu-group{border-top:1px solid color-mix(in srgb, var(--border) 72%, transparent);margin-top:7px;padding-top:7px}.settings-menu-group-toggle{width:100%;min-height:32px;color:var(--muted);text-align:left;background:0 0;border:0;grid-template-columns:16px minmax(0,1fr) 14px;align-items:center;gap:7px;margin:0;padding:7px 14px;font-size:11px;font-weight:650;display:grid}.settings-menu-group-toggle:hover{color:var(--text)}.settings-menu-group-toggle svg:last-child{opacity:.75;transition:transform .16s}.settings-menu-group-toggle[aria-expanded=false] svg:last-child{transform:rotate(-90deg)}.settings-menu-group>button{width:100%;min-height:38px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:0;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:8px;padding:8px 14px 8px 30px;font-size:12px;display:grid;position:relative}.settings-menu-group>button:hover{background:color-mix(in srgb, var(--primary) 5%, transparent)}.settings-menu-group>button.active{background:linear-gradient(90deg, color-mix(in srgb, var(--primary) 12%, transparent), color-mix(in srgb, var(--primary) 3%, transparent));color:var(--primary);font-weight:650}.settings-menu-group>button.active:before{background:var(--primary);content:"";border-radius:0 2px 2px 0;width:2px;position:absolute;top:5px;bottom:5px;left:0;right:auto}.settings-menu-group>button svg{opacity:.78}.settings-menu-empty{color:var(--muted);margin:18px 14px;font-size:11px;line-height:1.5}.settings-content{min-width:0}.settings-content-panel,.access-settings--embedded>.access-section-content{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:100%;overflow:hidden}.settings-content-header{justify-content:space-between;align-items:center;gap:14px;min-width:0;display:flex}.settings-content-header h2{margin:0;font-size:14px}.settings-content-header p{color:var(--muted);margin:4px 0 0;font-size:11px}.settings-content-actions{align-items:center;gap:8px;display:flex}.settings-inner-tabs{border-bottom:1px solid var(--border);gap:26px;min-height:48px;padding:0 20px;display:flex}.settings-inner-tabs button{border:0;border-bottom:2px solid var(--primary);min-height:48px;color:var(--text);background:0 0;padding:0 2px;font-size:12px;font-weight:650}.settings-account-layout{width:min(860px,100%);padding:26px 28px 32px}.settings-account-profile{align-items:center;gap:16px;margin-bottom:24px;display:flex}.settings-avatar-trigger{background:0 0;border:0;border-radius:50%;flex:none;padding:0;position:relative}.settings-avatar-trigger .avatar{border:2px solid #0000;width:56px;height:56px;font-size:15px;transition:border-color .16s,filter .16s}.settings-avatar-trigger:hover .avatar{border-color:var(--primary);filter:brightness(.94)}.settings-avatar-trigger:focus-visible .avatar{border-color:var(--primary);filter:brightness(.94)}.settings-avatar-camera{border:2px solid var(--surface);background:var(--primary);width:22px;height:22px;color:var(--on-primary);border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;bottom:-2px;right:-2px}.settings-account-identity{min-width:0}.settings-account-identity>strong,.settings-account-identity>span{display:block}.settings-account-identity>strong{font-size:15px}.settings-account-identity>span{color:var(--muted);margin-top:4px;font-size:12px}.settings-avatar-actions{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.settings-avatar-actions .btn{min-height:32px;padding:5px 10px;font-size:11px}.settings-avatar-remove{color:var(--danger)}.settings-account-identity>small{max-width:420px;color:var(--muted);margin-top:8px;font-size:10px;line-height:1.45;display:block}.settings-avatar-error{border:1px solid color-mix(in srgb, var(--danger) 42%, var(--border));background:color-mix(in srgb, var(--danger) 8%, var(--surface));max-width:520px;color:var(--danger);border-radius:6px;margin:-10px 0 18px;padding:9px 11px;font-size:11px}.settings-avatar-spinner{animation:.75s linear infinite settings-avatar-spin}@keyframes settings-avatar-spin{to{transform:rotate(360deg)}}.settings-profile-list{margin:0}.settings-profile-list>div,.settings-parameter-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(170px,.8fr) minmax(220px,1fr) minmax(260px,1.35fr);align-items:center;gap:24px;min-height:72px;padding:14px 8px;display:grid}.settings-profile-list dt,.settings-parameter-row>label{color:var(--text);font-size:12px;font-weight:650}.settings-profile-list dd{color:var(--muted);grid-column:2/-1;margin:0;font-size:12px}.settings-database-summary{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;margin-top:28px;padding:18px}.settings-summary-heading{align-items:center;gap:10px;margin-bottom:16px;display:flex}.settings-summary-heading>svg{color:var(--primary)}.settings-summary-heading strong,.settings-summary-heading span{display:block}.settings-summary-heading strong{font-size:12px}.settings-summary-heading span{color:var(--muted);margin-top:3px;font-size:10px}.settings-database-summary dl{border:1px solid var(--border);background:var(--border);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.settings-database-summary dl>div{background:var(--surface);padding:13px}.settings-database-summary dt{color:var(--muted);font-size:10px}.settings-database-summary dd{margin:5px 0 0;font-size:15px;font-weight:700}.settings-parameter-form{min-height:560px}.settings-parameter-row{margin:0 28px;padding:22px 8px}.settings-parameter-row p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.settings-input-prefix,.settings-input-suffix{align-items:stretch;width:min(245px,100%);display:flex}.settings-input-prefix span,.settings-input-suffix span{border:1px solid var(--border);background:var(--surface-2);min-width:44px;color:var(--muted);justify-content:center;align-items:center;padding:0 10px;font-size:11px;display:inline-flex}.settings-input-prefix span{border-right:0;border-radius:6px 0 0 6px}.settings-input-suffix span{border-left:0;border-radius:0 6px 6px 0}.settings-input-prefix input,.settings-input-suffix input{border-radius:0 6px 6px 0;min-width:0;min-height:40px}.settings-input-suffix input{border-radius:6px 0 0 6px}.settings-save-footer{border-top:1px solid var(--border);background:var(--surface-2);justify-content:flex-end;margin-top:26px;padding:14px 20px;display:flex}.settings-list-toolbar{border-bottom:1px solid var(--border);background:var(--surface-2);align-items:center;gap:10px;min-height:64px;padding:11px 14px;display:flex}.settings-list-toolbar>.settings-content-header{flex:1}.settings-list-toolbar .btn{flex:none}.settings-toolbar-search,.settings-compact-select{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--muted);border-radius:7px;align-items:center;gap:8px;padding:0 11px;display:flex}.settings-toolbar-search{width:min(260px,100%)}.settings-toolbar-search--push{margin-left:auto}.settings-toolbar-search:focus-within,.settings-compact-select:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.settings-toolbar-search input,.settings-compact-select select{min-width:0;min-height:34px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-size:12px}.settings-toolbar-search input{width:100%}.settings-compact-select{width:auto;min-width:190px}.settings-compact-select select{-webkit-appearance:none;appearance:none;flex:1}.settings-table{min-width:0;overflow-x:auto}.settings-table-head,.settings-table-row{grid-template-columns:minmax(180px,1fr) minmax(140px,.7fr) minmax(320px,2fr) 82px;align-items:center;gap:18px;min-width:760px;padding:0 20px;display:grid}.settings-table-head{min-height:43px;color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:600}.settings-table-row{border-top:1px solid var(--border);min-height:58px;color:var(--muted);font-size:11px}.settings-table-row:hover{background:color-mix(in srgb, var(--primary) 3%, transparent)}.settings-table-row>strong,.settings-table-row .settings-profile-name>strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex;overflow:hidden}.settings-table-row>span{min-width:0}.settings-stage-summary{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-row-actions{justify-content:flex-end;align-items:center;gap:5px;display:flex}.settings-row-actions .btn{min-height:32px;padding:6px 9px;font-size:11px}.settings-table--fields .settings-table-head,.settings-table--fields .settings-table-row{grid-template-columns:minmax(210px,1.3fr) minmax(140px,.8fr) minmax(130px,.7fr) 95px 82px}.settings-delete-dialog>p{color:var(--text);margin:0 0 12px;font-size:13px;line-height:1.6}.settings-delete-dialog .settings-delete-warning{border:1px solid color-mix(in srgb, var(--danger) 28%, var(--border));background:color-mix(in srgb, var(--danger) 7%, var(--surface));color:var(--muted);border-radius:7px;padding:12px 14px}.btn.settings-confirm-delete{background:var(--danger);border-color:var(--danger);color:#fff}.btn.settings-confirm-delete:hover:not(:disabled){background:color-mix(in srgb, var(--danger) 88%, black);border-color:color-mix(in srgb, var(--danger) 88%, black)}.settings-table--integrations .settings-table-head,.settings-table--integrations .settings-table-row{grid-template-columns:minmax(170px,.9fr) minmax(190px,1fr) 100px minmax(280px,1.6fr)}.settings-integration-foco>strong,.settings-integration-requirement{align-items:center;gap:9px;display:flex}.settings-integration-requirement{justify-content:space-between}.settings-integration-requirement>span{min-width:0}.settings-integration-requirement .btn{flex:none}.settings-table--teams .settings-table-head,.settings-table--teams .settings-table-row{grid-template-columns:minmax(170px,1fr) minmax(145px,.85fr) minmax(150px,.9fr) 86px 86px auto;min-width:850px}.settings-table--profiles .settings-table-head,.settings-table--profiles .settings-table-row{grid-template-columns:minmax(210px,1.3fr) minmax(110px,.6fr) minmax(210px,1.2fr) 82px 70px auto;min-width:900px}.settings-profile-name small{max-width:34ch;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;display:block;overflow:hidden}.settings-profile-name small.badge{width:-moz-fit-content;width:fit-content;margin-top:5px;display:inline-flex}.settings-no-results{color:var(--muted);text-align:center;margin:0;padding:60px 20px;font-size:12px}.settings-count-footer,.settings-footnote{border-top:1px solid var(--border);min-height:54px;color:var(--muted);justify-content:center;align-items:center;gap:16px;margin-top:auto;padding:12px 20px;font-size:11px;display:flex}.settings-footnote{justify-content:space-between}.settings-footnote a{color:var(--primary);align-items:center;gap:5px;display:inline-flex}.settings-content-panel>.pagination{border-top:1px solid var(--border);margin:0}.access-settings--embedded{min-width:0;display:block}.access-settings--embedded>.access-section-content{padding:0}.access-settings--embedded .section-title{border-bottom:1px solid var(--border);background:var(--surface-2);min-height:64px;margin:0;padding:12px 16px}.access-settings--embedded .section-title h2{font-size:14px}.access-settings--embedded .section-title p{font-size:11px}.access-settings--embedded .access-people-tabs{width:-moz-fit-content;width:fit-content;margin:14px 20px 0}.access-settings--embedded .access-search{max-width:360px;margin:14px 20px}.access-user-table-head{border-top:1px solid var(--border);min-height:38px;color:var(--muted);text-transform:uppercase;grid-template-columns:38px minmax(190px,1.4fr) minmax(135px,.8fr) minmax(135px,.8fr) auto auto;align-items:center;gap:14px;padding:0 20px;font-size:10px;font-weight:600;display:grid}.access-settings--embedded .access-user-list{border-top:0}.access-settings--embedded .access-user-row{padding-left:20px;padding-right:20px}.access-settings--embedded .inline-error{margin:14px 20px 0}@media (max-width:1180px){.settings-profile-list>div,.settings-parameter-row{grid-template-columns:minmax(150px,.8fr) minmax(180px,1fr) minmax(210px,1.2fr);gap:18px}.access-user-table-head{grid-template-columns:38px minmax(180px,1fr) minmax(125px,.7fr) auto auto}.access-user-table-head>span:nth-child(4){display:none}}@media (max-width:960px){.settings-workspace{grid-template-columns:205px minmax(0,1fr);gap:12px}.settings-menu-group>button{padding-left:20px}.settings-profile-list>div,.settings-parameter-row{grid-template-columns:minmax(145px,.8fr) minmax(200px,1.2fr)}.settings-profile-list dd{grid-column:2}.settings-parameter-row p{grid-column:1/-1;padding-left:163px}}@media (max-width:760px){.settings-page-heading{margin-bottom:10px}.settings-page-heading h1{font-size:18px}.settings-page-heading strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-mobile-nav{color:var(--muted);gap:5px;margin-bottom:10px;font-size:10px;display:grid}.settings-mobile-nav select{min-height:44px;color:var(--text)}.settings-workspace{min-height:0;display:block}.settings-sidebar{display:none}.settings-content-panel,.access-settings--embedded>.access-section-content{min-height:520px}.settings-account-layout{padding:22px 16px}.settings-profile-list>div,.settings-parameter-row{grid-template-columns:1fr;gap:8px}.settings-profile-list dd,.settings-parameter-row p{grid-column:auto;padding-left:0}.settings-parameter-row{margin:0 14px;padding:18px 4px}.settings-input-prefix,.settings-input-suffix{width:100%}.settings-database-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-list-toolbar{flex-wrap:wrap;align-items:stretch}.settings-list-toolbar>.settings-content-header{flex-basis:100%}.settings-list-toolbar .btn,.settings-compact-select,.settings-toolbar-search{min-height:44px}.settings-toolbar-search,.settings-toolbar-search--push{width:100%;margin-left:0}.settings-compact-select{flex:1;min-width:0}.settings-footnote{flex-direction:column;align-items:flex-start}.access-settings--embedded .section-title{flex-direction:column;align-items:stretch}.access-settings--embedded .section-title .btn{width:100%;min-height:44px}.access-settings--embedded .access-people-tabs{width:auto;margin:12px 14px 0}.access-settings--embedded .access-search{max-width:none;margin:12px 14px}.access-user-table-head{display:none}.access-settings--embedded .access-user-row{padding-left:14px;padding-right:14px}}@media (max-width:430px){.settings-page-heading span,.settings-page-heading strong{font-size:13px}.settings-database-summary dl{grid-template-columns:1fr}.settings-inner-tabs{padding:0 14px}.settings-save-footer{padding:12px 14px calc(12px + var(--safe-bottom))}}@font-face{font-family:Inter;src:url(/InterVariable.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(/poppins-regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(/poppins-semibold.ttf)format("truetype");font-weight:600 800;font-style:normal;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f6f8;--surface:#fff;--surface-2:#f0f1f4;--input:#fff;--card:#fff;--text:#24262f;--muted:#61636e;--border:#dfe1e7;--border-strong:#90949f;--primary:#30503a;--primary-soft:#e7eee8;--on-primary:#fff;--danger:#b41320;--blue:#11437e;--shadow:0 2px 6px #15162014;--sidebar:#eff0f3;--sidebar-muted:#61636e;--sidebar-width:224px;--radius:8px;--font-ui:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--z-sticky:10;--z-nav-scrim:20;--z-navigation:30;--z-popover:70;--z-toast:80;--z-skip:100;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);font-family:var(--font-ui);font-synthesis:none;font-size:14px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e0f17;--surface:#20222a;--surface-2:#2b2d37;--input:#23252c;--card:#262730;--text:#eaebf3;--muted:#b0b1b9;--border:#363842;--border-strong:#737783;--primary:#9ac9a6;--primary-soft:#25362d;--on-primary:#14291c;--danger:#ff979b;--blue:#7fafff;--shadow:0 2px 6px #0003;--sidebar:#20222a;--sidebar-muted:#b0b1b9}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button{color:inherit}a{color:var(--blue);text-decoration:none}button,a{transition:background-color .16s,color .16s,border-color .16s}button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}textarea:focus-visible{outline:3px solid var(--blue);outline-offset:3px}summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{text-wrap:balance;letter-spacing:-.015em;font-weight:600}h1{font-size:20px;line-height:1.35}h2{font-size:16px;line-height:1.45}h3{font-size:14px;line-height:1.5}p{line-height:1.65}small{color:var(--muted);font-size:12px}strong{font-weight:600}svg{vertical-align:middle;stroke-width:1.7px;flex-shrink:0}input,select,textarea{border:1px solid var(--border-strong);background:var(--input);color:var(--text);border-radius:6px;max-width:100%;min-height:36px;padding:7px 10px;font-size:13px;line-height:1.5}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{resize:vertical;min-height:78px}input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--primary)}select{padding-right:25px}input[type=number]{font-variant-numeric:tabular-nums}label{font-weight:400}hr{border:0;border-top:1px solid var(--border)}.muted,.caption{color:var(--muted)}.caption{margin:16px 0 0;font-size:12px;line-height:1.6}.success{color:var(--primary)}.overdue{color:var(--danger)!important}.full{grid-column:1/-1}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.btn{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;font-size:13px;font-weight:600;line-height:1.3;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2);border-color:var(--muted)}.btn.primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.btn.primary:hover:not(:disabled){filter:brightness(1.08)}.btn.ghost{background:0 0;border-color:#0000}.btn.danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 30%, var(--border));background:0 0}.icon-button{background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:7px;display:inline-flex}.icon-button:hover{background:var(--surface-2)}.badge,.tag{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:4px;align-items:center;gap:4px;padding:3px 7px;font-size:12px;font-weight:600;line-height:1.5;display:inline-flex}.tag{font-weight:400}.status-won,.status-success,.status-accepted,.status-active{background:var(--primary-soft);color:var(--primary)}.status-lost,.status-failed,.status-declined{background:color-mix(in srgb, var(--danger) 10%, var(--surface));color:var(--danger)}.status-sent,.status-open{background:color-mix(in srgb, var(--blue) 9%, var(--surface));color:var(--blue)}.warning,.status-waiting{background:color-mix(in srgb, #be880c 15%, var(--surface));color:#805300}[data-theme=dark] .warning,[data-theme=dark] .status-waiting{color:#f3cd8e}.avatar{background:var(--primary-soft);width:31px;height:31px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:10px;font-weight:600;display:inline-flex;overflow:hidden}.avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);height:100vh;height:100dvh;display:grid;overflow:hidden}.sidebar{background:var(--sidebar);color:var(--text);border-right:1px solid var(--border);min-width:0;min-height:0;z-index:var(--z-navigation);flex-direction:column;padding:10px 10px 12px;display:flex}.sidebar>:not(.sidebar-navigation){flex-shrink:0}.brand{color:inherit;min-height:36px;font-family:Poppins, var(--font-ui);letter-spacing:-.03em;align-items:center;gap:10px;padding:0 8px;font-size:23px;font-weight:600;display:flex}.brand img{border-radius:50%;width:32px;height:32px}.brand small{color:var(--sidebar-muted);letter-spacing:0;align-self:flex-end;margin-bottom:6px;font-size:12px;font-weight:400}.workspace-label{border-bottom:1px solid var(--border);align-items:center;gap:10px;margin:14px 8px 12px;padding:10px 0;font-size:12px;display:flex}.workspace-label small{color:var(--sidebar-muted);margin-top:3px;font-size:12px;display:block}.sidebar-navigation{flex:1;min-height:0;position:relative;overflow:hidden}.sidebar-nav-list{flex-direction:column;gap:2px;display:flex}.sidebar-nav-entry{flex-shrink:0;display:flow-root}.sidebar-nav-measure{visibility:hidden;pointer-events:none;height:0;position:absolute;top:0;left:0;right:0;overflow:hidden}.sidebar-nav-link{color:var(--sidebar-muted);white-space:nowrap;text-align:left;background:0 0;border:0;border-radius:6px;flex-shrink:0;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 10px;font-size:13px;display:flex;position:relative}.sidebar-nav-link svg{flex-shrink:0}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=dashboard]{--module-color:#8794ff;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=dashboard]{--module-color:#8794ff;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=leads]{--module-color:#d050f5;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=leads]{--module-color:#d050f5;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=deals]{--module-color:#ff7a22;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=deals]{--module-color:#ff7a22;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=contacts]{--module-color:#2ec4b6;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=contacts]{--module-color:#2ec4b6;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=companies]{--module-color:#5794ff;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=companies]{--module-color:#5794ff;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=tasks]{--module-color:#3dd9c5;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=tasks]{--module-color:#3dd9c5;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=proposals]{--module-color:#f2b84b;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=proposals]{--module-color:#f2b84b;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=marketing]{--module-color:#f69;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=marketing]{--module-color:#f69;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=automations]{--module-color:#a675ff;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=automations]{--module-color:#a675ff;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=inbox]{--module-color:#38bdf8;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=inbox]{--module-color:#38bdf8;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=reports]{--module-color:#818cf8;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=reports]{--module-color:#818cf8;--module-ink:#101218}:-webkit-any(.sidebar-nav-link,.search-result-icon)[data-module=settings]{--module-color:#94a3b8;--module-ink:#101218}:is(.sidebar-nav-link,.search-result-icon)[data-module=settings]{--module-color:#94a3b8;--module-ink:#101218}.sidebar-nav-link.active{background:var(--module-color,var(--primary-soft));color:var(--module-ink,var(--primary));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--module-ink,var(--primary)) 10%, transparent), 0 2px 8px color-mix(in srgb, var(--module-color,var(--primary)) 18%, transparent);font-weight:600}.sidebar-nav-link:hover:not(.active){background:var(--surface-2);color:var(--text)}.sidebar-nav-link:focus-visible{outline-offset:-3px}.nav-more-count{color:var(--sidebar-muted);margin-left:auto;font-size:11px}.nav-current-dot{background:var(--primary);border-radius:50%;width:5px;height:5px;position:absolute;top:6px;right:6px}.nav-overflow-popover{z-index:var(--z-popover);width:min(272px, calc(100vw - 24px - var(--safe-left) - var(--safe-right)));max-height:calc(100vh - 24px);overscroll-behavior:contain;max-height:calc(100dvh - 24px);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:0;padding:8px;position:fixed;top:auto;bottom:auto;left:auto;right:auto;overflow-y:auto;box-shadow:0 8px 28px #0003}.nav-overflow-popover h2{color:var(--muted);letter-spacing:0;margin:4px 10px 8px;font-size:12px}.nav-overflow-popover .sidebar-nav-link{min-height:44px}.overflow-nav-label,.sidebar .nav-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.nav-group{color:var(--sidebar-muted);letter-spacing:0;padding:16px 10px 6px;font-size:12px;display:block}.nav-count{background:var(--surface-2);border-radius:3px;margin-left:auto;padding:1px 5px;font-size:9px}.active .nav-count{color:var(--module-ink,var(--primary));background:color-mix(in srgb, var(--module-ink,var(--primary)) 12%, transparent)}.nav-divider{background:var(--border);flex-shrink:0;height:1px;margin:10px 8px}.sidebar-foot{color:var(--text);align-items:center;gap:8px;margin-top:auto;padding:12px 6px 0;font-size:12px;display:flex}.sidebar-foot small{color:var(--sidebar-muted);margin-top:3px;font-size:12px;display:block}.sidebar-foot .icon-button{width:36px;height:36px;color:var(--sidebar-muted);margin-left:auto}.sidebar-foot .icon-button:hover{background:var(--surface-2)}.demo-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:6px;height:6px}.app-main{flex-direction:column;min-width:0;min-height:0;display:flex}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;height:56px;min-height:56px;padding:0 20px;display:flex}.topbar-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:260px;font-size:15px;font-weight:600;overflow:hidden}.sidebar-toggle{color:var(--sidebar-muted);flex-shrink:0;align-self:flex-end;margin-bottom:8px}.topbar-brand{letter-spacing:-.02em;min-width:0;color:var(--text);align-items:baseline;gap:8px;font-size:18px;font-weight:600;display:flex}.topbar-brand small{letter-spacing:0;font-size:12px;font-weight:400}.global-search{border:1px solid var(--border);background:var(--input);min-width:160px;min-height:34px;color:var(--muted);text-align:left;border-radius:6px;flex:0 400px;align-items:center;gap:9px;padding:6px 10px;font-size:13px;display:flex}.global-search kbd{border:1px solid var(--border);font:11px var(--font-ui);border-radius:3px;margin-left:auto;padding:2px 4px}.topbar-actions{flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.environment-badge{background:var(--surface-2);color:var(--muted);border-radius:4px;padding:4px 7px;font-size:12px}.notification-button{position:relative}.notification-button>span{background:var(--danger);outline:2px solid var(--surface);border-radius:50%;width:5px;height:5px;position:absolute;top:6px;right:7px}.current-user{align-items:center;gap:9px;margin-left:6px;display:flex}.current-user strong,.current-user small{font-size:12px;display:block}.main-content{-webkit-overflow-scrolling:touch;outline:0;min-width:0;min-height:0;padding:20px;overflow:auto}.page-header{justify-content:space-between;align-items:center;gap:16px;min-width:0;margin-bottom:18px;display:flex}.page-title{margin:0 0 4px}.page-description{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-header select{max-width:200px;font-size:13px}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.toolbar select,.toolbar input{min-height:36px;font-size:12px}.toolbar>.tag-filter{width:130px}.toolbar .btn{font-size:12px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:18px}.panel>h2{align-items:center;gap:8px;display:flex}.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-title h2{margin:0;font-size:14px}.section-title a,.section-title>span{align-items:center;gap:4px;font-size:12px;display:flex}.metric-strip{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;padding:18px 0;display:grid}.metric-strip>div{border-right:1px solid var(--border);padding:0 20px}.metric-strip>div:last-child{border:0}.metric-strip span,.metric-strip small{font-size:12px;display:block}.metric-strip span{color:var(--muted);margin-bottom:8px}.metric-strip strong{letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-size:24px}.metric-strip small{margin-top:6px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:16px;margin-bottom:16px;display:grid}.pipeline-bar-row{margin:0 0 23px}.pipeline-bar-row:last-child{margin:0}.pipeline-bar-row>div:first-child{justify-content:space-between;gap:10px;margin-bottom:8px;font-size:12px;display:flex}.pipeline-bar-row>div:first-child>span{color:var(--muted)}.stacked-bar{background:var(--surface-2);border-radius:3px;gap:2px;height:10px;display:flex;overflow:hidden}.chart-legend{flex-wrap:wrap;gap:6px 12px;margin-top:9px;display:flex}.chart-legend span{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:flex}.chart-legend i{border-radius:1px;width:5px;height:5px}.goal-value{letter-spacing:-.025em;margin:26px 0 4px;font-size:29px;display:block}.goal-value+p{font-size:12px}progress{-webkit-appearance:none;appearance:none;background:var(--surface-2);width:100%;height:7px;accent-color:var(--primary);border:0;border-radius:3px;overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-2)}progress::-webkit-progress-value{background:var(--primary);border-radius:3px}.goal-value~p{font-size:12px}.attention-row{text-align:left;border:0;border-bottom:1px solid var(--border);background:0 0;align-items:center;gap:12px;width:100%;padding:13px 0;display:flex}.attention-row:last-child{border-bottom:0}.attention-row>svg{color:var(--primary)}.attention-row>span{flex:1;min-width:0}.attention-row strong{font-size:12px;display:block}.attention-row small{margin-top:4px;font-size:12px;display:block}.attention-row time{white-space:nowrap;font-size:12px}.attention-row:hover{color:var(--primary)}.channel-bar{margin-bottom:18px}.channel-bar>div{justify-content:space-between;margin-bottom:5px;font-size:12px;display:flex}.channel-bar progress{height:6px}.channel-bar:nth-of-type(odd) progress::-webkit-progress-value{background:var(--blue)}.attention-panel{margin-bottom:15px}.search-input{border:1px solid var(--border-strong);background:var(--input);min-width:200px;color:var(--muted);border-radius:6px;flex:1;align-items:center;gap:8px;padding-left:11px;display:flex}.search-input input{box-shadow:none;background:0 0;border:0;width:100%;min-width:0;padding-left:0}.filter-block{margin-bottom:14px}.advanced-filters{color:var(--muted);font-size:12px}.advanced-filters summary{cursor:pointer;align-items:center;gap:6px;min-height:32px;padding:4px 0;list-style:none;display:inline-flex}.advanced-filters .toolbar{border:1px solid var(--border);background:var(--surface);border-radius:6px;padding:12px}.saved-view{border:1px solid var(--border);border-radius:5px;display:inline-flex;overflow:hidden}.saved-view button{background:var(--surface-2);color:var(--text);border:0;padding:7px;font-size:12px}.table-topline{color:var(--muted);justify-content:space-between;gap:10px;margin:12px 0 10px;font-size:12px;display:flex}.table-topline strong{color:var(--text)}.table-wrap{-webkit-overflow-scrolling:touch;background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;position:relative;overflow:auto}.panel .table-wrap{border:0;border-radius:0}.table-wrap>.caption{padding:0 16px 15px}table{border-collapse:collapse;text-align:left;white-space:normal;width:100%;font-size:13px}th{color:var(--muted);background:var(--surface-2);white-space:nowrap;padding:10px 14px;font-size:12px;font-weight:500}td{border-bottom:1px solid var(--border);vertical-align:middle;min-width:90px;padding:11px 14px}td:first-child{min-width:210px}tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-2)}td small{margin-top:4px;font-size:12px;display:block}td .badge{margin-top:2px}td>svg{margin-right:6px}td.numeric{white-space:nowrap;font-variant-numeric:tabular-nums}.record-link{text-align:left;color:var(--blue);background:0 0;border:0;align-items:center;gap:11px;padding:0;display:flex}.record-link strong{font-size:13px}.record-link small{display:block}.text-link,.subtle-link{color:var(--blue);font-size:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.text-link:hover,.subtle-link:hover{text-decoration:underline}.subtle-link{color:var(--muted);margin-top:6px;font-size:12px}.tag-list{flex-wrap:wrap;gap:5px;display:flex}.pipeline-toolbar{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-height:56px;margin-bottom:12px;padding:9px 12px;display:flex}.pipeline-selector{flex:190px;align-items:center;gap:10px;min-width:0;display:flex}.pipeline-switcher{min-width:0;max-width:min(380px,100%);min-height:36px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:6px 8px;font-size:13px;font-weight:600;display:inline-flex}.pipeline-switcher:hover,.pipeline-switcher[aria-expanded=true]{background:var(--surface-2)}.pipeline-switcher>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pipeline-switcher>svg{color:var(--muted);flex-shrink:0}.pipeline-switcher .is-open{transform:rotate(180deg)}.pipeline-toolbar .toolbar{margin:0}.pipeline-toolbar>.crm-opportunity-search{border-radius:22px;flex:0 200px;min-width:130px;margin-left:auto}.pipeline-toolbar .crm-opportunity-search input{min-height:36px}.pipeline-filter-button{border:1px solid var(--border-strong);border-radius:5px;width:38px;height:38px;position:relative}.pipeline-filter-button.active{color:var(--blue);background:var(--surface-2)}.pipeline-filter-button>.badge{font-size:10px;position:absolute;top:-7px;right:-6px}.pipeline-catalog-container{-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;min-width:0;min-height:0;overflow:auto}.pipeline-catalog{max-width:1240px;margin:0 auto;padding:24px 16px}.pipeline-catalog-controls,.pipeline-catalog-sort,.pipeline-catalog-sort>label{align-items:center;gap:10px;display:flex}.pipeline-catalog-controls{flex-wrap:wrap;justify-content:space-between;margin-bottom:24px}.pipeline-catalog-controls>.search-input{flex:0 260px}.pipeline-catalog-sort{color:var(--muted);font-size:13px}.pipeline-catalog-sort select{max-width:225px}.pipeline-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr));gap:20px;display:grid}.pipeline-catalog-card{border:1px solid var(--border);min-width:0;min-height:210px;color:var(--text);background:var(--surface);text-align:center;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:32px 16px 20px;display:flex;position:relative}.pipeline-catalog-card:hover{background:var(--surface-2);border-color:var(--border-strong)}.pipeline-catalog-card.selected{border-color:var(--blue)}.pipeline-default{color:var(--blue);background:color-mix(in srgb, var(--blue) 12%, var(--surface));border-radius:4px;padding:3px 7px;font-size:11px;position:absolute;top:10px;right:10px}.pipeline-catalog-count{font-variant-numeric:tabular-nums;font-size:40px;font-weight:500;line-height:1.15}.pipeline-catalog-name{overflow-wrap:anywhere;font-size:14px;font-weight:500}.pipeline-catalog-updated{color:var(--muted);font-size:11px}.pipeline-catalog-create{color:var(--muted);background:0 0;border-style:dashed}.pipeline-create-label{border:1px solid var(--border-strong);border-radius:4px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;display:inline-flex}.pipeline-catalog-note{color:var(--muted);margin:20px 0 0;font-size:12px}.crm-filter-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin-bottom:10px;padding:12px}.crm-filter-panel[hidden]{display:none}.crm-filter-panel .filter-block{margin:0}.crm-filter-panel .filter-block>.toolbar{margin:0 0 8px}.crm-filter-panel .crm-quick-filters{margin:10px 0}.crm-forecast-summary{color:var(--muted);font-size:12px}.funnel-operational-summary{flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:13px;display:flex}.funnel-operational-summary strong{color:var(--text);font-weight:600}.segmented{border:1px solid var(--border);background:var(--surface);border-radius:5px;gap:3px;padding:3px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:3px;align-items:center;gap:6px;min-height:30px;padding:5px 9px;font-size:12px;display:flex}.segmented button.active{background:var(--surface-2);color:var(--text);font-weight:600}.pipeline-view-toggle{border-color:var(--border-strong);gap:0;padding:0}.pipeline-view-toggle button{justify-content:center;width:38px;height:36px;padding:6px}.pipeline-view-toggle button.active{color:var(--blue)}.main-content:has(>.crm-deals-workspace){flex:1}.crm-deals-workspace{width:100%;min-width:0}.crm-deals-workspace[data-view=funnel],.crm-deals-workspace[data-catalog=open]{flex-direction:column;height:100%;min-height:0;display:flex}.crm-deals-workspace[data-view=funnel]>*{flex-shrink:0}.crm-deals-workspace[data-catalog=open]>:not(.page-header):not(.pipeline-toolbar):not(.pipeline-catalog-container):not(dialog),.crm-deals-workspace[data-catalog=open]>.pipeline-toolbar>:not(.pipeline-selector){display:none}.crm-deals-workspace[data-catalog=open]>.pipeline-catalog-container{flex:auto}.crm-deals-workspace>.page-header{margin-bottom:12px}.crm-deals-workspace>.pipeline-toolbar{margin-bottom:8px}.crm-deals-workspace>.filter-block{margin-bottom:0}.crm-deals-workspace>.filter-block>.toolbar{margin:6px 0}.crm-deals-workspace>.crm-quick-filters{margin:8px 0}.crm-deals-workspace>.table-topline{flex-wrap:wrap;margin:6px 0}.crm-deals-workspace>.funnel-frame{flex:1 0 420px}.funnel-frame{flex-direction:column;min-width:0;min-height:420px;display:flex;overflow:hidden}.funnel-navigation{color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding-bottom:8px;font-size:12px;display:flex}.funnel-navigation-actions{align-items:center;gap:4px;min-width:0;display:flex}.funnel-navigation select{text-overflow:ellipsis;width:min(240px,40vw);min-width:0}.funnel-navigation .icon-button{width:36px;height:36px}.funnel-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-color:var(--border-strong) var(--surface-2);scrollbar-width:auto;flex:1;min-width:0;min-height:0;padding:2px 0 6px;overflow:auto hidden;container-type:inline-size}.funnel-columns{align-items:stretch;gap:12px;height:100%;min-height:0;display:flex;position:relative}.funnel-stage{background:0 0;flex-direction:column;flex:0 0 300px;width:300px;min-width:0;height:100%;display:flex}.funnel-stage.is-empty{flex-basis:180px;width:180px}.crm-funnel-dragging .funnel-stage.is-empty{flex-basis:300px;width:300px}.funnel-stage>header{flex-shrink:0;min-height:60px;padding:4px 14px 12px 0;position:relative}.funnel-stage:not(:last-child)>header:after{content:"";border-top:1px solid var(--border-strong);border-right:1px solid var(--border-strong);pointer-events:none;width:20px;height:20px;position:absolute;top:12px;right:0;transform:rotate(45deg)}.funnel-stage>header>div{align-items:center;gap:8px;padding-right:10px;display:flex}.funnel-stage h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px}.funnel-stage>header span{color:var(--muted);font-size:12px}.funnel-stage>header>strong{color:var(--muted);font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:12px;font-weight:400;display:block}.stage-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:none}.funnel-stage-stack{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-color:transparent transparent;scrollbar-width:thin;flex-direction:column;flex:1;gap:10px;min-height:0;padding:0 4px 8px 1px;display:flex;overflow-y:auto}.funnel-stage-stack>*{flex-shrink:0}.funnel-stage-footer{background:var(--bg);border-top:1px solid var(--border);flex-shrink:0;padding:8px 2px 0}.funnel-scroll::-webkit-scrollbar{width:12px;height:12px}.funnel-scroll::-webkit-scrollbar-track{background:var(--surface-2)}.funnel-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border:3px solid var(--surface-2);border-radius:8px}.funnel-stage-stack::-webkit-scrollbar{width:6px}.funnel-stage-stack::-webkit-scrollbar-track{background:0 0}.funnel-stage-stack::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}.funnel-stage:hover .funnel-stage-stack,.funnel-stage-stack:hover,.funnel-stage-stack:focus-within{scrollbar-color:color-mix(in srgb, var(--border-strong) 72%, transparent) transparent}.funnel-stage-stack:focus-visible{scrollbar-color:color-mix(in srgb, var(--border-strong) 72%, transparent) transparent}.funnel-stage:hover .funnel-stage-stack::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 72%, transparent)}.funnel-stage-stack:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 72%, transparent)}.funnel-stage-stack:focus-visible::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 72%, transparent)}.funnel-stage-stack:focus-within::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 72%, transparent)}.funnel-stage-stack::-webkit-scrollbar-thumb:hover{background:var(--border-strong)}@media (hover:none){.funnel-stage-stack{scrollbar-color:color-mix(in srgb, var(--border-strong) 72%, transparent) transparent}.funnel-stage-stack::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 72%, transparent)}}.deal-card{background:var(--card);border:1px solid var(--border);border-radius:10px;min-height:150px;transition:border-color .15s;position:relative}.deal-card:hover{border-color:var(--border-strong)}.deal-card:focus-within{border-color:var(--blue)}.card-main{text-align:left;width:100%;min-width:0;color:var(--text);overflow-wrap:anywhere;background:0 0;border:0;border-radius:9px 9px 0 0;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px 6px;display:flex}.card-heading{align-items:flex-start;gap:8px;width:100%;min-width:0;display:flex}.card-heading>.card-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.card-heading>.card-task-count{flex-shrink:0;padding-top:1px}.card-company{color:var(--blue);font-size:12px;line-height:1.5}.card-main h3,.card-title{letter-spacing:0;text-wrap:pretty;margin:0;font-size:13px;font-weight:600;line-height:1.45}.card-main>strong{margin:2px 0;font-size:13px}.card-contact,.card-owner{color:var(--muted);align-items:center;gap:5px;font-size:12px;display:flex}.card-task-count{color:var(--muted);white-space:nowrap;align-items:center;gap:3px;font-size:12px;font-weight:400;display:inline-flex}.card-tags{flex-wrap:wrap;gap:5px;padding:0 12px 8px;display:flex}.card-tags .tag{padding:1px 5px;font-size:12px}.deal-card footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:7px 12px;display:flex}.deal-card footer>span:first-child{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:flex}.deal-card footer .card-value{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;font-weight:600}.card-time,.card-next-task{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.card-time{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.card-next-task{padding:0 12px 8px;line-height:1.4}.card-next-task>span{align-items:center;gap:5px;display:inline-flex}.deal-card footer .avatar{width:23px;height:23px;font-size:10px}.funnel-empty{text-align:center;color:var(--muted);padding:24px 8px;font-size:12px}.add-in-column{color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:8px;font-size:12px;display:flex}.add-in-column:hover{color:var(--primary);background:var(--surface)}.empty-state{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:50px 25px;display:flex}.empty-state>svg{margin-bottom:14px}.empty-state h3{color:var(--text);margin-bottom:6px;font-size:14px}.empty-state p{max-width:50ch;margin:0;font-size:12px}.tabs{-webkit-overflow-scrolling:touch;border-bottom:1px solid var(--border);white-space:nowrap;gap:22px;margin:0 0 16px;display:flex;overflow:auto}.tabs>button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;min-height:40px;padding:10px 1px;font-size:13px}.tabs>button[aria-selected=true]{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.modal{border:1px solid var(--border);background:var(--surface);color:var(--text);width:min(540px,100vw - 30px);max-height:calc(100vh - 40px);border-radius:10px;max-height:calc(100dvh - 40px);padding:0;overflow:auto;box-shadow:0 4px 8px #0002}.modal.wide{width:min(870px,100vw - 30px)}.modal::backdrop{background:#08091199}.modal-head{background:var(--surface);border-bottom:1px solid var(--border);min-height:56px;z-index:var(--z-sticky);justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;display:flex;position:sticky;top:0}.modal-head h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:16px}.modal-body{min-width:0;padding:20px}.modal.side-panel{width:min(600px,92vw);max-width:none;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;box-shadow:none;border-width:0 0 0 1px;border-radius:0;margin:0 0 0 auto;overflow:hidden}.modal.side-panel[open]{flex-direction:column;display:flex}.modal.side-panel::backdrop{background:#08091166}.side-panel .modal-head{flex-shrink:0;position:static}.side-panel .modal-body{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:1;min-height:0;overflow:auto}.side-panel .detail-grid{grid-template-columns:1fr;gap:20px}.side-panel .detail-actions{gap:6px}.side-panel .deal-detail-heading,.side-panel .detail-status{flex-wrap:wrap}.modal-actions,.form-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;display:flex}.field{color:var(--muted);flex-direction:column;gap:6px;min-width:0;margin-bottom:15px;font-size:13px;display:flex}.field>input,.field>select,.field>textarea{width:100%;color:var(--text);font-size:14px}.searchable-select{z-index:1;position:relative}.searchable-select.is-open{z-index:var(--z-popover)}.searchable-select-control{border:1px solid var(--border-strong);background:var(--input);min-height:36px;color:var(--muted);border-radius:6px;grid-template-columns:15px minmax(0,1fr) 35px;align-items:center;padding-left:10px;display:grid}.searchable-select-control:focus-within{outline:3px solid var(--blue);outline-offset:3px}.searchable-select-control>input{width:100%;min-width:0;min-height:34px;color:var(--text);background:0 0;border:0;outline:0;padding:6px 8px;font-size:14px}.searchable-select-control>input:focus-visible{outline:0}.searchable-select-toggle{min-width:35px;color:var(--muted);background:0 0;border:0;border-left:1px solid #0000;border-radius:0 5px 5px 0;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}.searchable-select-toggle:hover:not(:disabled){border-left-color:var(--border);background:var(--surface-2);color:var(--text)}.searchable-select.is-open .searchable-select-toggle svg{transform:rotate(180deg)}.searchable-select-options{border:1px solid var(--border-strong);background:var(--input);max-height:min(310px,48dvh);color:var(--text);border-radius:7px;flex-direction:column;display:flex;position:absolute;left:0;right:0;overflow:hidden;box-shadow:0 10px 28px #0004}.searchable-select-options.is-bottom{top:calc(100% + 4px)}.searchable-select-options.is-top{bottom:calc(100% + 4px)}.searchable-select-results{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;min-height:0;padding:4px;overflow-y:auto}.searchable-select-results>button{width:100%;min-height:38px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.searchable-select-results>button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.searchable-select-results>button:-webkit-any(.is-active,:hover){background:var(--surface-2)}.searchable-select-results>button:is(.is-active,:hover){background:var(--surface-2)}.searchable-select-results>button[aria-selected=true]{background:var(--primary-soft);color:var(--primary);font-weight:600}.searchable-select-results>button[aria-selected=true].is-active{box-shadow:inset 0 0 0 1px var(--primary)}.searchable-select-summary,.searchable-select-empty{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.searchable-select-empty{padding:12px 10px}.searchable-select-summary{border-top:1px solid var(--border);background:var(--surface-2);flex-shrink:0;padding:7px 10px}.deal-editor-section:has(.searchable-select.is-open){z-index:2;position:relative;overflow:visible}.form-grid{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;min-width:0;margin:0;padding:0;display:grid}.form-hint{color:var(--muted);margin-bottom:20px;font-size:12px}.deal-editor-hint{max-width:72ch;margin-bottom:12px}.deal-editor-tabs{border-bottom:1px solid var(--border);gap:22px;margin-bottom:18px;display:flex}.deal-editor-tabs>button{min-height:42px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 2px;font-size:13px}.deal-editor-tabs>button[aria-selected=true]{color:var(--text);border-bottom-color:var(--blue);font-weight:600}.deal-editor-panel,.deal-editor-sections{min-width:0}.deal-editor-sections{gap:14px;display:grid}.deal-editor-section{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.deal-editor-section>header{border-bottom:1px solid var(--border);background:var(--surface-2);align-items:baseline;gap:10px;padding:12px 16px;display:flex}.deal-editor-section>header strong{flex-shrink:0;font-size:13px}.deal-editor-section>header span{color:var(--muted);font-size:12px}.deal-editor-section>.form-grid{padding:16px 16px 1px}.deal-editor-section>.crm-inline-empty{margin:0;padding:18px 16px}.deal-editor-form .modal-actions{z-index:2;background:var(--surface);margin:22px -20px -20px;padding:14px 20px;position:sticky;bottom:-20px;box-shadow:0 -5px 12px #00000010}.form-error{background:color-mix(in srgb, var(--danger) 8%, var(--surface));color:var(--danger);border-radius:5px;padding:12px;font-size:12px;line-height:1.6}.check-label{align-items:center;gap:9px;font-size:12px;display:flex}.proposal-item{grid-template-columns:2fr 1fr 1fr 30px;align-items:center;gap:10px;display:grid}.proposal-items{padding:14px 0}.pipeline-stage-editor{grid-template-columns:20px minmax(0,1fr) 110px 30px;align-items:center;gap:10px;display:grid}.money-total{color:var(--primary);font-size:23px}.record-summary{align-items:center;gap:15px;margin-bottom:22px;display:flex}.record-summary .avatar{width:45px;height:45px;font-size:13px}.record-summary>div{overflow-wrap:anywhere;flex:1;min-width:0}.record-summary p{margin:0;font-size:12px}.related-list p{font-size:12px}.related-list svg{margin-right:8px}.related-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;padding:15px 0;font-size:12px;display:flex}.related-row>span:first-of-type:not(.search-result-icon),.related-row>.search-result-icon+span{flex:1;min-width:0}.related-row>.search-result-icon{width:34px;height:34px;color:var(--module-color);background:color-mix(in srgb, var(--module-color) 16%, transparent);border-radius:8px;flex:0 0 34px;place-items:center;display:grid}.related-row>svg:last-child{color:var(--muted);flex-shrink:0}.related-row small{margin-top:4px;font-size:12px;display:block}.related-row:hover{color:var(--primary)}.related-row:hover>.search-result-icon{color:var(--module-ink);background:var(--module-color)}.timeline{padding:5px 0}.timeline>div{border-left:1px solid var(--border);margin-left:4px;padding:0 0 18px 24px;position:relative}.timeline>div:before{content:"";background:var(--primary);border-radius:50%;width:7px;height:7px;position:absolute;top:4px;left:-4px}.timeline small{font-size:12px}.timeline p{overflow-wrap:anywhere;margin:5px 0 0;font-size:12px}.deal-detail-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.deal-detail-heading h2{font-size:18px}.deal-detail-heading>div{overflow-wrap:anywhere;min-width:0}.deal-detail-heading .muted{margin-bottom:6px;font-size:12px}.deal-detail-heading>strong{white-space:nowrap;font-size:23px}.detail-status{color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}.detail-actions{margin:23px 0}.detail-grid{grid-template-columns:1fr 1fr;gap:26px;display:grid}.detail-grid h3{margin:0 0 12px}.detail-grid dl{grid-template-columns:95px minmax(0,1fr);gap:13px 9px;font-size:12px;display:grid}.detail-grid dt{color:var(--muted)}.detail-grid dd{overflow-wrap:anywhere;margin:0;line-height:1.6}.custom-field-summary{border-top:1px solid var(--border);flex-wrap:wrap;gap:28px;padding:18px 0;display:flex}.custom-field-summary small,.custom-field-summary strong{font-size:12px;display:block}.custom-field-summary strong{margin-top:4px}.note-form{margin-top:15px}.inline-form{background:var(--surface-2);border:1px solid var(--border);border-radius:7px;margin-bottom:20px;padding:18px}.activity-row{border-bottom:1px solid var(--border);align-items:center;gap:13px;padding:18px 0;font-size:12px;display:flex}.activity-row:last-child{border-bottom:0}.activity-row>div{flex:1;min-width:0}.activity-row strong{display:block}.activity-row small{margin-top:5px;font-size:12px;display:block}.activity-row time{white-space:nowrap;font-size:12px}.activity-row p{margin:8px 0 0;font-size:12px}.foco-source-badge{border-color:color-mix(in srgb, #6d5ee8 45%, var(--border));background:color-mix(in srgb, #6d5ee8 14%, var(--surface));width:-moz-fit-content;width:fit-content;color:color-mix(in srgb, #6d5ee8 72%, var(--text));display:inline-flex}.foco-sync-notice{border:1px solid color-mix(in srgb, #6d5ee8 32%, var(--border));background:color-mix(in srgb, #6d5ee8 7%, var(--surface));border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin:10px 0 16px;padding:12px 14px;font-size:12px;display:flex}.foco-provider-mark{color:#fff;background:#6d5ee8;border-radius:7px;flex:0 0 25px;place-items:center;width:25px;height:25px;font-weight:800;line-height:1;display:inline-grid}.foco-connect-dialog,.foco-connect-dialog form,.foco-link-dialog{gap:16px;display:grid}.foco-connect-dialog{width:min(520px,100%)}.foco-connect-dialog p,.foco-link-dialog>p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.foco-connect-intro,.foco-connection-summary{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;align-items:flex-start;gap:12px;padding:14px;display:flex}.foco-connect-intro>div,.foco-connection-summary>div{flex:1;gap:3px;display:grid}.foco-connect-intro p{margin-top:5px}.foco-connection-summary>.badge{margin-left:auto}.foco-security-note{border-left:2px solid color-mix(in srgb, #6d5ee8 55%, var(--border));padding-left:12px}.foco-open-link{align-items:center;gap:5px;width:-moz-fit-content;width:fit-content;display:inline-flex}.spin{animation:.85s linear infinite prisma-spin}.conversation-excerpt{margin-bottom:22px}.conversation-excerpt h3{align-items:center;gap:7px;display:flex}.conversation-excerpt p{background:var(--surface-2);border-radius:6px;padding:11px 13px;font-size:12px}.report-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;font-size:12px;display:flex}.calendar-scroll{overflow:auto}.calendar-grid{background:var(--border);border:1px solid var(--border);grid-template-columns:repeat(7,minmax(95px,1fr));gap:1px;min-width:700px;display:grid}.calendar-day-label{background:var(--surface-2);padding:10px;font-size:12px}.calendar-cell{background:var(--surface);height:180px;min-height:110px;padding:9px;overflow-y:auto}.calendar-cell>strong{font-size:12px}.calendar-cell.outside{background:var(--surface-2)}.calendar-cell button{text-align:left;background:var(--primary-soft);width:100%;color:var(--primary);border:0;border-radius:3px;margin-top:6px;padding:5px;font-size:12px;display:block}.calendar-cell time{font-weight:600;display:block}.settings-grid{grid-template-columns:1fr 1.2fr;gap:20px;display:grid}.settings-grid p{font-size:12px}.setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding:18px 0;display:flex}.setting-row:last-child{border-bottom:0}.setting-row strong{font-size:12px}.setting-row small{margin:5px 0;font-size:12px;display:block}.setting-row p{color:var(--muted);margin:10px 0 0;font-size:12px}.notice-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:15px 0;display:flex}.notice-row>div{flex:1}.notice-row p{margin:0 0 4px;font-size:12px}.notice-row.read{color:var(--muted)}.notice-row>svg{color:var(--primary);margin-top:3px}.toast{z-index:var(--z-toast);background:var(--text);max-width:min(520px,100vw - 30px);color:var(--surface);border-radius:7px;align-items:center;gap:12px;padding:12px 15px;font-size:12px;display:flex;position:fixed;bottom:22px;right:25px;box-shadow:0 4px 8px #0003}.toast .icon-button{width:25px;height:25px}.toast .icon-button:hover{background:#8883}.skip-link{background:var(--surface);z-index:var(--z-skip);padding:12px;position:fixed;top:-60px;left:20px}.skip-link:focus{top:10px}.menu-toggle,.nav-scrim{display:none}.login-page{min-height:100vh;background:var(--bg);place-items:center;min-height:100dvh;padding:35px;display:grid}.login-shell{border:1px solid var(--border);background:var(--surface);border-radius:12px;grid-template-columns:1fr 1.14fr;width:min(920px,100%);display:grid;overflow:hidden}.login-brand{color:#eef4ef;background:#30503a;flex-direction:column;justify-content:space-between;gap:45px;min-height:590px;padding:40px 35px;display:flex}.login-brand .brand{padding:0;font-size:35px}.login-brand .brand img{width:48px;height:48px}.login-brand h1{letter-spacing:-.03em;margin:15px 0;font-size:33px;line-height:1.25}.login-brand p{color:#d8e4dc;max-width:28ch;font-size:12px}.login-brand div>p:first-child{font-size:12px}.login-note{color:#d7e5da;align-items:center;gap:8px;font-size:12px;display:flex}.login-form{padding:50px 40px}.login-form h2{margin:22px 0 8px;font-size:24px}.login-form>p{color:var(--muted);font-size:12px;line-height:1.7}.profile-options{flex-direction:column;gap:10px;margin:25px 0;display:flex}.profile-options>button{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:7px;align-items:center;gap:12px;padding:12px 14px;display:flex}.profile-options>button:hover{background:var(--primary-soft);border-color:var(--primary)}.profile-options>button>span:nth-child(2){flex:1}.profile-options strong{font-size:12px;display:block}.profile-options small{margin-top:3px;font-size:12px;display:block}.login-form .login-footnote{margin-top:26px;font-size:12px}.login-theme{position:absolute;top:20px;right:25px}.recovery{min-height:100vh;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:100dvh;padding:30px;display:flex}.recovery p{max-width:65ch;font-size:12px}.prisma-loader{--prisma-loader-size:48px;width:100%;min-height:180px;color:var(--primary);place-items:center;display:grid}.prisma-loader svg{width:var(--prisma-loader-size);height:var(--prisma-loader-size);display:block;overflow:visible}.prisma-loader__path{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100px;vector-effect:non-scaling-stroke;animation:1.65s cubic-bezier(.45,0,.2,1) infinite prisma-loader-draw}.prisma-loader--screen{--prisma-loader-size:62px;min-height:100vh;min-height:100dvh;padding:calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(24px + var(--safe-left));background:var(--bg)}.prisma-loader--compact{--prisma-loader-size:34px;min-height:56px}@keyframes prisma-loader-draw{0%{stroke-dashoffset:100px;opacity:.15}58%,76%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:-100px;opacity:.15}}.skeleton{background:var(--surface-2);border-radius:5px;width:250px;height:18px;animation:1.5s ease-in-out infinite alternate pulse}.module-loading{color:var(--muted);flex-direction:column;gap:20px;padding:30px;font-size:12px;display:flex}.module-loading .skeleton{width:100%;height:80px}.module-loading.compact{gap:10px;padding:12px 0}.module-loading.compact .skeleton{width:min(100%,280px);height:12px}@keyframes pulse{to{opacity:.45}}@media (min-width:721px){.app-shell.rail{--sidebar-width:64px}.rail .sidebar{width:64px;padding:6px 8px 10px;transition:width .16s ease-out,box-shadow .16s ease-out;position:relative}.rail .sidebar-toggle{align-self:center;width:44px;height:44px;margin-bottom:4px}.rail .sidebar .brand{justify-content:center;min-height:44px;margin-bottom:6px;padding:0}.rail .sidebar .brand>span,.rail .sidebar .brand>small,.rail .workspace-label,.rail .nav-label,.rail .nav-group,.rail .sidebar-foot>span{display:none}.rail .sidebar .sidebar-nav-link{justify-content:center;min-height:44px;padding:10px}.rail .sidebar-nav-list{gap:0}.rail .nav-more-count{display:none}.rail .nav-count{text-align:center;min-width:15px;color:var(--text);padding:0 3px;font-size:10px;line-height:15px;position:absolute;top:2px;right:0}.rail .nav-divider{margin:8px 4px}.rail .sidebar-foot{justify-content:center;padding:6px 0 0}.rail .sidebar-foot .icon-button{width:44px;height:44px;margin:0}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])){width:240px;box-shadow:8px 0 24px #0002}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])){width:240px;box-shadow:8px 0 24px #0002}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-toggle{align-self:flex-start}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-toggle{align-self:flex-start}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand{justify-content:flex-start;padding-left:10px}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand{justify-content:flex-start;padding-left:10px}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand>.sidebar-brand-full{display:inline-flex}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand>.sidebar-brand-full{display:inline-flex}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand>.sidebar-brand-symbol{display:none}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .brand>.sidebar-brand-symbol{display:none}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-nav-link{justify-content:flex-start;gap:14px;padding-left:14px}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-nav-link{justify-content:flex-start;gap:14px;padding-left:14px}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) :-webkit-any(.nav-label,.nav-more-count,.sidebar-foot>span){display:block}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) :is(.nav-label,.nav-more-count,.sidebar-foot>span){display:block}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .nav-count{position:static}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .nav-count{position:static}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-foot{padding-left:10px}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-foot{padding-left:10px}.rail .sidebar:-webkit-any(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-foot .icon-button{margin-left:auto}.rail .sidebar:is(.peek,:has(:focus-visible),:has(.nav-more[aria-expanded=true])) .sidebar-foot .icon-button{margin-left:auto}}@media (min-width:1650px){.app-shell{--sidebar-width:240px}.main-content{padding:24px}.topbar{padding:0 24px}}@media (max-width:1200px){.app-shell{--sidebar-width:212px}.sidebar{padding-left:8px;padding-right:8px}.sidebar .sidebar-nav-link{padding:9px 10px;font-size:12px}.nav-group{font-size:12px}.main-content{padding:18px}.topbar{gap:12px;padding:0 18px}.metric-strip>div{padding:0 17px}.metric-strip strong{font-size:21px}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(255px,1fr)}.global-search{min-width:140px}.page-header{gap:12px}.page-header select{max-width:170px}.header-actions{gap:6px}.table-topline{flex-wrap:wrap}}@media (max-width:950px){.dashboard-grid,.settings-grid{grid-template-columns:1fr}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}.metric-strip>div:nth-child(2){border-right:0}.global-search{min-width:0}.global-search kbd,.current-user>span:last-child,.topbar-brand small{display:none}.topbar-actions{gap:5px}.page-header{flex-wrap:wrap}.header-actions{width:100%}.header-actions select{flex:1}.task-list .activity-row{grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:9px;display:grid}.task-list .activity-row>div{grid-column:2/-1}.task-list .activity-row>time{grid-column:2;margin-left:0}.task-list .activity-row>.badge{grid-column:3}.foco-sync-notice{flex-direction:column;align-items:flex-start}.activity-row>time{margin-left:46px}.detail-grid{gap:20px}.detail-grid dl{grid-template-columns:80px 1fr}.pipeline-toolbar{flex-wrap:wrap}}@media (hover:none) and (pointer:coarse){:root body input:not([type=checkbox]):not([type=radio]):not([type=range]),:root body select,:root body textarea{font-size:16px!important}}@media (max-width:720px){.app-shell{grid-template-columns:1fr}.sidebar{visibility:hidden;width:min(280px,100vw - 48px);padding:calc(14px + var(--safe-top)) calc(12px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(12px + var(--safe-left));transition:transform .18s ease-out;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.sidebar.open{visibility:visible;transform:translate(0)}.sidebar .sidebar-nav-link{min-height:44px;font-size:14px}.sidebar-toggle{display:none}.sidebar-foot .icon-button{width:44px;height:44px}.nav-group{font-size:12px}.nav-scrim{z-index:var(--z-nav-scrim);background:#08091199;border:0;display:block;position:fixed;top:0;bottom:0;left:0;right:0}.menu-toggle{display:inline-flex}.topbar{height:calc(56px + var(--safe-top));min-height:calc(56px + var(--safe-top));padding:var(--safe-top) max(8px, var(--safe-right)) 0 max(8px, var(--safe-left));gap:6px}.topbar-actions{gap:0}.global-search{background:0 0;border-color:#0000;flex:0 0 44px;justify-content:center;min-width:44px;min-height:44px;padding:10px}.global-search>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.topbar-brand{flex-shrink:0;font-size:17px}.environment-badge{display:none}.current-user{margin-left:2px}.current-user .avatar{width:28px;height:28px;font-size:9px}.topbar .icon-button{width:44px;height:44px}.main-content{padding:16px max(12px, var(--safe-right)) calc(16px + var(--safe-bottom)) max(12px, var(--safe-left))}.page-title{font-size:20px}.page-description{font-size:13px}.page-header{margin-bottom:16px}.btn{min-height:44px;font-size:13px}.icon-button{width:44px;height:44px;min-height:44px}.metric-strip{padding:20px 0}.metric-strip>div{padding:0 15px}.metric-strip strong{font-size:22px}.metric-strip small,.metric-strip span{font-size:12px}.metric-strip span{min-height:27px}.panel{padding:18px}.section-title{margin-bottom:19px}.section-title h2{font-size:13px}.dashboard-grid{gap:16px}.pipeline-bar-row>div:first-child,.pipeline-bar-row>div:first-child>span{font-size:12px}.chart-legend{gap:7px 10px}.chart-legend span{font-size:12px}.table-topline{font-size:12px;line-height:1.6}.toolbar{gap:8px}.toolbar select{flex:1;min-width:130px}.toolbar>.search-input{flex-basis:100%}.toolbar input,.toolbar select{min-height:44px}.toolbar>.btn{flex:1}.toolbar .tag-filter{flex:1;min-width:120px;display:block}.pipeline-toolbar>.toolbar{gap:8px;width:auto}.pipeline-toolbar>.toolbar>.btn{flex:none}.crm-deals-workspace>.page-header{flex-direction:row;align-items:center;gap:8px}.crm-deals-workspace>.page-header .header-actions{flex-shrink:0}.pipeline-toolbar>.crm-opportunity-search{flex:130px}.pipeline-toolbar .crm-opportunity-search input{min-height:44px}.funnel-operational-summary{flex-direction:column;gap:2px}.pipeline-toolbar select{font-size:13px}.pipeline-switcher{max-width:100%;min-height:44px}.pipeline-selector{flex-basis:100%}.pipeline-view-toggle button,.pipeline-filter-button,.pipeline-catalog-sort .icon-button{width:44px;height:44px}.pipeline-catalog{padding:12px 2px}.pipeline-catalog-controls{gap:12px;margin-bottom:16px}.pipeline-catalog-controls>.search-input{flex:100%}.pipeline-catalog-sort{justify-content:flex-end;gap:4px;width:100%}.pipeline-catalog-sort>label{gap:6px;min-width:0}.pipeline-catalog-sort select{min-width:0;max-width:190px;min-height:44px}.pipeline-catalog-controls input{min-height:44px}.pipeline-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(145px,100%),1fr));gap:12px}.pipeline-catalog-card{gap:10px;min-height:180px;padding:34px 10px 16px}.pipeline-catalog-count{font-size:32px}.crm-deals-workspace[data-view=funnel],.crm-deals-workspace[data-catalog=open]{height:auto}.crm-deals-workspace>.funnel-frame{flex:none;height:clamp(380px,65dvh,640px)}.funnel-navigation .icon-button{width:44px;height:44px}.funnel-stage,.funnel-stage.is-empty{flex-basis:min(300px,100vw - 48px);width:min(300px,100vw - 48px)}.funnel-stage h2{font-size:12px}.card-main h3{font-size:14px}.card-company,.card-contact,.deal-card footer>span:first-child{font-size:12px}.segmented button,.saved-view button,.advanced-filters summary,.add-in-column{min-height:44px}.saved-view button{min-width:44px}.tabs{gap:20px}.tabs>button{min-height:44px}.modal,.modal.wide{width:calc(100vw - 20px - var(--safe-left) - var(--safe-right));max-height:calc(100vh - 20px - var(--safe-top) - var(--safe-bottom));max-height:calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));border-radius:9px}.modal.side-panel{width:100vw;height:100vh;height:100dvh;max-height:100vh;border:0;border-radius:0;max-height:100dvh}.modal-head{padding:14px 17px}.modal-body{padding:18px}.modal.side-panel .modal-head{min-height:calc(56px + var(--safe-top));padding:calc(14px + var(--safe-top)) calc(17px + var(--safe-right)) 14px calc(17px + var(--safe-left))}.modal.side-panel .modal-body{padding-right:calc(18px + var(--safe-right));padding-bottom:calc(18px + var(--safe-bottom));padding-left:calc(18px + var(--safe-left))}.form-grid{grid-template-columns:1fr}.deal-editor-section>header{flex-direction:column;align-items:flex-start;gap:2px}.deal-editor-form .modal-actions{margin:20px -18px -18px;padding:12px 18px;bottom:-18px}.full{grid-column:auto}.field{font-size:12px}.field input,.field select,.field textarea{min-height:44px;font-size:16px}.modal-actions,.form-footer{flex-wrap:wrap}.modal-actions .btn,.form-footer .btn{flex:1}.proposal-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:7px}.proposal-item .field:first-child{grid-column:1/-1}.pipeline-stage-editor{grid-template-columns:15px minmax(0,1fr) 70px 44px;gap:6px}.deal-detail-heading{flex-direction:column;gap:10px}.deal-detail-heading h2{font-size:16px}.deal-detail-heading>strong{font-size:24px}.detail-status{flex-wrap:wrap}.detail-actions .btn{flex:1 0 40%}.detail-grid{grid-template-columns:1fr}.detail-grid dl{grid-template-columns:90px 1fr}.detail-grid dd{font-size:12px}.related-row{flex-wrap:wrap;min-height:48px;font-size:12px}.related-row .badge{font-size:12px}.activity-row{flex-wrap:wrap}.activity-row .badge{margin-left:auto}.activity-row>time{margin-left:45px}.activity-row .btn{margin-left:auto}.table-wrap table{font-size:13px}th,td{padding:12px}.setting-row{flex-wrap:wrap}.setting-row .btn{margin-left:auto}.notice-row{flex-wrap:wrap}.notice-row .btn{margin-left:auto}.notice-row p{font-size:12px}.toast{right:max(15px, var(--safe-right));bottom:calc(15px + var(--safe-bottom));left:max(15px, var(--safe-left));max-width:none}.toast .icon-button{width:44px;height:44px}.login-page{padding:calc(22px + var(--safe-top)) max(15px, var(--safe-right)) calc(22px + var(--safe-bottom)) max(15px, var(--safe-left))}.login-shell{grid-template-columns:1fr;max-width:460px}.login-brand{gap:25px;min-height:0;padding:25px}.login-brand .brand{font-size:29px}.login-brand .brand img{width:38px;height:38px}.login-brand h1{margin:10px 0;font-size:27px}.login-brand p{max-width:100%;font-size:12px}.login-note{display:none}.login-form{padding:27px 25px}.login-form h2{font-size:21px}.login-form>.badge{font-size:12px}.login-theme{z-index:5;color:var(--text);background:var(--surface);top:12px;right:18px}.profile-options>button{min-height:64px}.login-form .login-footnote{font-size:12px}.record-summary{flex-wrap:wrap}.record-summary .btn{margin-left:auto}.form-hint{font-size:12px}}@media (max-width:380px){.topbar .current-user{display:none}}@media (min-width:721px) and (pointer:coarse){.btn,.sidebar nav a,.tabs>button,.segmented button,.saved-view button,.advanced-filters summary,.add-in-column,.global-search,input:not([type=checkbox]),select{min-height:44px}.icon-button,.sidebar-foot .icon-button,.toast .icon-button{width:44px;height:44px}.proposal-item{grid-template-columns:2fr 1fr 1fr 44px}.pipeline-stage-editor{grid-template-columns:20px minmax(0,1fr) 110px 44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.prisma-loader__path{stroke-dashoffset:0;opacity:1}}.prisma-logo{flex-shrink:0;align-items:center;width:150px;display:inline-flex}.prisma-logo img,.brand .prisma-logo img{object-fit:contain;border-radius:0;width:100%;height:auto;display:block}.prisma-logo .prisma-logo-dark,.brand .prisma-logo .prisma-logo-dark,:root[data-theme=dark] .prisma-logo .prisma-logo-light{display:none}:root[data-theme=dark] .prisma-logo .prisma-logo-dark{display:block}.sidebar-brand-symbol{width:36px;display:none}.topbar-brand{align-items:center}.topbar-logo{width:100px}.login-logo{width:min(220px,100%)}@media (min-width:721px){.rail .sidebar .brand>.sidebar-brand-symbol{display:inline-flex}}@media (max-width:720px){.topbar-brand small{display:none}.login-logo{width:180px}}.access-settings:not(.access-settings--embedded){grid-template-columns:238px minmax(0,1fr);align-items:start;gap:16px;display:grid}.access-section-nav{border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:14px;position:sticky;top:18px}.access-section-nav h2{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:4px 8px 12px;font-size:12px}.access-section-nav>button{width:100%;min-height:42px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;font-size:13px;display:grid}.access-section-nav>button:hover,.access-section-nav>button.active{background:var(--primary-soft);color:var(--primary)}.access-section-nav>button.active{font-weight:650}.access-section-nav>button>span{background:var(--surface-2);min-width:24px;color:var(--muted);text-align:center;border-radius:10px;padding:2px 6px;font-size:11px}.access-model-note{border-top:1px solid var(--border);color:var(--muted);gap:9px;margin-top:14px;padding:12px 9px 4px;display:flex}.access-model-note svg{color:var(--primary);flex:none}.access-model-note p{margin:0;font-size:11px;line-height:1.5}.access-section-content{min-width:0;margin:0}.access-section-content .section-title{align-items:flex-start;margin-bottom:18px}.access-section-content .section-title h2{margin-bottom:4px}.access-section-content .section-title p{color:var(--muted);margin:0;font-size:12px}.access-people-tabs{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;gap:4px;margin-bottom:16px;padding:4px;display:flex}.access-people-tabs button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:7px 12px;font-size:12px;font-weight:600;display:inline-flex}.access-people-tabs button:hover{color:var(--text)}.access-people-tabs button.active{background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}.access-people-tabs button span{background:var(--primary-soft);min-width:22px;color:var(--primary);text-align:center;border-radius:10px;padding:1px 6px;font-size:10px}.access-search{max-width:430px}.access-user-list{border-top:1px solid var(--border)}.access-user-row{border-bottom:1px solid var(--border);grid-template-columns:38px minmax(190px,1.4fr) minmax(135px,.8fr) minmax(135px,.8fr) auto auto;align-items:center;gap:14px;min-height:76px;padding:12px 0;display:grid}.access-user-row>div{min-width:0}.access-user-row>div>small,.access-user-identity>span,.access-user-identity>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.access-user-row>div>strong,.access-user-identity>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.access-user-identity>span{margin-top:3px}.access-pending-row{min-height:84px}.access-pending-avatar{border:1px solid color-mix(in srgb, var(--blue) 28%, var(--border));background:color-mix(in srgb, var(--blue) 9%, var(--surface));width:34px;height:34px;color:var(--blue);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.access-pending-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.access-pending-actions .btn{min-height:34px;padding:6px 9px;font-size:11px}.access-card-grid{grid-template-columns:repeat(2,minmax(250px,1fr));gap:14px;display:grid}.access-card{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;min-width:0;padding:16px}.access-card>header,.access-card>footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.access-card>header>svg{color:var(--primary)}.access-card h3{margin:13px 0 6px;font-size:15px}.access-card>p{min-height:34px;color:var(--muted);margin:0 0 14px;font-size:12px}.access-card dl{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.access-card dl div{min-width:0}.access-card dt{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px}.access-card dd{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:12px;font-weight:600;overflow:hidden}.access-card>footer{border-top:1px solid var(--border);justify-content:flex-end;margin-top:16px;padding-top:12px}.access-fieldset,.permission-matrix fieldset{border:1px solid var(--border);border-radius:8px;min-width:0;margin:0 0 16px;padding:14px}.access-fieldset legend,.permission-matrix legend{color:var(--text);padding:0 7px;font-size:12px;font-weight:650}.access-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin-bottom:12px;display:grid}.check-row{min-height:34px;color:var(--text);align-items:center;gap:9px;font-size:12px;display:flex}.check-row input{width:16px;height:16px;accent-color:var(--primary)}.access-details{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;margin:0 0 14px}.access-details>summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:46px;padding:10px 14px;font-size:12px;font-weight:650;display:flex}.access-details>summary>span{color:var(--muted);align-items:center;gap:5px;font-size:11px;font-weight:500;display:flex}.access-details[open]{padding:0 14px 14px}.access-details[open]>summary{border-bottom:1px solid var(--border);margin:0 -14px 12px}.access-details>p{color:var(--muted);font-size:11px}.permission-group+.permission-group{margin-top:16px}.permission-group h3{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin:0 0 5px;font-size:11px}.permission-override{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:12px;min-height:44px;font-size:12px;display:grid}.permission-override:last-child{border-bottom:0}.permission-override span,.permission-override small{display:block}.permission-override small{color:var(--muted);margin-top:2px;font-size:10px}.permission-override select{min-height:32px;font-size:12px}.permission-matrix{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:5px 0 14px;display:grid}.permission-matrix fieldset{margin:0}.permission-matrix .check-row{align-items:flex-start}.access-day-picker{grid-template-columns:repeat(7,1fr);gap:5px;margin:10px 0 14px;display:grid}.access-day-picker label{border:1px solid var(--border);color:var(--muted);border-radius:6px;flex-direction:column;align-items:center;gap:4px;padding:8px 3px;font-size:10px;display:flex}.access-block-toggle{border:1px solid var(--border);border-radius:8px;align-items:flex-start;padding:12px}.access-block-toggle span,.access-block-toggle small{display:block}.access-block-toggle small{color:var(--muted);margin-top:3px}.access-callout{background:var(--primary-soft);color:var(--primary);border-radius:7px;gap:10px;margin-bottom:18px;padding:12px;display:flex}.access-callout svg{flex:none}.access-callout p{color:var(--text);margin:0;font-size:11px;line-height:1.5}.access-loading{color:var(--muted);gap:12px;display:grid}.inline-error{border:1px solid color-mix(in srgb, var(--danger) 45%, var(--border));background:color-mix(in srgb, var(--danger) 8%, var(--surface));color:var(--danger);border-radius:7px;margin-bottom:14px;padding:10px 12px;font-size:12px}.icon-button.danger{color:var(--danger)}@media (max-width:1100px){.access-user-row{grid-template-columns:38px minmax(180px,1fr) minmax(125px,.7fr) auto auto}.access-user-row>div:nth-of-type(3){display:none}.permission-matrix{grid-template-columns:1fr}}@media (max-width:950px){.access-settings{grid-template-columns:1fr}.access-section-nav{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:static}.access-section-nav h2,.access-model-note{grid-column:1/-1}.access-section-nav>button{grid-template-columns:20px minmax(0,1fr)}.access-section-nav>button>span{display:none}}@media (max-width:720px){.access-section-nav{grid-template-columns:1fr}.access-section-nav h2,.access-model-note{grid-column:auto}.access-card-grid,.access-check-grid{grid-template-columns:1fr}.access-people-tabs{grid-template-columns:1fr;display:grid}.access-user-row{grid-template-columns:38px minmax(0,1fr) auto}.access-user-row>div:not(.access-user-identity),.access-user-row>.badge{display:none}.access-pending-row>.access-pending-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.access-pending-row{grid-template-columns:38px minmax(0,1fr)}.access-pending-row>.badge{grid-column:2;justify-self:start;display:inline-flex}.access-pending-actions .btn,.access-pending-actions .icon-button{min-height:44px}.access-pending-actions .icon-button{min-width:44px}}.prisma-login-fields{flex-direction:column;gap:20px;margin-top:28px;display:flex}.prisma-login-fields .field{gap:8px;margin:0;font-size:13px}.prisma-field-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.prisma-auth-link{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:2px 0;font-weight:600}.prisma-auth-link:hover{text-decoration:underline}.prisma-auth-link:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px}.prisma-auth-link:disabled{cursor:default;opacity:.55}.prisma-login-fields input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:6px;padding:10px 12px}.prisma-password-field{display:flex;position:relative}.prisma-password-field input{padding-right:46px}.prisma-password-field .icon-button{top:2px;bottom:2px;width:40px;height:auto;position:absolute;right:2px}.prisma-login-submit{justify-content:center;min-height:44px}.prisma-auth-error{color:var(--danger);margin:0;font-size:13px;line-height:1.6}.prisma-auth-status{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));background:var(--primary-soft);color:var(--text);border-radius:6px;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.prisma-recovery-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.prisma-sync-warning{background:var(--surface);border-bottom:1px solid var(--border);color:var(--danger);justify-content:space-between;align-items:center;gap:12px;padding:10px 24px;font-size:12px;display:flex}.prisma-sync-warning button{flex-shrink:0}.prisma-load-progress{width:min(320px,100vw - 48px);color:var(--muted);text-align:center;flex-direction:column;gap:8px;margin-bottom:16px;font-size:12px;display:flex}.prisma-load-progress progress{width:100%;height:8px;accent-color:var(--primary)}@media (max-width:560px){.prisma-login-fields input{font-size:16px}.prisma-sync-warning{align-items:flex-start;padding:10px 16px}}:root{--select-color-scheme:light}:root[data-theme=dark]{--select-color-scheme:dark}select,select option,select optgroup{color-scheme:var(--select-color-scheme);background-color:var(--input);color:var(--text)}select[multiple],select[size]:not([size="0"]):not([size="1"]){background-color:var(--input)}select[multiple]:enabled option:checked:enabled,select[size]:not([size="0"]):not([size="1"]):enabled option:checked:enabled{color:highlighttext;background-color:highlight}:root select:disabled,:root select:disabled option,:root select:disabled optgroup,:root select option:disabled,:root select optgroup:disabled,:root select optgroup:disabled option{color:var(--muted)}select:disabled{cursor:not-allowed}@supports ((-webkit-appearance:base-select) or (appearance:base-select)){select:not([multiple]):not([size]){-webkit-appearance:base-select;appearance:base-select}select:not([multiple]):-webkit-any([size="0"],[size="1"]){-webkit-appearance:base-select;appearance:base-select}select:not([multiple]):is([size="0"],[size="1"]){-webkit-appearance:base-select;appearance:base-select}select:not([multiple]):not([size])::picker(select){-webkit-appearance:base-select;appearance:base-select}select:not([multiple]):-webkit-any([size="0"],[size="1"])::picker(select){-webkit-appearance:base-select;appearance:base-select}select:not([multiple]):is([size="0"],[size="1"])::picker(select){-webkit-appearance:base-select;appearance:base-select}select::picker(select){position-area:block-end span-inline-end;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;position-try-order:normal;background:var(--input);color:var(--text);color-scheme:var(--select-color-scheme);border:1px solid var(--border-strong);overscroll-behavior:contain;max-block-size:min(360px,65dvh);max-inline-size:calc(100vw - 24px);box-shadow:none;border-radius:6px;margin-block-start:4px;margin-block-end:4px;padding:4px;overflow:auto}select::picker-icon{color:var(--muted);flex-shrink:0;margin-inline-start:auto}select:not([multiple]):not([size]) option{white-space:normal;overflow-wrap:anywhere;min-block-size:36px;font:inherit;border-radius:3px;padding:8px 10px;font-weight:400}select:not([multiple]):-webkit-any([size="0"],[size="1"]) option{white-space:normal;overflow-wrap:anywhere;min-block-size:36px;font:inherit;border-radius:3px;padding:8px 10px;font-weight:400}select:not([multiple]):is([size="0"],[size="1"]) option{white-space:normal;overflow-wrap:anywhere;min-block-size:36px;font:inherit;border-radius:3px;padding:8px 10px;font-weight:400}select option:checked{background:var(--primary-soft);color:var(--text)}select option:enabled:-webkit-any(:hover,:focus-visible){background:var(--surface-2);color:var(--text);outline:2px solid var(--blue);outline-offset:-2px}select option:enabled:is(:hover,:focus-visible){background:var(--surface-2);color:var(--text);outline:2px solid var(--blue);outline-offset:-2px}select option::checkmark{color:currentColor}@media (max-width:720px){select:not([multiple]):not([size]) option{min-block-size:44px}select:not([multiple]):-webkit-any([size="0"],[size="1"]) option{min-block-size:44px}select:not([multiple]):is([size="0"],[size="1"]) option{min-block-size:44px}}@media (forced-colors:active){select::picker(select){color:canvastext;background:canvas;border-color:buttontext}select option:checked{color:highlighttext;background:highlight}}}
