/* Print-only GLCS proposal preview. Browser-native Print / Save as PDF. */
.proposal-preview{margin-top:22px;border:1px solid #d4dce8;border-radius:10px;overflow:auto;background:#fff}
.proposal-sheet{background:#fff;color:#17253d;padding:32px;max-width:790px;margin:auto;font:14px/1.5 Arial,Helvetica,sans-serif}
.proposal-head{display:block;border-bottom:3px solid #1755eb;margin-bottom:20px;padding-bottom:12px}
.proposal-company{font-size:14px;font-weight:700;letter-spacing:.04em;color:#16345d;margin:0 0 5px}
.proposal-kicker{color:#1755eb;font-size:10px;letter-spacing:.14em;margin:0 0 9px}
.proposal-title{font-size:26px!important;margin:0 0 4px!important;color:#17253d}
.proposal-warning{font-size:11px;font-weight:700;color:#a12727;margin:0}
.proposal-meta{display:grid;grid-template-columns:1fr 1fr;gap:4px 22px;margin-bottom:22px}
.proposal-meta p{overflow-wrap:anywhere;margin:0;font-size:12px}
.proposal-items{width:100%;border-collapse:collapse;table-layout:fixed}
.proposal-items th,.proposal-items td{border-bottom:1px solid #dce3ec;padding:9px 7px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.proposal-items thead{background:#edf3ff}
.proposal-items th:first-child{width:36px}.proposal-items th:nth-child(3){width:95px}
.proposal-items th:last-child{width:115px}
.proposal-items td:last-child,.proposal-items th:last-child{text-align:right}
.proposal-grand-total{break-after:avoid;page-break-after:avoid;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 4px;border-top:2px solid #16345d;font-weight:700}
.proposal-grand-total strong{font-size:21px}
.proposal-terms{margin:18px 0;break-inside:avoid;page-break-inside:avoid}
.proposal-terms h3{font-size:13px;margin:0 0 6px}
.proposal-terms li{overflow-wrap:anywhere;margin:3px 0}
.proposal-disclaimer{border-top:1px solid #dce3ec;padding-top:14px;color:#516075;font-size:11px}
/* Screen shell and other hidden workspace sections must not generate blank PDF pages. */
@media print{
 @page{size:letter;margin:0.65in}
 html,body{background:#fff!important;margin:0!important}
 .shell{display:block!important;min-height:0!important}
 .sidebar{display:none!important}
 main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 main > :not(#workspace){display:none!important}
 #workspace{display:block!important}
 #workspace > :not(#proposal){display:none!important}
 #proposal{display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 #proposal > :not(#proposal-preview){display:none!important}
 #proposal-preview{display:block!important;position:static!important;width:100%!important;max-width:none!important;overflow:visible!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}
 .proposal-sheet{padding:0!important;margin:0!important;max-width:none!important;font-size:11pt!important}
 .proposal-items thead{display:table-header-group}
 .proposal-items tr{break-inside:avoid;page-break-inside:avoid}
 .proposal-head,.proposal-grand-total,.proposal-disclaimer{break-inside:avoid;page-break-inside:avoid}
 .proposal-meta{grid-template-columns:1fr 1fr}
}
