/* A quieter, readable workspace that keeps the original brown palette. */
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.editor-workspace{padding:26px 28px 32px!important;max-width:none!important}
.editor-workspace .page-head{gap:18px}.editor-workspace .page-head h1{font-size:36px}.editor-workspace .page-head p{font-size:13px;line-height:1.7}
.editor-layout{grid-template-columns:minmax(360px,410px) minmax(0,1fr);gap:22px;align-items:start}
.editor-controls{padding:0;border:1px solid #ded7ce;border-radius:16px;max-height:calc(100dvh - 211px);min-height:540px;scrollbar-width:thin;scrollbar-color:#c9baab transparent;background:#fffefd;box-shadow:0 4px 24px #49352708}
.editor-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:12px;margin:0;border:0;border-bottom:1px solid #e9e1d8;background:#f5f1eb;position:sticky;top:0;z-index:12;border-radius:15px 15px 0 0}
.editor-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;line-height:1.3;font-weight:550;padding:11px 5px;border-radius:8px;background:transparent;color:#726251;border:1px solid transparent;min-width:0}
.editor-tabs button>span{font-size:16px;font-weight:400}.editor-tabs button:hover{background:#eae2d9;color:#47382c}.editor-tabs button.active{background:#fff;color:#634735;border-color:#d9cab9;box-shadow:0 2px 6px #49352709}
#editor-fields{padding:23px}.inspector-intro{margin-bottom:22px}.editor-kicker{font-size:10px;letter-spacing:.12em;font-weight:650;color:#92735d;line-height:1.6;display:block}
.editor-controls h2{font:500 29px/1.15 'Cormorant Garamond',Georgia,serif;margin:7px 0 10px;color:#3d3028}
.editor-controls h3{font-size:14px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:600;margin:0 0 12px;color:#48372a;overflow-wrap:anywhere}
.editor-controls p{font-size:13px;line-height:1.65;color:#7a6a5d;margin:0}
.editor-controls label,.modal-body .rich-field>label{font-size:12px;font-weight:550;line-height:1.5;color:#514236;margin-bottom:17px;display:block}
.editor-controls input:not([type=checkbox],[type=color],[type=file]),.editor-controls select,.editor-controls textarea{font:400 13px/1.5 Inter,sans-serif;padding:11px 12px;min-height:42px;border:1px solid #dcd3c8;border-radius:8px;color:#3e3027;background:#fff;margin-top:7px;width:100%;box-shadow:0 1px 2px #3c2b1903}
.editor-controls select{padding-right:30px;overflow:hidden;text-overflow:ellipsis}.editor-controls input::placeholder,.editor-controls textarea::placeholder{color:#ad9b8a;font-size:12px}
.editor-controls input:focus,.editor-controls textarea:focus,.editor-controls select:focus{outline:2px solid #baa08a;outline-offset:2px;border-color:#aa8567}
.editor-controls .form-grid{gap:0 14px}.editor-controls .form-grid>*{min-width:0}.editor-controls .field-help,.field-help{display:block;font:400 11px/1.6 Inter,sans-serif!important;color:#8c7b6b!important;letter-spacing:0;margin:7px 0 0}
.editor-controls .check-label{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;margin-bottom:10px}.editor-controls input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#7f5b42;margin:0}
.content-browser{padding:16px;background:#f8f5f0;border:1px solid #e8dfd4;border-radius:11px;margin-bottom:24px}.content-browser label{margin-bottom:14px}.content-browser label:last-of-type{margin-bottom:12px}
.content-browser>summary{display:block;cursor:pointer;list-style:none}.content-browser>summary::-webkit-details-marker{display:none}.content-browser>summary strong{display:block;font-size:17px;font-weight:550;line-height:1.45;margin:6px 0 10px;color:#513c2c}.browse-prompt{font-size:11px;color:#967152;display:flex;justify-content:space-between}.browser-options{border-top:1px solid #e5dace;margin-top:16px;padding-top:16px}.content-browser[open]{background:#fbf8f3}
.content-search{border-top:1px solid #e7ddd2;padding-top:12px}.content-search summary{font-size:11px;cursor:pointer;color:#8b6547;font-weight:550}.content-search input{font-size:12px!important}.content-search #editor-search-results{max-height:260px;overflow:auto;margin-top:10px}
.selected-heading{margin:0 0 17px;padding-bottom:15px;border-bottom:1px solid #ece4da}.selected-heading h3{font-size:17px;font-weight:550;line-height:1.4;margin:7px 0 0;letter-spacing:-.02em}
.editor-card{background:#fcfaf6;border:1px solid #e9e0d4;border-radius:11px;padding:17px;margin-bottom:18px}.editor-card>label:last-child{margin-bottom:0}.editor-card h3{margin-bottom:15px}.editor-card p+label{margin-top:18px}
.editor-disclosure{border:1px solid #e6ddd1;border-radius:9px;margin:13px 0;background:#fff}.editor-disclosure>summary{font-size:12px;font-weight:550;color:#68503b;padding:14px;cursor:pointer}.disclosure-body{padding:3px 14px 2px}.editor-disclosure[open]>summary{border-bottom:1px solid #eee7df;margin-bottom:14px}
.editor-hide{margin-top:21px!important}.inspector-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px;padding-top:19px;border-top:1px solid #e9dfd3}.inspector-actions button{font-size:12px;padding:11px 14px;border-radius:8px}.quiet{background:transparent!important;border-color:transparent!important;color:#8e6b50!important}.quiet:hover{background:#f3ede5!important}
.editor-image-preview{display:block;width:100%;height:200px;object-fit:cover;object-position:center 25%;border-radius:10px;margin-bottom:17px;background:#e9e0d6}.upload-control{background:#f5efe7;padding:12px;border-radius:8px}.upload-control input{display:block;font-size:11px;width:100%;margin-top:8px}
.preview-wrap{border:1px solid #ded7ce;border-radius:16px;overflow:hidden;box-shadow:0 4px 24px #49352708;background:#e9e3da;min-width:0;position:sticky;top:20px}
.preview-toolbar{padding:14px 17px;background:#fffefd;font-size:12px;gap:12px;flex-wrap:wrap;border:0;color:#6a5847}.preview-toolbar button,.preview-toolbar a{font-size:11px;padding:7px 9px}.preview-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a1ae8c;margin-right:7px}
.preview-hint{font-size:10px;color:#927c66;background:#f7f3ed;padding:8px 17px;border-block:1px solid #e9e1d6}.preview-frame{display:block;border:0;height:calc(100dvh - 313px);min-height:500px;width:100%;background:#fff;margin:0 auto}.preview-frame.mobile{width:min(390px,100%)}
.preview-canvas{position:relative;overflow:hidden;height:calc(100dvh - 313px);min-height:500px}.preview-canvas .preview-frame{max-width:none;min-height:0;margin:0;transform-origin:top left}.preview-wrap{padding-bottom:0}
.section-list{display:grid;gap:14px}.section-card{border:1px solid #e4d9cc;border-radius:11px;padding:16px;background:#fff;margin-bottom:12px}.section-list .section-card{margin-bottom:0}.section-card-head{display:flex;gap:11px;align-items:flex-start}.section-card-head>div{flex:1;min-width:0}.section-card h3{margin:0 0 5px;font-size:14px}.section-card p{font-size:11px;line-height:1.6}.section-number{font:500 18px 'Cormorant Garamond',serif;color:#baa28a;padding-top:1px}.section-status{font-size:9px;white-space:nowrap;border-radius:20px;color:#738058;background:#f1f3e9;padding:4px 7px}.section-hidden{background:#faf7f3}.section-hidden .section-status{background:#eee4da;color:#957257}
.section-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:14px}.editor-controls button.small{font-size:11px;padding:7px 10px;border-radius:7px}.section-contents{border-top:1px solid #eee7de;margin-top:13px;padding-top:12px}.section-contents summary{font-size:11px;color:#8d745c;cursor:pointer}.section-item{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:10px 4px!important;background:transparent;border:0;border-bottom:1px solid #f0ebe4;border-radius:0;font-size:11px!important;line-height:1.5;color:#5d4938}.section-item:hover{background:#f7f2eb}.section-item>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.section-item small{display:block;font-size:10px;color:#a18c77}.item-kind{font-size:9px;text-transform:uppercase;letter-spacing:.03em;color:#ab947e;flex:0 0 44px}.custom-sections-heading{margin-top:32px}.editor-empty{font-size:12px;line-height:1.7;color:#95816e;padding:18px;border:1px dashed #d9caba;border-radius:10px;background:#fbf7f1}
.navigation-group{margin-top:27px}.navigation-group>h3{font-size:15px}.navigation-group>h3>span{font:500 10px Inter,sans-serif;background:#eee5d9;color:#947558;padding:3px 7px;border-radius:20px;margin-left:6px}.navigation-item{padding:15px;border:1px solid #e6dcd0;border-radius:10px;margin-bottom:11px;background:#fff}.navigation-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:9px}.navigation-item strong{font-size:13px;line-height:1.5;color:#5b422e;font-weight:550;overflow-wrap:anywhere}.navigation-item>label{font-size:10px;margin-bottom:11px;color:#9c8168}.navigation-item input:not([type=checkbox]){font-size:12px!important}.navigation-options{display:flex;flex-wrap:wrap;gap:18px}.navigation-options .check-label{font-size:11px;margin:0}
.editor-controls .color-row{padding:10px;background:#faf6ef;border:1px solid #eee4d8;border-radius:8px;display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:11px}.color-row input[type=color]{width:34px;height:34px;padding:0;border:0;background:none;cursor:pointer}.editor-controls .revision{padding:16px;border:1px solid #e4d9cc;border-radius:10px;margin-bottom:13px}.editor-controls .revision strong{font-size:13px}.editor-controls .revision small{font-size:11px;line-height:1.6;display:block;margin:5px 0 12px}.editor-controls .code-input{font-family:Consolas,monospace;font-size:12px;line-height:1.7}
/* Rich text controls, self-hosted with the rest of the portal. */
.rich-field{margin-bottom:23px;min-width:0}.rich-field>label{margin-bottom:8px!important}.rich-toolbar.ql-toolbar.ql-snow{border:1px solid #d9cdbf;border-radius:9px 9px 0 0;padding:8px 6px;background:#f8f4ee;font-family:Inter,sans-serif;line-height:1.3}
.rich-toolbar.ql-toolbar.ql-snow .ql-formats{margin:2px 6px 2px 0}.rich-toolbar.ql-snow button{width:27px;height:28px;padding:5px!important;border:0!important;background:transparent;border-radius:4px;margin:0}.rich-toolbar.ql-snow button:hover{background:#e9dfd2}.rich-toolbar.ql-snow .ql-picker{height:28px;font-size:11px;color:#6d513a}.rich-toolbar.ql-snow .ql-picker-label{padding:5px 19px 5px 7px!important;border-radius:5px;line-height:18px;border:0}.rich-toolbar .ql-font{width:139px!important}.rich-toolbar .ql-size{width:102px!important}.rich-toolbar .ql-header{width:130px!important}.rich-toolbar .ql-font .ql-picker-label:before,.rich-toolbar .ql-font .ql-picker-item:before,.rich-toolbar .ql-size .ql-picker-label:before,.rich-toolbar .ql-size .ql-picker-item:before,.rich-toolbar .ql-header .ql-picker-label:before,.rich-toolbar .ql-header .ql-picker-item:before{content:attr(data-label)!important}.rich-toolbar.ql-snow .ql-picker-options{border-radius:7px;box-shadow:0 5px 24px #412b1822;padding:8px;max-height:240px;overflow:auto;z-index:30;font:12px Inter,sans-serif}.rich-toolbar.ql-snow .ql-picker-item{font-size:12px!important;line-height:1.8}
.rich-surface.ql-container.ql-snow{border:1px solid #d9cdbf;border-top:0;border-radius:0 0 9px 9px;background:#fff;font:15px/1.6 Inter,sans-serif;color:#4a3728}.rich-surface .ql-editor{min-height:190px;max-height:380px;overflow:auto;padding:17px;line-height:1.6;font-size:15px}.rich-surface .ql-editor p{color:inherit;font-size:inherit;line-height:inherit}.rich-surface .ql-editor h1{font-size:1.8em}.rich-surface .ql-editor h2{font-size:1.5em}.rich-surface .ql-editor h3{font-size:1.2em;text-transform:none;letter-spacing:0}.rich-surface .ql-editor.ql-blank:before{font-size:13px;font-style:normal;color:#b19d88}.rich-surface .ql-tooltip{left:0!important;max-width:100%;white-space:normal;border-radius:8px;padding:10px;font-size:12px;z-index:20}.rich-surface .ql-tooltip input[type=text]{display:inline-block!important;width:155px!important;height:30px!important;min-height:30px!important;padding:4px 6px!important;margin:4px!important;font-size:12px!important}.rich-surface .ql-tooltip a{color:#946644}.rich-history button{color:#74563b;font-size:19px}.rich-surface:focus-within{outline:2px solid #c5ad95;outline-offset:1px}
.rich-toolbar.ql-snow svg{width:18px;height:18px;stroke:none;fill:none;stroke-width:1}.rich-toolbar .ql-stroke{stroke:#67503c}.rich-toolbar .ql-fill{fill:#67503c}.rich-toolbar .ql-color-label.ql-stroke{stroke:transparent}.rich-toolbar .ql-picker-label svg{right:0}
[data-rich-mode=inline] .ql-editor{min-height:105px}.modal-body .rich-field{margin-bottom:23px}.modal-body .rich-toolbar{position:relative}.modal-body .field-help{margin-top:7px}.modal-body .editor-disclosure{margin-bottom:20px}.modal-body input[type=hidden]{display:none!important}
@media(min-width:1700px){.editor-layout{grid-template-columns:440px minmax(0,1fr)}}
@media(max-width:1200px){.editor-workspace{padding:20px!important}.editor-layout{grid-template-columns:minmax(330px,380px) minmax(0,1fr);gap:15px}#editor-fields{padding:18px}.editor-workspace .page-head h1{font-size:31px}.editor-workspace .page-actions{gap:7px}.editor-workspace .page-actions button{font-size:11px;padding:10px}.editor-tabs button{font-size:11px;gap:5px}}
@media(max-width:980px){.editor-layout{grid-template-columns:1fr}.editor-controls{max-height:760px;min-height:0}.preview-wrap{position:static}.preview-frame{height:650px}.editor-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.preview-toolbar{flex-wrap:wrap}}
@media(max-width:600px){.editor-workspace{padding:16px!important}.editor-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-controls{max-height:none}.editor-workspace .page-head h1{font-size:29px}#editor-fields{padding:18px}.preview-frame{min-height:450px;height:550px}.preview-toolbar{padding:11px}.editor-workspace .page-actions{flex-wrap:wrap}.editor-workspace .page-actions .pill{font-size:10px}}
