/* fetch-975: shared manager/staff phone bar preparation. House tokens, scoped selectors. */
.bpl { font-family: Inter, sans-serif; font-size: var(--t-body, .875rem); color: var(--ink); overflow-wrap: anywhere; }
.bpl *, .bpl-shell .pgh * { box-sizing: border-box; }
.bpl h2, .bpl h3, .bpl h4 { color: var(--navy-dark); font-family: Inter, sans-serif; margin: 0 0 var(--s-2, .5rem); line-height: 1.35; }
.bpl h2 { font-size: var(--t-section, 1.0625rem); }
.bpl h3, .bpl h4 { font-size: var(--t-body, .875rem); }
.bpl h4 { margin-top: var(--s-4, 1rem); }
.bpl p { margin: var(--s-2, .5rem) 0; line-height: 1.5; }
.bpl .card, .bpl.card { min-width: 0; padding: var(--s-4, 1rem); margin-bottom: var(--s-3, .75rem); }
.bpl .btn, .bpl summary, .bpl input:not([type=checkbox]), .bpl select, .bpl-shell .pgh-tab, .bpl-shell .pgh select, .bpl-shell .pgh button, .bpl-shell .pgh summary { min-height: var(--control-height-touch, 44px); min-width: 44px; font-size: var(--t-body, .875rem); font-family: Inter, sans-serif; }
.bpl .btn { white-space: normal; line-height: 1.3; padding: var(--s-2, .5rem) var(--s-3, .75rem); }
.bpl :is(button,input,select,textarea,summary,a):focus-visible { outline: 2px solid var(--focus-ring, var(--gold-dark)); outline-offset: 3px; }
.bpl :disabled { opacity: .6; cursor: not-allowed; }
.bpl a { color: var(--navy); text-decoration: underline; }
.bpl-fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.bpl-fieldset legend { font-size: var(--t-body, .875rem); font-weight: 700; margin-bottom: var(--s-3, .75rem); }
.bpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3, .75rem); }
.bpl-field { display: flex; flex-direction: column; gap: var(--s-1, .25rem); margin: var(--s-2, .5rem) 0 var(--s-3, .75rem); min-width: 0; font-size: var(--t-sub, .75rem); font-weight: 600; }
.bpl-field input, .bpl-field select, .bpl-field textarea { width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: var(--r-s, 6px); padding: var(--s-2, .5rem); background: var(--surface-card, var(--paper)); color: var(--ink); font-family: inherit; font-size: var(--t-body, .875rem); }
.bpl-field textarea { resize: vertical; min-height: 80px; }
.bpl-kicker { color: var(--muted); font-size: var(--t-sub, .75rem); font-weight: 600; margin-bottom: var(--s-2, .5rem); }
.bpl-muted { color: var(--muted); font-size: var(--t-sub, .75rem); }
.bpl-status { font-weight: 600; font-variant-numeric: tabular-nums; }
.bpl-quantity { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 600; }
.bpl-actions { display: flex; flex-wrap: wrap; gap: var(--s-2, .5rem); margin: var(--s-3, .75rem) 0; }
.bpl-actions .btn { flex: 1 1 130px; }
.bpl-rulehead { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3, .75rem); }
.bpl-rulehead > div { min-width: 0; }
.bpl-rulehead .btn { flex-shrink: 0; }
.bpl-rule, .bpl-staffrow, .bpl-pullitem { border-top: 1px solid var(--line); padding: var(--s-3, .75rem) 0; }
.bpl-editor, .bpl-add { background: var(--wash); padding: var(--s-3, .75rem); border-radius: var(--r-m, 10px); margin-top: var(--s-3, .75rem); }
.bpl-notice { border: 1px solid var(--line); border-left: 3px solid var(--info-fg); background: var(--wash); padding: var(--s-3, .75rem); margin: var(--s-3, .75rem) 0; line-height: 1.5; }
.bpl-notice--warn { border-left-color: var(--warn-fg); color: var(--warn-fg); background: var(--warn-bg); }
.bpl-issued { border-left: 3px solid var(--gold); padding: var(--s-3, .75rem); background: var(--wash); margin-bottom: var(--s-3, .75rem); }
.bpl details { border-top: 1px solid var(--line); margin-top: var(--s-3, .75rem); }
.bpl summary { cursor: pointer; padding: var(--s-3, .75rem) 0; font-weight: 600; line-height: 1.4; }
.bpl-check { display: flex; align-items: center; gap: var(--s-3, .75rem); min-height: 48px; margin-top: var(--s-3, .75rem); cursor: pointer; }
.bpl-check input { width: 22px; height: 22px; accent-color: var(--navy); flex-shrink: 0; }
.bpl-pullitem--done { border-left: 3px solid var(--ok-fg); padding-left: var(--s-3, .75rem); }
.bpl-gaps { padding-left: var(--s-5, 1.5rem); color: var(--warn-fg); line-height: 1.7; }
.bpl-historyrows { max-height: 24rem; overflow-y: auto; }
.bpl-prep { width: 100%; max-width: none; margin: 0 auto; }
.bpl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
.bpl .bpl-step { display: flex; align-items: center; gap: var(--s-2); min-height: var(--control-height-touch); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-card); color: var(--ink); font: inherit; font-size: var(--t-sub); text-align: left; cursor: pointer; }
.bpl .bpl-step--current { border-color: var(--navy); box-shadow: inset 0 -2px var(--navy); font-weight: 700; }
.bpl-step-number { font-variant-numeric: tabular-nums; font-size: var(--t-body); font-weight: 700; }
.bpl-continue { border-top: 1px solid var(--line); padding-top: var(--s-3); margin-top: var(--s-4); }
.bpl [id=bplStepTitle], .bpl [id=bplStepErrors] { scroll-margin-top: var(--s-5); }
.bpl-shell .pgh-nav { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-2); }
.bpl-shell .pgh-navfield { min-width: 0; width: 100%; }
.bpl-shell .pgh-navfield select { width: 100%; max-width: 100%; }
.bpl-shell .pgh-tabs { overflow-x: auto; }
@media (max-width: 420px) {
  .bpl .bpl-step { flex-direction: column; align-items: flex-start; gap: var(--s-1); padding: var(--s-2); }
  .bpl-grid { grid-template-columns: 1fr; }
  .bpl-shell .pgh-navfield select { font-size: var(--t-sub); padding-left: var(--s-1); padding-right: var(--s-1); }
  .bpl-shell .pgh-tab { padding-left: var(--s-2); padding-right: var(--s-2); }
}
/* fetch-981: one preparation task at a time, with room for the sheet and its BEO reference. */
.bpl-shell:has(.bpl-prep) > .pgh { padding: var(--s-3); }
.bpl-shell:has(.bpl-prep) > .pgh .pgh-titles { display: flex; align-items: center; gap: var(--s-3); }
.bpl-shell:has(.bpl-prep) > .pgh .pgh-back { margin-bottom: 0; flex-shrink: 0; }
.bpl-shell:has(.bpl-prep) > .pgh .pgh-h { font-size: var(--t-section); }
.bpl-shell:has(.bpl-prep) > .pgh .pgh-meta { display: none; } /* The same event title is the preparation heading immediately below. */
.bpl-shell:has(.bpl-prep) > .pgh .pgh-tabs { margin-top: var(--s-1); overflow: visible; flex-wrap: wrap; min-width: 0; }
.bpl-shell:has(.bpl-prep) > .pgh .pgh-tab { margin-bottom: 0; flex: 0 0 auto; } /* fetch-982: the old negative margin created a one-pixel vertical scrollport. */
.bpl-prep .bpl-prep-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--s-3) var(--s-5); padding: 0; border: 0; background: transparent; box-shadow: none; margin-bottom: var(--s-5); }
.bpl-prep .bpl-prep-title { min-width: 0; }
.bpl-prep .bpl-prep-title h2 { font-size: var(--t-title); margin-bottom: var(--s-1); }
.bpl-prep .bpl-prep-title p { margin: var(--s-1) 0 0; }
.bpl-prep .bpl-prep-header > .bpl-actions { align-items: center; justify-content: flex-end; margin: 0; }
.bpl-prep .bpl-prep-header > .bpl-actions .btn { flex: 0 1 auto; }
.bpl-prep .bpl-sheet-actions { min-width: 0; margin: 0; border: 0; }
.bpl-prep .bpl-sheet-actions > summary { padding: var(--s-2) var(--s-3); font-weight: 500; color: var(--navy); }
.bpl-prep .bpl-sheet-actions[open] { background: var(--surface-card); border-radius: var(--r-s); padding: 0 var(--s-3) var(--s-3); }
.bpl-prep .bpl-sheet-actions .bpl-actions { margin-bottom: 0; }
.bpl-prep .bpl-sheet-actions .btn { flex: 1 1 auto; }
.bpl-prep .bpl-steps { grid-column: 1 / -1; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--surface-card); }
.bpl-prep .bpl-step { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: var(--s-3) var(--s-4); background: var(--wash); color: var(--muted); flex-direction: row; align-items: center; gap: var(--s-2); }
.bpl-prep .bpl-step:last-child { border-right: 0; }
.bpl-prep .bpl-step--current { box-shadow: inset 0 -2px var(--gold); background: var(--surface-card); color: var(--navy-dark); }
.bpl-prep .bpl-step:focus-visible { outline-offset: -3px; }
.bpl-prep .bpl-step-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; font-size: var(--t-sub); font-weight: 600; }
.bpl-prep .bpl-step--current .bpl-step-number { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--surface-card); }
.bpl-prep .bpl-workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.bpl-prep .bpl-workspace > * { min-width: 0; }
.bpl-prep .bpl-main { margin: 0; padding: var(--s-5); }
.bpl-prep .bpl-main > h2 { font-size: var(--t-title); margin-bottom: var(--s-1); }
.bpl-prep .bpl-main > .bpl-muted { margin: var(--s-1) 0 var(--s-4); }
.bpl-prep .bpl-section-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-1); }
.bpl-prep .bpl-section-link { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-1); min-width: 0; min-height: var(--control-height-touch); padding: var(--s-2) var(--s-1); border: 1px solid transparent; border-radius: var(--r-s); background: transparent; color: var(--muted); font-family: inherit; font-size: var(--t-sub); line-height: 1.4; text-align: center; cursor: pointer; }
.bpl-prep .bpl-section-link--current { border-color: var(--line); box-shadow: inset 0 -2px var(--gold); background: var(--surface-card); color: var(--navy-dark); font-weight: 600; }
.bpl-prep .bpl-section-count { font-size: var(--t-sub); color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 400; }
.bpl-prep .bpl-reference { margin: 0; padding: var(--s-4); background: var(--wash); }
.bpl-prep .bpl-reference h3 { font-size: var(--t-section); }
.bpl-prep .bpl-reference p, .bpl-prep .bpl-reference li, .bpl-prep .bpl-reference summary { font-size: var(--t-sub); }
.bpl-prep .bpl-reference ul { margin: var(--s-2) 0; padding-left: var(--s-4); line-height: 1.6; }
.bpl-prep .bpl-reference .bpl-actions .btn { font-size: var(--t-sub); }
.bpl-prep .bpl-reference details { margin-top: var(--s-3); }
.bpl-prep .bpl-reference .bpl-grid { grid-template-columns: 1fr; }
.bpl-prep .bpl-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-1) var(--s-3); padding: var(--s-3) 0; }
.bpl-prep .bpl-rule-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); align-items: center; gap: var(--s-3) var(--s-5); }
.bpl-prep .bpl-rule-main > * { min-width: 0; }
.bpl-prep .bpl-rule-main strong { line-height: 1.5; }
.bpl-prep .bpl-rule-main p { margin: var(--s-1) 0 0; }
.bpl-prep .bpl-quick-quantity { display: flex; align-items: end; gap: var(--s-2); flex-wrap: wrap; min-width: 0; }
.bpl-prep .bpl-quick-quantity:has([data-bpl-count]) { align-items: center; }
.bpl-prep .bpl-quick-quantity .bpl-field { margin: 0; flex: 1 1 88px; }
.bpl-prep .bpl-quick-quantity .bpl-field:first-child { flex: 0 1 88px; }
.bpl-prep .bpl-quick-quantity input[type=number] { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bpl-prep .bpl-quick-quantity .bpl-actions { margin: 0; }
.bpl-prep .bpl-quick-quantity .btn { flex: 0 1 auto; font-size: var(--t-sub); }
.bpl-prep .bpl-quick-quantity [id^="bplQuantityResult-"] { flex: 1 0 100%; margin: var(--s-1) 0 0; font-variant-numeric: tabular-nums; }
.bpl-prep .bpl-item-details { margin-top: 0; border: 0; }
.bpl-prep .bpl-item-details[open] { grid-column: 1 / -1; }
.bpl-prep .bpl-item-details > summary { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted); padding: var(--s-2) 0; font-size: var(--t-sub); font-weight: 500; list-style: none; }
.bpl-prep .bpl-item-details > summary::before { content: "+"; font-size: var(--t-body); color: var(--navy); }
.bpl-prep .bpl-item-details[open] > summary::before { content: "−"; }
.bpl-prep .bpl-item-details .bpl-editor { margin-top: 0; }
.bpl-prep .bpl-item-details .bpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bpl-prep .bpl-add { background: transparent; border-top: 1px solid var(--line); border-radius: 0; padding: var(--s-4) 0 0; margin-top: 0; }
.bpl-prep .bpl-add h3 { font-size: var(--t-body); }
.bpl-prep .bpl-add > .bpl-field { margin-bottom: 0; }
.bpl-prep .bpl-product-results { display: grid; gap: var(--s-1); margin-top: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: var(--s-1); }
.bpl-prep .bpl-product-results:empty { display: none; }
.bpl-prep [data-bpl-product] { min-width: 0; min-height: var(--control-height-touch); padding: var(--s-2) var(--s-3); border: 0; border-radius: var(--r-s); background: var(--wash); color: var(--navy); text-align: left; font-family: inherit; font-size: var(--t-body); line-height: 1.5; cursor: pointer; }
.bpl-prep [data-bpl-product]:hover { background: var(--hair); }
.bpl-prep [data-bpl-product] small { display: block; color: var(--muted); font-size: var(--t-sub); }
.bpl-prep .bpl-continue { justify-content: space-between; align-items: center; gap: var(--s-3); padding-top: var(--s-4); margin: var(--s-5) 0 0; }
.bpl-prep .bpl-continue .btn { flex: 0 1 auto; }
.bpl-prep .bpl-continue .btn-primary { margin-left: auto; }
.bpl-prep .bpl-review-list { display: grid; gap: 0; margin: var(--s-4) 0; }
.bpl-prep .bpl-review-list > * { padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.bpl-prep .bpl-lead-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-2) 0 var(--s-4); }
.bpl-prep .bpl-lead-results .btn { display: flex; align-items: center; gap: var(--s-2); text-align: left; justify-content: flex-start; background: var(--wash); }
.bpl-prep .bpl-lead-results [aria-pressed=true] { border-color: var(--navy); background: var(--surface-card); box-shadow: inset 3px 0 var(--gold); font-weight: 600; }
.bpl-prep .bpl-lead-results [aria-pressed=true]::before { content: "✓"; color: var(--ok-fg); flex-shrink: 0; }
.bpl-prep .bpl-delete-confirm { border-left: 3px solid var(--bad-fg); background: var(--surface-card); }
.bpl-prep #bplConfirmDelete { color: var(--bad-fg); border-color: var(--bad-fg); background: var(--surface-card); }
.bpl-prep .bpl-package-choices { min-width: 0; margin: var(--s-4) 0; padding: 0; border: 0; }
.bpl-prep .bpl-package-choices legend { color: var(--navy-dark); font-size: var(--t-body); font-weight: 600; }
.bpl-prep .bpl-package-choices p { color: var(--muted); font-size: var(--t-sub); }
.bpl-prep .bpl-package-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); }
.bpl-prep .bpl-package-options label { display: flex; align-items: center; gap: var(--s-2); min-width: 0; min-height: var(--control-height-touch); padding: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-card); font-size: var(--t-sub); line-height: 1.4; cursor: pointer; }
.bpl-prep .bpl-package-options label:has(:checked) { border-color: var(--navy); background: var(--wash); color: var(--navy-dark); font-weight: 600; }
.bpl-prep .bpl-package-options input { width: 22px; height: 22px; flex-shrink: 0; margin: 0; accent-color: var(--navy); }
/* fetch-982: shared column labels and direct editing use one table on every screen size. */
.bpl-prep .bpl-section-guidance { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); margin: var(--s-2) 0 var(--s-3); color: var(--muted); font-size: var(--t-sub); line-height: 1.5; }
.bpl-prep .bpl-section-guidance > p { flex: 1 1 26rem; margin: 0; }
.bpl-prep .bpl-section-guidance details { flex: 0 1 auto; margin: 0; border: 0; }
.bpl-prep .bpl-section-guidance details[open] { flex-basis: 100%; }
.bpl-prep .bpl-section-guidance summary { padding: var(--s-2) 0; font-size: var(--t-sub); }
.bpl-prep .bpl-items-table { display: table; width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; overflow: visible; font-size: var(--t-body); }
.bpl-prep .bpl-items-table th, .bpl-prep .bpl-items-table td { min-width: 0; max-width: none; padding: var(--s-2); border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.bpl-prep .bpl-items-table th { padding-top: var(--s-3); padding-bottom: var(--s-3); color: var(--muted); background: var(--wash); font-size: var(--t-sub); font-weight: 600; }
.bpl-prep .bpl-items-table th:first-child { width: 27%; }
.bpl-prep .bpl-items-table th:nth-child(2) { width: 104px; }
.bpl-prep .bpl-items-table th:nth-child(3) { width: 160px; }
.bpl-prep .bpl-items-table th:last-child { width: 96px; }
.bpl-prep .bpl-items-table .bpl-rule { display: table-row; border: 0; padding: 0; }
.bpl-prep .bpl-items-table .bpl-rule:hover > td { background: var(--wash); }
.bpl-prep .bpl-items-table .bpl-rule > td:first-child { font-weight: 600; }
.bpl-prep .bpl-table-input, .bpl-prep .bpl-table-note { width: 100%; max-width: 100%; min-width: 0; min-height: var(--control-height-touch); margin: 0; padding: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); background: var(--surface-card); font-family: inherit; font-size: var(--t-body); font-weight: 400; line-height: 1.3; }
.bpl-prep .bpl-table-input[type=number] { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bpl-prep .bpl-table-note { display: block; height: var(--control-height-touch); padding-top: var(--s-1); padding-bottom: var(--s-1); line-height: 1.2; resize: vertical; }
.bpl-prep .bpl-table-input::placeholder, .bpl-prep .bpl-table-note::placeholder { color: var(--muted); opacity: 1; font-weight: 400; }
.bpl-prep .bpl-items-table [data-bpl-edit] { font-size: var(--t-sub); }
.bpl-prep .bpl-items-table [data-bpl-edit][aria-expanded=true] { background: var(--wash); border-color: var(--navy); }
.bpl-prep .bpl-items-table .bpl-muted { font-size: var(--t-sub); }
.bpl-prep .bpl-items-table .bpl-rate-basis, .bpl-prep .bpl-items-table [id^="bplQuantityResult-"]:not([hidden]) { display: block; margin-top: var(--s-1); line-height: 1.4; font-variant-numeric: tabular-nums; }
.bpl-prep .bpl-items-table .bpl-rule-options > td { padding: var(--s-3); background: var(--wash); }
.bpl-prep .bpl-rule-options .bpl-editor { margin: 0; padding: 0; background: transparent; }
.bpl-prep .bpl-rule-options .bpl-grid { display: inline-flex; width: min(400px, 100%); flex-wrap: wrap; align-items: end; gap: var(--s-3); vertical-align: bottom; }
.bpl-prep .bpl-rule-options .bpl-field { flex: 0 1 180px; margin: 0; }
.bpl-prep .bpl-rule-options [id^="bplRounding-"] { flex: 0 1 180px; min-width: 0; }
.bpl-prep .bpl-rule-options [data-bpl-remove] { margin-top: var(--s-2); }
.bpl-prep .bpl-rule-options .bpl-actions { margin: var(--s-2) 0 0; }
.bpl-prep .bpl-rule-options .bpl-actions .btn { flex: 0 1 auto; }
@media (min-width: 900px) {
  .bpl-shell:has(.bpl-prep) > .pgh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-5); }
  .bpl-shell:has(.bpl-prep) > .pgh .pgh-top { grid-column: auto; }
  .bpl-shell:has(.bpl-prep) > .pgh .pgh-tabs { margin: 0; }
}
@media (min-width: 1100px) {
  .bpl-prep .bpl-workspace { grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-5); }
  .bpl-prep .bpl-workspace--simple { grid-template-columns: minmax(0, 1fr) 250px; }
  .bpl-prep .bpl-section-nav { grid-template-columns: 1fr; padding-top: var(--s-2); }
  .bpl-prep .bpl-section-link { flex-direction: row; justify-content: flex-start; align-items: center; gap: var(--s-2); padding: var(--s-3); font-size: var(--t-body); text-align: left; }
  .bpl-prep .bpl-section-link--current { box-shadow: inset 3px 0 var(--gold); }
  .bpl-prep .bpl-section-count { margin-left: auto; }
  .bpl-prep .bpl-reference { grid-column: 2; }
}
@media (min-width: 1500px) {
  .bpl-prep .bpl-workspace { grid-template-columns: 160px minmax(0, 1fr) 250px; }
  .bpl-prep .bpl-workspace--simple { grid-template-columns: minmax(0, 1fr) 280px; }
  .bpl-prep .bpl-reference { grid-column: auto; }
}
@media (max-width: 640px) {
  .bpl-prep .bpl-prep-header { grid-template-columns: 1fr; gap: var(--s-3); margin-bottom: var(--s-4); }
  .bpl-prep .bpl-prep-title h2 { font-size: var(--t-section); }
  .bpl-prep .bpl-prep-header > .bpl-actions { justify-content: space-between; gap: var(--s-2); }
  .bpl-prep .bpl-step { padding: var(--s-2); font-size: var(--t-sub); gap: var(--s-1); }
  .bpl-prep .bpl-step-number { width: 22px; height: 22px; }
  .bpl-prep .bpl-main { padding: var(--s-4); }
  .bpl-prep .bpl-main > h2 { font-size: var(--t-section); }
  .bpl-prep .bpl-main > .bpl-muted { margin-bottom: var(--s-1); }
  .bpl-prep .bpl-section-guidance { margin-bottom: var(--s-1); }
  .bpl-prep .bpl-section-nav { grid-template-columns: 1.15fr 1fr .6fr .9fr 1.05fr; }
  .bpl-prep .bpl-section-link { padding: var(--s-2) 0; overflow-wrap: normal; }
  .bpl-prep .bpl-section-count { line-height: 1; }
  .bpl-prep .bpl-rule { display: block; }
  .bpl-prep .bpl-rule-main { grid-template-columns: 1fr; gap: var(--s-2); }
  .bpl-prep .bpl-quick-quantity { justify-content: flex-start; max-width: 280px; }
  .bpl-prep .bpl-quick-quantity .bpl-field { flex: 1 1 96px; }
  .bpl-prep .bpl-quick-quantity .bpl-field:first-child { flex: 0 1 88px; }
  .bpl-prep .bpl-item-details .bpl-grid { grid-template-columns: 1fr; }
  .bpl-prep .bpl-continue { flex-direction: column-reverse; align-items: stretch; gap: var(--s-2); }
  .bpl-prep .bpl-continue .btn, .bpl-prep .bpl-continue .btn-primary { width: 100%; margin-left: 0; }
  .bpl-prep .bpl-reference .bpl-actions { flex-direction: column; }
  .bpl-prep .bpl-lead-results { grid-template-columns: 1fr; }
  .bpl-prep .bpl-items-table, .bpl-prep .bpl-items-table tbody { display: block; width: 100%; }
  .bpl-prep .bpl-items-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bpl-prep .bpl-items-table .bpl-rule { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3) var(--s-2); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
  .bpl-prep .bpl-items-table td { display: block; width: auto; padding: 0; border: 0; }
  .bpl-prep .bpl-items-table .bpl-rule > td:first-child, .bpl-prep .bpl-items-table .bpl-rule > td:nth-child(4), .bpl-prep .bpl-items-table .bpl-rule > td:last-child { grid-column: 1 / -1; }
  .bpl-prep .bpl-items-table .bpl-rule > td[data-label]::before { content: attr(data-label); display: block; margin-bottom: var(--s-1); color: var(--muted); font-size: var(--t-sub); font-weight: 600; line-height: 1.4; }
  .bpl-prep .bpl-items-table .bpl-rule > td:first-child::before, .bpl-prep .bpl-items-table .bpl-rule > td:last-child::before { display: none; }
  .bpl-prep .bpl-items-table .bpl-rule:hover > td { background: transparent; }
  .bpl-prep .bpl-items-table .bpl-rule-options { display: block; }
  .bpl-prep .bpl-items-table .bpl-rule-options > td { padding: var(--s-3); border-radius: var(--r-s); }
  .bpl-prep .bpl-rule-options .bpl-field { flex-basis: 100%; }
  .bpl-prep .bpl-rule-options [id^="bplRounding-"] { flex-basis: 100%; }
}
@media print {
  .bpl button, .bpl-fieldset, .bpl summary, .bpl-shell .pgh, .bpl-add, .bpl-source { display: none !important; }
  .bpl .bpl-release { display: block; }
  .bpl-pullitem { break-inside: avoid; }
}
