.workspace-shell{--ink:#233b35;--muted:#64766e;--green:#27614f;--accent:#27614f;--line:#dfe7df;--wash:#f6f7f2;--surface:#fff;--soft:#edf2eb;--blue:#315fa4;--blue-wash:#eaf1ff;--violet:#7652a4;--violet-wash:#f2ecfc;--teal:#207571;--teal-wash:#e7f5f1;--amber:#966018;--amber-wash:#fff3dc;--rose:#a4495b;--rose-wash:#fcecf0;--area:var(--green);--area-wash:var(--soft);grid-template-columns:258px minmax(0,1fr);font-family:var(--font-geist-sans),"Segoe UI",sans-serif;background:var(--wash);line-height:1.5}:root[data-crm-theme=dark] .workspace-shell{--ink:#e9f1e9;--muted:#a8b9b0;--green:#a3d5b4;--accent:#a3d5b4;--line:#33473d;--wash:#15221d;--surface:#1d2d26;--soft:#293c31;--blue:#a8c5ff;--blue-wash:#25354b;--violet:#d3b6f6;--violet-wash:#392e49;--teal:#9ad7cc;--teal-wash:#223f3b;--amber:#efcd93;--amber-wash:#413722;--rose:#f0aeba;--rose-wash:#432d35}.workspace-shell[data-area=leads]{--area:var(--blue);--area-wash:var(--blue-wash)}.workspace-shell[data-area=tasks]{--area:var(--violet);--area-wash:var(--violet-wash)}.workspace-shell[data-area=customers]{--area:var(--teal);--area-wash:var(--teal-wash)}.workspace-shell:is([data-area=reports],[data-area=reviews]){--area:var(--amber);--area-wash:var(--amber-wash)}.workspace-shell[data-area=forms]{--area:var(--rose);--area-wash:var(--rose-wash)}.workspace-shell .workspace-sidebar{padding:28px 18px 18px;background:#173e33;border:0;color:#f2f7ef;scrollbar-width:thin;scrollbar-color:#4b6a5b transparent;--muted:#b9ccbd}.workspace-shell .shell-brand{color:#f5f7ed;font-size:22px;letter-spacing:-.9px;padding:0 10px}.workspace-shell .brand-mark{color:#d4e79c}.workspace-shell .workspace{background:#244b3e;border:1px solid #3c5d4d;border-radius:12px;margin:28px 0 22px;padding:12px}.workspace-shell .workspace>span{background:#dbe8bd;color:#234c3b;border-radius:9px}.workspace-shell :is(.workspace,.sidebar-foot) strong{color:#f1f6ea}.workspace-shell :is(.workspace,.sidebar-foot) small{color:#b9ccbd}.workspace-shell .nav-eyebrow{color:#b4c8b7;font-size:10px;font-weight:650;letter-spacing:1.7px;margin:0 12px 12px}.workspace-shell .shell-nav{gap:5px}.workspace-shell .shell-nav a{min-height:43px;color:#d7e4d7;border-radius:10px;font-size:13px;transition:background .15s,color .15s}.workspace-shell .shell-nav a:hover{background:#2a5142;color:#fff}.workspace-shell .shell-nav a.active{background:#e1ebc7;color:#244936;box-shadow:0 3px 10px #102a2320}.workspace-shell .shell-nav a b{font-weight:550}.workspace-shell .shell-nav a>span{width:26px;height:28px;display:grid;place-items:center;color:#cadbbd}.workspace-shell .shell-nav [data-feature=leads]>a:not(.active)>span{color:#a5c8ef}.workspace-shell .shell-nav [data-feature=tasks]>a:not(.active)>span{color:#d4b9f0}.workspace-shell .shell-nav [data-feature=customers]>a:not(.active)>span{color:#97d4c7}.workspace-shell .shell-nav [data-feature=forms]>a:not(.active)>span{color:#efb9b8}.workspace-shell .shell-nav :is([data-feature=reviews],[data-feature=reports])>a:not(.active)>span{color:#e8ca8f}.workspace-shell .shell-nav a.active>span{color:#244936}.workspace-shell .shell-nav a em{background:#365d4c;color:#e6eedb;font-size:9px}.workspace-shell .shell-nav a.active em{background:#cadbad;color:#254934}.workspace-shell .nav-expand{color:#c8d9c8;top:7px}.workspace-shell .shell-nav-group:has(>a.active)>.nav-expand{color:#244936}.workspace-shell .shell-subnav{border-color:#526f5b;margin-left:24px}.workspace-shell .shell-subnav a{min-height:34px;font-size:12px}.workspace-shell .appearance-control{border-color:#486652;margin-top:24px}.workspace-shell .appearance-control button{color:#c6d6c4}.workspace-shell .appearance-control button[aria-pressed=true]{background:#dfe9c9;color:#294936}.workspace-shell .sidebar-foot{border-color:#486652;padding-top:18px}.workspace-shell .sidebar-foot>span{background:#dce8bc;color:#234f3b}.workspace-shell .sidebar-foot button{color:#cfddc9}.workspace-shell .shell-main{padding:24px clamp(22px,3.2vw,52px) 64px}.workspace-topline{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:23px;margin-bottom:28px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.workspace-topline>span>span{margin:0 12px;opacity:.5}.workspace-topline strong{color:var(--ink);font-weight:550}.workspace-topline-caption{font-size:11px}.workspace-shell .route-header{margin-bottom:28px}.workspace-shell .route-header h1{font-size:clamp(28px,3vw,42px);font-weight:650;letter-spacing:-1.6px;line-height:1.15}.workspace-shell .route-header .kicker{display:inline-flex;padding:5px 9px;border-radius:6px;background:var(--area-wash);color:var(--area);letter-spacing:1.3px}.workspace-shell .route-header>div>p:last-child{font-size:13px}.workspace-shell :is(.route-panel,.metric-card,.panel,.conversation-list,.conversation-thread,.inbox-sidebar,.review-record){border-radius:18px;border-color:var(--line);box-shadow:0 4px 20px #213c2b04}.workspace-shell :is(.primary,.secondary,.secondary-action){min-height:40px;padding:10px 16px;font-size:12px;font-weight:600}.workspace-shell .primary{background:#28624d;color:#fff;border:1px solid #28624d;box-shadow:0 3px 7px #1d473515}.workspace-shell .primary:hover:not(:disabled){background:#1b4c3b}.workspace-shell .secondary-action{background:var(--area-wash);color:var(--area);border:1px solid color-mix(in srgb,var(--area) 15%,var(--line))}.workspace-shell .secondary:hover:not(:disabled){background:var(--soft)}.workspace-shell :is(input,select,textarea){border-radius:9px;font-size:13px;min-height:41px;padding:9px 11px}.workspace-shell :is(input,textarea)::placeholder{opacity:.8}.workspace-shell :is(input[type=checkbox],input[type=radio]){min-height:0;padding:0}.workspace-shell :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--blue);outline-offset:3px}.workspace-shell :is(.settings-form,.target-form,.lead-modal) label{font-size:12px;color:var(--ink)}.workspace-shell .section-heading>span{border-radius:9px;width:34px;height:34px;flex-shrink:0;background:var(--area-wash);color:var(--area)}.workspace-shell .section-heading p{font-size:12px;line-height:1.6}.workspace-shell .section-heading h2{font-size:19px;letter-spacing:-.4px}.workspace-shell .lead-metrics{gap:16px;margin-bottom:24px}.workspace-shell .lead-metrics>:is(a,button,span){position:relative;overflow:hidden;border-radius:16px;padding:22px;min-height:148px;background:var(--blue-wash);border:1px solid color-mix(in srgb,var(--blue) 13%,var(--surface));color:var(--blue)}.workspace-shell .lead-metrics>:nth-child(2){background:var(--violet-wash);border-color:color-mix(in srgb,var(--violet) 13%,var(--surface));color:var(--violet)}.workspace-shell .lead-metrics>:nth-child(3){background:var(--teal-wash);border-color:color-mix(in srgb,var(--teal) 13%,var(--surface));color:var(--teal)}.workspace-shell .lead-metrics>:nth-child(4){background:var(--amber-wash);border-color:color-mix(in srgb,var(--amber) 13%,var(--surface));color:var(--amber)}.workspace-shell .lead-metrics>:is(a,button):after{content:"↗";position:absolute;right:17px;top:17px;width:25px;height:25px;display:grid;place-items:center;border:1px solid;border-radius:50%;opacity:.55;font-size:14px}.workspace-shell .lead-metrics :is(span,small){color:inherit;font-size:11px}.workspace-shell .lead-metrics>:is(a,button)>span{padding-right:24px;font-size:12px;font-weight:550}.workspace-shell .lead-metrics strong{font-size:clamp(25px,2.5vw,36px);line-height:1.15;letter-spacing:-1.2px;margin:15px 0 8px;color:var(--ink)}.workspace-shell .lead-metrics>a span:before{display:none}.workspace-shell .lead-metrics>:is(a,button):hover{box-shadow:0 6px 18px #253c3512;border-color:currentColor}.workspace-shell .dashboard-hero{padding:30px 34px;background:#eaf0dd;border:1px solid #dce6ca;border-radius:20px;align-items:center;min-height:240px;overflow:hidden}.workspace-shell .dashboard-hero h1{color:#234a38;font-size:clamp(32px,3.3vw,46px)}.workspace-shell .dashboard-hero .kicker{background:#dce8c6;color:#456038}.workspace-shell .dashboard-hero p{color:#5d7059}.dashboard-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:24px}.dashboard-hero-actions a{text-decoration:none;color:#33543e;font-size:12px;font-weight:600}.dashboard-hero-art{width:230px;min-width:190px;height:170px;position:relative}.dashboard-hero-art i{position:absolute;width:64px;height:64px;border-radius:16px;background:#d8bbed;transform:rotate(-12deg);top:53px;left:3px;border:1px solid #fff8}.dashboard-hero-art i:nth-child(2){left:59px;top:29px;background:#f0c495;transform:rotate(8deg)}.dashboard-hero-art i:nth-child(3){left:117px;top:2px;background:#386c55;transform:rotate(-9deg)}.dashboard-hero-art i:nth-child(3):after{content:"↗";color:#ebf3d4;font-size:42px;position:absolute;inset:0;text-align:center}.dashboard-hero-art span{position:absolute;left:55px;bottom:0;font-size:11px;line-height:1.5;color:#536d50}.workspace-shell .dashboard-summary-grid{gap:20px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.workspace-shell .dashboard-summary-grid>article{padding:28px}.workspace-shell .dashboard-summary-grid h2{font-size:30px;letter-spacing:-1px}.workspace-shell .goal-progress{background:var(--soft);border-radius:20px;height:10px;overflow:hidden}.workspace-shell .goal-progress i{background:#76a67c;border-radius:20px}.workspace-shell .goal-facts{gap:12px}.workspace-shell .goal-facts small{color:var(--muted);font-size:11px}.workspace-shell .goal-heading>strong.behind{color:var(--amber);background:var(--amber-wash)}.workspace-shell :is(.table-head,.customer-head,.task-head,.platform-head,.lead-head){background:var(--soft);color:var(--muted);font-size:10px;letter-spacing:.7px;padding-block:14px}.workspace-shell :is(.crm-record,.customer-record,.task-record){min-height:78px;padding-block:16px;font-size:12px}.workspace-shell :is(.crm-record,.customer-record) small{font-size:11px}.workspace-shell .lead-person>i{background:var(--blue-wash);color:var(--blue);border-radius:12px;font-style:normal}.workspace-shell :is(.lead-centre,.task-queue)>header{padding:24px}.workspace-shell :is(.lead-centre,.task-queue)>header p{font-size:12px}.workspace-shell .date-filter{padding:18px;border-radius:14px}.workspace-shell .date-filter input{min-height:38px}.workspace-shell .task-view-tabs{gap:8px}.workspace-shell .task-view-tabs [aria-pressed=true]{color:var(--violet);background:var(--violet-wash);border-color:var(--violet)}.workspace-shell .task-kind{width:fit-content;padding:3px 8px;border-radius:6px;background:var(--violet-wash);color:var(--violet)!important;font-size:10px}.workspace-shell .task-queue-row{padding:22px 24px}.workspace-shell .task-queue-row:hover{background:var(--wash)}.workspace-shell .stage{padding:5px 9px;border-radius:6px;font-size:11px}.workspace-shell :is(.stage.new,.stage.contacted){background:var(--blue-wash);color:var(--blue)}.workspace-shell :is(.stage.qualified,.stage.appointment){background:var(--violet-wash);color:var(--violet)}.workspace-shell .stage.proposal{background:var(--amber-wash);color:var(--amber)}.workspace-shell :is(.stage.won,.success-banner){background:var(--teal-wash);color:var(--teal)}.workspace-shell :is(.stage.lost,.stage.disqualified,.modal-error){background:var(--rose-wash);color:var(--rose)}.workspace-shell .next-action{background:var(--violet-wash)}.workspace-shell .next-action strong{color:var(--violet)}.workspace-shell .timeline strong{font-size:13px}.workspace-shell .timeline span{font-size:11px}.workspace-shell .lead-timeline-note{padding:14px 16px;background:var(--amber-wash);color:var(--ink);border-radius:0 12px 12px;font-size:13px}.workspace-shell .message-stream{background:var(--wash)}.workspace-shell .message-stream article.outbound{background:var(--teal-wash)}.workspace-shell .message-stream article{border-radius:14px}:root[data-crm-theme=dark] .workspace-shell .dashboard-hero{background:#293d2e;border-color:#3e5340}:root[data-crm-theme=dark] .workspace-shell .dashboard-hero h1{color:#e2edce}:root[data-crm-theme=dark] .workspace-shell .dashboard-hero :is(p,.dashboard-hero-actions>a:not(.primary),.dashboard-hero-art span){color:#bfceb0}:root[data-crm-theme=dark] .workspace-shell .dashboard-hero .kicker{background:#3a5139;color:#d0e5b4}@media(max-width:1150px){.workspace-shell{grid-template-columns:220px minmax(0,1fr)}.workspace-shell .shell-main{padding-inline:24px}.workspace-shell .lead-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-hero-art{min-width:165px;transform:scale(.85);transform-origin:right center}.workspace-shell .task-queue-row{grid-template-columns:1fr 1fr}.workspace-shell .task-queue-row .task-actions{grid-column:1/-1}}@media(min-width:641px) and (max-width:900px){.workspace-shell{grid-template-columns:82px minmax(0,1fr)}.workspace-shell .workspace-sidebar{padding-inline:12px}.workspace-shell .shell-brand{padding:0}.workspace-shell :is(.nav-eyebrow,.appearance-control,.sidebar-foot button,.nav-expand,.shell-subnav){display:none}.workspace-shell .workspace{padding:9px 0}}@media(max-width:800px){.workspace-shell .dashboard-summary-grid{grid-template-columns:1fr}.dashboard-hero-art,.workspace-topline-caption{display:none}}@media(max-width:640px){.workspace-shell{display:block}.workspace-shell .workspace-sidebar{width:258px;left:-280px;height:100dvh;box-shadow:12px 0 45px #13271e30}.workspace-shell.menu-open .workspace-sidebar{left:0}.workspace-shell .shell-main{padding:20px 16px 90px}.workspace-topline{margin-bottom:24px;padding-bottom:18px}.workspace-shell .dashboard-hero{padding:24px;min-height:0}.workspace-shell .dashboard-hero h1{font-size:34px}.workspace-shell .route-header h1{letter-spacing:-1px}.workspace-shell .lead-metrics{gap:10px}.workspace-shell .lead-metrics>:is(a,button,span){padding:16px;min-height:138px}.workspace-shell .lead-metrics strong{font-size:27px}.workspace-shell .lead-metrics>:is(a,button):after{display:none}.workspace-shell .lead-metrics>:is(a,button)>span{padding-right:0}.workspace-shell .task-queue-row{grid-template-columns:1fr;padding:20px}.workspace-shell .shell-menu{background:#28624d;color:#fff;border-radius:15px;border-color:#5a806a}.workspace-shell .date-filter{padding:14px}.workspace-shell .date-presets{gap:5px}.workspace-shell .date-presets button{padding-inline:10px}.workspace-shell .detail-grid>.route-panel{padding:20px}}@media(prefers-reduced-motion:reduce){.workspace-shell *,.workspace-shell :after,.workspace-shell :before{transition:none!important;animation:none!important}}.workspace-shell .shell-main{min-width:0}.workspace-shell .workspace-topline{margin-bottom:24px;padding-bottom:18px}.workspace-shell .route-header{align-items:flex-start;gap:20px;margin-bottom:24px}.workspace-shell .route-header h1{font-size:clamp(26px,2.5vw,34px);line-height:1.2;letter-spacing:-1px;max-width:850px}.workspace-shell .route-header p:not(.kicker){font-size:14px;line-height:1.65;max-width:760px;margin-top:10px}.workspace-shell .route-header .kicker{margin-bottom:12px;font-size:10px;letter-spacing:1px}.workspace-shell :is(.primary,.secondary,.secondary-action){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:9px;font-size:13px;line-height:1.4;text-decoration:none;white-space:normal}.workspace-shell button:not(:disabled),.workspace-shell select{cursor:pointer}.workspace-shell button:disabled{cursor:not-allowed}.workspace-shell :is(input,select,textarea){max-width:100%}.workspace-shell :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]){font-size:14px;border-radius:8px}.workspace-shell textarea{min-height:110px;line-height:1.6;resize:vertical}.workspace-shell :is(.settings-form,.target-form){gap:18px}.workspace-shell :is(.settings-form,.target-form,.template-library-toolbar) label{display:grid;gap:7px;font-size:13px;font-weight:500;min-width:0}.workspace-shell :is(.settings-form,.target-form) .check-label{display:flex}.workspace-shell :is(.form-hint,.safety-note,.form-status){font-size:13px;line-height:1.6;overflow-wrap:anywhere}.workspace-shell .route-panel.form-status{padding:14px 18px;margin-block:16px}.workspace-shell .secure-state{padding:36px 24px;line-height:1.7;font-size:14px}.workspace-shell :is(.settings-card,.settings-form,.target-form,.premium-list,.rule-list,.team-panel,.install-panel,.feedback-entry){padding:24px}.workspace-shell :is(.settings-card,.settings-form,.premium-list,.rule-list,.team-panel) h2{font-size:18px;line-height:1.4;letter-spacing:-.25px}.workspace-shell :is(.settings-card,.rule-list,.premium-list) p{font-size:13px;line-height:1.65}.workspace-shell :is(.crm-record,.customer-record,.task-record,.attribution-row,.platform-row){font-size:13px}.workspace-shell :is(.table-head,.customer-head,.task-head,.platform-head,.attribution-head){font-size:11px;letter-spacing:.4px}.workspace-shell :is(.task-actions,.template-card-actions,.field-add-actions){flex-wrap:wrap;gap:8px}.workspace-shell :is(.task-queue-row,.team-row,.review-record){gap:16px}.workspace-shell .template-library-toolbar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:20px 24px;margin-bottom:20px}.workspace-shell .template-library-toolbar label{width:min(100%,380px)}.workspace-shell .template-filter-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:20px 0}.workspace-shell .template-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}.workspace-shell .template-filters .secondary{padding:9px 12px;background:var(--surface);color:var(--muted);border:1px solid var(--line)}.workspace-shell .template-filters button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.workspace-shell .template-filters button span{font-size:11px;border-radius:5px;padding:1px 5px;background:var(--soft);color:var(--ink)}.workspace-shell .template-filter-bar>input{flex:1 1 220px;max-width:320px}.workspace-shell .template-filters select{width:auto;min-width:150px}.workspace-shell .template-library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px}.workspace-shell .template-library-card{padding:22px;gap:14px;overflow-wrap:anywhere}.workspace-shell .template-library-card h2{font-size:17px;line-height:1.4}.workspace-shell .template-library-card p{font-size:14px;line-height:1.65;white-space:pre-wrap}.workspace-shell .template-library-card small{font-size:12px;color:var(--muted);line-height:1.5}.workspace-shell .template-card-meta{gap:12px;flex-wrap:wrap}.workspace-shell .template-card-meta>span{font-size:12px;font-weight:600}.workspace-shell .template-card-meta [data-status=approved]{background:var(--teal-wash);color:var(--teal)}.workspace-shell .template-card-meta [data-status=pending],.workspace-shell .template-card-meta [data-status=submitting]{background:var(--amber-wash);color:var(--amber)}.workspace-shell .template-card-meta [data-status=disabled],.workspace-shell .template-card-meta [data-status=rejected]{background:var(--rose-wash);color:var(--rose)}.workspace-shell .template-card-actions{margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}.workspace-shell .template-card-actions a{font-size:13px;color:var(--green);text-decoration:underline;text-underline-offset:3px;padding-block:8px}.workspace-shell .template-empty{min-height:300px;padding:44px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.workspace-shell .template-empty-icon{width:52px;height:52px;display:grid;place-items:center;background:var(--teal-wash);color:var(--teal);border-radius:14px;font-size:26px}.workspace-shell .template-empty h2{font-size:20px;letter-spacing:-.4px}.workspace-shell .template-empty p{max-width:510px;font-size:14px;line-height:1.7;color:var(--muted)}.workspace-shell .template-loading{padding:32px;text-align:center;color:var(--muted)}.workspace-shell .template-editor{padding:24px;background:var(--surface);color:var(--ink)}.workspace-shell .template-editor h2{font-size:21px}.workspace-shell .template-editor .settings-form{padding:0;max-width:none}.workspace-shell .template-editor>p{margin-block:16px;line-height:1.7}.workspace-shell .template-editor>.secondary{margin-right:12px}.workspace-shell .template-message-preview{background:var(--teal-wash);color:var(--ink);padding:20px;border-radius:12px;font-size:14px;line-height:1.7}.workspace-shell .template-upload{border-color:var(--line);background:var(--wash);border-radius:12px}.workspace-shell .template-sync:not(.template-library-toolbar){padding:24px}.workspace-shell .engagement-map{margin-bottom:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.workspace-shell .journey-step-card{padding:18px}.workspace-shell .conversation-context :is(label,p,small),.workspace-shell .inbox-tools input{font-size:13px}.workspace-skip{position:fixed;top:12px;left:12px;transform:translateY(-180%);z-index:200;padding:12px 20px;background:var(--surface);color:var(--ink);border:2px solid var(--green);border-radius:8px}.workspace-skip:focus{transform:translateY(0)}@media(max-width:1100px){.workspace-shell .premium-grid{grid-template-columns:1fr}.workspace-shell .template-filter-bar>input{max-width:none}}@media(max-width:640px){.workspace-shell .route-header{flex-direction:column;align-items:stretch}.workspace-shell .route-header h1{font-size:27px}.workspace-shell .template-library-toolbar{padding:18px;align-items:stretch}.workspace-shell .template-library-toolbar label,.workspace-shell .template-library-toolbar>button{width:100%}.workspace-shell .template-filter-bar{align-items:stretch}.workspace-shell .template-filter-bar>input{flex-basis:100%}.workspace-shell .template-empty{padding:32px 20px}.workspace-shell .template-overlay{padding:12px}.workspace-shell .template-editor{padding:20px;max-height:calc(100dvh - 24px)}.workspace-shell :is(.settings-card,.settings-form,.target-form,.premium-list,.rule-list,.team-panel){padding:20px}.workspace-shell :is(.form-pair,.inline-team-form){grid-template-columns:1fr}.workspace-shell .shell-subnav a{min-height:44px}.workspace-shell .template-filters select{flex:1}}.workspace-shell .journeys-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.workspace-shell .journey-builder{width:100%;max-width:none;min-width:0;display:grid;gap:20px}.workspace-shell .journey-builder>h2{margin:0}.workspace-shell .journey-basics{display:grid;grid-template-columns:1fr 1fr;gap:20px}.workspace-shell .journey-builder .checkbox-row{display:flex;align-items:center;gap:10px;line-height:1.5}.workspace-shell .journey-builder .checkbox-row input{width:18px;min-height:18px;height:18px;flex:none}.workspace-shell .journey-builder>a{font-size:13px;color:var(--green);text-decoration:underline;text-underline-offset:3px}.workspace-shell .journey-guardrails{padding:18px;gap:12px;background:var(--wash);border-color:var(--line)}.workspace-shell .journey-guardrails strong{font-size:13px}.workspace-shell .journey-guardrails span{font-size:12px;line-height:1.6}.workspace-shell .journey-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell .journey-presets strong{grid-column:1/-1}.workspace-shell .journey-graph{min-width:0;padding:0;overflow:hidden;border-color:var(--line);background:var(--wash)}.workspace-shell .journey-canvas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--surface)}.workspace-shell .journey-canvas-toolbar>div:first-child{display:grid;gap:4px}.workspace-shell .journey-canvas-toolbar strong{font-size:14px}.workspace-shell .journey-canvas-toolbar small{font-size:12px;color:var(--muted)}.workspace-shell .journey-zoom{display:flex;align-items:center;gap:8px;flex:none}.workspace-shell .journey-zoom output{min-width:42px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.workspace-shell .journey-zoom button{width:38px;min-height:38px;padding:0}.workspace-shell .journey-graph-scroll{max-height:580px;overflow:auto;padding:20px;overscroll-behavior:contain}.workspace-shell .journey-canvas{margin-inline:auto;color:var(--muted)}.workspace-shell .journey-graph .graph-node{background:var(--surface);color:var(--ink);padding:16px;gap:8px;line-height:1.5}.workspace-shell .journey-graph .graph-node strong{font-size:14px;font-weight:600}.workspace-shell .journey-graph .graph-node small{font-size:11px;color:var(--muted)}.workspace-shell .journey-graph .graph-trigger{background:var(--teal-wash);color:var(--teal);font-size:13px;text-align:center;padding:14px}.workspace-shell .journey-test-actions{display:flex;flex-wrap:wrap;gap:10px}.workspace-shell .journey-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px}.workspace-shell .journey-step-card{display:grid;gap:16px;min-width:0;margin:0;padding:20px;border:1px solid var(--line);background:var(--surface);border-radius:12px;scroll-margin-block:30px}.workspace-shell .journey-step-card[data-selected=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.workspace-shell .journey-step-card legend{padding:0 8px;font-size:12px;font-weight:650;color:var(--green);text-transform:capitalize}.workspace-shell .journey-step-tools{display:flex;align-items:center;gap:8px}.workspace-shell .journey-drag-handle{margin-right:auto;font-size:12px;color:var(--muted)}.workspace-shell .journey-step-tools button{min-height:32px;width:32px;padding:0}.workspace-shell .journey-step-card .form-pair{grid-template-columns:1fr;gap:16px}.workspace-shell .journey-step-card>button{justify-self:start}.workspace-shell .journey-step-card small{font-size:12px;font-weight:400;line-height:1.6;color:var(--muted)}.workspace-shell .journey-builder>.primary,.workspace-shell .journey-builder>.secondary{justify-self:start}.workspace-shell .journey-library{padding:0;min-width:0}.workspace-shell .journey-library>article{grid-template-columns:minmax(0,1fr) auto auto auto;gap:16px}.workspace-shell .journey-library>article strong{font-size:14px;overflow-wrap:anywhere}.workspace-shell .journey-library>article small{font-size:12px}.workspace-shell .journey-library>article span{font-size:11px}.workspace-shell .journey-activation{margin-top:24px;padding:24px;display:flex;gap:16px;flex-wrap:wrap}.workspace-shell .journey-activation h2,.workspace-shell .journey-activation p{flex-basis:100%}@media(max-width:900px){.workspace-shell .journey-presets,.workspace-shell .journey-steps{grid-template-columns:1fr}}@media(max-width:640px){.workspace-shell .journey-basics{grid-template-columns:1fr}.workspace-shell .journey-canvas-toolbar{align-items:flex-start;flex-direction:column;padding:16px}.workspace-shell .journey-graph-scroll{padding:12px;max-height:450px}.workspace-shell .journey-step-card{padding:16px}.workspace-shell .journey-library>article{grid-template-columns:minmax(0,1fr) auto}.workspace-shell .journey-library>article button{min-height:42px}.workspace-shell .journey-builder>.primary,.workspace-shell .journey-builder>.secondary{justify-self:stretch}}.workspace-shell .journey-step-card:only-child{grid-column:1/-1}.workspace-shell .route-header>div:first-child{flex:1;min-width:0}.workspace-shell .route-header>:is(button,a.secondary-action,a.primary){width:auto;flex:none;white-space:nowrap}.workspace-shell .shell-main>.route-panel+.route-panel,.workspace-shell .shell-main>:is(.settings-grid,.dashboard-summary-grid,.platform-grid)+.route-panel{margin-top:20px}.workspace-shell :is(.customisation-panel,.shared-record-panel){padding:24px}.workspace-shell .customisation-tabs{align-items:center}.workspace-shell .customisation-tabs button{width:auto;margin:0;flex:none}.workspace-shell .customisation-panel .settings-form{padding:20px 0 0;max-width:700px}.workspace-shell .customisation-panel>p,.workspace-shell .shared-record-panel>p{font-size:14px;line-height:1.7}.workspace-shell .customisation-panel h2,.workspace-shell .shared-record-panel h2{font-size:18px;margin-bottom:8px}.workspace-shell .shared-record-panel label{display:grid;gap:8px}.workspace-shell .rule-list article>div:first-child{flex:1;min-width:0}.workspace-shell .rule-list article>.secondary-action{width:auto;min-width:100px;flex:none;margin:0}.workspace-shell .rule-list article strong{font-size:13px}.workspace-shell .rule-list article small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.workspace-shell .manual-connection{padding:18px 22px}.workspace-shell .manual-connection summary{cursor:pointer;font-size:14px;line-height:1.6}.workspace-shell .audit-feed>header{display:block}.workspace-shell .audit-feed>header .kicker{margin-bottom:8px}.workspace-shell .date-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:14px}.workspace-shell .date-filter>div:first-child{grid-column:1/-1}.workspace-shell .date-filter .date-presets{grid-column:1/-1;justify-content:flex-start}.workspace-shell .date-filter label{min-width:0;display:grid;gap:7px}.workspace-shell .date-filter input{width:100%;min-width:0}.workspace-shell .date-filter-summary{grid-column:1/-1}.workspace-shell .report-period{flex-wrap:wrap}.workspace-shell .report-period label{flex:1 1 145px;font-size:12px;font-weight:500}.workspace-shell .report-period>:is(button,a){flex:none;width:auto;white-space:nowrap;margin:0}.workspace-shell .engagement-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;align-items:stretch}.workspace-shell .engagement-map>div{min-width:0;max-width:none;padding:16px;background:var(--surface);font-size:13px;line-height:1.6}.workspace-shell .engagement-map>span{display:none}.workspace-shell .engagement-map small{font-size:12px;margin-bottom:6px}.workspace-shell .follow-up-dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)}.workspace-shell .follow-up-dialog .settings-form{padding:24px;max-width:none;margin:0}.workspace-shell .follow-up-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.workspace-shell .follow-up-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding-top:12px}@media(min-width:1350px){.workspace-shell .date-filter{grid-template-columns:minmax(180px,1fr) auto minmax(135px,160px) minmax(135px,160px) auto}.workspace-shell .date-filter .date-presets,.workspace-shell .date-filter>div:first-child{grid-column:auto}}@media(max-width:1000px){.workspace-shell .engagement-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.workspace-shell .route-header>:is(button,a.secondary-action,a.primary){align-self:flex-start}.workspace-shell .date-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .date-filter>button{grid-column:1/-1;justify-self:start}.workspace-shell .crm-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}.workspace-shell .crm-record>.lead-person{grid-column:1/-1}.workspace-shell .crm-record>span:nth-child(2),.workspace-shell .crm-record>span:nth-child(3){display:grid;gap:6px;min-width:0}.workspace-shell .crm-record>span:nth-child(2):before{content:"Stage";font-size:11px;color:var(--muted)}.workspace-shell .crm-record>span:nth-child(3):before{content:"Owner / tags";font-size:11px;color:var(--muted)}.workspace-shell .crm-record>strong:nth-child(4){display:block;font-size:13px}.workspace-shell .crm-record>strong:nth-child(4):before{content:"Potential · ";font-size:11px;font-weight:400;color:var(--muted)}.workspace-shell .crm-record>a:last-child{display:flex;gap:8px;justify-content:flex-end;align-items:center}.workspace-shell .crm-record input,.workspace-shell .crm-record select{width:100%;min-width:0}.workspace-shell :is(.customisation-panel,.shared-record-panel){padding:20px}.workspace-shell .customisation-panel .route-header{gap:14px}.workspace-shell .rule-list article{flex-wrap:wrap;padding-inline:0}.workspace-shell .rule-list article>div:first-child{flex-basis:60%}.workspace-shell .follow-up-dialog .settings-form{padding:20px}.workspace-shell .engagement-map{grid-template-columns:1fr}}.workspace-shell .template-connection-notice{padding:18px;margin-top:20px;border:1px solid var(--line);border-radius:12px;background:var(--amber-wash);color:var(--ink);font-size:13px;line-height:1.6}.workspace-shell .template-connection-notice p{margin:8px 0 14px}.workspace-shell .template-connection-notice>div{display:flex;gap:10px;flex-wrap:wrap}.workspace-shell .template-local-preview{display:grid;gap:8px}.workspace-shell .template-local-preview>[role=img]{height:220px;background-size:contain;background-position:50%;background-repeat:no-repeat;border-radius:10px;background-color:var(--surface)}.workspace-shell :is(.route-panel,.settings-form,.form-pair,.detail-grid,.target-layout,.premium-grid,.settings-grid,.platform-grid,.form-detail-grid,.form-brand-builder,.lead-person,.lead-person>span,.lead-metrics>*,.platform-metrics>*){min-width:0}.workspace-shell :is(input,select,textarea,fieldset){min-width:0;max-width:100%}.workspace-shell :is(h1,h2,h3,p,dd,.form-status,.lead-person strong,.template-card-meta,.audit-feed strong){overflow-wrap:anywhere}.workspace-shell :is(img,video){max-width:100%}.workspace-shell .workspace-sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain}.workspace-shell .workspace-sidebar>*{flex-shrink:0}.workspace-shell :is(.lead-filters,.report-period,.contact-actions){flex-wrap:wrap}.workspace-shell .lead-filters{min-width:0}.workspace-shell .lead-filters>*{flex:1 1 140px;min-width:0;max-width:100%}.workspace-shell .lead-centre>header{flex-wrap:wrap}.workspace-shell .detail-list>div{gap:16px}.workspace-shell .detail-list dd{min-width:0;margin-left:0;text-align:right}.workspace-shell .shell-menu-backdrop{display:none}.workspace-shell :focus-visible{outline:2px solid var(--green);outline-offset:3px}.workspace-shell .workspace-sidebar :focus-visible{outline-color:#dbeaac}@media(max-width:1200px){.workspace-shell .whatsapp-workspace{grid-template-columns:minmax(0,1fr)}.workspace-shell .conversation-context{border-left:0;border-top:1px solid var(--line)}.workspace-shell :is(.automation-grid,.target-layout,.form-detail-grid){grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.workspace-shell{display:block}.workspace-shell .shell-main{padding:24px 24px 96px}.workspace-shell .workspace-sidebar{position:fixed;z-index:80;inset:0 auto 0 0;width:min(300px,calc(100vw - 64px));padding:24px 16px;visibility:hidden;transform:translateX(-100%);transition:transform .2s,visibility .2s;box-shadow:12px 0 45px #13271e30}.workspace-shell.menu-open .workspace-sidebar{left:0;visibility:visible;transform:translateX(0)}.workspace-shell .workspace-sidebar :is(.shell-brand strong,.workspace div,.sidebar-foot div,.shell-nav a b,.shell-nav a em,.nav-eyebrow,.appearance-control,.sidebar-foot button,.nav-expand){display:revert}.workspace-shell .workspace-sidebar :is(.workspace div,.sidebar-foot div){display:flex}.workspace-shell .workspace-sidebar .shell-subnav{display:grid}.workspace-shell .workspace-sidebar :is(.shell-brand,.workspace,.shell-nav a,.sidebar-foot){justify-content:flex-start}.workspace-shell .workspace-sidebar .workspace{padding:12px}.workspace-shell .shell-nav a,.workspace-shell .shell-subnav a{min-height:44px}.workspace-shell .nav-expand{min-width:44px;min-height:44px}.workspace-shell .shell-menu{position:fixed;display:grid;place-items:center;z-index:90;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:48px;height:48px;border:1px solid #5a806a;border-radius:14px;background:#28624d;color:#fff;font-size:24px}.workspace-shell .shell-menu-backdrop{display:block;position:fixed;z-index:70;inset:0;width:100%;height:100dvh;border:0;border-radius:0;background:#10271e80;cursor:pointer}.workspace-shell :is(.detail-grid,.settings-grid,.form-brand-builder,.customer-operations-grid,.dashboard-summary-grid){grid-template-columns:minmax(0,1fr)}.workspace-shell .whatsapp-layout{grid-template-columns:minmax(220px,.65fr) minmax(0,1fr)}.workspace-shell .route-header{flex-wrap:wrap}.workspace-shell .route-header>div:first-child{flex-basis:100%}.workspace-shell .form-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.workspace-shell{font-size:14px}.workspace-shell .shell-main{padding:18px max(14px,env(safe-area-inset-right)) calc(88px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.workspace-shell .workspace-topline{font-size:12px;margin-bottom:18px;padding-bottom:14px}.workspace-shell .workspace-topline-caption{display:none}.workspace-shell .route-header{gap:12px;margin-bottom:18px}.workspace-shell .dashboard-hero h1,.workspace-shell .route-header h1{font-size:26px;line-height:1.2;letter-spacing:-.7px}.workspace-shell .route-header p:not(.kicker){font-size:13px;line-height:1.6;margin-top:8px}.workspace-shell .route-header .kicker{font-size:10px;margin-bottom:8px}.workspace-shell :is(.settings-card,.settings-form,.target-form,.premium-list,.rule-list,.team-panel,.install-panel,.feedback-entry,.customisation-panel,.shared-record-panel,.target-summary,.form-brand-builder,.upgrade-panel){padding:16px}.workspace-shell .detail-grid>.route-panel{padding:16px}.workspace-shell :is(.settings-card,.settings-form,.rule-list,.premium-list,.shared-record-panel,.customisation-panel,.section-heading) h2{font-size:17px}.workspace-shell :is(.settings-form,.target-form,.form-pair,.detail-grid,.settings-grid,.premium-grid,.form-detail-grid,.customer-operations-grid){gap:14px}.workspace-shell :is(.form-pair,.choice-stack,.journey-guardrails,.attribution-settings,.inline-team-form,.team-row){grid-template-columns:minmax(0,1fr)}.auth-card :is(input,select,textarea),.public-form-card :is(input,select,textarea),.workspace-shell :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]){font-size:16px;min-height:44px}.workspace-shell :is(button,.primary,.secondary,.secondary-action){min-height:44px;max-width:100%}.workspace-shell :is(.task-actions,.template-card-actions,.thread-actions,.report-period,.contact-actions){gap:8px;flex-wrap:wrap}.workspace-shell .lead-metrics,.workspace-shell .platform-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-shell .lead-metrics>:is(a,button,span),.workspace-shell .platform-metrics article{padding:14px;min-height:112px}.workspace-shell .lead-metrics strong,.workspace-shell .platform-metrics strong{font-size:24px;overflow-wrap:anywhere;line-height:1.25}.workspace-shell .lead-metrics small{font-size:11px}.workspace-shell .dashboard-hero{padding:20px}.workspace-shell .lead-centre>header{padding:16px;gap:12px}.workspace-shell .lead-filters{width:100%}.workspace-shell .lead-filters>*{flex-basis:100%}.workspace-shell :is(.crm-record,.customer-record,.task-record,.task-queue-row){padding:16px;gap:12px}.workspace-shell .customer-record>:not(.lead-person):before{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-bottom:4px}.workspace-shell .customer-record>strong:nth-child(2):before{content:"Lifetime value"}.workspace-shell .customer-record>strong:nth-child(3):before{content:"Outstanding"}.workspace-shell .customer-record>span:last-child:before{content:"Next renewal"}.workspace-shell .platform-row:not(.platform-head){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.workspace-shell .platform-row:not(.platform-head)>:first-child{grid-column:1/-1}.workspace-shell .platform-row:not(.platform-head)>:nth-child(n){display:block;overflow-wrap:anywhere}.workspace-shell .platform-row small{white-space:normal}.workspace-shell .attribution-row{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,.6fr));gap:6px;padding:12px 10px;font-size:11px;overflow-wrap:anywhere}.workspace-shell .payment-list article,.workspace-shell .review-record{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.workspace-shell .form-library-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;overflow-wrap:anywhere}.workspace-shell .audit-feed article{flex-wrap:wrap;gap:8px;padding:14px 16px}.workspace-shell .date-filter{gap:10px;padding:14px}.workspace-shell .date-filter label{min-width:0}.workspace-shell .date-presets{gap:6px}.workspace-shell .list-pagination{justify-content:flex-start;gap:10px;padding:14px}.workspace-shell .list-pagination span{flex-basis:100%}.workspace-shell .template-library-toolbar{padding:16px;gap:12px}.workspace-shell .template-filter-bar>input,.workspace-shell .template-library-toolbar label{width:100%;max-width:none}.workspace-shell .template-filters{gap:6px}.workspace-shell .template-filters .secondary{padding:8px 10px;font-size:12px}.workspace-shell .template-empty{padding:28px 16px;min-height:240px}.workspace-shell .template-empty h2{font-size:18px}.workspace-shell .template-library-card{padding:16px}.workspace-shell :is(.template-overlay,.modal-backdrop){padding:10px;place-items:center}.workspace-shell :is(.template-editor,.lead-modal){width:100%;max-height:calc(100dvh - 20px);border-radius:14px;overscroll-behavior:contain}.workspace-shell .template-editor{padding:16px}.workspace-shell .template-editor header{gap:12px;flex-wrap:wrap}.workspace-shell .template-editor h2{font-size:20px}.workspace-shell .template-upload{padding:12px}.workspace-shell input[type=file]{width:100%;font-size:13px!important}.workspace-shell .lead-modal form,.workspace-shell .lead-modal>header{padding:16px}.workspace-shell .lead-modal>header h2{font-size:20px}.workspace-shell .lead-modal label{font-size:13px}.workspace-shell .follow-up-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.workspace-shell .follow-up-dialog .settings-form{padding:16px}.workspace-shell :is(.lead-modal,.follow-up-dialog) footer{flex-wrap:wrap}.workspace-shell .whatsapp-layout{grid-template-columns:minmax(0,1fr);min-height:0}.workspace-shell .conversation-list{max-height:360px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.workspace-shell .conversation-pane{min-height:480px}.workspace-shell .conversation-empty{min-height:220px}.workspace-shell .conversation-pane>header{padding:14px;flex-wrap:wrap;gap:12px}.workspace-shell .message-stream{padding:14px;max-height:60dvh}.workspace-shell .message-stream article{max-width:92%;overflow-wrap:anywhere}.workspace-shell .message-composer{grid-template-columns:minmax(0,1fr);padding:14px}.workspace-shell .message-composer>*{grid-column:1;min-width:0}.workspace-shell .conversation-context,.workspace-shell .journey-activation{padding:16px}.workspace-shell .journey-step-tools{flex-wrap:wrap}.workspace-shell .journey-step-tools button,.workspace-shell .journey-zoom button{width:44px;min-height:44px}.auth-page{padding:16px}.auth-card{padding:24px 18px;min-width:0}.auth-card h1{font-size:28px}.auth-card label{font-size:13px;min-width:0}.auth-card button{min-height:44px}.public-form-page{padding:16px}.public-form-card{padding:22px 16px;min-width:0}}@media(max-width:360px){.workspace-shell .route-header h1{font-size:24px}.workspace-shell .crm-record,.workspace-shell .date-filter{grid-template-columns:minmax(0,1fr)}.workspace-shell .crm-record>a:last-child{justify-content:flex-start}.workspace-shell .lead-metrics strong{font-size:21px}}@media(prefers-reduced-motion:reduce){.workspace-shell .workspace-sidebar{transition:none}}