.bkfr-scope{--bkfr-brand:#c52638;--bkfr-dark:#930006;--bkfr-acc:#ffcc00;--bkfr-ink:#1a1a1a;--bkfr-mute:#5c6066;--bkfr-line:#e6e6e6;--bkfr-soft:#fff7f0}
.bkfr{margin:16px 0 26px;padding:20px;border:1px solid var(--bkfr-line);border-top:4px solid var(--bkfr-brand);background:var(--bkfr-soft)}
.bkfr-lead{margin:0 0 16px;font-size:15px;color:var(--bkfr-mute)}
.bkfr-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:22px;align-items:start}
.bkfr,.bkfr-grid>*,.bkfr-row>*{min-width:0}
.bkfr-form{grid-column:1;grid-row:1}
.bkfr-side{grid-column:2;grid-row:1;position:-webkit-sticky;position:sticky;top:calc(var(--bkfr-top,0px) + 12px)}
/* the theme's outer wrapper clips with overflow:hidden, which switches «sticky» off; clip cuts the same but keeps sticky (this file loads only on the tool's page) */
@supports (overflow:clip){body .tie-container{overflow:clip}}
.bkfr-f{border:0;margin:0 0 14px;padding:0;min-width:0}
.bkfr-lab{display:block;margin:0 0 6px;padding:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bkfr-dark)}
.bkfr-lab-gap{margin-top:12px}
.bkfr-in,.bkfr-ta{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfcfcf;border-radius:6px;background:#fff;color:var(--bkfr-ink);font:16px/1.4 Inter,sans-serif!important}
.bkfr-in[aria-invalid="true"]{border-color:#c0392b;box-shadow:0 0 0 2px rgba(192,57,43,.15)}
.bkfr-ta{min-height:76px;resize:vertical}
.bkfr-row{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:10px}
.bkfr-err{margin:-6px 0 12px;padding:8px 10px;border-radius:6px;background:#fdecea;color:#8e1b10;font-size:14px}
.bkfr-err[hidden]{display:none}
.bkfr-caprow{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.bkfr-chips{display:flex;flex-wrap:wrap;gap:8px}
.bkfr-chip{position:relative;margin:0}
.bkfr-chip input{position:absolute;opacity:0;pointer-events:none}
.bkfr-chip span{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border:1px solid #d9c9c9;border-radius:6px;background:#fff;color:var(--bkfr-ink);font-size:14px;font-weight:600;cursor:pointer}
.bkfr-chip input:checked+span{background:var(--bkfr-brand);border-color:var(--bkfr-brand);color:#fff}
.bkfr-chip input:focus-visible+span{outline:3px solid var(--bkfr-acc);outline-offset:2px}
/* colour swatches */
.bkfr-colors .bkfr-chip span{padding:6px 12px 6px 8px}
.bkfr-colors .bkfr-chip span i{display:inline-block;width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.bkfr-colors .bkfr-chip input:checked+span{background:#fff;border-color:var(--bkfr-ink);color:var(--bkfr-ink);box-shadow:inset 0 0 0 1px var(--bkfr-ink)}
.bkfr-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bkfr-scope .bkfr-file label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:8px 16px;border-radius:6px;background:var(--bkfr-ink);color:#fff!important;font-weight:700;font-size:14px;cursor:pointer}
.bkfr-file input{position:absolute;opacity:0;width:1px;height:1px}
.bkfr-file input:focus-visible+label{outline:3px solid var(--bkfr-acc);outline-offset:2px}
.bkfr-hint{margin:6px 0 0;font-size:13px;color:var(--bkfr-mute)}
.bkfr-scope input.bkfr-range{display:block;width:100%;height:32px;min-height:32px;margin:0;padding:0!important;border:0!important;background:none!important;box-shadow:none;accent-color:var(--bkfr-brand)}
.bkfr-scope .bkfr-link{border:0;background:none;padding:0;color:var(--bkfr-dark)!important;font:600 14px Inter,sans-serif;cursor:pointer;text-decoration:underline}
.bkfr-prev{position:relative;border-radius:8px;overflow:hidden;background:#222;box-shadow:0 10px 30px rgba(0,0,0,.18);touch-action:none}
.bkfr-prev canvas{display:block;width:100%;height:auto;cursor:grab}
.bkfr-acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.bkfr-scope .bkfr-btn{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 16px;border:0;border-radius:6px;background:var(--bkfr-ink);color:#fff!important;font:700 15px/1.2 Inter,sans-serif;cursor:pointer}
.bkfr-scope .bkfr-btn.is-main{background:var(--bkfr-brand)}
.bkfr-scope .bkfr-btn.is-main:hover{background:var(--bkfr-dark)}
.bkfr-scope .bkfr-btn[hidden]{display:none}
.bkfr-status{min-height:1.4em;margin:8px 0 0;font-size:13px;color:var(--bkfr-dark)}
.bkfr-note{margin:10px 0 0;font-size:13px;color:var(--bkfr-mute)}

/* phones: the card stays on screen (under the site header) while the zoom, frames and name are changed */
.bkfr-sticky{display:none}
@media (max-width:760px){
  .bkfr{padding:16px 14px}
  .bkfr-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .bkfr-form,.bkfr-side{grid-column:1;grid-row:auto}
  .bkfr-side{position:-webkit-sticky;position:sticky;top:var(--bkfr-top,0px);z-index:6;margin:0 -14px;padding:8px 14px 10px;background:var(--bkfr-soft);box-shadow:0 8px 14px -10px rgba(0,0,0,.35)}
  .bkfr-prev{width:fit-content;max-width:100%;margin:0 auto;border-radius:6px}
  .bkfr-prev canvas{width:auto;max-width:100%;height:31vh;max-height:280px}
  .bkfr-acts{margin-top:8px}
  .bkfr-scope .bkfr-btn{min-height:44px}
  .bkfr-status:empty{display:none}
  .bkfr-note{display:none}
  .bkfr-scope .bkfr-sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:10px;
    min-height:56px;padding:8px 12px calc(8px + env(safe-area-inset-bottom)) 16px;background:#1a1a1a;color:#fff;font:600 15px/1.3 Inter,sans-serif;box-shadow:0 -6px 20px rgba(0,0,0,.22)}
  .bkfr-scope .bkfr-sticky[hidden]{display:none}
  .bkfr-scope .bkfr-sticky a{color:#fff!important;text-decoration:none!important}
  .bkfr-scope .bkfr-sticky button{min-height:40px;border:0;border-radius:999px;padding:6px 18px;background:var(--bkfr-brand);color:#fff!important;font-weight:700;font-size:15px}
  html.bkfr-bar-on body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  html.bkfr-bar-on .trp-floating-switcher.trp-switcher-position-bottom{bottom:calc(64px + env(safe-area-inset-bottom))!important}
  html.bkfr-bar-on a.go-to-top-button.show-top-button{bottom:calc(122px + env(safe-area-inset-bottom))!important}
}

/* site articles: an even grid of cards, no theme bullets or indents */
.bkfr-scope ul.arts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px!important;padding:0!important;list-style:none!important}
.bkfr-scope ul.arts>li{display:flex;margin:0!important;padding:0!important;list-style:none!important;min-width:0}
.bkfr-scope ul.arts>li::before,.bkfr-scope ul.arts>li::marker{content:none;display:none}
.bkfr-scope ul.arts a{display:flex;align-items:center;width:100%;min-height:64px;padding:12px 14px;border:1px solid var(--bkfr-line);border-left:3px solid var(--bkfr-acc);background:#fff;color:var(--bkfr-ink)!important;text-decoration:none!important;font-weight:600;font-size:14px;line-height:1.4}
.bkfr-scope ul.arts a:hover{color:var(--bkfr-brand)!important}
@media (max-width:600px){.bkfr-scope ul.arts{grid-template-columns:minmax(0,1fr);gap:8px}.bkfr-scope ul.arts a{min-height:52px}}

.bkfr-faq{margin:0 0 10px;border:1px solid rgba(0,0,0,.12);border-radius:8px;background:#fff}
.bkfr-faq summary{position:relative;padding:13px 46px 13px 16px;font-weight:700;cursor:pointer;list-style:none}
.bkfr-faq summary::-webkit-details-marker{display:none}
.bkfr-faq summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:22px}
.bkfr-faq[open] summary::after{content:"\2212"}
.bkfr-faq>div{padding:0 16px 12px}
