.be-page { padding-bottom: 60px; }
.be-hero { padding-top: 28px; padding-bottom: 36px; }
.be-hero h1 { font-family: Georgia, serif; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.07; letter-spacing: -.045em; font-weight: 400; margin: 18px 0; max-width: 920px; }
.be-hero h1 em { font-weight: 400; color: var(--coral-dark); }
.be-hero .lede { max-width: 780px; font-size: 18px; }
.be-subtitle { font-size: 13px; color: var(--muted); }
.be-subtitle span { padding: 0 8px; }
.be-workspace { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.35fr); gap: 42px; align-items: start; }
.be-input-panel { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.be-section-label { display: flex; gap: 12px; align-items: center; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.be-section-label span { color: var(--coral-dark); font-size: 14px; letter-spacing: 0; }
.be-page h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.035em; margin: 12px 0 22px; }
.be-page h3 { line-height: 1.3; font-size: 18px; margin-top: 0; }
.be-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.be-fields .field, .be-fee-editor .field { min-width: 0; margin-bottom: 0; }
.be-wide { grid-column: 1 / -1; }
.be-page .field label { font-size: 12px; font-weight: 700; }
.be-page .field input, .be-page .field select { min-width: 0; width: 100%; min-height: 46px; padding: 10px; }
.be-fee-editor { margin: 24px 0; border-top: 1px solid var(--line); padding-top: 18px; }
.be-page summary { cursor: pointer; font-weight: 700; }
.be-fee-editor p { font-size: 13px; color: var(--muted); }
.be-fee-pair { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.be-fee-pair legend { padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.be-fee-pair legend small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.be-page .be-fine { color: var(--muted); font-size: 12px; line-height: 1.6; }
.be-input-panel .primary-button { width: 100%; }
.be-output { min-width: 0; scroll-margin-top: 100px; }
.be-result-context { color: var(--muted); font-size: 13px; }
.be-threshold { color: var(--white); background: var(--ink); padding: 30px; margin: 24px 0; }
.be-kicker { display: block; font-size: 10px; letter-spacing: .12em; font-weight: 700; line-height: 1.6; }
.be-threshold > strong { font-family: Georgia, serif; display: block; font-weight: 400; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.1; margin: 14px 0; }
.be-threshold p { font-size: 13px; color: #e3e9e4; }
.be-threshold-range { border-top: 1px solid #677e81; padding-top: 18px; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.be-threshold-range span, .be-threshold-range b { display: block; }
.be-threshold-range span { font-size: 11px; color: #d2ddd7; margin-bottom: 6px; }
.be-threshold-range b { font-size: 15px; }
.be-cost-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.be-cost-card { background: var(--white); border: 1px solid var(--line); padding: 22px; min-width: 0; }
.be-cost-card strong { font-size: clamp(18px, 1.8vw, 25px); display: block; letter-spacing: -.04em; overflow-wrap: anywhere; }
.be-cost-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 14px; }
.be-cost-card > span { display: block; font-size: 11px; color: var(--muted); }
.be-cost-card > b { font-size: 15px; overflow-wrap: anywhere; }
.be-verdict { border-left: 3px solid var(--sage); padding: 12px 16px; font-size: 13px; background: #e6ebe2; }
.be-common-cost { margin-top: 30px; }
.be-page dl { margin: 0; }
.be-page dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.be-page dd { margin: 0; text-align: right; font-weight: 700; }
.be-assumptions { padding: 16px 0; margin: 16px 0; border-block: 1px solid var(--line); font-size: 13px; }
.be-save { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.be-secondary { border: 1px solid var(--ink); color: var(--ink); background: transparent; padding: 12px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.be-secondary:hover { background: var(--paper-deep); }
.be-scenarios { padding-top: 64px; }
.be-scenarios > p { max-width: 850px; color: var(--muted); }
.be-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); background: var(--white); }
.be-matrix { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.be-matrix caption { text-align: left; }
.be-matrix th { padding: 18px; background: var(--paper-deep); font-size: 13px; }
.be-matrix td { padding: 18px; border: 1px solid var(--line); min-width: 195px; vertical-align: top; }
.be-matrix td > span { display: block; margin: 7px 0; }
.be-matrix td b { font-size: 12px; white-space: nowrap; }
.be-matrix .be-status { font-size: 11px; font-weight: 700; margin: 0 0 16px; }
.be-status-eor { color: #80452e; }.be-status-entity { color: #345a4d; }.be-status-overlap { color: #695b42; }
.be-selected-cell { outline: 2px solid var(--ink); outline-offset: -2px; }
.be-method { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 48px; font-size: 14px; }
.be-exclusions { border-left: 1px solid var(--line); padding-left: 32px; }
.be-next { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 48px; padding: 32px; background: #e3e9df; border: 1px solid var(--line); }
.be-next-actions .primary-button { width: 100%; white-space: normal; line-height: 1.5; }
.be-next-actions > a { display: block; margin-top: 20px; font-size: 13px; }
.be-share { padding-top: 48px; max-width: 900px; }
.be-share p { font-size: 14px; color: var(--muted); }
.be-share label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.be-share-row { display: flex; gap: 12px; }
.be-share-row input { min-width: 0; width: 100%; border: 1px solid var(--line); background: var(--white); padding: 12px; color: var(--ink); font-size: 13px; }
.be-share-row button { flex-shrink: 0; }
.be-faq { padding-top: 48px; max-width: 900px; }
.be-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.be-faq summary { font-size: 16px; }
.be-faq p { font-size: 14px; color: var(--muted); }
.be-print-note { margin-top: 40px; color: var(--muted); font-size: 11px; }
.be-error { padding: 16px; margin-bottom: 20px; background: #f7e4df; color: #792d20; border-left: 3px solid #943b29; }
@media (max-width: 900px) {
 .be-workspace { grid-template-columns: 1fr; gap: 32px; }
 .be-method, .be-next { grid-template-columns: 1fr; gap: 20px; }
 .be-exclusions { border: 0; padding: 0; }
 .be-input-panel { padding: 22px; }
}
@media (max-width: 480px) {
 .be-hero { padding-top: 12px; }.be-hero .lede { font-size: 16px; }
 .be-fields { gap: 12px; }.be-threshold { padding: 22px; }
 .be-cost-cards, .be-threshold-range { grid-template-columns: 1fr; }
 .be-next { padding: 22px; }.be-share-row { flex-direction: column; }
 .be-page dl > div { flex-direction: column; gap: 4px; }.be-page dd { text-align: left; }
}
@media print {
 @page { size: A4; margin: 14mm; }
 body { background: white !important; color: black; font-size: 10pt; }
 body::before, .site-header, .site-footer, .skip-link, .be-screen, .be-input-panel, .be-hero .breadcrumbs, .be-hero .eyebrow, .be-subtitle { display: none !important; }
 .be-page { padding: 0; }.be-page .shell { width: 100%; max-width: none; }
 .be-hero { padding: 0; }.be-hero h1 { font-size: 26pt; }.be-hero .lede { font-size: 10pt; }
 .be-workspace { display: block; }.be-output { width: 100%; }.be-page h2 { font-size: 17pt; }
 .be-threshold { background: white; color: black; border: 1px solid #666; padding: 16px; }
 .be-threshold p, .be-threshold-range span { color: black; }.be-threshold > strong { font-size: 24pt; }
 .be-cost-cards { display: grid; grid-template-columns: 1fr 1fr; }.be-cost-card { padding: 14px; }
 .be-cost-card strong { font-size: 17pt; }.be-page .be-fine { font-size: 8pt; }
 .be-assumptions > * { display: block !important; }.be-assumptions::details-content { content-visibility: visible; display: block; }
 .be-assumptions summary { list-style: none; }.be-threshold, .be-cost-card, .be-common-cost { break-inside: avoid; }
 .be-scenarios { padding-top: 20px; }.be-table-wrap { overflow: visible; }.be-matrix { table-layout: fixed; font-size: 8pt; }
 .be-matrix th, .be-matrix td { min-width: 0; padding: 8px; }.be-matrix td b { white-space: normal; font-size: 8pt; }
 .be-matrix .be-status { font-size: 8pt; }.be-method { gap: 20px; padding-top: 20px; font-size: 9pt; }
 .be-print-note { margin-top: 20px; font-size: 8pt; }
}
