/* User reference 7c3b37b8. Later explicit instruction: all page/card surfaces white. */
:root{--bg:#fff;--surface:#fff}body,#app.workspace,.workspace{background:#fff}.sidebar,.topbar,.mobile-nav{background:#fff}
.byp-profile-reference{--pr-green:#014824;--pr-sage:#e3f0e4;color:var(--pr-green);font-family:'DM Sans',Arial,sans-serif;background:#fff;border:0;border-radius:0;padding:14px 16px 0}
.byp-profile-reference .ig-profile-top{margin:0 0 16px;min-height:28px}
.byp-profile-reference .ig-profile-top .username{font-family:'Manrope','DM Sans',sans-serif;font-size:21px;font-weight:800;letter-spacing:-.7px;color:#014824}
.byp-profile-reference .ig-profile-overview{display:grid;grid-template-columns:104px minmax(0,1fr);gap:17px;align-items:center;margin:10px 0 20px}
.byp-profile-reference .ig-avatar-ring{position:relative;box-sizing:border-box;width:104px;height:104px;min-width:0;margin:0;overflow:visible}
.byp-profile-reference .ig-avatar-ring>img,.byp-profile-reference .ig-avatar-ring>.avatar{width:100%;height:100%;object-fit:cover;border-radius:50%}
.byp-profile-reference .ig-profile-counts{display:flex;align-items:center;justify-content:space-between;gap:0;width:100%;min-width:0}
.byp-profile-reference .ig-profile-counts>button{flex:1;min-width:0;padding:0 5px;min-height:38px;color:#697574;text-align:center}

.byp-profile-reference .ig-profile-counts strong{font-family:'Manrope','DM Sans',sans-serif;font-size:23px;line-height:1.2;font-weight:400;color:#014824}
.byp-profile-reference .ig-profile-counts span{font-size:13px;line-height:1.35;color:#667473;margin-top:2px}
.byp-profile-reference .ig-profile-bio{padding:0;margin:0 0 20px}
.byp-profile-reference .ig-profile-bio h1{font-family:'Manrope','DM Sans',sans-serif;font-size:17px;font-weight:800;line-height:1.2;margin:0 0 7px;color:#014824}
.byp-profile-reference .ig-profile-bio p{font-size:14px;line-height:1.48;color:#252b28;margin:0 0 6px}
.byp-profile-reference .ig-profile-link{display:inline-flex;align-items:center;gap:7px;font-size:14px;line-height:1.4;font-weight:600;color:#014824;margin-top:2px}
.byp-profile-reference .ig-profile-link svg{width:18px;height:18px;flex:none}
.byp-profile-reference .ig-profile-actions{display:flex;gap:9px;align-items:stretch;margin:0 0 16px}
.byp-profile-reference .ig-profile-actions>.ig-btn{flex:1;min-height:40px;padding:9px 11px;border:1px solid #014824;border-radius:10px;background:#fff;color:#014824;font-size:14px;font-weight:700;line-height:1.2;justify-content:center;gap:6px}
.byp-profile-reference .ig-profile-actions>.ig-btn:first-child{flex:1.15}
.byp-profile-reference .ig-profile-actions>.ig-btn-primary{background:linear-gradient(115deg,#00502a,#00411f);border-color:#014824;color:#fff}
.byp-profile-reference .ig-profile-actions>.ig-person-button{flex:0 0 42px!important;padding:8px;background:#edf5ee;border-color:#c3d9ca}
.byp-profile-reference .ig-profile-actions>.ig-person-button svg{width:23px;height:23px}
.byp-profile-reference.is-own-reference .ig-profile-actions>.ig-btn{background:#e3f0e4;border-color:#e3f0e4}
.byp-profile-reference .byp-profile-destinations{margin:0 0 20px;gap:9px}
.byp-profile-reference .byp-profile-entry{min-height:45px;border-radius:10px;font-size:14px;color:#014824}
.byp-profile-reference .byp-profile-entry--school{background:#e3f0e4;border-color:#d2e3d7}
.byp-profile-reference.is-visitor-reference .byp-profile-entry--school{position:relative;width:100%;padding:10px 16px;justify-content:center;gap:10px;border:0}
.byp-profile-reference.is-visitor-reference .byp-profile-entry--school::after{content:'›';position:absolute;right:15px;font:400 28px/1 Arial,sans-serif;color:#014824}
.byp-profile-reference .byp-profile-entry--website{background:#fef4ea;border-color:#edc5a2}
.byp-profile-reference .byp-profile-entry svg{width:22px;height:22px;flex:none}
.byp-profile-reference>.byp-upcoming-profile{width:calc(100% + 12px);margin:18px -6px 20px;padding:0}
.byp-profile-reference .byp-upcoming-public>[data-byp-upcoming-card]{background:transparent;border:0;border-radius:0;box-shadow:none;animation:none;overflow:visible}
.byp-profile-reference .byp-upcoming-banner-media{border-radius:13px!important;aspect-ratio:16/9;overflow:hidden}
.byp-profile-reference .byp-upcoming-banner-media:after{content:none}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title{left:0;right:0;top:auto;bottom:0;gap:4px;min-height:58px;padding:9px 48px 9px 11px;background:linear-gradient(100deg,#00432fed,#003d2de6);justify-content:center}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>span{display:none}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>strong{font-family:'Manrope','DM Sans',sans-serif;font-size:18px;font-weight:800;line-height:1.15;letter-spacing:-.5px;-webkit-line-clamp:1;color:#fff;text-shadow:none}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>small{font-size:12px;font-weight:500;color:#ffe293;line-height:1.25}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-banner-badge{left:10px;top:10px;font-size:10px;font-weight:800;letter-spacing:0;border-radius:20px;padding:5px 9px;background:#ff941e}
.byp-profile-reference .byp-upcoming-banner:is([data-byp-upcoming-card],.byp-upcoming-feature) .byp-section-trailer-poster-play{right:12px;bottom:10px;width:35px;height:35px;border:2px solid #fff;background:linear-gradient(130deg,#ffb542,#ef850c);box-shadow:none}
.byp-profile-reference .byp-upcoming-banner .byp-section-trailer-poster:after{background:linear-gradient(transparent 65%,#0001)}
.byp-profile-reference .byp-upcoming-banner .byp-upcoming-banner-body{padding:0;background:transparent}
.byp-profile-reference.is-own-reference .byp-upcoming-banner .byp-upcoming-banner-body{margin-top:13px;padding:9px 10px;border:1px solid #f0ddca;border-radius:12px;background:#fff}
.byp-profile-reference .byp-upcoming-banner .byp-upcoming-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:9px;margin:0}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price{margin-right:auto;min-width:0;color:#014824}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-family:'Manrope','DM Sans',sans-serif;font-size:19px;font-weight:800;line-height:1.2}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price small{font-size:11px;color:#697574}
.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{min-height:37px;padding:8px 10px;border:1px solid #ed9b50;border-radius:10px;background:#fffaf3;color:#014824;font-size:12px;font-weight:700;white-space:nowrap}
.byp-profile-reference .byp-upcoming-rule{display:none}
/* Guest profile shows the existing native price and participation/detail controls directly. */
.byp-profile-reference.is-visitor-reference>.byp-upcoming-public{width:100%;max-width:none;margin:18px 0 22px;padding:13px 0 0;border-top:1px solid #d8d7ca}
.byp-profile-reference.is-visitor-reference>.byp-upcoming-public>h2{margin:0 0 10px;padding:0;font-family:'Manrope','DM Sans',sans-serif;font-size:23px;line-height:1.2;font-weight:800;letter-spacing:-.6px;color:#074c38}
.byp-profile-reference.is-visitor-reference .byp-upcoming-public>[data-byp-upcoming-card]{width:calc(100% + 14px);margin:0 -7px;border:0;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 4px 10px #76502020;animation:none;transform:none}
.byp-profile-reference.is-visitor-reference .byp-upcoming-public>[data-byp-upcoming-card]:is(:hover,:active,:focus-visible){border:0;border-radius:13px;box-shadow:0 4px 10px #76502020;animation:none}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-upcoming-banner-media{aspect-ratio:2.15/1;border:0;border-radius:0!important;min-height:0;height:auto}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner-media:after{content:none;animation:none}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-section-trailer-poster:after{background:linear-gradient(transparent 65%,#0001)}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title{left:0;right:0;top:auto;bottom:0;min-height:52px;padding:8px 48px 8px 13px;gap:3px;justify-content:center;background:linear-gradient(90deg,#064a36e8,#003e2ede)}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>span{display:none}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>strong{font-family:'Manrope','DM Sans',sans-serif;font-size:18px;font-weight:800;line-height:1.12;letter-spacing:-.5px;color:#fff;text-shadow:none;-webkit-line-clamp:1}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>small{font-size:12px;font-weight:650;color:#ffd981;line-height:1.2}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-banner-badge{left:10px;top:10px;border-radius:20px;padding:5px 10px;gap:5px;background:#ff961e;color:#fff;font-size:11px;font-weight:800;letter-spacing:0}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner:is([data-byp-upcoming-card],.byp-upcoming-feature) .byp-section-trailer-poster-play{right:12px;bottom:9px;width:35px;height:35px;border:2px solid #fff;background:linear-gradient(130deg,#ffb542,#ef850c);box-shadow:none}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-upcoming-banner-body{padding:10px 14px;background:#fff}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-upcoming-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;margin:0}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price{margin-right:auto;min-width:0;color:#72502b}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-family:'Manrope','DM Sans',sans-serif;font-size:19px;font-weight:800;line-height:1.2}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price small{font-size:12px;color:#4f5146}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{min-height:37px;padding:8px 11px;border:1px solid #efae67;border-radius:11px;background:#fffaf0;color:#975a1f;font-size:13px;font-weight:700;white-space:nowrap}
.byp-profile-reference.is-visitor-reference [data-byp-upcoming=register]{background:linear-gradient(120deg,#0b5540,#003e2d);border-color:#074c38;color:#fff}
.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-upcoming-rule{margin:9px 0 0!important;padding-top:8px;border-top:1px solid #e5d7bb;font-size:12px!important;line-height:1.4;color:#474b40}

.byp-profile-reference.is-visitor-reference .byp-upcoming-banner .byp-upcoming-rule{display:block}
@media(max-width:360px){.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{font-size:11px;padding:7px}.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-size:17px}.byp-profile-reference.is-visitor-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>strong{font-size:15px}}
.byp-profile-reference .byp-upcoming-profile>[data-byp-upcoming-card]>.byp-upcoming-owner-edit>span{width:35px;height:35px;background:#fffcf5;border-color:#e89b58;border-radius:10px}
.byp-profile-reference .byp-upcoming-profile>[data-byp-upcoming-card]>.byp-upcoming-owner-edit svg{width:23px;height:23px}
.byp-profile-reference .ig-profile-tabs{border-color:#e4e7e4}
body:has(.byp-profile-reference) #topbar{background:#fff;border-bottom-color:#e2e6e2;color:#014824}
body:has(.byp-profile-reference) #topbar .auth-login-btn{background:#fff;color:#014824;border:1.5px solid #014824;border-radius:10px;font-size:15px;padding:7px 14px;min-height:36px;box-shadow:0 2px 4px #003a1510}
body:has(.byp-profile-reference) #topbar .mobile-wordmark>img[data-byasis-project-logo]{width:164px;max-height:55px}
body:has(.byp-profile-reference.is-own-reference) .topbar-greeting{display:none}
body:has(.byp-profile-reference) .topbar .top-actions .icon-btn{color:#014824}
body:has(.byp-profile-reference) .topbar .top-actions .icon-btn svg{width:25px;height:25px}
body:has(.byp-profile-reference) .mobile-nav{background:#fff;border-top:1px solid #dde2dd;box-shadow:none}
body:has(.byp-profile-reference) .mobile-nav button.active{color:#014824}
@media(max-width:360px){.byp-profile-reference{padding-left:13px;padding-right:13px}.byp-profile-reference .ig-profile-overview{grid-template-columns:90px minmax(0,1fr);gap:10px}.byp-profile-reference .ig-avatar-ring{width:90px;height:90px}.byp-profile-reference .ig-profile-counts strong{font-size:21px}.byp-profile-reference .ig-profile-counts span{font-size:11px}.byp-profile-reference .ig-profile-actions>.ig-btn{font-size:12px;padding:8px 7px}.byp-profile-reference .byp-profile-entry{font-size:12px}.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{font-size:10px;padding:7px}.byp-profile-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-size:17px}body:has(.byp-profile-reference) #topbar .mobile-wordmark>img[data-byasis-project-logo]{width:132px;max-height:44px}}

/* Native controller moves the same quick-create, notifications and mail nodes. */
.byp-profile-reference[data-byp-own-profile-header] .ig-profile-top{display:flex;min-height:44px;align-items:center;margin-bottom:13px}
.byp-profile-reference[data-byp-own-profile-header] .ig-profile-tools{gap:5px}
.byp-profile-reference[data-byp-own-profile-header] .ig-profile-tools>button{color:#014824}
.byp-profile-reference[data-byp-own-profile-header] [data-byp-own-profile-create]::before{width:31px;height:31px;background:#014824}
.byp-profile-reference[data-byp-own-profile-header] [data-byp-own-profile-create]>svg{width:21px;height:21px}
.byp-profile-reference .byp-profile-entry span,.byp-profile-reference .byp-profile-entry strong{font-size:14px;line-height:1.25;color:inherit}
.byp-profile-reference .ig-profile-bio h1{font-size:18px}.byp-profile-reference .ig-profile-bio p{font-size:15px}.byp-profile-reference .ig-profile-link{font-size:15px}
.byp-profile-reference .ig-profile-actions>.ig-btn{font-size:15px}
@media(max-width:360px){.byp-profile-reference .byp-profile-entry span,.byp-profile-reference .byp-profile-entry strong{font-size:12px}.byp-profile-reference .ig-profile-bio p,.byp-profile-reference .ig-profile-link{font-size:14px}.byp-profile-reference .ig-profile-actions>.ig-btn{font-size:12px}}

/* User reference 4d881944: public school showcase only. */
.byp-school-reference{--sr-green:#074c38;--sr-bg:#fff;--sr-sage:#e6e8d5;--sr-line:#d8d7ca;max-width:760px;margin:0 auto;padding:4px 16px 78px;color:var(--sr-green);font-family:'DM Sans',Arial,sans-serif;background:#fff}
body:has(.byp-school-reference){background:#fff;background-image:none}
body:has(.byp-school-reference) #app,body:has(.byp-school-reference) .workspace{background:transparent}
body:has(.byp-school-reference) #topbar{background:#fff;border-bottom:1px solid #e1ddd1;color:#074c38}
body:has(.byp-school-reference) #topbar .auth-login-btn{background:transparent;color:#074c38;border:1px solid #074c38;border-radius:10px;font-size:15px;font-weight:700;min-height:34px;padding:7px 13px}
body:has(.byp-school-reference) .mobile-nav{background:#fff;border-top:1px solid #dcd9ce;box-shadow:none}
.byp-school-reference>.byp-school-back{display:inline-flex;min-height:30px;margin:8px 0 20px;padding:0;font-size:15px;font-weight:800;color:#07523b}
.byp-school-reference .byp-school-showcase-hero{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;margin:0 0 19px}
.byp-school-reference .byp-school-showcase-profile{display:grid;grid-template-columns:98px minmax(0,1fr) 28px;gap:14px;align-items:center;margin:0 0 14px;min-height:82px}
.byp-school-reference .byp-school-showcase-profile>.byp-school-logo{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;width:98px;height:78px;min-width:0;padding:0 17px 0 0;border:0;border-right:1px solid #a5afa2;border-radius:0;background:none}
.byp-school-reference .byp-school-showcase-profile>.byp-school-logo img{display:block;width:80px;height:80px;max-width:none;object-fit:contain;border-radius:50%}
.byp-school-reference .byp-school-showcase-identity{min-width:0}
.byp-school-reference .byp-school-showcase-identity h1{margin:0 0 6px;font-family:'Manrope','DM Sans',sans-serif;font-size:clamp(22px,6.5vw,28px);font-weight:800;line-height:1.03;letter-spacing:-.8px;color:#074c38;overflow-wrap:anywhere}
.byp-school-reference .byp-school-showcase-identity>small{display:block;font-size:15px;line-height:1.3;color:#686b61}
.byp-ref-school-mark{display:block;align-self:start;margin-top:15px;color:#074c38}
.byp-ref-school-mark svg{display:block;width:30px;height:30px}
.byp-school-reference .byp-school-showcase-counts{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 13px;font-size:13px;line-height:1.4;color:#63665d}
.byp-school-reference .byp-school-showcase-counts>span{display:inline-flex;gap:5px;align-items:baseline;white-space:nowrap}
.byp-school-reference .byp-school-showcase-counts strong{font-weight:800;font-size:14px;color:#074c38}
.byp-school-reference .byp-school-category-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 17px}
.byp-school-reference .byp-school-category-chips>span{padding:3px 12px;border-radius:8px;background:#e6e8d5;color:#174b39;font-size:14px;line-height:1.35}
.byp-ref-actions{display:flex;align-items:center;gap:14px;margin:0 0 11px}
.byp-school-reference .byp-ref-actions>button{min-width:0;max-width:none;min-height:36px;margin:0;padding:9px 11px;border-radius:12px;line-height:1.2;font-size:13px;font-weight:800;white-space:normal}
.byp-school-reference .byp-ref-actions>.btn.byp-school-follow-cta{flex:.87 1 0;gap:8px;border:1px solid #084d38;border-radius:12px;background:linear-gradient(120deg,#0b5540,#003e2d);box-shadow:none;color:#fff;font-size:13px;min-height:36px}
.byp-school-reference .byp-ref-actions>.btn.byp-school-follow-cta[aria-pressed=true]{background:#e1ecdd;color:#074c38;border-color:#a7bea7}
.byp-school-reference .byp-ref-actions>.byp-school-contact:not([data-byp-school-follow]){flex:1 1 0;gap:8px;border:1px solid #bbc7b3;background:transparent;color:#074c38}
.byp-ref-contact-icon{display:block;width:20px;height:20px;flex:none}
.byp-school-reference .byp-school-showcase-hero>p{margin:0 0 16px;color:#383e35;font-size:14px;line-height:1.5}
.byp-school-reference .byp-school-showcase-bottom{display:block;padding:0;margin:0}
.byp-school-reference .byp-school-trailer-preview{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;max-width:none;min-height:66px;margin:0;padding:6px 16px;border:1px solid #dce5d5;border-radius:11px;background:#fff;color:#074c38;text-align:left}
.byp-school-reference .byp-school-trailer-frame{box-sizing:content-box;display:block;position:relative;width:54px;height:54px;flex:none;padding-right:15px;border-right:1px solid #a4ad96;border-radius:0;background:none;overflow:visible}
.byp-school-reference .byp-school-trailer-frame>video{display:block;width:54px;height:54px;border-radius:7px;object-fit:cover}
.byp-school-reference .byp-school-trailer-mini-play{left:27px;right:auto;top:27px;width:27px;height:27px;transform:translate(-50%,-50%);border-width:1.5px}
.byp-school-reference .byp-school-trailer-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.byp-school-reference .byp-school-trailer-copy>strong{font-family:'Manrope','DM Sans',sans-serif;font-size:17px;font-weight:800;line-height:1.2;color:#074c38}
.byp-school-reference .byp-school-trailer-copy>span{font-size:14px;line-height:1.3;color:#6f7366}
.byp-school-reference .byp-school-trailer-open-hint{margin-left:auto;font-size:0;color:#386348}
.byp-school-reference .byp-school-trailer-open-hint::before{content:'›';font:400 27px/1 Arial,sans-serif}
.byp-school-reference>.byp-upcoming-public{width:100%;max-width:none;margin:18px 0 22px;padding:13px 0 0;border-top:1px solid #d8d7ca}
.byp-school-reference>.byp-upcoming-public>h2{margin:0 0 10px;padding:0;font-family:'Manrope','DM Sans',sans-serif;font-size:23px;line-height:1.2;font-weight:800;letter-spacing:-.6px;color:#074c38}
.byp-school-reference .byp-upcoming-public>[data-byp-upcoming-card]{width:calc(100% + 14px);margin:0 -7px;border:0;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 4px 10px #76502020;animation:none;transform:none}
.byp-school-reference .byp-upcoming-public>[data-byp-upcoming-card]:is(:hover,:active,:focus-visible){border:0;border-radius:13px;box-shadow:0 4px 10px #76502020;animation:none}
.byp-school-reference .byp-upcoming-banner .byp-upcoming-banner-media{aspect-ratio:2.15/1;border:0;border-radius:0;min-height:0;height:auto}
.byp-school-reference .byp-upcoming-banner-media:after{content:none;animation:none}
.byp-school-reference .byp-upcoming-banner .byp-section-trailer-poster:after{background:linear-gradient(transparent 65%,#0001)}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title{left:0;right:0;top:auto;bottom:0;min-height:52px;padding:8px 48px 8px 13px;gap:3px;justify-content:center;background:linear-gradient(90deg,#064a36e8,#003e2ede)}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>span{display:none}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>strong{font-family:'Manrope','DM Sans',sans-serif;font-size:18px;font-weight:800;line-height:1.12;letter-spacing:-.5px;color:#fff;text-shadow:none;-webkit-line-clamp:1}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>small{font-size:12px;font-weight:650;color:#ffd981;line-height:1.2}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-banner-badge{left:10px;top:10px;border-radius:20px;padding:5px 10px;gap:5px;background:#ff961e;color:#fff;font-size:11px;font-weight:800;letter-spacing:0}
.byp-school-reference .byp-upcoming-banner:is([data-byp-upcoming-card],.byp-upcoming-feature) .byp-section-trailer-poster-play{right:12px;bottom:9px;width:35px;height:35px;border:2px solid #fff;background:linear-gradient(130deg,#ffb542,#ef850c);box-shadow:none}
.byp-school-reference .byp-upcoming-banner .byp-upcoming-banner-body{padding:10px 14px;background:#fff}
.byp-school-reference .byp-upcoming-banner .byp-upcoming-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;margin:0}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price{margin-right:auto;min-width:0;color:#72502b}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-family:'Manrope','DM Sans',sans-serif;font-size:19px;font-weight:800;line-height:1.2}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price small{font-size:12px;color:#4f5146}
.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{min-height:37px;padding:8px 11px;border:1px solid #efae67;border-radius:11px;background:#fffaf0;color:#975a1f;font-size:13px;font-weight:700;white-space:nowrap}
.byp-school-reference [data-byp-upcoming=register]{background:linear-gradient(120deg,#0b5540,#003e2d);border-color:#074c38;color:#fff}
.byp-school-reference .byp-upcoming-banner .byp-upcoming-rule{margin:9px 0 0!important;padding-top:8px;border-top:1px solid #e5d7bb;font-size:12px!important;line-height:1.4;color:#474b40}
.byp-school-reference .byp-public-school-sections{margin:20px 0 0;padding:0;border:0}
.byp-school-reference .byp-sections-heading{margin:0 0 6px}
.byp-school-reference .byp-sections-heading>div{display:flex;align-items:baseline;gap:11px}
.byp-school-reference .byp-sections-heading h2{font-family:'Manrope','DM Sans',sans-serif;font-size:23px;line-height:1.2;letter-spacing:-.6px;font-weight:800;color:#074c38}
.byp-school-reference .byp-sections-heading span{font-size:13px;color:#62685e}
.byp-school-reference .byp-section-grid{display:flex;flex-direction:column;gap:0}
.byp-school-reference .byp-section-card{padding:15px 0 9px;border:0;border-bottom:1px solid #d8d7ca;border-radius:0;background:transparent;box-shadow:none}
.byp-school-reference .byp-section-card>button{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);align-items:start;gap:12px;width:100%;padding:0;border:0;background:transparent;border-radius:0;text-align:left}
.byp-school-reference .byp-section-card-cover{width:100%;height:auto;aspect-ratio:16/9;margin:0;border-radius:9px;overflow:hidden}
.byp-school-reference .byp-section-card-cover img{display:block;width:100%;height:100%;object-fit:cover}
.byp-school-reference .byp-section-card-copy{min-width:0;padding:0}
.byp-school-reference .byp-section-card-copy>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-family:'Manrope','DM Sans',sans-serif;font-size:15px;font-weight:800;line-height:1.13;letter-spacing:-.25px;color:#074c38}
.byp-school-reference .byp-section-topic{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px;color:#4a4f44}
.byp-school-reference .byp-section-card-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:6px;font-size:12px;color:#5d6258}
.byp-school-reference .byp-section-access{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:0;border-radius:7px;font-size:12px;line-height:1.15;font-weight:700}
.byp-school-reference .byp-section-access.is-public{background:#e6e8d5;color:#164b34}
.byp-school-reference .byp-section-access.is-paid{background:#fae9cc;color:#70502a}
.byp-school-reference .byp-section-card-meta small{font-size:12px;color:#5d6258}
.byp-school-reference .byp-section-card>.byp-section-trailer-public{margin:9px 0 0;padding:0;border-top:1px solid #d8d7ca}
.byp-school-reference .byp-section-card>.byp-section-trailer-public>button{display:flex;align-items:center;gap:9px;width:100%;padding:7px 0 0;border:0;border-radius:0;background:transparent;min-height:40px;text-align:left}
.byp-school-reference .byp-section-card .byp-section-trailer-poster{position:relative;inset:auto;display:block;flex:0 0 55px;width:55px;height:34px;border-radius:7px;overflow:hidden}
.byp-school-reference .byp-section-card .byp-section-trailer-poster img,.byp-school-reference .byp-section-card .byp-section-trailer-poster video{width:100%;height:100%;object-fit:cover}
.byp-school-reference .byp-section-card .byp-section-trailer-poster-play{width:20px;height:20px;border-width:1px}
.byp-school-reference .byp-section-card>.byp-section-trailer-public>button>span:not(.byp-section-trailer-poster){position:static;font-size:13px;font-weight:800;color:#074c38}
.byp-school-reference .byp-section-card>.byp-section-trailer-public>button>small{position:static;margin-left:auto;font-size:12px;background:none;color:#535d50;padding:0}
@media(max-width:360px){.byp-school-reference{padding-left:13px;padding-right:13px}.byp-school-reference .byp-school-showcase-profile{grid-template-columns:80px minmax(0,1fr) 23px;gap:10px}.byp-school-reference .byp-school-showcase-profile>.byp-school-logo{width:80px;padding-right:13px;height:68px}.byp-school-reference .byp-school-showcase-profile>.byp-school-logo img{width:66px;height:66px}.byp-school-reference .byp-school-showcase-identity h1{font-size:22px}.byp-ref-school-mark svg{width:25px;height:25px}.byp-school-reference .byp-ref-actions{gap:10px}.byp-school-reference .byp-ref-actions>button,.byp-school-reference .byp-ref-actions>.btn.byp-school-follow-cta{font-size:11px;padding:8px}.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-button{font-size:11px;padding:7px}.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-price strong{font-size:17px}.byp-school-reference .byp-upcoming-banner[data-byp-upcoming-card] .byp-upcoming-thumbnail-title>strong{font-size:15px}.byp-school-reference .byp-section-card-copy>strong{font-size:13px}.byp-school-reference .byp-section-card-meta{gap:5px}.byp-school-reference .byp-section-access,.byp-school-reference .byp-section-card-meta small{font-size:10px}}

body:has(.byp-school-reference) #app.workspace{padding-left:0;padding-right:0}

/* Keep the desktop-width action row level; let narrow phones wrap safely. */
.byp-school-reference .byp-ref-actions>.byp-school-contact:not([data-byp-school-follow]){font-size:12.5px;font-weight:700;gap:6px;padding:9px}
@media(max-width:360px){.byp-school-reference .byp-ref-actions{align-items:stretch}.byp-school-reference .byp-ref-actions>.byp-school-contact:not([data-byp-school-follow]){font-size:11px;padding:8px;gap:5px}}

/* User owner-school reference 2aede77a. Real native controls and values retained. */
.byp-owner-school-reference{--os-green:#014824;color:var(--os-green);background:#fff;font-family:'DM Sans',Arial,sans-serif;max-width:760px;margin:0 auto;padding:0 16px 78px}
body:has(.byp-owner-school-reference),body:has(.byp-owner-school-reference) #app,body:has(.byp-owner-school-reference) .workspace,body:has(.byp-owner-school-reference) #topbar,body:has(.byp-owner-school-reference) .mobile-nav{background:#fff;background-image:none}
body:has(.byp-owner-school-reference) #topbar{color:#014824;border-bottom:1px solid #d9e1dc}
body:has(.byp-owner-school-reference) .mobile-nav{border-top:1px solid #d9e1dc;box-shadow:none}
.byp-owner-school-reference>.byp-school-back{display:inline-flex;align-items:center;min-height:48px;margin:0 0 13px;padding:0;font-size:16px;font-weight:750;color:#014824}
.byp-owner-school-reference>.byp-school-back>svg{width:19px;height:19px}
.byp-owner-school-reference .byp-school-owner-card{padding:12px 0 21px;margin:0;border:0;border-bottom:1px solid #d9e1dc;border-radius:0;background:#fff;box-shadow:none}
.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary{display:grid;grid-template-columns:68px minmax(0,1fr) 103px;align-items:center;gap:12px;margin:0;min-height:84px}
.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary>.byp-school-logo{width:68px;height:68px;min-width:68px;flex-basis:auto;padding:0;border:0;border-radius:50%;background:#fff;overflow:hidden}
.byp-owner-school-reference .byp-school-logo>img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.byp-owner-school-reference .byp-school-owner-card .byp-school-state{display:inline-flex;max-width:100%;padding:5px 10px;border:0;border-radius:9px;background:#fff0dc;color:#af5605;font-size:12px;line-height:1.2;white-space:normal}
.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary h2{font-family:'Manrope','DM Sans',Arial,sans-serif;margin:9px 0 0;font-size:20px;line-height:1.16;letter-spacing:-.4px;font-weight:800;color:#014824;overflow-wrap:anywhere}
.byp-owner-school-reference .byp-school-summary [data-byp-school-live]{min-height:43px;max-width:103px;margin:0;padding:9px 10px;border:1px solid #c3d9bc;border-radius:11px;background:#edf4e7;color:#174d27;font-size:14px;line-height:1.2;gap:8px;white-space:nowrap}
.byp-owner-school-reference .byp-school-summary [data-byp-school-live] svg{width:21px;height:21px;flex:none}
.byp-owner-school-reference .byp-school-owner-overview{margin:0;padding:0;border:0;background:#fff;border-radius:0;box-shadow:none}
.byp-owner-school-reference .byp-school-owner-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:16px 0;border-bottom:1px solid #d9e1dc}
.byp-owner-school-reference .byp-school-owner-toolbar>button{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:10px 13px;border:0;border-radius:11px;line-height:1.2;font-size:15px;white-space:nowrap;color:#014824}
.byp-owner-school-reference .byp-school-income-entry{background:#eaf2e2}
.byp-owner-school-reference .byp-school-income-entry strong{font-size:17px;font-weight:800}
.byp-owner-school-reference .byp-school-info-entry{background:#f3f6f2;color:#697b76!important}
.byp-owner-school-reference .byp-school-owner-toolbar>button>svg{width:22px;height:22px;flex:none}
.byp-owner-school-reference .byp-school-owner-counts{display:flex;align-items:center;justify-content:space-between;gap:0;padding:15px 0;border-bottom:1px solid #d9e1dc;margin:0;flex-wrap:nowrap}
.byp-owner-school-reference .byp-school-owner-counts>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 0;min-width:0;min-height:33px;margin:0;padding:0 8px;border:0;border-radius:0;background:#fff;color:#687874;font-size:14px;line-height:1.25}
.byp-owner-school-reference .byp-school-owner-counts>button+button{border-left:1px solid #d0d9d2}
.byp-owner-school-reference .byp-school-owner-counts>span[aria-hidden]{display:none}
.byp-owner-school-reference .byp-school-owner-counts>button strong{font-size:21px;font-weight:800;color:#014824}
.byp-owner-school-reference .byp-school-owner-counts>button svg{width:23px;height:23px;flex:none;color:#779c66}
.byp-owner-school-reference .byp-school-owner-counts>button span{color:#687874}
.byp-owner-school-reference .byp-school-sections{padding:23px 0 0;margin:0;border:0;background:#fff;border-radius:0}
.byp-owner-school-reference .byp-sections-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.byp-owner-school-reference .byp-sections-heading>div{gap:10px;min-width:0}
.byp-owner-school-reference .byp-sections-heading h2{font-family:'Manrope','DM Sans',Arial,sans-serif;font-size:23px;line-height:1.2;font-weight:800;color:#014824;letter-spacing:-.5px}
.byp-owner-school-reference .byp-sections-heading>div>span{font-size:14px;color:#687874;white-space:nowrap}
.byp-owner-school-reference .byp-sections-heading>.byp-section-create{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-height:40px;padding:9px 13px;margin:0;border:1px solid #bdd4b6;border-radius:11px;background:#eaf3e5;color:#164d25;font-size:15px;line-height:1.2;font-weight:500}
.byp-owner-school-reference .byp-section-create>svg{width:23px;height:23px;flex:none}
.byp-owner-school-reference .byp-owner-section-plans{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0;padding:0 0 16px;border-bottom:1px solid #d9e1dc}
.byp-owner-school-reference .byp-upcoming-owner-tools{display:flex;justify-content:flex-end;align-items:stretch;gap:10px;flex-wrap:wrap}
.byp-owner-school-reference .byp-owner-section-plans button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;margin:0;padding:9px 12px;border:1px solid #ffc17f;border-radius:11px;background:#fff6e9;color:#b35c05;font-size:14px;line-height:1.2}
.byp-owner-school-reference .byp-owner-section-plans button>svg{width:21px;height:21px}
.byp-owner-school-reference .byp-section-grid{display:flex;flex-direction:column;gap:0;padding:0;margin:0}
.byp-owner-school-reference .byp-section-card{margin:0;padding:18px 0;border:0;border-bottom:1px solid #d9e1dc;border-radius:0;background:#fff;box-shadow:none}
.byp-owner-school-reference .byp-section-card>button{display:grid;grid-template-columns:30% minmax(0,1fr);gap:13px;align-items:center;width:100%;padding:0;border:0;border-radius:0;background:#fff;text-align:left}
.byp-owner-school-reference .byp-section-card-cover{width:100%;height:auto;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#fff}
.byp-owner-school-reference .byp-section-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0;padding:0}
.byp-owner-school-reference .byp-section-card-copy>strong{font-family:'Manrope','DM Sans',Arial,sans-serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;font-weight:800;line-height:1.17;letter-spacing:-.2px;color:#014824}
.byp-owner-school-reference .byp-section-card-copy>.byp-section-topic{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:13px;line-height:1.35;color:#687874}
.byp-owner-school-reference .byp-section-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:13px;color:#687874}
.byp-owner-school-reference .byp-section-access{padding:4px 8px;border-radius:8px;background:#eaf3e5;color:#265b2c;font-size:13px;line-height:1.2}
.byp-owner-school-reference .byp-section-card-meta>small{font-size:13px;color:#687874}
@media(max-width:360px){.byp-owner-school-reference{padding-left:12px;padding-right:12px}.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary{grid-template-columns:64px minmax(0,1fr);gap:11px}.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary>.byp-school-logo{width:64px;height:64px;min-width:64px}.byp-owner-school-reference .byp-school-owner-card>.byp-school-summary h2{font-size:20px}.byp-owner-school-reference .byp-school-summary [data-byp-school-live]{grid-column:2;justify-self:start;min-height:36px;font-size:13px}.byp-owner-school-reference .byp-school-owner-toolbar>button{font-size:12px;gap:7px;padding:8px 10px}.byp-owner-school-reference .byp-school-owner-toolbar>button strong{font-size:14px}.byp-owner-school-reference .byp-school-owner-counts>button{font-size:12px;padding:0 4px;gap:5px}.byp-owner-school-reference .byp-school-owner-counts>button strong{font-size:19px}.byp-owner-school-reference .byp-school-owner-counts>button svg{width:18px;height:18px}.byp-owner-school-reference .byp-sections-heading h2{font-size:21px}.byp-owner-school-reference .byp-sections-heading>div>span{font-size:11px}.byp-owner-school-reference .byp-sections-heading>.byp-section-create{font-size:12px;padding:8px 10px;gap:6px}.byp-owner-school-reference .byp-owner-section-plans button{font-size:12px;padding:8px 10px}.byp-owner-school-reference .byp-section-card-copy>strong{font-size:14px}.byp-owner-school-reference .byp-section-card-copy>.byp-section-topic,.byp-owner-school-reference .byp-section-card-meta>small,.byp-owner-school-reference .byp-section-access{font-size:11px}}

/* The school workspace has its own reference gutters. */
body:has(.byp-owner-school-reference) #app.workspace{padding-left:0;padding-right:0}

.page-layout.d12-feed-layout{grid-template-columns:minmax(0,1fr);max-width:850px}
@media (min-width: 761px) {
  body.page-feed .d12-feed-layout .story-strip .story-person {
    /* Seven 8px gaps, with 12px of end padding visible in the scrollport. */
    --desktop-story-width: calc((100% - 44px) / 7.5);
    flex-basis: var(--desktop-story-width);
    width: var(--desktop-story-width);
  }
}

.d12-public-media { display: grid; place-items: center; background: #eef3ef; }
.d12-public-media > img, .d12-public-media > video { display: block; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; }

.d12-message-dock, .d12-notice-summary, .d12-desktop-only { display: none; }
.d12-sidebar-head { display: contents; }
/* Show a completed portrait in one paint, retaining native card geometry. */
.story-strip img:not([data-d12-image-ready]),.d12-feed-suggestions img:not([data-d12-image-ready]) { opacity:0; }
.d12-sidebar-popup[hidden], .d12-message-dock[hidden], .d12-notice-summary[hidden] { display: none; }

@media (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
  #topbar.topbar, #topbar .top-actions { display: contents; }
  #topbar.topbar::before, #topbar.topbar::after,
  #topbar > :not(.top-actions), #topbar .top-actions > :not(.auth-login-btn) { display: none; }
  #topbar .auth-login-btn { position: fixed; z-index: 39; top: 12px; right: 20px; min-height: 34px; padding: 7px 13px; font-size: 13px; }
  #app.workspace { min-height: 100dvh; }
  body.page-feed #app.workspace { padding-top: 18px; }
  body.page-feed .d12-feed-layout .feed-title,
  body.page-feed .d12-feed-layout .feed-sort { display: none; }
  :root { --sidebar: 72px; --d12-sidebar-open-width: 230px; }

  #sidebar { padding-inline: 10px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
  #sidebar::-webkit-scrollbar { display: none; }
  html.d12-sidebar-expanded #sidebar { width: var(--d12-sidebar-open-width); box-shadow: 8px 0 24px #243a2b14; }
  #sidebar .d12-sidebar-head { display: flex; align-items: center; flex-shrink: 0; min-height: 76px; padding-bottom: 14px; }
  #sidebar .d12-sidebar-head .brand { width: 100%; min-width: 0; justify-content: center; padding: 0; }
  #sidebar .d12-sidebar-head .brand img { max-width: 100%; }
  #sidebar nav .d12-desktop-only, #compose-form .d12-desktop-only { display: flex; }
  #sidebar .sidebar-share, #sidebar .sidebar-note, #sidebar .guest-account-bar { display: none; }
  #sidebar .nav-label { display: none; }
  #sidebar nav .nav-item { min-height: 40px; }
  #sidebar nav .nav-item > .icon { flex: 0 0 21px; width: 21px; height: 21px; }
  #sidebar nav .nav-item > span { white-space: nowrap; }

  html:not(.d12-sidebar-expanded) #sidebar .sidebar-bottom,
  html:not(.d12-sidebar-expanded) #sidebar .dm-sidebar-link,
  html:not(.d12-sidebar-expanded) #sidebar nav .nav-item > span:not(.d12-nav-badge) { display: none; }
  html:not(.d12-sidebar-expanded) #sidebar nav .nav-item { justify-content: center; padding-inline: 0; }

  .d12-sidebar-popup { position: fixed; z-index: 80; width: min(270px, calc(100vw - 16px)); overflow: hidden; border: 1px solid #e4e9e4; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px #23362a24; }
  .d12-sidebar-popup > button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 10px 15px; border: 0; background: #fff; color: #19392e; text-align: left; }
  .d12-sidebar-popup > button + button { border-top: 1px solid #e8eee8; }
  .d12-sidebar-popup > button:hover, .d12-sidebar-popup > button:focus-visible { background: #edf4ec; }
  .d12-sidebar-popup > button .icon { width: 21px; height: 21px; }

  .d12-message-dock { position: fixed; z-index: 35; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 13px 20px; border: 1px solid #e7ede7; border-radius: 999px; color: #16493d; background: #fff; box-shadow: 0 6px 24px #263e2e25; font-weight: 750; }
  .d12-message-dock .icon { width: 22px; height: 22px; }
  #sidebar [data-d12-desktop-badge] { position: relative; }
  .d12-nav-badge { position: absolute; display: grid; place-items: center; left: 27px; top: 5px; border: 2px solid #fff; border-radius: 999px; background: #f32446; color: #fff; pointer-events: none; }
  .d12-mail-count { min-width: 19px; height: 19px; padding-inline: 3px; font-size: 10px; font-weight: 750; line-height: 1; }
  .d12-notice-dot { width: 10px; height: 10px; }
  html:not(.d12-sidebar-expanded) #sidebar .d12-nav-badge { left: auto; right: 3px; }
  .d12-message-dock .d12-nav-badge { left: 30px; top: 6px; }
  html:not(.d12-sidebar-expanded) .d12-notice-summary { position: fixed; z-index: 60; left: calc(var(--sidebar) + 9px); display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 20px; background: #f32446; color: white; box-shadow: 0 4px 13px #41262c29; pointer-events: none; }
  html:not(.d12-sidebar-expanded) .d12-notice-summary[hidden] { display: none; }
  .d12-notice-summary > span { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 750; }
  .d12-notice-summary .icon { width: 16px; height: 16px; }
  body.page-feed .d12-feed-layout .story-strip { gap: 12px; }
  body.page-feed .d12-feed-layout .story-strip .story-person { --desktop-story-width: calc((100% - 60px) / 6); }
}

@media (min-width: 761px) and (max-width: 1250px) and (any-hover: hover) and (any-pointer: fine) {
  :root { --d12-sidebar-open-width: 205px; }
}

@media (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  #sidebar { transition: width .18s ease; }
}
/* The inbox owns its composer; the feed shortcut must not cover Send. */
body.byp-direct-chat-open .d12-message-dock,
body.byp-group-chat-open .d12-message-dock,
body:has([data-school-inbox-root]) .d12-message-dock { display:none !important; }
/* The original paper stays on the chat surface; messages alone scroll above it. */
.byp-direct-chat { isolation:isolate; }
.byp-dc-attachment img[hidden],.byp-dc-attachment audio[hidden],.byp-dc-attachment video[hidden] { display:none !important; }
.byp-dc-attachment[data-media-state="loading"] { min-height:96px; min-width:min(240px,60vw); }
.byp-dc-message [data-byp-message-report],.byp-gc-message [data-byp-message-report],.byp-si-message [data-byp-message-report] { display:none !important; }
.byp-school-inbox-reference [data-si-receipt][data-read="false"] { color:#718276; }
.byp-school-inbox-reference [data-si-receipt][data-read="true"] { color:#53b8de; }
@media (max-width:760px), (pointer:coarse) {
  .modal-backdrop.comments-backdrop.d12-comment-keyboard {
    top:var(--d12-comment-visible-top,0px) !important;
    bottom:auto !important;
    height:var(--d12-comment-visible-height) !important;
    padding:0 !important;
    align-items:flex-end !important;
  }
  .comments-backdrop.d12-comment-keyboard .modal.comments-sheet {
    height:var(--d12-comment-visible-height) !important;
    max-height:var(--d12-comment-visible-height) !important;
    min-height:0;
  }
  .comments-backdrop.d12-comment-keyboard .comments-sheet .modal-body {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
  }
  .comments-backdrop.d12-comment-keyboard .comments-sheet .modal-footer {
    flex:0 0 auto;
    padding-bottom:max(8px,env(safe-area-inset-bottom)) !important;
  }
}

.story-strip [data-d12-story-preview][hidden] { display:none !important; }
.story-overlay .story-gradient { background:linear-gradient(180deg,#0009 0%,#0003 18%,transparent 40%); }
.story-overlay .story-caption,.story-overlay .story-bottom { text-shadow:0 1px 3px #0009; }

/* BYASIS_BRAND_20261111: supplied originals, proportions preserved. */
@media(min-width:761px) and (any-hover:hover) and (any-pointer:fine){html:not(.d12-sidebar-expanded) #sidebar .d12-sidebar-head .brand img[data-byasis-project-logo]{content:url("/assets/byasis-icon-7390e0dc003e.png");width:42px!important;height:42px!important;max-width:42px!important;object-fit:contain;}html.d12-sidebar-expanded #sidebar .d12-sidebar-head .brand img[data-byasis-project-logo]{width:174px;max-width:100%;height:auto;object-fit:contain;}}

@media (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
  body.page-discover #app.workspace:has(.d12-discover-content) { max-width: none; padding: 24px clamp(22px, 4vw, 60px) 38px; }
  .explore-page:has(.d12-discover-content) { width: 100%; max-width: 1500px; margin-inline: auto; }
  .explore-page:has(.d12-discover-content) .explore-search {
    position: relative; width: min(760px, 66%); max-width: none; min-height: 44px;
    margin: 0 auto 34px; padding-inline: 16px; border-radius: 999px; background: #f0f2f3;
  }
  .explore-page:has(.d12-discover-content) .explore-search > input { background: transparent; }
  .explore-page:has(.d12-discover-content) .explore-search > button {
    position: absolute; inset: 0 auto 0 0; width: 42px; padding: 0; font-size: 0; color: transparent; background: transparent;
  }
  .explore-page:has(.d12-discover-content) .explore-search > button svg { visibility: hidden; }
  .d12-discover-order { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
  .d12-discover-order button { padding: 0; border: 0; background: none; color: #65716c; font-weight: 700; }
  .d12-discover-order button[aria-pressed="true"] { color: #17231e; }
  .d12-discover-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
    margin: 0 auto; overflow: hidden; border-radius: 8px;
  }
  .d12-discover-clip {
    position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
    overflow: hidden; padding: 0; border: 0; background: #eaf0ec;
  }
  .d12-discover-clip:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
  .d12-discover-clip img, .d12-discover-clip video {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  }
  .d12-discover-clip video { z-index: 1; visibility: hidden; }
  .d12-discover-clip video.is-playing { visibility: visible; }
  .d12-discover-play {
    position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center;
    width: 29px; height: 29px; border-radius: 9px; background: #fff; color: #24332c; box-shadow: 0 1px 6px #0003;
  }
  .d12-discover-play .icon { width: 15px; height: 15px; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) {
    --d12-native-height: min(820px, calc(100dvh - 90px));
    --d12-native-width: calc(var(--d12-native-height) * 9 / 16);
    --d12-native-edge: calc((100% - var(--d12-native-width)) / 2);
    background: #fff; color: #17392e;
  }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-scroll {
    width: 100%; max-width: none; height: var(--d12-native-height); background: transparent;
  }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-scroll > .reel-slide { height: 100%; min-height: 100%; background: transparent; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-slide > :is(.reel-video, .reel-shade) {
    inset: 0 auto 0 var(--d12-native-edge); width: var(--d12-native-width); border-radius: 14px;
  }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-video { object-fit: contain; object-position: center; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-meta {
    left: clamp(20px, 4vw, 72px); right: calc(100% - var(--d12-native-edge) + 20px); bottom: 20px;
    color: #17392e; text-shadow: none; overflow-wrap: anywhere;
  }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-person { flex-wrap: wrap; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-controls { left: calc(100% - var(--d12-native-edge) + 12px); right: auto; bottom: 20px; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-controls > button { color: #17392e; background: #edf2ef; border-radius: 999px; text-shadow: none; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-controls > button > :is(span, small) { color: inherit; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reel-slide > .reel-scrubber { left: calc(var(--d12-native-edge) + 12px); right: calc(var(--d12-native-edge) + 12px); }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-topbar { background: none; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-topbar > :is(button, strong) { color: #17392e; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-topbar > :is([data-action="reel-pause"], [data-action="reel-sound"]) {
    position: fixed; top: calc((100dvh - var(--d12-native-height)) / 2 + 12px); left: calc(var(--d12-native-edge) + 12px);
    background: #111b; color: #fff; opacity: 0; transition: opacity .15s ease;
  }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) .reels-topbar > [data-action="reel-sound"] { left: calc(var(--d12-native-edge) + 52px); }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels):has(.reel-video:hover, .reels-topbar button:is(:hover, :focus-visible))
    .reels-topbar > :is([data-action="reel-pause"], [data-action="reel-sound"]) { opacity: 1; }
  .reels-overlay:not(.byp-reel-comments, .d12-native-feed-reels) > .d12-native-reel-nav { display: grid; }
  .d12-discover-actions {
    position: absolute; left: calc(100% - var(--d12-reel-edge) + 12px); bottom: 20px;
    display: grid; gap: 10px;
  }
  .d12-discover-actions > .icon-btn { display: grid; place-content: center; justify-items: center; gap: 2px; width: 44px; height: 44px; }
  .d12-discover-actions .icon { width: 20px; height: 20px; }
  .d12-discover-actions span { font-size: 11px; line-height: 1; }
  .d12-discover-actions [aria-pressed="true"] .icon { fill: #c32f53; stroke: #c32f53; }
}

.d12-native-reel-nav { display: none; }
.post-video-cover[data-d12-video-shape="landscape"] { --byp-feed-video-ratio: 16 / 9; }
.post-video-cover[data-d12-video-shape="portrait"] { --byp-feed-video-ratio: 9 / 16; }
.d12-public-post-detail { width: min(660px, calc(100vw - 24px)); max-height: 92dvh; padding: 12px; border: 0; border-radius: 16px; }
.d12-public-post-detail::backdrop { background: #10251d80; }
.d12-public-post-detail > [data-close-post] { display: grid; margin-left: auto; }
.d12-discover-player {
  --d12-reel-width: min(461.25px, calc((100dvh - 28px) * 9 / 16), calc(100vw - 28px));
  --d12-reel-edge: calc((100% - var(--d12-reel-width)) / 2);
  position: fixed; width: min(1400px, calc(100vw - 28px)); height: calc(var(--d12-reel-width) * 16 / 9);
  max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px;
  overflow: hidden; background: #fff; color: #17392e;
}
.d12-discover-player::backdrop { background: #fff; }
.d12-discover-scroll {
  position: relative; height: 100%; overflow-y: auto; scrollbar-width: none;
  scroll-snap-type: y mandatory; overscroll-behavior-y: contain; touch-action: pan-y;
  cursor: grab; user-select: none;
}
.d12-discover-scroll::-webkit-scrollbar { display: none; }
.d12-discover-scroll.is-dragging { cursor: grabbing; }
.d12-discover-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.d12-discover-stage {
  position: absolute; inset: 0 auto 0 var(--d12-reel-edge); width: var(--d12-reel-width);
  background: #101411; border-radius: 14px; overflow: hidden;
}
.d12-discover-stage video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.d12-discover-player > [data-close], .d12-discover-player nav { position: absolute; z-index: 1; right: 12px; }
.d12-discover-player > [data-close] { top: 12px; }
.d12-discover-player nav, .d12-native-reel-nav { top: 50%; transform: translateY(-50%); gap: 8px; }
.d12-discover-player nav { display: grid; }
.d12-native-reel-nav { position: absolute; right: 18px; z-index: 5; }
.d12-discover-player .icon-btn, .d12-native-reel-nav .icon-btn { background: #edf2ef; color: #17392e; border-color: #e2ebe4; font-size: 21px; }
.d12-discover-player .icon-btn:disabled { visibility: hidden; }
.d12-discover-caption { position: absolute; bottom: 20px; left: clamp(16px, 3vw, 60px); right: calc(100% - var(--d12-reel-edge) + 20px); overflow-wrap: anywhere; }
.d12-discover-caption > button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.d12-discover-caption p { margin: 4px 0 0; }
.d12-discover-toolbar { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; }
.d12-discover-toolbar .icon-btn { position: relative; background: #111b; border-color: #ffffff45; color: #fff; }
.d12-discover-toolbar .icon { width: 21px; height: 21px; }
.d12-discover-toolbar [data-video-control="play"][data-paused="false"] .icon,
.d12-discover-toolbar [data-video-control="play"][data-paused="true"] span,
.d12-discover-toolbar [data-muted="false"] span { display: none; }
.d12-discover-toolbar [data-muted="true"] span { position: absolute; transform: rotate(-22deg); }
.d12-discover-seek { position: absolute; bottom: 8px; left: 12px; width: calc(100% - 24px); accent-color: #65c1a0; }
.d12-discover-toolbar, .d12-discover-seek { opacity: 0; transition: opacity .15s ease; }
.d12-discover-stage:hover :is(.d12-discover-toolbar, .d12-discover-seek),
.d12-discover-stage:focus-within :is(.d12-discover-toolbar, .d12-discover-seek) { opacity: 1; }
.d12-discover-action-dialog { width: min(420px, calc(100vw - 32px)); padding: 20px; border: 0; border-radius: 14px; color: #17392e; }
.d12-discover-action-dialog::backdrop { background: #142d2370; }
.d12-discover-action-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.d12-discover-action-dialog h2 { margin: 0; font-size: 19px; }
.d12-discover-action-dialog label { display: grid; gap: 6px; margin: 12px 0; }
.d12-discover-action-dialog input { min-width: 0; width: 100%; padding: 8px; border: 1px solid #dce6df; border-radius: 6px; }
.d12-discover-comments { max-height: 40dvh; overflow-y: auto; overflow-wrap: anywhere; }
@media (max-width: 760px), (any-hover: none) {
  .d12-discover-player { width: 100%; height: 100dvh; border-radius: 0; background: #000; color: #fff; }
  .d12-discover-stage { inset: 0; width: 100%; border-radius: 0; }
  .d12-discover-caption { left: 15px; right: 78px; bottom: calc(26px + env(safe-area-inset-bottom)); text-shadow: 0 1px 4px #000; }
  .d12-discover-player nav { display: none; }
  .d12-discover-player .d12-discover-toolbar, .d12-discover-player .d12-discover-seek { opacity: 1; }
  .d12-discover-player > [data-close] { z-index: 2; }
  .d12-discover-actions { position: absolute; right: 11px; bottom: calc(95px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
  .d12-discover-actions .icon-btn { display: grid; place-content: center; justify-items: center; width: 39px; height: 39px; background: #111b; color: #fff; border: 0; }
  .d12-discover-actions .icon { width: 22px; height: 22px; }
  .d12-discover-actions span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .d12-discover-toolbar, .d12-discover-seek { transition: none; }
}

.d12-feed-suggestions {
  display: none;
}

/* The declared media ratio owns layout before either poster or video arrives.
   Neither the intrinsic poster size nor video decoding may resize this box. */
body.page-feed #app .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content > .post-video-cover {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--byp-feed-video-ratio, 9 / 16);
}
body.page-feed #app .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content > .post-video-cover > :is(.post-video-poster, .byp-autoplay-video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

/* A decoded paused frame is ready before activation; retain the same geometry. */
.post-video-cover.byp-autoplay-cover > .byp-autoplay-video { opacity: .001; }
.post-video-cover.byp-autoplay-ready > .byp-autoplay-video { opacity: 1; }
.post-video-cover[data-d12-first-frame-prepared] > .byp-autoplay-video { transition: none; }

@media (min-width: 761px) and (any-hover: hover) and (any-pointer: fine) {
  body.page-feed .d12-feed-layout .story-strip {
    max-width: 568px;
    margin-inline: auto;
  }

  body.page-feed #app .d12-feed-layout .byp-feed-card:not(.byp-promotion-post) {
    --d12-feed-video-height: max(1px, calc(100dvh - 144px));
    width: min(100%, 470px, calc(var(--d12-feed-video-height) * 9 / 16));
    margin-inline: auto;
  }

  body.page-feed #app .d12-feed-layout .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content:has(> .post-video-cover) {
    border-radius: 8px;
    background: #141816;
  }

  body.page-feed #app .d12-feed-layout .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content > .post-video-cover {
    aspect-ratio: var(--byp-feed-video-ratio, 9 / 16);
    max-height: var(--d12-feed-video-height);
  }

  body.page-feed #app .d12-feed-layout .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content > .post-video-cover[data-d12-video-shape="landscape"] {
    aspect-ratio: var(--byp-feed-video-ratio, 16 / 9);
  }

  body.page-feed #app .d12-feed-layout .post-video-cover > :is(.post-video-poster, .byp-autoplay-video) {
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  body.page-feed #app .d12-feed-layout .byp-feed-card:not(.byp-promotion-post) > .byp-feed-content > .post-image-view > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: var(--d12-feed-video-height);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) {
    --d12-feed-reel-width: 470px;
    --d12-feed-reel-edge: calc((100% - var(--d12-feed-reel-width)) / 2);
    --d12-feed-reel-gap: 16px;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reels-scroll {
    max-width: none;
    background: transparent;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide {
    background: transparent;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > :is(.reel-video, .reel-shade) {
    inset-inline: var(--d12-feed-reel-edge);
    width: var(--d12-feed-reel-width);
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > .reel-meta {
    inset-inline-start: auto;
    inset-inline-end: calc(100% - var(--d12-feed-reel-edge) + var(--d12-feed-reel-gap));
    width: min(290px, calc(var(--d12-feed-reel-edge) - 2 * var(--d12-feed-reel-gap)));
    bottom: clamp(20px, 6dvh, 64px);
    overflow-wrap: anywhere;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-person {
    flex-wrap: wrap;
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > .reel-controls {
    inset-inline-start: calc(100% - var(--d12-feed-reel-edge) + var(--d12-feed-reel-gap));
    inset-inline-end: auto;
    bottom: clamp(20px, 6dvh, 64px);
    gap: clamp(5px, 2dvh, 21px);
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > .reel-center-toggle {
    left: calc(var(--d12-feed-reel-edge) + 12px);
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > .reel-scrubber {
    inset-inline: calc(var(--d12-feed-reel-edge) + 15px);
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide.is-paused > .reel-scrubber {
    left: calc(var(--d12-feed-reel-edge) + 62px);
  }

  .d12-native-feed-reels:not(.byp-reel-comments) .reel-slide > .reel-error {
    inset-inline: calc(var(--d12-feed-reel-edge) + 25px);
  }
}

@media (min-width: 1000px) and (any-hover: hover) and (any-pointer: fine) {
  .page-layout.d12-feed-layout:has(> .d12-feed-suggestions) {
    max-width: 1040px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 286px);
    gap: clamp(24px, 4vw, 56px);
  }

  .d12-feed-suggestions {
    display: block;
    padding-top: 32px;
  }

  .d12-feed-suggestions h2 {
    margin: 0 0 12px;
    color: #65706b;
    font-size: 15px;
  }

  .d12-feed-suggestions ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .d12-feed-suggestions li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .d12-suggestion-profile, .d12-suggestion-follow {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }

  .d12-suggestion-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #17211b;
    text-align: left;
  }

  .d12-suggestion-profile img, .d12-suggestion-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
  }

  .d12-suggestion-avatar {
    display: grid;
    place-items: center;
    background: #e7efe8;
    color: #216553;
    font-weight: 700;
  }

  .d12-suggestion-identity {
    display: grid;
    min-width: 0;
    font-size: 14px;
  }

  .d12-suggestion-identity > * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .d12-suggestion-identity small {
    color: #65706b;
  }

  .d12-suggestion-follow {
    flex: none;
    min-height: 32px;
    padding-inline: 4px;
    color: #0967c4;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .d12-suggestion-follow[aria-pressed="true"] {
    color: #65706b;
  }
}
.avatar, .comments-composer-avatar, .notifications-avatar, .ig-avatar-ring, .d12-suggestion-avatar {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
.avatar > img, .comments-composer-avatar > img, .notifications-avatar > img, .ig-avatar-ring > img,
.byp-comment-profile > img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block;
}
.d12-suggestion-profile > img {
  width: 44px; height: 44px; max-width: 44px; max-height: 44px;
  flex: 0 0 44px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block;
}
.d12-live-comment-tools { display: flex; align-items: center; gap: 12px; margin-inline-start: 8px; }
.d12-live-comment-tools button { font-size: 12px; }
.d12-live-people { display: grid; gap: 16px; }
.d12-live-people .person-button { display: flex; align-items: center; gap: 12px; text-align: start; padding: 8px; }
.d12-live-people small { display: block; }
.d12-live-notification { gap: 12px; }
.d12-live-notification .notifications-profile-avatar { flex: 0 0 auto; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.d12-live-notification .notifications-copy { flex: 1; min-width: 0; }
.d12-live-notification .notifications-profile-name { padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: start; }
.d12-live-notification .notifications-content { display: block; padding: 0; font: inherit; text-align: start; }

/* Lab-only candidate: retain every source edge at every Reels aspect ratio. */
.reels-overlay .reel-video,
.reels-overlay .reel-video[data-byp-reel-orientation] {
  object-fit: contain;
  object-position: center;
  background: #000;
}

body.guest-auth-open { overflow: hidden; }
.story-timebar[aria-valuenow="100"] > .story-timefill { transform: scaleX(1); }
.d12-guest-auth {
  position: fixed; inset: auto 0 0; width: min(100%, 500px); max-width: 100%;
  height: min(680px, 94vh); height: min(680px, 94dvh); max-height: none;
  margin: 0 auto; padding: 0; overflow: hidden; border: 0; border-radius: 24px 24px 0 0;
  background: #fff;
}
.d12-guest-auth::backdrop { background: rgb(18 37 30 / 53%); }
.d12-guest-auth[data-motion="opening"]::backdrop { animation: d12-auth-dim 180ms ease-out both; }
.d12-guest-auth[data-motion="closing"]::backdrop { animation: d12-auth-dim 190ms ease-in reverse both; }
.d12-guest-auth[data-motion="closing"] { pointer-events: none; }
@keyframes d12-auth-dim { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .d12-guest-auth[data-motion]::backdrop { animation: none; }
}
.d12-guest-auth iframe { display: block; width: 100%; height: 100%; border: 0; }
.d12-guest-sections { width: min(420px, 90vw); max-height: 90vh; border: 0; border-radius: 20px; padding: 20px; }
.d12-guest-sections::backdrop { background: rgb(18 37 30 / 45%); }
.d12-guest-sections header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
