dialog.review-dialog{width:min(1100px,calc(100vw - 48px));max-width:1100px;max-height:90dvh;padding:40px;border:0;border-radius:26px;color:#182236;background:#fff;overflow:auto}
.review-dialog::backdrop{background:#101c38a6;backdrop-filter:blur(5px)}
.review-dialog .close{position:sticky;top:0;float:right;z-index:2;background:#f1f3f7;border-radius:50%;width:36px;height:36px}
.review-heading{margin-bottom:32px}.review-heading h2{font-size:34px!important;line-height:1.25;letter-spacing:-1.1px;margin:12px 0!important}.review-heading>p:last-child{color:#646a77;font-size:15px;line-height:1.7}
.review-layout{display:grid;grid-template-columns: .9fr 1.1fr;gap:40px;align-items:start}.review-layout h3{font-size:21px;letter-spacing:-.6px;margin:8px 0 14px}.review-step{font-size:12px;font-weight:750;color:#2455ed}.review-example{padding:24px;background:#f6f7fa;border-radius:20px}.review-example>img{display:block;width:100%;max-height:235px;object-fit:contain;margin:12px 0 20px;border-radius:12px}.review-conversation{padding:20px;background:white;border-radius:14px}.review-conversation span{font-size:12px;font-weight:700;color:#727988}.review-conversation p{font-size:15px;line-height:1.8;margin:8px 0 20px}.review-conversation p:last-child{margin-bottom:0}.review-conversation .reply-label{color:#2455ed}.review-example small{display:block;font-size:12px;color:#646a77;line-height:1.7;margin-top:14px}
.review-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-section-head button{white-space:nowrap;background:#edf2ff;color:#2455ed;padding:10px 12px;border-radius:9px;font-size:12px;font-weight:700}.review-help{font-size:13px;line-height:1.6;color:#646a77}.review-editor label{display:block;font-weight:700;font-size:14px;margin:20px 0 8px}.review-editor label span{font-size:12px;font-weight:400;color:#777f8c;margin-left:6px}.review-editor em{font-style:normal;font-size:11px;color:#2455ed;margin-left:6px}.review-editor textarea,.review-editor select{box-sizing:border-box;width:100%;font:inherit;font-size:14px;line-height:1.65;padding:12px 14px;border:1px solid #d9dfe9;border-radius:10px;background:white;color:#182236;resize:vertical}.review-editor textarea:focus-visible,.review-editor select:focus-visible{outline:2px solid #2455ed;outline-offset:2px}.review-editor textarea::placeholder{color:#78818e}.review-output-head{border-top:1px solid #e8eaf0;margin-top:28px;padding-top:24px}.review-prompt{margin:16px 0;border:1px solid #e2e6ee;border-radius:10px;padding:12px}.review-prompt summary{cursor:pointer;font-size:14px;font-weight:650}.review-prompt textarea{margin-top:12px;background:#f7f9fc;font-size:13px}.review-copy{width:100%;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-radius:12px;background:#2455ed;color:white;font-weight:750;font-size:16px}.review-copy:disabled{background:#e7ebf2;color:#78818e;cursor:not-allowed}#review-status{font-size:13px;line-height:1.6;color:#2455ed;margin-top:12px;min-height:21px}.review-next{font-size:12px;line-height:1.7;color:#646a77;margin-top:8px}
@media(max-width:700px){dialog.review-dialog{width:calc(100vw - 20px);max-height:94dvh;padding:22px 18px;border-radius:18px}.review-layout{grid-template-columns:1fr;gap:28px}.review-heading h2{font-size:28px!important}.review-example{padding:18px}.review-example>img{max-height:180px}.review-section-head{align-items:flex-start}.review-layout h3{font-size:19px}.review-editor textarea,.review-editor select{font-size:16px}}

#task-status{font-size:13px;line-height:1.6;color:#2455ed;margin-top:12px;min-height:21px}

.task-choices{margin:8px 0 12px}.task-choices>p{font-size:12px;line-height:1.6;color:#646a77}.task-choices fieldset{border:0;padding:0;margin:12px 0}.task-choices legend{font-size:12px;font-weight:650;margin-bottom:8px}.task-choices fieldset>div{display:flex;flex-wrap:wrap;gap:7px}.review-editor label.task-choice{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 10px;border:1px solid #dce2ed;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer}.task-choice input{width:14px;height:14px;margin:0;accent-color:#2455ed}.review-editor .task-choice span{font-size:13px;margin:0;color:#384252}.task-choice:has(input:checked){background:#edf2ff;border-color:#2455ed}.task-choice:has(input:focus-visible){outline:2px solid #2455ed;outline-offset:2px}

.example-help{font-size:12px;line-height:1.6;color:#646a77;margin:8px 0}.example-feedback{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#2455ed;line-height:1.6}.example-feedback button{padding:5px 9px;border:1px solid #dce2ed;border-radius:6px;background:white;color:#2455ed;cursor:pointer}.example-feedback button[hidden]{display:none}

.task-topic-picker{margin:0 0 28px;padding:20px 24px;background:#f3f5f8;border-radius:14px}.task-topic-picker label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.task-topic-picker select{width:100%;max-width:440px;padding:12px 14px;border:1px solid #cdd3dd;border-radius:8px;background:#fff;font:inherit;color:#172b49}.task-topic-picker p{font-size:13px;color:#647084;margin:10px 0 0}

/* Shared mail preview: only the recipient, subject and body vary by task. */
.mail-example-stage{container-type:inline-size;margin:12px 0 20px;padding:26px 22px 0;background:#e5e6e8;overflow:hidden;position:relative;height:286px;box-sizing:border-box}
.mail-example-stage:after{content:"";position:absolute;inset:auto 0 0;height:30px;background:linear-gradient(transparent,#e5e6e8);pointer-events:none}
.mail-example-window{background:#fff;border:1px solid #cfd0d2;border-radius:6px;box-shadow:0 5px 13px #0002;color:#292929;overflow:hidden;font-family:inherit;font-size:clamp(12px,4.2cqi,14px);line-height:1.55;height:270px}
.mail-example-bar{display:flex;align-items:center;gap:5px;background:#353535;color:#e5e5e5;padding:4px 9px;font-size:10px;line-height:1.3}
.mail-example-bar i{height:7px;width:7px;border-radius:50%;background:#ff625a;flex:none}.mail-example-bar i:nth-child(2){background:#ffbd44}.mail-example-bar i:nth-child(3){background:#00c84a}.mail-example-bar span{margin-left:5px}
.mail-example-row{display:grid;grid-template-columns:45px 1fr;gap:9px;border-bottom:1px solid #dedfe2;padding:5px 12px;font-size:.9em;line-height:1.5}.mail-example-row>span:first-child{color:#555}.mail-example-row>span:last-child{min-width:0}
.mail-example-body{padding:0 12px 18px}.mail-example-body p{font-size:inherit;line-height:1.65;margin:12px 0}.mail-example-body strong{font-weight:750;color:#202020}
@media(max-width:700px){.mail-example-stage{height:286px;padding:22px 20px 0}}

/* One shared backdrop for every example inside the detail dialog. */
.review-example{--example-background:#f6f7fa;background:var(--example-background)}
.review-example>img{
  background:var(--example-background);
  border-radius:12px;
}
.review-example .mail-example-stage{background:var(--example-background)}
.review-example .mail-example-stage:after{background:linear-gradient(transparent,var(--example-background))}

/* Match the feedback examples to the original additional-cost preview. */
.review-example>img[src$="/p1-panel-v2.png"],
.review-example>img[src$="/p2-panel-v2.png"],
.review-example>img[src$="/p36-panel-v2.png"],
.review-example>img[src$="/p37-panel-v2.png"]{
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  max-height:none;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  background:#f6f7fa;
}

/* Trim transparent former-title margins while preserving all foreground content. */
.review-example>img[src$="/p58-clear-v3.png"]{object-view-box:inset(12% 0 4% 0);aspect-ratio:1536 / 860;height:auto;}
.review-example>img[src$="/p59-clear-v3.png"]{object-view-box:inset(6% 0 0 0);aspect-ratio:1536 / 962;height:auto;}
.review-example>img[src$="/p60-clear-v3.png"]{object-view-box:inset(10% 0 10% 0);aspect-ratio:1536 / 819;height:auto;}

/* Normalize generated near-white backdrops against the actual panel color. */
.review-example{isolation:isolate;}
.review-example>img[src$="-clean-v6.png"]{filter:brightness(1.035);mix-blend-mode:darken;background:transparent;}

/* White backgrounds for all four account-review detail examples. */
.review-example:has(>img:is([src$="/p19-clean-v6.png"],[src$="/p96-clean-v6.png"],[src$="/p97-clean-v6.png"],[src$="/p98-clean-v6.png"])){
  --example-background:#f6f7fa;
}
.review-example>img:is([src$="/p19-clean-v6.png"],[src$="/p96-clean-v6.png"],[src$="/p97-clean-v6.png"],[src$="/p98-clean-v6.png"]){
  filter:brightness(1.06);
  mix-blend-mode:normal;
  background:#fff;
}

/* White image canvases; keep the surrounding example panel gray. */
.review-example>img:is([src$="/p100-clean-v6.png"],[src$="/p102-clean-v6.png"]){
  filter:brightness(1.06);
  mix-blend-mode:normal;
  background:#fff;
}

.review-example>img:is([src$="/p100-clear-v8.png"],[src$="/p102-clear-v8.png"]){background:#fff;filter:none;mix-blend-mode:normal;}

.review-example>img[src$="/p100-transparent-v9.png"]{background:transparent;filter:none;mix-blend-mode:normal;}

/* Customer communication: white image backgrounds only. */
.review-example>img:is([src$="/p18-clean-v6.png"],[src$="/p103-clean-v6.png"],[src$="/p104-clean-v6.png"],[src$="/p105-clean-v6.png"]){
  filter:brightness(1.06);
  mix-blend-mode:normal;
  background:#fff;
}

/* Preserve the original illustrated UI, with larger readable content. */
.review-example>img[src$="-readable-v7.png"]{background:#fff;filter:none;mix-blend-mode:normal;max-height:none;height:auto;}

.review-example>img[src$="-transparent-v8.png"]{background:transparent;filter:none;mix-blend-mode:normal;max-height:none;height:auto;}

/* White image backgrounds for the practical checklist and applicability example. */
.review-example>img:is([src$="/p20-clean-v6.png"],[src$="/p107-clean-v6.png"]){background:#fff;filter:brightness(1.06);mix-blend-mode:normal;}

.review-example>img:is([src$="/p20-bordered-v7.png"],[src$="/p107-soft-v8.png"]){background:#fff;filter:none;mix-blend-mode:normal;max-height:none;height:auto;}

/* Review response examples: white image canvases, unchanged outer panel. */
.review-example>img:is([src$="/p21-clean-v6.png"],[src$="/p109-clean-v6.png"],[src$="/p110-clean-v6.png"],[src$="/p111-clean-v6.png"]){background:#fff;filter:brightness(1.06);mix-blend-mode:normal;}

.review-example>img[src$="/p113-calendar-v9.png"]{background:transparent;filter:none;mix-blend-mode:normal;max-height:none;height:auto;border:0;box-shadow:none;}

/* Bring the reservation calendar slightly closer to the example label. */
.review-example>img[src$="/p113-calendar-v9.png"]{margin-top:0;transform:translateY(-8px);}

.review-example>img:is([src$="/p23-clean-v6.png"],[src$="/p116-clean-v6.png"],[src$="/p117-clean-v6.png"]){background:#fff;filter:brightness(1.06);mix-blend-mode:normal;}
.review-example>img[src$="/p115-sofa-approved.png"]{background:#fff;filter:none;mix-blend-mode:normal;}

.review-example>img:is([src$="/p23-bakery-white-v2.png"],[src$="/p116-faq-refined-v8.png"],[src$="/p117-options-v7.png"]){background:#fff;filter:none;mix-blend-mode:normal;}
.review-example>img:is([src$="/p116-faq-refined-v8.png"],[src$="/p117-options-v7.png"]){max-height:none;height:auto;}

.review-example>img[src$="/p117-options-emphasis-v9.png"]{background:#fff;filter:none;mix-blend-mode:normal;max-height:none;height:auto;}
.review-example>img:is([src$="/p116-faq-transparent-v9.png"],[src$="/p117-options-focus-v11.png"]){background:transparent;filter:none;mix-blend-mode:normal;max-height:none;height:auto;}
.review-example>img[src$="-panel-v12.png"]{background:#f6f7fa;filter:brightness(1.035);mix-blend-mode:darken;}
.review-example>img[src$="-white-v13.png"]{background:#fff;filter:brightness(1.02);mix-blend-mode:normal;}
.review-example>img:is([src$="/p128-paper-blue-v14.png"],[src$="/p129-comparison-v14.png"]){filter:none;mix-blend-mode:normal;} .review-example>img[src$="/p129-comparison-v14.png"]{background:#fff;max-height:none;height:auto;}
.review-example>img[src$="-blue-v15.png"]{background:#b9cbd7;filter:none;mix-blend-mode:normal;}
.review-example>img[src$="-sky-v16.png"]{background:#e6f3fc;filter:none;mix-blend-mode:normal;}
.review-example>img[src$="-ice-v17.png"]{background:#f1f8fd;filter:none;mix-blend-mode:normal;}

.review-example>img[src$="/p135-college-v19.png"]{background:#faf8f3;filter:none;mix-blend-mode:normal;}

.review-example>img[src$="-contrast-v20.png"]{background:#faf8f3;filter:none;mix-blend-mode:normal;}

.review-example>img[src$="-medium-v21.png"]{background:#faf8f3;filter:none;mix-blend-mode:normal;}
/* Continue the guided flow in recommended templates. */
dialog.task-dialog{color:#102441;border-radius:20px}
.task-dialog .review-heading{margin-bottom:28px}
.task-dialog .review-heading h2{letter-spacing:-.04em}
.task-dialog .review-editor label{font-weight:600;font-size:15px}
.task-dialog .review-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px}
.task-dialog .review-example{background:#f4f7fb;border-radius:16px;padding:20px}
.task-dialog .review-output-head{border:0;margin-top:32px;padding-top:20px}
.task-dialog .review-output-head h3{font-size:22px}
.task-dialog .review-prompt{border:0;background:#f4f7fb;border-radius:12px;padding:16px}
.task-dialog .review-prompt textarea{background:white}
.task-dialog .review-copy{border-radius:999px;justify-content:center;font-weight:600;min-height:48px}
.task-dialog .task-choice{background:#f4f7fb;border-color:transparent;border-radius:10px;min-height:44px;box-sizing:border-box}
.task-dialog .task-choice:has(input:checked){background:#edf2ff;border-color:#2455ed}
.task-dialog .carried-request{margin:24px 0;padding:16px 18px;background:#edf2ff;border-radius:12px}
.task-dialog .carried-request summary{cursor:pointer;color:#173fb3;font-size:14px;line-height:1.7;font-weight:600}
.task-dialog .carried-request summary span{font-weight:400;font-size:12px;margin-left:8px}
.task-dialog .carried-request .review-help{margin-bottom:0}
.task-dialog .review-section-head button{min-height:44px;border-radius:999px}
@media(max-width:700px){.task-dialog .review-layout{display:flex;flex-direction:column;gap:32px}.task-dialog .review-editor{width:100%;order:0}.task-dialog .review-example{order:1;box-sizing:border-box;width:100%}.task-dialog .review-section-head{gap:10px}.task-dialog .review-copy{font-size:15px}.task-dialog .carried-request{padding:14px}}
/* Recommended prompt editor follows the guided flow's white, split layout. */
dialog.task-dialog{border-radius:12px;color:#162b48;padding:40px}
.task-dialog .review-layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.55fr);gap:48px;padding-top:16px}
.task-dialog .review-heading{margin-bottom:28px}
.task-dialog .review-heading h2{font-size:32px!important;line-height:1.3;letter-spacing:-.045em;word-break:keep-all}
.task-dialog .review-heading .meta{color:#2455ed;font-size:12px;line-height:1.6}
.task-dialog .review-heading>p:last-child{font-size:14px;color:#657184}
.task-dialog .task-topic-picker{background:white;border-top:1px solid #dce3ed;border-bottom:1px solid #dce3ed;border-radius:0;padding:20px 0;margin-bottom:28px}
.task-dialog .task-topic-picker label{font-size:14px;font-weight:600}
.task-dialog .task-topic-picker select{border-radius:6px;border-color:#dce3ed;font-size:14px}
.task-dialog .task-topic-picker p{font-size:12px;line-height:1.6}
.task-dialog .review-example{background:white;padding:0;border-radius:0}
.task-dialog .review-example>img{border-radius:8px}
.task-dialog .review-conversation{padding:18px 0;border-top:1px solid #e4e9f1;border-radius:0;background:white}
.task-dialog .review-conversation p{font-size:13px;line-height:1.8;color:#657184}
.task-dialog .review-section-head{padding-bottom:16px;border-bottom:1px solid #e4e9f1}
.task-dialog .review-section-head h3{font-size:24px;line-height:1.4;letter-spacing:-.04em;margin-bottom:0}
.task-dialog .review-step{font-weight:600}
.task-dialog .review-section-head button{background:white;border:1px solid #dce3ed;color:#53637b;border-radius:8px;font-weight:500}
.task-dialog .review-editor textarea,.task-dialog .review-editor select{border-radius:6px;border-color:#dce3ed}
.task-dialog .review-editor label.task-choice{background:white;border:1px solid #dce3ed;border-radius:6px;font-weight:400}
.task-dialog .review-editor label.task-choice:has(input:checked){background:#edf2ff;border-color:#2455ed}
.task-dialog .carried-request{background:white;border-top:1px solid #dce3ed;border-bottom:1px solid #dce3ed;border-radius:0;padding:18px 0}
.task-dialog .review-output-head{border-top:1px solid #dce3ed;padding-top:24px}
.task-dialog .review-prompt{background:#f7f9fc;border:1px solid #dce3ed;border-radius:8px}
.task-dialog .review-copy{border-radius:10px;font-weight:600}
.poster-brief{padding:18px;background:#f3f6ff;border:1px solid #d9e3ff;border-radius:8px;margin:24px 0}
.poster-brief>label:first-child{margin-top:0}
.poster-brief input{box-sizing:border-box;width:100%;min-height:44px;padding:12px;border:1px solid #d2ddeb;border-radius:6px;background:white;color:#162b48;font:inherit}
.poster-brief [aria-invalid="true"]{outline:2px solid #b83a40;outline-offset:2px}
@media(max-width:700px){.poster-brief{padding:14px}.poster-brief input,.poster-brief select{font-size:16px!important}}
@media(max-width:700px){.task-dialog .review-editor label.task-choice{min-height:44px;box-sizing:border-box;max-width:100%}.review-dialog .close{min-width:44px;min-height:44px}.task-dialog .review-editor{min-width:0}.task-dialog .review-layout{clear:both;align-items:stretch}}
@media(max-width:700px){dialog.task-dialog{padding:22px 18px}.task-dialog .review-layout{display:flex;gap:28px}.task-dialog .review-overview{display:contents}.task-dialog .review-heading{order:0;margin:0}.task-dialog .task-topic-picker{order:1;margin:0}.task-dialog .review-editor{order:2}.task-dialog .review-example{order:3;border-top:1px solid #dce3ed;padding-top:24px}.task-dialog .review-heading h2{font-size:28px!important}.task-dialog .review-section-head h3{font-size:21px}.task-dialog .carried-request{padding:18px 0}.task-dialog .review-section-head{flex-wrap:wrap}}

.poster-output-options{margin-top:24px;padding-top:20px;border-top:1px solid #d9e3ff}.poster-output-options .review-help{margin-top:8px}.poster-output-options textarea{box-sizing:border-box;width:100%}

/* Balance long prompt titles on narrow screens without shrinking the type. */
@media(max-width:700px){.task-dialog .review-heading h2{text-wrap:balance;overflow-wrap:anywhere}.task-dialog .review-editor textarea,.task-dialog .review-editor select{font-size:16px;max-width:100%;box-sizing:border-box}.task-dialog .review-copy{min-height:48px}}
