dialog.wide-editor{width:min(1100px,96vw);max-width:1100px}dialog.wide-editor #dialog-body{max-height:72vh;overflow:auto}.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;border:1px solid #dce3e8;border-radius:10px 10px 0 0;padding:10px;background:#f4f6f7;margin-top:20px;position:sticky;top:0;z-index:2}.rich-toolbar button,.rich-fields button{border:1px solid #dce3e8;border-radius:5px;background:white;padding:7px 10px;color:#223440;cursor:pointer;font:inherit;font-size:13px}.rich-toolbar button:hover,.rich-fields button:hover{background:#dcf6e0}.rich-toolbar select{width:150px;margin:0;padding:7px}.rich-fields{padding:10px;background:#f4f6f7;display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:13px}.rich-page{background:white;min-height:340px;border:1px solid #dce3e8;padding:35px 45px;line-height:1.65;outline:none;overflow-wrap:anywhere;white-space:pre-wrap}.rich-page:focus{border-color:#5ea971;box-shadow:inset 0 0 0 1px #5ea971}.rich-page p,.rich-preview p{margin:0 0 12px}.rich-page h1,.rich-preview h1{font-size:28px;margin:18px 0}.rich-page h2,.rich-preview h2{font-size:23px;margin:16px 0}.rich-page h3,.rich-preview h3{font-size:19px;margin:12px 0}.rich-page table,.rich-preview table{border-collapse:collapse;width:100%;margin:14px 0}.rich-page td,.rich-page th,.rich-preview td,.rich-preview th{border:1px solid #aebbc5;padding:9px;min-width:60px;white-space:normal}.rich-page ul,.rich-page ol,.rich-preview ul,.rich-preview ol{padding-left:30px}.rich-page blockquote,.rich-preview blockquote{border-left:3px solid #75bf87;padding-left:15px}.rich-count{display:block;margin:8px 0;color:#70808a}.field-token{background:#e2f4e5;color:#295d3d;border-radius:4px;padding:2px 4px;white-space:nowrap}.rich-link-panel{padding:12px;background:#f4f6f7}.rich-link-panel[hidden],#rich-document[hidden],#rich-template-choice[hidden],#rich-file[hidden],#rich-url[hidden]{display:none}.rich-preview{padding:24px;background:white;line-height:1.65;overflow-wrap:anywhere}.budget-sheet input,.budget-sheet select{margin:0;border:1px solid transparent;background:transparent;border-radius:3px;padding:8px;width:100%;min-width:90px}.budget-sheet input:focus,.budget-sheet select:focus{border-color:#5ea772;background:white}.budget-sheet th{white-space:nowrap}.budget-sheet td{padding:7px 5px;vertical-align:middle}.budget-sheet td:nth-child(2){min-width:190px}.budget-sheet td:last-child{white-space:nowrap}.budget-sheet td:first-child{min-width:155px}.budget-sheet .button{padding:5px 8px;margin:3px}.budget-sheet input[type=number]{width:110px;text-align:right}#budget-contingency{width:130px}#budget-people{width:auto;margin-right:8px}.budget-totals{max-width:580px;margin:22px 0 0 auto}.budget-totals>div{display:flex;justify-content:space-between;gap:25px;padding:10px 0;border-bottom:1px solid #e5e9ec}.budget-totals .budget-grand{font-size:21px;font-weight:700;background:#e8f8eb;padding:14px} @media(max-width:650px){.rich-page{padding:20px}.rich-toolbar{position:static}.rich-preview{padding:10px}}
dialog.wide-editor[open]{display:flex;flex-direction:column;max-height:92vh;overflow:hidden}dialog.wide-editor #dialog-form{display:flex;flex-direction:column;min-height:0;max-height:92vh}dialog.wide-editor #dialog-body{min-height:0;max-height:none;overflow:auto}dialog.wide-editor .dialog-head,dialog.wide-editor .dialog-actions{flex-shrink:0}
