.firm-email-template-editor_editor__yRUlu{display:grid;gap:18px;padding:22px}.firm-email-template-editor_editor__yRUlu label{display:grid;gap:8px;font-weight:600}.firm-email-template-editor_editor__yRUlu input,.firm-email-template-editor_editor__yRUlu textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-weight:400;color:var(--text-primary);background:var(--surface-primary);border:1px solid var(--border-default,#ccd6e3);border-radius:7px;padding:10px 12px}.firm-email-template-editor_editor__yRUlu input{min-height:44px}.firm-email-template-editor_editor__yRUlu input:focus-visible,.firm-email-template-editor_editor__yRUlu textarea:focus-visible{outline:2px solid var(--accent,#00438c);outline-offset:2px}.firm-email-template-editor_editor__yRUlu textarea{resize:vertical;line-height:1.6}.firm-email-template-editor_loading__vXPdi{margin:0;padding:22px;color:var(--text-secondary,#465c76)}.firm-email-template-editor_contentOptions__8TrJe{min-width:0;margin:0;padding:16px;border:1px solid var(--border-default,#ccd6e3);border-radius:8px}.firm-email-template-editor_contentOptions__8TrJe legend{padding:0 6px;font-weight:600}.firm-email-template-editor_contentOptions__8TrJe>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.firm-email-template-editor_contentOptions__8TrJe label{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.45;cursor:pointer}.firm-email-template-editor_contentOptions__8TrJe input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0;accent-color:var(--accent,#00438c)}.firm-email-template-editor_variables__NB9eE summary{cursor:pointer;font-weight:600}.firm-email-template-editor_variables__NB9eE .firm-email-template-editor_tokens__3SlNH{margin-top:12px}.firm-email-template-editor_tokens__3SlNH{display:flex;flex-wrap:wrap;gap:8px}.firm-email-template-editor_tokens__3SlNH code{padding:6px 9px;border:1px solid var(--border-color,#ccd6e3);border-radius:6px;font-size:13px}.firm-email-template-editor_locked__WSK7b{color:var(--text-secondary,#465c76);font-size:13px;line-height:1.6;margin:0}.firm-email-template-editor_readOnlyBadge__DJA2A{display:inline-flex;flex:0 0 auto;align-items:center;min-height:28px;padding:3px 9px;border:1px solid var(--border-default,#ccd6e3);border-radius:6px;background:var(--surface-secondary);color:var(--text-secondary,#465c76);font-size:12px;font-weight:600}.firm-email-template-editor_systemInfo__voMqm{display:grid;gap:10px;padding:18px 22px;border-bottom:1px solid var(--border-default,#ccd6e3);line-height:1.5}.firm-email-template-editor_systemInfo__voMqm p{margin:0}.firm-email-template-editor_systemInfo__voMqm>button{justify-self:start}.firm-email-template-editor_systemInfo__voMqm dl{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;margin:4px 0 0;font-size:13px}.firm-email-template-editor_systemInfo__voMqm dt{color:var(--text-secondary,#465c76)}.firm-email-template-editor_systemInfo__voMqm dd{margin:0;overflow-wrap:anywhere}.firm-email-template-editor_footer__ecfiH{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border-color,#ccd6e3);padding-top:18px}.firm-email-template-editor_footer__ecfiH>div{display:flex;gap:8px;flex-wrap:wrap}.firm-email-template-editor_footer__ecfiH>span{font-size:13px}@media(max-width:640px){.firm-email-template-editor_editor__yRUlu,.firm-email-template-editor_systemInfo__voMqm{padding:16px}.firm-email-template-editor_contentOptions__8TrJe>div{grid-template-columns:1fr}.firm-email-template-editor_footer__ecfiH>div{width:100%}.firm-email-template-editor_footer__ecfiH button{flex:1 1}}.crm-search-field{box-sizing:border-box;display:grid;width:100%;height:44px;min-width:0;grid-template-columns:20px minmax(0,1fr) 32px;align-items:center;gap:9px;padding:0 8px 0 12px;border:1px solid var(--control-border,var(--line));border-radius:8px;background:var(--control-bg,var(--surface));color:var(--ink);letter-spacing:0}.crm-search-field:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-primary) 12%,transparent)}.crm-search-field>svg{color:var(--muted)}.crm-search-field>input{box-sizing:border-box;width:100%;height:100%;min-height:0;min-width:0;margin:0;padding:0;border:0;border-radius:0;outline:0;color:var(--ink);caret-color:var(--ink);font:inherit;font-size:14px;font-weight:600;letter-spacing:0;appearance:none;text-align:start;text-indent:0}.crm-search-field>input,.crm-search-field>input:focus{background:transparent;box-shadow:none}.crm-search-field>input::placeholder{color:var(--muted);opacity:1}.crm-search-field>input::-webkit-search-cancel-button,.crm-search-field>input::-webkit-search-decoration{appearance:none}.crm-search-field>.crm-search-clear{display:grid;width:32px;height:32px;min-height:0;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.crm-search-field>.crm-search-clear:hover{background:var(--surface-muted);color:var(--ink)}.crm-search-field>.crm-search-clear:focus-visible{outline:2px solid var(--accent-primary);outline-offset:1px}.customer-search-sticky.crm-search-layout,.record-list-toolbar .record-list-toolbar-main.crm-search-layout{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:12px;min-width:0}.crm-search-layout>.crm-search-slot,.customer-search-sticky.crm-search-layout>.customer-search-combobox{position:relative;flex:0 1 auto;width:min(100%,680px);min-width:0;max-width:680px}.crm-search-layout .record-list-dates,.crm-search-layout .record-list-selects{flex-wrap:wrap;min-width:0}.crm-search-layout .record-list-result-count{margin-left:0}.customer-search-suggestions>button[aria-selected=true]{background:color-mix(in srgb,var(--accent-primary) 8%,var(--surface));outline:2px solid var(--accent-primary);outline-offset:-2px}.crm-search-slot .customer-search-suggestions{box-sizing:border-box;border-radius:8px}.crm-search-slot .customer-search-suggestions>button{min-width:0}.crm-search-slot .customer-search-suggestions>button>span:first-child{flex:1 1}.crm-search-slot .customer-search-suggestions>button>span:last-child{flex:none}.crm-search-slot .customer-search-suggestions small{overflow-wrap:anywhere}.cg-directory-name strong,.control-customer-group>summary>strong,.customer-record-name strong,.ip-customer-group>summary>strong,.offer-customer-name strong,.offer-customer-name>small{text-transform:uppercase}