/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-wider:.05em;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-text:var(--text);--color-brand-muted:var(--muted);--color-brand-line:var(--line);--color-brand-accent:var(--accent)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.inset-0{inset:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.table{display:table}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-28{height:calc(var(--spacing) * 28)}.h-full{height:100%}.w-2{width:calc(var(--spacing) * 2)}.w-28{width:calc(var(--spacing) * 28)}.w-full{width:100%}.max-w-\[70\%\]{max-width:70%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.-rotate-90{rotate:-90deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-6{gap:calc(var(--spacing) * 6)}.truncate{text-overflow:ellipsis;white-space:nowrap}.overflow-hidden,.truncate{overflow:hidden}.rounded-full{border-radius:3.40282e+38px}.bg-brand-accent{background-color:var(--color-brand-accent)}.bg-brand-line\/5{background-color:var(--color-brand-line)}@supports (color:color-mix(in lab,red,red)){.bg-brand-line\/5{background-color:color-mix(in oklab,var(--color-brand-line) 5%,transparent)}}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[9px\]{font-size:9px}.leading-none{--tw-leading:1;line-height:1}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-brand-muted{color:var(--color-brand-muted)}.text-brand-text{color:var(--color-brand-text)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-500{--tw-duration:.5s;transition-duration:.5s}@media (hover:hover){.hover\:opacity-90:hover{opacity:.9}}@media (min-width:40rem){.sm\:flex-row{flex-direction:row}}}:root{--background:#fff;--surface:#fff;--surface-strong:#fff;--surface-muted:#f7f6f2;--sidebar-background:#f7f5f0;--glass:#fff;--glass-line:#e1ded8;--text:#171717;--muted:#555;--line:#e1ded8;--line-strong:#8e8c87;--accent:#072f54;--accent-dark:#04233f;--accent-rgb:7,47,84;--ink-rgb:23,23,23;--blue:#52718c;--focus-ring:#52718c;--amber:#8a6200;--amber-bg:#fff7d6;--red:#b42318;--red-bg:#feeceb;--green:#24704a;--green-bg:#eaf5ef;--info-bg:#f2f5f7;--sand:#b2aba0;--container:#e1ded8;--brand-soft:#f7f5f0;--brand-line:#ded9d0;--brand-yellow:#fbc108;--brand-yellow-rgb:251,193,8;--shadow:0 10px 28px #17171717;--shadow-soft:none;--radius-panel:12px;--radius-panel-compact:10px;--radius-control:8px;--radius-control-small:8px;--radius-pill:999px;--squircle:var(--radius-panel)}*{box-sizing:border-box}html{scrollbar-gutter:stable;min-height:100%}@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}body{background-color:var(--background);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100%;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}:where(button,a,input,select,textarea,[role=button],[tabindex]):focus-visible{outline:3px solid var(--focus-ring)!important;outline-offset:2px!important}.appFrame{background-color:var(--background);min-height:100vh}.patternShell{background:var(--background)}.shell{width:auto;margin-left:308px;padding:24px 28px 34px}.blockHeader,.filterHeader,.formActions,.panelHeader,.sectionTitle,.topActions,.topbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.bottomFormActions{margin-top:28px}.bottomFormActions,.formActions.bottomFormActions{justify-content:flex-end}.formActions.bottomFormActions .primaryButton{flex:none;width:auto}.topbar{justify-content:space-between;gap:18px;margin-bottom:10px}.topbar,.topbarLogoWrap{align-items:center;min-width:0}.topbarLogoWrap{display:flex}.topbarLogo{object-fit:contain;width:100%;max-width:min(520px,44vw);height:auto;max-height:74px;display:block}.blockHeader,.filterHeader,.formActions,.topActions{justify-content:flex-start}.filterHeader{justify-content:space-between}.filterTitle{gap:10px}.filterTitle,.profileSelect{align-items:center;display:inline-flex}.profileSelect{gap:8px}.profileSelect span{color:var(--muted);font-size:.82rem;font-weight:760}.profileSelect select{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-control);color:var(--text);outline:none;min-height:40px;padding:0 12px}.eyebrow{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:.74rem;font-weight:800}h1,h2,h3,p{margin:0}h1,h2,h3,h4,h5,h6{color:var(--text)}h1{letter-spacing:0;font-size:clamp(1.9rem,3vw,2.9rem);font-weight:780}h2{font-size:1.1rem;font-weight:760}h3{font-size:1rem}.metrics{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:16px;display:grid}.adminPanel,.filters,.formBlock,.importPanel,.leadForm,.metricCard,.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--squircle);box-shadow:var(--shadow-soft)}.metricCard{color:inherit;text-align:left;flex-direction:column;justify-content:space-between;min-height:110px;padding:18px 20px;display:flex;position:relative;overflow:hidden}.metricCardButton{cursor:pointer;font:inherit}.metricCardButton:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.metricCard:before{content:none}.metricCard:hover{border-color:var(--line-strong);box-shadow:none;transform:none}.metricIcon{border-radius:var(--radius-control);color:var(--blue);width:42px;height:42px;box-shadow:none;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:flex;position:absolute;top:16px;right:16px}.metricCard.warning .metricIcon{color:var(--amber)}.metricCard.danger .metricIcon{color:var(--red)}.metricCard.success .metricIcon{color:var(--green)}.field span,.metricCard span{color:var(--muted);text-transform:uppercase;letter-spacing:.3px;z-index:1;margin-bottom:8px;padding-right:48px;font-size:.85rem;font-weight:600;display:block}.metricCard strong{color:var(--text);z-index:1;font-size:1.8rem;font-weight:800;line-height:1.1;display:block}.metricCard.success strong{background:linear-gradient(135deg,var(--green),#24543f);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.filterActions,.filterToggles,.leadLoadActions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.filterActions,.leadLoadActions{justify-content:flex-end}.bulkActions,.sectionActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ghostButton,.iconButton,.primaryButton,.toggle{border-radius:var(--radius-control);justify-content:center;align-items:center;gap:8px;min-height:38px;display:inline-flex}.ghostButton,.iconButton,.toggle{background:var(--surface);border:1px solid var(--line);color:var(--text)}.toggle{padding:0 12px}.toggle.active{background:var(--brand-soft);border-color:var(--brand-line);color:var(--accent-dark);font-weight:760}.primaryButton{background:var(--accent);border:1px solid var(--accent);color:#fff;padding:0 16px}.primaryButton:hover{background:var(--accent-dark)}.ghostButton{padding:0 12px}.bulkToggleButton.active{background:var(--brand-soft);border-color:var(--brand-line);color:var(--accent-dark);font-weight:760}.iconButton{width:40px;height:40px;padding:0}.iconButton.small{width:34px;height:34px;min-height:34px}.iconButton.danger{color:var(--red)}.ghostButton.danger{color:var(--red);border-color:#b4231838}.ghostButton.danger:hover,.iconButton.danger:hover{background:var(--red-bg)}button:disabled{cursor:not-allowed;opacity:.58}.notice{border-radius:var(--radius-panel);border:1px solid;align-items:flex-start;gap:10px;margin-bottom:14px;padding:12px 14px;display:flex}.notice p+p{margin-top:4px}.notice.danger{background:var(--red-bg);color:var(--red);border-color:#ba1a1a3d}.notice.warning{background:var(--amber-bg);border-color:rgba(var(--brand-yellow-rgb),.24);color:var(--amber)}.modalOverlay{z-index:80;background:#1422306b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.confirmDialog{background:var(--surface-strong);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:0 24px 80px rgba(var(--ink-rgb),.22);gap:16px;width:min(440px,100%);max-width:440px;padding:24px;display:grid}.confirmIcon{border-radius:var(--radius-control);justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.confirmIcon.warning{background:var(--amber-bg);color:var(--amber)}.confirmDialog h3{margin-top:4px;font-size:1.35rem}.confirmText{color:var(--muted);margin-top:8px;line-height:1.55}.confirmActions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.caseSummaryDialog{width:min(620px,100%);max-width:620px}.caseSummaryPreview{border:1px solid var(--line);color:var(--text);-webkit-user-select:text;user-select:text;white-space:pre-wrap;background:#ffffffd6;border-radius:12px;max-height:min(48vh,360px);padding:14px;font-size:.9rem;font-weight:560;line-height:1.55;overflow:auto}.pipelineMoveDialog{width:min(760px,100%);max-width:760px;max-height:min(86vh,760px);overflow-y:auto}.pipelineMoveFormGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.pipelineMoveFormGrid .field{min-width:0}.pipelineMoveFormGrid .field.full{grid-column:1/-1}.pipelineMoveFormGrid input:disabled{background:var(--brand-soft);color:var(--muted)}.pipelineRollbackDialog{max-width:560px}.newOpportunityDialog{background:var(--surface-strong);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:0 24px 80px rgba(var(--ink-rgb),.22);gap:18px;width:min(640px,100%);max-width:640px;max-height:min(88vh,720px);padding:24px;display:grid;overflow-y:auto}.newOpportunityDialogHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;display:flex}.newOpportunityDialogTitle{align-items:center;gap:14px;min-width:0;display:flex}.newOpportunityDialogTitle h3{color:var(--text);margin:4px 0 0;font-size:1.35rem;font-weight:820;line-height:1.15}.newOpportunityDialogIcon{background:var(--brand-soft);border-radius:var(--radius-control);color:var(--accent);justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.newOpportunityDialogBody{gap:16px;display:grid}.newOpportunitySearchWrap{position:relative}.newOpportunitySearchIcon{color:var(--muted);pointer-events:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.newOpportunityClientResults{border:1px solid var(--line);border-radius:14px;gap:6px;max-height:300px;padding:8px;display:grid;overflow-y:auto}.newOpportunityClientOption{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;gap:3px;width:100%;padding:11px 12px;transition:background .2s,color .2s;display:grid}.newOpportunityClientOption:focus-visible,.newOpportunityClientOption:hover{background:var(--surface-muted);color:var(--accent-dark);outline:none}.newOpportunityClientName{font-size:.92rem;font-weight:780}.newOpportunityClientMeta,.newOpportunityCreateRow span,.newOpportunityEmptyState{color:var(--muted);font-size:.78rem;font-weight:650}.newOpportunityEmptyState{padding:12px}.newOpportunityCreateRow{background:var(--surface);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.newOpportunityCreateRow>div{gap:3px;display:grid}.newOpportunityCreateRow strong{color:var(--text);font-size:.92rem;font-weight:780}.newOpportunityDialogActions{border-top:1px solid var(--line);justify-content:flex-end;padding-top:16px;display:flex}@media (max-width:640px){.newOpportunityDialog{padding:18px}.newOpportunityCreateRow{flex-direction:column;align-items:stretch}.newOpportunityCreateRow .primaryButton,.newOpportunityDialogActions .ghostButton{width:100%}}.pipelineRollbackActions{align-items:stretch}.financialFields{gap:18px;display:grid}.financialProBonoNotice{margin-bottom:0}.documentGeneratorPanel{background:var(--brand-soft);border:1px solid var(--line);border-radius:var(--radius-panel);justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:14px;display:flex}.documentGeneratorPanel>div{gap:4px;min-width:0;display:grid}.documentGeneratorPanel strong{color:var(--text);font-size:.95rem;font-weight:800}.documentGenerationFeedback,.documentGeneratorPanel span{color:var(--muted);font-size:.82rem;font-weight:650}.documentTemplateSection{gap:16px;display:grid}.fileUploadButton{cursor:pointer;position:relative}.fileUploadButton input{display:none}.documentTemplateHelp{gap:6px;display:grid}.documentTemplateHelp .adminSectionHint{margin-bottom:0}.documentMarkerText{color:var(--muted);margin:-2px 0 8px;font-size:.78rem;font-weight:650;line-height:1.5}.documentMarkerText code{color:var(--accent-dark);white-space:nowrap;margin-right:8px;font-family:inherit;font-size:.78rem;font-weight:750}.documentsPanel{gap:18px;display:grid}.documentsCard,.documentsHero{background:var(--surface);border:1px solid var(--line);border-radius:var(--squircle);box-shadow:var(--shadow-soft)}.documentsHero{justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex}.documentsHero h2{color:var(--text);margin:0 0 7px;font-size:1.28rem;font-weight:820;line-height:1.2}.documentsHero p{color:var(--muted);max-width:760px;margin:0;font-size:.92rem;font-weight:560;line-height:1.5}.documentsLayout{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;gap:18px;display:grid}.documentsColumn{gap:18px;min-width:0;display:grid}.documentsCard{gap:16px;padding:20px;display:grid}.documentsFlowCard{gap:22px}.documentStep{grid-template-columns:30px minmax(0,1fr);gap:14px;display:grid;position:relative}.documentStep+.documentStep{border-top:1px solid var(--line);padding-top:20px}.documentStepNumber{color:var(--accent);z-index:1;background:0 0;border:0;border-radius:8px;justify-content:center;align-self:start;align-items:center;width:30px;height:30px;display:inline-flex;position:relative}.documentStepNumber.completed{background:var(--green-bg);color:var(--green);border-color:#2f6b4f47}.documentStepNumber svg{flex:none}.documentStepSource .documentStepNumber{margin-top:28px}.documentStepSourceSearch .documentStepNumber{margin-top:8.5px}.documentStepModels .documentStepNumber{align-self:center}.documentsSearchField{margin-bottom:-2px}.documentSearchPanel{gap:10px;display:grid}.selectedDocumentSource{background:#e8f1ea80;border:1px solid #2f6b4f38;border-radius:16px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.documentModelIcon,.documentSourceIcon{color:var(--accent);background:0 0;border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.selectedDocumentSource small,.selectedDocumentSource span,.selectedDocumentSource strong{display:block}.selectedDocumentSourceText{min-width:0}.selectedDocumentSource strong{color:var(--text);font-size:.94rem;font-weight:800}.selectedDocumentSource small,.selectedDocumentSource span{color:var(--muted);font-size:.8rem;font-weight:650;line-height:1.35}.selectedDocumentSource .compactAction{white-space:nowrap;min-height:34px}.documentDataList,.documentMissingFields,.documentSourceList{gap:10px;display:grid}.documentSourceList{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel-compact);gap:0;overflow:hidden}.documentSourceOption{border:0;border-bottom:1px solid rgba(var(--ink-rgb),.08);color:var(--text);text-align:left;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px 14px;transition:background .16s,color .16s;display:grid}.documentSourceOption:last-child{border-bottom:0}.documentSourceOption.active,.documentSourceOption:hover{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.documentSourceOption.active,.documentSourceOption:hover{background:color-mix(in srgb,var(--accent) 5%,var(--surface))}}.documentSourceOption:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;z-index:1;position:relative}.documentSourceOptionContent{gap:4px;min-width:0;display:grid}.documentSourceHeading{flex-wrap:wrap;align-items:center;gap:5px 8px;display:flex}.documentSourceCode{color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:.015em;font-size:.72rem;font-weight:820}.documentSourceType{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.66rem;font-weight:760}.documentSourceName{color:var(--text);font-size:.9rem;font-weight:800;line-height:1.25}.documentSourceMeta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0;font-size:.78rem;font-weight:620;line-height:1.35;display:flex}.documentSourceSubject{overflow-wrap:anywhere;min-width:0}.documentSourceStatus{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:.72rem;font-weight:740;display:inline-flex}.documentSourceStatus:before{background:var(--accent);content:"";border-radius:999px;width:5px;height:5px}.documentSourceChevron{color:var(--muted);transition:color .16s,transform .16s}.documentSourceOption:focus-visible .documentSourceChevron,.documentSourceOption:hover .documentSourceChevron{color:var(--accent);transform:translate(2px)}.documentModelTablePanel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel-compact);overflow:hidden}.documentModelTable{border-collapse:collapse;width:100%}.documentModelTable th{background:var(--surface-muted);border-bottom:1px solid var(--line);color:var(--muted);letter-spacing:.04em;text-align:left;text-transform:uppercase;padding:12px 14px;font-size:.72rem;font-weight:850}.documentModelTable td:last-child,.documentModelTable th:last-child{width:180px}.documentModelTable td{border-bottom:1px solid rgba(var(--ink-rgb),.08);color:var(--text);vertical-align:middle;padding:12px 14px;font-size:.88rem;font-weight:760}.documentModelTable tbody tr{cursor:pointer;transition:background .16s}.documentModelTable tbody tr:hover td{background:rgba(var(--accent-rgb),.05)}.documentModelTable tbody tr.selected td{background:#e8f1ea9e;box-shadow:inset 0 1px #2f6b4f33,inset 0 -1px #2f6b4f33}.documentModelTable tbody tr.selected .documentModelTableButton strong{color:var(--green)}.documentModelTable tbody tr:last-child td{border-bottom:0}.documentModelTableButton{color:var(--text);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;width:100%;min-height:0;padding:0;display:inline-flex}.documentModelTableButton svg{color:var(--accent);stroke-width:2.2px;flex:none}.documentModelTableButton strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:820;overflow:hidden}.documentsDataCard{background:var(--surface);border-color:var(--line);position:sticky;top:18px}.documentsDataIntro{border-bottom:1px solid rgba(var(--ink-rgb),.1);gap:12px;padding-bottom:14px;display:grid}.documentsDataTitle{color:var(--accent-dark);align-items:center;gap:10px;display:flex}.documentsDataTitle svg{color:var(--accent);stroke-width:2.2px;flex:none}.documentsDataTitle h3{color:var(--text);margin:0;font-size:1.02rem;font-weight:840}.documentsDataIntro p{color:var(--muted);margin:0;font-size:.84rem;font-weight:590;line-height:1.5}.documentsEmptyGuidance{background:var(--surface-muted);border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:16px;justify-content:center;align-items:center;min-height:150px;padding:20px;font-size:.9rem;font-weight:650;line-height:1.45;display:flex}.documentDataSection{gap:10px;display:grid}.documentDataSection+.documentDataSection{border-top:1px solid var(--line);padding-top:14px}.documentDataSectionTitle{color:var(--text);align-items:center;gap:8px;display:flex}.documentDataSectionTitle svg{color:var(--green)}.documentDataSection.missing .documentDataSectionTitle svg{color:var(--amber)}.documentDataSectionTitle strong{font-size:.9rem;font-weight:800}.documentDataRow{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel-compact);gap:3px;padding:11px 12px;display:grid}.documentDataRow span{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:.72rem;font-weight:780}.documentDataRow strong{color:var(--text);overflow-wrap:anywhere;font-size:.9rem;font-weight:760}.documentDataRow small{color:var(--muted);font-size:.72rem;font-weight:650}.documentsAllSet{background:var(--green-bg);color:var(--green);border:1px solid #2f6b4f2e;border-radius:14px;margin:0;padding:12px;font-size:.84rem;font-weight:720}.documentsActions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:14px;display:flex}.documentsFeedback{background:var(--info-bg);border:1px solid var(--line);color:var(--text);border-radius:14px;margin:0;padding:12px;font-size:.84rem;font-weight:690;line-height:1.4}@media (max-width:1180px){.documentsLayout{grid-template-columns:1fr}.documentsDataCard{position:static}}@media (max-width:720px){.documentsHero{flex-direction:column;align-items:flex-start;padding:18px}.documentsCard{padding:16px}.documentModelTable td:last-child,.documentModelTable th:last-child{width:112px}.documentsActions .ghostButton,.documentsActions .primaryButton{width:100%}}.adminPanel,.filters,.formBlock,.importPanel,.leadForm,.panel{padding:0}.formBlock{background:var(--surface-strong);border:1px solid var(--glass-line);border-radius:var(--radius-panel);box-shadow:0 4px 20px rgba(var(--ink-rgb),.04);flex-direction:column;padding:32px;display:flex;position:relative;overflow:hidden}.formBlock .blockHeader{border-bottom:1px solid var(--line);align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;display:flex}.formBlock .blockHeader h3{color:var(--text);letter-spacing:-.02em;margin:0;font-size:1.2rem;font-weight:800}.formBlock .blockHeader svg{color:var(--accent);background:var(--brand-soft);border-radius:10px;flex:none;width:40px;height:40px;padding:8px}.gptImportDialog{border-color:#2f6b4f42;width:min(620px,100%);max-width:620px}.gptImportDialogHeader{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.gptImportDialogHeader>div:first-child{min-width:0}.gptImportDialogHeader h3{margin-top:12px}.gptImportDialog .gptImportTextarea{resize:vertical;border-color:#2f6b4f38;min-height:180px}.gptImportTriggerButton{background:var(--green-bg);color:var(--green);border-color:#2f6b4f42;font-weight:760}.gptImportTriggerButton:hover{background:#dcebdd;border-color:#2f6b4f66}.gptImportPrimaryButton,.gptImportPrimaryButton:hover{background:var(--green);border-color:var(--green)}.gptImportPrimaryButton:hover{filter:brightness(.9)}.tipoClienteToggle{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.tipoClienteOption{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-bottom:-1px;padding:8px 12px;font-size:.9rem;font-weight:650;transition:background .16s,border-color .16s,color .16s;display:inline-flex}.tipoClienteOption:hover{background:var(--brand-soft);color:var(--accent-dark)}.tipoClienteOption.active{border-bottom-color:var(--accent);color:var(--accent-dark)}.tipoClienteOption svg{color:currentColor}.filterToolbar{grid-template-columns:34px repeat(4,minmax(128px,160px)) minmax(260px,1fr) auto;align-items:center;gap:8px;display:grid}.filterToolbar .field,.filterToolbar .filterActions,.filterToolbar .searchField{margin-top:0}.filterToolbar .filterActions{flex-wrap:nowrap;grid-column:auto;justify-content:flex-end;place-self:center end;width:auto;max-width:100%}.filterToolbar .searchField{grid-column:auto;justify-self:end;width:min(100%,310px);min-width:0}.filterToolbar .filterActions .ghostButton,.filterToolbar .filterActions .primaryButton{flex:none;min-height:34px;font-size:.86rem;font-weight:600}.filterToolbar .filterTitle{background:var(--surface-muted);border-radius:var(--radius-control-small);color:var(--text);border:1px solid #0000;justify-content:center;align-self:center;width:34px;height:34px}.filterGrid,.formGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:14px;display:grid}.contractDocumentBlock{background:var(--surface-strong);border:1px solid var(--brand-line);border-radius:var(--radius-panel);gap:12px;margin-top:16px;padding:18px;display:grid;overflow:hidden}.contractDocumentGrid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.contractDocumentAdvanced{margin-top:0}.filters:not(.advanced) .filterGrid.advancedFilters,.filters:not(.advanced) .filterToggles{display:none}.searchField{background:var(--surface-muted);border:1px solid var(--line-strong);border-radius:var(--radius-control);grid-column:span 2;align-self:center;align-items:center;gap:8px;height:34px;min-height:0;padding:0 11px;display:flex}.searchField input{background:0 0;border:0;outline:0;width:100%;min-height:auto;padding:0;font-size:.86rem;font-weight:500}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field.compactFilter{align-self:center;gap:0;min-width:0;display:block}.field.compactFilter select{background:var(--surface-strong);border-radius:var(--radius-control);color:var(--text);cursor:pointer;border-color:#d8e0e8e6;width:100%;height:32px;min-height:32px;padding:0 24px 0 11px;font-size:.86rem;font-weight:600}.field .fieldLabel{justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-bottom:2px;display:flex}.field .fieldLabelText{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-bottom:0;overflow:hidden}.field span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px;font-size:.72rem;font-weight:760}.field input,.field select,.field textarea{border:1px solid var(--line-strong);border-radius:var(--radius-control);color:var(--text);background:#ffffffb8;width:100%;padding:11px 14px;font-size:.92rem;transition:all .2s cubic-bezier(.16,1,.3,1)}.field input:focus,.field select:focus,.field textarea:focus,.searchField:focus-within{border-color:var(--accent);background:var(--surface-strong);box-shadow:0 0 0 4px rgba(var(--accent-rgb),.08);outline:none}.field.wide{grid-column:span 2}.field.full{grid-column:1/-1}.obituaryToggleBar{justify-content:flex-start;margin-top:14px;display:flex}.obituaryBlock{border-color:var(--brand-line)}.clientOpportunityList{gap:8px;margin-top:12px;display:grid}.clientOpportunityList>button{border:1px solid var(--line);color:var(--text);text-align:left;background:#ffffffc7;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:8px 10px;display:grid}.clientOpportunityList>button.active,.clientOpportunityList>button:hover{border-color:var(--brand-line);background:var(--brand-soft)}.clientOpportunityList>button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clientOpportunityList small{color:var(--muted);font-weight:760}.clientOpportunitiesHeader{justify-content:space-between;align-items:center;display:flex}.clientOpportunitiesHeader h4{margin:0}.clientNameLine{align-items:center;gap:8px;min-width:0;display:flex}.clientNameLine h4{overflow-wrap:anywhere;min-width:0}.whatsappButton{color:#fff;background:#25d366;border-color:#20bd5a;flex:none;text-decoration:none}.whatsappButton:hover{background:#1ebe5d;border-color:#18a64e}.clientAvatar{background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;border-radius:16px;flex:none;width:58px;height:58px;font-size:1.28rem;font-weight:860;display:inline-flex}.clientOpportunitiesHeader .primaryButton{min-height:36px}.clientFichaSummary{margin-top:14px}.leadForm{gap:16px;display:grid}.feedbackGrid{gap:10px;display:grid}.adminPanel{gap:16px;display:grid}.adminFeedback{background:var(--green-bg);color:var(--green);border:1px solid #17724529;border-radius:16px;padding:10px 12px;font-size:.9rem}.formBlocks{gap:14px;display:grid}.clientFormBlocks{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.clientFichaContent{width:100%}.clientFormBlocks .formGrid{grid-template-columns:minmax(0,1fr)}.clientFormColumn{align-content:start;gap:14px;min-width:0;display:grid}.clientFormBlocks .representativeEditor{width:auto}.importPanel{background:var(--surface-muted);border:1px solid var(--brand-line);border-radius:var(--radius-panel);box-shadow:none}.importPanel textarea{min-height:150px}.teamSection .importPanel{border-radius:var(--radius-panel);background:#e7f4f18c;margin-top:22px;padding:28px 32px;box-shadow:0 1px 3px #0f2a270a}.teamSection .importPanel .blockHeader{gap:10px;margin-bottom:6px;padding-bottom:14px}.teamSection .importPanel .blockHeader h3{letter-spacing:-.01em;font-size:1.05rem}.teamSection .importPanel .importHint{margin-bottom:18px}.teamSection .importPanel .formGrid{gap:16px 20px}.teamSection .importPanel .formGrid .field{gap:6px}.teamSection .importPanel .importFeedback{margin-top:16px}@media (max-width:720px){.teamSection .importPanel{padding:20px 18px}}.importHint{color:var(--muted);margin-bottom:0;font-size:.86rem;line-height:1.45}.importActions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.importFeedback{color:var(--accent-dark);margin-top:10px;font-size:.86rem;line-height:1.45}.importFeedback.danger{color:var(--red)}.blockHeader{border-bottom:1px solid var(--line);color:var(--accent-dark);margin-bottom:14px;padding-bottom:10px}.checklistHint{background:var(--info-bg);border:1px solid var(--brand-line);border-radius:var(--radius-panel);color:var(--accent-dark);gap:5px;margin-bottom:12px;padding:10px 12px;display:grid}.checklistHint span{font-size:.85rem;line-height:1.4}.representativeEditor{gap:14px;width:100%;min-width:0;max-width:100%;display:grid}.representativeCard{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;max-width:100%;padding:18px}.representativeHeader{justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:12px;display:flex}.representativeHeader strong{overflow-wrap:anywhere;min-width:0}.representativeEditor>.ghostButton{justify-self:start;max-width:100%}.clientTablePanel{box-shadow:none;background:0 0;border:0;border-radius:0;gap:14px;min-width:0;padding:16px;display:grid}.directoryCountFooter{color:var(--muted);justify-content:flex-start;align-items:flex-end;padding:8px 2px 0;font-size:12px;font-weight:200;line-height:1.35;display:flex}.clientTableActions{justify-content:space-between;gap:7px;width:100%;display:flex}.clientTablePrimaryActions,.clientTableSecondaryActions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.clientTablePrimaryActions{justify-content:flex-start}.clientTableSecondaryActions{justify-content:flex-end}.clientTableActions .ghostButton,.clientTableActions .viewToggle button{min-height:34px}.clientTableActions .compactAction{padding-left:10px;padding-right:10px}.clientTableFrame{min-width:0;display:grid}.viewToggle{background:var(--surface-muted);border:1px solid var(--line);border-radius:14px;gap:3px;padding:3px;display:inline-flex}.viewToggle button{color:var(--muted);background:0 0;border:0;border-radius:11px;align-items:center;gap:7px;min-height:32px;padding:0 10px;font-weight:760;display:inline-flex}.viewToggle button.active{background:var(--surface-strong);box-shadow:none;color:var(--accent-dark)}.bulkPanel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding:10px 12px;display:grid}.bulkPanelToolbar{justify-content:space-between;gap:12px}.bulkPanelTitle,.bulkPanelToolbar{align-items:center;min-width:0;display:flex}.bulkPanelTitle{flex-wrap:wrap;gap:10px}.bulkPanelToolbar .bulkToggleButton{color:var(--accent-dark);background:0 0;border:0;min-height:32px;padding:0}.bulkPanelToolbar .bulkToggleButton:hover{color:var(--accent);background:0 0}.selectionHint{color:var(--muted);margin:0;font-size:.78rem}.bulkPanelContent{gap:10px;display:grid}.opportunitiesDirectoryBottomActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:100%;display:flex}.opportunitiesDirectoryBottomActions>.bulkPanel{background:0 0;border:0;border-radius:0;width:auto;padding:0}.opportunitiesDirectoryBottomActions>.bulkPanel.expanded{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);flex:1 0 100%;width:100%;padding:10px 12px}.opportunitiesDirectoryBottomActions .bulkPanelTitle,.opportunitiesDirectoryBottomActions .bulkPanelToolbar{justify-content:flex-end}.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton{background:color-mix(in srgb,var(--accent) 7%,var(--surface))}}.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton{border:1px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton{border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border))}}.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton{border-radius:var(--radius-control);min-height:44px;padding:10px 12px}.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton:hover{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton:hover{background:color-mix(in srgb,var(--accent) 12%,var(--surface))}}.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton:hover{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.opportunitiesDirectoryBottomActions .bulkPanelToolbar .bulkToggleButton:hover{border-color:color-mix(in srgb,var(--accent) 48%,var(--border))}}.opportunitiesDirectoryExportActions{justify-content:flex-end;align-items:center;gap:8px;width:auto;display:flex}.opportunitiesDirectoryExportActions .compactAction{min-height:38px}.bulkFieldGrid{grid-template-columns:minmax(210px,.9fr) minmax(260px,1.2fr) minmax(116px,max-content);align-items:end;gap:12px;padding-top:2px;display:grid}.bulkFieldGrid .primaryButton{min-width:116px}.selectBox{justify-content:center;align-items:center;width:24px;height:24px;margin-bottom:7px;display:inline-flex}.selectBox input{accent-color:var(--accent);width:18px;height:18px;margin:0}.alertSummary{flex-wrap:wrap;gap:6px;display:flex}.leadLoadActions{border-top:1px solid rgba(var(--ink-rgb),.09);padding-top:14px}.leadTableWrap{background:var(--surface);box-shadow:none;border:1px solid var(--line);border-left:0;border-right:0;border-radius:0;overflow-x:auto}.leadTable{border-collapse:collapse;width:100%;min-width:1450px}.leadTable td,.leadTable th{border-bottom:1px solid rgba(var(--ink-rgb),.08);text-align:left;vertical-align:top;padding:11px 12px;font-size:.84rem}.leadTable th{background:var(--surface-muted);color:var(--muted);letter-spacing:.02em;text-transform:uppercase;font-size:.72rem;font-weight:820;position:sticky;top:0}.collapseTitle{color:var(--ink);cursor:pointer;font:inherit;border:0;gap:8px;font-weight:820;display:inline-flex}.collapseTitle svg{transition:transform .18s}.collapseTitle small{color:var(--muted);font-size:.75rem;font-weight:720}.sortHeader{color:inherit;cursor:pointer;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;white-space:nowrap;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.sortHeader.active{color:var(--accent-dark)}.leadTable tr.selected td{background:#e7f4f18c}.leadTable tbody tr:hover td{background:#f7f6f2b8}.selectColumn{width:54px}.tableLeadName{gap:3px;min-width:160px;display:grid}.leadTable td,.tableLeadName span,.tableLeadName strong{overflow-wrap:anywhere}.tableLeadName span{color:var(--muted);font-size:.78rem}.clientsDirectorySection{gap:0;display:grid;position:relative}.clientsDirectoryFilters{box-shadow:none;z-index:2;background:0 0;border:0;border-radius:0;justify-self:end;width:min(520px,100%);margin:0 0 16px;padding:10px 0 14px;position:static}.clientsDirectorySection>.clientTablePanel{box-shadow:none;border-radius:0;padding-top:0}.clientsDirectoryFilters .filterToolbar{grid-template-columns:minmax(0,1fr);align-items:center;gap:12px}.clientsDirectoryFilters .searchField{background:var(--surface);border-color:rgba(var(--ink-rgb),.11);box-shadow:none;grid-column:auto;width:100%;height:34px;padding:0 14px}.clientsDirectoryHeader{justify-content:flex-start;min-height:34px;padding-right:0}.clientsDirectorySection .clientsDirectoryTable{table-layout:fixed;min-width:880px}.clientsDirectoryTable tbody tr{cursor:default}.clientsDirectoryTable tbody tr:focus-visible td{background:var(--surface-muted);outline:2px solid rgba(var(--accent-rgb),.25);outline-offset:-2px}.clientsDirectoryTable td:first-child,.clientsDirectoryTable th:first-child{width:64px}.clientsDirectoryTable td:nth-child(2),.clientsDirectoryTable th:nth-child(2){width:32%}.clientsDirectoryTable td:nth-child(3),.clientsDirectoryTable th:nth-child(3){width:18%}.clientsDirectoryTable td:nth-child(4),.clientsDirectoryTable td:nth-child(5),.clientsDirectoryTable th:nth-child(4),.clientsDirectoryTable th:nth-child(5){width:25%}.clientsDirectoryTable td:nth-child(6),.clientsDirectoryTable th:nth-child(6){width:56px}.clientsDirectoryNameCell{min-width:0}.clientsDirectoryTable th:first-child{text-align:center;padding-left:6px;padding-right:6px}.clientsDirectoryTypeSort{justify-content:center;gap:4px;width:100%}.clientsDirectoryTable td.clientsDirectoryTypeCell{text-align:center;padding-left:8px;padding-right:8px;line-height:0;vertical-align:middle!important}.clientsDirectoryClientIcon{border:0;border-radius:0;flex:none;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.clientsDirectoryClientIcon,.clientsDirectoryClientIcon.company,.clientsDirectoryClientIcon.person{color:var(--muted);background:0 0}.clientsDirectoryPrimaryMeta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.clientsDirectoryPrimaryMeta b{color:#3a4b5dad;margin-right:2px;font-size:.7rem;font-weight:760}.clientsDirectoryMetaDivider{color:var(--muted);font-style:normal}.clientsDirectoryEmptyValue{color:var(--muted);font-style:italic}@media (max-width:760px){.clientsDirectorySection .clientsDirectoryTable{min-width:840px}.clientsDirectoryTable td:first-child,.clientsDirectoryTable th:first-child{width:60px}.clientsDirectoryTable td:nth-child(2),.clientsDirectoryTable th:nth-child(2){width:34%}.clientsDirectoryTable td:nth-child(3),.clientsDirectoryTable th:nth-child(3){width:20%}.clientsDirectoryPrimaryMeta{flex-direction:column;align-items:flex-start;gap:2px}.clientsDirectoryMetaDivider{display:none}}.opportunitiesDirectorySection{gap:14px;display:grid}.opportunitiesDirectoryHeader{justify-content:flex-start}.leadTable.opportunitiesDirectoryTable{table-layout:fixed;min-width:1160px}.opportunitiesDirectoryTable tbody tr{cursor:default}.opportunitiesDirectoryTable td,.opportunitiesDirectoryTable th{vertical-align:middle}.opportunitiesDirectoryTable tbody tr:focus-visible td{background:var(--surface-muted);outline:2px solid rgba(var(--accent-rgb),.25);outline-offset:-2px}.opportunitiesDirectoryTable td:first-child,.opportunitiesDirectoryTable td:nth-child(2),.opportunitiesDirectoryTable th:first-child,.opportunitiesDirectoryTable th:nth-child(2){width:24%}.opportunitiesDirectoryTable td:nth-child(3),.opportunitiesDirectoryTable th:nth-child(3){width:16%}.opportunitiesDirectoryTable td:nth-child(4),.opportunitiesDirectoryTable th:nth-child(4){width:18%}.opportunitiesDirectoryTable td:nth-child(5),.opportunitiesDirectoryTable td:nth-child(6),.opportunitiesDirectoryTable th:nth-child(5),.opportunitiesDirectoryTable th:nth-child(6){width:12%}.opportunitiesDirectoryTable td:nth-child(7),.opportunitiesDirectoryTable th:nth-child(7){width:56px}.opportunitiesDirectoryTable.hasSelection td:first-child,.opportunitiesDirectoryTable.hasSelection th:first-child{width:46px}.opportunitiesDirectoryTable.hasSelection td:nth-child(2),.opportunitiesDirectoryTable.hasSelection td:nth-child(3),.opportunitiesDirectoryTable.hasSelection th:nth-child(2),.opportunitiesDirectoryTable.hasSelection th:nth-child(3){width:22%}.opportunitiesDirectoryTable.hasSelection td:nth-child(4),.opportunitiesDirectoryTable.hasSelection th:nth-child(4){width:15%}.opportunitiesDirectoryTable.hasSelection td:nth-child(5),.opportunitiesDirectoryTable.hasSelection th:nth-child(5){width:16%}.opportunitiesDirectoryTable.hasSelection td:nth-child(6),.opportunitiesDirectoryTable.hasSelection td:nth-child(7),.opportunitiesDirectoryTable.hasSelection th:nth-child(6),.opportunitiesDirectoryTable.hasSelection th:nth-child(7){width:11%}.opportunitiesDirectoryTable.hasSelection td:nth-child(8),.opportunitiesDirectoryTable.hasSelection th:nth-child(8){width:56px}.directoryEditColumn{text-align:center}.directoryEditButton{box-shadow:none;color:var(--muted);opacity:0;pointer-events:none;background:0 0;border-color:#0000;width:32px;height:32px;min-height:32px;padding:0;transition:opacity .14s,transform .14s,color .14s;transform:translateY(1px)}.opportunitiesDirectoryTable .selectBox{opacity:0;pointer-events:none;margin-bottom:0;transition:opacity .14s,transform .14s;transform:translateY(1px)}.clientsDirectoryTable tbody tr:focus-within .directoryEditButton,.clientsDirectoryTable tbody tr:hover .directoryEditButton,.opportunitiesDirectoryTable .selectAllBox,.opportunitiesDirectoryTable .selectBox:has(input:checked),.opportunitiesDirectoryTable tbody tr:focus-within .directoryEditButton,.opportunitiesDirectoryTable tbody tr:focus-within .selectBox,.opportunitiesDirectoryTable tbody tr:hover .directoryEditButton,.opportunitiesDirectoryTable tbody tr:hover .selectBox{opacity:1;pointer-events:auto;transform:translateY(0)}.directoryEditButton:focus-visible,.directoryEditButton:hover{color:var(--accent-dark);background:0 0;border-color:#0000}.opportunityCodeCell{align-items:center;gap:10px;min-width:0;display:flex}.opportunityCodeIcon{color:var(--accent);background:0 0;border:0;border-radius:0;flex:none;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.opportunitiesDirectoryWrap.hasLoadStrip{border-bottom-right-radius:0;border-bottom-left-radius:0}.opportunitiesDirectoryLoadStrip{background:var(--surface-strong);box-shadow:none;border:1px solid var(--line);border-top:0;border-radius:0 0 18px 18px;justify-content:flex-end;align-items:center;margin-top:0;padding:12px 14px}@media (max-width:760px){.clientsDirectorySection{gap:0}.clientsDirectoryFilters{border-bottom:0;border-radius:0;justify-self:stretch;width:100%;padding:10px 0 14px;position:static}.clientsDirectoryFilters .filterToolbar{grid-template-columns:minmax(0,1fr);gap:10px}.clientsDirectorySection>.clientTablePanel{border-radius:var(--radius-panel)}.clientsDirectoryHeader{min-height:0;padding-right:0}.clientsDirectoryFilters .searchField{height:34px}}.clientTypeInitial{background:rgba(var(--ink-rgb),.06);border-radius:var(--radius-control-small);letter-spacing:.02em;justify-content:center;align-items:center;width:26px;height:22px;font-size:.64rem;display:inline-flex}.alertBadge{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.alertBadge.danger{background:var(--red-bg);color:var(--red)}.alertBadge.warning{background:var(--amber-bg);color:var(--amber)}.alertBadge.info{background:var(--info-bg);color:var(--blue)}.alertBadge.success{background:var(--green-bg);color:var(--green)}.emptyState{color:var(--muted);text-align:center;padding:28px}.dashboard{gap:16px;display:grid}.rangeTabs{background:var(--surface-muted);border-radius:14px;gap:4px;margin-top:12px;padding:4px;display:inline-flex}.rangeTabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;min-height:32px;padding:0 10px;font-weight:760}.rangeTabs button.active{background:var(--surface-strong);box-shadow:none;color:var(--accent)}.stackedChart{margin-top:12px;display:grid}.chartLegend{flex-wrap:wrap;gap:10px}.chartLegend span{gap:7px;font-size:.82rem}.gridLine{stroke:rgba(var(--ink-rgb),.05);stroke-dasharray:4 6}.axisLine{stroke:rgba(var(--ink-rgb),.1)}.axisLabel{fill:var(--muted);font-size:.72rem}.xLabel{text-anchor:middle}.leadArea{fill:url(#leadGradient)}.contractLine,.leadLine{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.leadLine{stroke:var(--accent)}.contractLine{stroke:var(--amber)}.contractMarker,.leadMarker{stroke:#fff;stroke-width:2.4px}.leadMarker{fill:var(--accent)}.contractMarker{fill:var(--amber)}.field.disabledLocked span{color:var(--muted)}.field.disabledLocked input,.field.disabledLocked select,.field.disabledLocked textarea{background:repeating-linear-gradient(135deg,#a8b4c22e 0,#a8b4c22e 6px,#ffffffb8 6px,#ffffffb8 12px),var(--surface-muted);color:var(--muted);cursor:not-allowed;border-color:#41526347;box-shadow:inset 0 0 0 1px #ffffffb3}.timingList{gap:10px;margin-top:12px;display:grid}.timingListCompact{grid-template-columns:repeat(3,minmax(0,1fr))}.timingList span{background:var(--surface-muted);border-radius:16px;justify-content:space-between;gap:10px;padding:10px 12px;display:flex}.muted{color:var(--muted)}@media (max-width:1520px){.filterGrid,.formGrid,.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.filterToolbar{grid-template-columns:34px repeat(4,minmax(118px,150px)) minmax(220px,1fr)}.filterToolbar .filterActions{grid-column:1/-1}}@media (max-width:960px){.appFrame{display:block}.shell{margin-left:0;padding:18px 14px 28px}.headerDateDivider{margin:0 -14px 20px}.headerDateStamp{padding-right:14px}}@media (max-width:760px){.filterHeader,.sectionTitle,.topbar{flex-direction:column;align-items:flex-start}.topbar .tabHeader{width:100%}.bulkFieldGrid,.bulkPanel,.filterGrid,.filterToolbar,.formGrid,.metrics,.timingListCompact{grid-template-columns:1fr}.rangeTabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.field.wide,.filterToolbar .filterActions,.filterToolbar .filterTitle,.searchField{grid-column:1}.filterToolbar .searchField{justify-self:stretch;width:100%}.compactFilter select{width:100%}.filterToolbar .filterTitle{width:45px}.bulkActions,.filterActions,.formActions,.leadLoadActions,.sectionActions,.topActions{width:100%}.topbarLogo{max-width:100%;max-height:58px}.bulkActions,.sectionActions{justify-content:flex-start}.bulkPanelToolbar{flex-direction:column;align-items:stretch;gap:8px}.bulkPanelTitle{justify-content:space-between}.bulkFieldGrid .primaryButton{width:100%}.ghostButton,.primaryButton{flex:1}.adminPanel,.filters,.formBlock,.importPanel,.leadForm,.panel{padding:13px}.filters{padding:18px}}.panelHeader{border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:12px}.panelHeader h2,.panelHeader h3{color:var(--text);font-size:1.05rem;font-weight:760}.workspaceHeaderBar{background:var(--accent);margin:-24px -28px 24px -56px;padding:12px 28px 10px 56px}.workspaceHeaderBar .topbar{min-height:50px;margin-bottom:0}.workspaceHeaderBar .tabIcon,.workspaceHeaderBar .tabTitleWrap,.workspaceHeaderBar .tabTitleWrap h2{color:#fff}.workspaceHeaderBar .tabIcon{opacity:.9}.workspaceHeaderBar .headerDateDivider{min-height:18px;margin:0}.workspaceHeaderBar .headerDateLine{border-color:#fff3}.workspaceHeaderBar .headerDateStamp{color:#ffffffc7;padding-right:0}.workspaceHeaderBar .headerDateStamp.day svg{color:var(--brand-yellow)}.workspaceHeaderBar .headerDateStamp.night svg{color:#ffffffdb}.workspaceHeaderBar .topActions{justify-content:flex-end;align-items:flex-end;gap:12px;min-width:0}.workspaceHeaderBar .topActions .headerDateDivider{gap:6px;min-width:0;min-height:0;margin:0;display:inline-flex}.workspaceHeaderBar .topActions .headerDateLine{display:none}.workspaceHeaderBar .topActions .headerDateStamp{text-overflow:ellipsis;gap:5px;max-width:min(280px,34vw);padding-right:0;font-size:.68rem;line-height:1.2;overflow:hidden}.workspaceHeaderBar .topActions .iconButton{color:#fff;background:0 0;border-color:#ffffff61;width:44px;height:44px;min-height:44px;transition:background-color .18s,border-color .18s}.workspaceHeaderBar .topActions .iconButton:hover:not(:disabled){background:#ffffff1f;border-color:#ffffffb3}.workspaceHeaderBar .topActions .iconButton:focus-visible{outline:3px solid var(--brand-yellow)!important}.topbarLogo{max-height:27px;transition:all .3s}.headerDateDivider{align-items:center;gap:12px;min-height:20px;margin:0 -28px 24px;display:flex}.headerDateLine{border-top:1px solid var(--line);flex:auto;min-width:24px}.headerDateStamp{color:var(--muted);white-space:nowrap;flex:none;align-items:center;gap:6px;padding-right:28px;font-size:.78rem;font-weight:500;line-height:1;display:inline-flex}.headerDateStamp.day svg{color:var(--amber)}.headerDateStamp.night svg{color:var(--blue)}.tabHeader{justify-content:space-between;align-items:center;margin-bottom:24px;padding:16px 0;display:flex}.topbar .tabHeader{flex:auto;min-width:0;margin-bottom:0;padding:0}.tabTitleWrap{color:var(--text);align-items:center;gap:12px;min-width:0;display:flex}.tabTitleWrap h2{color:var(--text);text-transform:uppercase;letter-spacing:.5px;overflow-wrap:anywhere;font-size:1rem;font-weight:800}.tabIcon{color:var(--accent);opacity:.8;flex:none;display:inline-flex}.topbarPrimaryAction{border:1px solid var(--brand-yellow);border-radius:var(--radius-control);box-shadow:none;color:var(--accent-dark);align-items:center;gap:10px;min-height:44px;padding:0 24px;font-size:.95rem;font-weight:700;transition:background-color .18s,border-color .18s;display:inline-flex}.topbarPrimaryAction,.topbarPrimaryAction:hover{background:var(--brand-yellow)}@supports (color:color-mix(in lab,red,red)){.topbarPrimaryAction:hover{background:color-mix(in srgb,var(--brand-yellow) 90%,var(--accent))}}.topbarPrimaryAction:hover{border-color:var(--brand-yellow)}@supports (color:color-mix(in lab,red,red)){.topbarPrimaryAction:hover{border-color:color-mix(in srgb,var(--brand-yellow) 90%,var(--accent))}}.topbarPrimaryAction:hover{box-shadow:none;transform:none}.topbarPrimaryAction:focus-visible{outline:3px solid #fff!important}.topbarPrimaryAction svg{color:var(--accent-dark)}@media (max-width:960px){.workspaceHeaderBar{margin:-18px -14px 20px;padding:12px 14px 10px}}@media (max-width:760px){.workspaceHeaderBar .topbar{gap:10px}.workspaceHeaderBar .topActions{justify-content:flex-end;align-items:flex-end;gap:10px}.workspaceHeaderBar .topActions .headerDateStamp{max-width:min(220px,42vw)}.workspaceHeaderBar .topbarPrimaryAction{flex:auto;justify-content:center}}.profileUser{gap:12px}.profileAvatar,.profileUser{align-items:center;display:flex}.profileAvatar{background:linear-gradient(135deg,var(--surface-muted),var(--surface-strong));color:var(--muted);border:1px solid var(--line);border-radius:50%;justify-content:center;width:48px;height:48px;font-size:.85rem;font-weight:800;overflow:hidden}.profileAvatar img{object-fit:cover;width:100%;height:100%}.formBlock.wizardBlock{overflow:visible}.searchableSelectContainer{position:relative}.searchableSelectInput{width:100%;padding-right:40px!important}.searchableSelectDropdown{background:var(--surface-strong);border:1px solid var(--line);box-shadow:var(--shadow);z-index:100;border-radius:16px;flex-direction:column;max-height:300px;margin-top:4px;padding:4px 8px;display:flex;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.searchableSelectOption{border:0;border-bottom:1px solid var(--line);cursor:pointer;text-align:left;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;width:100%;min-height:52px;padding:10px 12px;transition:background .2s;display:grid}.searchableSelectOption:last-child{border-bottom:0}.searchableSelectOption>span{color:var(--muted);white-space:nowrap;font-size:.78rem}.searchableSelectOption:hover{background:var(--surface-muted)}.searchableSelectOption.selected{background:var(--info-bg);color:var(--blue);font-weight:700}.searchableSelectEmpty{cursor:default;grid-template-columns:minmax(0,1fr)}@media (max-width:640px){.searchableSelectOption{grid-template-columns:minmax(0,1fr);gap:4px}.searchableSelectOption>span{white-space:normal}}.rdGrid{grid-template-columns:minmax(260px,1fr) minmax(0,3fr);align-items:start;gap:20px;display:grid}@media (max-width:1400px){.rdGrid{grid-template-columns:minmax(240px,1fr) minmax(0,3fr)}}@media (max-width:1100px){.rdGrid{grid-template-columns:minmax(220px,1fr) minmax(0,2.6fr)}}@media (max-width:900px){.rdGrid{grid-template-columns:1fr}}.rdBadge{white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:.7rem;font-weight:800}.rdBadgeRed{background:var(--red-bg);color:var(--red)}.rdBadgeYellow{background:var(--amber-bg);color:var(--amber)}.rdBadgeOrange{color:#8b4b1e;background:#f4e3d1}.rdBadgeBlue{color:var(--blue);background:#ede5f2}.rdBadgeBlack{background:var(--accent-dark);color:#fff}.rdLinkBtn{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin-top:16px;padding:0;font-size:.8rem;font-weight:600;transition:color .2s;display:inline-flex}.rdLinkBtn:hover{color:var(--accent)}.rdIconBtn{background:var(--surface-muted);border:1px solid var(--line-strong);color:var(--muted);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;transition:background .2s;display:inline-flex}.rdIconBtn:hover{background:var(--brand-soft)}.rdSelect{background:var(--surface-muted);border:1px solid var(--line-strong);color:var(--text);cursor:pointer;border-radius:10px;outline:none;height:34px;padding:0 12px;font-size:.78rem;font-weight:600}.rdTaskList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.rdTaskItem{border-bottom:1px solid var(--line);align-items:flex-start;gap:8px;padding:7px 0;display:flex}.rdTaskItem:last-child{border-bottom:0}.rdTaskCircle{color:var(--sand);cursor:pointer;flex:none;margin-top:2px;transition:color .2s}.rdTaskCircle:hover{color:var(--accent)}.rdTaskBody{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.rdTaskTitle{color:var(--text);text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;font-size:.78rem;font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.rdTaskClient{font-size:.7rem}.rdTaskClient,.rdTaskOpportunity{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rdTaskOpportunity{font-size:.68rem}.tasksFilterBar{align-items:flex-end;gap:10px;margin-bottom:16px;display:flex}.tasksFilterBar .field{width:100%;max-width:240px}.taskDueRow td:first-child{box-shadow:inset 4px 0 0 var(--accent-dark)}.taskDueOverdue td:first-child{box-shadow:inset 4px 0 0 var(--red)}.taskDueSoon td:first-child,.taskDueToday td:first-child{box-shadow:inset 4px 0 0 var(--amber)}@supports (color:color-mix(in lab,red,red)){.taskDueSoon td:first-child{box-shadow:inset 4px 0 0 color-mix(in srgb,var(--amber) 55%,var(--blue))}}.taskDueFuture td:first-child{box-shadow:inset 4px 0 0 var(--blue)}.agendaTaskListHeader{align-items:center;gap:14px;margin-bottom:16px}.agendaTaskList{-webkit-backdrop-filter:none;backdrop-filter:none}.agendaTaskList,.agendaTaskList .leadTableWrap{box-shadow:none;background:0 0;border:0;border-radius:0}.agendaTaskList .iconButton{box-shadow:none;color:var(--muted);background:0 0;border-color:#0000;border-radius:8px;width:32px;height:32px;min-height:32px}.agendaTaskList .iconButton:focus-visible,.agendaTaskList .iconButton:hover{background:rgba(var(--accent-rgb),.045);box-shadow:none;color:var(--accent-dark);border-color:#0000;outline:none}.agendaTaskList .iconButton:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.tasksEmptyCell{text-align:center;padding:48px}.rdPipelineGrid{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}@media (max-width:1400px){.rdPipelineGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}@media (max-width:1100px){.rdPipelineGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.rdPipelineGrid{grid-template-columns:1fr 1fr}}.rdPipelineStage{border:1px solid var(--line);background:var(--surface-strong);min-height:220px;box-shadow:0 1px 2px rgba(var(--ink-rgb),.04);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.rdStageHeader{letter-spacing:.1px;justify-content:space-between;align-items:center;padding:11px 13px;font-size:.78rem;font-weight:700;display:flex}.rdStageTitle{align-items:center;gap:6px;min-width:0;display:inline-flex}.rdStageName{letter-spacing:.2px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rdStageQuickLink{color:currentColor;opacity:.78;background:#ffffff85;border:1px solid #ffffff9e;border-radius:8px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:background .16s,opacity .16s,transform .16s;display:inline-flex}.rdStageQuickLink:hover{opacity:1;background:#ffffffdb;transform:translateY(-1px)}.rdStageBody{flex-direction:column;flex:1;gap:8px;min-height:140px;padding:12px 14px 14px;display:flex}.rdStageValue{color:var(--text);margin-bottom:4px;font-size:.82rem;font-weight:800}.rdStageClients{gap:5px;margin:0;padding:0;list-style:none}.rdStageClient,.rdStageClients{flex-direction:column;display:flex}.rdStageClient{border-bottom:1px solid #0000000d;gap:2px;padding:7px 0}.rdStageClient:last-child{border-bottom:0}.rdClientName{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.rdClientArea{color:var(--muted);font-size:.72rem}.rdStageExtra{color:var(--muted);margin-top:2px;font-size:.74rem;font-weight:700}.rdPipelineFooter{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding-top:14px;font-size:.82rem;display:flex}.rdPipelineFooter strong{color:var(--text)}.rdPriorityGroups{flex-direction:column;gap:12px;display:flex}.rdPriorityGroup{border-radius:14px;padding:14px 16px}.rdPriorityGroupHeader{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.rdPriorityGroupLeft{align-items:center;gap:8px;display:flex}.rdPriorityIconWrap{flex:none;display:inline-flex}.rdPriorityGroupTitle{font-size:.84rem;font-weight:760}.rdPriorityItems{gap:0;margin:0;padding:0;list-style:none}.rdPriorityItem,.rdPriorityItems{flex-direction:column;display:flex}.rdPriorityItem{border-bottom:1px solid #0000000f;gap:2px;padding:7px 0}.rdPriorityItem:last-child{border-bottom:0}.rdPriorityItemTitle{color:var(--text);font-size:.8rem;font-weight:700}.rdPriorityItemSub{color:var(--muted);font-size:.73rem}.collapseTitle{text-align:left;background:0 0;border:none;gap:16px;width:100%;padding:0}.collapseIcon,.collapseTitle{align-items:center;display:flex}.collapseIcon{background:var(--surface-muted);width:44px;height:44px;color:var(--accent);border-radius:12px;justify-content:center;transition:all .3s}.collapseTitle:hover .collapseIcon{background:var(--accent);color:#fff}.collapseText{flex-direction:column;flex:1;display:flex}.collapseText span{color:var(--accent-dark);text-transform:none;letter-spacing:normal;margin:0;font-size:1.05rem;font-weight:800}.collapseText small{color:var(--muted);font-size:.8rem;font-weight:600}.collapseTitle .chevron{color:var(--muted);transition:transform .3s}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.teamSection .panelHeader{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.teamSection h3{color:var(--text);font-size:1.2rem;font-weight:800}.documentRecommendationSection{grid-column:1/-1}.adminSectionHint{color:var(--muted);margin:-10px 0 18px;font-size:.86rem;font-weight:600;line-height:1.45}.clientSummaryCard{background:var(--surface-strong);border:1px solid var(--glass-line);border-radius:var(--radius-panel);box-shadow:0 4px 20px rgba(var(--ink-rgb),.04);gap:22px;padding:32px;display:grid}.clientAvatar{background:var(--brand-soft);width:72px;height:72px;color:var(--accent);border:3px solid var(--surface-strong);box-shadow:0 4px 12px rgba(var(--ink-rgb),.1);border-radius:50%;justify-content:center;align-items:center;font-size:1.5rem;font-weight:800;display:flex}.clientNameTitle{color:var(--text);margin:0;font-size:1.2rem;font-weight:800}.infoList{flex-direction:column;gap:10px;display:flex}.infoRow{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:12px;align-items:center;gap:12px;min-height:42px;padding:10px 12px;font-size:.9rem;display:flex}.infoRow span{overflow-wrap:anywhere;min-width:0;line-height:1.35}.infoRow svg{color:var(--accent);flex-shrink:0}.clientSummaryInfoList{gap:6px}.clientSummaryInfoList .infoRow{background:0 0;border:0;border-radius:0;min-height:30px;padding:4px 0}.clientBlockActions,.infoListSeparated{border-top:1px solid #d8e0e894;padding-top:18px}.clientNameInfoRow{align-items:center}.clientNameInfoRow span{flex:auto}.clientFichaLink{color:rgba(var(--accent-rgb),.72);background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-left:auto;padding:0;transition:background .16s,color .16s;display:inline-flex}.clientFichaLink:focus-visible,.clientFichaLink:hover{background:rgba(var(--accent-rgb),.08);color:var(--accent-dark);outline:none}.clientBlockTitle{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px;font-size:.75rem;font-weight:800;display:block}.clientBlock{gap:12px;display:grid}.oppSummaryList{flex-direction:column;gap:8px;display:flex}.oppSummaryItem{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.12);text-align:left;background:0 0;border:0;border-radius:8px;padding:10px 0 10px 12px;transition:background .16s,box-shadow .16s}.oppSummaryItem:hover{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.28);background:#f7f6f2b8}.oppSummaryTitle{color:var(--text);font-size:.85rem;font-weight:700;display:block}.oppSummaryCode{color:var(--muted);margin-top:2px;font-size:.72rem;font-weight:500;display:block}.oppSummaryMeta{gap:8px;margin-top:4px;font-size:.7rem;display:flex}.opportunityFormColumn{flex-direction:column;gap:24px;display:flex}.gptImportCard{background:linear-gradient(135deg,var(--green-bg),var(--surface-strong));border-radius:var(--radius-panel);cursor:pointer;border:1px solid #2f6b4f29;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;transition:all .2s;display:flex}.gptImportCard:hover{background:var(--green-bg);border-color:#2f6b4f42}.gptImportContent{flex-direction:column;gap:4px;display:flex}.gptImportContent h4{color:var(--accent-dark);margin:0;font-size:.95rem;font-weight:800}.gptImportContent p{color:var(--muted);margin:0;font-size:.8rem}.advancedFields{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;animation:slideDown .3s}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.sectionHeader{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.sectionHeader h3{align-items:center;gap:12px;margin:0;font-size:1.1rem;font-weight:800;display:flex}.sectionHeader h3 svg{color:var(--accent);background:0 0;border-radius:8px;padding:6px}.advancedToggle{color:var(--muted);background:var(--surface-muted);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:4px;padding:6px 12px;font-size:.75rem;font-weight:700;transition:all .2s;display:flex}.advancedToggle:hover{background:var(--brand-soft);color:var(--accent-dark)}.opportunityLeadForm{box-shadow:none;background:0 0;border:0;gap:22px;padding:0;container:opportunity-form/inline-size}.opportunityLeadForm>.sectionTitle{background:var(--surface);border:1px solid var(--glass-line);box-shadow:var(--shadow-soft);border-radius:14px;padding:24px 28px}.opportunityHeaderMain{align-items:center;gap:28px;display:flex}.opportunityHeaderIcon{background:var(--brand-soft);color:var(--accent);border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;display:flex}.opportunityHeader h2{color:var(--text);letter-spacing:-.04em;margin-top:10px;font-size:1.75rem;font-weight:850;line-height:1.05}.opportunityHeader h2+p{color:var(--text);margin-top:10px;font-size:.82rem;font-weight:650}.opportunityHeader .opportunityHeaderDescription{color:var(--muted);font-weight:400}.opportunityLayout{grid-template-columns:minmax(200px,260px) minmax(320px,1fr) minmax(280px,360px);align-items:start;gap:clamp(16px,1.5vw,24px);margin-top:0;display:grid}.opportunityLeadForm .columnLeft{position:sticky;top:18px}.opportunitySideColumn{grid-auto-rows:max-content;align-content:start;align-self:start;gap:16px;width:100%;min-width:0;display:grid}.opportunityEditableFichaMode .opportunityLayout{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.opportunityLeadForm .clientSummaryCard,.opportunityLeadForm .formBlock{background:var(--surface);border:1px solid var(--glass-line);box-shadow:var(--shadow-soft);border-radius:14px}.opportunityLeadForm .clientSummaryCard{border-color:var(--line);box-shadow:none;gap:18px;padding:24px}.opportunityLeadForm .clientAvatar{background:var(--brand-soft);border:1px solid var(--brand-line);box-shadow:none;color:var(--accent-dark);width:64px;height:64px}.opportunityLeadForm .clientSummaryInfoList .infoRow{color:var(--muted);min-height:28px;font-size:.84rem}.opportunityLeadForm .clientSummaryInfoList .infoRow svg{color:rgba(var(--accent-rgb),.72);width:14px;height:14px}.opportunityAssistPanel{gap:14px;padding:0;display:grid}.opportunityAssistPanel .feedbackGrid{gap:8px}.caseSummaryCard{background:var(--surface-strong);border:1px solid var(--glass-line);box-shadow:var(--shadow-soft);border-radius:14px;gap:12px;padding:18px;display:grid}.caseSummaryCard textarea{min-height:132px}.opportunityLeadForm .gptImportCard{background:linear-gradient(135deg,var(--green-bg),var(--surface-strong));box-shadow:none;cursor:pointer;border:1px solid #2f6b4f29;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;min-height:72px;padding:16px 18px;display:grid}.opportunityLeadForm .gptImportCard:hover{background:var(--green-bg);border-color:#2f6b4f42}.gptImportIcon{background:var(--green-bg);border-radius:var(--radius-control);color:var(--green);justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.opportunityLeadForm .gptImportContent h4{color:var(--text);font-size:.98rem}.opportunityLeadForm .gptImportContent p{color:var(--muted);font-size:.82rem}.opportunityLeadForm .gptImportDetails{box-shadow:none;background:#e8f1ea94;border-color:#2f6b4f24;margin-top:0;padding:0}.gptImportDetailsInner{padding:18px}.gptImportFieldGroup .gptImportTextarea{border-radius:12px 12px 0 0;margin-bottom:0}.gptImportFieldGroup .gptImportActions{background:var(--surface-strong);border:1px solid var(--line);border-top:0;border-bottom-right-radius:12px;border-bottom-left-radius:12px;justify-content:flex-end;margin-top:0;padding:10px 14px}.opportunityLeadForm .gptImportTextarea{width:100%;min-height:118px;font-size:.85rem}.opportunityLeadForm .gptImportActions{justify-content:flex-end;margin-top:0}.opportunityLeadForm .gptImportActions .primaryButton{border-radius:10px;min-height:34px;padding:0 13px;font-size:.78rem;font-weight:760}.opportunityLeadForm .gptImportDetails .importFeedback{margin-top:0}.opportunityFormColumn{gap:16px;min-width:0}.opportunityLeadForm .opportunitySideColumn .caseSummaryCard,.opportunityLeadForm .opportunitySideColumn .formBlock{min-width:0;margin-bottom:0;padding:18px}.opportunityLeadForm .opportunitySideColumn .formBlock>.sectionHeader{padding:16px 18px}.opportunityLeadForm .opportunitySideColumn .formBlock>.advancedFields,.opportunityLeadForm .opportunitySideColumn .formBlock>.checklistHint,.opportunityLeadForm .opportunitySideColumn .formBlock>.contractDocumentBlock,.opportunityLeadForm .opportunitySideColumn .formBlock>.financialFields,.opportunityLeadForm .opportunitySideColumn .formBlock>.formGrid,.opportunityLeadForm .opportunitySideColumn .formBlock>:not(.sectionHeader):not(.blockHeader){margin-left:0;margin-right:0}.opportunityLeadForm .opportunitySideColumn .activityList,.opportunityLeadForm .opportunitySideColumn .historyTimeline{margin-top:12px;margin-bottom:18px}.opportunityLeadForm .opportunitySideColumn .activityFormGrid{grid-template-columns:minmax(0,1fr)}.opportunityLeadForm .opportunitySideColumn .activityItem{align-items:flex-start}.opportunityLeadForm .opportunitySideColumn .activityItemActions{align-self:flex-start}.opportunityLeadForm .opportunitySideColumn .caseSummaryCard:not(.opportunityNotesCard) textarea{min-height:154px}.opportunityNotesCard{gap:14px}.notesHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.notesHeaderTitle{border-bottom:0;gap:10px;min-width:0;margin-bottom:0;padding-bottom:0}.activitiesPanelHeader>div>svg,.historyPanelHeader>div>svg,.notesHeaderTitle>svg{background:var(--brand-soft);color:var(--accent);border-radius:10px;flex:none;width:32px;height:32px;padding:8px}.noteDialogField span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:780;display:block}.opportunitySideColumn .activitiesPanelHeader h3,.opportunitySideColumn .historyPanelHeader h3,.opportunitySideColumn .notesHeaderTitle h3{color:var(--text);letter-spacing:0;text-transform:none;margin:0;font-size:.84rem;font-weight:720;line-height:1.25;display:block}.opportunitySideColumn .activitiesPanelHeader h3 span,.opportunitySideColumn .notesHeaderTitle .notesCount{color:var(--muted);font-size:.68rem;font-weight:500}.opportunitySideColumn .muted,.opportunitySideColumn .sidePanelEmpty{font-size:.82rem;line-height:1.4}.notesFeedback{color:var(--green);margin:-2px 0 0;font-size:.8rem;font-weight:700}.notesList{border-top:1px solid var(--line);gap:6px;padding-top:14px;display:grid}.noteDialog{width:min(540px,100%);max-width:540px}.noteDialogField textarea{resize:vertical;min-height:170px}.noteItem{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.12);background:0 0;border:0;border-radius:8px;gap:6px;padding:10px 0 10px 12px;transition:background .16s,box-shadow .16s;display:grid;position:relative}.noteItem:hover{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.28);background:#f7f6f2b8}.noteMeta{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:3px 8px;padding-right:54px;display:flex}.noteMeta strong{color:var(--text);font-size:.8rem;line-height:1.2}.noteItem small,.noteMeta time{color:var(--muted);font-size:.72rem;font-weight:650}.noteItem p{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.78rem;line-height:1.4}.noteActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.noteHoverActions{opacity:0;pointer-events:none;gap:2px;transition:opacity .14s,transform .14s;position:absolute;top:8px;right:8px;transform:translateY(1px)}.noteItem:focus-within .noteHoverActions,.noteItem:hover .noteHoverActions{opacity:1;pointer-events:auto;transform:translateY(0)}.noteIconAction{box-shadow:none;color:var(--muted);background:0 0;border-color:#0000;width:26px;height:26px;min-height:26px}.noteIconAction:focus-visible,.noteIconAction:hover{color:var(--accent-dark);background:0 0;border-color:#0000}.noteIconAction:disabled{opacity:.36}.noteEditText{background:var(--surface);border:1px solid var(--line);color:var(--text);resize:vertical;border-radius:10px;width:100%;min-height:104px;padding:10px 12px;font-size:.86rem}.opportunityFormBlocks{gap:18px}.opportunityLeadForm .formBlock{padding:0;overflow:hidden}.opportunityLeadForm .formBlock>.sectionHeader{background:var(--surface-muted);border-bottom:1px solid var(--line);gap:12px;margin:0;padding:18px 22px}.opportunityLeadForm .opportunityBlock:not(.open)>.sectionHeader{border-bottom:0}.opportunityLeadForm .collapsibleSectionButton{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:0;display:flex}.opportunityLeadForm .collapsibleSectionButton>svg{color:var(--muted);flex-shrink:0}.opportunityLeadForm .collapsibleSectionButton:hover h3{color:var(--accent)}.opportunityLeadForm .sectionHeader h3{color:var(--text);gap:10px;font-size:1rem}.opportunityLeadForm .sectionHeader h3 svg{color:var(--accent);background:0 0;border-radius:8px;width:34px;height:34px;padding:8px}.opportunityLeadForm .formBlock>.blockHeader{margin:0;padding:18px 30px}.opportunityLeadForm .formBlock>.advancedFields,.opportunityLeadForm .formBlock>.checklistHint,.opportunityLeadForm .formBlock>.contractDocumentBlock,.opportunityLeadForm .formBlock>.financialFields,.opportunityLeadForm .formBlock>.formGrid,.opportunityLeadForm .formBlock>:not(.sectionHeader):not(.blockHeader){margin-left:30px;margin-right:30px}.opportunityLeadForm .formBlock>.contractDocumentBlock,.opportunityLeadForm .formBlock>.financialFields,.opportunityLeadForm .formBlock>.formGrid{margin-top:18px;margin-bottom:30px}.opportunityLeadForm .formGrid{gap:20px 18px}.readonlySectionTitle{flex:1;align-items:center;min-width:0;display:flex}.readonlyFieldsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:18px 30px 30px;display:grid}.readonlyField{border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:6px;min-height:58px;padding:12px 0;display:grid}.readonlyField.full,.readonlyField.wide{grid-column:1/-1}.readonlyField span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.72rem;font-weight:780;line-height:1.25}.readonlyField strong{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;font-size:.94rem;font-weight:720;line-height:1.45}.readonlyEmptyMessage,.readonlyField.empty strong{color:var(--muted);font-style:italic;font-weight:620}.readonlyEmptyMessage{margin:18px 30px 30px}.opportunityViewMode .opportunityFormColumn{gap:14px}.opportunityViewMode .opportunityFormBlocks{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:none;gap:0;overflow:hidden}.opportunityViewMode .clientFormBlocks{box-shadow:none;background:0 0;border:0;gap:14px;overflow:visible}.opportunityViewMode .clientFormBlocks .opportunityBlock{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:none}.opportunityViewMode .clientFormBlocks .readonlyField{grid-template-columns:minmax(0,1fr);gap:4px}.opportunityViewMode .opportunityBlock{box-shadow:none;background:0 0;border:0;border-radius:0}.opportunityViewMode .opportunityBlock:not(:last-child){border-bottom:1px solid var(--line)}.opportunityViewMode .opportunityBlock>.sectionHeader{background:0 0;border-bottom:0;min-height:0;padding:16px 20px 6px}.opportunityViewMode .readonlySectionTitle h3{align-items:center;gap:10px;font-size:.92rem;font-weight:760;line-height:1.2;display:inline-flex}.opportunityViewMode .readonlySectionTitle h3 svg{color:var(--accent);background:0 0;border-radius:8px;width:32px;height:32px;padding:8px}.opportunityViewMode .readonlyFieldsGrid{grid-template-columns:minmax(0,1fr);gap:0;margin:2px 20px}.opportunityLeadForm.opportunityViewMode .formBlock>.readonlyFieldsGrid:not(.sectionHeader):not(.blockHeader),.opportunityViewMode .opportunityBlock>.readonlyFieldsGrid{margin-left:20px;margin-right:20px}.opportunityViewMode .readonlyField{border-bottom:0;grid-template-columns:minmax(180px,34%) minmax(0,1fr);align-items:baseline;gap:12px;min-height:0;padding:6px 0;display:grid}.opportunityViewMode .readonlyField span{color:var(--muted);letter-spacing:0;text-transform:none;font-size:.75rem;font-weight:560}.opportunityViewMode .readonlyField strong{color:var(--text);font-size:.875rem;font-weight:520;line-height:1.35}.opportunityViewMode .readonlyField.empty strong{font-weight:450}.opportunityViewMode .opportunityBlock>.blockHeader{border-bottom:0;margin-bottom:0;padding:16px 20px 6px}.opportunityEditableFichaMode .opportunityFormBlocks{--editable-block-inline-space:20px;--editable-block-content-gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:none;gap:0;overflow:hidden}.opportunityEditableFichaMode .opportunityBlock{box-shadow:none;background:0 0;border:0;border-radius:0}.opportunityEditableFichaMode .opportunityBlock:not(:last-child){border-bottom:1px solid var(--line);padding-bottom:0}.opportunityEditableFichaMode .opportunityBlock>.sectionHeader{min-height:0;padding:12px var(--editable-block-inline-space) 4px;background:0 0;border-bottom:0}.opportunityEditableFichaMode .opportunityBlock:not(.open)>.sectionHeader{padding-bottom:16px}.opportunityEditableFichaMode .sectionHeader h3{align-items:center;gap:10px;font-size:.92rem;font-weight:760;line-height:1.2;display:inline-flex}.opportunityEditableFichaMode .sectionHeader h3 svg{width:32px;height:32px;padding:8px}.opportunityEditableFichaMode .formBlock>.advancedFields,.opportunityEditableFichaMode .formBlock>.checklistHint,.opportunityEditableFichaMode .formBlock>.contractDocumentBlock,.opportunityEditableFichaMode .formBlock>.financialFields,.opportunityEditableFichaMode .formBlock>.formGrid,.opportunityEditableFichaMode .formBlock>:not(.sectionHeader):not(.blockHeader){margin-left:var(--editable-block-inline-space);margin-right:var(--editable-block-inline-space)}.opportunityEditableFichaMode .formBlock>.contractDocumentBlock,.opportunityEditableFichaMode .formBlock>.financialFields,.opportunityEditableFichaMode .formBlock>.formGrid{margin-bottom:var(--editable-block-content-gap);margin-top:0}.opportunityEditableFichaMode .financialFields,.opportunityEditableFichaMode .formGrid{grid-template-columns:minmax(0,1fr);gap:0}.opportunityEditableFichaMode .financialFields{padding:0;display:grid}.opportunityEditableFichaMode .contractDocumentBlock{padding-left:0;padding-right:0}.opportunityEditableFichaMode .financialFields .formGrid{margin-top:0;padding:0}.opportunityEditableFichaMode .financialFields .formGrid+.formGrid{border-top:0;padding-top:0}.opportunityEditableFichaMode .advancedFields{border-top:0;margin-top:0;padding-top:0}.opportunityEditableFichaMode .field{border-bottom:0;grid-column:1/-1;grid-template-columns:minmax(170px,38%) minmax(0,1fr);align-items:baseline;gap:18px;min-height:38px;padding:4px 0;display:grid}.opportunityEditableFichaMode .field.full,.opportunityEditableFichaMode .field.wide{grid-column:1/-1}.opportunityEditableFichaMode .field .fieldLabel{justify-content:flex-start;align-items:center;gap:8px;margin:0}.opportunityEditableFichaMode .field .fieldLabelText{color:var(--muted);letter-spacing:0;text-transform:none;white-space:normal;font-size:.75rem;font-weight:560;line-height:1.25;overflow:visible}.opportunityEditableFichaMode .field input,.opportunityEditableFichaMode .field select,.opportunityEditableFichaMode .field textarea{color:var(--text);background:#ffffffc2;border-color:#d8e0e87a;border-radius:8px;min-height:34px;padding:6px 8px;font-size:.875rem;font-weight:520;box-shadow:inset 0 1px #ffffffb8}.opportunityEditableFichaMode .field textarea{resize:vertical;min-height:90px}.opportunityEditableFichaMode .field:focus-within{border-bottom-color:#0000}.opportunityEditableFichaMode .field input:focus,.opportunityEditableFichaMode .field select:focus,.opportunityEditableFichaMode .field textarea:focus{border-color:rgba(var(--accent-rgb),.2);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.07);background:#ffffffe6}.opportunityEditableFichaMode .contractDocumentBlock{background:0 0;border:0;border-radius:0;padding:0}.opportunityEditableFichaMode .documentGeneratorPanel{margin-bottom:10px}.opportunityLeadForm .field{gap:10px}.opportunityLeadForm .field span{color:var(--muted);font-size:.72rem}.opportunityLeadForm .field input,.opportunityLeadForm .field select,.opportunityLeadForm .field textarea{background:var(--surface-strong);border-color:var(--line);border-radius:9px;min-height:42px;padding:13px 16px}.opportunityLeadForm.opportunityEditableFichaMode .field input,.opportunityLeadForm.opportunityEditableFichaMode .field select,.opportunityLeadForm.opportunityEditableFichaMode .field textarea{color:var(--text);background:#ffffffc2;border-color:#d8e0e87a;border-radius:8px;min-height:34px;padding:6px 8px;font-size:.875rem;font-weight:520;box-shadow:inset 0 1px #ffffffb8}.opportunityLeadForm.opportunityEditableFichaMode .field textarea{min-height:90px}.opportunityLeadForm.opportunityEditableFichaMode .field input:focus,.opportunityLeadForm.opportunityEditableFichaMode .field select:focus,.opportunityLeadForm.opportunityEditableFichaMode .field textarea:focus{border-color:rgba(var(--accent-rgb),.26);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.06),inset 0 1px 0 #ffffffd1;background:#fffffff5}.field.disabledLocked{position:relative}.field.disabledLocked .fieldLabelText{color:var(--muted)}.field.disabledLocked input:disabled,.field.disabledLocked select:disabled,.field.disabledLocked textarea:disabled,.opportunityLeadForm .field.disabledLocked input:disabled,.opportunityLeadForm .field.disabledLocked select:disabled,.opportunityLeadForm .field.disabledLocked textarea:disabled{background:linear-gradient(0deg,#ffffffad,#ffffffad),repeating-linear-gradient(135deg,rgba(var(--accent-rgb),.16) 0,rgba(var(--accent-rgb),.16) 7px,rgba(var(--brand-yellow-rgb),.08) 7px,rgba(var(--brand-yellow-rgb),.08) 14px),var(--surface-muted);border-color:rgba(var(--accent-rgb),.36);box-shadow:inset 4px 0 0 rgba(var(--accent-rgb),.58),inset 0 0 0 1px #ffffffd1,0 0 0 3px rgba(var(--accent-rgb),.06);color:var(--muted);cursor:not-allowed;opacity:1}.opportunityLeadForm .obituaryToggleBar{margin-top:20px;margin-bottom:30px}.opportunityLeadForm .advancedToggle{background:var(--surface-strong);border:1px solid var(--line);color:var(--muted)}.activityEditorDialog .activityStatusField{display:none}.activityEditorDialog .activityDescriptionSection{border-top:1px solid var(--line);margin-top:8px;padding-top:18px}.activityEditorDialog .activityEndField,.activityEditorDialog .activityMeetingLinkField,.activityEditorDialog .activityStartField{grid-column:1}@container opportunity-form (max-width:980px){.opportunityEditableFichaMode .opportunityLayout,.opportunityLayout{grid-template-columns:minmax(200px,240px) minmax(0,1fr)}.opportunitySideColumn{grid-column:2}}@container opportunity-form (max-width:720px){.opportunityEditableFichaMode .opportunityLayout,.opportunityLayout{grid-template-columns:minmax(0,1fr)}.opportunitySideColumn{grid-column:auto}.opportunityLeadForm .columnLeft{position:static}}@media (max-width:1200px){.clientFormBlocks{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunityLayout{grid-template-columns:1fr}.readonlyFieldsGrid{grid-template-columns:minmax(0,1fr)}.opportunityLeadForm .columnLeft{position:static}}@media (max-width:760px){.clientFormBlocks{grid-template-columns:minmax(0,1fr)}.opportunityLeadForm>.sectionTitle{padding:18px}.opportunityLeadForm>.opportunityHeader{width:100%;max-width:100%;overflow:hidden}.opportunityLeadForm>.opportunityHeader .formActions{grid-template-columns:minmax(0,1fr);width:100%;display:grid}.opportunityLeadForm>.opportunityHeader .ghostButton,.opportunityLeadForm>.opportunityHeader .primaryButton{width:100%;min-width:0}.opportunityHeaderMain{align-items:flex-start;gap:14px;width:100%;min-width:0;max-width:100%}.opportunityHeaderMain>div:last-child{min-width:0}.opportunityHeaderIcon{border-radius:14px;flex:0 0 56px;width:56px;height:56px}.opportunityHeader h2{overflow-wrap:anywhere;word-break:normal;font-size:1.42rem}.opportunityLeadForm .clientSummaryCard{padding:16px}.opportunityLeadForm .gptImportCard{grid-template-columns:auto minmax(0,1fr)}.opportunityLeadForm .gptImportCard>svg{display:none}.opportunityLeadForm .formBlock>.sectionHeader{align-items:flex-start;padding:16px}.opportunityLeadForm .formBlock>.blockHeader{padding:16px 18px}.opportunityLeadForm .formBlock>.advancedFields,.opportunityLeadForm .formBlock>.checklistHint,.opportunityLeadForm .formBlock>.contractDocumentBlock,.opportunityLeadForm .formBlock>.financialFields,.opportunityLeadForm .formBlock>.formGrid,.opportunityLeadForm .formBlock>:not(.sectionHeader):not(.blockHeader){margin-left:18px;margin-right:18px}}.clientTypeIcon{color:var(--muted);align-items:center;gap:6px;font-size:.9rem;font-weight:500;display:inline-flex}.addMemberBtn{background:var(--green);border-color:var(--green);padding:0 14px;font-size:.85rem;font-weight:600}.addMemberBtn:hover{background:#24543f;border-color:#24543f}.memberAvatar{background:linear-gradient(135deg,var(--accent-dark),var(--accent));color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.9rem;font-weight:700;display:flex}.roleSelect{border:1px solid rgba(var(--ink-rgb),.1);color:var(--text);cursor:pointer;background:#fffc;border-radius:10px;flex:0 0 180px;width:180px;min-width:150px;min-height:36px;padding:0 28px 0 12px;font-size:.85rem}.roleSelect:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1);outline:none}.moreButton{color:var(--muted);border:0;border-radius:0;transition:all .2s}.moreButton,.moreButton:hover{box-shadow:none;background:0 0}.moreButton:hover{color:var(--text);border:0}.dropdownMenuContainer{position:relative}.dropdownMenu{border:1px solid rgba(var(--ink-rgb),.1);z-index:50;background:#fff;border-radius:10px;min-width:160px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 40px #0000001f}.dropdownItem{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;width:100%;padding:8px 12px;font-size:.85rem;font-weight:500;transition:background .15s;display:flex}.dropdownItem:hover{background:rgba(var(--ink-rgb),.06)}.teamAccessLayout{grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start;gap:16px;display:grid}.dropdownItem.danger{color:var(--red)}.dropdownItem.danger:hover{background:var(--red-bg)}.teamSection .teamAccessLayout>.importPanel{background:#e7f4f18c;border-radius:14px;margin-top:0;padding:16px}.teamSection .teamAccessLayout>.importPanel .blockHeader{border-bottom:1px solid rgba(var(--ink-rgb),.1);margin-bottom:12px;padding-bottom:10px}.teamSection .teamAccessLayout>.importPanel .importHint{margin-bottom:14px;font-size:.78rem;line-height:1.45}.teamSection .teamAccessLayout>.importPanel .formGrid{grid-template-columns:minmax(0,1fr);gap:10px}.teamSection .teamAccessLayout>.importPanel .primaryButton{width:100%;min-height:38px}@media (max-width:1100px){.teamAccessLayout{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.teamSection .panelHeader{flex-direction:column;align-items:stretch;gap:12px}.teamSection .panelHeader .addMemberBtn{width:100%}}.funnelChart{flex-direction:column;gap:6px;padding:4px 0;display:flex}.funnelRow{grid-template-columns:1fr 110px;align-items:center;gap:10px;display:grid}.funnelBarTrack{background:rgba(var(--ink-rgb),.06);border-radius:5px;justify-content:center;align-items:center;height:28px;display:flex;overflow:hidden}.funnelBar{border-radius:5px;min-width:0;height:100%;transition:width .35s}.funnelRowMeta{flex-direction:column;gap:1px;display:flex}.funnelRowLabel{color:var(--text);font-size:.79rem;font-weight:700}.funnelRowCount{color:var(--muted);font-size:.72rem}.tempGrid{grid-template-columns:repeat(3,1fr);gap:10px;padding:10px 0 4px;display:grid}.tempItem{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;display:flex}.tempIcon{line-height:1}.tempLabel{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:.78rem;font-weight:700}.tempCount{color:var(--text);font-size:1.9rem;font-weight:800;line-height:1}.tempPct{color:var(--muted);font-size:.78rem}.stackedChart{flex-direction:column;gap:10px;min-width:0;display:flex}.chartLegend{justify-content:center;align-items:center;gap:18px;display:flex}.chartLegend span{color:var(--muted);background:0 0;border:0;border-radius:0;align-items:center;gap:6px;min-height:auto;padding:0;font-size:.8rem;font-weight:600;display:inline-flex}.chartLegend strong{color:var(--text);margin-left:2px;font-weight:760}.legendDot{border-radius:999px;width:22px;height:3px;display:inline-block}.legendDot.leads{background:var(--accent)}.legendDot.contracts{background:var(--blue)}.stackedChart svg{width:100%;max-width:100%;height:auto;display:block;overflow:visible}.stackedChart .axisLine{stroke:rgba(var(--ink-rgb),.18);stroke-width:1px}.stackedChart .gridLine{stroke:rgba(var(--ink-rgb),.08);stroke-dasharray:3 3;stroke-width:1px}.stackedChart .axisLabel{fill:var(--muted);font-size:11px;font-weight:600}.stackedChart .xLabel{text-anchor:middle}.stackedChart .yLabel{text-anchor:end}.stackedChart .leadLine{fill:none;stroke:var(--accent);stroke-width:2.5px}.stackedChart .contractLine{fill:none;stroke:var(--blue);stroke-width:2.5px}.stackedChart .leadArea{fill:url(#leadGradient)}.stackedChart .leadMarker{fill:var(--accent);stroke:#fff;stroke-width:2px}.stackedChart .contractMarker{fill:var(--blue);stroke:#fff;stroke-width:2px}.radarRevenue{gap:10px;min-width:0;display:grid}.radarTotal{border:1px solid rgba(var(--ink-rgb),.06);background:#fff9;border-radius:14px;justify-content:space-between;align-items:center;padding:9px 12px;display:flex}.radarTotal span{color:var(--muted);letter-spacing:0;text-transform:none;font-size:.82rem;font-weight:600}.radarTotal strong{color:var(--text);overflow-wrap:anywhere;text-align:right;font-size:.88rem;font-weight:760;line-height:1.2}.radarChart{align-self:center;width:100%;max-width:370px;height:auto;display:block;overflow:visible}.radarGrid{fill:none}.radarAxis,.radarGrid{stroke:rgba(var(--ink-rgb),.12);stroke-width:1px}.radarArea{stroke:var(--accent);stroke-linejoin:round;stroke-width:2.2px}.radarPoint{fill:var(--surface-strong);stroke:var(--accent);stroke-width:2.2px}.radarAxisLabel{fill:var(--muted);font-size:11.5px;font-weight:700}.radarScaleLabel{fill:#41526394;font-size:9.5px;font-weight:700}.radarLegendList{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;min-width:0;display:grid}.radarLegendRow{grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;display:grid}.radarLegendRank{background:var(--brand-soft);border:1px solid var(--brand-line);color:var(--accent);border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-size:.68rem;font-weight:800;display:inline-flex}.radarLegendName{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;font-weight:600;overflow:hidden}.radarLegendRow strong{color:var(--text);text-align:right;white-space:nowrap;font-size:.78rem;font-weight:760}@media (max-width:720px){.radarLegendList{grid-template-columns:minmax(0,1fr)}}@media (max-width:960px){body,html{width:100%;max-width:100%;overflow-x:hidden}.appFrame,.shell{min-width:0;max-width:100%}}@media (max-width:760px){.shell{padding-left:12px;padding-right:12px;overflow-x:hidden}.headerDateDivider{margin-left:-12px;margin-right:-12px}.headerDateStamp{text-align:right;white-space:normal;padding-right:12px;line-height:1.25}.bulkFieldGrid,.bulkPanel,.filterGrid.advancedFilters,.filterToolbar,.formGrid.contractDocumentGrid{grid-template-columns:minmax(0,1fr)}.documentGeneratorPanel{flex-direction:column;align-items:stretch}.adminPanel,.clientTablePanel,.documentRecommendationSection,.filters,.formBlock,.panel,.representativeCard,.representativeEditor{width:100%;min-width:0;max-width:100%}.clientTableActions,.clientTablePrimaryActions,.clientTableSecondaryActions,.confirmActions,.filterActions,.leadLoadActions{grid-template-columns:minmax(0,1fr);justify-content:stretch;width:100%;display:grid}.clientTableActions .ghostButton,.confirmActions .ghostButton,.confirmActions .primaryButton,.filterActions .ghostButton,.filterActions .primaryButton,.leadLoadActions .ghostButton,.leadLoadActions .primaryButton{flex:none;width:100%}.pipelineMoveFormGrid{grid-template-columns:minmax(0,1fr)}.representativeCard{padding:14px}.representativeEditor>.ghostButton{width:100%}.roleSelect{flex:none;width:100%;min-width:0;max-width:100%}.rdPipelineGrid{grid-template-columns:minmax(0,1fr);gap:12px}.leadTableWrap{width:100%;max-width:100%}}@media (max-width:420px){.shell{padding-left:10px;padding-right:10px}.headerDateDivider{margin-left:-10px;margin-right:-10px}.headerDateStamp{padding-right:10px}.clientTablePanel,.filters,.metricCard{border-radius:var(--radius-panel)}.metricCard{padding:16px 18px}.metricCard strong{font-size:1.62rem}}.revenueBarChart{gap:8px;min-width:0;padding-top:0;display:grid}.revenueSummaryStrip{border-bottom:1px solid rgba(var(--ink-rgb),.06);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:2px 0 8px;display:grid}.revenueSummaryItem{border-left:1px solid rgba(var(--ink-rgb),.08);gap:3px;min-width:0;padding:0 12px;display:grid}.revenueSummaryItem:first-child{border-left:0;padding-left:0}.revenueSummaryItem span{color:var(--muted);letter-spacing:0;text-transform:none;font-size:.78rem;font-weight:600}.revenueSummaryItem strong{color:var(--text);overflow-wrap:anywhere;min-width:0;font-size:.88rem;font-weight:760;line-height:1.2}.revenueBarChart svg{width:100%;max-width:100%;height:auto;display:block;overflow:visible}.revenueGridLine{stroke:rgba(var(--ink-rgb),.08);stroke-dasharray:4 5;stroke-width:1px}.revenueAxisLine{stroke:rgba(var(--ink-rgb),.18);stroke-width:1px}.revenueAxisLabel{fill:var(--muted);font-size:10px;font-weight:700}.revenueXAxisLabel{text-anchor:middle}.revenueYAxisLabel{text-anchor:end}.revenueBar{filter:drop-shadow(0 7px 9px #2f6b4f29);transition:opacity .18s,transform .18s}.revenueBar:hover{opacity:.86}.revenueBar.peak{filter:drop-shadow(0 9px 12px rgba(var(--accent-rgb),.18))}.revenueEmptyBar{stroke:#62738647;stroke-linecap:round;stroke-width:4px}.revenuePeakLabel{fill:var(--accent-dark);text-anchor:middle;font-size:10px;font-weight:760}@media (max-width:760px){.revenueSummaryStrip{grid-template-columns:minmax(0,1fr);gap:8px}.revenueSummaryItem{border-left:0;border-top:1px solid rgba(var(--ink-rgb),.08);padding:8px 0 0}.revenueSummaryItem:first-child{border-top:0;padding-top:0}}.calendarFeedback{border:1px solid;border-radius:14px;padding:10px 12px;font-size:.84rem;font-weight:700}.pipelineFeedback{justify-content:space-between;align-items:center;gap:12px;display:flex}.calendarFeedback.success{background:var(--green-bg);color:var(--green);border-color:#2f6b4f3d}.calendarFeedback.danger{background:var(--red-bg);color:var(--red);border-color:#ba1a1a3d}@keyframes shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.tasksView{padding:0}@media (max-width:768px){.agendaTaskListHeader{align-items:stretch}.tasksView{padding:0}}.activitiesPanel,.historyPanel{margin-bottom:20px}.activitiesPanelHeader{align-items:center;gap:12px}.activitiesPanel>.sectionHeader,.historyPanel>.sectionHeader{padding:12px 16px}.historyPanelHeader{align-items:flex-start;gap:10px}.activitiesPanelHeader .blockHeader,.historyPanel>.sectionHeader .blockHeader{border-bottom:0;min-width:0;margin-bottom:0;padding-bottom:0}.historyExpandButton{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:10px;flex:none;align-items:center;gap:4px;min-height:30px;padding:0 9px;font-size:.74rem;font-weight:800;display:inline-flex}.historyExpandButton:hover{background:var(--brand-soft);border-color:var(--brand-line);color:var(--accent-dark)}.historyExpandButton svg{color:currentColor;background:0 0;border-radius:0;width:15px;height:15px;padding:0}.activitiesPanelHeader .blockHeader p,.historyPanel .blockHeader p{color:var(--muted);margin:2px 0 0;font-size:.78rem}.activityFeedback{color:#166534;background:#22c55e1a;border:1px solid #22c55e38;border-radius:8px;margin:10px 0 0;padding:9px 11px;font-size:.83rem}.activityFeedback.danger{color:#991b1b;background:#ef44441a;border-color:#ef444438}.activityEditor{border:1px solid var(--line);border-radius:8px;margin-top:14px;padding:16px}.activityModalOverlay{padding:28px}.activityEditorDialog{background:var(--surface-strong);border-radius:var(--radius-panel);box-shadow:0 24px 80px rgba(var(--ink-rgb),.22);gap:16px;width:min(820px,100%);max-width:820px;max-height:min(88vh,780px);margin:0;padding:22px;display:grid;overflow-y:auto}.activityEditorDialog .activityEditorHeader{border-bottom:1px solid var(--line);padding-bottom:14px}.activityEditorDialog .activityFeedback,.activityEditorDialog .activityFormGrid{margin-top:0}.activityEditorDialog .activityFormGrid,.opportunityLeadForm .opportunitySideColumn .activityEditorDialog .activityFormGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.activityDetailsLine,.activityEditorActions,.activityEditorHeader,.activityItemTitleRow,.activityMetaLine,.historyDetails,.historyTopline{align-items:center;gap:8px;display:flex}.activityEditorActions,.activityEditorHeader,.historyTopline{justify-content:space-between}.activityFormGrid{margin-top:14px}.activityCheckbox{align-items:center;gap:8px;min-height:42px;display:flex}.activityCheckbox span{color:var(--text);font-size:.86rem;font-weight:700}.activityList{gap:6px;margin-top:12px;margin-bottom:16px;display:grid}.activityItem{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.12);background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 0 10px 12px;transition:background .16s,box-shadow .16s;display:flex}.activityItem:hover{box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.28);background:#f7f6f2b8}.activityItem.cancelada,.activityItem.concluida{opacity:.72}.activityItemMain{gap:5px;min-width:0;display:grid}.activityItemTitleRow strong{color:var(--text);font-size:.85rem;line-height:1.22}.activityDetailsLine,.activityItem small,.activityMetaLine{color:var(--muted);flex-wrap:wrap;font-size:.74rem;line-height:1.35}.activityDetailsLine span:not(:last-child):after,.activityMetaLine span:not(:last-child):after{color:var(--line);content:"•";margin-left:8px}.activityDetailsLine a{color:var(--accent-dark);align-items:center;gap:3px;font-weight:700;text-decoration:none;display:inline-flex}.activityItemActions{flex:none;gap:2px;display:flex}.activityItemActions .iconButton{box-shadow:none;color:var(--muted);background:0 0;border:0;border-radius:9px;width:30px;height:30px;min-height:30px;transition:background .16s,color .16s,transform .16s}.activityItemActions .iconButton:hover{background:var(--brand-soft);color:var(--accent-dark);transform:translateY(-1px)}.activityItemActions .iconButton:last-child:hover{background:var(--red-bg);color:var(--red)}.historyTimeline{gap:0;margin-top:12px;margin-bottom:12px;display:grid}.historyItem{grid-template-columns:12px minmax(0,1fr);gap:10px;padding:0 0 14px;display:grid;position:relative}.historyItem:not(:last-child):before{background:var(--line);content:"";width:1px;position:absolute;top:12px;bottom:0;left:5px}.historyMarker{background:var(--accent);border-radius:999px;width:11px;height:11px;margin-top:5px}.historyContent{gap:4px;min-width:0;display:grid}.latestHistoryItem .historyContent{gap:6px}.historyActorLine{color:var(--text);font-size:.875rem;font-weight:400;line-height:1.22}.latestHistoryItem time{color:var(--muted);font-size:.78rem;font-weight:650}.historyTopline strong{color:var(--text);min-width:0;font-size:.9rem;line-height:1.22}.historyContent p,.historyDetails,.historyTopline span{color:var(--muted);font-size:.78rem}.historyContent p{margin:0}.historyDescription{color:var(--text);overflow-wrap:anywhere;margin-top:4px;font-size:.8rem;font-weight:620;line-height:1.35}.historyDetails{flex-wrap:wrap;line-height:1.35}.historyDetails span{background:var(--surface-muted);border-radius:8px;padding:4px 7px}.historyDetails strong{color:var(--text)}@media (max-width:760px){.activityModalOverlay{align-items:stretch;padding:12px}.activityEditorDialog{max-height:calc(100vh - 24px)}.activityEditorDialog .activityFormGrid,.opportunityLeadForm .opportunitySideColumn .activityEditorDialog .activityFormGrid{grid-template-columns:minmax(0,1fr)}.activityEditorActions,.activityItem,.historyTopline{flex-direction:column;align-items:stretch}.activityItemActions{align-self:flex-start}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}