/* Shared rail and viewer, deliberately independent of each host design system. */
.b2bst-rail,.b2bst-modal{box-sizing:border-box;font-family:Manrope,Arial,sans-serif}.b2bst-rail *,.b2bst-modal *{box-sizing:border-box}.b2bst-rail[hidden],.b2bst-modal [hidden]{display:none!important}.b2bst-rail{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 32px));padding:8px 16px 6px;background:rgba(255,255,255,.97);border:1px solid #e3e8ef;border-radius:22px;box-shadow:0 6px 32px #1234561a;z-index:900;color:#17212e}.b2bst-rail.b2bst-crm{left:calc(50% + 112px);width:min(680px,calc(100% - 280px))}.b2bst-circles{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 0}.b2bst-circle{flex:none;display:flex;align-items:center;flex-direction:column;gap:4px;width:72px;padding:0;border:0;background:none;cursor:pointer;color:inherit;font:inherit;text-decoration:none!important}.b2bst-ring{display:flex;align-items:center;justify-content:center;border-radius:50%;width:58px;height:58px;padding:3px;background:linear-gradient(135deg,#25b5bb,#004ba0,#894bcd);font-size:28px;line-height:1;color:#1853a3;overflow:hidden}.b2bst-ring img{height:100%;width:100%;border-radius:50%;object-fit:cover;border:2px solid white;background:#eff4fa}.b2bst-seen .b2bst-ring{background:#cbd3df}.b2bst-add .b2bst-ring{background:#eef5ff;border:1px dashed #99b8df}.b2bst-name{font-size:10px;line-height:13px;max-width:72px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.b2bst-circle:focus-visible,.b2bst-control:focus-visible{outline:3px solid #68aaf4;outline-offset:3px}.b2bst-has-rail{padding-bottom:102px!important}.b2bst-viewing{overflow:hidden!important}.b2bst-modal{position:fixed;inset:0;background:#0a111de8;z-index:2147483000;display:flex;align-items:center;justify-content:center;color:#fff}.b2bst-frame{position:relative;background:#102033;height:min(850px,100dvh);width:min(478px,100vw);max-height:100%;overflow:hidden;border-radius:16px}.b2bst-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0c1420;touch-action:pan-y}.b2bst-media{width:100%;height:100%;object-fit:contain}.b2bst-progress{position:absolute;top:10px;left:12px;right:12px;display:flex;gap:4px;z-index:4}.b2bst-progress span{height:3px;flex:1;overflow:hidden;border-radius:3px;background:#ffffff55}.b2bst-progress i{display:block;background:#fff;height:100%;width:0}.b2bst-top{position:absolute;top:24px;left:16px;right:12px;display:flex;align-items:center;gap:8px;z-index:4}.b2bst-who{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;text-shadow:0 1px 8px #000}.b2bst-who strong{font-size:13px;line-height:19px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b2bst-who small{font-size:10px}.b2bst-control{height:36px;min-width:36px;border:1px solid #ffffff55;background:#10203388;color:#fff;border-radius:50%;cursor:pointer;font:22px/1 Arial}.b2bst-prev,.b2bst-next{position:absolute;z-index:3;top:40%;width:42px;height:70px;background:#12203455;border:0;color:white;font:36px/1 Arial;cursor:pointer}.b2bst-prev{left:0;border-radius:0 10px 10px 0}.b2bst-next{right:0;border-radius:10px 0 0 10px}.b2bst-bottom{position:absolute;bottom:0;left:0;right:0;padding:70px 24px 24px;background:linear-gradient(transparent,#07111ae8 45%);z-index:2;pointer-events:none}.b2bst-bottom h2{font-size:22px;line-height:1.3;font-weight:700;margin:0 0 10px;color:white}.b2bst-bottom p{font-size:13px;line-height:1.6;white-space:pre-wrap;margin:0 0 16px;color:#f0f5fc;max-height:25dvh;overflow:auto;pointer-events:auto}.b2bst-cta{pointer-events:auto;display:block;text-align:center;border-radius:12px;padding:12px 18px;background:white;color:#154b91!important;font-size:14px;text-decoration:none!important;font-weight:700}.b2bst-error{padding:30px;text-align:center;position:absolute;color:white;font-size:14px}.b2bst-top:before{content:'';position:absolute;inset:-24px -16px -20px;background:linear-gradient(#091426c9,transparent);z-index:-1}
/* Authoring and moderation. */
.st-studio{max-width:1500px}.st-pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.st-pagehead h1{font-size:36px;letter-spacing:-1px;margin:0 0 12px}.st-pagehead p,.st-muted{color:#737d8c;font-size:13px;line-height:1.6}.st-card{background:#fff;border:1px solid #e1e5ec;border-radius:18px;padding:24px;margin-bottom:20px}.st-card h2{font-size:20px;margin:0 0 14px}.st-card summary{cursor:pointer}.st-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.st-grid label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:8px}.st-grid input:not([type=checkbox]),.st-grid textarea{border:1px solid #cdd5e0;border-radius:10px;padding:12px;font:inherit;background:#fbfcfe;width:100%;box-sizing:border-box;min-width:0}.st-span{grid-column:1/-1}.st-space{margin-top:20px}.st-check{flex-direction:row!important;align-items:flex-start;line-height:1.6}.st-check input{margin-top:4px;width:18px;height:18px;flex:none}.st-note{padding:18px 22px;background:#eaf3ff;border:1px solid #d4e5fa;border-radius:14px;line-height:1.7;font-size:13px;margin-bottom:22px}.st-warning{background:#fff6e4;border-color:#ffe4a5;color:#7c5315}.st-primary,.st-secondary,.st-text{border:0;border-radius:10px;padding:11px 18px;cursor:pointer;font:600 13px Manrope,Arial,sans-serif;line-height:1.5}.st-primary{background:#174e9c;color:white}.st-secondary{border:1px solid #cfdae8;background:white;color:#174e9c}.st-text{background:transparent;color:#657083}.st-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.st-busy .st-studio button{opacity:.65;pointer-events:none}.st-grid [hidden],.st-studio [hidden]{display:none!important}.st-filters{display:flex;gap:8px;overflow:auto;margin:24px 0 18px;padding-bottom:4px}.st-filters a{white-space:nowrap;text-decoration:none;color:#5b6675;border:1px solid #dce2eb;border-radius:20px;padding:8px 12px;font-size:12px}.st-filters a.on{background:#174e9c;color:white;border-color:#174e9c}.st-post{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px}.st-post-media{background:#f1f5f9;border-radius:12px;overflow:hidden;min-height:150px;display:flex;align-items:center;justify-content:center;color:#788393;text-align:center;font-size:13px}.st-post-media img,.st-post-media video{width:100%;height:220px;object-fit:contain}.st-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#7c8795;margin-bottom:14px}.st-badge{border-radius:8px;background:#f0f2f6;padding:5px 9px;color:#5d6878}.st-published{background:#e2f6e9;color:#1f743a}.st-pending{background:#fff1d1;color:#906015}.st-rejected{background:#ffebe8;color:#a13928}.st-caption{white-space:pre-wrap;font-size:14px;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}.st-post-info{min-width:0}.st-post-info>a{font-size:13px;overflow-wrap:anywhere}.st-post-info .st-actions{margin-top:18px}.st-toast{position:fixed;bottom:24px;right:24px;padding:18px 24px;background:#152c4a;color:white;border-radius:12px;max-width:min(460px,calc(100vw - 48px));box-shadow:0 6px 28px #0002;z-index:3000;font-size:14px}.st-empty{text-align:center;padding:50px;color:#737d8c}.st-studio button:disabled{opacity:.4;cursor:default}#st-preview img,#st-preview video{max-width:240px;max-height:300px;border-radius:12px;background:#112033}#st-upload-state{font-size:13px;color:#1c5eaa}#st-editor{scroll-margin-top:70px}
@media(max-width:767px){.b2bst-rail,.b2bst-rail.b2bst-crm{position:relative;bottom:auto;left:auto;transform:none;width:100%;padding:8px 12px;margin:0;border-radius:0;box-shadow:none;z-index:auto}.b2bst-has-rail{padding-bottom:0!important}.b2bst-circles{gap:10px}.b2bst-frame{height:100dvh;width:100vw;border-radius:0}.b2bst-bottom{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.b2bst-top{top:calc(24px + env(safe-area-inset-top))}.b2bst-progress{top:calc(10px + env(safe-area-inset-top))}.st-pagehead{align-items:flex-start;flex-direction:column}.st-pagehead h1{font-size:28px}.st-card{padding:18px}.st-grid{grid-template-columns:1fr}.st-post{grid-template-columns:1fr;gap:18px}.st-post-media img,.st-post-media video{height:200px}.st-actions button{flex:1}.st-note{padding:14px}.st-post-info h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.b2bst-rail *,.b2bst-modal *{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:767px){
  .b2bst-rail:not([hidden]) + #header{position:sticky;top:0;z-index:10000}
  .b2bst-rail:not([hidden]) + #header .mobile-navbar{position:relative}
}
