/* Field editors share the portal's typography, spacing and in-site dialogs. */
.field-config-hint,.field-timezone-label{font-size:13px;color:#64706c;margin:8px 0 16px;line-height:1.5}
.field-zone-search{margin-bottom:8px!important;font-weight:400!important}
.record-expanded-field{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left!important;border-radius:6px!important;font:inherit;color:inherit;white-space:normal!important;min-height:40px;padding:10px 12px!important;background:#fff;border:1px solid #e1e5e2}
.record-calculated-value{padding:10px 0;min-width:0;color:#202624;font:inherit}
.record-rich-field{width:100%;min-width:0;border:1px solid #e1e5e2;border-radius:6px;padding:12px;background:#fff}
.rich-text-value{font:inherit;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}
.rich-text-value p{font:inherit;margin:0 0 .65em}.rich-text-value p:last-child{margin:0}
.rich-text-value ol,.rich-text-value ul{margin:0 0 .65em;padding-left:22px}.rich-text-value strong{font-weight:600}.rich-text-value a{color:#123b2a;text-decoration:underline}
.grid-cell>.rich-text-value{overflow:hidden;max-height:100%;white-space:nowrap;line-height:inherit}.grid-cell>.rich-text-value p{display:inline;margin:0}.grid-cell>.rich-text-value p+p:before,.grid-cell>.rich-text-value p+ol:before,.grid-cell>.rich-text-value p+ul:before,.grid-cell>.rich-text-value ol+p:before,.grid-cell>.rich-text-value ul+p:before{content:' · '}.grid-cell>.rich-text-value ul,.grid-cell>.rich-text-value ol{display:inline;padding:0;margin:0}.grid-cell>.rich-text-value li{display:inline}.grid-cell>.rich-text-value li+li:before{content:' · '}
.record-rich-field .rich-edit-button{margin-top:10px;color:#53605a;font-size:13px;min-height:32px;padding:5px 10px}
.expanded-field-modal.portal-modal{width:min(780px,calc(100vw - 32px));max-width:780px;max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;padding:24px;gap:0}
.expanded-field-modal h2{margin:0 44px 20px 0!important;flex:none}
.rich-text-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:8px;background:#f6f8f6;border:1px solid #dce2dd;border-radius:8px 8px 0 0;flex:none}
.rich-text-toolbar button{height:34px;width:34px;min-width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0!important;background:transparent;border-radius:5px!important;font-size:15px;line-height:1;color:#48534c}
.rich-text-toolbar button:hover,.rich-text-toolbar button[aria-pressed=true]{background:#dceae1;color:#123b2a}
.rich-text-toolbar button svg{height:17px;width:17px}.rich-text-toolbar button:focus-visible{outline:2px solid #123b2a;outline-offset:1px}
.expanded-rich-editor{min-height:180px;height:min(48dvh,430px);flex:1 1 auto;overflow:auto;border:1px solid #dce2dd;border-top:0;border-radius:0 0 8px 8px}
.expanded-rich-editor .ql-editor{min-height:180px;padding:18px;font:400 15px/1.7 Inter,sans-serif;outline:none;overflow-wrap:anywhere;white-space:pre-wrap;height:100%;overflow-y:auto;tab-size:4}
.expanded-rich-editor .ql-editor p{margin:0 0 10px}.expanded-rich-editor .ql-editor ol{padding-left:22px;margin:0 0 10px}.expanded-rich-editor .ql-editor li[data-list=bullet]{list-style-type:disc}.expanded-rich-editor .ql-editor li[data-list=ordered]{list-style-type:decimal}.expanded-rich-editor .ql-ui{display:none}.expanded-rich-editor .ql-editor a{text-decoration:underline;color:#123b2a}.expanded-rich-editor .ql-editor strong{font-weight:600}
.expanded-rich-editor .ql-clipboard{display:none}.expanded-rich-editor .ql-editor.ql-blank:before{content:attr(data-placeholder);color:#849088;position:absolute;pointer-events:none;font-style:normal}
.rich-link-editor{display:flex;align-items:end;gap:10px;padding:12px;border:1px solid #dce2dd;border-top:0}.rich-link-editor[hidden]{display:none}.rich-link-editor label{flex:1;min-width:0;margin:0!important}.rich-link-editor button{flex:none;margin-bottom:1px}
.expanded-field-modal footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 0!important;margin:0!important;border:0!important}.field-character-count{font-size:12px;color:#748078}.field-editor-error{font-size:13px;line-height:1.5;color:#a8283a;margin:12px 0 0}.field-editor-error[hidden]{display:none}
.field-datetime-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-timezone-label{display:flex;align-items:center;gap:8px}.field-datetime-modal .field-dst-choice[hidden]{display:none}
@media(max-width:600px){.expanded-field-modal.portal-modal{padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.expanded-rich-editor{height:45dvh}.rich-link-editor{align-items:stretch;flex-direction:column}.field-datetime-pair{gap:10px}.expanded-field-modal .rich-text-toolbar{padding:6px;gap:2px}.expanded-field-modal .rich-text-toolbar button{height:32px;width:32px;min-width:32px}}
