/* Prisme's editorial workspace: quiet surfaces, clear actions, real content. */
.cms-dialog.cms-dialog-designed{padding:0;width:min(920px,calc(100% - 40px));max-width:920px;max-height:90dvh;border:1px solid #e5dbe2;border-radius:24px;color:#27242b;background:#fff;box-shadow:0 28px 100px #24132035}
.cms-dialog-designed::backdrop{background:#27212b88;backdrop-filter:blur(4px)}
body:has(#cmsDialog[open]){overflow:hidden}
.cms-dialog-designed>form[method=dialog]{display:none}
.cms-dialog-designed #creativeInfo,.cms-dialog-designed #sectionComposer{width:100%;max-width:none;margin:0}
.editor-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:30px 34px 25px;border-bottom:1px solid #e9e1e7;background:#faf7f5}
.editor-dialog-head .editor-kicker,.section-proposal-heading .editor-kicker{font-size:11px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:#972462;margin:0 0 9px;font-weight:650}
.editor-dialog-head h2{font-size:clamp(25px,3vw,34px);line-height:1.14;letter-spacing:-.035em;margin:0;max-width:620px}
.editor-dialog-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #e2d6de;border-radius:50%;background:white;color:#6b5261;font-size:28px;cursor:pointer}
.editor-dialog-close:hover{background:#f5e8f0;color:#972462}
.editor-dialog-body{padding:26px 34px 30px}
.editor-dialog-intro{margin:0 0 25px;font-size:15px;line-height:1.75;color:#665e69;max-width:720px}
.cms-dialog-designed .button{min-height:48px;font-size:14px;padding:13px 20px;gap:16px;border-radius:12px;letter-spacing:0}
.editor-small-note{font-size:12px;line-height:1.7;color:#766976;margin:15px 0}
.editor-input-label{font-size:15px;font-weight:650;display:block;margin:20px 0 10px}
#sectionIdea,.section-placement select,.site-info-field input,.site-info-field textarea{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:15px;line-height:1.6;background:#fff;color:#27242b;border:1px solid #d8cdd6;border-radius:12px;padding:13px 15px;min-height:48px}
#sectionIdea{background:#fdfafb;resize:vertical;min-height:136px;border-color:#cda8c0;padding:18px;font-size:16px}
.cms-dialog-designed :is(input,textarea,select,button,summary):focus-visible{outline:3px solid #972462;outline-offset:3px}
.section-page-context{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;padding:12px 15px;border-left:3px solid #972462;background:#f8f2f6;color:#75586b}
.section-page-context strong{font-size:14px;color:#38232f}.section-page-context>span:last-child{margin-left:auto;color:#4f7361}
.section-ideas{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;margin:12px 0 22px}.section-ideas>span{width:100%;font-size:11px;color:#7a6a77;margin-bottom:2px}
.section-ideas button{background:#fff;border:1px solid #e6dce3;color:#805570;min-height:38px;padding:8px 12px;border-radius:8px;font:inherit;font-size:12px;cursor:pointer}.section-ideas button:hover{background:#f7edf3;border-color:#b17598}
.section-placement{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;font-size:13px;margin-top:24px}.section-placement select{font-size:13px}
.section-generate-actions,.section-result-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}
#sectionError:not(:empty),#siteInfoError:not(:empty){background:#fff1f1;color:#a02d43;padding:14px 17px;font-size:14px;border-radius:10px;margin-block:15px}
#sectionProgress:not(:empty){font-size:14px;color:#715366;border-left:2px solid #b781a1;padding:10px 16px;margin-top:18px}
#sectionResult:not(:empty){margin-top:30px;padding:28px;border:1px solid #d6dfd7;border-top:3px solid #66836d;border-radius:16px;background:#f9fbf8}
.section-proposal-heading{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.section-proposal-heading h3{font-size:26px;line-height:1.2;letter-spacing:-.02em;margin:0 0 18px}.section-proposal-heading .editor-kicker{color:#56745c}.section-proposal-mark{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e2ebe1;color:#49654f}
.section-proposal-copy,.section-proposal-items p{font-size:14px;line-height:1.8;white-space:pre-line;margin:0;color:#59535b}.section-proposal-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.section-proposal-items article{padding:18px;border:1px solid #dce3d9;border-radius:10px;background:white}.section-proposal-items h4{font-size:16px;line-height:1.4;margin:0 0 10px}.section-proposal-note{padding:13px 16px;border-left:3px solid #b28248;background:#faf3e8;color:#715732;font-size:13px;line-height:1.7;margin-top:20px}
#sectionPreviewWrap iframe{border:1px solid #d7d0d8;border-radius:10px;width:100%;height:480px;background:white;margin-top:8px}
.section-manual{border-top:1px solid #e8dfe6;padding-top:22px;margin-top:28px}.section-manual summary{font-size:13px;color:#776574;cursor:pointer;min-height:32px}.section-manual p{font-size:13px;color:#7b6e79}.section-manual>div{display:flex;gap:12px;flex-wrap:wrap}
.site-info-group{border:0;padding:0;margin:0 0 30px;min-width:0}.site-info-group legend{display:flex;gap:13px;align-items:center;font-size:18px;font-weight:650;padding:0;letter-spacing:-.02em}.site-info-group legend>span{display:grid;place-items:center;background:#f4e5ee;color:#972462;border-radius:10px;width:34px;height:34px;font-size:12px;font-weight:500;letter-spacing:.04em}.site-info-group>p,.site-info-privacy>p{font-size:13px;line-height:1.65;color:#756675;margin:12px 0 18px}
.site-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.site-info-field{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:550}.site-info-field textarea{resize:vertical}.site-info-wide{grid-column:1/-1}
.site-info-privacy{border:1px solid #e6dce3;border-radius:12px;padding:17px 20px;background:#fdfafb}.site-info-privacy summary{font-size:14px;font-weight:550;cursor:pointer;line-height:1.6}.site-info-privacy summary span{font-size:11px;color:#896c80;font-weight:400;margin-left:10px}
.editor-dialog-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;padding:20px 34px;border-top:1px solid #e9e1e7;background:#faf7f5;position:sticky;bottom:0;z-index:2}
.cms-field .cms-element-actions{display:flex;gap:4px 14px;flex-wrap:wrap}.cms-field .cms-element-actions .cms-text-button{font-size:12px}
@media(max-width:600px){.cms-dialog.cms-dialog-designed{width:calc(100% - 20px);max-height:94dvh;border-radius:18px}.editor-dialog-head{padding:22px 20px 20px;gap:15px}.editor-dialog-head h2{font-size:26px}.editor-dialog-body{padding:22px 20px}.site-info-grid{grid-template-columns:1fr}.site-info-field input,.site-info-field textarea{font-size:16px}.section-placement{grid-template-columns:1fr;gap:10px}.section-proposal-items{grid-template-columns:1fr}#sectionResult:not(:empty){padding:20px}.section-proposal-heading h3{font-size:23px}.section-result-actions>.button,.section-generate-actions>.button{width:100%;justify-content:center}.editor-dialog-actions{padding:15px 20px}.editor-dialog-actions>.button{flex:1;justify-content:center;font-size:13px}.section-page-context>span:last-child{margin-left:0;width:100%}.section-ideas button{min-height:44px}#sectionPreviewWrap iframe{height:380px}}
@media(prefers-reduced-motion:reduce){.cms-dialog-designed *{scroll-behavior:auto!important}}
/* v091 — presentation and per-item controls */
.section-format{margin:24px 0;border-block:1px solid #e6dce3;padding:18px 0}.section-format summary{cursor:pointer;font-weight:600}.section-format summary span{font-size:13px;font-weight:400;margin-left:8px;color:#746875}.section-format-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:16px;margin-top:20px}.section-format-grid label{font-size:14px;display:grid;gap:8px}.section-media-summary{padding:20px;background:#f5f0e8;border-left:3px solid #972462;line-height:1.7}.section-controls{padding:18px;margin:0 0 24px;background:#f8f2f6;border:1px solid #ead9e4;border-radius:14px}.section-controls label{display:grid;gap:8px;font-size:14px}.section-item-tools{display:grid;gap:6px;margin:14px 0}.section-item-tools>div{display:flex;gap:5px;align-items:center}.section-item-tools span{flex:1;font-size:14px}.section-item-tools button{height:36px;min-width:36px;border:1px solid #dcc8d5;border-radius:8px;background:white;color:#762051;cursor:pointer}.section-item-tools button:disabled{opacity:.3;cursor:default}.section-bulk-upload{padding:12px;background:white;border:1px dashed #b67c9d;border-radius:10px;color:#762051}.section-bulk-upload input{max-width:100%;font-size:12px}.section-controls .cms-help{margin:12px 0}.section-controls select{max-width:100%;width:100%}@media(max-width:640px){.section-format-grid{grid-template-columns:1fr}.section-item-tools button{height:44px;min-width:44px}}

.section-field-group{border:1px solid #e7dbe3;border-radius:12px;margin:12px 0;padding:0 14px}.section-field-group>summary{font-size:15px;font-weight:600;padding:16px 0;cursor:pointer;color:#762051}.section-field-group>.cms-field{margin-top:10px}.section-field-group[open]{background:#fff}.section-field-group .cms-field-selected{margin-inline:-7px}
.section-format-grid select,.section-format-grid input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #d9c7d3;border-radius:10px;background:#fff;color:#27242b;font:inherit;font-size:16px}.section-format-grid select:focus,.section-format-grid input:focus{outline:2px solid #972462;outline-offset:2px}.section-format-grid input:disabled{background:#eee8ec}

/* The proposed section is judged in the page, with its controls alongside. */
.cms-dialog.section-visual-dialog{width:calc(100% - 24px);max-width:1600px;max-height:calc(100dvh - 24px);border-radius:18px}
.section-visual-dialog .editor-dialog-head{padding:18px 24px;align-items:center}.section-visual-dialog .editor-dialog-head h2{font-size:24px}.section-visual-dialog .editor-dialog-head .editor-kicker{display:none}
.section-visual-dialog .editor-dialog-body{padding:0}.section-visual-dialog .editor-dialog-body>:not(#sectionResult){display:none!important}
.section-visual-dialog #sectionResult:not(:empty){margin:0;padding:0;border:0;border-radius:0;background:#fff}
.section-visual-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;min-width:0}.section-visual-canvas{min-width:0;background:#eee9ed}.section-visual-sidebar{padding:24px;border-left:1px solid #e5dbe2;min-width:0;max-height:calc(100dvh - 125px);overflow:auto}
.section-preview-toolbar{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#fff;border-bottom:1px solid #e5dbe2;font-size:13px;min-height:60px}.section-preview-toolbar>span{margin-right:auto;font-weight:600;overflow-wrap:anywhere}.section-preview-toolbar [role=group]{display:flex;border:1px solid #e5dbe2;border-radius:9px;padding:3px}.section-preview-toolbar [data-preview-device]{font:inherit;font-size:12px;min-height:38px;border:0;border-radius:6px;padding:8px 12px;background:#fff;color:#645263;cursor:pointer}.section-preview-toolbar [aria-pressed=true]{background:#f5e8f0;color:#972462;font-weight:650}
#sectionPreviewWrap{display:flex;justify-content:center;align-items:stretch;min-width:0;position:relative}#sectionPreviewWrap iframe{display:block;flex:1;min-width:0;max-width:100%;height:calc(100dvh - 175px);min-height:350px;margin:0;border:0;border-radius:0;background:white}#sectionPreviewWrap.section-preview-phone iframe{max-width:390px}
.section-preview-state{display:grid;align-content:center;justify-items:center;gap:15px;min-height:440px;width:100%;padding:24px;text-align:center;font-size:14px;color:#645263}.section-preview-state p{max-width:400px;line-height:1.6}
.section-visual-sidebar .section-validation>p{font-size:12px;color:#5c635e;margin:0 0 14px}.section-visual-sidebar .button{width:100%;justify-content:center;gap:6px;padding:12px;font-size:13px}.section-visual-sidebar .section-refine{width:100%;max-width:none;margin:24px 0 8px;padding:24px 0 0;gap:12px}.section-visual-sidebar .section-refine label{font-size:16px}.section-visual-sidebar .section-refine textarea{font:inherit;font-size:15px;line-height:1.55;color:#27242b;border:1px solid #d8cdd6;border-radius:10px;padding:12px;min-height:140px;box-sizing:border-box}.section-visual-sidebar .editor-small-note{font-size:12px}.section-visual-sidebar [role=alert]:not(:empty){font-size:13px;line-height:1.6;color:#a02d43;margin-top:12px}.section-visual-sidebar [role=status]:empty{display:none}.section-visual-sidebar [role=status]{font-size:13px;line-height:1.65;color:#715366}
@media(max-width:1000px){.section-visual-layout{grid-template-columns:minmax(0,1fr)}.section-visual-sidebar{max-height:none;border-left:0;border-top:1px solid #e5dbe2}.section-visual-sidebar .section-validation{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.section-visual-sidebar .section-validation .button{width:auto;margin-left:auto}.section-visual-sidebar .section-refine{margin-top:18px}#sectionPreviewWrap iframe{height:58dvh;min-height:340px}}
@media(max-width:600px){.cms-dialog.section-visual-dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;border:0}.section-visual-dialog .editor-dialog-head{padding:14px 16px}.section-visual-dialog .editor-dialog-head h2{font-size:20px}.section-preview-toolbar{padding:6px 10px;gap:8px;flex-wrap:wrap}.section-preview-toolbar>span{display:none}.section-preview-toolbar [data-preview-device]{min-height:44px}.section-preview-toolbar>#sectionPreviewFocus{margin-left:auto}.section-visual-sidebar{padding:20px}.section-visual-sidebar .section-validation{display:block}.section-visual-sidebar .section-validation .button{width:100%}#sectionPreviewWrap iframe{height:48dvh;min-height:320px}}

/* An enlarged workspace stays inside the browser; testing shows the site alone. */
body:has(.cms-editor.cms-expanded){overflow:hidden}
.cms-editor.cms-expanded{position:fixed;inset:0;z-index:100;background:#f7f4f6;width:100%;height:100dvh;max-width:none;margin:0;padding:12px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.cms-editor.cms-expanded>.cms-back,.cms-editor.cms-expanded>.cms-toolbar,.cms-editor.cms-expanded>.cms-settings,.cms-editor.cms-expanded>.cms-setup-note,.cms-editor.cms-expanded>.cms-demo-banner,.cms-editor.cms-expanded>#workflowBar{display:none}
.cms-editor.cms-expanded>.cms-controls{flex:none;margin:0 0 10px;gap:14px;align-items:center}.cms-expanded .cms-control-tip,.cms-expanded .cms-controls>label>span{display:none}.cms-expanded .cms-controls>label{min-width:160px}.cms-expanded .cms-controls .cms-inline{margin-left:auto}.cms-editor.cms-expanded>.cms-workspace{flex:1;min-height:0;height:auto;max-height:none;grid-template-columns:minmax(0,1fr) 320px;gap:12px}
.cms-expanded .cms-preview,.cms-expanded .cms-panel{min-height:0;height:100%;max-height:none}.cms-expanded .cms-preview-bar{flex-direction:row;align-items:center;padding:7px 12px}.cms-expanded .cms-preview-footnote{display:none}.cms-expanded .cms-preview-label{font-size:12px}.cms-expand{white-space:nowrap}.cms-expanded #managedNotice:empty{display:none}.cms-expanded #managedNotice:not(:empty){flex:none;margin:0 0 8px;padding:8px 12px;font-size:13px}
.cms-editor.cms-testing{padding:0;background:#eee9ed}.cms-editor.cms-testing>.cms-controls,.cms-editor.cms-testing>.cms-mobile-tabs,.cms-testing .cms-panel,.cms-testing .cms-expand,.cms-testing #managedNotice{display:none!important}.cms-editor.cms-testing>.cms-workspace{display:flex;border:0;border-radius:0;padding:0;gap:0}.cms-testing .cms-preview{display:flex!important;flex:1;border:0;border-radius:0}.cms-testing .cms-preview-bar{flex:none;min-height:54px;border-radius:0}.cms-testing .cms-view-controls{margin-left:auto}.cms-testing .cms-interact{color:#972462;font-weight:650}.cms-testing #managedFrame{flex:1;height:100%;min-height:0}
@media(max-width:1100px){.cms-expanded .cms-preview-label{display:none}.cms-expanded .cms-view-controls{width:100%;justify-content:space-between;flex-wrap:wrap}.cms-expanded .cms-controls .button{padding:8px 10px}}
@media(max-width:760px){.cms-editor.cms-expanded{padding:8px}.cms-editor.cms-expanded>.cms-workspace{display:flex;min-height:0}.cms-expanded .cms-preview,.cms-expanded .cms-panel{flex:1;min-height:0;height:100%}.cms-editor.cms-expanded>.cms-controls{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}.cms-expanded .cms-controls>label{min-width:120px;flex:1}.cms-expanded .cms-controls .cms-inline{display:flex;flex-wrap:wrap;gap:4px}.cms-expanded .cms-controls .cms-inline .button{min-height:44px;font-size:12px}.cms-editor.cms-testing{padding:0}.cms-testing .cms-preview-bar{padding:6px}.cms-testing .cms-device-switch .button{min-height:44px}.cms-testing .cms-interact{min-height:44px}}

.rewrite-original{padding:18px 22px;background:#f8f4f6;border-left:3px solid #b6759c;margin-bottom:26px}.rewrite-original .editor-kicker,#rewriteResult .editor-kicker{font-size:11px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:#80566f;margin:0 0 10px}.rewrite-original blockquote{margin:0;font-size:16px;line-height:1.75;color:#574650;max-height:150px;overflow:auto;white-space:pre-line}.rewrite-dialog-body #creativeRewrite{margin:0;max-width:none;width:100%}.rewrite-dialog-body #creativeRewrite>.editor-input-label{margin:0 0 10px}.rewrite-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.rewrite-suggestions button{min-height:44px;border:1px solid #e3d4de;border-radius:8px;background:#fff;color:#80566f;padding:8px 13px;font:inherit;font-size:13px;cursor:pointer}.rewrite-suggestions button:hover{background:#f7edf3;border-color:#b6759c}#rewriteInstruction{width:100%;box-sizing:border-box;min-height:120px;padding:16px;font:inherit;font-size:16px;line-height:1.6;color:#27242b;background:#fdfafb;border:1px solid #cda8c0;border-radius:12px;resize:vertical}.rewrite-actions{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-top:20px}.rewrite-actions>span{font-size:12px;line-height:1.6;color:#766976;max-width:270px}.rewrite-actions .button{flex:none}#rewriteProgress:empty,#rewriteError:empty{display:none}#rewriteProgress{font-size:14px;color:#715366;margin:16px 0}#rewriteError{font-size:14px;line-height:1.6;color:#a02d43;background:#fff1f1;border-radius:10px;padding:14px;margin:16px 0}#rewriteResult:not(:empty){border-top:1px solid #e5dbe2;margin-top:26px;padding-top:24px}#rewriteResult .rewrite-result{white-space:pre-line;font-size:17px;line-height:1.8;color:#3b3038;margin:0 0 18px}
.account-ai{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);column-gap:48px;row-gap:22px;margin:0 0 28px;padding:30px 34px;border:1px solid #e4d7e0;border-radius:18px;background:#fff}.account-ai .eyebrow{font-size:11px;margin:0 0 10px;color:#972462}.account-ai h2{font-size:25px;line-height:1.2;letter-spacing:-.025em;margin:0 0 13px}.account-ai-copy>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#6c5e69;margin:8px 0}.account-ai-copy .account-ai-renewal{color:#4d3946}.account-ai-meter{align-self:center;min-width:0}.account-ai-meter>p:first-child{display:flex;align-items:baseline;gap:12px;margin:0 0 14px}.account-ai-meter strong{font-size:52px;line-height:1;letter-spacing:-.05em;color:#972462;font-weight:650}.account-ai-meter span{font-size:14px;color:#695660}.account-ai meter{display:block;width:100%;height:10px;border:0;border-radius:10px;background:#eee5eb}.account-ai meter::-webkit-meter-bar{background:#eee5eb;border:0;border-radius:10px}.account-ai meter::-webkit-meter-optimum-value{background:#972462;border-radius:10px}.account-ai meter::-moz-meter-bar{background:#972462;border-radius:10px}.account-ai .account-ai-detail{font-size:12px;line-height:1.6;color:#766976;margin:10px 0 0}.account-ai .account-ai-footnote{grid-column:1/-1;border-top:1px solid #eee5eb;padding-top:16px;margin:0;font-size:12px;line-height:1.65;color:#766976}
@media(max-width:650px){.rewrite-original{padding:15px 17px}.rewrite-actions{flex-direction:column;align-items:stretch;gap:14px}.rewrite-actions>span{max-width:none}.rewrite-actions .button{width:100%;justify-content:center}.account-ai{grid-template-columns:1fr;gap:20px;padding:23px}.account-ai h2{font-size:23px}.account-ai-meter strong{font-size:46px}}

.cms-photo-sources{border-top:1px solid #e8dfe6;margin-top:24px;padding:18px 0 0;font-size:12px;line-height:1.7;color:#756675}.cms-photo-sources p{margin:0 0 10px}.cms-photo-sources a{color:#805570;text-underline-offset:3px}.cms-photo-sources summary{cursor:pointer}
