/* Local review additions: scoped to the brief, no external assets. */
.direction-import{border:1px solid #b8d8ff;border-left:4px solid #f2ce82;border-radius:14px;background:#112a49;color:#eaf3ff;padding:18px 22px;line-height:1.65;max-width:760px}.local-preview-controls{border:1px solid #7a91ab;border-radius:16px;padding:18px;margin-top:28px;background:rgba(81,126,178,.08)}.local-preview-controls summary{cursor:pointer;font-weight:700;line-height:1.5;min-height:32px}.local-preview-controls>p{font-size:13px;line-height:1.6}.local-preview-controls .brief-field{margin-top:20px}.local-preview-controls input[type=file]{max-width:100%;padding:12px;font-size:13px}.local-preview-controls button{min-height:44px}.local-preview-controls button:disabled{opacity:.5;cursor:default}.local-preview-controls #preview-image-status{font-weight:600;min-height:1.5em}#local-preview-logo{width:42px;height:42px;object-fit:contain;flex-shrink:0;border-radius:6px;background:#fff;padding:3px}.mock-nav{gap:9px}.mock-nav strong{overflow-wrap:anywhere;min-width:0}#local-preview-photo{display:block;width:100%;max-height:210px;aspect-ratio:4/3;object-fit:cover;margin-top:22px;border-radius:10px}#local-preview-photo[hidden],#local-preview-logo[hidden],.mock-art[hidden]{display:none!important}#preview-headline{overflow-wrap:anywhere}.proposed-plan{margin:32px 0;border:1px solid #667e9c;background:linear-gradient(140deg,#0e2038,#122a48);padding:28px;border-radius:20px;color:#eef4ff}.proposed-plan h3{font-size:27px;line-height:1.15;margin:8px 0 16px;color:#fff}.plan-notice{font-size:13px;line-height:1.7;color:#c5d5e9}.plan-action{display:flex;flex-direction:column;gap:7px;padding:20px;border-radius:12px;background:#203b5d;border-left:3px solid #e8c37f;margin:24px 0}.plan-action span{font-size:10px;font-weight:700;letter-spacing:.12em;color:#d8bc84}.plan-action strong{font-size:20px;line-height:1.3}.plan-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;list-style:none;padding:0;margin:25px 0}.plan-map li{position:relative;padding:20px;border:1px solid #526c8c;border-radius:12px;background:#10223b;break-inside:avoid}.plan-map li:first-child{grid-column:1/-1;border-color:#d8bc84}.plan-map li>span{display:block;font-size:11px;letter-spacing:.12em;color:#dfc18a;margin-bottom:12px}.plan-map h4{font-size:18px;margin:0 0 8px;color:white}.plan-map p{font-size:13px;line-height:1.6;margin:0;color:#d1deee}.plan-detail-grid{display:grid;gap:16px;margin-top:28px}.plan-detail-grid section{padding-top:18px;border-top:1px solid #526c8c;break-inside:avoid}.plan-detail-grid h4{font-size:16px;color:#e6c78b;margin:0 0 12px}.plan-detail-grid ul{padding-left:20px;margin:0}.plan-detail-grid li{font-size:13px;line-height:1.65;margin:8px 0;color:#d1deee}.download-actions{flex-wrap:wrap}.download-actions button{min-height:46px;white-space:normal}.brief-preview .mock-nav strong{line-height:1.3}.brief-preview #preview-headline{line-height:1.08}@media(max-width:600px){.proposed-plan{padding:19px;border-radius:15px}.proposed-plan h3{font-size:24px}.plan-map{grid-template-columns:1fr}.plan-map li:first-child{grid-column:auto}.plan-map li{padding:16px}.local-preview-controls{padding:14px}.download-actions{display:flex;flex-direction:column;align-items:stretch}.download-actions button{width:100%}}
@media print{
 @page{margin:16mm;size:auto}
 html,body,.sitecco-core{background:white!important;color:#111!important;font-size:10pt!important;overflow:visible!important}
 body>*:not(main),.page-intro,.brief-progress,.brief-preview,.brief-navigation,.brief-memory,#brief-steps,.download-actions,.download-note,#download-status,#edit-brief,.summary-heading button{display:none!important}
 main,.brief-shell,.brief-layout,.brief-main,#brief-complete{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}
 #brief-complete>h2{font-size:24pt!important;color:#111!important;margin:0 0 12pt!important}#brief-complete>p{color:#333!important;font-size:10pt!important}
 .proposed-plan,.plan-map li,.plan-action{background:white!important;color:#111!important;border-color:#999!important;box-shadow:none!important}
 .proposed-plan{padding:14pt!important;margin:18pt 0!important;border-radius:0!important;break-inside:auto}
 .proposed-plan *{color:#111!important}.proposed-plan h3{font-size:18pt!important}.plan-map{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8pt!important}.plan-map li{padding:10pt!important}.plan-map li:first-child{grid-column:1/-1!important}.plan-map h4{font-size:12pt!important}.plan-map p,.plan-notice,.plan-detail-grid li{font-size:9pt!important}.plan-action{padding:10pt!important}
 .summary-section{break-inside:avoid;border-top:1px solid #aaa!important;padding:10pt 0!important}.summary-section *{color:#111!important}.summary-section h3{font-size:12pt!important}.summary-section dl{display:grid!important;grid-template-columns:35% 65%!important;font-size:9pt!important}.summary-section dd{overflow-wrap:anywhere!important;margin:0 0 5pt!important}
 a{color:#111!important;text-decoration:none!important}*{animation:none!important;transition:none!important}
}

/* Export-only layout: retain full answers and offer details across printed pages. */
.brief-print-only{display:none}
@media print{
 .brief-print-only{display:block!important;font-size:10pt!important;line-height:1.5!important;margin:12pt 0!important}
 .summary-section{break-inside:auto!important}
 .summary-section h3,.summary-section dt{break-after:avoid}
 .summary-section dl{display:block!important}
 .summary-section dt{font-weight:bold;margin-top:7pt}
 .summary-section dd{white-space:pre-wrap!important;margin:2pt 0 7pt!important;line-height:1.4!important}
 .proposed-plan .plan-map{display:block!important}.plan-map li{break-inside:auto;margin-bottom:8pt}
}

/* Branded review sections. Answers and edit controls stay in their original DOM order. */
@media screen{
 #brief-summary,#final-summary{display:grid;grid-template-columns:1fr;gap:20px;margin:28px 0}
 #brief-summary .summary-section,#final-summary .summary-section{background:linear-gradient(135deg,#13243a,#0d192b);border:1px solid #344d6a;border-left:3px solid #be9954;border-radius:14px;padding:24px;min-width:0}
 #brief-summary .summary-heading,#final-summary .summary-heading{gap:16px;align-items:center;border-bottom:1px solid #354960;padding-bottom:16px;margin-bottom:20px}
 #brief-summary .summary-section h3,#final-summary .summary-section h3{color:#f1d493;font-size:20px;line-height:1.3;margin:0}
 #brief-summary .summary-heading button,#final-summary .summary-heading button{border:1px solid #526a86;border-radius:6px;color:#dceafd;min-height:44px;padding:8px 12px;text-decoration:none;font-size:11px;flex-shrink:0}
 #brief-summary .summary-heading button:hover,#final-summary .summary-heading button:hover{background:#253e5e}
 #brief-summary .summary-heading button:focus-visible,#final-summary .summary-heading button:focus-visible{outline:3px solid #edc86f;outline-offset:3px}
 #brief-summary .summary-section dl,#final-summary .summary-section dl{grid-template-columns:minmax(115px,.8fr) minmax(0,1.6fr);gap:0 22px;margin:0;font-size:14px;line-height:1.65}
 #brief-summary .summary-section dt,#final-summary .summary-section dt{color:#a9bed6;padding:13px 0;border-bottom:1px solid #293b52;font-size:12px}
 #brief-summary .summary-section dd,#final-summary .summary-section dd{color:#edf3fb;padding:13px 0;border-bottom:1px solid #293b52;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
 #brief-summary .summary-section dt:last-of-type,#final-summary .summary-section dt:last-of-type,#brief-summary .summary-section dd:last-of-type,#final-summary .summary-section dd:last-of-type{border-bottom:0}
 #brief-summary .summary-section>p,#final-summary .summary-section>p{color:#d3e1f1;font-size:14px;line-height:1.7;margin-bottom:0}
}
@media screen and (max-width:600px){
 #brief-summary .summary-section,#final-summary .summary-section{padding:19px 17px}
 #brief-summary .summary-heading,#final-summary .summary-heading{flex-wrap:wrap;gap:10px;padding-bottom:12px;margin-bottom:8px}
 #brief-summary .summary-section h3,#final-summary .summary-section h3{font-size:20px}
 #brief-summary .summary-section dl,#final-summary .summary-section dl{display:block;font-size:15px}
 #brief-summary .summary-section dt,#final-summary .summary-section dt{border:0;padding:16px 0 4px;font-size:12px;line-height:1.4}
 #brief-summary .summary-section dd,#final-summary .summary-section dd{padding:0 0 14px;line-height:1.65}
}
