/* Letter Designer postage overlay. The estimate module itself remains unchanged. */
html.stco-lip-overlay-open,body.stco-lip-overlay-open{overflow:hidden!important}
.stco-cld-postage-overlay[hidden]{display:none!important}
.stco-cld-postage-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:28px;box-sizing:border-box}
.stco-cld-postage-overlay-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.stco-cld-postage-overlay-dialog{position:relative;z-index:1;width:min(1180px,calc(100vw - 56px));max-height:calc(100vh - 56px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 30px 80px rgba(2,6,23,.28);outline:0}
.stco-cld-postage-overlay-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;border-bottom:1px solid #e8edf3;background:#fff}
.stco-cld-postage-overlay-kicker{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#64748b}
.stco-cld-postage-overlay-header h3{margin:0;font-size:20px;line-height:1.25;color:#0f172a}
.stco-cld-postage-overlay-close{appearance:none;-webkit-appearance:none;flex:0 0 auto;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #dbe3ec;border-radius:10px;background:#fff;color:#0f172a;font:400 27px/1 Arial,sans-serif;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.stco-cld-postage-overlay-close:hover{background:#f8fafc;border-color:#cbd5e1}
.stco-cld-postage-overlay-close:focus-visible{outline:3px solid rgba(0,82,255,.18);outline-offset:2px}
.stco-cld-postage-overlay-body{flex:1 1 auto;min-height:0;overflow:auto;padding:22px;background:#f8fafc;overscroll-behavior:contain}
.stco-cld-postage-overlay .stco-cld-postage-section{margin:0;scroll-margin:0}
@media(max-width:760px){.stco-cld-postage-overlay{padding:12px}.stco-cld-postage-overlay-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);border-radius:14px}.stco-cld-postage-overlay-header{padding:15px 16px}.stco-cld-postage-overlay-body{padding:14px}}

.stco-lip-postage-options{--lip-border:#e5e7eb;--lip-muted:#64748b;--lip-ink:#111827;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--lip-ink)}
.stco-lip-postage-options *{box-sizing:border-box}
.stco-lip-hero{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:22px;align-items:center;padding:24px;border:1px solid var(--lip-border);border-radius:16px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%)}
.stco-lip-eyebrow{display:block;margin-bottom:6px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#64748b}
.stco-lip-hero h3{margin:0 0 8px;font-size:24px;line-height:1.2}
.stco-lip-hero p{margin:0;max-width:760px;font-size:14px;line-height:1.6;color:#64748b}
.stco-lip-campaign-count{padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-align:center}
.stco-lip-campaign-count span,.stco-lip-campaign-count small{display:block;color:#64748b;font-size:11px}
.stco-lip-campaign-count strong{display:block;margin:4px 0;font-size:30px;line-height:1}
.stco-lip-plan-context{margin-top:14px;padding:18px;border:1px solid #dbe4f0;border-radius:14px;background:#fff}
.stco-lip-plan-context-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.stco-lip-plan-context-head>div{min-width:0}.stco-lip-plan-context-kicker{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#64748b}
.stco-lip-plan-context-head strong{display:block;font-size:14px;color:#0f172a}
.stco-lip-plan-no-charge{flex:0 0 auto;padding:6px 9px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#166534;font-size:10px;font-weight:800;line-height:1.2}
.stco-lip-plan-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.stco-lip-plan-stats>div{padding:11px 12px;border:1px solid #edf1f5;border-radius:10px;background:#f8fafc}
.stco-lip-plan-stats span{display:block;margin-bottom:3px;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#94a3b8}
.stco-lip-plan-stats strong{display:block;font-size:12px;color:#1e293b}
.stco-lip-plan-explainer{margin:13px 0 0;padding:11px 12px;border-left:3px solid #0052ff;border-radius:0 9px 9px 0;background:#f5f7ff;color:#334155;font-size:12px;line-height:1.55}
.stco-lip-plan-guidance{margin:9px 0 0;padding:10px 12px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#64748b;font-size:11px;line-height:1.5}
.stco-lip-plan-guidance.is-ok{border-color:#d1fae5;background:#f0fdf4;color:#166534}.stco-lip-plan-guidance.is-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}
.stco-lip-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;padding:18px;border:1px solid var(--lip-border);border-radius:14px;background:#fff}
.stco-lip-controls label{display:block;font-size:12px;font-weight:800;color:#475569}
.stco-lip-controls select{width:100%;margin-top:7px;padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827}
.stco-lip-status{margin:12px 2px 0;font-size:12px;color:#64748b;min-height:18px}.stco-lip-status.is-error{color:#b91c1c;font-weight:650}
.stco-lip-estimate{margin-top:12px}
.stco-lip-estimate-card{border:1px solid var(--lip-border);border-radius:14px;background:#fff;overflow:hidden}
.stco-lip-estimate-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid #eef2f7;background:#f8fafc}
.stco-lip-estimate-summary>div{padding:14px 16px;border-right:1px solid #eef2f7}.stco-lip-estimate-summary>div:last-child{border-right:0}
.stco-lip-estimate-summary span{display:block;margin-bottom:4px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}.stco-lip-estimate-summary strong{font-size:13px;color:#1e293b}
.stco-lip-breakdown-wrap{overflow:auto}.stco-lip-breakdown{width:100%;border-collapse:collapse;margin:0}
.stco-lip-breakdown th,.stco-lip-breakdown td{padding:12px 14px;border-bottom:1px solid #eef2f7;text-align:right;vertical-align:top;font-size:12px}.stco-lip-breakdown th:first-child,.stco-lip-breakdown td:first-child{text-align:left}.stco-lip-breakdown thead th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;background:#fff}.stco-lip-breakdown td strong{display:block}.stco-lip-breakdown td small{display:block;margin-top:2px;color:#94a3b8}.stco-lip-subtotal-row td{font-weight:700;background:#fafafa}.stco-lip-breakdown tfoot th{font-size:14px;background:#f8fafc;border-bottom:0;color:#0f172a}
.stco-lip-estimate-note{margin:0;padding:12px 14px;background:#f8fafc;color:#64748b;font-size:11px;line-height:1.5}
.stco-lip-estimate-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.stco-lip-estimate-actions form{margin:0}.stco-lip-email-hint{font-size:11px;color:#64748b}
.stco-lip-message{padding:14px 16px;margin-top:12px;border:1px solid #dbe3ec;border-radius:10px;background:#f8fafc;color:#475569;font-size:13px;line-height:1.5}.stco-lip-message-error{border-color:#fecdd3;background:#fff1f2;color:#9f1239}
@media(max-width:760px){.stco-lip-hero{grid-template-columns:1fr}.stco-lip-campaign-count{text-align:left}.stco-lip-plan-context-head{align-items:flex-start;flex-direction:column}.stco-lip-plan-no-charge{white-space:normal}.stco-lip-plan-stats{grid-template-columns:1fr 1fr}.stco-lip-controls{grid-template-columns:1fr}.stco-lip-estimate-summary{grid-template-columns:1fr 1fr}.stco-lip-estimate-summary>div:nth-child(2){border-right:0}.stco-lip-estimate-summary>div{border-bottom:1px solid #eef2f7}}
.stco-lip-supplier-note{font-size:10px!important;color:#64748b!important;font-style:italic}

/* LetterImpact 5.0 customer-selectable production variants. */
.stco-lip-production-options{margin-top:14px;padding:18px;border:1px solid #dbe4f0;border-radius:14px;background:#fff}
.stco-lip-production-options[hidden]{display:none!important}
.stco-lip-production-options-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.stco-lip-production-options-head>div{min-width:0}.stco-lip-production-options-kicker{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#64748b}
.stco-lip-production-options-head strong{display:block;font-size:14px;color:#0f172a}.stco-lip-production-options-head p{margin:5px 0 0;max-width:780px;font-size:11px;line-height:1.55;color:#64748b}
.stco-lip-production-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stco-lip-production-option{display:block;padding:13px;border:1px solid #e6ebf1;border-radius:11px;background:#f8fafc}
.stco-lip-production-option-label{display:flex;align-items:center;gap:7px;margin-bottom:7px;font-size:11px;font-weight:800;color:#334155}
.stco-lip-production-option-label em{font-style:normal;padding:2px 6px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.stco-lip-production-option select{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827}
.stco-lip-production-option option:disabled{color:#94a3b8}
@media(max-width:760px){.stco-lip-production-options-grid{grid-template-columns:1fr}}
