/* Company palette and typography, adapted for the loading calculator. */
:root {
  --forest: #20362e; --forest-dark: #172720; --ink: #232924;
  --rust: #ac3b20; --rust-hover: #8e2e18; --gold: #edbc77;
  --muted: #647068; --line: #dce1dc; --paper: #f5f6f3; --white: #fff; --diagram-bg: #f4f4ed;
  --input-width: 120px; --input-height: 48px;
  color: var(--ink); background: var(--paper);
  font-family: Arial, Helvetica, sans-serif; font-size: 16px;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; touch-action: manipulation; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

/* White company header and serif titles. */
.app-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1600px; min-height: 118px; margin-inline: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: none; width: 218px; }
.brand-logo { display: block; width: 100%; height: auto; }
.brand-caption { display: block; margin-top: 7px; text-align: center; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.brand-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.15; letter-spacing: -.035em; }
.header-note { max-width: 160px; text-align: right; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.workspace { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 24px; max-width: 1600px; margin: 28px auto 0; padding: 0 32px 32px; align-items: start; }
.controls { min-width: 0; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--rust); border-radius: 2px; padding: 24px; }
.controls-head h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.9rem; line-height: 1.15; letter-spacing: -.035em; }
.controls-head > p { margin-top: 9px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.input-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-title h2 { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.section-number { color: var(--rust); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; }

/* Every number field has the same size. Sidebar captions share a single column. */
.field-grid, .field-grid.three, .field-grid.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.field-grid.two, .wide-field { margin-top: 12px; }
.field-grid label, .wide-field { display: grid; grid-template-columns: minmax(0, 1fr) var(--input-width); column-gap: 12px; row-gap: 6px; align-items: center; min-width: 0; font-size: .875rem; line-height: 1.4; color: #425048; }
.field-label { min-width: 0; overflow-wrap: anywhere; }
input[type=number] { display: block; width: var(--input-width); min-width: 0; height: var(--input-height); margin: 0; padding: 0 12px; border: 1px solid #c8d0c8; border-radius: 2px; background: var(--white); color: var(--ink); font-size: 1rem; line-height: normal; text-align: right; font-variant-numeric: tabular-nums; appearance: textfield; transition: border-color .15s, background .15s; }
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input:hover { border-color: #8a9b8d; }
input:focus { border-color: var(--forest); background: #fff; }
input[readonly] { background: #eef1ec; border-color: #d6ddd5; color: #526257; cursor: default; }
input[aria-invalid=true] { border-color: var(--rust); background: #fff3ec; }
.field-help { color: var(--muted); font-size: .75rem; line-height: 1.55; }
label > .field-help { grid-column: 1 / -1; }
.input-section > .field-help { margin-top: 12px; }
.input-section > .section-title + .field-help { margin: 0 0 16px; }
.reset-btn { width: 100%; min-height: 48px; margin-top: 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--forest); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.reset-btn:hover { background: #e9ede6; border-color: #bbc8bc; }
.auto-pallet-btn { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--forest); font-size: .8125rem; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.auto-pallet-btn:hover { color: var(--rust); }
.pallet-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pallet-option { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-size: .75rem; line-height: 1.5; color: var(--muted); text-align: left; }
.pallet-option:hover, .pallet-auto:hover { border-color: #9cab9c; }
.pallet-option strong { color: var(--forest); font-weight: 600; }
.pallet-option.selected { border-color: #bc6d4c; background: #faf0e5; }
.pallet-option.selected strong { color: var(--rust); }
.pallet-option span { font-variant-numeric: tabular-nums; }
.pallet-auto { grid-column: 1 / -1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--forest); font-size: .8125rem; font-weight: 600; }
.pallet-auto[aria-pressed=true] { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* Results retain readable contrast in the company's forest and timber palette. */
.results { min-width: 0; padding-top: 3px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.eyebrow { margin-bottom: 10px; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; line-height: 1.5; color: var(--rust); }
.result-heading h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(1.75rem, 2.3vw, 2.2rem); line-height: 1.15; letter-spacing: -.04em; }
.status-badge { flex-shrink: 0; padding: 9px 12px; border: 1px solid #cfdbcf; border-radius: 2px; background: #eaf0e6; color: #3c5c46; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.status-badge.error { background: #fff0e7; color: var(--rust); border-color: #e5c6b5; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 19px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.metric.primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.metric-label { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: .8125rem; font-weight: 400; line-height: 1.4; }
.metric.primary .metric-label { color: #d4ded6; }
.metric strong { display: block; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 2.3rem; font-weight: 750; letter-spacing: -.05em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric.primary strong { color: var(--gold); }
.metric strong small { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.metric-detail { margin-top: auto; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.metric.primary .metric-detail { color: #c0cec3; }
.metric-values { display: grid; gap: 4px; }
.metric-values .metric-detail { margin-top: 0; }
.volume-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; min-width: 0; color: var(--forest); }
.volume-total strong { font-variant-numeric: tabular-nums; white-space: normal; }
.custom-metrics .volume-total strong { font: inherit; }
.volume-total small { font-size: .875rem; font-weight: 500; }
.volume-row { justify-content: space-between; gap: 4px 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.issues { display: grid; gap: 8px; margin: 16px 0; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #e2d3bb; border-radius: 2px; background: #fbf4e7; color: #745031; font-size: .875rem; line-height: 1.55; }
.notice.error, .input-error { background: #fff0e7; color: var(--rust); border-color: #e5c6b5; }
.notice-icon { flex: none; min-width: 16px; font-weight: 700; }
.input-error { padding: 14px; margin-bottom: 14px; border: 1px solid #e5c6b5; border-radius: 2px; font-size: .875rem; line-height: 1.55; }
.plans-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(235px, 1fr); gap: 16px; }
.panel { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; padding: 18px 20px; }
.panel h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.panel-heading p { margin-top: 5px; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.view-label { flex: none; color: #7a857b; font-size: .625rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; white-space: nowrap; }
.drawing { width: 100%; padding: 16px 18px; }
.drawing svg { display: block; width: 100%; height: auto; }
.side-clearances-phone { display: none; }
@media screen and (max-width: 700px) {
  .drawing svg [data-clearances="side"] { display: none; }
  .side-clearances-phone { display: block; padding-inline: 8px; color: var(--forest); font-size: .75rem; line-height: 1.5; text-align: center; }
}
.drawing.truck-drawing { background: var(--diagram-bg); color: var(--forest); }
.drawing .plan-phone { display: none; }
.drawing.light { background: #fafaf6; }
.truck-plan .drawing { display: flex; align-items: center; min-height: 220px; }
.pallet-plan .drawing { display: flex; align-items: center; justify-content: center; height: 220px; }
.pallet-plan svg { width: auto; max-width: 100%; height: 195px; }
svg text { font-family: Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 13px 20px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.legend > span { display: flex; align-items: center; gap: 7px; }
.legend-color { display: inline-block; flex: none; width: 14px; height: 10px; border-radius: 1px; }
.legend-color.loaded { background: var(--gold); }
.legend-color.empty { background: var(--white); border: 1px dashed #8fa696; }
.legend-color.pallet { background: #8eaaa0; }
.legend-color.reserve { background: #edf0e5; border: 1px dashed #77946d; }
.legend-color.custom { background: #cc7f57; }
.legend-color.additional { background: #89b8a1; }
.orientation { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.55; }
.side-plan, .checks-panel { margin-top: 16px; }
.side-plan .drawing { padding: 16px 20px; }
.text-btn { padding: 11px 14px; border: 1px solid var(--rust); border-radius: 2px; background: var(--rust); color: var(--white); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.text-btn:hover { background: var(--rust-hover); border-color: var(--rust-hover); }
.limit-label { padding: 7px 10px; border-radius: 2px; background: var(--paper); color: #526257; font-size: .75rem; line-height: 1.5; }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 0 20px 22px; }
.check-title { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8125rem; line-height: 1.5; }
.check-title > span { color: var(--muted); }
.check-title strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.progress { height: 6px; margin-top: 11px; overflow: hidden; background: #e5eae2; border-radius: 1px; }
.progress span { display: block; height: 100%; background: #5a7b61; transition: width .2s; }
.progress span.danger { background: var(--rust); }
.check p { margin-top: 10px; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 18px 20px; margin: 0; border-top: 1px solid var(--line); background: var(--paper); }
.details-grid dt { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.details-grid dd { margin: 7px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }

/* Custom pallet forms use the same input dimensions and numeric alignment. */
.custom-panel { margin-top: 22px; }
.custom-panel .eyebrow { margin-bottom: 6px; }
.custom-panel h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.6rem; }
.custom-gain { flex: none; padding: 8px 12px; background: #eaf0e6; border: 1px solid #c8d8c8; border-radius: 2px; color: #3c5c46; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.custom-gain:empty { display: none; }
.custom-parameters { padding: 0 20px 20px; }
.custom-parameters .field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.custom-parameters .field-grid label { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(40px, auto) var(--input-height); row-gap: 8px; align-items: end; }
.custom-parameters .field-label { min-height: 40px; display: flex; align-items: flex-end; }
.custom-help { max-width: 900px; margin-top: 13px; color: var(--muted); font-size: .8125rem; line-height: 1.65; }
.custom-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 20px; }
.custom-modes button { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 15px 16px; text-align: left; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--forest); line-height: 1.45; }
.custom-modes button strong { font-size: .9375rem; font-weight: 600; }
.custom-modes button span { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.custom-modes button:hover { border-color: #9cab9c; }
.custom-modes button[aria-pressed=true] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.custom-modes button[aria-pressed=true] span { color: #d4ded6; }
.custom-message { padding: 16px 20px; color: var(--forest); font-size: .8125rem; line-height: 1.6; }
.custom-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 19px 20px; border-block: 1px solid var(--line); background: var(--paper); }
.custom-metrics dt, .custom-metrics .metric-label { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.custom-metrics dd { margin: 8px 0 0; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 1.65rem; font-weight: 750; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.custom-pallet-values > #customPallets { display: block; }
.custom-pallet-values .volume-row { margin-top: 10px; }
.custom-table-wrap { overflow: auto; }
.custom-table { width: 100%; border-collapse: collapse; font-size: .8125rem; line-height: 1.5; }
.custom-table th, .custom-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.custom-table thead th { color: var(--muted); font-weight: 400; background: #fafbf8; }
.custom-table tbody th { font-weight: 600; }
.custom-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.custom-table th:nth-child(n+3), .custom-table td:nth-child(n+3) { text-align: right; }
.group-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; margin-right: 6px; border-radius: 2px; background: #eaf0e6; color: var(--forest); font-size: .75rem; font-weight: 600; }
.custom-drawing-title { padding: 18px 20px 12px; color: var(--forest); font-size: .8125rem; font-weight: 600; line-height: 1.5; }
.custom-checks { padding: 0 20px 19px; color: #45644d; font-size: .8125rem; line-height: 1.6; }
.custom-method { padding: 17px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.65; }
.custom-method summary, .method summary { cursor: pointer; color: var(--forest); font-weight: 600; }
.custom-method p { max-width: 960px; margin-top: 12px; }
.method { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.65; }
.method > div { max-width: 920px; padding: 15px 0 0; }
.method p { margin-bottom: 12px; }
.app-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; color: #768178; font-size: .75rem; line-height: 1.5; }
.results.invalid .metric-grid { opacity: .4; }
.results.invalid .drawing { opacity: .45; }

@media (max-width: 1280px) {
  .workspace { grid-template-columns: 350px minmax(0, 1fr); gap: 20px; padding-inline: 24px; }
  .controls { padding: 22px; }
  .header-inner { padding-inline: 24px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric strong { font-size: 2.2rem; }
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .pallet-plan .drawing { height: 215px; }
  .result-heading { flex-wrap: wrap; }
  .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-parameters .field-grid.three { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .custom-parameters .field-grid label { grid-template-columns: minmax(0, 1fr) var(--input-width); grid-template-rows: auto; align-items: center; gap: 12px; }
  .custom-parameters .field-label { min-height: 0; display: block; }
}
@media (max-width: 1024px) {
  .workspace { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .controls { padding: 24px; }
  #parameters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .reset-btn { grid-column: 1 / -1; width: auto; justify-self: start; }
  .results { padding-top: 9px; }
  .result-heading { flex-wrap: nowrap; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric { padding: 18px 15px; }
  .metric strong { font-size: 2rem; }
  .plans-grid { grid-template-columns: minmax(0, 1.9fr) minmax(235px, 1fr); }
  .header-note { display: none; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 0; padding: 17px 20px; gap: 24px; }
  .brand { width: 186px; }
  .brand-title { max-width: 240px; font-size: 1.5rem; }
  .brand-caption { font-size: .6875rem; }
  .workspace { padding: 0 18px 24px; margin-top: 18px; }
  #parameters { grid-template-columns: minmax(0, 1fr); }
  .controls { padding: 21px; }
  .input-section { padding-block: 21px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .truck-plan .drawing { min-height: 165px; }
  .pallet-plan .drawing { height: 245px; }
  .pallet-plan svg { height: 220px; }
  .result-heading { flex-wrap: wrap; gap: 13px; }
  .result-heading h2 { font-size: 1.9rem; }
  .panel-heading { padding: 17px 16px; flex-wrap: wrap; gap: 10px; }
  .checks-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; padding: 0 16px 20px; }
  .details-grid { padding: 17px 16px; }
  .custom-parameters { padding: 0 16px 19px; }
  .custom-modes { padding-inline: 16px; }
  .custom-panel h3 { font-size: 1.5rem; }
  .custom-message, .custom-checks, .custom-method { padding-inline: 16px; }
  .custom-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 16px; }
  .custom-table th, .custom-table td { padding: 12px; }
  .custom-drawing-title { padding: 17px 16px 11px; }
  .drawing, .side-plan .drawing { padding: 16px 12px; }
  .legend { padding-inline: 16px; }
  .view-label { display: none; }
}
@media (max-width: 480px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px; }
  .brand { width: 200px; }
  .brand-title { max-width: none; font-size: 1.7rem; }
  .workspace { padding: 0 12px 22px; gap: 21px; }
  .controls { padding: 18px; }
  .controls-head h1 { font-size: 1.75rem; }
  .field-grid label, .wide-field { column-gap: 10px; font-size: .8125rem; }
  .reset-btn { width: 100%; }
  .metric { padding: 17px 14px; gap: 13px; }
  .metric strong { font-size: 2.2rem; }
  .metric-label { font-size: .75rem; }
  .metric-detail { font-size: .6875rem; }
  .result-heading h2 { font-size: 1.75rem; }
  .custom-modes { grid-template-columns: minmax(0, 1fr); }
  .custom-metrics dd { font-size: 1.5rem; }
  .custom-gain { font-size: .8125rem; }
  .custom-panel .panel-heading { align-items: flex-start; }
  .app-footer { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media screen and (max-width: 620px) {
  .drawing .plan-wide { display: none; }
  .drawing .plan-phone { display: block; width: 100%; height: auto; max-height: 1050px; }
  .truck-plan .drawing { min-height: 0; }
  .metric strong.compact-number { font-size: 1.5rem; }
  .custom-metrics dd.compact-number, .custom-pallet-values > .compact-number { font-size: 1.3rem; }
}
@media print {
  :root { background: #fff; }
  .controls, .app-header, .text-btn, .method, .app-footer, .custom-parameters, .custom-modes, .custom-method { display: none; }
  .workspace { display: block; margin: 0; padding: 0; }
  .results { padding: 0; }
  .drawing.truck-drawing, .metric.primary, .custom-metrics { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .drawing .plan-wide { display: block; }
  .drawing .plan-phone { display: none; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel { break-inside: avoid; }
  .custom-panel { break-inside: auto; }
}


.back-company{color:var(--forest);font-size:13px}.quote-panel,.calculator-about{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;margin:20px 0}.quote-panel h2,.calculator-about h2{font:400 28px/1.2 Georgia,serif;margin:10px 0;color:var(--forest)}.quote-panel p,.calculator-about p{line-height:1.65;margin:12px 0}.quote-panel label{display:block;font-weight:700;margin:18px 0 8px}.quote-panel select,.quote-panel textarea{width:100%;max-width:100%;font:inherit;padding:12px;border:1px solid #8b9a90;border-radius:6px;background:#fff;color:var(--ink)}.quote-panel textarea{margin-top:12px}.quote-panel summary{cursor:pointer;padding:12px 0}.quote-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.quote-actions a,.quote-actions button{padding:13px 16px;border:1px solid var(--forest);border-radius:5px;text-decoration:none;color:var(--forest);background:#fff}.quote-actions .quote-primary{background:var(--forest);color:#fff}.calculator-about{max-width:1200px;margin:30px auto}.calculator-about h3{margin-top:20px}.calculator-about a{color:var(--rust)}@media(max-width:760px){.quote-panel,.calculator-about{padding:18px}.calculator-about{margin:16px}.quote-actions{display:grid}.quote-actions a,.quote-actions button{text-align:center}.back-company{font-size:12px}}

.pdf-export{margin:0 0 20px}.pdf-export .reset-btn{width:auto;padding:12px 20px}.pdf-export p{font-size:13px;color:#486051;margin:8px 0}

/* Bottom panels align with the result panels above. */
.results>.calculator-about,.results>.quote-panel{width:100%;max-width:none;margin:24px 0 0}

.result-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.result-actions #exportPdf{width:auto;min-height:0;margin:0;padding:9px 12px;white-space:nowrap;font-size:.75rem}
