/* Compact editor groups and optional project comparison. */
#prompt-dialog .editor-option-group { display:grid; gap:14px; margin:0; padding:18px; min-width:0; border:1px solid #e6e8eb; border-radius:12px; background:#fafbfc; }
#prompt-dialog .editor-option-group h4 { margin:0; font-size:14px; font-weight:650; color:#252a31; }
#prompt-dialog .editor-option-group .form-grid { margin:0; gap:16px; }
#prompt-dialog .editor-option-group label { margin:0; }
#prompt-dialog .editor-option-group .field-hint { margin:6px 0 0; font-size:12px; line-height:1.5; color:#5b626c; }
#prompt-dialog .editor-option-group > .field-hint { margin:0; }
#prompt-dialog .editor-option-group details { margin:0; }
#prompt-dialog .openai-options-body { gap:14px; }
#prompt-dialog .openai-options-intro { margin:0; }
#prompt-dialog .openai-profile { padding:0; border:0; background:transparent; border-radius:0; }
#prompt-dialog .openai-profile[open] { padding-bottom:8px; }
#prompt-dialog .openai-profile > .button { margin-top:8px; }
#campaign-dialog { width:min(660px,calc(100vw - 32px)); }
#campaign-dialog .modal-body { display:grid; gap:22px; }
#campaign-dialog .modal-body > label { margin:0; }
.project-editor-intro { margin:0; color:#58616b; font-size:14px; line-height:1.6; }
.project-comparison-options { border:1px solid #e3e6e9; border-radius:12px; min-width:0; overflow-wrap:anywhere; }
.project-comparison-options > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; cursor:pointer; font-size:14px; font-weight:600; list-style:none; }
.project-comparison-options > summary::-webkit-details-marker { display:none; }
.project-comparison-options > summary::after { content:'+'; font-size:18px; font-weight:400; color:#626975; }
.project-comparison-options[open] > summary::after { content:'−'; }
.project-comparison-options summary small { display:block; margin-top:5px; font-size:12px; font-weight:400; color:#656d77; }
.project-comparison-body { display:grid; gap:16px; padding:0 18px 18px; }
.project-comparison-body > :is(p,label,details),.project-comparison-body .form-grid,.project-comparison-body .form-grid label { margin:0; }
.project-comparison-body .field-hint { font-size:12px; line-height:1.6; }
.project-comparison-body textarea { width:100%; min-height:78px; }
.project-comparison-body > button { justify-self:start; }
.project-competitor-heading { display:flex; align-items:center; gap:12px; margin-top:4px; }
.project-competitor-heading h3 { margin:0; font-size:14px; }
.competitor-editor:empty { display:none; }
.project-folder-icon { display:grid; place-items:center; width:38px; height:38px; background:#f2f4f6; border:1px solid #e6e8eb; border-radius:10px; color:#525c69; }
.project-folder-icon svg { width:19px; height:19px; }
.campaign-card-stats.project-aggregate-stats { gap:14px; grid-template-columns:1fr 1fr; }
.project-aggregate-stats > div { min-width:0; }
.project-aggregate-stats .project-cost-stat { grid-column:1/-1; padding-top:8px; }
.project-aggregate-stats .project-cost-stat strong { font-size:21px; }
.project-aggregate-stats .money-line.money-primary { color:#252a31; font-size:21px; font-weight:600; }
.project-aggregate-stats .money-line.money-secondary,.project-aggregate-stats .money-line.money-status { font-size:12px; font-weight:400; }
.campaign-card .project-comparison-status { display:flex; align-items:center; gap:6px; margin:0 0 16px; font-size:12px; }
.project-comparison-status svg { width:14px; height:14px; flex:none; }
.project-aggregate-note { margin:16px 0 6px; }
.optional-comparison-note { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:18px 0; margin-top:10px; border-top:1px solid #e6e8eb; font-size:13px; color:#656d77; }
.optional-comparison .panel-body { display:grid; gap:12px; }
.optional-comparison .panel-body > :is(h2,p) { margin:0; }
.optional-comparison .button { justify-self:start; }
.provider-cost-consent { display:grid; gap:12px; margin:18px 0; }
.provider-cost-consent > :is(p,details,label) { margin:0; }
.provider-cost-consent .checkbox-row { align-items:flex-start; line-height:1.6; }
.provider-cost-consent .provider-consent-full { font-size:12px; line-height:1.75; color:#58616b; }
.consent-box .consent-full-details { margin:12px 0; }
.consent-box .consent-full-details p { font-size:12px; line-height:1.75; color:#58616b; white-space:normal; overflow-wrap:anywhere; }
#prompt-dialog .consent-box > p,#confirm-dialog .consent-box > p { max-height:none; overflow:visible; padding:0; }
/* The visible approval already contains this notice; retained approvals need it in the estimate. */
#prompt-cost-preview.separate-consent-visible > .risk-note { display:none; }
@media(max-width:600px) {
  #prompt-dialog .editor-option-group { padding:14px; }
  #prompt-dialog .editor-option-group .form-grid { grid-template-columns:1fr; }
  #campaign-dialog .modal-body { gap:18px; }
  .project-comparison-options > summary { padding:15px; }
  .project-comparison-body { padding:0 15px 15px; }
  .project-comparison-body .form-grid { grid-template-columns:1fr; }
}
