#letter-customer[hidden]{display:none!important}.editor-customer-picker{display:grid;gap:8px;min-width:0}.editor-customer-picker input{min-height:44px;width:100%;min-width:0}.editor-customer-picker>small{line-height:1.4;color:var(--muted,#64748b);overflow-wrap:anywhere}.editor-customer-picker>.btn{justify-self:start;min-height:44px}#editor-customer-results{max-height:300px;overflow:auto;border:1px solid #cbd5e1;border-radius:10px;background:var(--panel,#fff)}#editor-customer-results[hidden]{display:none}#editor-customer-results button{display:grid;gap:4px;text-align:left;width:100%;border:0;border-bottom:1px solid #e2e8f0;background:transparent;color:inherit;padding:12px;min-height:48px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}#editor-customer-results button:hover,#editor-customer-results button:focus,#editor-customer-results button[aria-selected=true]{background:#eef2ff;color:#312e81}#editor-customer-results small{color:#64748b}#editor-customer-results p{padding:10px;margin:0;font-size:13px}

/* Keep intrinsic select/input widths inside the document metadata column. */
.deskora-editor-layout { grid-template-columns: 300px minmax(0, 1fr); }
.deskora-editor-layout .editor-side,
.deskora-editor-layout .editor-meta,
.deskora-editor-layout .editor-meta .field,
.deskora-editor-layout .editor-meta .form-grid,
.deskora-editor-layout .editor-details,
.deskora-editor-layout .editor-actions { min-width: 0; max-width: 100%; }
.deskora-editor-layout .editor-meta { grid-template-columns: minmax(0, 1fr); }
.deskora-editor-layout .editor-meta .field { grid-template-columns: minmax(0, 1fr); }
.deskora-editor-layout .editor-meta input:not([type="checkbox"]):not([type="radio"]),
.deskora-editor-layout .editor-meta select,
.deskora-editor-layout .editor-meta textarea { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
.deskora-editor-layout .editor-meta select { text-overflow: ellipsis; }
.deskora-editor-layout .editor-meta .field-hint,
.deskora-editor-layout .editor-meta label,
.deskora-editor-layout .autosave-status { min-width: 0; overflow-wrap: anywhere; }
.deskora-editor-layout .editor-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deskora-editor-layout .editor-actions .btn { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.deskora-editor-layout .word-toolbar,
.deskora-editor-layout .deskora-pages-stage { min-width: 0; max-width: 100%; }
@media (max-width: 1320px) {
  .deskora-editor-layout { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .deskora-editor-layout { grid-template-columns: minmax(0, 1fr); }
  .deskora-editor-layout .editor-side { position: static; }
}
