.crm-theme{--ink:#172b26;--muted:#5f6c72;--line:#dce3e8;--paper:#f7f8fa;--action:#0f766e;--selection:#e6f4f1;--error:#b91c1c;background:var(--paper);color:var(--ink);min-height:100dvh;font:14px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.crm-theme :is(button,input,select,textarea){font:inherit}.crm-theme :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--action);outline-offset:3px}.crm-theme :is(h1,h2,h3){letter-spacing:-.025em;font-weight:600;line-height:1.3}.crm-theme .dashboard-content h1{overflow-wrap:anywhere;margin:0 0 20px;font-size:24px}.crm-theme .dashboard-content h2{font-size:18px}.crm-theme .hint,.crm-theme .field-error{font-size:12px}.crm-theme .dashboard-content>.eyebrow{display:none}.crm-theme .sidebar{align-self:flex-start;width:232px;height:100dvh;padding:20px 12px 16px;position:sticky;top:0;overflow-y:auto}.crm-theme .sidebar .brand{margin-bottom:0}.crm-theme .navigation-toggle{order:5;align-items:center;min-height:40px;margin:auto 0 10px;padding:10px;display:inline-flex}.crm-theme .sidebar-bottom{border-top:1px solid var(--line);order:6;margin-top:0;padding:16px 4px 0;font-size:13px}.crm-theme .sidebar-bottom small{font-size:12px}.crm-theme .workspace-select{border:0;margin:20px 0 16px;padding:8px}.crm-theme .workspace-select small{font-size:12px}.crm-theme .workspace-select strong{font-size:13px}.crm-theme .workspace-nav{gap:4px;display:grid}.crm-theme .workspace-nav :is(.nav-link,.nav-active){min-height:42px;padding:10px 12px;font-size:14px}.crm-theme .workspace-nav .nav-label{color:inherit;font-size:14px}.crm-theme .nav-active,.crm-theme .unibox-row.selected{background:var(--selection);color:#0b5e57}.crm-theme .nav-link:hover{background:#f0f4f4}.crm-theme .workspace-header{background:#fff;height:56px;min-height:56px;padding:0 24px;font-size:12px}.crm-theme .header-brand{flex-shrink:0;width:200px;min-width:0;margin-left:auto;display:block}.crm-theme .brand-select{margin:0;font-size:12px}.crm-theme .brand-select>.brand-select-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.crm-theme .dashboard-content{max-width:1480px;margin:0 auto;padding:24px}.crm-theme .page-title-row{align-items:center;margin-bottom:20px}.crm-theme .page-title-row h1,.crm-theme .inline-button{margin:0}.crm-theme .button{background:var(--action);color:#fff;border:1px solid var(--action);border-radius:6px;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;font-size:13px}.crm-theme .button:hover{background:#0b5e57}.crm-theme .button.secondary{width:auto;color:var(--ink);background:#fff;border-color:#7c898f}.crm-theme .button span{color:inherit;font-size:inherit}.crm-theme .text-button{color:var(--action);font-size:13px}.crm-theme .form{gap:16px}.crm-theme .form label{gap:7px;font-size:13px}.crm-theme .form :is(input:not([type=checkbox]),select,textarea),.crm-theme .campaign-sending-settings :is(select,input[role=combobox]),.crm-theme .brand-select select{min-height:40px;color:var(--ink);background:#fff;border:1px solid #7c898f;border-radius:6px;width:100%;min-width:0;padding:9px 12px;font-size:14px}.crm-theme .form :is(input,textarea):focus{border-color:var(--action);outline:2px solid var(--action);outline-offset:2px;box-shadow:none}.crm-theme .form input[type=checkbox]{width:auto;min-height:auto;accent-color:var(--action)}.crm-theme .brand-form{border-radius:8px;max-width:1040px;padding:24px}.crm-theme .brand-form fieldset,.crm-theme .form-columns{gap:18px}.crm-theme .brand-card{border-radius:8px;padding:24px}.crm-theme .brand-card h2{margin:12px 0}.crm-theme .brand-card small{font-size:12px}.crm-theme .modal{border-color:var(--line);color:var(--ink);background:#fff;border-radius:12px;padding:24px}.crm-theme .modal-header h2{font-size:20px}.crm-theme .inbox-health{background:var(--selection);border-radius:8px;margin:16px 0;padding:16px}.crm-theme .unibox-shell{height:100dvh;overflow:hidden}.crm-theme .unibox-shell .dashboard{flex-direction:column;height:100dvh;display:flex}.crm-theme .unibox-shell .workspace-header{flex-shrink:0}.crm-theme .workspace-filters{flex-shrink:0;padding:8px 24px}.crm-theme .workspace-filters .unibox-filters{gap:6px}.crm-theme .workspace-filters .unibox-filters h2{font-size:12px}.crm-theme .workspace-filters .unibox-filters a{padding:6px 10px;font-size:13px}.crm-theme .unibox-shell .dashboard-content{flex:1;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:0}.crm-theme .unibox-toolbar{padding:14px 16px}.crm-theme .unibox-toolbar h1{margin:0;font-size:24px}.crm-theme .unibox-health,.crm-theme .unibox-filter-summary{padding:8px 16px;font-size:12px}.crm-theme .unibox-row.selected{border-left-color:var(--action)}.crm-theme .unibox-row strong{font-size:14px}.crm-theme .unibox-row :is(time,small){text-transform:none;font-size:12px}.crm-theme .unibox-reader{background:#fff;padding:24px}.crm-theme .unibox-reader .message-card{border:0;border-top:1px solid var(--line);border-radius:8px;padding:20px 0}.crm-theme .email-preview{max-width:72ch;font-size:14px;line-height:1.7}.crm-theme .unibox-conversation-heading h2{font-size:20px}.crm-theme .mobile-menu{z-index:2;margin:0;position:absolute;top:8px;left:12px}@media (max-width:1000px){.crm-theme .workspace-header{padding-left:112px}.crm-theme .workspace-header>span:first-child{display:none}.crm-theme .unibox,.crm-theme .unibox-shell{display:block}}@media (max-width:740px){.crm-theme .dashboard-content{padding:20px 16px}.crm-theme .brand-form{padding:20px}.crm-theme .form-columns{grid-template-columns:1fr}.crm-theme .form :is(input:not([type=checkbox]),select,textarea),.crm-theme .campaign-sending-settings :is(select,input[role=combobox]){font-size:16px}.crm-theme .workspace-filters{max-height:180px;padding:8px 16px;overflow-y:auto}.crm-theme .header-brand{width:180px}.crm-theme .unibox-reader{padding:16px}}.crm-select{min-width:0;position:relative}.crm-select .native-select{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.crm-select input{width:100%;min-width:0;height:38px;color:var(--ink);font:inherit;background:#fff;border:1px solid #7c898f;border-radius:6px;padding:8px 32px 8px 12px}.select-chevron{pointer-events:none;position:absolute;top:11px;right:10px}.select-options{border:1px solid var(--line);z-index:30;background:#fff;border-radius:8px;max-height:240px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #172b2620}.select-options [role=option]{cursor:pointer;border-radius:5px;justify-content:space-between;gap:8px;padding:10px;font-size:13px;display:flex}.select-options .option-active{background:var(--selection)}.select-options p{margin:0;padding:8px}.crm-theme .campaign-list{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.crm-theme .campaign-list-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(200px,2fr) minmax(140px,1fr) 100px 150px 60px;align-items:center;gap:16px;min-height:76px;padding:14px 20px;display:grid}.crm-theme .campaign-list-row:last-child{border-bottom:0}.crm-theme .campaign-list-row:hover{background:#f7fbfa}.crm-theme .campaign-list-row h2{overflow-wrap:anywhere;grid-area:1/1;min-width:0;margin:0;font-size:14px}.crm-theme .campaign-list-row h2 a{display:block}.crm-theme .campaign-list-row h2 a:hover{text-decoration:underline}.crm-theme .campaign-list-row p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:13px}.crm-theme .campaign-list-row>small:last-child{color:var(--muted);font-size:12px}.crm-theme .status-badge{color:var(--muted);border:1px solid var(--line);text-transform:capitalize;background:#f5f7f8;border-radius:5px;width:fit-content;padding:3px 8px;font-size:12px}.crm-theme .campaign-list-row .status-badge{grid-area:1/5}.crm-theme .entity-editor{max-width:1040px;margin:16px auto 0}.crm-theme .entity-header{z-index:4;background:var(--paper);justify-content:space-between;align-items:center;gap:20px;padding:12px 0;display:flex;position:sticky;top:0}.crm-theme .entity-header h1{margin:0 0 8px}.crm-theme .entity-actions{flex-shrink:0;gap:8px;display:flex}.crm-theme .entity-editor fieldset,.crm-theme .campaign-overview fieldset{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;padding:24px;display:grid}.crm-theme .field-wide{grid-column:1/-1}@media (max-width:1100px){.crm-theme .campaign-list-row{grid-template-columns:minmax(160px,2fr) minmax(100px,1fr) 90px 60px}.crm-theme .campaign-list-row .status-badge{grid-column:4}.crm-theme .campaign-list-row>small:last-child{grid-column:1/-1}}@media (max-width:740px){.crm-theme .campaign-list-row{grid-template-columns:minmax(0,1fr) 60px;gap:8px;padding:16px}.crm-theme .campaign-list-row .status-badge{grid-column:2}.crm-theme .campaign-list-row p{grid-column:1/-1}.crm-theme .entity-header{align-items:flex-start;position:static}.crm-theme .entity-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:5;background:#fff;justify-content:flex-end;position:fixed;bottom:0;left:0;right:0}.crm-theme .entity-editor{padding-bottom:90px}.crm-theme .entity-editor fieldset{grid-template-columns:1fr;padding:20px}}.crm-theme .campaign-list-row p:first-of-type{grid-area:1/2}.crm-theme .campaign-list-row p:nth-of-type(2){grid-area:1/3}.crm-theme .campaign-list-row>small:last-child{grid-area:1/4}.crm-theme .welcome-panel{border-radius:8px;margin-top:20px;padding:24px}.crm-theme .welcome-panel h2{font-size:20px}.crm-theme .pill{letter-spacing:.04em;color:var(--muted);font-size:12px}@media (max-width:1100px){.crm-theme .campaign-list-row>small:last-child{grid-area:2/1/auto/-1}}@media (max-width:740px){.crm-theme .campaign-list-row p:first-of-type{grid-area:2/1/auto/-1}.crm-theme .campaign-list-row p:nth-of-type(2){grid-area:3/1}.crm-theme .campaign-list-row>small:last-child{grid-row:4}}.crm-theme .suggested-input{min-width:0;font-weight:400;display:block;position:relative}.crm-theme .suggested-input input{padding-right:32px}.crm-theme .suggested-input .select-options{display:block}.crm-theme .suggested-input .select-options small{color:var(--muted);font-size:12px}.crm-theme .suggestion-help{color:var(--muted);padding:10px;font-size:12px;display:block}.crm-theme .entity-editor fieldset>label:not(.field-wide),.crm-theme .entity-editor fieldset>.form-columns,.crm-theme .entity-editor fieldset>details,.crm-theme .entity-editor fieldset>p{min-width:0}.crm-theme .entity-editor fieldset>.form-columns,.crm-theme .entity-editor fieldset>details,.crm-theme .entity-editor fieldset>p{grid-column:1/-1}.crm-theme .campaign-tabs{border-bottom:1px solid var(--line);gap:24px;margin:16px 0 24px;display:flex}.crm-theme .campaign-tabs a{border-bottom:2px solid #0000;padding:10px 0}.crm-theme .campaign-tabs [aria-current=page]{color:var(--action);border-color:var(--action);font-weight:600}.crm-theme .import-steps{flex-wrap:wrap;gap:16px;margin:20px 0;padding:0;list-style:none;display:flex}.crm-theme .import-steps li{color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:6px;padding:8px 12px}.crm-theme .import-steps [aria-current=step]{color:#0b5e57;background:var(--selection);border-color:var(--action);font-weight:600}.crm-theme .lead-table-scroll{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:100%;margin:16px 0;overflow:auto}.crm-theme .lead-table{border-collapse:collapse;text-align:left;width:100%;min-width:640px}.crm-theme .lead-table :is(th,td){border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;max-width:360px;padding:12px 16px;font-size:13px}.crm-theme .lead-table th{background:#fafbfc;font-weight:600}.crm-theme .lead-table caption{text-align:left;color:var(--muted);padding:12px 16px;font-size:12px}.crm-theme .lead-table td a{color:var(--action);text-decoration:underline}.crm-theme .lead-table pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:var(--muted);max-height:120px;margin:6px 0 0;overflow:auto}.crm-theme .import-counts{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:20px 0;display:grid}.crm-theme .import-counts>div{border:1px solid var(--line);border-radius:6px;padding:12px}.crm-theme .import-counts dt{color:var(--muted);font-size:12px}.crm-theme .import-counts dd{margin:4px 0 0;font-size:24px;font-weight:600}.crm-theme .lead-fields{gap:12px;display:grid}.crm-theme .lead-fields>div{grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:16px;display:grid}.crm-theme .lead-fields dt{color:var(--muted);font-size:13px}.crm-theme .lead-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.crm-theme .lead-sample{border-bottom:1px solid var(--line);padding:16px 0}.crm-theme .import-warning{color:#78550c;background:#fffbeb;border:1px solid #e8d39b;border-radius:6px;padding:12px}.crm-theme .import-file-fields{border:0;grid-template-columns:minmax(0,1fr) minmax(140px,240px);gap:16px;margin:0;padding:0;display:grid}.crm-theme .lead-import .form-actions{flex-wrap:wrap;gap:12px;margin:20px 0}.crm-theme .visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:740px){.crm-theme .import-file-fields{grid-template-columns:1fr}.crm-theme .import-steps{gap:8px;font-size:12px}.crm-theme .lead-fields>div{grid-template-columns:1fr;gap:4px}}.crm-theme .modal:has(.lead-inspector){border-radius:0;width:min(480px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.crm-theme .lead-inspector .form-actions{flex-wrap:wrap;margin-top:20px}.crm-theme .sequence-workspace{border:0;gap:16px;min-width:0;padding:0;display:grid}.crm-theme .sequence-step{min-width:0;padding:20px}.crm-theme .sequence-step-heading,.crm-theme .sequence-step-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.crm-theme .sequence-wait{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.crm-theme .sequence-wait input{width:80px}.crm-theme .variable-buttons{flex-wrap:wrap;gap:8px;display:flex}.crm-theme .sequence-step textarea{font-family:inherit}.crm-theme .modal:has(.sequence-preview){width:min(920px,100vw - 32px)}.crm-theme .preview-leads{flex-wrap:wrap;gap:6px;max-height:160px;display:flex;overflow:auto}.crm-theme .preview-leads button{overflow-wrap:anywhere;white-space:normal}.crm-theme .email-text-preview{border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;background:#fff;width:100%;margin-inline:auto;padding:20px}.crm-theme .sequence-step-heading>.text-button{overflow-wrap:anywhere;text-align:left;min-width:0}@media (max-width:740px){.crm-theme .sequence-editor{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}.crm-theme .campaign-header{z-index:4;background:var(--paper);align-self:flex-start;width:100%;padding-top:8px;position:sticky;top:0}.crm-theme .campaign-title-row{justify-content:space-between;align-items:center;gap:16px;min-height:76px;display:flex}.crm-theme .campaign-heading{min-width:0}.crm-theme .campaign-heading h1{margin:0 0 6px}.crm-theme .campaign-heading .hint{margin-left:12px}.crm-theme .campaign-header .campaign-tabs{margin:0}.crm-theme .campaign-overview fieldset{box-sizing:border-box;width:100%;max-width:1040px}.crm-theme .sequence-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-theme .sequence-workspace{box-sizing:border-box;width:100%;max-width:920px}.crm-theme .sequence-step,.crm-theme .sequence-workspace>.card,.crm-theme .sequence-fallbacks{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px}.crm-theme .sequence-step-heading{margin-bottom:16px;padding-inline-end:44px;position:relative}.crm-theme .sequence-step-toggle{min-height:40px;font-size:14px;font-weight:600}.crm-theme .sequence-step-chevron{border:1px solid var(--line);border-radius:6px;place-items:center;width:40px;height:40px;display:grid;position:absolute;inset-block-start:0;inset-inline-end:0}.crm-theme .sequence-step-toggle[aria-expanded=true] .sequence-step-chevron svg{transform:rotate(180deg)}.crm-theme .sequence-step-toggle:focus-visible .sequence-step-chevron{outline:2px solid var(--action);outline-offset:2px}.crm-theme .sequence-step .form{max-width:760px}.crm-theme .sequence-step .insert-variable{align-self:flex-end;margin-top:-8px}.crm-theme .sequence-workspace>.button{justify-self:start}.crm-theme .sequence-issues summary,.crm-theme .sequence-fallbacks summary{cursor:pointer}.crm-theme .sequence-issues{color:var(--muted);font-size:12px}.crm-theme .sequence-fallbacks:not([open])>:not(summary){display:none}.crm-theme .sequence-fallbacks summary{font-weight:600}.crm-theme .variable-picker{max-height:65dvh;padding:4px;overflow-y:auto}.crm-theme .campaign-overview,.crm-theme .sequence-editor{min-width:0}@media (max-width:740px){.crm-theme .campaign-header{position:static}.crm-theme .campaign-title-row{align-items:flex-start;min-height:76px;padding-block:12px}.crm-theme .campaign-heading .hint{margin:4px 0 0;display:block}.crm-theme .campaign-overview{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.crm-theme .campaign-overview fieldset{grid-template-columns:1fr;padding:16px}.crm-theme .sequence-step,.crm-theme .sequence-fallbacks{padding:16px}.crm-theme .sequence-toolbar{flex-wrap:wrap}}.crm-theme .form label.sequence-wait{color:var(--muted);flex-direction:row;justify-content:center;margin:0;font-weight:400}.crm-theme .form .sequence-wait input{width:72px}.crm-theme .campaign-header :is(a,button){scroll-margin-top:16px}.crm-theme .sequence-editor :is(input,textarea,button,summary,[role=alert]),.crm-theme .campaign-overview fieldset :is(input,textarea,button){scroll-margin-top:180px}.crm-theme .reply-workspace{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.crm-theme .reply-form,.crm-theme .reply-operation{border:1px solid var(--line);background:#fff;border-radius:8px;margin-bottom:16px;padding:20px}.crm-theme .reply-context{overflow-wrap:anywhere;gap:6px;font-size:13px;display:grid}.crm-theme .reply-form h3{margin:0}.crm-theme .reply-form .form-actions{flex-wrap:wrap}.crm-theme .reply-form textarea{box-sizing:border-box;width:100%}@media (max-width:740px){.crm-theme .reply-form,.crm-theme .reply-operation{padding:16px}}.crm-theme .unibox-conversation-heading{z-index:3;border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;align-items:center;gap:12px;margin:-24px -24px 16px;padding:12px 24px;display:flex;position:sticky;top:-24px}.reader-heading-text{flex:1;min-width:0}.crm-theme .unibox-conversation-heading h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:18px;line-height:1.3;display:-webkit-box;overflow:hidden}.crm-theme .unibox-conversation-heading p{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 0;display:flex}.reader-state{background:var(--selection);color:var(--action);border-radius:4px;padding:2px 6px;font-size:12px}.reader-heading-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.reader-heading-actions .button{min-height:36px;padding:8px 12px;font-size:13px}.reader-close,.reader-back{justify-content:center;align-items:center;min-width:40px;min-height:40px;display:inline-flex}.reader-back{display:none}.reader-heading-error{flex-basis:100%}.crm-theme .unibox-reader .message-card{margin-top:12px;padding:16px}.crm-theme .unibox-reader .message-card .email-preview{background:0 0;border:0;min-height:0;margin:12px 0 0;padding:0}.message-headers summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.message-headers summary:before{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;transform:rotate(-45deg)}.message-headers[open] summary:before{transform:rotate(45deg)}.message-headers summary strong{text-overflow:ellipsis;white-space:nowrap;flex:120px;min-width:0;font-size:14px;overflow:hidden}.message-headers summary>span,.message-headers time{color:var(--muted)}.message-headers dl{color:var(--muted);margin:12px 0 0;font-size:12px}.message-headers dl div{gap:8px;display:flex}.message-headers dt{min-width:36px}.message-headers dd{overflow-wrap:anywhere;margin:0}.crm-theme .unibox-reader .unibox-pagination:empty{padding:0}@media (max-width:1000px){.reader-back{display:inline-flex}}@media (max-width:640px){.crm-theme .unibox-conversation-heading{flex-wrap:wrap;gap:8px}.reader-heading-text{flex-basis:calc(100% - 56px)}.reader-heading-actions{margin-left:auto}}@media (max-width:1000px){.crm-theme .unibox-conversation-heading{margin:-16px -16px 12px;padding:10px 16px;top:-16px}}.unibox-toolbar-actions{align-items:center;gap:12px;display:flex}.inbox-health-indicator{position:relative}.inbox-health-indicator>summary{cursor:pointer;border:1px solid var(--line);border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;list-style:none;display:flex}.inbox-health-indicator>summary::-webkit-details-marker{display:none}.inbox-health-indicator.healthy>summary{color:#15803d}.inbox-health-indicator.warning>summary{color:#a16207;background:#fff8e6}.inbox-health-indicator.pending>summary{color:var(--muted)}.inbox-health-panel{z-index:8;border:1px solid var(--line);width:280px;max-width:calc(100vw - 32px);max-height:60dvh;color:var(--ink);background:#fff;border-radius:8px;padding:16px;font-size:13px;position:absolute;top:calc(100% + 8px);right:-80px;overflow:auto;box-shadow:0 8px 24px #172b2622}.inbox-health-panel .inbox-health{background:0 0;padding:0;display:block}.inbox-health-panel :is(time,small){overflow-wrap:anywhere}.inbox-health-panel .inbox-health a{margin-top:12px;text-decoration:underline;display:inline-block}.crm-theme .unibox-row{padding:10px 14px}.crm-theme .unibox-row-subject{gap:8px;margin-top:4px}.crm-theme .unibox-row-subject h2{flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:1.4}.crm-theme .unibox-row-subject small{color:var(--muted);font-size:12px}.crm-theme .unibox-row p{margin:4px 0 0;font-size:13px;line-height:1.4}@media (max-width:640px){.inbox-health-panel{right:-72px}.inbox-health-indicator>summary{width:40px;height:40px}}.follow-up-option{border-top:1px solid var(--line);padding-top:12px}.crm-theme .follow-up-toggle{align-items:center;gap:8px;font-size:14px;display:flex}.crm-theme .follow-up-toggle input{flex:none;width:18px;height:18px;min-height:18px}.follow-up-schedule{border:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;min-width:0;margin:0;padding:12px 0;display:grid}.follow-up-schedule .crm-select{min-width:0}.follow-up-list{gap:12px;margin-top:20px;display:grid}.follow-up-card{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:20px;display:flex}.follow-up-card>div{overflow-wrap:anywhere;min-width:0}.follow-up-card h2{margin:8px 0;font-size:16px}.follow-up-card p{margin:6px 0}@media (max-width:640px){.follow-up-card{flex-direction:column;align-items:stretch;padding:16px}.follow-up-schedule{grid-template-columns:minmax(0,1fr)}}.workspace-nav .settings-nav{border-top:1px solid var(--line);margin-top:24px}.email-settings-page{max-width:1040px;margin:24px auto}.email-account-row{background:var(--surface,white);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.email-account-row>div{overflow-wrap:anywhere;min-width:0}.email-settings-page .welcome-panel{margin:16px 0;padding:20px}.email-settings-page .brand-form{border:0;max-width:none;margin:0;padding:0}.email-settings-page .form-actions{flex-wrap:wrap}@media (max-width:640px){.email-account-row{flex-direction:column;align-items:flex-start}}.connection-summary{grid-template-columns:max-content minmax(0,1fr);gap:8px 16px;font-size:14px;display:grid}.connection-summary dd{overflow-wrap:anywhere;margin:0}.email-settings-page .field-label{margin-bottom:8px;font-weight:600;display:block}.email-settings-page details{margin:12px 0}.email-disconnect{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.email-disconnect button{color:var(--danger,#b91c1c)}.email-settings-page fieldset{border:0;min-width:0;margin:0;padding:0}html{scrollbar-gutter:stable}.settings-container{max-width:1040px;margin:0 auto}.settings-container .entity-editor,.settings-container .email-settings-page{max-width:none;margin:24px 0 0}.select-popup{z-index:40;border:1px solid var(--line);background:#fff;border-radius:6px;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 8px 24px #0002}.crm-theme .select-popup .select-options{box-shadow:none;border:0;margin:0;position:static}.select-actions{border-top:1px solid var(--line);padding:4px;display:grid}.select-actions a{padding:8px}.crm-theme .unibox-row:not(.unread) strong,.crm-theme .unibox-row:not(.unread) h2{font-weight:400}.crm-theme .unibox-row.unread strong,.crm-theme .unibox-row.unread h2{font-weight:600}.crm-theme label.checkbox-label,.crm-theme label.follow-up-toggle{text-align:left;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;display:grid}.crm-theme input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:2px 0 0;padding:0}.crm-theme .color-input{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-theme .color-input input[type=color]{cursor:pointer;width:40px;height:40px;padding:3px}.crm-theme .color-input input[type=text],.crm-theme .color-input input:not([type]){width:140px}.crm-theme .brand-field-group{grid-column:1/-1;gap:16px;display:grid}.crm-theme .settings-section-title{grid-column:1/-1;margin:0;font-size:18px}.email-accounts-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.email-accounts-toolbar h2{margin:0}.email-accounts-toolbar .hint{margin-bottom:0}.email-account-breadcrumb{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.email-account-breadcrumb strong{min-width:0}@media (max-width:640px){.email-accounts-toolbar{flex-direction:column;align-items:flex-start}}.crm-theme .color-field{gap:8px;display:grid}.crm-theme .unibox{grid-template-columns:clamp(300px,27vw,390px) minmax(0,1fr)}.crm-theme .mailbox-badge{color:#365e58;overflow-wrap:anywhere;background:#edf4f3;border-radius:5px;padding:2px 7px;display:inline-block}.crm-theme .message-card.outbound{background:#f5f9f8}.crm-theme .message-toggle{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.crm-theme .message-toggle strong{overflow-wrap:anywhere}.crm-theme .message-toggle span{color:var(--muted);flex-shrink:0;font-size:12px}.crm-theme .message-headers{margin-bottom:12px;font-size:12px}.crm-theme .thread-actions{gap:16px;padding:8px 0;display:flex}.crm-theme .reply-send-actions{position:static}.crm-theme .rich-email-body{min-height:80px}.crm-theme .unibox-filters>a:last-of-type{border-left:1px solid #dce5e3;margin-left:12px}@media (max-width:760px){.crm-theme .unibox{grid-template-columns:minmax(0,1fr)}.crm-theme .message-toggle{flex-wrap:wrap}}.crm-theme .account-filter{position:relative}.crm-theme .account-filter-popup{z-index:30;background:#fff;border:1px solid #dce5e3;border-radius:8px;gap:12px;width:min(360px,85vw);max-height:70vh;padding:16px;display:grid;position:absolute;top:calc(100% + 8px);overflow:auto;box-shadow:0 8px 24px #183a3326}.crm-theme .composer-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.crm-theme .composer-header-actions select{width:auto;min-width:120px}.crm-theme .reply-quote{gap:8px;padding:12px 0;display:grid}.crm-theme .contacts-search{flex-direction:row;align-items:center;gap:12px;margin:20px 0;display:flex}.crm-theme .contacts-search input{flex:1;min-width:0}.crm-theme .form.contacts-search select{width:auto;max-width:200px}.crm-theme .contact-muted{color:var(--muted);font-size:13px;display:block}.crm-theme .contact-empty{border:1px solid var(--line);background:#fff;padding:32px 20px}.crm-theme .contact-section,.crm-theme .contact-review{border:1px solid var(--line);background:#fff;border-radius:8px;margin:20px 0;padding:20px}.crm-theme .contact-section h2{margin:0 0 16px;font-size:18px}.crm-theme .contact-address{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto auto;align-items:end;gap:12px;margin:12px 0;display:grid}.crm-theme .contact-check{flex-direction:row;align-items:center;gap:8px;padding-bottom:12px;display:flex}.crm-theme .contact-check input{width:16px;height:16px;margin:0}.crm-theme .contact-entry{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:12px 0}.crm-theme .contacts-editor{padding-bottom:24px}@media (max-width:760px){.crm-theme .contact-address{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crm-theme .contacts-search{flex-wrap:wrap}.crm-theme .contacts-search input{flex-basis:100%}}.contact-import{max-width:1100px}.contact-import fieldset,.contact-bulk-form fieldset{border:0;min-width:0;padding:0}.contact-import-row{background:var(--surface,#fff);border:1px solid var(--border,#dce3e8);overflow-wrap:anywhere;border-radius:8px;margin:16px 0;padding:20px}.contact-import-row dl>div{border-bottom:1px solid #dce3e8;grid-template-columns:minmax(100px,180px) 1fr;gap:12px;padding:8px 0;display:grid}.contact-import-row dd{white-space:pre-wrap;margin:0}.contact-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.contact-check{align-items:center;gap:8px;margin:8px 0;flex-direction:row!important;justify-content:flex-start!important;display:flex!important}.contact-check input[type=checkbox],.lead-table input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0}.import-sample{overflow-wrap:anywhere;max-width:260px}@media (max-width:650px){.contact-two-columns{grid-template-columns:1fr}.contact-import-row{padding:14px}}.contact-export-fields{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;display:grid}.contact-list-form fieldset,.contact-permission-form fieldset{border:0;min-width:0;padding:0}.scan-editor{max-width:1240px;margin-inline:auto}.scan-columns{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);align-items:start;gap:28px;display:grid}.scan-columns>*,.scan-fields>*{min-width:0}.scan-images{gap:16px;display:grid}.scan-photo{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0;padding:16px}.scan-photo-preview{background:var(--paper);border-radius:4px;place-items:center;min-height:180px;max-height:360px;display:grid;overflow:hidden}.scan-photo-preview img{object-fit:contain;max-width:100%;max-height:320px;display:block}.scan-photo-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.scan-review-form{min-width:0;max-width:none}.scan-review-form>fieldset{border:1px solid var(--line);border-radius:8px;gap:16px;min-width:0;margin:0;padding:20px;display:grid}.scan-review-form label{gap:6px;display:grid}.scan-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.scan-address{flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:12px;display:flex}.scan-address>label{flex:160px;min-width:0}.scan-notice{border:1px solid var(--line);background:var(--selection);overflow-wrap:anywhere;border-radius:6px;padding:14px 16px}.scan-transcript{white-space:pre-wrap;overflow-wrap:anywhere}.scan-draft-list{padding:0;list-style:none}.scan-draft-list li{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:16px;padding:14px 0;display:flex}.scan-match{border-bottom:1px solid var(--line);overflow-wrap:anywhere;margin-bottom:16px;padding:16px 0}.scan-match label,.scan-review-form .contact-check{align-items:start;gap:8px;margin-block:10px;display:flex}.scan-review-form input[type=radio],.scan-review-form input[type=checkbox]{width:auto;margin-top:4px}.scan-review-actions{flex-wrap:wrap}@media (max-width:900px){.scan-columns{grid-template-columns:minmax(0,1fr)}.scan-images{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-images>:not(.scan-photo){grid-column:1/-1}}@media (max-width:580px){.scan-fields,.scan-images{grid-template-columns:minmax(0,1fr)}.scan-review-form>fieldset{padding:16px}.scan-address{align-items:start}}.crm-theme .scan-editor{max-width:1240px;margin:16px auto 0}.crm-theme .scan-review-form .scan-decision{flex-direction:row;align-items:start;gap:8px;display:flex}.crm-theme .scan-review-form input[type=radio],.crm-theme .scan-review-form input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--action);flex:none;margin:3px 0 0}.scan-review-actions{flex-wrap:wrap;gap:8px;display:flex}.scan-comparison{color:var(--muted);overflow-wrap:anywhere;font-weight:400;display:block}.crm-theme input:is([type=checkbox],[type=radio]){accent-color:var(--action)}.crm-theme .contacts-header{justify-content:space-between;gap:16px;margin-bottom:12px;display:flex}.crm-theme .contacts-header>div:first-child{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.crm-theme .contacts-header p{color:var(--muted);margin:0;font-size:14px}.contacts-header-actions,.contacts-empty-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.crm-theme .contacts-tabs{flex-wrap:wrap;gap:24px;margin:0 0 16px}.crm-theme .contacts-search{margin-bottom:16px}.contacts-selection-toolbar{flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0 12px;display:flex}.contacts-selection-toolbar .crm-select{min-width:180px;max-width:220px}.contacts-selection-toolbar .text-button{min-height:36px}.contacts-selection-toolbar .contact-muted{margin-inline-end:auto}.contacts-empty{text-align:center;border:1px solid var(--line);background:#fff;border-radius:8px;padding:40px 24px}.crm-theme .contacts-empty h2{margin:0 0 8px;font-size:20px}.crm-theme .contacts-empty p{max-width:500px;color:var(--muted);margin:0 auto 20px}.contacts-empty-actions{color:var(--action);justify-content:center}.crm-theme .contact-export-form{gap:16px}.contact-export-form>p{margin:0}.contact-export-form fieldset{border:0;min-width:0;max-height:min(48dvh,420px);margin:0;padding:0;overflow-y:auto}.contact-export-form legend{margin-bottom:12px;font-weight:600}.contact-export-form .contact-export-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.contact-export-form .contact-check{align-items:flex-start;min-height:32px;margin:0;padding:4px 0;font-weight:400;line-height:1.4}.contact-export-form .contact-check input{margin-top:2px}.contact-export-form .modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:8px;display:flex}@media (max-width:600px){.crm-theme .contacts-header{flex-wrap:wrap;align-items:flex-start}.crm-theme .contacts-tabs{gap:16px}.contacts-empty{padding:28px 16px}.contact-export-form .contact-export-fields{grid-template-columns:1fr}.contact-export-form .contact-check{min-height:40px}}.scan-return-links,.scan-acquisition{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.scan-start-action{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.scan-editor-header{margin-block:16px}.scan-steps{gap:16px;margin:16px 0;padding:0;list-style:none;display:flex}.scan-steps li{color:var(--muted);align-items:center;gap:8px;display:flex}.scan-steps li>span{border:1px solid var(--line);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.scan-steps li[aria-current],.scan-steps li.complete{color:var(--action);font-weight:600}.scan-steps li[aria-current]>span{background:var(--action);color:#fff;border-color:var(--action)}.scan-draft-meta{color:var(--muted);margin-bottom:20px}.scan-capture-only{grid-template-columns:minmax(0,1fr);max-width:780px}.scan-capture-only .scan-images{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-capture-only .scan-images>:not(.scan-photo){grid-column:1/-1}.scan-extraction{border:1px solid var(--line);background:#fff;border-radius:8px;justify-items:start;gap:12px;padding:16px;display:grid}.scan-extraction :is(h2,p){margin:0}.scan-acquisition-mobile{display:none}.scan-save-bar{z-index:2;border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px;position:sticky;bottom:0;box-shadow:0 -4px 12px #00000008}.scan-review-form,.scan-review-form .contact-review h2{scroll-margin-top:110px}.scan-review-form :is(input,select,textarea){scroll-margin-block:100px}.scan-committed-image{vertical-align:top;flex-direction:column;align-items:start;gap:8px;padding:16px 16px 0 0;display:inline-flex}.scan-committed-image img{object-fit:contain;max-width:180px;max-height:120px}@media (max-width:580px){.scan-capture-only .scan-images{grid-template-columns:minmax(0,1fr)}.scan-acquisition-desktop{display:none}.scan-acquisition-mobile{display:flex}.scan-steps{justify-content:space-between;gap:8px;font-size:12px}.scan-steps li{flex-direction:column;gap:4px}.scan-save-bar{padding-bottom:max(12px, env(safe-area-inset-bottom))}.scan-review-form .contact-review>.button{margin-block:4px}}.scan-success-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-theme .campaign-audience,.crm-theme .contact-filters{max-width:none}.audience-controls,.contact-filter-builder,.audience-review{min-width:0}.audience-controls{border:0;padding:0}.filter-rule{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(160px,1fr) minmax(150px,1fr);gap:12px;min-width:0;margin:12px 0;padding:16px;display:grid}.filter-rule>:is(label,.filter-values,.scan-fields){grid-column:1/-1}.filter-values{border:1px solid var(--line);flex-wrap:wrap;gap:8px 20px;max-height:240px;padding:12px;display:flex;overflow:auto}.crm-theme .contact-check{align-items:start;gap:8px;display:flex}.crm-theme .contact-check input{width:16px;height:16px;min-height:16px;accent-color:var(--action);flex:none;margin:2px 0}.audience-row-actions{gap:8px;display:grid}.audience-review{margin-top:20px}.audience-review .lead-table{min-width:650px}.audience-review .crm-select{min-width:180px}.contact-muted{display:block}@media (max-width:580px){.filter-rule{grid-template-columns:minmax(0,1fr)}}.contacts-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:16px;display:grid}.contact-filter-builder+.form-actions{margin-block:16px}@media (max-width:580px){.contacts-toolbar{grid-template-columns:minmax(0,1fr)}}.audience-review h2{scroll-margin-top:170px}.crm-theme .contacts-toolbar{border:0;min-width:0;margin:0;padding:0}.crm-theme .audience-recipients{min-width:900px}
