.bf-shell {
  --bf-ink: var(--ink, #1d201d);
  --bf-sub: #535750;
  --bf-line: #d3d3ca;
  --bf-accent: #ae3b18;
  --bf-muted: #eeeee8;
  --bf-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  width: min(1190px, calc(100% - 76px));
  margin: 0 auto;
  padding: 30px 0 clamp(66px, 8vw, 128px);
  color: var(--bf-ink);
}
.bf-shell *, .bf-shell *::before, .bf-shell *::after { box-sizing: border-box; }
.bf-shell [hidden] { display: none !important; }
.bf-shell :is(button,input,select,textarea) { font: inherit; }
.bf-shell :is(button,a,input,textarea,select,summary):focus-visible,
.bf-feedback:focus-visible { outline: 3px solid #ad4524; outline-offset: 3px; }
.bf-shell :is(button,select,summary,input[type=radio],input[type=checkbox]) { cursor: pointer; }
.bf-shell button:disabled { cursor: wait; opacity: .68; }
.bf-crumb { display: flex; gap: 10px; align-items: center; position: static; color: var(--bf-sub); font-size: .89rem; }
.bf-crumb a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bf-crumb span { color: #9c9c91; }
.bf-intro { max-width: 860px; padding: clamp(32px,5vw,68px) 0 clamp(28px,4vw,48px); }
.bf-intro h1 { color: var(--bf-ink); font-size: clamp(2.8rem,6.2vw,5.4rem); font-weight: 600; letter-spacing: -.075em; line-height: 1; margin: 0 0 20px; }
.bf-intro h1 span { color: var(--bf-accent); }
.bf-intro p { max-width: 660px; color: var(--bf-sub); font-size: clamp(1rem,1.3vw,1.17rem); line-height: 1.6; margin: 0; }
.bf-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(245px,300px); align-items: start; gap: clamp(22px,3.5vw,54px); }
#bf-form { min-width: 0; margin: 0; }
.bf-progress { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; margin: 0 0 21px; padding: 0; gap: 5px; }
.bf-progress li { min-width: 0; color: var(--bf-sub); font-size: .9rem; line-height: 1.35; }
.bf-progress i { width: 100%; height: 3px; display: block; margin-bottom: 8px; background: var(--bf-line); }
.bf-progress [aria-current] { color: var(--bf-accent); font-weight: 700; }
.bf-progress [aria-current] i { background: var(--bf-accent); }
.bf-progress .bf-done i { background: #545d53; }
.bf-panel { border: 1px solid var(--bf-line); background: #fff; padding: clamp(20px,3.4vw,45px); }
.bf-stephead { margin: 0 0 28px; }
.bf-stepno { font-family: var(--bf-mono); font-size: .77rem; font-weight: 600; color: var(--bf-accent); }
.bf-stephead h2, .bf-receipt h2 { scroll-margin-top: 100px; font-size: clamp(1.48rem,2.5vw,2.12rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 600; margin: 8px 0 9px; }
.bf-stephead h2:focus, .bf-receipt h2:focus { outline: 0; }
.bf-stephead p { font-size: 1rem; color: var(--bf-sub); line-height: 1.55; margin: 0; }
.bf-field { margin: 19px 0 0; min-width: 0; border: 0; padding: 0; }
.bf-field .bf-label { display: block; font-size: 1rem; line-height: 1.45; font-weight: 650; margin: 0 0 6px; padding: 0; }
.bf-label > span, .bf-check > span > span { color: var(--bf-accent); }
.bf-hint { color: var(--bf-sub); margin: 0 0 8px; font-size: .91rem; line-height: 1.5; }
.bf-hint a { color: var(--bf-accent); text-decoration: underline; text-underline-offset: 2px; }
.bf-field + .bf-hint, .bf-step > .bf-hint { margin-top: 16px; }
.bf-field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {
  width: 100%; min-width: 0; padding: 11px 13px; min-height: 47px; border-radius: 3px;
  border: 1px solid #a8aba2; color: var(--bf-ink); background-color: #fdfdfb; line-height: 1.4; font-size: 1rem;
}
.bf-field :is(input,textarea)::placeholder { opacity: 1; color: #696c65; }
.bf-field textarea { display: block; resize: vertical; }
.bf-field select {
  appearance: none; padding-right: 35px;
  background-image: linear-gradient(45deg,transparent 50%,#535750 50%),linear-gradient(135deg,#535750 50%,transparent 50%);
  background-position: calc(100% - 16px) 51%,calc(100% - 11px) 51%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.bf-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.bf-choice,.bf-check { cursor: pointer; font-size: 1rem; line-height: 1.45; display: flex; align-items: flex-start; gap: 10px; }
.bf-choice { padding: 13px 12px; border: 1px solid var(--bf-line); border-radius: 3px; background: #fdfdfb; transition: border-color .14s,background-color .14s; }
.bf-choice:hover { border-color: #94968c; }
.bf-choice:has(input:checked) { background: #fff2e9; border-color: var(--bf-accent); box-shadow: inset 0 0 0 1px var(--bf-accent); }
.bf-choice strong { font-size: .99rem; line-height: 1.4; font-weight: 620; }
.bf-choice small { display: block; color: var(--bf-sub); margin-top: 2px; line-height: 1.42; font-size: .89rem; }
.bf-choice .bf-choice-price { margin-top: 7px; color: var(--bf-accent); font-size: .85rem; font-weight: 620; }
.bf-choice input,.bf-check input { margin: 3px 0 0; flex: none; width: 17px; height: 17px; accent-color: var(--bf-accent); }
.bf-sizes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.bf-sizes .bf-field { margin: 0; }
.bf-extra { border-top: 1px solid var(--bf-line); margin-top: 25px; padding-top: 13px; }
.bf-extra summary { font-size: .96rem; font-weight: 600; line-height: 1.5; }
.bf-tip { border-left: 3px solid #bf431e; padding: 10px 14px; margin: 12px 0; background: #fff2e9; color: #713a24; font-size: .95rem; }
.bf-upload { border: 1px dashed #9c9d91; border-radius: 3px; padding: 15px 12px; background: #fafaf7; }
.bf-upload input { max-width: 100%; width: 100%; color: var(--bf-sub); font-size: .9rem; }
.bf-upload input::file-selector-button { cursor: pointer; margin-right: 10px; border: 1px solid #8e9186; border-radius: 3px; background: #fff; color: var(--bf-ink); font-weight: 650; padding: 8px 12px; }
.bf-files { list-style: none; padding: 0; margin: 8px 0 0; }
.bf-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bf-line); }
.bf-files li span { overflow-wrap: anywhere; }
.bf-mini { color: var(--bf-accent); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; font-size: .9rem; flex: none; }
.bf-summary { border-top: 1px solid var(--bf-line); padding: 12px 0; }
.bf-summary-head { display: flex; justify-content: space-between; align-items: center; }
.bf-summary h3 { font-size: 1.1rem; margin: 0; letter-spacing: -.02em; }
.bf-summary dl { margin: .3rem 0 0; font-size: .95rem; }
.bf-summary dl div { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 12px; padding: 5px 0; }
.bf-summary dt { color: var(--bf-sub); }
.bf-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.bf-error, .bf-feedback { margin: 6px 0; font-size: .94rem; color: #983213; line-height: 1.5; }
.bf-error:empty,.bf-feedback:empty { display: none; }
.bf-feedback { margin-top: 18px; }
.bf-field [aria-invalid=true] { border-color: #ad311e !important; }
.bf-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--bf-line); margin-top: 25px; padding-top: 18px; }
.bf-primary,.bf-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; font-size: 1rem; font-weight: 620; border-radius: 3px; text-decoration: none; }
.bf-primary { color: white; background: var(--bf-accent); border: 1px solid var(--bf-accent); }
.bf-primary:hover { background: #902e11; color: white; }
.bf-secondary { border: 1px solid #a1a398; color: var(--bf-ink); background: transparent; }
.bf-secondary:hover { background: var(--bf-muted); }
#bf-next { margin-left: auto; }
.bf-aside { border: 1px solid var(--bf-line); background: #f2f2ec; position: sticky; top: 24px; }
.bf-cost { padding: 23px 21px; background: #222723; color: #fff; }
.bf-cost-label { font-size: .9rem; color: #d8dbd2; }
#bf-cost-number { margin: 10px 0; font-size: clamp(1.45rem,2.2vw,1.85rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.14; }
#bf-cost-note { margin: 0; color: #d8dbd2; font-size: .92rem; line-height: 1.5; }
.bf-aside h2 { margin: 22px 20px 10px; font-size: 1.13rem; font-weight: 650; letter-spacing: -.025em; }
.bf-aside ol { margin: 0 19px 20px 42px; padding: 0; color: var(--bf-sub); line-height: 1.55; font-size: .95rem; }
.bf-aside li { padding-left: 2px; }
.bf-aside li::marker { font-weight: 650; color: var(--bf-ink); }
.bf-aside li+li { margin-top: 9px; }
.bf-aside-foot { border-top: 1px solid var(--bf-line); margin: 0; padding: 15px 20px; color: var(--bf-sub); font-size: .9rem; line-height: 1.5; }
.bf-receipt { max-width: 740px; margin: 36px 0; padding: clamp(24px,4vw,52px); background: white; border: 1px solid var(--bf-line); }
.bf-receipt-mark { display: grid; align-items: center; justify-content: center; background: #e3eddf; color: #2d5135; border-radius: 50%; width: 45px; height: 45px; margin-bottom: 18px; font-size: 1.55rem; }
.bf-receipt p { color: var(--bf-sub); line-height: 1.6; }
.bf-receipt .bf-id { font-family: var(--bf-mono); font-weight: 650; color: var(--bf-ink); font-size: 1.25rem; overflow-wrap:anywhere; }
.bf-receipt a { margin-top: 8px; }
@media (max-width: 850px) {
  .bf-shell { width: min(100% - 38px,760px); }
  .bf-layout { grid-template-columns: minmax(0,1fr); }
  .bf-aside { position: static; }
}
@media (max-width: 530px) {
  .bf-shell { width: calc(100% - 28px); padding-top: 20px; }
  .bf-intro { padding-top: 30px; }
  .bf-progress { gap: 4px; }
  .bf-progress li { font-size: .78rem; }
  .bf-choices { grid-template-columns: 1fr; }
  .bf-choice { padding: 10px; }
  .bf-panel { padding: 20px 15px; }
  .bf-summary dl div { grid-template-columns: 1fr; gap: 0; }
  .bf-sizes { gap: 6px; }
  .bf-sizes input { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { .bf-choice { transition: none; } }

