/* BF_SHOWCASE_REAL_TEMPLATES_V1: scoped to actual preview stage only. */
.bfsc-rp-root{--rp-border:#354961}
.bfsc-rp-root .bfsc-rp-frame-stage{width:100%;height:min(67vh,540px);min-height:370px;border-radius:13px;background:#e6eaf0;overflow:hidden;position:relative;border:1px solid #384859}
.bfsc-rp-root .bfsc-rp-frame-page{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}
.bfsc-rp-root .bfsc-rp-frame-page[hidden]{display:none!important}
.bfsc-rp-root .bfsc-rp-sheet{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;border-radius:3px;box-shadow:0 8px 25px #0003}
.bfsc-rp-root iframe{display:block;position:absolute;top:0;left:0;width:850px;height:1180px;border:0;background:#fff;transform-origin:0 0;pointer-events:none}
.bfsc-rp-root .bfsc-rp-nav{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:13px;padding:0 3px}
.bfsc-rp-root .bfsc-rp-nav-buttons{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:800;color:#eff6ff}
.bfsc-rp-root .bfsc-rp-nav-buttons button{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#203249;border:1px solid #445c77;color:#e8f6ff;font-size:20px;cursor:pointer;transition:background .15s}
.bfsc-rp-root .bfsc-rp-nav-buttons button:hover{background:#325273}
.bfsc-rp-root .bfsc-rp-nav-buttons button:disabled{opacity:.35;cursor:not-allowed}
.bfsc-rp-root .bfsc-rp-nav-buttons button:focus-visible,.bfsc-rp-root .bfsc-rp-library-cta:focus-visible{outline:3px solid #b4f9db;outline-offset:2px}
.bfsc-rp-root .bfsc-rp-library-cta{color:#b4f9db;font-weight:800;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.bfsc-rp-root .bfsc-rp-unavailable{border:1px dashed #49617d;background:#101a2d;border-radius:12px;padding:35px 25px;margin-top:6px}
.bfsc-rp-root .bfsc-rp-unavailable strong{font-size:15px;color:#f5f8ff}
.bfsc-rp-root .bfsc-rp-unavailable p{font-size:13px;color:#a8bad1}
.bfsc-rp-root .bfsc-rp-unavailable a{display:inline-flex;background:#243c59;color:#e3f7ff;padding:11px 13px;border-radius:10px;font-size:13px;font-weight:800}
/* Actual HTML template pages are on the leaves of this two-page flipbook. */
.bfsc-rp-root .bfsc-rp-book-area{position:relative;height:min(69vh,535px);min-height:370px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at center,#34435a 0,#141e30 58%,#101829 100%);border-radius:15px;border:1px solid #31415c}
.bfsc-rp-root .bfsc-rp-book{width:min(57%,295px);height:calc(100% - 42px);position:relative;perspective:1600px;transform:translateX(14%);filter:drop-shadow(0 15px 12px #0006)}
.bfsc-rp-root .bfsc-rp-book-under,.bfsc-rp-root .bfsc-rp-turn{position:absolute;inset:0;box-shadow:0 2px 0 #cad1db,0 4px 0 #818a97,0 11px 21px #0005}
.bfsc-rp-root .bfsc-rp-turn{transform-origin:0 50%;transform-style:preserve-3d;z-index:3;transition:transform .75s cubic-bezier(.28,.68,.1,1);will-change:transform}
.bfsc-rp-root .bfsc-rp-book.is-open .bfsc-rp-turn{transform:rotateY(-170deg)}
.bfsc-rp-root .bfsc-rp-book-cover{backface-visibility:hidden;position:absolute;inset:0;z-index:2}
.bfsc-rp-root .bfsc-rp-book-back{position:absolute;inset:0;background:linear-gradient(110deg,#f4f6f7,#fefefe 70%);transform:rotateY(180deg);backface-visibility:hidden;border-radius:3px}
.bfsc-rp-root .bfsc-rp-book-spine{position:absolute;left:-8px;top:0;bottom:0;width:12px;background:linear-gradient(to right,#142438,#728297);z-index:5;border-radius:4px}
.bfsc-rp-root .bfsc-rp-disclosure{color:#8ba5bf;font-size:11px;margin:11px 2px 0;line-height:1.5}
@media(max-width:550px){.bfsc-rp-root .bfsc-rp-frame-stage{height:400px;min-height:330px}.bfsc-rp-root .bfsc-rp-book-area{height:420px;min-height:350px}.bfsc-rp-root .bfsc-rp-book{width:min(52%,195px);height:calc(100% - 34px);transform:translateX(23%)}.bfsc-rp-root .bfsc-rp-nav{gap:9px}}
@media(prefers-reduced-motion:reduce){.bfsc-rp-root .bfsc-rp-turn{transition:none!important}}
