/* Blockwise Snippet Library */
.bwl{--ink:var(--ink-900,#0F1116);--ink-2:#3d4350;--mute:#6b7280;--line:#e3e6df;--paper:#F3F5EF;--acc:var(--cobalt-600,#2F5BFF);--acc-h:var(--cobalt-500,#4C72FF);--card:#fff;--r:18px;--mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink);font-family:inherit;font-size:16px;line-height:1.6}
.bwl *,.bwl *::before,.bwl *::after{box-sizing:border-box}
.bwl[data-bwl]{width:min(1180px,calc(100vw - 40px));margin-left:calc(50% - min(590px,calc(50vw - 20px)))}
.bwl a.bwl-card-link,.bwl-stage a{box-shadow:none}
.bwl-stage .sqs-block-button-element{color:#fff!important;text-decoration:none!important}
.bwl-stage .bwl-hdr a{text-decoration:none!important}
.bwl-code .sd-code__copy{display:none!important}
.bwl-code .sd-code{margin:0;padding:0;background:none;border:0;box-shadow:none}

.bwl-eyebrow{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--acc)}

/* Top: intro + search bar */
.bwl-top{display:grid;gap:18px;margin:0 0 26px}
.bwl-lead{font-size:clamp(17px,1.9vw,20px);line-height:1.55;color:var(--ink-2);margin:0;max-width:none;text-wrap:balance}
.bwl-copy:disabled{opacity:.55;cursor:wait}
.bwl-meta-line{margin:8px 0 0;font-size:14px;color:var(--mute)}
.bwl-meta-line b{color:var(--ink);font-weight:650}
.bwl-meta-line span{margin:0 6px;opacity:.6}
.bwl-bar{display:flex;align-items:stretch;height:56px;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px rgba(15,17,22,.04),0 14px 32px -24px rgba(11,20,40,.25);transition:border-color .2s,box-shadow .2s}
.bwl-bar:focus-within{border-color:rgba(47,91,255,.45);box-shadow:0 0 0 4px rgba(47,91,255,.1)}
.bwl-bar .bwl-search{flex:1;min-width:0;height:auto;display:flex;align-items:center;gap:10px;padding:0 10px 0 18px;border:0;border-radius:0;background:none;color:var(--mute)}
.bwl-bar .bwl-search:focus-within{background:none;border:0;box-shadow:none}
.bwl-select{position:relative;display:flex;align-items:center;border-left:1px solid var(--line);flex:none}
.bwl-select::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border:solid var(--mute);border-width:0 1.6px 1.6px 0;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.bwl-select select{appearance:none;-webkit-appearance:none;height:100%;min-width:150px;max-width:240px;padding:0 40px 0 16px!important;margin:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;font:inherit;font-size:14.5px;font-weight:500;color:var(--ink);cursor:pointer;outline:0}
.bwl-select:last-child select{border-radius:0 16px 16px 0}
.bwl-select select:focus-visible{outline:2px solid var(--acc);outline-offset:-4px;border-radius:10px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.bwl-top .bwl-status{border-top:0!important;padding:0 4px!important;min-height:22px}
@media (max-width:720px){
  .bwl-bar{display:grid;grid-template-columns:1fr 1fr;height:auto;border-radius:14px}
  .bwl-bar .bwl-search{grid-column:1/-1;height:52px;border-bottom:1px solid var(--line)}
  .bwl-select{border-left:0;height:48px}
  .bwl-select+.bwl-select{border-left:1px solid var(--line)}
  .bwl-select select{min-width:0;width:100%;max-width:none}
  .bwl-select:last-child select{border-radius:0 0 14px 0}
}
.bwl-search svg{flex:none}
.bwl-search input{flex:1;min-width:0;height:100%;border:0!important;outline:0;background:none!important;box-shadow:none!important;padding:0!important;margin:0;font:inherit;font-size:16px;color:var(--ink)}
.bwl-search input::placeholder{color:var(--mute);opacity:1}
.bwl-search input::-webkit-search-cancel-button{display:none}
.bwl-clear{flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(15,17,22,.07);color:var(--ink-2);cursor:pointer}
.bwl-clear:hover{background:rgba(15,17,22,.12);color:var(--ink)}
.bwl-clear[hidden]{display:none}
.bwl-kbd{flex:none;min-width:24px;height:24px;display:grid;place-items:center;padding:0 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:7px;background:var(--card);font:500 12px/1 var(--mono);color:var(--mute)}
.bwl-search:focus-within .bwl-kbd{display:none}
.bwl-filters{display:flex;flex-wrap:wrap;gap:6px;padding:2px 2px 0}
.bwl-filters button{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;margin:0;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink-2);font:inherit;font-size:13.5px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.bwl-filters button span{font-size:11.5px;font-weight:600;color:var(--mute);background:var(--paper);border-radius:999px;padding:3px 7px;font-variant-numeric:tabular-nums}
.bwl-filters button:hover{border-color:rgba(15,17,22,.28);color:var(--ink)}
.bwl-filters button:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.bwl-filters button.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
.bwl-filters button.is-active span{background:rgba(255,255,255,.16);color:#fff}
.bwl-status{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;padding:10px 6px 0;border-top:1px solid var(--line);font-size:13.5px;color:var(--mute)}
.bwl-count b{color:var(--ink);font-weight:650}
.bwl-reset{border:0;background:none;padding:4px 0;font:inherit;font-size:13.5px;font-weight:600;color:var(--acc);cursor:pointer}
.bwl-reset:hover{text-decoration:underline;text-underline-offset:3px}
.bwl-reset[hidden]{display:none}
.bwl-empty{text-align:center;color:var(--mute);padding:48px 16px;border:1px dashed var(--line);border-radius:var(--r)}
.bwl-empty[hidden]{display:none}
.bwl-empty p{margin:0 0 6px}
@media (max-width:720px){
  .bwl-top{gap:18px;margin-bottom:20px}
  .bwl-toolbar{padding:8px;border-radius:18px}
  .bwl-search{height:48px}
  .bwl-kbd{display:none}
  .bwl-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -8px;padding:2px 8px;scroll-padding:8px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent)}
  .bwl-filters::-webkit-scrollbar{display:none}
  .sd-qtab{display:none}
}
.bwl-guide .bwl-byline{font-size:13px;color:var(--mute);margin:0 0 8px}

/* Grid and cards */
.bwl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:22px}
.bwl-card{position:relative;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s;content-visibility:auto;contain-intrinsic-size:auto 400px}
.bwl-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -18px rgba(10,15,28,.25);border-color:#c9d3f5}
.bwl-card[hidden]{display:none}
.bwl-card-link{position:absolute;inset:0;z-index:1;border-radius:var(--r)}
.bwl-card-link:focus-visible{outline:3px solid var(--acc);outline-offset:-3px}
.bwl-card-body{padding:18px 20px 6px;flex:1}
.bwl-card h3{margin:8px 0 4px;font-size:18px;line-height:1.3;font-weight:650;color:var(--ink)}
.bwl-card p{margin:0;font-size:14.5px;color:var(--mute)}
.bwl-card-foot{display:flex;align-items:center;justify-content:flex-start;padding:14px 20px 18px}
.bwl-more{font-size:14px;font-weight:600;color:var(--acc)}
.bwl-more span{display:inline-block;transition:transform .2s}
.bwl-card:hover .bwl-more span{transform:translateX(4px)}
.bwl-meta{display:flex;gap:6px;flex-wrap:wrap}
.bwl-meta span{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--paper);color:var(--ink-2);border:1px solid var(--line)}
.bwl-meta .bwl-free{background:#edf7ef;border-color:#cfe8d5;color:#1f6b35}
.bwl-meta .bwl-pro{background:#eef2ff;border-color:#d3dcff;color:#2F5BFF;font-weight:600}
.bwl-lock{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;margin:0 0 16px;border:1px solid #d3dcff;border-radius:14px;background:#f5f7ff}
.bwl-lock b{display:block;font-size:16px;margin-bottom:2px;color:#0F1116}.bwl-lock p{margin:0;color:#555b66;font-size:14px}
.bwl-lock .bwl-lock-cta{display:flex;gap:8px;flex-wrap:wrap}
.bwl-lock a{display:inline-flex;align-items:center;padding:10px 16px;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none;background:#2F5BFF;color:#fff}
.bwl-lock a.bwl-lock-alt{background:transparent;color:#2F5BFF;border:1px solid #c9d4ff}
.bwl-codes.is-locked .bwl-code{display:none}
/* Pro snippet pages: no code boxes until the membership check answers. */
.bwl-codes[data-bwl-pro]:not(.is-open):not(.is-locked) .bwl-code{display:none}
.bwl-codes[data-bwl-pro]:not(.is-open):not(.is-locked)::before{content:"Checking your membership...";display:block;padding:22px;border-radius:14px;background:#f5f7ff;border:1px solid #d3dcff;color:#555b66;font-size:14px}
html[data-theme="dark"] .bwl-codes[data-bwl-pro]:not(.is-open):not(.is-locked)::before{background:rgba(47,91,255,.08);border-color:rgba(120,150,255,.3);color:#a7adba}
/* Pro previews for people without the membership: a calm placeholder, no styles are sent. */
.bwl-stage-pro.bwl-pv-locked{position:relative}
.bwl-stage-pro.bwl-pv-locked>*:not(style){filter:blur(3px) grayscale(.4);opacity:.45}
.bwl-stage-pro.bwl-pv-locked::after{content:"Pro snippet · preview for members";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;padding:9px 14px;border-radius:999px;background:#0F1116;color:#fff;font:600 12.5px/1 Inter,system-ui,sans-serif;white-space:nowrap;box-shadow:0 8px 24px -8px rgba(0,0,0,.4)}
.bwl-meta .bwl-js{background:#fff7e6;border-color:#f5dfae;color:#8a5a00}

/* Copy buttons */
.bwl-copy{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ink);background:var(--ink);color:#fff;padding:9px 14px;border-radius:10px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}
.bwl-copy:hover{background:#23262f}
.bwl-copy:active{transform:scale(.97)}
.bwl-copy.is-done{background:#1f6b35;border-color:#1f6b35;color:#fff}

/* Preview stage */
.bwl-stage{position:relative;height:180px;display:grid;place-items:center;padding:20px;overflow:hidden;background-color:var(--paper);background-image:radial-gradient(rgba(10,15,28,.09) 1px,transparent 1px);background-size:16px 16px;border-bottom:1px solid var(--line);font-family:inherit}
.bwl-stage-lg{height:320px;border:1px solid var(--line);border-radius:var(--r);margin:24px 0 8px}
.bwl-stage .sqs-block{position:relative;z-index:2;max-width:100%}
.bwl-stage .sqs-block-button-element{display:inline-block;background:var(--ink);color:#fff;padding:13px 26px;border-radius:6px;font-size:14px;font-weight:600;text-decoration:none;letter-spacing:.02em}
.bwl-stage .sqs-block-image{width:200px}
.bwl-stage-lg .sqs-block-image{width:300px}
.bwl-stage .image-block-wrapper{display:block}
.bwl-stage .bwl-img img{display:block;width:100%;height:auto}
.bwl-stage .sqs-block-html{background:#fff;padding:16px 20px;border-radius:8px;max-width:260px;font-size:14px;color:#222;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.bwl-stage .sqs-block-html p{margin:0}
.bwl-stage .sqs-block-html .bwl-h{font-weight:700;font-size:16px;margin-bottom:4px;color:#111}
.bwl-stage .sqs-block-html a{color:#111}
.bwl-stage .bwl-sec{position:relative;width:88%;height:120px;display:grid;place-items:center}
.bwl-stage-lg .bwl-sec{height:220px}
.bwl-stage .bwl-sec .section-background{position:absolute;inset:0;background:#fff;border:1px solid var(--line)}
.bwl-stage .bwl-sec-in{position:relative;display:flex;gap:8px}
.bwl-stage .bwl-sec-in span{width:46px;height:8px;border-radius:4px;background:rgba(10,15,28,.18)}
.bwl-stage .bwl-hdr{position:relative;width:92%;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;color:#111;font-size:14px}
.bwl-stage .bwl-hdr .header-background{position:absolute;inset:0;background:#fff;border:1px solid var(--line);border-radius:6px}
.bwl-stage .bwl-hdr b,.bwl-stage .bwl-hdr nav{position:relative}
.bwl-stage .bwl-hdr nav{display:flex;gap:16px}
.bwl-stage .bwl-hdr a{color:#111;text-decoration:none}
.bwl-stage .bwl-glob{display:flex;flex-direction:column;align-items:center;gap:2px;background:var(--ink);color:#fff;padding:18px 26px;border-radius:12px}
.bwl-stage .bwl-glob small{color:var(--cobalt-300,#8AA8FF);font-size:12px}
.bwl-hint{font-size:13px;color:var(--mute);text-align:center;margin:0 0 28px}

/* Single page */
.bwl-single{max-width:880px;margin:0 auto}
.bwl-single .bwl-lead{font-size:20px;margin:0}
.bwl-article .sd-article__wrap{padding-top:clamp(32px,5vw,56px);padding-bottom:clamp(48px,7vw,88px)}
.bwl-info{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;margin:12px 0 28px}
.bwl-info h2,.bwl-notes h2,.bwl-rel-title{font-size:18px;font-weight:700;margin:0 0 12px;color:var(--ink)}
.bwl-info ol{margin:0;padding-left:20px;color:var(--ink-2)}
.bwl-info li{margin-bottom:8px;font-size:15px}
.bwl-info code{font-family:var(--mono);font-size:13px;background:var(--paper);border:1px solid var(--line);padding:1px 6px;border-radius:5px}
.bwl-checks{list-style:none;margin:0;padding:0}
.bwl-checks li{position:relative;padding-left:26px;margin-bottom:10px;font-size:15px;color:var(--ink-2)}
.bwl-checks li::before{content:"";position:absolute;left:0;top:5px;width:16px;height:16px;border-radius:50%;background:var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.bwl-code{background:var(--ink);border-radius:var(--r);overflow:hidden;margin-bottom:28px}
.bwl-code+.bwl-code{margin-top:-8px}
.bwl-code-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;border-bottom:1px solid rgba(255,255,255,.08)}
.bwl-code-head>span{font-size:14px;font-weight:600;color:#fff}
.bwl-code-head small{display:block;font-family:var(--mono);font-weight:400;font-size:12px;color:rgba(255,255,255,.5);margin-top:2px}
.bwl-code .bwl-copy{background:var(--acc);border-color:var(--acc);color:#fff;flex:none}
.bwl-code .bwl-copy:hover{background:var(--acc-h)}
.bwl-code .bwl-copy.is-done{background:#16a34a;border-color:#16a34a}
.bwl-code pre{margin:0;padding:20px;max-height:420px;overflow:auto;background:none;border:0;color:#e8e9ee;font-family:var(--mono);font-size:13.5px;line-height:1.7;white-space:pre}
.bwl-notes{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin-bottom:28px}
.bwl-notes p{margin:0;color:var(--ink-2)}
.bwl-guide{margin:8px 0 28px}
.bwl-guide p,.bwl-guide ul,.bwl-guide h3{max-width:760px}
.bwl-guide h2{font-size:20px;font-weight:700;line-height:1.3;margin:36px 0 12px;padding-top:28px;border-top:1px solid var(--line);color:var(--ink)}
.bwl-guide>h2:first-child{margin-top:8px}
.bwl-guide h3{font-size:16px;font-weight:600;line-height:1.4;margin:22px 0 6px;color:var(--ink)}
.bwl-guide p{margin:0 0 14px;font-size:16px;line-height:1.7;color:var(--ink-2)}
.bwl-guide ul{list-style:disc;margin:0 0 16px;padding-left:22px;color:var(--ink-2)}
.bwl-guide li{margin-bottom:10px;font-size:16px;line-height:1.65}
.bwl-guide li::marker{color:var(--acc)}
.bwl-guide a{color:var(--acc);text-decoration:underline;text-underline-offset:3px}
.bwl-guide code{font-family:var(--mono);font-size:13px;background:var(--paper);border:1px solid var(--line);padding:1px 6px;border-radius:5px}
.bwl-guide>p:last-of-type{max-width:none;margin-top:32px;padding:18px 22px;background:var(--paper);border:1px solid var(--line);border-radius:14px;font-size:15px}
.bwl-grid-sm{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:8px}
.bwl-grid-sm .bwl-stage{height:140px}
.bwl-grid-sm .bwl-card-body{padding:14px 16px}
.bwl-grid-sm h3{font-size:16px;margin:0}

/* CTA */
.bwl-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:56px;padding:36px 40px;border-radius:24px;background:var(--ink);color:#fff;background-image:radial-gradient(600px 200px at 100% 0,rgba(47,91,255,.35),transparent)}
.bwl-cta h3{font-family:inherit;letter-spacing:-.02em;font-size:clamp(24px,3vw,32px);line-height:1.15;font-weight:600;margin:8px 0;color:#fff}
.bwl-cta p{margin:0;color:rgba(255,255,255,.7);max-width:560px;font-size:15px}
.bwl-cta .bwl-eyebrow{color:var(--cobalt-300,#8AA8FF)}
.bwl-btn{flex:none;display:inline-block;background:var(--acc);color:#fff;padding:14px 22px;border-radius:12px;font-weight:700;text-decoration:none;transition:background .2s}
.bwl-btn:hover{background:var(--acc-h);color:#fff}
.bwl-btn.is-soon{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.2)}

@media (max-width:767px){
  .bwl-info{grid-template-columns:1fr;gap:20px}
  .bwl-cta{flex-direction:column;align-items:flex-start;padding:28px 24px}
  .bwl-stage-lg{height:240px}
}
@media (prefers-reduced-motion:reduce){.bwl *{transition:none!important;animation:none!important}}

/* Share */
.bwl-share{margin:32px 0 0}

/* Dark mode (theme toggle sets html[data-theme="dark"]) */
html[data-theme="dark"] .bwl{--ink:#eef0f5;--ink-2:#b7bdca;--mute:#8d94a3;--line:#262b35;--paper:#161a21;--card:#11141a}
html[data-theme="dark"] .bwl-toolbar{box-shadow:none}
html[data-theme="dark"] .bwl-clear{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .bwl-filters button:hover{border-color:rgba(255,255,255,.3)}
html[data-theme="dark"] .bwl-filters button.is-active{background:#eef0f5;border-color:#eef0f5;color:#0F1116}
html[data-theme="dark"] .bwl-filters button.is-active span{background:rgba(15,17,22,.1);color:#0F1116}
html[data-theme="dark"] .bwl-card:hover{border-color:#34406a;box-shadow:0 18px 40px -18px rgba(0,0,0,.6)}
html[data-theme="dark"] .bwl-meta .bwl-free{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.3);color:#86efac}
html[data-theme="dark"] .bwl-meta .bwl-pro{background:rgba(47,91,255,.16);border-color:rgba(120,150,255,.35);color:#a9bcff}
html[data-theme="dark"] .bwl-lock{background:rgba(47,91,255,.08);border-color:rgba(120,150,255,.3)}html[data-theme="dark"] .bwl-lock b{color:#f2f4f8}html[data-theme="dark"] .bwl-lock p{color:#a7adba}
html[data-theme="dark"] .bwl-lock a.bwl-lock-alt{color:#a9bcff;border-color:rgba(120,150,255,.35)}
html[data-theme="dark"] .bwl-meta .bwl-js{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.3);color:#fcd34d}
html[data-theme="dark"] .bwl-code,html[data-theme="dark"] .bwl-cta{background-color:#0b0d12;border:1px solid var(--line)}
html[data-theme="dark"] .bwl-checks li::before{background-color:var(--acc)}
/* The preview canvas stays light so it looks like a real Squarespace page */
html[data-theme="dark"] .bwl-stage{--ink:#0F1116;--paper:#eef0ea;--line:#2a2f3a;background-color:#e9ece4;border-color:var(--line)}
html[data-theme="dark"] .bwl-stage-lg{border-color:#262b35}

/* Widget previews: transform keeps fixed elements inside the box */
.bwl-stage-widget{transform:translateZ(0)}
.bwl-stage .bwl-page{width:86%;height:70%;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}
.bwl-stage .bwl-page span{height:8px;border-radius:4px;background:rgba(10,15,28,.12);width:60%}
.bwl-stage .bwl-page span:first-child{width:35%;height:12px;background:rgba(10,15,28,.2)}

/* Load more */
.bwl-more-wrap{display:flex;justify-content:center;margin-top:32px}
.bwl-more-btn{border:1px solid var(--line);background:var(--card);color:var(--ink);padding:12px 26px;border-radius:999px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:border-color .2s,transform .1s}
.bwl-more-btn:hover{border-color:var(--acc);color:var(--acc)}
.bwl-more-btn:active{transform:scale(.98)}
.bwl-more-btn span{color:var(--mute);font-weight:500;margin-left:4px}
.bwl-more-btn[hidden]{display:none}

/* Previews: header parts, social icons, announcement */
.bwl-stage .bwl-hdr .header-title,.bwl-stage .bwl-hdr .header-actions{position:relative;display:flex;align-items:center}
.bwl-stage .bwl-hdr .header-title-logo img{display:block;width:28px;height:28px}
.bwl-stage .bwl-hdr .header-actions .btn{background:#0F1116;color:#fff!important;padding:7px 14px;border-radius:6px;font-size:12px;font-weight:600;text-decoration:none!important}
.bwl-stage .sqs-block-socialaccountlinks-v2{display:flex;gap:10px}
.bwl-stage .sqs-block-socialaccountlinks-v2 a{text-decoration:none}
.bwl-stage .sqs-svg-icon--wrapper{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#0F1116;color:#fff;font-size:13px;font-weight:700}
.bwl-stage:has(.sqs-announcement-bar-dropzone){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.bwl-stage:has(.sqs-announcement-bar-dropzone) .bwl-page{height:55%}
:where(.bwl-stage) .sqs-announcement-bar-dropzone{width:86%}
:where(.bwl-stage) .sqs-announcement-bar{background:#0F1116;color:#fff;padding:12px 16px;text-align:center;font-size:13px}

/* Previews: forms, newsletter, video, accordion, scrolling block */
.bwl-stage .bwl-form,.bwl-stage .bwl-news{width:min(300px,86%);background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px;color:#111;font-size:13px}
.bwl-stage .bwl-form .title{font-weight:600;margin-bottom:6px}
.bwl-stage .bwl-form .required{color:#8a8f9c;font-weight:400}
.bwl-stage .bwl-form input,.bwl-stage .bwl-news input{width:100%;border:1px solid #d6d9e0;border-radius:4px;padding:8px 10px;font:inherit;background:#fff;color:#111}
.bwl-stage .bwl-form .form-button-wrapper{margin-top:10px}
.bwl-stage .bwl-form .form-submit-button,.bwl-stage .bwl-news .newsletter-form-button{display:inline-flex;border:0;background:#111;color:#fff;padding:9px 16px;border-radius:4px;font:inherit;font-weight:600}
.bwl-stage .bwl-news .newsletter-form-body{display:flex;gap:8px}
.bwl-stage .bwl-news .newsletter-form-fields-wrapper{flex:1}
.bwl-stage .bwl-video{width:min(280px,86%)}
.bwl-stage .bwl-video .native-video-player{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#2F5BFF,#0F1116)}
.bwl-stage .bwl-video .plyr{position:absolute;inset:0}
.bwl-stage .bwl-video .plyr__control--overlaid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:grid;place-items:center}
.bwl-stage .bwl-acc{width:min(300px,86%);background:#fff;border:1px solid var(--line);border-radius:10px;padding:4px 14px;color:#111;font-size:13px}
.bwl-stage .bwl-acc ul{list-style:none;margin:0;padding:0}
.bwl-stage .bwl-acc .accordion-item__click-target{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-weight:600;border-bottom:1px solid #eee}
.bwl-stage .bwl-acc .accordion-icon-container{display:inline-block;font-size:18px;line-height:1}
.bwl-stage .bwl-acc .accordion-item__description p{margin:10px 0}
.bwl-stage .bwl-acc .accordion-item__description a{color:#111}
.bwl-stage .bwl-marq{width:92%;background:#111;color:#fff;border-radius:6px;padding:6px 10px;overflow:hidden}
.bwl-stage .bwl-marq svg{display:block;width:100%;height:40px;fill:currentColor;font:700 24px/1 inherit}
/* Header mock: burger (hidden until a snippet shows it) */
.bwl-stage .bwl-hdr .header-burger{display:none;position:relative;flex:0 0 auto;align-items:center}
.bwl-stage .bwl-hdr .burger-box{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px}
.bwl-stage .bwl-hdr .burger-inner,.bwl-stage .bwl-hdr .burger-inner::before,.bwl-stage .bwl-hdr .burger-inner::after{display:block;width:22px;height:2px;border-radius:2px;background:#111}
.bwl-stage .bwl-hdr .burger-inner{position:relative}
.bwl-stage .bwl-hdr .burger-inner::before,.bwl-stage .bwl-hdr .burger-inner::after{content:"";position:absolute;left:0}
.bwl-stage .bwl-hdr .burger-inner::before{top:-7px}.bwl-stage .bwl-hdr .burger-inner::after{top:7px}
.bwl-stage .bwl-hdr .header-actions{margin-left:auto}
/* ---------- 2.1: demo brand palette, phone previews, new mocks, controls ---------- */
.bwl-stage{--accent-hsl:225,100%,59%;--darkAccent-hsl:15,90%,62%;--lightAccent-hsl:45,100%,85%;--black-hsl:0,0%,7%;--white-hsl:0,0%,100%}
.bwl-stage .bwl-hdr .header-nav-list{display:flex;gap:16px}
.bwl-stage .bwl-hdr .header-actions-action--cta{display:flex;align-items:center}
.bwl-stage .bwl-hdr .bw-btn2{padding:6px 13px;border-radius:6px;font-size:12px;font-weight:600;color:#111!important}
.bwl-device{position:absolute;top:10px;left:10px;z-index:9;font:600 10.5px/1 var(--mono,ui-monospace,monospace);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);background:rgba(255,255,255,.85);border:1px solid var(--line);border-radius:999px;padding:5px 8px}
.bwl-stage-phone{place-items:end center;padding-bottom:0}
.bwl-phone{position:relative;z-index:2;width:172px;height:168px;padding:8px 8px 0;background:#0F1116;border-radius:26px 26px 0 0;box-shadow:0 20px 40px -18px rgba(11,20,40,.45)}
.bwl-stage-lg .bwl-phone{width:236px;height:296px;border-radius:34px 34px 0 0;padding:10px 10px 0}
.bwl-phone-screen{position:relative;height:100%;overflow:hidden;background:#fff;border-radius:19px 19px 0 0;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:4px;container-type:inline-size}
.bwl-stage-lg .bwl-phone-screen{border-radius:25px 25px 0 0}
.bwl-phone-screen>*{max-width:100%}
.bwl-phone-screen .sqs-block-html,.bwl-phone-screen .bwl-sec,.bwl-phone-screen .bwl-page{width:92%}
.bwl-phone-screen .sqs-block-image{width:90%}
.bwl-phone-screen .bwl-shop .product-list-container{grid-template-columns:1fr 1fr}
.bwl-phone-screen .bwl-prod{flex-direction:column;width:92%;gap:8px}
.bwl-phone-screen .bwl-prod .product-gallery{width:100%}
.bwl-stage .bwl-hdr-m{width:100%;padding:12px 12px;box-sizing:border-box;max-width:none}
.bwl-stage .bwl-hdr-m .header-display-mobile{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%}
.bwl-stage .bwl-hdr-m .header-mobile-logo img{display:block;width:26px;height:26px}
.bwl-stage .bwl-hdr-m .header-burger{display:flex}
.bwl-stage .bwl-hdr-m .header-background{border-radius:0;border-width:0 0 1px}
.bwl-phone-page{display:grid;gap:7px;width:80%;margin-top:8px}
.bwl-phone-page span{height:7px;border-radius:4px;background:rgba(10,15,28,.12)}
.bwl-phone-page span:first-child{height:14px;width:70%;background:rgba(10,15,28,.2)}
.bwl-stage .bwl-hdr-m .header-menu{position:absolute;left:0;right:0;top:100%;height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:6px 14px;box-sizing:border-box;visibility:visible;opacity:1;z-index:3}
.bwl-stage-lg .bwl-hdr-m .header-menu{height:236px;gap:14px;padding:16px}
.bwl-stage .bwl-hdr-m .header-menu-bg{position:absolute;inset:0;background:#fff;z-index:-1}
.bwl-stage .bwl-hdr-m .header-menu-nav,.bwl-stage .bwl-hdr-m .header-menu-nav-list{width:100%}
.bwl-stage .bwl-hdr-m .header-menu-nav-folder-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;width:100%}
.bwl-stage .bwl-hdr-m .header-menu-nav-item{width:100%}
.bwl-stage .bwl-hdr-m .header-menu-nav-item a{display:flex;font-size:14px;line-height:1.35;font-weight:600;color:#111!important;text-decoration:none}
.bwl-stage .bwl-hdr-m .header-menu-cta{width:100%}
.bwl-stage .bwl-hdr-m .header-menu-cta .btn{display:inline-block;background:#0F1116;color:#fff!important;padding:6px 14px;border-radius:6px;font-size:13px;font-weight:600;text-decoration:none}
.bwl-stage.header--menu-open .bwl-hdr-m .burger-inner{background:transparent}
.bwl-stage.header--menu-open .bwl-hdr-m .burger-inner::before{top:0;transform:rotate(45deg)}
.bwl-stage.header--menu-open .bwl-hdr-m .burger-inner::after{top:0;transform:rotate(-45deg)}
/* product page */
.bwl-stage .bwl-prod{display:flex;align-items:center;gap:16px;width:88%;max-width:440px;font-size:13px;color:#111}
.bwl-stage .bwl-prod .product-gallery{width:44%;flex:none}
.bwl-stage .bwl-prod .product-gallery img{display:block;width:100%;height:auto}
.bwl-stage .bwl-prod .product-meta{display:grid;gap:7px;min-width:0;flex:1}
.bwl-stage .bwl-prod .product-title{margin:0;font-size:16px;font-weight:600;line-height:1.2;color:#111}
.bwl-stage .bwl-prod .product-price{font-size:13px}
.bwl-stage .bwl-prod .product-add-ons{display:none}
.bwl-stage-lg .bwl-prod .product-add-ons{display:block}
.bwl-stage .bwl-prod .add-on-card{display:flex;align-items:center;gap:8px;font-size:12px}
.bwl-stage .bwl-prod .add-on-thumbnail{width:28px;height:28px;border-radius:6px;background:rgba(10,15,28,.12)}
.bwl-stage .bwl-prod .add-on-card a{color:#111}
.bwl-stage .bwl-prod .product-quantity-input{width:64px;border:1px solid rgba(10,15,28,.2);border-radius:4px;background:#fff}
.bwl-stage .bwl-prod .product-quantity-input input{width:100%;border:0;background:none;padding:5px 8px;font:inherit;font-size:12px}
.bwl-stage .bwl-prod .sqs-add-to-cart-button{width:100%;border:1px solid #0F1116;background:#0F1116;color:#fff;padding:9px 14px;border-radius:4px;font:inherit;font-size:12px;font-weight:600}
/* shop grid */
.bwl-stage .bwl-shop{width:92%;max-width:460px}
.bwl-stage .bwl-shop .product-list-container{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.bwl-stage .bwl-shop .product-list-image-wrapper img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.bwl-stage .bwl-shop .product-list-item-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px;padding-top:6px;font-size:11.5px;color:#111}
.bwl-stage .bwl-shop .nested-category-tree-wrapper ul{display:flex;gap:12px;list-style:none;margin:0 0 10px;padding:0;font-size:12px}
.bwl-stage .bwl-shop .nested-category-tree-wrapper a{color:#111;text-decoration:none}
.bwl-stage .bwl-shop .nested-category-tree-wrapper li{margin:0!important;padding:0!important;line-height:1.3}
.bwl-stage .bwl-shop .nested-category-tree-wrapper li::before,.bwl-stage .bwl-shop .nested-category-tree-wrapper li::marker{content:none}
/* quote, line, map, menu, summary, gallery, events */
.bwl-stage .bwl-quote{width:84%;max-width:380px;color:#111}
.bwl-stage .bwl-quote figure{margin:0}
.bwl-stage .bwl-quote blockquote{margin:0;font-size:20px;line-height:1.3;font-weight:500}
.bwl-stage .bwl-quote figcaption{margin-top:8px;font-size:12px;color:#555}
.bwl-stage .bwl-line-wrap{display:grid;gap:10px;width:80%;max-width:360px}
.bwl-stage .bwl-line-wrap>span{height:8px;width:60%;border-radius:4px;background:rgba(10,15,28,.15)}
.bwl-stage .bwl-line-wrap>span:last-child{width:80%}
.bwl-stage .sqs-block-horizontalrule hr{margin:4px 0;border:0;height:1px;background:#111;color:#111}
.bwl-stage .bwl-map{width:80%;max-width:380px}
.bwl-stage .bwl-map .gm-style{height:120px;background:#dfe9d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath d='M0 80 200 40M60 0l40 120M0 20h200M150 0l-30 120' stroke='%23fff' stroke-width='6' fill='none'/%3E%3Cpath d='M20 100c30-20 50 0 80-10s40-30 90-20' stroke='%23f2c94c' stroke-width='5' fill='none'/%3E%3Ccircle cx='104' cy='58' r='8' fill='%23e5484d'/%3E%3C/svg%3E") center/cover}
.bwl-stage-lg .bwl-map .gm-style{height:220px}
.bwl-stage .bwl-menu{width:84%;max-width:380px;color:#111;font-size:13px}
.bwl-stage .bwl-menu .menu-section-title{font-weight:700;font-size:15px;margin-bottom:8px}
.bwl-stage .bwl-menu .menu-item{margin-bottom:6px}
.bwl-stage .bwl-menu .menu-item-title{display:flex;justify-content:space-between;font-weight:600}
.bwl-stage .bwl-menu .menu-item-description{font-size:12px;color:#555}
.bwl-stage .bwl-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:84%;max-width:380px}
.bwl-stage .bwl-summary .summary-thumbnail img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.bwl-stage .bwl-summary .summary-title{margin-top:6px;font-size:13px;font-weight:600}
.bwl-stage .bwl-summary .summary-title a{color:#111;text-decoration:none}
.bwl-stage .bwl-gal{width:88%;max-width:420px}
.bwl-stage .bwl-gal .sqs-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bwl-stage .bwl-gal .slide img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.bwl-stage .bwl-events{width:84%;max-width:380px}
.bwl-stage .bwl-events .eventlist-event{display:flex;align-items:center;gap:14px;color:#111}
.bwl-stage .bwl-events .eventlist-datetag{display:grid;place-items:center;width:52px;padding:6px 0;background:#fff;border:1px solid var(--line);font-size:11px;text-transform:uppercase;line-height:1.2}
.bwl-stage .bwl-events .eventlist-datetag-startdate--day{font-size:18px;font-weight:700}
.bwl-stage .bwl-events .eventlist-title{margin:0;font-size:16px}
.bwl-stage .bwl-events .eventlist-meta{font-size:12px;color:#555}
/* customize panel */
.bwl-controls{margin:12px 0 4px;padding:16px 18px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.bwl-controls-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.bwl-controls-head b{font-size:15px;color:var(--ink)}
.bwl-controls-reset{border:0;background:none;padding:2px 0;font:inherit;font-size:13px;font-weight:600;color:var(--acc);cursor:pointer}
.bwl-controls-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px 22px}
.bwl-ctl{display:grid;gap:7px}
.bwl-ctl>label{font-size:13px;font-weight:600;color:var(--ink-2)}
.bwl-ctl-select{position:relative}
.bwl-ctl-select::after{content:"";position:absolute;right:13px;top:50%;width:6px;height:6px;border:solid var(--mute);border-width:0 1.5px 1.5px 0;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.bwl-ctl-select select{appearance:none;-webkit-appearance:none;width:100%;height:40px;padding:0 34px 0 12px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--paper)!important;font:inherit;font-size:14px;color:var(--ink);cursor:pointer}
.bwl-ctl-range{display:flex;align-items:center;gap:10px}
.bwl-ctl-range input{flex:1;accent-color:var(--acc)}
.bwl-ctl-range output{min-width:52px;text-align:right;font:500 12.5px/1 var(--mono);color:var(--ink-2)}
.bwl-ctl-colors{display:flex;flex-wrap:wrap;gap:8px}
.bwl-sw{position:relative;width:30px;height:30px;padding:0;border:1px solid rgba(10,15,28,.15);border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 2px #fff}
.bwl-sw.is-on{outline:2px solid var(--acc);outline-offset:2px}
.bwl-sw-custom{display:grid;place-items:center;overflow:hidden;background:conic-gradient(#f43f5e,#f59e0b,#22c55e,#06b6d4,#6366f1,#d946ef,#f43f5e)}
.bwl-sw-custom input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.bwl-controls-note{margin:12px 0 0;font-size:12.5px;color:var(--mute)}
.bwl-stage-lg .bwl-hdr-m .header-menu-nav-item a{font-size:20px}
/* 2.1.1 mocks: audio, search, donation, cart */
.bwl-stage .bwl-audio{width:80%;max-width:380px}
.bwl-stage .bwl-audio .sqs-widgets-audio-player{background:#181818;color:#fff}
.bwl-stage .bwl-audio .player{display:flex;align-items:stretch;height:72px}
.bwl-stage .bwl-audio .action{display:grid;place-items:center;width:56px}
.bwl-stage .bwl-audio .play-button{width:0;height:0;border-style:solid;border-width:9px 0 9px 14px;border-color:transparent transparent transparent #fff}
.bwl-stage .bwl-audio .track{position:relative;flex:1;display:flex;align-items:center;padding:0 14px}
.bwl-stage .bwl-audio .played{position:absolute;left:0;top:0;bottom:0;width:40%;background:rgba(255,255,255,.05)}
.bwl-stage .bwl-audio .labels{position:relative;font-size:13px;line-height:1.3}
.bwl-stage .bwl-audio .artistName{opacity:.6;font-size:12px}
.bwl-stage .bwl-search-b{width:80%;max-width:360px}
.bwl-stage .bwl-search-b .search-input{width:100%;box-sizing:border-box;border:1px solid #aaa;background:#fff;padding:12px;font:inherit;font-size:14px;color:#111}
.bwl-stage .bwl-don{width:70%;max-width:280px}
.bwl-stage .bwl-don .donation-form{display:grid;gap:10px;background:#fff;color:#111;font-size:13px;padding:14px}
.bwl-stage .bwl-don fieldset{display:flex;flex-direction:column;border:0;margin:0;padding:0;gap:4px}
.bwl-stage .bwl-don .option{display:flex;flex-direction:column;align-self:center;align-items:center}
.bwl-stage .bwl-don .radio-label::before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border:1px solid #111;border-radius:50%;vertical-align:-1px}
.bwl-stage .bwl-don .form-submit-button{justify-self:center;background:#0F1116;color:#fff;border:0;border-radius:6px;padding:8px 16px;font:inherit;font-weight:600}
.bwl-stage .bwl-cart{width:80%;max-width:360px;color:#111}
.bwl-stage .bwl-cart .cart-title{margin:0 0 10px;font-size:20px}
.bwl-stage .bwl-cart .cart-row{display:flex;align-items:center;gap:12px;font-size:13px}
.bwl-stage .bwl-cart .cart-row-img{width:64px;flex:none}
.bwl-stage .bwl-cart .cart-row-img img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.bwl-ctl-text input{width:100%;height:40px;box-sizing:border-box;padding:0 12px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--paper)!important;font:inherit;font-size:14px;color:var(--ink)}
/* blog mocks */
.bwl-stage .bwl-blog{width:86%;max-width:420px;color:#111;font-size:13px}
.bwl-stage .bwl-blog .entry-title,.bwl-stage .bwl-blog .blog-title{margin:0 0 10px;font-size:20px;line-height:1.2}
.bwl-stage .bwl-blog .item-pagination{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;background:#f1f2ee}
.bwl-stage .bwl-blog .item-pagination-link{display:flex;align-items:center;gap:8px;color:#111;text-decoration:none;max-width:48%}
.bwl-stage .bwl-blog .item-pagination-title{margin:0;font-size:15px;line-height:1.25}
.bwl-stage .bwl-blog .blog-list-pagination{display:flex;justify-content:space-between;gap:12px}
.bwl-stage .bwl-blog .blog-list-pagination a{color:#111;text-decoration:none;font-size:15px}
.bwl-stage .bwl-blog .blog-item-content p{margin:0 0 8px}
.bwl-stage .bwl-blog .blog-excerpt{margin-bottom:6px;color:#444}
.bwl-stage .bwl-blog .blog-more-link{color:#111;font-weight:600}
.bwl-stage .bwl-blog .item-pagination-link{flex:1;min-width:0;overflow:hidden}
.bwl-stage .bwl-blog .item-pagination-icon{display:none}
.bwl-stage .sqs-block-image .sqs-image{position:relative}
/* 2.2.1 mocks */
.bwl-stage .bwl-price{width:62%;max-width:260px}
.bwl-stage .bwl-price .product-block{background:#fff;padding:18px;color:#111;font-size:13px;display:grid;gap:6px}
.bwl-stage .bwl-price .pricing-plan-title{font-weight:600;font-size:15px}
.bwl-stage .bwl-price .pricing-plan-price-amount{font-size:22px;font-weight:600}
.bwl-stage .bwl-price .pricing-plan-price-billing-period{font-size:12px;color:#666}
.bwl-stage .bwl-price .join-button{justify-self:start;background:#0F1116;color:#fff;border:0;border-radius:6px;padding:8px 16px;font:inherit;font-weight:600}
.bwl-stage .bwl-shape .sqs-shape{display:block}
.bwl-stage .bwl-tags .sqs-tagcloud{list-style:none;margin:0;padding:0;text-align:center;max-width:300px}
.bwl-stage .bwl-tags .sqs-tagcloud li{display:inline;margin:0 6px}
.bwl-stage .bwl-tags .sqs-tagcloud a{color:#111;font-size:16px}
.bwl-stage .bwl-cal{width:70%;max-width:280px}
.bwl-stage .bwl-cal .yui3-calendar-pane{background:#f4f4f2;padding:10px;color:#111;font-size:12px}
.bwl-stage .bwl-cal h1{margin:0 0 6px;font-size:15px;text-align:center}
.bwl-stage .bwl-cal table{width:100%;border-collapse:collapse}
.bwl-stage .bwl-cal td{text-align:center;padding:5px 0}
.bwl-stage .bwl-chart{width:70%;max-width:300px}
.bwl-stage .bwl-chart .chart-block-container{color:#111}
.bwl-stage .bwl-chart h2{margin:0 0 8px;font-size:15px}
.bwl-stage .bwl-bars{display:flex;align-items:flex-end;gap:8px;height:70px}
.bwl-stage .bwl-bars i{flex:1;background:hsl(var(--accent-hsl));border-radius:3px 3px 0 0}
.bwl-stage .bwl-chart .chart-block-caption{margin-top:6px;font-size:12px;color:#666}
.bwl-stage .bwl-archive{width:76%;max-width:320px}
.bwl-stage .bwl-archive ul{list-style:none;margin:0;padding:0;font-size:13px;color:#111}
.bwl-stage .bwl-archive .archive-item{margin:0 0 6px}
.bwl-stage .bwl-archive a{color:#111;text-decoration:none}
.bwl-stage .bwl-md{width:76%;max-width:320px;color:#111;font-size:13px}
.bwl-stage .bwl-md p,.bwl-stage .bwl-md blockquote{margin:0 0 8px}

/* Header preview: soft colour behind the bar so blur/transparency effects are visible */
.bwl-stage:has(.bwl-hdr){background-image:radial-gradient(circle at 22% 38%,rgba(47,91,255,.28) 0 46px,transparent 47px),radial-gradient(circle at 78% 64%,rgba(255,170,90,.32) 0 54px,transparent 55px),radial-gradient(rgba(10,15,28,.09) 1px,transparent 1px);background-size:auto,auto,16px 16px}
.bwl-stage .bwl-hdr{width:84%}
.bwl-stage .bwl-hdr a,.bwl-stage .bwl-hdr a:visited{color:#111!important}
.bwl-stage .bwl-hdr .header-actions .btn{color:#fff!important}

/* Header preview: never overlap in narrow cards */
.bwl-stage{container-type:inline-size}
.bwl-stage .bwl-hdr{gap:14px;box-sizing:border-box;max-width:560px}
.bwl-stage .bwl-hdr nav{flex:1 1 auto;min-width:0;justify-content:center;white-space:nowrap;overflow:hidden}
.bwl-stage .bwl-hdr .header-title,.bwl-stage .bwl-hdr .header-actions{flex:0 0 auto}
@container (max-width:340px){
  .bwl-stage .bwl-hdr{padding:12px 14px;font-size:12.5px;gap:10px}
  .bwl-stage .bwl-hdr nav{gap:10px;justify-content:flex-start}
  .bwl-stage .bwl-hdr .header-title{margin-right:0!important;padding-right:12px!important}
  .bwl-stage .bwl-hdr .header-nav-item:nth-child(3){display:none}
  .bwl-stage .bwl-hdr .header-actions .btn{padding:6px 11px;font-size:11px}
}

/* One block / All blocks switch */
.bwl-scope{display:flex;align-items:center;gap:6px;padding:10px 20px;border-bottom:1px solid rgba(255,255,255,.08);font-size:13px;color:#e8e9ee}
.bwl-scope span{color:#9aa0ad;margin-right:4px}
.bwl-scope button{font:inherit;font-weight:600;padding:6px 14px;border:1px solid rgba(255,255,255,.22);background:transparent;color:#e8e9ee;border-radius:999px;cursor:pointer}
.bwl-scope button:hover{border-color:rgba(255,255,255,.5)}
.bwl-scope button.is-on{background:#fff;color:#111;border-color:#fff}

/* Lazy previews */
.bwl-stage.bwl-pv-paused::after{content:"Preview paused. Open the snippet to see it.";position:absolute;left:50%;bottom:10px;transform:translateX(-50%);font:600 11px/1.3 system-ui,sans-serif;background:rgba(17,17,17,.82);color:#fff;padding:5px 10px;border-radius:999px;white-space:nowrap;z-index:5}
