/* ==========================================================================
   Custom flex banners — landing, designs, product page, projects, and the
   Banner Studio. Prefix bn- (pages) / bs- (studio). Shares pb-* primitives
   with photobooks.css, which is loaded alongside.
   ========================================================================== */
@import url('/css/photobooks.css');

.bn-hero{background:linear-gradient(105deg,#e9dccf,#d9cfc4);border-radius:14px;display:flex;flex-wrap:wrap;align-items:center;gap:28px;padding:30px}
.bn-hero-media{flex:1 1 380px;min-width:260px;border-radius:10px;overflow:hidden;display:block;box-shadow:0 10px 30px rgba(40,30,20,.25)}
.bn-hero-media img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1.4}
.bn-hero-copy{flex:1 1 320px;display:flex;flex-direction:column;gap:14px}
.bn-hero-copy h1{font-size:clamp(24px,3vw,34px);color:#fff;text-shadow:0 1px 8px rgba(80,50,30,.4);text-transform:uppercase}
.bn-hero-price{background:#fff;border-radius:22px;padding:8px 16px;font-size:14px;font-weight:600;display:inline-block;width:fit-content}
.bn-hero-price s{color:#9aa1ab}.bn-hero-price strong{color:#e2574c}
.bn-occasion{background:linear-gradient(100deg,#fdf3f6,#ece4fa);border-radius:14px;display:flex;flex-wrap:wrap;align-items:center;gap:26px;padding:26px}
.bn-occasion-media{flex:0 1 460px;min-width:260px;border-radius:10px;overflow:hidden}
.bn-occasion-media img{width:100%;display:block;aspect-ratio:1.5;object-fit:cover}
.bn-occasion>div{flex:1 1 260px;text-align:center}.bn-occasion h2{font-size:clamp(22px,2.6vw,30px)}.bn-occasion p{font-size:13px;color:#6b7280;font-style:italic}
.bn-designs .pb-theme-img{height:150px}
.bn-design-row{display:flex;gap:16px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:none}
.bn-quality .pb-quality-media img{width:100%;height:100%;object-fit:cover}
.bn-shapes h2{margin-bottom:16px}
.bn-shape-row{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.bn-shape-row figure{margin:0;flex:1 1 220px;max-width:300px;text-align:center;font-size:13px}
.bn-shape-row img{width:100%;border-radius:8px;object-fit:cover;aspect-ratio:1;display:block;margin-bottom:6px}
.bn-card .pb-design-media img{object-fit:cover}

/* product page */
.bn-product{max-width:1180px}
.bn-product-top{display:flex;gap:26px;flex-wrap:wrap}
.bn-gallery{flex:1 1 420px;min-width:300px;display:flex;flex-direction:column;gap:12px}
.bn-gallery .pb-design-stage{height:auto;aspect-ratio:1;max-height:520px}
.bn-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.bn-thumbs button{width:60px;height:60px;border-radius:6px;border:1px solid #e5e8ee;overflow:hidden;padding:0;background:#f0f1f3;cursor:pointer}
.bn-thumbs .is-on{border:2px solid #2f8fe5}.bn-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.bn-buy{flex:1 1 480px;min-width:300px;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #eceef0;border-radius:12px;padding:20px}
.bn-buy h1{font-size:22px}
.bn-desc{font-size:12.5px;color:#6b7280;line-height:1.6}
.bn-badge{background:#fff8e1;border-radius:6px;padding:8px 12px;font-size:12px;color:#5d4037}
.bn-perks{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#4b5563}
.bn-field{display:flex;flex-direction:column;gap:8px}
.bn-field>strong{font-size:13px}
.bn-field-head{display:flex;align-items:center;gap:8px;font-size:13px}.bn-field-head select{border:1px solid #d8dbe0;border-radius:4px;padding:2px 6px;font-size:12px}
.bn-tabs{display:flex;gap:6px;border-bottom:1px solid #eceef0}
.bn-tabs button{background:none;border:none;padding:8px 12px;font:600 12.5px 'Poppins',sans-serif;color:#6b7280;border-bottom:2px solid transparent;cursor:pointer}
.bn-tabs button.is-on{color:#ee6d43;border-bottom-color:#ee6d43}
.bn-tabs.is-wide{border:1px solid #d8dbe0;border-radius:6px;padding:3px;gap:3px}
.bn-tabs.is-wide button{flex:1;border-radius:4px;border-bottom:none;padding:9px}
.bn-tabs.is-wide button.is-on{background:#eaf3fd;color:#1f7ed6}
.bn-sizes{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.bn-sizes button{border:1px solid #d8dbe0;background:#fff;border-radius:6px;padding:8px 4px;font:500 12px 'Poppins',sans-serif;cursor:pointer;color:#22262b}
.bn-sizes button.is-on{border-color:#ee6d43;color:#ee6d43;background:#fff7f3}
.bn-sizes .bn-custom-btn{background:#ee6d43;color:#fff;border-color:#ee6d43}
.bn-custom{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;font-size:12px}
.bn-custom label{display:flex;flex-direction:column;gap:4px;font-weight:600}
.bn-custom input{width:90px;border:1px solid #d8dbe0;border-radius:6px;padding:8px;font-size:13px}
.bn-link{background:none;border:none;color:#ee6d43;font:600 12px 'Poppins',sans-serif;cursor:pointer;padding:6px 0;text-align:left}
.bn-link.is-rec{color:#c8324a}
.bn-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(134px,1fr));gap:8px}
.bn-options.is-two{grid-template-columns:repeat(2,minmax(134px,190px))}
.bn-options button{position:relative;border:1px solid #d8dbe0;background:#fff;border-radius:8px;padding:12px 6px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;font-family:inherit;color:#22262b}
.bn-options button.is-on{border-color:#ee6d43;background:#fff7f3}
.bn-options em{position:absolute;top:-8px;left:8px;background:#2bb673;color:#fff;font-size:8px;font-style:normal;font-weight:700;border-radius:3px;padding:2px 6px}
.bn-opt-ico{font-size:52px;line-height:116px;height:116px;color:#4b5563}
/* ---- product page, to the desktop prototype ---- */
.bn-jump{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.bn-jump button{font:600 11px 'Poppins',sans-serif;padding:6px 12px;border-radius:16px;border:1px solid #e3e6ec;background:#fff;color:#556;cursor:pointer}
.bn-jump button:hover{border-color:#ee6d43;color:#ee6d43}
.bn-jump button.is-on{background:#fff3ef;border-color:#ee6d43;color:#ee6d43}
.bn-rating{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:#6b7280}
.bn-stars{color:#F5A623;letter-spacing:1px}
.bn-rating b{color:#22262b}
.bn-rating .bn-link{background:none;border:none;padding:0;color:#1E9BF0;cursor:pointer;font:inherit;text-decoration:underline}

/* A fee is a note, not a headline: an amber pill under the picture, as drawn. */
.bn-options button b,.bn-materials button b{font:600 9.5px system-ui;color:#b87008;background:#fff4e5;border-radius:8px;padding:2px 8px;width:max-content;margin:2px auto 0}
.bn-options button small{font:500 10px/1.35 system-ui;color:#555;text-align:center}
.bn-options em{background:#2FA870}

.bn-seller{border:1px solid #eef0f3;border-radius:14px;padding:20px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.04);margin-top:16px}
.bn-seller-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.bn-seller-head strong{display:block;font:700 17px 'Poppins',sans-serif;color:#1f2937}
.bn-seller-head small{color:#556;font-size:12.5px}
.bn-seller-head img{border-radius:12px;flex:none;object-fit:contain}
.bn-seller p{border-top:1px solid #eef0f3;margin-top:14px;padding-top:14px;font:400 12px/1.7 system-ui;color:#8a90a0}
.bn-seller-points{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin:14px 0 0;padding:0;list-style:none;font:400 11.5px/1.5 system-ui;color:#556}
.bn-seller-points li::before{content:'•';color:#F26E3F;margin-right:7px}

.bn-tabs-sec{border-top:1px solid #eee;margin-top:28px;scroll-margin-top:70px}
.bn-tabbar{display:flex;gap:6px;border-bottom:1px solid #eee;overflow-x:auto;scrollbar-width:none}
.bn-tabbar::-webkit-scrollbar{display:none}
.bn-tabbar button{padding:14px 18px;font:600 13px 'Poppins',sans-serif;color:#6b7280;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;white-space:nowrap}
.bn-tabbar button.is-on{color:#ee6d43;border-bottom-color:#ee6d43}
.bn-tabbody{padding:24px 0 8px;max-width:960px}
.bn-tabbody h3{font:600 14px 'Poppins',sans-serif;color:#333;margin:20px 0 6px}
.bn-tabbody p{font:400 12.5px/1.8 system-ui;color:#666;margin:0 0 8px}
.bn-bullets{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none;font:400 12.5px/1.6 system-ui;color:#555}
.bn-bullets li::before{content:'• ';color:#F26E3F}
.bn-specs{width:100%;border:1px solid #eee;border-radius:8px;border-collapse:separate;border-spacing:0;overflow:hidden;font-size:12px}
.bn-specs th{width:220px;text-align:left;padding:13px 18px;font:600 12px 'Poppins',sans-serif;color:#333;background:#fafafa;border-bottom:1px solid #f2f2f2}
.bn-specs td{padding:13px 18px;color:#666;border-bottom:1px solid #f2f2f2}
.bn-rating-sum{display:flex;gap:28px;flex-wrap:wrap;border:1px solid #eee;border-radius:10px;padding:18px;margin-bottom:16px}
.bn-rating-sum>div:first-child{text-align:center}
.bn-rating-sum strong{display:block;font:800 26px 'Poppins',sans-serif;color:#333}
.bn-rating-sum small{display:block;color:#999;font-size:10.5px}
.bn-rating-bars{display:grid;gap:5px;align-content:center;flex:1;min-width:200px}
.bn-rating-bars>div{display:flex;align-items:center;gap:8px;font-size:11px;color:#8a90a0}
.bn-rating-bars i{flex:1;max-width:260px;height:7px;background:#f0f0f0;border-radius:4px;overflow:hidden}
.bn-rating-bars b{display:block;height:100%;background:#F5A623}

.bn-also{padding:8px 0 32px;border-top:1px solid #f5f5f5;margin-top:24px}
.bn-also-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin-top:16px}
.bn-also-card{border:1px solid #f0f0f0;border-radius:10px;padding:12px;text-align:center;display:block;color:inherit;text-decoration:none;background:#fff}
.bn-also-card:hover{border-color:#ee6d43}
.bn-also-img{display:block;height:110px;border-radius:6px;overflow:hidden;background:#f4f5f7}
.bn-also-img img{width:100%;height:100%;object-fit:cover;display:block}
.bn-also-card strong{display:block;font:600 12px 'Poppins',sans-serif;color:#1B3B7A;margin-top:10px}
.bn-also-card small{display:block;font-size:11px;color:#555;margin-top:4px}
.bn-also-btn{display:inline-block;margin-top:8px;border:1px solid #ee6d43;color:#ee6d43;border-radius:6px;padding:6px 18px;font:600 11px 'Poppins',sans-serif}

.bn-refer{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;background:#fdf0f4;padding:18px;border-radius:12px;margin-bottom:24px}
.bn-refer strong{font:700 16px 'Poppins',sans-serif;color:#1B3B7A}
.bn-refer span{font:500 13px system-ui;color:#444}
@media (max-width:720px){
  .bn-seller-points{grid-template-columns:1fr}
  .bn-specs th{width:auto;display:block;border-bottom:none;padding-bottom:2px}
  .bn-specs td{display:block;padding-top:2px}
  .bn-tabbody{padding:18px 0}
}

/* The thumbnails the shop supplied are drawn at 116 px; showing them at half
   that threw away the detail in the grommet and pole-pocket drawings, which is
   the whole point of having a picture rather than a word. The tiles grow to
   suit, and still fall to two columns on a phone. */
.bn-opt-img{width:116px;height:116px;object-fit:contain;display:block}
/* Media & Materials: name and a line of plain English, no rate. The shop's
   rates live in Admin CP; the price of this banner is in the price row. */
.bn-materials{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.bn-materials button{border:1px solid #d8dbe0;background:#fff;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;cursor:pointer;font-family:inherit;color:#22262b}
.bn-materials button.is-on{border-color:#ee6d43;background:#fff7f3}
.bn-materials button small{font-size:12.5px;font-weight:700}
.bn-materials button span{font-size:11px;color:#6b7280;line-height:1.35}
.bn-options small{font-size:10px;text-align:center;line-height:1.3}
.bn-options b{font-size:10px;color:#ee6d43}
.bn-field textarea{border:1px solid #d8dbe0;border-radius:6px;padding:10px;font:400 13px 'Poppins',sans-serif;resize:vertical}
.bn-assure{border:1px solid #d8dbe0;border-left:4px solid #ee6d43;border-radius:6px;padding:10px 12px;display:flex;gap:10px;align-items:center;font-size:12px}
.bn-assure span:first-child{color:#ee6d43;font-weight:700}.bn-assure small{flex:1;color:#6b7280}
.bn-price-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #eceef0;padding-top:14px}
.bn-price-row>div:first-child{display:flex;flex-direction:column}
.bn-price-row strong{font-size:26px}.bn-price-row small{font-size:11px;color:#6b7280}
.bn-qty{display:flex;border:1px solid #d8dbe0;border-radius:6px;overflow:hidden}
.bn-qty button{width:32px;border:none;background:#f5f6f8;cursor:pointer;font-size:16px}.bn-qty input{width:44px;text-align:center;border:none;font-size:14px}
.bn-features ul{margin:8px 0 0;padding-left:20px;font-size:13px;color:#4b5563;line-height:1.8}
.bn-modal{max-width:720px}
.bn-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0 4px}
.bn-methods button{background:#fff;border:1px solid #e5e8ee;border-radius:12px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;cursor:pointer;font-family:inherit}
.bn-methods button:hover{border-color:#2f8fe5;background:#f7fbff}
.bn-methods strong{font-size:14px}.bn-methods small{font-size:11.5px;color:#6b7280;line-height:1.5}
.bn-designer{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.bn-designer label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600}
.bn-designer input,.bn-designer textarea{border:1px solid #d8dbe0;border-radius:6px;padding:10px;font:400 13px 'Poppins',sans-serif}
.bn-designer-btns{display:flex;justify-content:space-between;gap:10px}
.bn-sent{text-align:center;padding:20px 0;display:flex;flex-direction:column;gap:10px;align-items:center}
.bn-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.bn-project{border:1px solid #e5e8ee;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;background:#fff}
.bn-project-media{aspect-ratio:1.6;background:#f0f1f3;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:12px;color:#6b7280}
.bn-project-media img{width:100%;height:100%;object-fit:contain}
.bn-project small{font-size:11px;color:#6b7280}
.bn-project-btns{display:flex;gap:8px;margin-top:4px}.bn-project-btns .pb-btn{padding:9px 14px;font-size:12px}

/* ---- studio ---- */
.bs-shell{height:100vh;display:flex;flex-direction:column;background:#f2f3f5;font-family:'Poppins',system-ui,sans-serif;color:#22262b;user-select:none}
.bs-empty{align-items:center;justify-content:center;text-align:center}.bs-empty>div{display:flex;flex-direction:column;gap:12px;align-items:center}
.bs-top{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#fff;border-bottom:1px solid #eee;position:relative;z-index:30}
.bs-logo img{height:30px;display:block}
.bs-project{position:relative;display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500}
.bs-project:hover{background:#f2f2f2}
.bs-menu{position:absolute;top:38px;left:0;background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.14);width:220px;padding:6px;display:flex;flex-direction:column;z-index:200}
.bs-menu a,.bs-menu button{display:block;padding:9px 10px;border-radius:6px;font:400 12px system-ui;color:#333;text-align:left;background:none;border:none;cursor:pointer;text-decoration:none}
.bs-menu a:hover,.bs-menu button:hover{background:#f5f5f5}
.bs-iconbtn{background:none;border:none;font-size:18px;color:#444;cursor:pointer;padding:4px 6px}.bs-iconbtn:disabled{color:#c3c8cf}
.bs-save{font-size:11px;color:#8b93a1}.bs-save.is-saving{color:#ee6d43}.bs-save.is-savefailed,.bs-save.is-offlinechanges{color:#c8324a}
.bs-size{font-size:11px;color:#4b5563;margin-left:6px}
.bs-top-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.bs-price{font-weight:700;font-size:15px}
.bs-top .pb-btn{padding:9px 16px;font-size:12.5px;border-radius:6px}
.bs-note{background:#fff7f5;border-bottom:1px solid #f3c6b8;color:#c8324a;font-size:12px;padding:6px 16px;display:flex;justify-content:space-between}
.bs-note button{background:none;border:none;cursor:pointer}
.bs-body{flex:1;display:flex;min-height:0}
.bs-rail{width:72px;background:#fff;border-right:1px solid #eee;display:flex;flex-direction:column;overflow:auto}
.bs-rail button{background:none;border:none;border-left:3px solid transparent;padding:11px 0 9px;display:flex;flex-direction:column;align-items:center;gap:3px;font:500 9.5px 'Poppins',sans-serif;color:#6b7280;cursor:pointer}
.bs-rail button i{font-size:18px;font-style:normal;color:#444}
.bs-rail button.is-on{background:#f0f1f3;border-left-color:#ee6d43;color:#22262b}
.bs-panel{width:300px;background:#fff;border-right:1px solid #eee;display:flex;flex-direction:column;min-height:0}
.bs-panel-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #eee;font-size:13px}
.bs-panel-head button{background:none;border:none;font-size:14px;cursor:pointer;color:#8b93a1}
.bs-panel-body{padding:12px 14px;overflow:auto;display:flex;flex-direction:column;gap:10px;font-size:12px}
.bs-panel-body>*{flex-shrink:0}
.bs-primary{background:#ee6d43;color:#fff;border:none;border-radius:6px;padding:11px;font:700 12.5px 'Poppins',sans-serif;cursor:pointer}
.bs-secondary{background:#fff;color:#22262b;border:1px solid #d8dbe0;border-radius:6px;padding:10px;font:600 12px 'Poppins',sans-serif;cursor:pointer}
.bs-small{background:#ee6d43;color:#fff;border:none;border-radius:5px;padding:6px 10px;font:600 11px 'Poppins',sans-serif;cursor:pointer}
.bs-small.is-ghost{background:#fff;color:#4b5563;border:1px solid #d8dbe0}.bs-small:disabled{opacity:.5}
.bs-voice{background:linear-gradient(135deg,#eef6ff,#f6efff);border-radius:10px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.bs-voice-head{font-weight:700;color:#7a5fd0}.bs-voice p{margin:0;font-size:11px;color:#4b5563;line-height:1.5}
.bs-mic{width:54px;height:54px;border-radius:50%;background:#1E9BF0;color:#fff;border:none;font-size:22px;cursor:pointer;box-shadow:0 6px 16px rgba(30,155,240,.35)}
.bs-mic.is-on{background:#E5197E;box-shadow:0 6px 16px rgba(229,25,126,.4);animation:bsPulse 1s infinite}
.bs-mic.is-small{width:36px;height:36px;font-size:15px;box-shadow:none}
@keyframes bsPulse{50%{transform:scale(1.08)}}
.bs-voice-text{width:100%;background:#fff;border-radius:6px;padding:8px;font-size:13px;text-align:left;display:flex;flex-direction:column;gap:6px}
.bs-voice-text div{display:flex;gap:6px}
.bs-translit{display:flex;flex-direction:column;gap:6px}
.bs-translit input,.bs-ai-input input,.bs-panel-body label input:not([type=range]):not([type=color]):not([type=number]),.bs-panel-body>label input{border:1px solid #d8dbe0;border-radius:6px;padding:9px;font:400 13px 'Poppins',sans-serif;width:100%;box-sizing:border-box}
.bs-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bs-seg{display:inline-flex;border:1px solid #d8dbe0;border-radius:6px;overflow:hidden}
.bs-seg button{background:#fff;border:none;padding:0 10px;min-height:32px;height:auto;line-height:18px;display:flex;align-items:center;justify-content:center;font:600 11px 'Poppins',sans-serif;cursor:pointer;color:#6b7280;flex:1;white-space:nowrap}
.bs-seg button.is-on{background:#eaf3fd;color:#1f7ed6}.bs-seg.is-wide{display:flex}
.bs-trout{flex:1;min-height:22px;font-size:15px;font-family:'Anek Telugu','Noto Sans Telugu',sans-serif}
.bs-textlist{display:flex;flex-direction:column;gap:6px}
.bs-textrow{display:flex;gap:6px;align-items:center}
.bs-locked-note{background:#eef4fb;border:1px solid #d7e6f5;border-radius:8px;padding:10px 12px;font-size:11.5px;line-height:1.55;color:#41546b;margin:0}
.bs-textrow input{flex:1;border:1px solid #d8dbe0;border-radius:6px;padding:8px;font:500 13px 'Anek Telugu','Poppins',sans-serif}
.bs-textrow.is-on input{border-color:#ee6d43}
.bs-textrow button{background:none;border:none;cursor:pointer}
.bs-emptybox{border:1px dashed #d8dbe0;border-radius:8px;padding:20px 12px;text-align:center;display:flex;flex-direction:column;gap:4px;color:#6b7280}
.bs-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bs-thumbs button{aspect-ratio:1;border:1px solid #e5e8ee;border-radius:6px;overflow:hidden;padding:0;background:#f0f1f3;cursor:pointer}
.bs-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.bs-thumb-add{font:600 11px 'Poppins',sans-serif;color:#ee6d43}
.bs-imgtools{display:flex;flex-direction:column;gap:6px;border-top:1px solid #eee;padding-top:10px}
.bs-imgtools label{display:flex;align-items:center;gap:8px;font-size:11px}.bs-imgtools input[type=range]{flex:1}
.bs-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.bs-grid4 button{aspect-ratio:1;border:1px solid #e5e8ee;border-radius:6px;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:20px}
.bs-grid4 button svg{width:24px;height:24px;fill:#333}.bs-grid4 small{font-size:9px;color:#6b7280}
.bs-swatches{display:flex;flex-wrap:wrap;gap:6px}
.bs-swatches button{width:30px;height:30px;border-radius:6px;border:1px solid #d8dbe0;cursor:pointer}.bs-swatches button.is-on{outline:2px solid #ee6d43;outline-offset:1px}
.bs-custom-colour{display:flex;align-items:center;gap:4px;font-size:11px}.bs-custom-colour input{width:30px;height:30px;border:none;padding:0;background:none}
.bs-layers{gap:4px}
.bs-layer{display:flex;align-items:center;gap:4px;padding:6px;border-radius:6px;cursor:pointer;font-size:12px}
.bs-layer:hover{background:#f5f6f8}.bs-layer.is-on{background:#fff3ef;outline:1px solid #ee6d43}
.bs-layer-ico{width:22px;text-align:center;color:#6b7280}.bs-layer-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bs-layer-name small{color:#9aa1ab}
.bs-layer button{background:none;border:none;cursor:pointer;font-size:12px;padding:2px 3px}.bs-layer button:disabled{opacity:.3}
.bs-ai{flex:1}
.bs-ai-hint{font-size:11px;color:#6b7280;background:#f5f6f8;border-radius:6px;padding:8px;margin:0}
.bs-ai-thread{display:flex;flex-direction:column;gap:6px;max-height:40vh;overflow:auto}
.bs-ai-msg{border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.5}
.bs-ai-msg.is-you{background:#eaf3fd;align-self:flex-end}.bs-ai-msg.is-ai{background:#f5f6f8}
.bs-ai-msg ul{margin:4px 0 0;padding-left:0;list-style:none;font-size:11.5px}.bs-ai-msg small{display:block;font-size:9px;color:#9aa1ab;margin-top:4px}
.bs-ai-apply{display:flex;gap:8px}
.bs-ai-input{display:flex;gap:6px;align-items:center}
.bs-sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.bs-sizes button{border:1px solid #d8dbe0;background:#fff;border-radius:5px;padding:6px 2px;font:500 11px 'Poppins',sans-serif;cursor:pointer}
.bs-sizes button.is-on{border-color:#ee6d43;color:#ee6d43;background:#fff7f3}
.bs-customsize input{width:56px;border:1px solid #d8dbe0;border-radius:5px;padding:6px}
.bs-customsize select,.bs-product select{border:1px solid #d8dbe0;border-radius:5px;padding:6px;font-size:12px}
.bs-product input[type=number]{width:80px;border:1px solid #d8dbe0;border-radius:5px;padding:6px}
.bs-quote{background:#f5f6f8;border-radius:8px;padding:10px;font-size:11.5px;display:flex;flex-direction:column;gap:3px}
.bs-stage{flex:1;position:relative;overflow:auto;display:flex;align-items:center;justify-content:center;background:#e9eaee;background-image:radial-gradient(#d6d8dd 1px,transparent 1px);background-size:18px 18px}
.bs-canvas-wrap{position:relative;margin:auto;box-shadow:0 10px 30px rgba(20,30,45,.25);background:#fff}
.bs-canvas-scale{transform-origin:top left;position:relative}
.bs-safe{position:absolute;border:1px dashed rgba(47,106,70,.6);pointer-events:none;z-index:2}
.bs-bleed{position:absolute;border:1px dashed rgba(47,102,144,.5);pointer-events:none;z-index:2}
.bs-safe-round{border-radius:50%}
.bs-canvas-wrap{overflow:hidden}
.bs-round{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 9999px rgba(40,44,52,.22);pointer-events:none;z-index:1}
.bs-textbar{position:fixed;top:62px;left:50%;transform:translateX(-50%);z-index:20;background:#fff;border:1px solid #e5e8ee;border-radius:8px;box-shadow:0 6px 20px rgba(20,30,45,.18);display:flex;align-items:center;gap:4px;padding:6px 8px;flex-wrap:wrap;max-width:95%}
.bs-textbar select{border:1px solid #d8dbe0;border-radius:5px;padding:5px;font-size:12px;max-width:150px}
.bs-textbar button{background:none;border:1px solid transparent;border-radius:5px;padding:5px 8px;font-size:13px;cursor:pointer}
.bs-textbar button.is-on{background:#fdeef0;border-color:#f3c6b8}
.bs-textbar input[type=color]{width:28px;height:28px;border:none;background:none;padding:0}
.bs-size-in{width:44px;text-align:center;border:1px solid #d8dbe0;border-radius:5px;padding:5px;font-size:12px}
.bs-zoombar{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:#fff;border:1px solid #e5e8ee;border-radius:8px;box-shadow:0 4px 14px rgba(20,30,45,.15);display:flex;align-items:center;gap:6px;padding:5px 10px;font-size:12px;z-index:10}
.bs-zoompop{position:absolute;bottom:44px;left:50%;transform:translateX(-50%);background:#fff;border-radius:10px;box-shadow:0 8px 26px rgba(20,30,45,.2);padding:12px 14px;width:290px;display:grid;gap:7px}
.bs-zoompop div{display:flex;justify-content:space-between;gap:14px;font:400 11px system-ui;color:#8a90a0}
.bs-zoompop b{color:#22262b;font-weight:600;text-align:right}
.bs-zoombar button{background:none;border:none;font-size:14px;cursor:pointer;padding:2px 6px}
.bs-dims{font-size:10px;color:#8b93a1;margin-left:8px}
.bs-help{position:absolute;right:16px;bottom:18px;background:#fff;border:1px solid #e5e8ee;border-radius:20px;padding:7px 12px;font-size:11px;color:#1E9BF0;text-decoration:none;box-shadow:0 4px 14px rgba(20,30,45,.12)}
.bs-overlay{position:fixed;inset:0;background:rgba(20,22,26,.72);z-index:500;display:flex;align-items:center;justify-content:center;padding:20px}
.bs-overlay-close{position:absolute;top:16px;right:20px;background:none;border:none;color:#fff;font-size:22px;cursor:pointer}
.bs-preview{max-width:min(1100px,94vw);display:flex;flex-direction:column;gap:8px;align-items:center}
.bs-preview img{max-width:100%;max-height:78vh;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.bs-preview-cap{color:#c8ccd2;font-size:12px}
.bs-review{background:#fff;border-radius:14px;max-width:1000px;width:100%;max-height:92vh;overflow:auto;padding:22px}
.bs-review h2{margin:0 0 14px;font-size:20px}
.bs-review-body{display:flex;gap:20px;flex-wrap:wrap}
.bs-review-img{flex:1 1 420px;min-width:260px}.bs-review-img img{width:100%;border:1px solid #e5e8ee;border-radius:6px}
.bs-review-side{flex:1 1 300px;display:flex;flex-direction:column;gap:12px;font-size:12.5px}
.bs-check{background:#f5f6f8;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:4px;font-size:12px}
.bs-check strong{font-size:11px;letter-spacing:1px;color:#6b7280;margin-bottom:4px}
.bs-check .is-ok{color:#2e7d32}.bs-check .is-warn{color:#b9812c}.bs-check .is-error{color:#c8324a}
.bs-order{border:1px solid #e5e8ee;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:2px}
.bs-agree{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5}
.bs-rail button,.bs-panel,.bs-objbar,.bs-zoombar{transition:background .15s ease,transform .18s ease,opacity .15s ease}
.bs-rail button:hover{background:#f2f7fc}
.bs-panel{box-shadow:4px 0 12px rgba(0,0,0,.04)}

/* The prototype's floating toolbar: it hangs above whatever is selected. */
/* Rulers and the safe-area note framing the artwork, as the prototype draws
   them. Purely presentational — they sit over the stage, not in the document. */
.bs-frame{position:absolute;pointer-events:none;z-index:6}
.bs-measure{position:absolute;display:flex;align-items:center;justify-content:center;gap:6px;background:none;border:none;cursor:pointer;color:#9aa1ad;font:500 10.5px system-ui;padding:0}
.bs-measure span{white-space:nowrap;color:#6b7280}
.bs-measure i{display:block;background:#c9ced7}
.bs-measure.is-v{left:-46px;top:0;bottom:0;flex-direction:column;width:34px}
.bs-measure.is-v i{width:1px;flex:1}
.bs-measure.is-v span{writing-mode:vertical-rl;transform:rotate(180deg)}
.bs-measure.is-h{bottom:-34px;left:0;right:0;height:26px}
.bs-measure.is-h i{height:1px;flex:1}
.bs-measure:hover span{color:#1E9BF0}
.bs-eyelet{position:absolute;width:15px;height:15px;border-radius:50%;border:2px solid rgba(20,26,34,.62);box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 5px rgba(20,26,34,.62);pointer-events:none}
.bs-eyelet.is-tl{left:10px;top:10px}.bs-eyelet.is-tr{right:10px;top:10px}
.bs-eyelet.is-bl{left:10px;bottom:10px}.bs-eyelet.is-br{right:10px;bottom:10px}
.bs-pills span.is-safe{border-color:#bfe3cd;background:#f2fbf6;color:#2f6a46}
.bs-pills span.is-bleed{border-color:#bcd9f2;background:#f2f8fd;color:#2f6690}
.bs-pills{position:absolute;top:-26px;right:0;display:flex;gap:6px}
.bs-pills span{border:1px solid #7ecfc4;color:#3a8b80;background:#eefaf7;font:500 10px system-ui;padding:2px 9px;border-radius:10px;white-space:nowrap}
.bs-frame::before,.bs-frame::after{content:'';position:absolute;border-color:#c4c9d2;border-style:solid}
.bs-frame::before{left:-26px;top:0;bottom:0;border-width:0 0 0 1px}
/* Tick marks along the two rules, so the frame reads as a measured drawing
   rather than a plain box. Ten divisions, whatever the banner measures. */
.bs-frame::after{left:0;right:0;bottom:-26px;border-width:1px 0 0}

/* Effects, the text panel from the prototype. */
.bs-fx{position:fixed;top:62px;right:16px;left:auto;width:248px;background:#fff;border-radius:10px;box-shadow:0 8px 28px rgba(20,30,45,.18);padding:14px;z-index:24;display:flex;flex-direction:column;gap:4px}
.bs-fx-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.bs-fx{max-height:calc(100vh - 92px);overflow:auto}
.bs-barpop{position:fixed;top:108px;left:50%;transform:translateX(-50%);z-index:26;display:flex;align-items:center;gap:4px;background:#fff;border-radius:9px;box-shadow:0 6px 20px rgba(20,30,45,.2);padding:6px 8px}
.bs-barpop button{min-width:34px;min-height:30px;border:1px solid transparent;background:none;border-radius:6px;padding:4px 8px;font:600 12.5px system-ui;cursor:pointer;color:#22262b;display:grid;place-items:center}
.bs-barpop button:hover{background:#f2f5f9}
.bs-barpop button.is-on{border-color:#1E9BF0;background:#eaf2ff;color:#1E9BF0}
.bs-spacing{display:grid;gap:8px;min-width:270px;padding:2px 4px}
.bs-spacing label{display:grid;gap:4px;font:500 10.5px system-ui;color:#6b7280}
.bs-spacing span{display:flex;align-items:center;gap:6px}
.bs-spacing input[type=range]{flex:1;accent-color:#1E9BF0}
.bs-spacing input[type=number]{width:64px;font:inherit;font-size:11.5px;padding:3px 5px;border:1px solid #e0e4ea;border-radius:5px}
.bs-reset{min-width:24px!important;color:#8b93a1!important}
.bs-fontname{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #e0e4ea!important;border-radius:7px;padding:6px 10px!important;font:500 12px system-ui}
.bs-hidden-select{display:none}
.bs-swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.15)!important;cursor:pointer;padding:0!important}
.bs-search{width:100%;padding:8px 10px;border:1px solid #e0e4ea;border-radius:8px;font:inherit;font-size:12.5px;margin-bottom:10px}
.bs-fontgroup h4{font:700 10px 'Poppins',sans-serif;color:#8b93a1;text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px}
.bs-fontsub{font:600 9.5px 'Poppins',sans-serif;color:#b0b6c0;text-transform:uppercase;letter-spacing:.08em;margin:10px 0 4px}
.bs-fontrow{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:19px;color:#22262b}
/* Until its face has loaded the sample is shown in the page font, dimmed —
   never blank, because a row with no text looks broken rather than loading. */
.bs-fontrow-wait{opacity:.45}
.bs-fontrow small{font-family:system-ui;font-size:10.5px;color:#9aa1ad}
.bs-fontrow:hover{background:#f6f8fb}
.bs-fontrow.is-on{border-color:#ee6d43;background:#fff7f3}
.bs-colourpanel label{display:grid;gap:4px;font:500 10.5px system-ui;color:#6b7280;margin-bottom:8px}
.bs-colourpanel label input{font:inherit;font-size:12.5px;padding:7px 9px;border:1px solid #e0e4ea;border-radius:7px}
.bs-colourpanel h4{font:700 10px 'Poppins',sans-serif;color:#8b93a1;text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px}
.bs-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.bs-swatches button{aspect-ratio:1;border-radius:50%;border:1px solid rgba(0,0,0,.12);cursor:pointer}
@media (max-width:900px){.bs-barpop{top:auto;bottom:calc(112px + env(safe-area-inset-bottom))}}
.bs-casebar{position:fixed;top:108px;left:50%;transform:translateX(-50%);z-index:26;display:flex;align-items:center;gap:4px;background:#fff;border-radius:9px;box-shadow:0 6px 20px rgba(20,30,45,.2);padding:6px 10px}
.bs-casebar span{font:600 10.5px 'Poppins',sans-serif;color:#6b7280;margin-right:4px}
.bs-casebar button{min-width:34px;border:1px solid transparent;background:none;border-radius:6px;padding:5px 8px;font:600 12px system-ui;cursor:pointer;color:#22262b}
.bs-casebar button:hover{background:#f2f5f9}
@media (max-width:900px){.bs-barpop{position:fixed;top:108px;left:50%;transform:translateX(-50%);z-index:26;display:flex;align-items:center;gap:4px;background:#fff;border-radius:9px;box-shadow:0 6px 20px rgba(20,30,45,.2);padding:6px 8px}
.bs-barpop button{min-width:34px;min-height:30px;border:1px solid transparent;background:none;border-radius:6px;padding:4px 8px;font:600 12.5px system-ui;cursor:pointer;color:#22262b;display:grid;place-items:center}
.bs-barpop button:hover{background:#f2f5f9}
.bs-barpop button.is-on{border-color:#1E9BF0;background:#eaf2ff;color:#1E9BF0}
.bs-spacing{display:grid;gap:8px;min-width:270px;padding:2px 4px}
.bs-spacing label{display:grid;gap:4px;font:500 10.5px system-ui;color:#6b7280}
.bs-spacing span{display:flex;align-items:center;gap:6px}
.bs-spacing input[type=range]{flex:1;accent-color:#1E9BF0}
.bs-spacing input[type=number]{width:64px;font:inherit;font-size:11.5px;padding:3px 5px;border:1px solid #e0e4ea;border-radius:5px}
.bs-reset{min-width:24px!important;color:#8b93a1!important}
.bs-fontname{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #e0e4ea!important;border-radius:7px;padding:6px 10px!important;font:500 12px system-ui}
.bs-hidden-select{display:none}
.bs-swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.15)!important;cursor:pointer;padding:0!important}
.bs-search{width:100%;padding:8px 10px;border:1px solid #e0e4ea;border-radius:8px;font:inherit;font-size:12.5px;margin-bottom:10px}
.bs-fontgroup h4{font:700 10px 'Poppins',sans-serif;color:#8b93a1;text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px}
.bs-fontsub{font:600 9.5px 'Poppins',sans-serif;color:#b0b6c0;text-transform:uppercase;letter-spacing:.08em;margin:10px 0 4px}
.bs-fontrow{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:19px;color:#22262b}
/* Until its face has loaded the sample is shown in the page font, dimmed —
   never blank, because a row with no text looks broken rather than loading. */
.bs-fontrow-wait{opacity:.45}
.bs-fontrow small{font-family:system-ui;font-size:10.5px;color:#9aa1ad}
.bs-fontrow:hover{background:#f6f8fb}
.bs-fontrow.is-on{border-color:#ee6d43;background:#fff7f3}
.bs-colourpanel label{display:grid;gap:4px;font:500 10.5px system-ui;color:#6b7280;margin-bottom:8px}
.bs-colourpanel label input{font:inherit;font-size:12.5px;padding:7px 9px;border:1px solid #e0e4ea;border-radius:7px}
.bs-colourpanel h4{font:700 10px 'Poppins',sans-serif;color:#8b93a1;text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px}
.bs-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.bs-swatches button{aspect-ratio:1;border-radius:50%;border:1px solid rgba(0,0,0,.12);cursor:pointer}
@media (max-width:900px){.bs-barpop{top:auto;bottom:calc(112px + env(safe-area-inset-bottom))}}
.bs-casebar{top:auto;bottom:calc(112px + env(safe-area-inset-bottom))}}
.bs-fx-tabs{display:flex;gap:4px;border-bottom:1px solid #eef0f3;margin-bottom:6px}
.bs-fx-tabs button{flex:1;background:none;border:none;border-bottom:2px solid transparent;padding:7px 4px;font:600 11.5px 'Poppins',sans-serif;color:#6b7280;cursor:pointer}
.bs-fx-tabs button.is-on{color:#ee6d43;border-bottom-color:#ee6d43}
.bs-fx-char{display:flex;flex-direction:column;gap:4px}
.bs-fx-char select,.bs-fx-char input[type=number]{font:inherit;font-size:11.5px;padding:5px 6px;border:1px solid #e0e4ea;border-radius:6px;width:100%}
.bs-fx-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bs-fx-two label{display:flex;flex-direction:column;gap:3px;font:500 10px system-ui;color:#6b7280}
/* Alignment icons drawn in CSS. The arrow characters they replaced are absent
   from most Windows fonts and rendered as empty boxes. */
.bs-grads{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:4px}
.bs-grads button{display:grid;gap:4px;justify-items:center;border:1px solid #e0e4ea;background:#fff;border-radius:7px;padding:5px 3px;cursor:pointer;font:500 9px system-ui;color:#555}
.bs-grads button span{display:block;width:100%;height:20px;border-radius:4px;border:1px solid rgba(0,0,0,.08)}
.bs-grads button.is-on{border-color:#ee6d43;background:#fff7f3;color:#ee6d43}
.bs-ali{display:flex;flex-direction:column;gap:2px;width:15px}
.bs-ali i{display:block;height:2px;border-radius:1px;background:currentColor;width:100%}
.bs-ali.is-left i:nth-child(2),.bs-ali.is-left i:nth-child(3){width:62%}
.bs-ali.is-right i:nth-child(2),.bs-ali.is-right i:nth-child(3){width:62%;margin-left:auto}
.bs-ali.is-center i:nth-child(2),.bs-ali.is-center i:nth-child(3){width:62%;margin:0 auto}
.bs-fx .bs-small{min-width:30px;padding:5px 7px;border:1px solid #e0e4ea;background:#fff;border-radius:6px;cursor:pointer;font-size:12px}
.bs-fx .bs-small.is-on{border-color:#ee6d43;background:#fff7f3;color:#ee6d43}
.bs-fx-head strong{font:600 14px 'Poppins',sans-serif;color:#1f2937}
.bs-fx-head button{background:none;border:none;cursor:pointer;color:#8b93a1;font-size:13px}
.bs-fx small{font:500 10px system-ui;color:#6b7280;margin-top:8px}
.bs-fx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}
.bs-fx-grid button{border:1px solid #e5e8ee;border-radius:8px;padding:8px 4px;display:grid;justify-items:center;gap:5px;cursor:pointer;background:#fff;font:400 9px system-ui;color:#555}
.bs-fx-grid button.is-on{border-color:#ee6d43;background:#fff7f3}
.bs-fx-demo{font:700 17px Georgia,serif;color:#333}
.bs-fx-demo.is-shadow{text-shadow:2px 2px 3px rgba(0,0,0,.45)}
.bs-fx-demo.is-lift{text-shadow:0 6px 10px rgba(0,0,0,.3)}
.bs-fx-demo.is-glow{text-shadow:0 0 8px rgba(255,180,60,.95)}
.bs-fx-demo.is-outline{-webkit-text-stroke:1px #ee6d43}
.bs-fx input[type=range]{width:100%;accent-color:#1E9BF0}
.bs-fx-check{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:12px;cursor:pointer}
.bs-fx-check strong{font:600 12px 'Poppins',sans-serif;color:#1f2937}
.bs-fx-stroke{display:flex;flex-direction:column;gap:3px;border-left:2px solid #eaeef3;padding-left:10px;margin-top:4px}
.bs-fx-stroke select{font:inherit;font-size:11.5px;padding:4px 6px;border:1px solid #e0e4ea;border-radius:6px}
.bs-fx-note{color:#8a6d3b;line-height:1.45}
/* Live validation: a mark on the layer, and the list of what to fix. */
.bs-drawer-bg{position:fixed;inset:0;background:rgba(24,30,40,.55);z-index:330;display:flex;justify-content:flex-end}
.bs-drawer{display:flex;background:#fff;width:min(1040px,96vw);height:100%;box-shadow:-10px 0 40px rgba(0,0,0,.25);animation:bs-slide .18s ease-out}
@keyframes bs-slide{from{transform:translateX(24px);opacity:.6}to{transform:none;opacity:1}}
.bs-drawer-preview{flex:1;display:grid;place-items:center;background:#f4f5f7;padding:24px;min-width:0}
.bs-drawer-preview img{max-width:100%;max-height:100%;box-shadow:0 6px 24px rgba(0,0,0,.18);border-radius:3px}
.bs-drawer-side{width:360px;flex:none;overflow:auto;padding:18px 20px 24px;display:flex;flex-direction:column;gap:6px}
/* While the shop is working out a new size, the choices stay visible but cannot
   be pressed again — a second tap on a slow line sends a second round trip and
   the answers can come back out of order. */
.bs-drawer-side.is-busy button,.bs-drawer-side.is-busy input,.bs-drawer-side.is-busy select{pointer-events:none;opacity:.55}
.bs-drawer-busy{margin:0 0 8px;font:600 11.5px 'Poppins',sans-serif;color:#ee6d43}
.bs-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}
.bs-drawer-head strong{font:700 17px 'Poppins',sans-serif}
.bs-drawer-head p{margin:2px 0 0}
.bs-drawer-head button{background:none;border:none;font-size:16px;color:#8b93a1;cursor:pointer}
.bs-drawer-done{margin-top:14px;position:sticky;bottom:0}
@media (max-width:900px){.bs-drawer{flex-direction:column;width:100vw}.bs-drawer-preview{flex:none;height:34vh;padding:12px}.bs-drawer-side{width:auto;flex:1}}
.bs-keys-bg{position:fixed;inset:0;background:rgba(20,26,34,.45);z-index:320;display:grid;place-items:center;padding:20px}
.bs-keys{background:#fff;border-radius:14px;padding:18px 20px;max-width:430px;width:100%;max-height:80vh;overflow:auto;box-shadow:0 18px 50px rgba(0,0,0,.3)}
.bs-keys-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.bs-keys-head strong{font:700 15px 'Poppins',sans-serif}
.bs-keys-head button{background:none;border:none;font-size:15px;color:#8b93a1;cursor:pointer}
.bs-keys dl{display:grid;gap:7px;margin:0}
.bs-keys dl>div{display:grid;grid-template-columns:132px 1fr;gap:10px;align-items:center}
.bs-keys dt{display:flex;gap:3px}
.bs-keys dd{margin:0;font:400 12px system-ui;color:#555}
.bs-keys kbd{font:600 10.5px ui-monospace,monospace;background:#f3f5f8;border:1px solid #dfe3ea;border-bottom-width:2px;border-radius:5px;padding:2px 6px;color:#3b4350}
.bs-guides{position:absolute;pointer-events:none;z-index:7}
.bs-guide{position:absolute;display:block}
.bs-guide.is-canvas-centre{background:#e5197e}
.bs-guide.is-layer{background:#1E9BF0}
.bs-guide.is-safe{background:#2FA870}
.bs-guide.is-canvas-edge{background:#8b93a1}
.bs-layer-flag{flex:none;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;font:700 10px system-ui;color:#fff}
.bs-layer-flag.is-error{background:#d9584b}
.bs-layer-flag.is-warn{background:#e0a32e}
.bs-issues{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;padding:10px;border-radius:9px;background:#fff8f6;border:1px solid #f0d8d2}
.bs-issues>strong{font:700 11px 'Poppins',sans-serif;color:#9c3d30}
.bs-issues.is-clear{background:#f3faf5;border-color:#cfe8d8;color:#2f6a46;font:500 11px system-ui;padding:9px 11px;margin-bottom:10px}
.bs-issue{text-align:left;background:#fff;border:1px solid #f0dcd6;border-radius:7px;padding:7px 9px;font:400 10.5px/1.45 system-ui;color:#5d4741;cursor:pointer}
.bs-issue:hover{border-color:#d9584b}
.bs-issue b{display:block;font:600 10.5px 'Poppins',sans-serif;color:#22262b}
.bs-issue.is-error b::after{content:' — fix';color:#d9584b}
.bs-fx-row{display:flex;align-items:center;gap:10px}
.bs-fx-row input[type=color]{width:30px;height:24px;border:none;background:none;padding:0;cursor:pointer}

.bs-alignbar{z-index:23}
/* Picture toolbar and its popovers, to the prototype. */
.bs-imgbar{position:fixed;top:62px;left:50%;transform:translateX(-50%);z-index:21;display:flex;align-items:center;background:#fff;border-radius:10px;box-shadow:0 4px 16px rgba(20,30,45,.18);padding:5px 6px;max-width:96%;overflow-x:auto;scrollbar-width:none}
.bs-imgbar::-webkit-scrollbar{display:none}
.bs-imgbar button{display:flex;gap:6px;align-items:center;background:none;border:none;padding:8px 12px;border-radius:7px;cursor:pointer;font:600 12.5px system-ui;color:#111;white-space:nowrap}
.bs-imgbar button:hover{background:#f2f2f2}
.bs-imgbar button.is-on{background:#eaf2ff;color:#1E9BF0}
.bs-imgbar button:disabled{opacity:.45;cursor:default}
.bs-imgbar i{width:1px;height:20px;background:#e5e5e5;flex:none}
.bs-pop{position:fixed;top:112px;left:50%;transform:translateX(-50%);z-index:26;background:#fff;border-radius:12px;box-shadow:0 8px 26px rgba(20,30,45,.2);padding:14px 16px;width:266px;display:flex;flex-direction:column;gap:6px}
.bs-pop-head{display:flex;justify-content:space-between;align-items:center}
.bs-pop-head strong{font:600 13px 'Poppins',sans-serif;color:#222}
.bs-pop-head button{background:none;border:none;cursor:pointer;color:#888;font-size:13px}
.bs-pop label{display:flex;flex-direction:column;gap:3px;font:500 10.5px system-ui;color:#666}
.bs-pop label b{color:#222;font-size:11px}
.bs-pop input[type=range]{width:100%;accent-color:#1E9BF0}
@media (max-width:900px){.bs-imgbar{top:auto;bottom:calc(64px + env(safe-area-inset-bottom));font-size:12px}.bs-pop{left:8px;right:8px;transform:none;width:auto;top:auto;bottom:calc(112px + env(safe-area-inset-bottom))}}
.bs-objbar button.is-on{background:#eaf2ff;color:#1E9BF0}

.bs-toast.is-warn{background:#7c2d3a;max-width:560px;display:flex;gap:14px;align-items:center;justify-content:center}
.bs-toast.is-warn button{background:none;border:none;color:#ffd8de;cursor:pointer;font-size:13px}
.bs-toast{position:fixed;left:50%;bottom:70px;transform:translateX(-50%);background:#1f2937;color:#fff;font:500 12px system-ui;padding:11px 20px;border-radius:22px;z-index:300;box-shadow:0 8px 24px rgba(0,0,0,.3);max-width:420px;text-align:center;animation:bs-toast-in .18s ease}
@keyframes bs-toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media (max-width:900px){.bs-frame{display:none}.bs-fx{left:8px;right:8px;width:auto;top:auto;bottom:calc(64px + env(safe-area-inset-bottom));max-height:56dvh;overflow:auto}}

.bs-objbar{position:absolute;transform:translateX(-50%);z-index:22;display:flex;gap:2px;background:#fff;border-radius:9px;box-shadow:0 3px 14px rgba(20,30,45,.20);padding:4px}
.bs-objbar button{width:30px;height:28px;display:grid;place-items:center;background:none;border:none;border-radius:6px;font-size:13px;cursor:pointer;color:#444}
.bs-objbar button:hover{background:#f2f2f2}
.bs-objbar button:disabled{opacity:.3;cursor:default}
.bs-objbar button.is-danger{color:#d9584b}.bs-objbar button.is-danger:hover{background:#fdecea}

/* ---- touch and small screens ----
   A 72px rail plus a 300px panel leaves a phone about forty pixels of artwork,
   so on a narrow screen the rail lies along the bottom where a thumb reaches,
   and the panel becomes a sheet that slides up over the canvas rather than
   squeezing it sideways. The canvas keeps the whole width either way. */
@media (max-width:900px){
  .bs-shell{height:100dvh}
  .bs-top{gap:8px;padding:6px 10px}
  .bs-size,.bs-save{display:none}
  .bs-top .pb-btn-outline{display:none}
  .bs-top .pb-btn{padding:8px 12px;font-size:12px}
  .bs-logo img{height:24px}
  .bs-body{position:relative;flex-direction:column}

  .bs-rail{order:3;width:100%;flex-direction:row;border-right:none;border-top:1px solid #e8e8e8;
    overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    padding:2px 4px calc(2px + env(safe-area-inset-bottom));z-index:40}
  .bs-rail::-webkit-scrollbar{display:none}
  .bs-rail button{border-left:none;border-top:3px solid transparent;min-width:62px;flex:0 0 auto;padding:7px 4px 6px;font-size:9px}
  .bs-rail button.is-on{border-left-color:transparent;border-top-color:#ee6d43;background:#fff3ef}

  .bs-panel{position:absolute;left:0;right:0;bottom:0;top:auto;width:auto;max-height:64dvh;
    border-right:none;border-top:1px solid #e8e8e8;border-radius:16px 16px 0 0;
    box-shadow:0 -8px 28px rgba(20,30,45,.18);z-index:45;animation:bs-sheet-up .22s ease}
  /* A grab bar, so it reads as a sheet you can dismiss rather than a stuck panel. */
  .bs-panel::before{content:'';position:absolute;top:7px;left:50%;transform:translateX(-50%);width:38px;height:4px;border-radius:2px;background:#d8dbe0}
  .bs-panel-head{padding:16px 14px 10px}
  .bs-panel-head button{font-size:18px;padding:2px 6px}
  .bs-panel-body{padding-bottom:calc(16px + env(safe-area-inset-bottom))}

  .bs-stage{order:2;flex:1;min-height:0}
  .bs-zoombar{bottom:10px;padding:6px 8px}
  .bs-dims{display:none}
  .bs-help{display:none}
  .bs-textbar{top:8px;gap:3px;padding:5px 6px;max-width:calc(100% - 16px);overflow-x:auto;flex-wrap:nowrap}
  .bs-textbar select{max-width:110px}
  /* Docked above the tool rail: a bar pinned to the artwork would sit off-screen. */
  .bs-objbar.is-docked{position:fixed;left:50%;right:auto;top:auto;bottom:calc(64px + env(safe-area-inset-bottom));transform:translateX(-50%);padding:5px;box-shadow:0 4px 18px rgba(20,30,45,.26)}
  .bs-objbar.is-docked button{width:38px;height:36px;font-size:15px}

  /* Every popover becomes a sheet.
   *
   * Floating at `top:112px` and centred, a popover on a 380px screen lands over
   * the artwork the customer is trying to judge, and its buttons sit at the top
   * of the screen where a thumb does not reach. As a sheet it comes up from the
   * bottom, the artwork stays visible above it, and everything in it is within
   * reach — which is the difference between a website on a phone and something
   * that feels like an app.
   *
   * Above the tool rail, not over it: the rail is how a customer gets out. */
  .bs-pop, .bs-objmenu{
    position:fixed; left:0; right:0; top:auto;
    /* 64px is what the docked object bar already uses to clear the rail. One
       number, so a change to the rail's height moves everything together rather
       than leaving one sheet sitting on top of it. */
    bottom:calc(64px + env(safe-area-inset-bottom));
    transform:none; width:auto; max-width:none; min-width:0;
    max-height:56dvh; overflow-y:auto; -webkit-overflow-scrolling:touch;
    border-radius:16px 16px 0 0; padding:18px 16px calc(18px + env(safe-area-inset-bottom));
    box-shadow:0 -8px 28px rgba(20,30,45,.18); z-index:46;
    animation:bs-sheet-up .22s ease;
  }
  /* The same grab bar the panel has, so a sheet is a sheet wherever it comes
     from. */
  .bs-pop::before, .bs-objmenu::before{
    content:''; position:absolute; top:7px; left:50%; transform:translateX(-50%);
    width:38px; height:4px; border-radius:2px; background:#e3e6ea;
  }
  .bs-pop-head{margin-top:6px}
  .bs-pop-head strong{font-size:15px}
  /* A range a thumb can actually hold. */
  .bs-pop input[type=range]{height:26px}
  .bs-pop label{font-size:13.5px}

  /* The ⋯ menu is a list of verbs, so it gets room rather than a 172px column. */
  .bs-objmenu button{padding:11px 14px;font-size:14.5px}
  .bs-objmenu h5{margin:12px 14px 4px}

  /* Four frames to a row on a phone: at three they are large enough to look
     like buttons but leave the sheet scrolling for the last two. */
  .bs-frames{grid-template-columns:repeat(4,1fr);gap:9px}

  /* Nothing may push the studio sideways at 380px. */
  .bs-shell{overflow-x:hidden}
  .bs-panel-body, .bs-pop{overscroll-behavior:contain}
}
@keyframes bs-sheet-up{from{transform:translateY(14px);opacity:.6}to{transform:translateY(0);opacity:1}}

/* Fingers: bigger targets, and the browser must not pan the page while the
   customer is pinching the artwork. */
.bs-shell.is-touch .bs-stage{touch-action:pan-x pan-y}
.bs-shell.is-touch .bs-rail button{min-height:52px}
.bs-shell.is-touch .bs-panel-body button,.bs-shell.is-touch .bs-textbar button{min-height:38px}
.bs-shell.is-touch .bs-zoompop{position:absolute;bottom:44px;left:50%;transform:translateX(-50%);background:#fff;border-radius:10px;box-shadow:0 8px 26px rgba(20,30,45,.2);padding:12px 14px;width:290px;display:grid;gap:7px}
.bs-zoompop div{display:flex;justify-content:space-between;gap:14px;font:400 11px system-ui;color:#8a90a0}
.bs-zoompop b{color:#22262b;font-weight:600;text-align:right}
.bs-zoombar button{min-width:38px;min-height:34px;font-size:17px}
@media (prefers-reduced-motion:reduce){.bs-panel,.bs-objbar,.bs-rail button,.bs-zoombar{transition:none;animation:none}}

.bs-beta{margin-left:6px;font-size:9px;background:#fdeef0;color:#e2574c;border-radius:3px;padding:1px 5px;vertical-align:middle}
.bs-tpl-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bs-tpl-grid button{border:1px solid #e5e8ee;border-radius:8px;background:#fff;padding:6px;display:flex;flex-direction:column;gap:3px;cursor:pointer;text-align:left;font-family:inherit}
.bs-tpl-grid button.is-on{border-color:#ee6d43}
.bs-tpl-grid img{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:4px;background:#f0f1f3}
.bs-tpl-ph{width:100%;aspect-ratio:1.5;border-radius:4px;background:repeating-linear-gradient(45deg,#f3c9cf 0 8px,#eab6bf 8px 16px);display:flex;align-items:center;justify-content:center;font-size:9px;text-align:center;color:#6b4a50;padding:4px}
.bs-tpl-grid small{font-size:10.5px;font-weight:600;color:#22262b}.bs-tpl-grid em{font-size:9px;color:#8b93a1;font-style:normal}
.admin-actions.compact{display:flex;gap:4px;flex-wrap:wrap}.admin-actions.compact form{margin:0}


/* The product page's lower sections, to the prototype. */
.bn-steps,.bn-quality,.bn-ship{max-width:1180px;margin:0 auto;padding:34px 18px}
.bn-steps h2,.bn-quality h2,.bn-ship h2{text-align:center;margin:0 0 6px}
.bn-quality-sub{text-align:center;color:#6b7280;font-size:13.5px;margin:0 0 18px}
.bn-steps-grid{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bn-steps-grid li{background:#fff;border:1px solid #eceff3;border-radius:14px;padding:20px}
.bn-step-n{display:inline-block;font:700 10px 'Poppins',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#ee6d43;margin-bottom:8px}
.bn-steps-grid strong{display:block;font:600 15px 'Poppins',sans-serif;margin-bottom:6px;color:#1f2937}
.bn-steps-grid p,.bn-quality-grid p,.bn-ship-grid p{margin:0;font-size:13px;line-height:1.55;color:#5c6472}
.bn-quality-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bn-ship-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.bn-quality-grid>div,.bn-ship-grid>div{background:#fff;border:1px solid #eceff3;border-radius:12px;padding:16px}
.bn-quality-grid strong,.bn-ship-grid strong{display:block;font:600 14px 'Poppins',sans-serif;margin-bottom:5px;color:#1f2937}
@media (max-width:900px){.bn-steps-grid,.bn-quality-grid,.bn-ship-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.bn-steps-grid,.bn-quality-grid,.bn-ship-grid{grid-template-columns:1fr}}

.bn-listing-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12.5px}
.bn-listing-row input[type=number],.bn-listing-row input[type=text]{font:inherit;padding:4px 6px;border:1px solid #e0e4ea;border-radius:6px}


/* The prototype's middle sections. */
.bn-engine,.bn-materials,.bn-promises{max-width:1180px;margin:0 auto;padding:30px 18px}
.bn-engine h2,.bn-materials h2{text-align:center;margin:0 0 18px}
.bn-engine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bn-engine-grid>div{background:#fff;border:1px solid #eceff3;border-radius:14px;padding:20px;text-align:center}
.bn-engine-grid span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ee6d43;color:#fff;font:700 15px 'Poppins',sans-serif;margin-bottom:10px}
.bn-materials-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bn-materials-grid>div{background:#fff;border:1px solid #eceff3;border-radius:12px;padding:16px}
.bn-engine-grid strong,.bn-materials-grid strong,.bn-promises-grid strong{display:block;font:600 14.5px 'Poppins',sans-serif;margin-bottom:5px;color:#1f2937}
.bn-engine-grid p,.bn-materials-grid p,.bn-promises-grid p{margin:0;font-size:13px;line-height:1.55;color:#5c6472}
.bn-promises-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;background:#fff7f3;border:1px solid #f6ded3;border-radius:14px;padding:18px}
@media (max-width:900px){.bn-engine-grid,.bn-materials-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.bn-engine-grid,.bn-materials-grid{grid-template-columns:1fr}}


/* The reviews wall. */
.rw-sum{display:flex;flex-wrap:wrap;gap:22px;align-items:center;border:1px solid #eceff3;border-radius:14px;padding:18px 20px;background:#fff}
.rw-score{display:flex;flex-direction:column;min-width:120px}
.rw-score strong{font:700 34px 'Poppins',sans-serif;line-height:1;color:#1f2937}
.rw-score small{font-size:11.5px;color:#8b93a1;margin-top:4px}
.rw-stars{color:#f5a524;letter-spacing:.06em}
.rw-bars{flex:1;min-width:240px;display:grid;gap:5px}
.rw-bars button{display:flex;align-items:center;gap:10px;background:none;border:none;padding:2px 4px;border-radius:6px;cursor:pointer;text-align:left;width:100%}
.rw-bars button:hover{background:#f6f8fb}
.rw-bars button.is-on{background:#fff3ec}
.rw-bars i{flex:1;height:8px;border-radius:5px;background:#eef0f3;display:block;overflow:hidden}
.rw-bars b{display:block;height:100%;background:#f5a524}
.rw-bars small{min-width:34px;text-align:right;font-size:11.5px;color:#6b7280}
.rw-write{white-space:nowrap}
.rw-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:16px 0 10px;font-size:12.5px;color:#6b7280}
.rw-controls select{font:inherit;padding:6px 8px;border:1px solid #e0e4ea;border-radius:7px;margin-left:6px}
.rw-list{list-style:none;margin:0;padding:0}
.rw-list li{border-bottom:1px solid #eef0f3;padding:16px 0}
.rw-list strong{display:block;font:600 14.5px 'Poppins',sans-serif;color:#1f7ae0;margin:4px 0}
.rw-list p{margin:0 0 6px;font-size:13.5px;line-height:1.6;color:#3f4652}
.rw-list small{font-size:11.5px;color:#8b93a1}
.rw-verified{color:#2f6a46}
.rw-reply{background:#f8fafc;border-left:3px solid #e0e4ea;padding:8px 12px;margin-top:8px!important;font-size:13px}
.rw-pages{display:flex;gap:6px;justify-content:center;margin-top:16px}
.rw-pages button{min-width:34px;height:34px;border:1px solid #e0e4ea;background:#fff;border-radius:8px;cursor:pointer;font:600 12.5px system-ui;color:#3f4652}
.rw-pages button.is-on{background:#ee6d43;border-color:#ee6d43;color:#fff}
.rw-empty{text-align:center;padding:24px}
@media (max-width:560px){.rw-sum{flex-direction:column;align-items:stretch}}


/* The left rail, as the shop's prototype draws it: an icon over a label.
 *
 * Wider than the old glyph rail because a label needs room — "Background" at
 * 10px is the widest word, and a rail that truncates its own labels is worse
 * than one that is a few pixels wider. */
.bs-rail{width:84px}
.bs-rail button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 2px 8px;color:#5c6472;width:100%}
.bs-rail button svg{display:block}
.bs-rail button span{font:500 10px 'Poppins',system-ui,sans-serif;line-height:1.15;text-align:center;letter-spacing:.01em}
.bs-rail button:hover{color:#ee6d43;background:#fff7f3}
.bs-rail button.is-on{color:#ee6d43;border-left-color:#ee6d43;background:#fff3ec}
/* The one that does the work a customer would otherwise pay somebody for. */
.bs-rail button.is-ai{color:#b8860b}
.bs-rail button.is-ai.is-on{color:#ee6d43}
@media (max-width:760px){
  /* On a phone the rail lies along the bottom, where a thumb reaches — the
     hybrid-app shape the shop asked for. */
  .bs-rail{width:auto;flex-direction:row;overflow-x:auto;border-right:0;border-top:1px solid #eee;scrollbar-width:none}
  .bs-rail::-webkit-scrollbar{display:none}
  .bs-rail button{flex:0 0 auto;min-width:68px;border-left:0;border-top:3px solid transparent}
  .bs-rail button.is-on{border-left-color:transparent;border-top-color:#ee6d43}
}


/* The background colour panel, as the prototype lays it out. */
.bs-colour-row{display:flex;gap:8px;align-items:center;margin:6px 0 12px}
.bs-colour-well{width:44px;height:36px;padding:0;border:1px solid #e0e4ea;border-radius:8px;background:none;cursor:pointer}
.bs-hex{flex:1;min-width:0;font:600 13px ui-monospace,monospace;letter-spacing:.06em;padding:9px 10px;border:1px solid #e0e4ea;border-radius:8px;text-transform:uppercase}
.bs-sw{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.14);cursor:pointer;padding:0}
.bs-sw.is-on{box-shadow:0 0 0 2px #fff,0 0 0 4px #1f7ae0}
.bs-swatches{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 14px}


/* The fonts panel, in the left as the prototype has it. */
.bs-font-search{width:100%;padding:9px 11px;border:1px solid #e0e4ea;border-radius:8px;font-size:13.5px;margin-bottom:10px}
.bs-font-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.bs-font-chips button{padding:5px 11px;border:1px solid #e0e4ea;border-radius:999px;background:#fff;font-size:12px;color:#5c6472;cursor:pointer;white-space:nowrap}
.bs-font-chips button.is-on{background:#1f2937;border-color:#1f2937;color:#fff}
.bs-font-group h4{font:700 10px 'Poppins',sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#a6adb8;margin:14px 0 6px}


/* The ⋯ menu on the selection bar, as the prototype groups it. */
.bs-objbar{position:relative}
.bs-objmenu{position:absolute;top:calc(100% + 6px);right:0;min-width:172px;background:#fff;border:1px solid #eceff3;border-radius:10px;box-shadow:0 14px 40px rgba(20,25,35,.16);padding:6px 0;z-index:40;text-align:left}
.bs-objmenu h5{font:700 9.5px 'Poppins',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#a6adb8;margin:8px 12px 3px}
.bs-objmenu h5:first-child{margin-top:2px}
.bs-objmenu button{display:block;width:100%;text-align:left;padding:6px 12px;border:0;background:none;font:inherit;font-size:13px;color:#3f4652;cursor:pointer}
.bs-objmenu button:hover{background:#f6f8fb;color:#ee6d43}


/* The crop frames, as the prototype lays them out: three to a row, the shape
   itself rather than its name. */
.bs-frames{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 12px}
.bs-frames button{aspect-ratio:1;display:grid;place-items:center;border:1px solid #e0e4ea;border-radius:10px;background:#fff;cursor:pointer;padding:0}
.bs-frames button svg{fill:#9fc9e8;stroke:#4a9ad4;stroke-width:4}
.bs-frames button:hover{border-color:#1E9BF0}
.bs-frames button.is-on{border-color:#1E9BF0;box-shadow:0 0 0 2px rgba(30,155,240,.2)}


/* The studio's own way in, for anyone opening /studio without a design. */
.bs-pick{max-width:560px;text-align:left}
.bs-pick h2{margin:0 0 4px}
.bs-pick ul{list-style:none;margin:14px 0 10px;padding:0;display:grid;gap:6px;max-height:56vh;overflow:auto}
.bs-pick li{display:flex;justify-content:space-between;gap:14px;align-items:baseline;background:#fff;border:1px solid #eceff3;border-radius:10px;padding:10px 14px}
.bs-pick a{color:#ee6d43;text-decoration:none;font-weight:500}
.bs-pick a:hover{text-decoration:underline}


/* Illustrations sit a little larger than icons: they are motifs, not signs, and
   a 20px diya is a smudge. */
.bs-illus svg{width:34px;height:34px;fill:currentColor}
