/* The price builder: "Want to see the costs in another currency?" (S43, approved by the Director
   2026-10-21). Loaded by partials/price-builder.php, so only the pages that show the builder
   load it. Colours and fonts come from base.css and studio.css. */
.pb-open { display: flex; justify-content: center; margin: 4px auto 22px; }
.pb-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--font-sans); color: var(--teal); background: var(--white); border: 1.5px solid var(--teal); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.pb-btn:hover { background: var(--teal); color: var(--white); }
.pb-btn:focus-visible, .pb button:focus-visible, .pb input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pb-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.pb { margin: auto; border: 0; padding: 0; border-radius: 16px; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.pb::backdrop { background: rgba(20,30,28,.55); }
.pb-box { position: relative; padding: 24px 24px 20px; font-family: var(--font-sans); }
.pb-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.pb .pb-h { font: 600 24px/1.2 'Fraunces', serif; margin: 0 32px 4px 0; color: var(--teal); max-width: none; text-wrap: balance; }
.pb-lead { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.pb-seg { display: flex; border: 1.5px solid var(--teal); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.pb-seg button { flex: 1; font: 600 14px var(--font-sans); border: 0; background: var(--white); color: var(--teal); padding: 8px 6px; cursor: pointer; }
.pb-seg button[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.pb-seg button:disabled { cursor: default; opacity: .5; }
.pb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pb .pb-list li::before { content: none; }
.pb .pb-list li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pb-list input { width: 19px; height: 19px; accent-color: var(--teal); flex: none; margin: 0; }
.pb-nm { flex: 1; min-width: 0; }
.pb-nm label { cursor: pointer; }
.pb-nm small { display: block; color: var(--muted); font-size: 13px; }
.pb-nm .pb-mo { color: var(--teal); font-weight: 600; }
.pb-pr { flex: none; text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb-pr small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.pb-lb { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pb-step { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; margin-top: 4px; }
.pb-step b { padding: 0 8px; font-weight: 600; min-width: 1.5em; text-align: center; }
.pb-step button { border: 0; background: none; color: var(--teal); font: 600 16px var(--font-sans); padding: 2px 10px; cursor: pointer; }
.pb-tot { background: var(--canvas); border: 1.5px solid var(--teal); border-radius: 12px; padding: 14px 16px; margin: 16px 0 10px; display: grid; gap: 8px; }
.pb-tot > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.pb-k { font-weight: 600; }
.pb-tot > div[hidden] { display: none; }
.pb-empty { margin: 0; color: var(--muted); font-size: 14px; }
.mca-plan .pb-open { justify-content: flex-start; margin: 14px 0 0; }
.pb-v { text-align: right; }
.pb-v strong { font: 600 22px 'Fraunces', serif; color: var(--teal); }
.pb-v small { display: block; color: var(--muted); font-size: 13px; }
.pb-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.pb-note a { color: var(--accent); font-weight: 600; }
.pb.pb-norate .pb-c, .pb.pb-norate .pb-pr small { display: none; }
@media (max-width: 480px) { .pb-box { padding: 20px 16px 16px; } .pb .pb-h { font-size: 21px; } .pb-btn { font-size: 13.5px; padding: 9px 13px; gap: 6px; text-align: center; } }
