:root{--public-ink:#122039;--public-muted:#71809a;--public-line:#e7ebf2;--public-soft:#f5f7fb;--public-blue:#1769e8;--public-blue-dark:#0c4fbd;--public-green:#18a77b;--public-red:#ef3444;--public-shadow:none}
*{box-sizing:border-box}
html{background:#f1f4f9;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}
body.public-app-body{margin:0;background:#f1f4f9;color:var(--public-ink);font-family:Inter,Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem);-webkit-font-smoothing:antialiased;touch-action:pan-x pan-y}
button,a,input,select,textarea,.gallery-item,.public-gallery-item,.feed-item,[role="button"]{touch-action:manipulation}
button,a{font:inherit}
button{cursor:pointer}
.public-app-shell{width:100%;max-width:620px;min-height:100vh;margin:0 auto;background:#f8faff;box-shadow:none;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.public-app-content{min-height:100vh}
.public-app-header{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:rgba(248,250,255,.9);border-bottom:1px solid rgba(228,233,242,.9);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}
.public-app-brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--public-ink);font-family:Poppins,sans-serif;font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem);font-weight:700;letter-spacing:-.06em}
.public-app-brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--public-blue);color:#fff;font-family:Georgia,serif;font-size:clamp(1.21rem, 1.375rem + .15vw, 1.54rem);font-weight:700;line-height:1}
.public-app-status{display:inline-flex;align-items:center;gap:6px;color:var(--public-muted);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem);font-weight:600}.public-app-status i{color:var(--public-green)}
.public-view-stack{min-height:calc(100vh - 66px)}
.public-view{display:none;min-height:calc(100vh - 66px);padding-bottom:24px;animation:publicViewIn .22s ease both}.public-view.is-active{display:block}@keyframes publicViewIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.public-hero{height:430px;position:relative;overflow:hidden;color:#fff;background:#172033}.public-hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background-position:center;background-size:cover}.public-hero-color{background:linear-gradient(145deg,#1b2d51,#101827)}.public-hero-shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(7,17,35,.2),rgba(7,17,35,.08) 42%,rgba(7,17,35,.9))}.public-hero-top{position:absolute;top:18px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;z-index:2}.public-wordmark{font-family:Poppins,sans-serif;font-size:clamp(0.99rem, 1.125rem + .15vw, 1.26rem);font-weight:700;letter-spacing:-.06em}.public-circle-button{width:40px;height:40px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(255,255,255,.15);color:#fff;backdrop-filter:blur(10px)}.public-circle-button:hover{background:#fff;color:var(--public-ink)}.public-hero-caption{position:absolute;left:20px;right:20px;bottom:28px;z-index:2}.public-hero-caption h2{font-size:clamp(1.705rem, 1.9375rem + .15vw, 2.17rem);line-height:1.08;margin:8px 0 7px;letter-spacing:-.055em}.public-hero-caption p{max-width:470px;margin:0;color:rgba(255,255,255,.86);line-height:1.55;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}
.public-section-kicker{display:block;color:var(--public-blue);font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);font-weight:800;letter-spacing:.13em}.public-hero .public-section-kicker{color:#a9cbff}
.public-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:-1px 14px 0;padding:10px;border:1px solid var(--public-line);border-top:0;border-radius:0 0 18px 18px;background:#fff;box-shadow:none;position:relative;z-index:4}.public-quick-action{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:8px 3px;border:0;background:transparent;color:var(--public-ink);text-decoration:none;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);font-weight:700}.public-quick-action i{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#edf4ff;color:var(--public-blue);font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}.public-quick-action:hover i{background:var(--public-blue);color:#fff}
.public-profile-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;margin:20px 18px 10px;padding:15px;border:1px solid var(--public-line);border-radius:18px;background:#fff;box-shadow:none}.public-brand-logo,.public-brand-placeholder{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;object-fit:cover;background:#e9f1ff;color:var(--public-blue);font-size:clamp(1.155rem, 1.3125rem + .15vw, 1.47rem)}.public-profile-copy{min-width:0}.public-profile-copy h1{margin:0;color:var(--public-ink);font-size:clamp(0.935rem, 1.0625rem + .15vw, 1.19rem);letter-spacing:-.035em}.public-profile-copy p{margin:4px 0;color:var(--public-muted);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.public-location{display:flex;align-items:center;gap:5px;color:var(--public-muted);font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-location i{color:var(--public-blue)}.public-verified{align-self:start;display:inline-flex;align-items:center;gap:4px;color:var(--public-green);font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem);font-weight:700;white-space:nowrap}.public-verified i{font-size:clamp(0.44rem, 0.5rem + .15vw, 0.56rem)}
.public-section{margin:24px 18px}.public-section-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:12px}.public-section-heading h2{margin:0;font-size:clamp(1.045rem, 1.1875rem + .15vw, 1.33rem);letter-spacing:-.045em}.public-highlight-list,.public-link-list{display:grid;gap:9px}.public-highlight{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid var(--public-line);border-radius:15px;background:#fff}.public-highlight-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#e9f8f2;color:var(--public-green);font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem);flex:none}.public-highlight strong{display:block;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-highlight p{margin:3px 0 0;color:var(--public-muted);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem);line-height:1.45}.public-link-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px;border:1px solid var(--public-line);background:#fff;color:var(--public-ink);text-decoration:none;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);font-weight:700}.public-link-card i{color:var(--public-muted);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:28px 20px 20px;background:#fff;border-bottom:1px solid var(--public-line)}.public-page-header h1{margin:5px 0 5px;font-size:clamp(1.65rem, 1.875rem + .15vw, 2.1rem);letter-spacing:-.06em}.public-page-header p{margin:0;color:var(--public-muted);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-header-action,.public-count-pill{display:grid;place-items:center;flex:none}.public-header-action{width:42px;height:42px;border:0;border-radius:14px;background:#eaf2ff;color:var(--public-blue)}.public-count-pill{min-width:35px;height:28px;padding:0 10px;border-radius:99px;background:#eaf2ff;color:var(--public-blue);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem);font-weight:800}
.public-alert-summary{display:flex;align-items:center;gap:12px;margin:18px;padding:14px;border-radius:16px;background:linear-gradient(135deg,#eaf3ff,#f5f8ff);border:1px solid #dbe9ff}.public-alert-summary-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--public-blue);color:#fff}.public-alert-summary strong,.public-alert-summary small{display:block}.public-alert-summary strong{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-alert-summary small{margin-top:3px;color:var(--public-muted);font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);line-height:1.4}.public-alert-list{margin-top:25px}.public-alert-card{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--public-line)}.public-alert-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#fff0f1;color:var(--public-red);flex:none}.public-alert-content{min-width:0}.public-alert-meta{display:flex;justify-content:space-between;gap:10px;color:var(--public-muted);font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-alert-meta span{color:var(--public-blue);font-weight:700}.public-alert-content h3{margin:5px 0 4px;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}.public-alert-content p{margin:0;color:var(--public-muted);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);line-height:1.5}.public-empty-state{text-align:center;padding:46px 20px;border:1px dashed #cfd9e8;border-radius:18px;background:#fbfcff}.public-empty-state span{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 12px;border-radius:18px;background:#edf2f9;color:#7d8da6;font-size:clamp(1.21rem, 1.375rem + .15vw, 1.54rem)}.public-empty-state h2{margin:0 0 5px;font-size:clamp(0.935rem, 1.0625rem + .15vw, 1.19rem)}.public-empty-state p{margin:0;color:var(--public-muted);font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:18px}.public-gallery-tile{position:relative;aspect-ratio:1/1.18;padding:0;border:0;border-radius:15px;overflow:hidden;background:#e9edf4}.public-gallery-tile img,.public-gallery-tile video{display:block;width:100%;height:100%;object-fit:cover}.public-gallery-tile:hover{filter:brightness(.94)}.public-gallery-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;transform:translate(-50%,-50%);background:rgba(17,32,57,.72);color:#fff}
.public-contact-card{display:grid;gap:1px;margin:22px 18px 14px;overflow:hidden;border:1px solid var(--public-line);border-radius:17px;background:#fff}.public-contact-row{display:grid;grid-template-columns:36px 1fr 15px;align-items:center;gap:10px;padding:15px 14px;color:var(--public-ink);text-decoration:none;border-bottom:1px solid var(--public-line)}.public-contact-row:last-child{border-bottom:0}.public-contact-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#edf4ff;color:var(--public-blue)}.public-contact-row small,.public-contact-row strong{display:block}.public-contact-row small{color:var(--public-muted);font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-contact-row strong{margin-top:3px;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-contact-row>i{color:#a0adbf;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-empty-inline{padding:24px;text-align:center;color:var(--public-muted);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-vcard-button:hover{background:var(--public-blue-dark)}.public-social-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.public-social-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:72px;border:1px solid var(--public-line);border-radius:15px;background:#fff;color:var(--public-ink);text-decoration:none;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);text-transform:capitalize}.public-social-grid a i{font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem);color:var(--public-blue)}
.public-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);width:min(620px,100%);margin:0 auto;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid rgba(218,225,235,.95);background:rgba(255,255,255,.94);box-shadow:none;backdrop-filter:blur(22px)}.public-nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:3px 2px;border:0;background:transparent;color:#8491a5;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);font-weight:600}.public-nav-item.is-active{color:var(--public-blue)}.public-nav-icon{position:relative;display:grid;place-items:center;height:25px;font-size:clamp(0.935rem, 1.0625rem + .15vw, 1.19rem)}.public-nav-icon em{position:absolute;right:-9px;top:-7px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:99px;background:var(--public-red);color:#fff;font-size:clamp(0.44rem, 0.5rem + .15vw, 0.5625rem);font-style:normal}
.public-loading,.public-status{min-height:100vh;display:grid;place-items:center;align-content:center;gap:12px;padding:30px;text-align:center}.public-loading p{color:var(--public-muted);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-loading-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:21px;background:var(--public-blue);color:#fff;font-size:clamp(1.375rem, 1.5625rem + .15vw, 1.75rem);box-shadow:none}.public-status h1{margin:0;font-size:clamp(1.375rem, 1.5625rem + .15vw, 1.75rem);letter-spacing:-.05em}.public-status p{max-width:360px;margin:0;color:var(--public-muted);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);line-height:1.6}.public-status-link{color:var(--public-blue);font-weight:700;text-decoration:none}.public-toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:100;max-width:calc(100% - 32px);padding:11px 15px;border-radius:12px;background:#122039;color:#fff;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);box-shadow:none;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:.2s}.public-toast.is-visible{opacity:1;transform:translate(-50%,0)}.public-toast.is-error{background:#b62132}
.public-lightbox{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:22px;background:rgba(7,17,35,.88)}.public-lightbox[hidden]{display:none}.public-lightbox img,.public-lightbox video{display:block;max-width:100%;max-height:88vh;border-radius:14px}.public-lightbox-close{position:absolute;top:14px;right:14px;width:42px;height:42px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:clamp(1.54rem, 1.75rem + .15vw, 1.96rem);line-height:1}
@media (min-width:621px){.public-bottom-nav{bottom:18px;border:1px solid rgba(218,225,235,.95);border-radius:20px}.public-app-shell{border-radius:0;min-height:100vh}}
@media (max-width:420px){.public-hero{height:390px}.public-profile-card{grid-template-columns:52px 1fr;}.public-brand-logo,.public-brand-placeholder{width:52px;height:52px}.public-verified{grid-column:2}.public-page-header h1{font-size:clamp(1.485rem, 1.6875rem + .15vw, 1.89rem)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}


/* Reference UI alignment: light blue-gray canvas, navy typography, white cards, blue actions. */
:root{--public-ink:#12233f;--public-muted:#687b98;--public-line:#e1e9f3;--public-soft:#eef4fb;--public-blue:#0b72e8;--public-blue-dark:#075bc0;--public-green:#14a477;--public-red:#f2384b;--public-shadow:none}
html{background:#eaf1f8}body.public-app-body{background:#eaf1f8;color:var(--public-ink)}.public-app-shell{max-width:520px;background:#f3f7fc;box-shadow:none;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
.public-app-header{height:72px;padding:0 20px;background:rgba(243,247,252,.94);border-bottom:1px solid #dce6f2;box-shadow:none}.public-app-brand{gap:9px;color:var(--public-ink);font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem);font-weight:800;letter-spacing:-.055em}.public-app-brand .public-brand-logo,.public-app-brand .public-brand-placeholder{width:34px;height:34px;border-radius:10px;background:#fff;color:var(--public-blue);border:none;box-shadow:none}.public-header-notifications{position:relative;display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:50%;background:transparent;color:var(--public-ink);font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem)}.public-header-notifications em{position:absolute;top:-2px;right:-3px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #f3f7fc;border-radius:99px;background:var(--public-red);color:#fff;font-size:clamp(0.44rem, 0.5rem + .15vw, 0.5625rem);font-style:normal;font-weight:800}
.public-hero{height:205px;margin:0 12px;border-radius:16px;box-shadow:none}.public-hero-media{border-radius:16px}.public-hero-shade{border-radius:16px;background:linear-gradient(to bottom,rgba(11,31,63,.02),rgba(11,31,63,.06) 36%,rgba(11,31,63,.72))}.public-hero-top{top:12px;left:14px;right:14px}.public-wordmark{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);color:#fff;text-shadow:0 1px 5px #12233f}.public-circle-button{width:34px;height:34px;background:rgba(255,255,255,.18);font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-hero-caption{bottom:17px;width:90%;text-align:center}.public-hero-caption h2{font-size:clamp(1.265rem, 1.4375rem + .15vw, 1.61rem);line-height:1.1;text-shadow:0 2px 8px rgba(0,0,0,.35)}.public-hero-caption p{line-height:1.35;color:rgba(255,255,255,.92)}
.public-quick-actions{grid-template-columns:repeat(4,1fr);margin:12px 14px 0;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;gap:8px}.public-quick-action{min-height:68px;padding:12px 4px;border:none;border-radius:12px;background:#f5f7fa;color:var(--public-ink);font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem);box-shadow:none}.public-quick-action i{width:auto;height:auto;border-radius:0;background:transparent;color:var(--public-blue);font-size:clamp(0.935rem, 1.0625rem + .15vw, 1.19rem)}.public-quick-action:hover{background:#f8fbff}.public-quick-action:hover i{background:transparent;color:var(--public-blue-dark)}
.public-profile-card{grid-template-columns:46px 1fr auto;margin:15px 14px 10px;padding:12px;border-color:#dfe8f3;border-radius:13px;box-shadow:none}.public-brand-logo,.public-brand-placeholder{width:46px;height:46px;border-radius:50%;background:#fff;color:var(--public-blue);border-color:#dce7f3}.public-profile-copy h1{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}.public-profile-copy p{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-location{font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-verified{padding:4px 7px;border-radius:99px;background:#e5f7f1;color:#118963;font-size:clamp(0.44rem, 0.5rem + .15vw, 0.56rem)}.public-section{margin:18px 14px}.public-section-heading{margin-bottom:9px}.public-section-kicker{color:var(--public-blue);font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-section-heading h2{font-size:clamp(0.88rem, 1rem + .15vw, 1.12rem)}.public-highlight-list,.public-link-list{gap:7px}.public-highlight,.public-link-card,.public-contact-card,.public-social-grid a{border-color:#e0e8f2;box-shadow:none}.public-highlight{padding:11px}.public-highlight-icon,.public-contact-icon{background:#e7f1ff;color:var(--public-blue)}.public-highlight strong{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-highlight p{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-link-card{padding:12px 13px;font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-view{min-height:calc(100vh - 72px);padding-bottom:18px}.public-page-header{padding:20px 18px 15px;background:transparent;border-bottom:0}.public-page-header h1{margin:3px 0;font-size:clamp(1.375rem, 1.5625rem + .15vw, 1.75rem)}.public-page-header p{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-header-action,.public-count-pill{background:#e4f0ff;color:var(--public-blue);border:0}.public-alert-summary{margin:13px 14px;padding:12px;border:1px solid #d7e8fb;border-radius:13px;background:#e7f2ff}.public-alert-summary-icon{width:32px;height:32px;border-radius:10px;background:var(--public-blue)}.public-alert-summary strong{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-alert-summary small{font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-alert-list{margin-top:16px}.public-alert-card{padding:10px 0;border-bottom:1px solid #e1e9f3}.public-alert-icon{width:34px;height:34px;border-radius:50%;background:#ffe7eb;color:var(--public-red)}.public-alert-meta{font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-alert-content h3{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-alert-content p{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}.public-empty-state{padding:35px 16px;border-color:#d6e2ef;background:#f9fbfe}.public-empty-state span{width:46px;height:46px;background:#e7eef7}
.public-bottom-nav{width:min(520px,100%);padding:15px 7px;background:rgba(255,255,255,.97);border-top:1px solid #dbe5f0;box-shadow:none}.public-nav-item{gap:3px;color:#7185a1;font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-nav-item.is-active{color:var(--public-blue);font-weight:800}.public-nav-icon{height:22px;font-size:clamp(0.88rem, 1rem + .15vw, 1.12rem)}.public-nav-icon em{background:var(--public-red)}
.public-gallery-section{background:transparent}.public-gallery-section .public-grid{gap:5px;background:transparent}.public-gallery-section .gallery-item{border-radius:9px;box-shadow:none}.public-gallery-section .public-feed{height:calc(100vh - 72px - 74px);background:#12233f}.public-gallery-section .feed-caption{padding:20px 14px calc(14px + env(safe-area-inset-bottom));font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-gallery-section .feed-grid-toggle,.public-gallery-section .volume-toggle{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.55)}
.public-contact-card{margin:17px 14px 12px}.public-contact-row{padding:12px;border-bottom-color:#e1e9f3}.public-contact-row small{font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-contact-row strong{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-social-grid{gap:7px}.public-social-grid a{min-height:62px}.public-social-grid a i{font-size:clamp(0.935rem, 1.0625rem + .15vw, 1.19rem);color:var(--public-blue)}
.public-toast{bottom:calc(84px + env(safe-area-inset-bottom));background:#12233f}.public-status-link{color:var(--public-blue)}
@media(min-width:621px){.public-bottom-nav{bottom:18px;border:1px solid #dbe5f0;border-radius:18px}.public-app-shell{border-radius:0}}


/* Structural layout pass: keep every public profile section inside one coherent app frame. */
html,body{min-height:100%;overflow-x:hidden}body.public-app-body{min-width:320px}
.public-app-shell{position:relative;display:flex;flex-direction:column;width:100%;min-height:100svh;margin:0 auto;overflow:hidden}
.public-app-content{position:relative;display:flex;flex:1;flex-direction:column;width:100%;min-width:0}.public-view-stack{position:relative;width:100%;min-width:0}.public-view{width:100%;overflow:hidden}
.public-app-header{position:sticky;top:0;display:flex;flex:0 0 auto;width:100%;min-height:72px;box-sizing:border-box}
.public-hero{isolation:isolate;width:calc(100% - 24px);flex:0 0 auto;overflow:hidden}.public-hero-media,.public-hero-shade{pointer-events:none}.public-hero-caption{box-sizing:border-box}.public-hero-caption h2,.public-hero-caption p{max-width:100%;overflow-wrap:anywhere}
.public-quick-actions,.public-profile-card,.public-section,.public-page-header,.public-alert-summary,.public-contact-card{width:auto;max-width:none;box-sizing:border-box}.public-quick-actions{position:relative;z-index:4}.public-profile-card{min-width:0}.public-profile-copy{min-width:0;overflow:hidden}.public-profile-copy h1,.public-profile-copy p,.public-profile-copy strong{overflow:hidden;text-overflow:ellipsis}.public-profile-copy p{white-space:normal}.public-verified{min-width:max-content}
.public-section-heading{min-width:0}.public-section-heading h2{overflow-wrap:anywhere}.public-highlight-list,.public-link-list,.public-contact-card,.public-social-grid{width:100%;min-width:0}.public-highlight,.public-link-card,.public-contact-row{min-width:0}.public-highlight>div,.public-link-card>span,.public-contact-row>span:nth-child(2){min-width:0}.public-highlight p,.public-link-card span,.public-contact-row strong{overflow-wrap:anywhere}
.public-page-header>div{min-width:0}.public-page-header h1,.public-page-header p{overflow-wrap:anywhere}.public-alert-list{min-width:0}.public-alert-card{min-width:0}.public-alert-content{min-width:0;overflow:hidden}.public-alert-content h3,.public-alert-content p{overflow-wrap:anywhere}
.public-gallery-section{width:100%;min-width:0;overflow:hidden}.public-gallery-section .mobile-gallery{box-sizing:border-box}.public-gallery-section .public-grid{width:100%;box-sizing:border-box}.public-gallery-section .public-feed{width:100%;box-sizing:border-box;overscroll-behavior-x:none}.public-gallery-section .feed-item,.public-gallery-section .feed-media-stage{width:100%;min-width:0}.public-gallery-section .feed-caption-copy{min-width:0;overflow:hidden}
.public-bottom-nav{box-sizing:border-box;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:520px;min-height:64px}.public-nav-item{min-width:0}.public-nav-item>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-loading,.public-status{width:100%;min-height:100svh;box-sizing:border-box}
@media(min-width:621px){body.public-app-body{display:flex;justify-content:center}.public-app-shell{min-height:100vh;border-left:1px solid #dce6f2;border-right:1px solid #dce6f2}.public-bottom-nav{left:50%;right:auto;transform:translateX(-50%)}}
@media(max-width:620px){.public-app-shell{max-width:none}.public-app-header{padding-left:18px;padding-right:18px}.public-hero{width:calc(100% - 24px)}.public-profile-card{grid-template-columns:46px minmax(0,1fr) auto}.public-verified{font-size:clamp(0.385rem, 0.4375rem + .15vw, 0.49rem);padding-left:5px;padding-right:5px}.public-section{margin-left:14px;margin-right:14px}.public-page-header{padding-left:18px;padding-right:18px}.public-gallery-section .public-feed{height:calc(100svh - 72px - 78px)} }

/* Final public profile direction: neutral monochrome frost glass. */
:root{--public-ink:#171719;--public-muted:#74747b;--public-line:#dedee3;--public-soft:#f2f2f4;--public-blue:#242428;--public-blue-dark:#000;--public-green:#53535a;--public-red:#111113;--public-shadow:none}
html{background:#e8e8eb}body.public-app-body{background:#e8e8eb;color:#171719}.public-app-shell{background:#f7f7f8;box-shadow:none}
.public-app-header{background:rgba(250,250,251,.78);box-shadow:none;backdrop-filter:blur(24px);}.public-app-brand{color:#171719}.public-app-brand .public-brand-logo,.public-app-brand .public-brand-placeholder{color:#fff;box-shadow:none}.public-header-notifications{color:#171719}.public-header-notifications em{background:#171719;border-color:#fafafb}
.public-hero{margin-top:18px;background:#171719;box-shadow:none}.public-hero-color{background:linear-gradient(145deg,#444448,#101012)}.public-hero-shade{background:linear-gradient(to bottom,rgba(0,0,0,.04),rgba(0,0,0,.1) 40%,rgba(0,0,0,.84))}.public-circle-button{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.62)}.public-circle-button:hover{background:#fff;color:#171719}.public-hero-caption h2{color:#fff}.public-wordmark{color:#fff}
.public-quick-actions{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.78);box-shadow:none;backdrop-filter:blur(18px);}.public-quick-action{color:#171719}.public-quick-action i{background:#ededf0;color:#171719}.public-quick-action:hover i{background:#171719;color:#fff}
.public-profile-card,.public-highlight,.public-link-card,.public-contact-card,.public-social-grid a{border-color:rgba(255,255,255,.86);background:rgba(255,255,255,.8);box-shadow:none;backdrop-filter:blur(18px);}.public-brand-logo,.public-brand-placeholder{background:#171719;color:#fff}.public-profile-copy h1,.public-section-heading h2,.public-page-header h1,.public-alert-content h3,.public-empty-state h2{color:#171719}.public-profile-copy p,.public-highlight p,.public-location,.public-page-header p,.public-alert-summary small,.public-alert-content p,.public-empty-state p,.public-contact-row small{color:#74747b}.public-verified,.public-location i,.public-section-kicker,.public-alert-meta span,.public-social-grid a i{color:#55555c}.public-highlight-icon,.public-contact-icon{background:#ededf0;color:#171719}.public-verified{background:#ededf0}
.public-page-header{background:rgba(247,247,248,.82);border-color:#dedee3}.public-header-action,.public-count-pill,.public-alert-summary{background:#ededf0;color:#171719;border-color:#dedee3}.public-alert-summary-icon{background:#171719;color:#fff}.public-alert-icon{background:#ededf0;color:#171719}.public-empty-state{background:rgba(255,255,255,.52);border-color:#d6d6dc}.public-empty-state span{background:#ededf0;color:#55555c}.public-contact-row{border-color:#e4e4e7}.public-social-grid a i{color:#171719}
.public-bottom-nav{background:rgba(255,255,255,.82);border-color:rgba(255,255,255,.9);box-shadow:none;backdrop-filter:blur(24px);}.public-nav-item{color:#929298}.public-nav-item.is-active{color:#171719}.public-nav-icon em{background:#171719;border-color:#fff}.public-toast{background:#171719}.public-toast.is-error{background:#404047}
/* Contact rows stay inside the card at every viewport and never create horizontal overflow. */
.public-contact-card{width:calc(100% - 28px);max-width:calc(100% - 28px);margin-left:14px;margin-right:14px;overflow:hidden;border-radius:14px}.public-contact-row{display:grid;grid-template-columns:32px minmax(0,1fr) 14px;align-items:center;gap:10px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;padding:12px 13px}.public-contact-row>span:nth-child(2){display:block;min-width:0;overflow:hidden}.public-contact-row strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-contact-row small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-contact-row>i:last-child{justify-self:end;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}
/* Original gallery behavior: grid is the entry view, each tile opens the vertical feed at that item. */
.public-gallery-section{width:100%;min-width:0;overflow:hidden;background:transparent}.public-gallery-section .public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;box-sizing:border-box;background:transparent}.public-gallery-section .public-grid.gallery-view-hidden,.public-gallery-section .public-feed.gallery-view-hidden{display:none!important}.public-gallery-section .public-gallery-item{position:relative;display:block;min-width:0;width:100%;aspect-ratio:2/3;padding:0;border:0;border-radius:0;overflow:hidden;background:#e3e3e6;cursor:pointer}.public-gallery-section .public-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}.public-gallery-section .public-gallery-item>span{position:absolute;right:8px;top:7px;color:#fff;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);text-shadow:0 1px 5px #000;pointer-events:none}.public-gallery-section .public-feed{display:block;width:100%;height:calc(100svh - 72px - 78px);min-height:520px;max-height:none;overflow-y:auto;overflow-x:hidden;scroll-snap-type:none!important;background:#171719;overscroll-behavior:contain}.public-gallery-section .feed-item{position:relative;display:block;width:100%;height:auto;min-height:0;scroll-snap-align:none!important;scroll-snap-stop:normal!important;background:#171719}.public-gallery-section .feed-media-stage{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;background:#171719}.public-gallery-section .feed-media-stage .feed-video,.public-gallery-section .feed-media-stage [data-feed-img]{display:block;width:100%;height:100%;object-fit:contain;background:#171719}.public-gallery-section .feed-caption{position:absolute;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:flex-end;min-height:72px;padding:22px 16px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff}.public-gallery-section .feed-caption-copy{flex:1;min-width:0;overflow:hidden}.public-gallery-section .feed-caption-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.45;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem);cursor:pointer}.public-gallery-section .feed-caption.is-expanded .feed-caption-text{-webkit-line-clamp:unset}.public-gallery-section .feed-caption-more{font-weight:700;color:#fff}.public-gallery-section .feed-grid-toggle,.public-gallery-section .volume-toggle{display:grid;place-items:center;width:35px;height:35px;border:1px solid rgba(255,255,255,.52);border-radius:50%;background:rgba(0,0,0,.36);color:#fff}.public-gallery-section .feed-grid-toggle{flex:0 0 35px;margin-left:10px}.public-gallery-section .video-progress{position:absolute;right:16px;bottom:76px;left:16px;z-index:4;display:flex;align-items:center;gap:8px;color:#fff}.public-gallery-section .video-seek{width:100%;height:4px;accent-color:#fff}.public-gallery-section .video-time{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);white-space:nowrap}.public-gallery-section .volume-toggle{position:absolute;right:16px;top:16px;z-index:4}.public-gallery-section .volume-toggle.volume-hidden{opacity:.7}
@media(max-width:620px){.public-gallery-section .public-feed{height:calc(100svh - 72px - 78px)}}


/* Final polish: white canvas, crisp neutral contrast, gloss only on fixed chrome. */
html{background:#fff}body.public-app-body{background:#fff;color:#171719}.public-app-shell{background:#fff;box-shadow:none}
.public-app-content{background:#fff}.public-view-stack{background:#fff}.public-view{background:#fff}
.public-app-header{background:rgba(255,255,255,.76);border-bottom:1px solid rgba(215,215,220,.75);box-shadow:none;backdrop-filter:blur(22px) saturate(130%);}.public-bottom-nav{background:rgba(255,255,255,.76);border-top:1px solid rgba(215,215,220,.78);box-shadow:none;backdrop-filter:blur(22px) saturate(130%);}
#app-name, .public-header-name{display:block;white-space:nowrap}.public-header-notifications{flex:0 0 35px}
.public-quick-actions{background:#fff;border:1px solid #dedee3;box-shadow:none;backdrop-filter:none;}.public-quick-action{background:#f5f7fa;border:none}.public-quick-action i{background:#f0f0f2;color:#171719}.public-profile-card{background:#fff}.public-home-summary{margin-top:20px}.public-home-summary .public-section-heading{margin-bottom:10px}.public-home-summary .public-section-kicker{color:#6b6b72}.public-home-summary .public-section-heading h2{font-size:clamp(0.99rem, 1.125rem + .15vw, 1.26rem);color:#171719}.public-home-summary-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid #dedee3;border-radius:13px;background:#fff;box-shadow:none}.public-home-summary-card .public-brand-logo,.public-home-summary-card .public-brand-placeholder{width:46px;height:46px;border-radius:50%;background:#171719;color:#fff}.public-home-summary-card .public-profile-copy{min-width:0}.public-home-summary-card .public-profile-copy p{margin:0 0 4px;color:#55555c;font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem);line-height:1.4}.public-home-summary-card .public-location{font-size:clamp(0.495rem, 0.5625rem + .15vw, 0.63rem)}.public-home-summary-card .public-verified{background:#f0f0f2;color:#55555c;padding:4px 7px;border-radius:99px}
.public-highlight, .public-contact-card, .public-social-grid a, .public-link-card {
    background: #f5f7fa;
    box-shadow: none;
    backdrop-filter: none;
}
.public-highlight-icon,.public-contact-icon{background:#f0f0f2;color:#171719}.public-section-kicker{color:#66666d}.public-page-header{background:#fff;border-bottom:1px solid #ededf0}.public-alert-summary{background:#f4f4f5;border-color:#dedee3}.public-alert-summary-icon{background:#171719}.public-alert-icon{background:#f0f0f2;color:#171719}
.public-loading{background:#fff}.public-loading-logo{display:block;width:62px;height:62px;border-radius:21px;object-fit:cover;background:#171719;box-shadow:none}.public-loading-mark{background:#171719;box-shadow:none}
/* Gallery feed is an immersive surface: remove both chrome layers while it is open. */
body.gallery-feed-active .public-app-header,body.gallery-feed-active .public-page-header{display:none!important}body.gallery-feed-active .public-view-stack{min-height:100svh}body.gallery-feed-active .public-view[data-view="gallery"]{padding-bottom:0;min-height:100svh}body.gallery-feed-active .public-gallery-section .public-feed{height:100svh;min-height:100svh}
@media(max-width:620px){.public-home-summary-card{grid-template-columns:44px minmax(0,1fr) auto}.public-home-summary-card .public-brand-logo,.public-home-summary-card .public-brand-placeholder{width:44px;height:44px}.public-home-summary-card .public-verified{font-size:clamp(0.385rem, 0.4375rem + .15vw, 0.49rem);padding-left:5px;padding-right:5px}}
/* Final feed mode: full white reading surface with black controls and no app chrome. */
.public-app-header,.public-bottom-nav{background:#fff!important;backdrop-filter:none!important;box-shadow:none}
.public-bottom-nav{box-shadow:none}
body.gallery-feed-active .public-app-header,body.gallery-feed-active .public-page-header,body.gallery-feed-active .public-bottom-nav{display:none!important}
body.gallery-feed-active .public-app-shell,body.gallery-feed-active .public-app-content,body.gallery-feed-active .public-view-stack,body.gallery-feed-active .public-view[data-view="gallery"],body.gallery-feed-active .public-gallery-section,body.gallery-feed-active .public-gallery-section .public-feed{background:#fff!important}
body.gallery-feed-active .public-gallery-section .public-feed{color:#171719;overflow-y:auto}
body.gallery-feed-active .public-gallery-section .feed-item,body.gallery-feed-active .public-gallery-section .feed-media-stage{background:#fff!important}
body.gallery-feed-active .public-gallery-section .feed-media-stage .feed-video,body.gallery-feed-active .public-gallery-section .feed-media-stage [data-feed-img]{background:#fff!important}
body.gallery-feed-active .public-gallery-section .feed-caption{background:linear-gradient(transparent,rgba(255,255,255,.96));color:#171719}
body.gallery-feed-active .public-gallery-section .feed-caption-more{color:#171719}
body.gallery-feed-active .public-gallery-section .feed-grid-toggle,body.gallery-feed-active .public-gallery-section .volume-toggle{background:#fff;border-color:#171719;color:#171719}
body.gallery-feed-active .public-gallery-section .video-progress{color:#171719}
body.gallery-feed-active .public-gallery-section .video-seek{accent-color:#171719}
/* No frost-glass anywhere in the public theme. */
.public-app-header,.public-bottom-nav,.public-quick-actions,.public-profile-card,.public-home-summary-card,.public-highlight,.public-link-card,.public-contact-card,.public-social-grid a{backdrop-filter:none!important;}
.public-circle-button{backdrop-filter:none!important;}

/* Keep the public header pinned to the viewport while page content scrolls beneath it. */
.public-app-header{position:fixed!important;top:0;left:50%;right:auto;z-index:80;width:min(520px,100%);transform:translateX(-50%)}
.public-view-stack{padding-top:72px}
body.gallery-feed-active .public-view-stack{padding-top:0}
@media(min-width:621px){.public-app-header{width:520px}}

/* Requested public profile polish: native mobile sizing, flat white chrome, and no card shadows. */
.public-app-shell,.public-app-content,.public-view-stack,.public-view{background:#fff}
.public-app-header,.public-bottom-nav{background:#fff!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important}
.public-app-header{height:72px;border-bottom:1px solid #e5e5e8}
.public-bottom-nav{border-top:1px solid #e5e5e8;border-left:0;border-right:0;border-bottom:0}
.public-view[data-view="home"] .public-home-links{margin-top:22px}
.public-section-heading h2{font-size:clamp(1.155rem, 1.3125rem + .15vw, 1.47rem)}
.public-section-kicker{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-link-card{grid-template-columns:34px minmax(0,1fr) 18px;display:grid;align-items:center;justify-content:initial;min-height:58px;padding:13px 14px;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem);box-shadow:none!important}
.public-link-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0f0f2;color:#171719;font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem)}
.public-link-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-link-arrow{justify-self:end;color:#77777e;font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}

.public-profile-card,.public-highlight,.public-contact-card,.public-social-grid a,.public-quick-actions,.public-hero,.public-home-summary-card,.public-empty-state,.public-loading-mark,.public-loading-logo,.public-toast{box-shadow:none!important}
.public-startup-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:end center;padding:18px;background:rgba(17,17,19,.42)}
.public-startup-modal.hidden{display:none}
.public-startup-card{position:relative;width:min(100%,420px);padding:26px 20px 18px;border:1px solid #dedee3;border-radius:20px;background:#fff;color:#171719}
.public-startup-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f0f0f2;color:#55555c;font-size:clamp(1.265rem, 1.4375rem + .15vw, 1.61rem);line-height:1}
.public-startup-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:14px;background:#171719;color:#fff;font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem)}
.public-startup-card .public-section-kicker{color:#66666d}
.public-startup-card h2{margin:6px 0 8px;font-size:clamp(1.375rem, 1.5625rem + .15vw, 1.75rem);letter-spacing:-.045em}
.public-startup-intro{margin:0 0 18px;color:#66666d;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem);line-height:1.5}
.public-startup-actions{display:grid;gap:9px}
.public-startup-action{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;padding:13px;border:1px solid #dedee3;border-radius:12px;background:#fff;color:#171719;text-align:left}
.public-startup-action>i:first-child{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0f0f2;font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem)}
.public-startup-action span{display:grid;gap:2px;min-width:0}
.public-startup-action strong{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}
.public-startup-action small{color:#77777e;font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-startup-action>i:last-child{color:#77777e;font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}
.public-startup-action.is-complete{border-color:#bcbcc2;background:#f7f7f8}
.public-startup-secondary{width:100%;margin-top:12px;padding:10px;border:0;background:transparent;color:#66666d;font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem);font-weight:600}
@media(min-width:621px){.public-bottom-nav{bottom:0;border-radius:0!important}}
@media(max-width:420px){.public-startup-modal{padding:0}.public-startup-card{border-radius:20px 20px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}


/* Reference-style prompts and richer mobile profile finish. */
.public-install-modal,.public-notification-prompt{position:fixed;inset:0;z-index:1250;display:grid;place-items:center;padding:20px;background:rgba(17,17,19,.46);backdrop-filter:blur(10px)}
.public-install-modal.hidden,.public-notification-prompt.hidden{display:none}
.public-notification-prompt-card{position:relative;width:min(100%,390px);padding:30px 24px 22px;text-align:center;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:24px;color:#171719}
.public-notification-prompt-icon{width:58px;height:58px;margin:0 auto 16px;display:grid;place-items:center;border-radius:18px;background:#111113;color:#fff;font-size:clamp(1.32rem, 1.5rem + .15vw, 1.68rem)}
.public-install-logo{width:64px;height:64px;border-radius:18px;object-fit:cover;margin:0 auto 16px;display:block}
.public-notification-prompt-card .eyebrow{margin:0 0 8px;font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem);letter-spacing:.14em;color:#8b8b91}
.public-notification-prompt-card h2{margin:0;font-size:clamp(1.485rem, 1.6875rem + .15vw, 1.89rem);letter-spacing:-.04em;overflow-wrap:anywhere}
.public-notification-prompt-card>p:not(.eyebrow){margin:9px auto 22px;max-width:300px;color:#6e6e73;font-size:clamp(0.825rem, 0.9375rem + .15vw, 1.05rem);line-height:1.55}
.public-notification-prompt-primary,.public-notification-prompt-secondary{width:100%;border-radius:999px;padding:14px 16px;font:600 clamp(0.825rem, 0.9375rem + .15vw, 1.05rem) 'Poppins',sans-serif;cursor:pointer}
.public-notification-prompt-primary{border:1px solid #111113;background:#111113;color:#fff}
.public-notification-prompt-secondary{margin-top:8px;border:0;background:transparent;color:#6e6e73}
.public-notification-prompt-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f5f5f7;color:#6e6e73;font-size:clamp(1.21rem, 1.375rem + .15vw, 1.54rem);line-height:1;cursor:pointer}
.public-quick-actions{border:0!important;background:#fff!important;padding:8px 0!important}
.public-highlight{padding:16px;background:#f5f7fa;border-color:#e0e8f2}
.public-highlight-icon{width:36px;height:36px;border-radius:11px;background:#e7f1ff;color:#1769e8;font-size:clamp(0.825rem, 0.9375rem + .15vw, 1.05rem)}
.public-highlight strong{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}.public-highlight p{font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem);line-height:1.5}
.public-link-list{gap:10px}
.public-link-card{grid-template-columns:38px minmax(0,1fr) 18px;min-height:62px;padding:12px 14px;border:0;border-radius:14px;font-size:clamp(0.825rem, 0.9375rem + .15vw, 1.05rem);font-weight:700;transition:transform .18s ease,filter .18s ease}
.public-link-card:hover{filter:brightness(.97);transform:translateY(-1px)}
.public-link-icon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.52);color:inherit;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}
.public-link-arrow{color:inherit;opacity:.72;font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem)}
.public-profile-copy h1{font-size:clamp(0.99rem, 1.125rem + .15vw, 1.26rem)}.public-profile-copy p{font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem)}.public-location{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-verified{font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem)}
.public-section-heading h2{font-size:clamp(1.265rem, 1.4375rem + .15vw, 1.61rem)}.public-section-kicker{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}
.public-page-header h1{font-size:clamp(1.705rem, 1.9375rem + .15vw, 2.17rem)}.public-page-header p{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}
.public-alert-content h3{font-size:clamp(0.88rem, 1rem + .15vw, 1.12rem)}.public-alert-content p{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}.public-alert-meta{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}
.public-contact-row small{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)}.public-contact-row strong{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}

.public-nav-item{font-size:clamp(0.605rem, 0.6875rem + .15vw, 0.77rem)}.public-nav-icon{font-size:clamp(0.99rem, 1.125rem + .15vw, 1.26rem)}
@media(max-width:420px){.public-notification-prompt,.public-install-modal{padding:0}.public-notification-prompt-card{width:100%;border-radius:24px 24px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}.public-section-heading h2{font-size:clamp(1.155rem, 1.3125rem + .15vw, 1.47rem)}}


/* Round-three public profile corrections. */
.public-link-card .public-link-icon,.public-link-card .public-link-arrow{color:inherit!important}
.public-view-stack{min-height:0!important}
.public-view{min-height:0!important}
.public-view.is-active{min-height:0!important}
.public-alert-icon{display:flex!important;flex-direction:column;align-items:center;justify-content:space-evenly;gap:3px;width:52px!important;height:auto!important;min-height:37px;padding-top:2px;background:transparent!important;border-radius:0!important;color:#171719}
.public-alert-icon>i{display:grid;place-items:center;width:37px;border-radius:12px;background:#f0f0f2;color:#171719}
.public-alert-icon date,.public-alert-icon time{font-size:clamp(0.48rem, 0.55rem + .12vw, 0.62rem);line-height:1.15;color:#77777e;white-space:nowrap;font-weight:500;display:block;text-align:center}
.public-alert-content .public-alert-meta{display:none}
.public-install-modal,.public-notification-prompt{place-items:center!important;padding:12px!important}
.public-notification-prompt-card{box-sizing:border-box;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:24px 20px 18px}
.public-notification-prompt-card h2{font-size:clamp(1.32rem, 1.5rem + .15vw, 1.68rem)}
.public-notification-prompt-card>p:not(.eyebrow){font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem);margin-bottom:16px}
.public-notification-prompt-primary,.public-notification-prompt-secondary{padding:12px 14px;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)}
.public-install-logo{width:54px;height:54px;margin-bottom:12px}
.public-notification-prompt-icon{width:52px;height:52px;margin-bottom:12px;font-size:clamp(1.155rem, 1.3125rem + .15vw, 1.47rem)}
.public-notification-detail-modal{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:12px;background:rgba(17,17,19,.46);backdrop-filter:blur(10px)}
.public-notification-detail-modal.hidden{display:none}
.public-notification-detail-card{position:relative;box-sizing:border-box;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:26px 20px 22px;border:1px solid #dedee3;border-radius:22px;background:#fff;color:#171719}
.public-notification-detail-card h3{margin:5px 0 10px;font-size:clamp(1.32rem, 1.5rem + .15vw, 1.68rem);letter-spacing:-.04em}
.public-notification-detail-body{margin:0;color:#66666d;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem);line-height:1.55;white-space:pre-wrap}
.public-notification-detail-close{position:absolute;top:11px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f0f0f2;color:#66666d;font-size:clamp(1.21rem, 1.375rem + .15vw, 1.54rem);line-height:1}
.public-app-body .public-feed .feed-item{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important;padding:0!important}
.public-app-body .public-feed .feed-media-stage{position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:2/3!important;height:auto!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f0f2f5!important;overflow:hidden!important}
.public-app-body .public-feed .feed-video,.public-app-body .public-feed [data-feed-img]{display:block!important;width:100%!important;height:100%!important;aspect-ratio:2/3!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;background:transparent!important}
.public-app-body .public-feed .video-progress{position:absolute!important;top:50%!important;right:16px!important;bottom:auto!important;left:16px!important;z-index:8!important;transform:translateY(-50%)!important;display:flex!important;opacity:0;pointer-events:none;transition:opacity .18s ease}
.public-app-body .public-feed .feed-item.show-video-controls .video-progress{opacity:1;pointer-events:auto}
.public-app-body .public-feed .volume-toggle{position:absolute!important;top:14px!important;right:14px!important;bottom:auto!important;z-index:9!important;opacity:0;pointer-events:none;transition:opacity .18s ease}
.public-app-body .public-feed .feed-item.show-video-controls .volume-toggle{opacity:1;pointer-events:auto}
.public-app-body .public-feed .volume-toggle.volume-hidden{opacity:0;pointer-events:none}
.public-app-body .public-feed .feed-caption-more{display:none!important}
@media(max-width:420px){.public-notification-prompt-card,.public-notification-detail-card{border-radius:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 20px)}}


/* Round-four public app refinements. */
body.public-app-body{font-family:Poppins,sans-serif!important}
body.public-app-body .public-app-content{flex:0 0 auto!important;min-height:0!important;height:auto!important}
body.public-app-body .public-app-shell{min-height:0!important;height:auto!important}
body.public-app-body .public-view-stack{min-height:0!important;height:auto!important}
body.public-app-body .public-view{min-height:0!important;height:auto!important}
.public-highlight-icon{background:rgba(23,23,25,.12)!important;color:#3d3d43!important}
.public-quick-action i{background:transparent!important;color:#3d3d43!important}
.public-link-card{display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;align-items:center!important;min-height:58px!important;padding:13px 14px!important;border:1px solid #dedee3!important;border-radius:12px!important;background:#fff!important;color:#27272b!important;font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)!important;font-weight:600!important;box-shadow:none!important;backdrop-filter:none!important}
.public-link-card .public-link-icon{display:none!important}
.public-link-card .public-link-arrow{justify-self:end;color:#77777e!important;opacity:1!important}
.public-alert-summary strong{font-size:clamp(0.825rem, 0.9375rem + .15vw, 1.05rem)!important}
.public-alert-summary small{font-size:clamp(0.66rem, 0.75rem + .15vw, 0.84rem)!important;line-height:1.45!important}
.public-alert-summary-icon{width:38px!important;height:38px!important}
.public-home-alert-preview{cursor:pointer}
.public-home-alert-preview:focus-visible{outline:2px solid #77777e;outline-offset:4px}
.public-home-feed .public-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px!important;width:100%!important;margin:0!important}
.public-home-feed .public-grid .gallery-item{display:block!important;width:100%;aspect-ratio:2/3!important;border:0!important;border-radius:0!important;overflow:hidden;background:transparent}
.public-home-feed .public-grid .gallery-item img{display:block;width:100%;height:100%;aspect-ratio:2/3!important;object-fit:cover;border:0!important;border-radius:0!important}
.public-home-feed .public-grid .gallery-item>span{display:none}
body.gallery-feed-active .public-gallery-section .public-feed{height:100svh!important;min-height:100svh!important;overflow-y:auto!important;scroll-snap-type:none!important}
body.gallery-feed-active .public-feed .feed-item{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;scroll-snap-align:none!important;overflow:visible!important;padding:0!important;margin-bottom:16px!important}
body.gallery-feed-active .public-feed .feed-media-stage{position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:2/3!important;height:auto!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;background:#f0f2f5!important;overflow:hidden!important}
body.gallery-feed-active .public-feed .feed-video,body.gallery-feed-active .public-feed [data-feed-img]{display:block!important;width:100%!important;height:100%!important;aspect-ratio:2/3!important;max-height:none!important;object-fit:cover!important;background:transparent!important}
body.gallery-feed-active .public-feed .feed-caption{flex:0 0 auto!important;max-height:24svh!important;overflow:auto!important}
body.gallery-feed-active .public-feed .video-progress{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.38)!important;color:rgba(255,255,255,.94)!important;box-shadow:none!important}
body.gallery-feed-active .public-feed .video-time{color:rgba(255,255,255,.94)!important;text-shadow:0 1px 3px rgba(0,0,0,.55)!important}
body.gallery-feed-active .public-feed .video-seek{accent-color:rgba(255,255,255,.9)!important;background:rgba(255,255,255,.24)!important}
body.gallery-feed-active .public-feed .video-seek::-webkit-slider-runnable-track{height:4px;background:rgba(255,255,255,.35);border-radius:99px}
body.gallery-feed-active .public-feed .video-seek::-webkit-slider-thumb{width:12px;height:12px;margin-top:-4px;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(255,255,255,.92);-webkit-appearance:none}
body.gallery-feed-active .public-feed .video-seek::-moz-range-track{height:4px;background:rgba(255,255,255,.35);border-radius:99px}
body.gallery-feed-active .public-feed .video-seek::-moz-range-thumb{width:11px;height:11px;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(255,255,255,.92)}


/* Round-five public profile corrections. */
.public-alert-card{background:#2b2b30!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:15px!important;margin-bottom:10px!important}
.public-alert-card .public-alert-icon{background:rgba(255,255,255,.14)!important;color:#fff!important}
.public-alert-card .public-alert-icon>i{background:rgba(255,255,255,.16)!important;color:#fff!important}
.public-alert-card .public-alert-icon date,.public-alert-card .public-alert-icon time{color:rgba(255,255,255,.72)!important}
.public-alert-card .public-alert-content h3{color:#fff!important}
.public-alert-card .public-alert-content p{color:rgba(255,255,255,.76)!important}
.public-link-card{background:#f1f1f3!important;color:#27272b!important;border-color:#d8d8de!important}
.public-link-card:hover{background:#e9e9ec!important}


/* Round-six public profile corrections. */
.public-alert-card,.public-link-card{background:#f5f7fa!important;border-color:#e0e8f2!important;color:#27272b!important}
.public-alert-card .public-alert-icon{background:transparent!important;color:#3d3d43!important}
.public-alert-card .public-alert-icon>i{background:transparent!important;color:#3d3d43!important}
.public-alert-card .public-alert-icon date,.public-alert-card .public-alert-icon time{color:#74747b!important}
.public-alert-card .public-alert-content h3{color:#27272b!important}
.public-alert-card .public-alert-content p{color:#5f6670!important}
.public-quick-action{font-size:clamp(0.77rem, 0.875rem + .15vw, 0.98rem)!important}


/* Round-seven public profile corrections. */
.public-quick-action{font-weight:400!important}

/* Round-eight public profile corrections: Home page only alert card */
.public-view[data-view="home"] .public-alert-card,
.public-home-alerts .public-alert-card,
.public-home-alert-preview .public-alert-card {
  background: #ffd600 !important;
  color: #000000 !important;
  border-color: #ffd600 !important;
}
.public-view[data-view="home"] .public-alert-card .public-alert-icon,
.public-view[data-view="home"] .public-alert-card .public-alert-icon>i,
.public-view[data-view="home"] .public-alert-card .public-alert-icon date,
.public-view[data-view="home"] .public-alert-card .public-alert-icon time,
.public-home-alerts .public-alert-card .public-alert-icon,
.public-home-alerts .public-alert-card .public-alert-icon>i,
.public-home-alerts .public-alert-card .public-alert-icon date,
.public-home-alerts .public-alert-card .public-alert-icon time,
.public-home-alert-preview .public-alert-card .public-alert-icon,
.public-home-alert-preview .public-alert-card .public-alert-icon>i,
.public-home-alert-preview .public-alert-card .public-alert-icon date,
.public-home-alert-preview .public-alert-card .public-alert-icon time {
  background: transparent !important;
  color: #000000 !important;
}
.public-view[data-view="home"] .public-alert-card h3,
.public-view[data-view="home"] .public-alert-card .public-alert-content h3,
.public-home-alerts .public-alert-card h3,
.public-home-alerts .public-alert-card .public-alert-content h3,
.public-home-alert-preview .public-alert-card h3,
.public-home-alert-preview .public-alert-card .public-alert-content h3 {
  color: #000000 !important;
}
.public-view[data-view="home"] .public-alert-card p,
.public-view[data-view="home"] .public-alert-card .public-alert-content p,
.public-home-alerts .public-alert-card p,
.public-home-alerts .public-alert-card .public-alert-content p,
.public-home-alert-preview .public-alert-card p,
.public-home-alert-preview .public-alert-card .public-alert-content p {
  color: #373737 !important;
}
.public-view[data-view="alerts"].is-active .public-header-action,
.public-view[data-view="gallery"].is-active .public-count-pill{background:#e0e8f2!important;color:#27272b!important}


/* Profile app navigation and stable public feed corrections. */
.public-section-heading { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
.public-section-see-more { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #000000 !important; font: 600 clamp(0.66rem, 0.75rem + .15vw, 0.84rem)/1.2 'Poppins', sans-serif; cursor: pointer; }
.public-section-see-more i { font-size:clamp(0.55rem, 0.625rem + .15vw, 0.7rem); color: #000000 !important; }
.public-app-title { margin: 0 auto; font-size:clamp(1.1rem, 1.25rem + .15vw, 1.4rem); letter-spacing: -.04em; }
.public-app-back { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; background: transparent; color: #171719; font-size:clamp(0.88rem, 1rem + .15vw, 1.12rem); }
.public-app-header > .public-app-title + .public-count-pill, .public-app-header > .public-app-title + .public-header-notifications { margin-left: auto; }
.public-app-header > .public-app-back + .public-app-title { margin-left: 10px; }
.public-app-header > .public-app-back + .public-app-title + .public-count-pill { margin-left: auto; }
.public-gallery-section .feed-caption, body.gallery-feed-active .public-gallery-section .feed-caption { background: #fff !important; background-image: none !important; color: #171719 !important; }
.public-gallery-section .feed-item { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.public-gallery-section .feed-item, body.gallery-feed-active .public-gallery-section .feed-item { scroll-snap-stop: normal !important; scroll-snap-align: none !important; }
.public-gallery-section .public-gallery-item > span { display: grid; place-items: center; }
.public-gallery-section .public-gallery-item > span i { font-size:clamp(0.715rem, 0.8125rem + .15vw, 0.91rem); }


/* Follow-up profile app corrections. */
.public-section-heading { margin-top: 2em !important; }
.public-app-header[data-page="alerts"] .public-app-title, .public-app-header[data-page="gallery"] .public-app-title, .public-app-header[data-page="contact"] .public-app-title { margin-left: 0 !important; margin-right: auto !important; }
.public-app-header[data-page="highlights"] .public-app-title, .public-app-header[data-page="links"] .public-app-title { margin-left: 10px !important; margin-right: auto !important; }
.public-highlight-icon { display: none !important; }
.public-highlight { gap: 0 !important; }
.public-loading-mark { width: 42px !important; height: 42px !important; border: 3px solid #dedee3 !important; border-top-color: #171719 !important; border-radius: 50% !important; background: transparent !important; animation: public-loading-spin .75s linear infinite; }
@keyframes public-loading-spin { to { transform: rotate(360deg); } }
.public-gallery-section .feed-item:has(.feed-caption.is-expanded) { overflow: visible !important; }
.public-gallery-section .feed-caption.is-expanded { overflow: visible !important; max-height: 55dvh !important; padding-top: 24px !important; padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important; }
.public-gallery-section .feed-caption.is-expanded .feed-caption-copy { overflow: visible !important; min-height: 0 !important; }
.public-gallery-section .feed-caption.is-expanded .feed-caption-text { max-height: none !important; overflow: visible !important; padding-top: 3px !important; }
.public-gallery-section .feed-media-stage { padding-top: 2em !important; box-sizing: border-box !important; }

/* Startup and feed layout corrections. */
.public-app-body.booting .public-app-header,
.public-app-body.booting .public-bottom-nav { visibility: hidden !important; pointer-events: none !important; }
.public-app-body.booting .public-loading { position: relative; z-index: 2; }
.public-bottom-nav { height: auto !important; min-height: 64px !important; bottom: 0 !important; transform: translateX(-50%) !important; }
@media (max-width: 620px) { .public-bottom-nav { height: auto !important; min-height: 64px !important; bottom: 0 !important; transform: translateX(-50%) !important; } }
body.gallery-feed-active .public-feed .feed-item { justify-content: flex-start !important; align-items: stretch !important; }
body.gallery-feed-active .public-feed .feed-media-stage { flex: 0 0 auto !important; align-items: flex-start !important; justify-content: flex-start !important; margin-top: 0 !important; padding-top: 2em !important; }
body.gallery-feed-active .public-feed .feed-video,
body.gallery-feed-active .public-feed [data-feed-img] { align-self: flex-start !important; margin-top: 0 !important; }


/* Alert data and final feed caption/media corrections. */
body.gallery-feed-active .public-feed .feed-media-stage { padding-top: 0 !important; margin-top: 0 !important; }
body.gallery-feed-active .public-feed .feed-caption.is-expanded { display: flex !important; align-items: flex-start !important; box-sizing: border-box !important; max-height: 55dvh !important; overflow-y: auto !important; overflow-x: hidden !important; padding-top: 24px !important; }
body.gallery-feed-active .public-feed .feed-caption.is-expanded .feed-caption-copy { display: block !important; max-height: none !important; overflow: visible !important; padding-top: 0 !important; }
body.gallery-feed-active .public-feed .feed-caption.is-expanded .feed-caption-text { display: block !important; max-height: none !important; overflow: visible !important; margin: 0 !important; padding-top: 4px !important; }


/* Home previews show compact alert/highlight excerpts only. */
.public-home-alert-preview .public-alert-content h3,
.public-home-highlights .public-highlight strong { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden !important; }
.public-home-alert-preview .public-alert-content p,
.public-home-highlights .public-highlight p { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden !important; }
.public-home-alert-preview .public-alert-card .public-alert-content p {
    color: #373737 !important;
}


/* Editor simplification: inline notification heading control. */
.notification-compose-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #eaecf0; font-size:clamp(0.88rem, 1rem + .15vw, 1.12rem); font-weight: 700; color: #101828; }
.notification-compose-heading .notification-settings-trigger { position: static !important; margin-left: auto; width: 34px; height: 34px; }
.notification-settings-card { overflow: hidden !important; overflow-x: hidden !important; overflow-y: hidden !important; touch-action: none !important; overscroll-behavior: none !important; }
.notification-settings-card .notification-settings-save { margin-top: 18px; }


/* Editor control cleanup. */
.notification-compose-heading { display: flex; }
#notification-heading-label { font-weight: 700; }
#business-info .info-row .remove-btn, #social-links .social-row .remove-btn { display: grid; place-items: center; }

/* IndexedDB-backed lazy media placeholders. */
.media-is-loading { opacity:.35; background:linear-gradient(110deg,#eef0f2 8%,#f8f9fa 18%,#eef0f2 33%); background-size:200% 100%; animation:public-media-shimmer 1.2s linear infinite; }
.media-is-loaded { opacity:1; animation:none; }
.media-load-error { opacity:.55; animation:none; }
@keyframes public-media-shimmer { to { background-position-x:-200%; } }

.public-grid .gallery-item .processing-spinner { position:absolute; top:8px; right:8px; inset:auto; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#fff; background:rgba(0,0,0,.58); z-index:5; pointer-events:none; contain:layout paint; }
.processing-spinner i { line-height:1; }


/* Stable immersive feed slides: every item owns exactly one viewport. */
body.gallery-feed-active .public-gallery-section .public-feed {
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  scroll-snap-type: none !important;
}
body.gallery-feed-active .public-gallery-section .public-feed .feed-item {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage > .feed-video,
body.gallery-feed-active .public-gallery-section .feed-media-stage > [data-feed-img] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 64px !important;
  max-height: 30% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded {
  max-height: 30% !important;
  overflow-y: auto !important;
}


/* The public app has three navigation tabs: Home, Alerts, and Feed. */
.public-bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.public-social-grid a i.fa-instagram { color: #e4405f !important; }
.public-social-grid a i.fa-x-twitter { color: #111111 !important; }
.public-social-grid a i.fa-tiktok { color: #111111 !important; text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55; }
.public-social-grid a i.fa-linkedin-in { color: #0a66c2 !important; }
.public-social-grid a i.fa-youtube { color: #ff0000 !important; }
.public-social-grid a i.fa-whatsapp { color: #25d366 !important; }
.public-social-grid a i.fa-dollar-sign { color: #00d632 !important; }
.public-social-grid a i.fa-link { color: #56606a !important; }

/* Notification detail presentation. */
.public-notification-detail-card .eyebrow {
  display: block;
  margin: 0 auto .65rem;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: #000000 !important;
  font-weight: 700;
  font-size: clamp(.68rem, 1.8vw, .78rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.public-notification-detail-card h3 { margin: .3rem 0 .7rem; font-size: clamp(1.25rem, 4vw, 1.65rem); letter-spacing: -.04em; }
.public-notification-detail-body { font-size: clamp(0.85rem, 2.5vw, 1rem) !important; line-height: 1.55; }


/* Final feed caption layout: captions stay below media in normal flow. */
body.gallery-feed-active .public-gallery-section .public-feed .feed-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  height: 100svh !important;
  min-height: 100svh !important;
  max-height: 100svh !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage > .feed-video,
body.gallery-feed-active .public-gallery-section .feed-media-stage > [data-feed-img] {
  display: block !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: 30% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: .5rem 3.5rem .5rem 1rem !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded {
  align-items: flex-start !important;
  max-height: 35% !important;
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  min-width: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded .feed-caption-text {
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
body.gallery-feed-active .public-gallery-section .feed-grid-toggle.feed-caption-grid-toggle {
  position: absolute !important;
  right: 1rem !important;
  bottom: .5rem !important;
  z-index: 5 !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  transform: none !important;
}

/* Reserve a dedicated caption zone so media can never cover the bottom text. */
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  min-height: 0 !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption {
  flex: 0 0 auto !important;
  height: calc(clamp(5rem, 20vw, 7rem) + env(safe-area-inset-bottom)) !important;
  min-height: calc(clamp(5rem, 20vw, 7rem) + env(safe-area-inset-bottom)) !important;
  max-height: 45% !important;
  padding-top: .65rem !important;
  padding-bottom: calc(.65rem + env(safe-area-inset-bottom)) !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded {
  flex-basis: auto !important;
  height: calc(clamp(8rem, 35vw, 14rem) + env(safe-area-inset-bottom)) !important;
  min-height: calc(clamp(8rem, 35vw, 14rem) + env(safe-area-inset-bottom)) !important;
  max-height: 45% !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy,
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded .feed-caption-copy {
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 1.8rem !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage > .feed-video,
body.gallery-feed-active .public-gallery-section .feed-media-stage > [data-feed-img] {
  min-height: 0 !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Slideshow presentation: centered media with a bottom caption overlay. */
body.gallery-feed-active .public-gallery-section .public-feed,
body.gallery-feed-active .public-gallery-section .feed-item,
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  background: #000 !important;
}
body.gallery-feed-active .public-gallery-section .feed-item {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  align-content: start;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage > .feed-video,
body.gallery-feed-active .public-gallery-section .feed-media-stage > [data-feed-img] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption {
  --feed-toggle-size: clamp(2.75rem, 12vw, 3.5rem);
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: flex-end !important;
  width: 100% !important;
  height: clamp(5rem, 20vw, 7rem) !important;
  min-height: clamp(5rem, 20vw, 7rem) !important;
  max-height: 45% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 2rem calc(var(--feed-toggle-size) + 1.5rem) calc(.75rem + env(safe-area-inset-bottom)) 1rem !important;
  overflow: hidden !important;
  color: #fff !important;
  background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.64) 48%, rgba(0,0,0,0)) !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded {
  height: clamp(8rem, 35vw, 14rem) !important;
  min-height: clamp(8rem, 35vw, 14rem) !important;
  max-height: 48% !important;
  padding-top: 2rem !important;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy,
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded .feed-caption-copy {
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 0 1.5rem !important;
  color: #fff !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-text,
body.gallery-feed-active .public-gallery-section .feed-caption-more {
  color: #fff !important;
}
body.gallery-feed-active .public-gallery-section .feed-grid-toggle.feed-caption-grid-toggle {
  position: absolute !important;
  right: 1rem !important;
  bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
  z-index: 8 !important;
  display: grid !important;
  flex: 0 0 var(--feed-toggle-size) !important;
  width: var(--feed-toggle-size) !important;
  height: var(--feed-toggle-size) !important;
  min-width: var(--feed-toggle-size) !important;
  min-height: var(--feed-toggle-size) !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.48) !important;
  color: #fff !important;
  transform: none !important;
}

/* Caption readability: two complete closed lines, then a larger scrollable overlay. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  height: clamp(7rem, 28vw, 10rem) !important;
  min-height: clamp(7rem, 28vw, 10rem) !important;
  max-height: 48% !important;
  padding-top: 2rem !important;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
  overflow: visible !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-text {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.45 !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded {
  height: min(70dvh, calc(100% - .5rem)) !important;
  min-height: min(70dvh, calc(100% - .5rem)) !important;
  max-height: 70dvh !important;
  padding-top: 2rem !important;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
  overflow: visible !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded .feed-caption-copy {
  max-height: calc(100% - 1rem) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 0 1.5rem !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption.is-expanded .feed-caption-text {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}
body.gallery-feed-active .public-gallery-section .feed-grid-toggle.feed-caption-grid-toggle {
  --feed-toggle-size: clamp(3rem, 13vw, 3.75rem);
  width: var(--feed-toggle-size) !important;
  height: var(--feed-toggle-size) !important;
  min-width: var(--feed-toggle-size) !important;
  min-height: var(--feed-toggle-size) !important;
  bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
}


/* User caption/feed refinement: fixed 150-character captions and non-overlapping media flow. */
.caption-editor-card .caption-editor-meta { margin-top: 7px; color: #6e6e73; font-size: .78rem; line-height: 1.3; text-align: right; }
.caption-editor-card .modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 4px; }
.caption-editor-card .modal-actions button { min-width: 0; }
.public-mode .public-feed .feed-caption, .public-app-body .public-feed .feed-caption { position: relative !important; inset: auto !important; display: flex !important; flex: 0 0 auto !important; align-items: flex-start !important; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important; box-sizing: border-box !important; overflow: visible !important; background: #fff !important; color: #171719 !important; }
.public-mode .public-feed .feed-caption-text, .public-app-body .public-feed .feed-caption-text { display: block !important; max-height: none !important; overflow: visible !important; -webkit-line-clamp: unset !important; cursor: default !important; }
.public-mode .public-feed .feed-caption-more, .public-app-body .public-feed .feed-caption-more { display: none !important; }
.public-mode .public-feed .feed-item, .public-app-body .public-feed .feed-item { justify-content: flex-start !important; overflow: visible !important; padding: 0 !important; }
.public-mode .public-feed .feed-media-stage, .public-app-body .public-feed .feed-media-stage { position: relative !important; inset: auto !important; flex: 0 0 auto !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; aspect-ratio: 2 / 3 !important; height: auto !important; max-height: none !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; background: #f0f2f5 !important; box-sizing: border-box !important; }
.public-mode .public-feed .feed-media-stage > .feed-video, .public-mode .public-feed .feed-media-stage > [data-feed-img], .public-app-body .public-feed .feed-media-stage > .feed-video, .public-app-body .public-feed .feed-media-stage > [data-feed-img] { width: 100% !important; max-width: 100% !important; height: 100% !important; aspect-ratio: 2 / 3 !important; max-height: none !important; object-fit: cover !important; object-position: center !important; display: block !important; background: transparent !important; }
@supports not (height: 100dvh) { .public-mode .public-feed .feed-media-stage, .public-app-body .public-feed .feed-media-stage { max-height: none !important; } }


/* Notification description counter must remain visible inside the compose form. */
.notification-character-count { margin: -7px 0 15px; color: #667085; font-size: .78rem; line-height: 1.3; text-align: right; }
.notification-form .notification-character-count { display: block !important; visibility: visible !important; opacity: 1 !important; width: 100%; box-sizing: border-box; }

/* Final caption readability pass: reserve enough bottom space for all 150 characters. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  height: clamp(9rem, 34vw, 15rem) !important;
  min-height: clamp(9rem, 34vw, 15rem) !important;
  max-height: 48% !important;
  align-items: flex-start !important;
  padding-top: 1.25rem !important;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 0 1rem !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-text {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
}
@supports not (height: 100dvh) {
  body.gallery-feed-active .public-gallery-section .feed-caption {
    max-height: 48% !important;
  }
}

/* Caption contrast: finish the fade before the static caption text begins. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  background: linear-gradient(to top, #000 0%, #000 68%, rgba(0,0,0,.98) 82%, rgba(0,0,0,.68) 94%, rgba(0,0,0,0) 100%) !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy,
body.gallery-feed-active .public-gallery-section .feed-caption-text.is-static {
  background: #000 !important;
}

/* Final white feed mode: captions and media share a clean white surface. */
body.gallery-feed-active .public-gallery-section .public-feed,
body.gallery-feed-active .public-gallery-section .feed-item {
  background: #fff !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage {
  background: #f0f2f5 !important;
}
body.gallery-feed-active .public-gallery-section .feed-media-stage .feed-video,
body.gallery-feed-active .public-gallery-section .feed-media-stage [data-feed-img] {
  background: transparent !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption {
  background: #fff !important;
  background-image: none !important;
  color: #000 !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy,
body.gallery-feed-active .public-gallery-section .feed-caption-text,
body.gallery-feed-active .public-gallery-section .feed-caption-text.is-static,
body.gallery-feed-active .public-gallery-section .feed-caption-more {
  background: #fff !important;
  color: #000 !important;
  text-shadow: none !important;
}
body.gallery-feed-active .public-gallery-section .feed-grid-toggle.feed-caption-grid-toggle,
body.gallery-feed-active .public-gallery-section .video-progress,
body.gallery-feed-active .public-gallery-section .volume-toggle.volume-hidden,
body.gallery-feed-active .public-gallery-section .volume-toggle {
  display: none !important;
}

/* Caption width: no reserved toggle-button gutter; equal horizontal breathing room. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-text.is-static {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Compact caption zone: keep the full 150-character text available by scrolling. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  height: clamp(5rem, 20vw, 8rem) !important;
  min-height: clamp(5rem, 20vw, 8rem) !important;
  max-height: 30% !important;
  padding-top: .75rem !important;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: .5rem !important;
}

/* Mobile-safe caption zone: show several lines before scrolling the remaining text. */
body.gallery-feed-active .public-gallery-section .feed-caption {
  height: clamp(8rem, 28vw, 11rem) !important;
  min-height: clamp(8rem, 28vw, 11rem) !important;
  max-height: 36% !important;
  padding-top: 1rem !important;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: .75rem !important;
}

/* Do not reveal the media name while the slide is still loading. */
body.gallery-feed-active .public-gallery-section .feed-item:not(:has(.media-is-loaded)) .feed-caption {
  visibility: hidden !important;
}

/* Show a real loading indicator instead of the browser's image fallback text. */
.public-gallery-section .feed-media-loading-spinner,
.feed-media-stage .feed-media-loading-spinner,
.feed-media-stage .video-loading-spinner {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  display: grid !important;
  place-items: center !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: none !important;
}
.public-gallery-section .feed-media-stage:has([data-feed-img].media-is-loaded) .feed-media-loading-spinner,
.public-gallery-section .feed-media-stage:has(.feed-video.media-is-loaded) .feed-media-loading-spinner,
.public-gallery-section .feed-media-stage:has(.feed-video.media-is-loaded) .video-loading-spinner {
  display: none !important;
}
/* Home-to-video transitions do not need 99 offscreen image overlays. */
.public-gallery-section.home-gallery-transition .feed-media-loading-spinner {
  display: none !important;
}

/* Feed mode keeps standard chrome header and bottom nav visible with strictly contained scroll */
body.gallery-feed-active {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
body.gallery-feed-active .public-app-shell,
body.gallery-feed-active .public-app-content {
  overflow: hidden !important;
  height: 100% !important;
}
body.gallery-feed-active .public-view-stack {
  padding-top: 72px !important;
  padding-bottom: 64px !important;
  height: 100dvh !important;
  height: 100svh !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.gallery-feed-active .public-view[data-view="gallery"],
body.gallery-feed-active .public-gallery-section {
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.gallery-feed-active .public-app-header,
body.gallery-feed-active .public-bottom-nav {
  display: flex !important;
}
body.gallery-feed-active .public-bottom-nav {
  display: grid !important;
}

/* Home-to-media feed overlay: exact same full-screen layout and style as feed page */
body.feed-overlay-active {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

body.feed-overlay-active .public-app-header,
body.feed-overlay-active .public-bottom-nav {
  display: none !important;
}

#public-lightbox[hidden],
.public-lightbox[hidden],
[hidden]#public-lightbox {
  display: none !important;
}

#public-lightbox.is-feed-overlay:not([hidden]),
.public-lightbox.is-feed-overlay:not([hidden]) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  height: 100svh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
  cursor: pointer;
}

#public-lightbox.is-feed-overlay .public-gallery-section,
.public-lightbox.is-feed-overlay .public-gallery-section {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 520px !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
  flex: 1 1 100% !important;
}

#public-lightbox.is-feed-overlay .public-feed,
.public-lightbox.is-feed-overlay .public-feed {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
  flex: 1 1 100% !important;
  scroll-snap-type: none !important;
}

#public-lightbox.is-feed-overlay .feed-item,
#public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-item,
.public-lightbox.is-feed-overlay .feed-item,
.public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-item {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
  flex: 1 1 100% !important;
}

#public-lightbox.is-feed-overlay .feed-media-stage,
#public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage,
.public-lightbox.is-feed-overlay .feed-media-stage,
.public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0% !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  padding-top: max(12px, env(safe-area-inset-top)) !important;
  padding-bottom: 8px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  overflow: hidden !important;
}

#public-lightbox.is-feed-overlay .feed-media-stage > .feed-video,
#public-lightbox.is-feed-overlay .feed-media-stage > [data-feed-img],
#public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage > .feed-video,
#public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage > [data-feed-img],
.public-lightbox.is-feed-overlay .feed-media-stage > .feed-video,
.public-lightbox.is-feed-overlay .feed-media-stage > [data-feed-img],
.public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage > .feed-video,
.public-lightbox.is-feed-overlay .public-gallery-section .public-feed .feed-media-stage > [data-feed-img] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: #fff !important;
}

#public-lightbox.is-feed-overlay .feed-caption.lightbox-caption-view,
.public-lightbox.is-feed-overlay .feed-caption.lightbox-caption-view {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: flex-start !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 16px 4px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: #fff !important;
  color: #171719 !important;
}

.public-lightbox.is-feed-overlay .feed-caption-copy {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.public-lightbox.is-feed-overlay .feed-caption-text {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-height: 1.4 !important;
  font-size: clamp(0.72rem, 0.8rem + .15vw, 0.9rem) !important;
  color: #171719 !important;
  cursor: pointer !important;
}

.public-lightbox.is-feed-overlay .lightbox-actions {
  width: 100% !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 8px 16px calc(14px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

.public-lightbox.is-feed-overlay .lightbox-close-button {
  flex: 0 0 auto !important;
  height: 44px !important;
  min-width: 155px !important;
  padding: 0 24px 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
  background: #171719 !important;
  color: #fff !important;
  font-size: clamp(0.8rem, 0.875rem + .1vw, 0.95rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border: 1.5px solid #171719 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  position: relative !important;
  z-index: 1 !important;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease;
}

.public-lightbox.is-feed-overlay .lightbox-view-feed-button {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 20px !important;
  margin-left: -44px !important;
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  color: #171719 !important;
  font-size: clamp(0.8rem, 0.875rem + .1vw, 0.95rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border: 1.5px solid #171719 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease;
}

.public-lightbox.is-feed-overlay .lightbox-close-button:active {
  transform: scale(0.985);
  opacity: 0.9;
}

.public-lightbox.is-feed-overlay .lightbox-view-feed-button:active {
  transform: scale(0.985);
  background: #f4f4f5 !important;
}

@media (hover: hover) {
  .public-lightbox.is-feed-overlay .lightbox-close-button:hover {
    background: #27272a !important;
    border-color: #27272a !important;
  }
  .public-lightbox.is-feed-overlay .lightbox-view-feed-button:hover {
    background: #f8f8f9 !important;
  }
}

/* Items inside class="mobile-gallery square public-grid": 2:3 aspect ratio, no gray border, no rounded borders */
.mobile-gallery.square.public-grid {
  background: transparent !important;
}

.mobile-gallery.square.public-grid .gallery-item,
.mobile-gallery.square.public-grid .public-gallery-item,
.mobile-gallery.square.public-grid > button,
.mobile-gallery.square.public-grid > * {
  aspect-ratio: 2 / 3 !important;
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  background: transparent !important;
  padding: 0 !important;
}

.mobile-gallery.square.public-grid .gallery-item img,
.mobile-gallery.square.public-grid .public-gallery-item img,
.mobile-gallery.square.public-grid > * img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Remove border and rounded border from class="public-highlight" and class="public-highlight-list" */
.public-highlight,
.public-highlight-list,
.public-highlight-list .public-highlight {
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 1) Remove background from .public-hero */
.public-hero {
  background: transparent !important;
}

/* 2) Use color #454545 for <h2> in class="public-section-heading" */
.public-section-heading h2 {
  color: #454545 !important;
}

/* 3) Notification modal class="public-notification-detail-card" styling */
.public-notification-detail-card {
  text-align: center !important;
}

/* Eyebrow in notification modal: no background color, black font color */
.public-notification-detail-card .eyebrow,
.public-notification-prompt-card p.eyebrow[data-notification-eyebrow],
p.eyebrow[data-notification-eyebrow] {
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #000000 !important;
  padding: 0 !important;
  margin: 0 auto 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* #public-install-modal-copy: add the padding to the top that's on the bottom */
#public-install-modal-copy,
.public-notification-detail-card .public-notification-detail-body {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin: 0 auto !important;
  color: #6e6e73 !important;
  font-size: clamp(0.77rem, 0.875rem + .15vw, 0.98rem) !important;
  line-height: 1.5 !important;
  white-space: pre-wrap !important;
  text-align: center !important;
}

.public-alert-list .public-alert-card {
  cursor: pointer;
}

/* 1) Solid color and no border or box shadow for class="public-link-card" */
.public-link-card,
.public-home-links .public-link-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 52px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  background: #f5f7fa !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #171719 !important;
  text-decoration: none !important;
  font-family: inherit !important;
  font-size: clamp(0.82rem, 0.9rem + .1vw, 0.96rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  box-sizing: border-box !important;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease !important;
}

.public-link-card:hover,
.public-home-links .public-link-card:hover {
  background: #ebeef2 !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transform: translateY(-1.5px) !important;
}

.public-link-card:active,
.public-home-links .public-link-card:active {
  transform: scale(0.985) !important;
  background: #e2e6eb !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.public-link-card .public-link-label {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #171719 !important;
  font-weight: 600 !important;
}

.public-link-card .public-link-arrow,
.public-home-links .public-link-card .public-link-arrow {
  flex-shrink: 0 !important;
  margin-left: 12px !important;
  color: #74747b !important;
  font-size: clamp(0.72rem, 0.8rem + .1vw, 0.84rem) !important;
  opacity: 0.85 !important;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease, opacity 0.18s ease !important;
}

.public-link-card:hover .public-link-arrow,
.public-home-links .public-link-card:hover .public-link-arrow {
  color: #171719 !important;
  opacity: 1 !important;
  transform: translate(2px, -2px) !important;
}

/* 1) Remove padding-top for all media sizes for .public-view */
.public-view,
.public-view.is-active {
  padding-top: 0 !important;
}

/* 2) Home page only: .public-highlight background #000000 and text colors inside div to white */
.public-view[data-view="home"] .public-highlight, .public-home-highlights .public-highlight {
    background: #000000 !important;
    color: #ffffff !important;
}

.public-view[data-view="home"] .public-highlight div,
.public-home-highlights .public-highlight div,
.public-view[data-view="home"] .public-highlight div strong,
.public-home-highlights .public-highlight div strong,
.public-view[data-view="home"] .public-highlight div p,
.public-home-highlights .public-highlight div p,
.public-view[data-view="home"] .public-highlight div * {
  color: #ffffff !important;
}

/* Change the color of the <p> inside class="public-alert-content" to white for alerts view */
.public-alert-content p {
  color: #ffffff !important;
}

/* Home page only: public-alert-card background #ffd600, h3 black, p #373737, icon and date/time black */
.public-view[data-view="home"] .public-alert-card,
.public-home-alerts .public-alert-card,
.public-home-alert-preview .public-alert-card {
  background: #ffd600 !important;
  color: #000000 !important;
  border-color: #ffd600 !important;
}
.public-view[data-view="home"] .public-alert-card h3,
.public-view[data-view="home"] .public-alert-card .public-alert-content h3,
.public-home-alerts .public-alert-card h3,
.public-home-alerts .public-alert-card .public-alert-content h3,
.public-home-alert-preview .public-alert-card h3,
.public-home-alert-preview .public-alert-card .public-alert-content h3 {
  color: #000000 !important;
}
.public-view[data-view="home"] .public-alert-card p,
.public-view[data-view="home"] .public-alert-card .public-alert-content p,
.public-home-alerts .public-alert-card p,
.public-home-alerts .public-alert-card .public-alert-content p,
.public-home-alert-preview .public-alert-card p,
.public-home-alert-preview .public-alert-card .public-alert-content p {
  color: #373737 !important;
}
.public-view[data-view="home"] .public-alert-card .public-alert-icon,
.public-view[data-view="home"] .public-alert-card .public-alert-icon > i,
.public-view[data-view="home"] .public-alert-card .public-alert-icon date,
.public-view[data-view="home"] .public-alert-card .public-alert-icon time,
.public-home-alerts .public-alert-card .public-alert-icon,
.public-home-alerts .public-alert-card .public-alert-icon > i,
.public-home-alerts .public-alert-card .public-alert-icon date,
.public-home-alerts .public-alert-card .public-alert-icon time,
.public-home-alert-preview .public-alert-card .public-alert-icon,
.public-home-alert-preview .public-alert-card .public-alert-icon > i,
.public-home-alert-preview .public-alert-card .public-alert-icon date,
.public-home-alert-preview .public-alert-card .public-alert-icon time {
  background: transparent !important;
  color: #000000 !important;
}

/* public-section-see-more to color black */
.public-section-see-more,
.public-section-see-more i,
.public-section-see-more * {
  color: #000000 !important;
}

/* Center overlay spinner for video and image loading state in gallery feed and lightbox */
.feed-media-stage .video-loading-spinner,
.feed-media-stage .feed-media-loading-spinner,
.feed-media-stage .processing-spinner,
.public-gallery-section .feed-media-stage .video-loading-spinner,
.public-gallery-section .feed-media-stage .feed-media-loading-spinner,
.public-gallery-section .feed-media-stage .processing-spinner,
.public-gallery-section .feed-media-loading-spinner,
.public-gallery-section .video-loading-spinner,
.public-feed .feed-media-stage .feed-media-loading-spinner,
.public-feed .feed-media-stage .video-loading-spinner,
.public-feed .feed-media-stage .processing-spinner,
.public-lightbox .feed-media-stage .video-loading-spinner,
.public-lightbox .feed-media-stage .feed-media-loading-spinner,
.public-lightbox .feed-media-stage .processing-spinner,
#public-lightbox .video-loading-spinner,
#public-lightbox .feed-media-loading-spinner,
#public-lightbox .processing-spinner {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.65) !important;
  font-size: 1.15rem !important;
  z-index: 10 !important;
  pointer-events: none !important;
  contain: layout paint;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.feed-media-stage .video-loading-spinner i,
.feed-media-stage .feed-media-loading-spinner i,
.feed-media-stage .processing-spinner i,
.public-gallery-section .feed-media-loading-spinner i,
.public-gallery-section .video-loading-spinner i {
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 1.15rem !important;
  color: #ffffff !important;
}

/* Ensure processing and loading spinners are hidden when feed media is loaded */
.feed-media-stage:has([data-feed-img].media-is-loaded) .feed-media-loading-spinner,
.feed-media-stage:has([data-feed-img].media-is-loaded) .processing-spinner,
.feed-item:has([data-feed-img].media-is-loaded) .feed-media-loading-spinner,
.feed-item:has([data-feed-img].media-is-loaded) .processing-spinner,
.public-gallery-section .feed-media-stage:has([data-feed-img].media-is-loaded) .feed-media-loading-spinner,
.public-gallery-section .feed-item:has([data-feed-img].media-is-loaded) .feed-media-loading-spinner,
.feed-media-stage [data-feed-img].media-is-loaded ~ .feed-media-loading-spinner,
.feed-media-stage [data-feed-img].media-is-loaded ~ .processing-spinner,

.feed-media-stage:has(.feed-video.media-is-loaded) .processing-spinner,
.feed-media-stage:has(.feed-video.media-is-loaded) .video-loading-spinner,
.feed-item:has(.feed-video.media-is-loaded) .processing-spinner,
.feed-item:has(.feed-video.media-is-loaded) .video-loading-spinner,
.public-gallery-section .feed-media-stage:has(.feed-video.media-is-loaded) .video-loading-spinner,
.public-gallery-section .feed-item:has(.feed-video.media-is-loaded) .video-loading-spinner,
.feed-media-stage .feed-video.media-is-loaded ~ .video-loading-spinner,
.feed-media-stage .feed-video.media-is-loaded ~ .processing-spinner {
  display: none !important;
}

/* Home page: full width mobile-gallery square public-grid to public-view is-active with gap: 3px */
.public-view[data-view="home"] .public-home-feed,
.public-home-feed {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.public-view[data-view="home"] .public-home-feed .public-section-heading,
.public-home-feed .public-section-heading {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.public-view[data-view="home"] .mobile-gallery.square.public-grid,
.public-view.is-active[data-view="home"] .mobile-gallery.square.public-grid,
.public-home-feed .mobile-gallery.square.public-grid,
.public-home-feed .public-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 3px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Instagram-style continuous vertical feed with snapping and seamless item flow */
.gallery-view-hidden,
.public-view[data-view="gallery"] .gallery-view-hidden,
.public-view[data-view="gallery"] .public-grid.gallery-view-hidden,
.public-view[data-view="gallery"] .public-feed.gallery-view-hidden,
body.gallery-feed-active .public-view[data-view="gallery"] .public-grid,
body:not(.gallery-feed-active) .public-view[data-view="gallery"] .public-feed {
  display: none !important;
}

body:not(.gallery-feed-active) .public-view[data-view="gallery"] .public-grid {
  display: grid !important;
}

body.gallery-feed-active .public-view[data-view="gallery"] .public-feed {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  background: #fff !important;
  padding: 0 0 32px 0 !important;
  box-sizing: border-box !important;
  overscroll-behavior: contain !important;
}

.public-lightbox.is-feed-overlay .public-feed,
#public-lightbox.is-feed-overlay .public-feed {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-item,
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-item {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 16px 0 !important;
  overflow: visible !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  background: #fff !important;
}

.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-item:last-child,
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-item:last-child {
  margin-bottom: 0 !important;
}

.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-media-stage,
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .feed-media-stage,
.feed-media-stage {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f0f2f5 !important;
  box-sizing: border-box !important;
}

.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-media-stage > .feed-video,
.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-media-stage > [data-feed-img],
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .feed-media-stage > .feed-video,
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .feed-media-stage > [data-feed-img],
.feed-media-stage > .feed-video,
.feed-media-stage > [data-feed-img] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}

.public-view[data-view="gallery"] .public-gallery-section .public-feed .feed-caption,
body.gallery-feed-active .public-view[data-view="gallery"] .public-gallery-section .feed-caption {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px 14px 4px 14px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: #fff !important;
  color: #171719 !important;
}

.public-gallery-section .public-feed .feed-item:not(.has-caption) .feed-caption,
body.gallery-feed-active .public-gallery-section .feed-item:not(.has-caption) .feed-caption {
  display: none !important;
}

.public-gallery-section .public-feed .feed-caption-copy,
body.gallery-feed-active .public-gallery-section .feed-caption-copy {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.public-gallery-section .public-feed .feed-caption-text,
body.gallery-feed-active .public-gallery-section .feed-caption-text {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  color: #171719 !important;
  background: #fff !important;
  cursor: default !important;
}

/* Public Gallery Header Layout */
.public-app-header[data-page="gallery"] {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(520px, 100%) !important;
  height: 72px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  z-index: 80 !important;
}

.public-app-header[data-page="gallery"] .public-app-title {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: clamp(1.155rem, 1.3125rem + .15vw, 1.47rem) !important;
  font-weight: 700 !important;
  color: #171719 !important;
}

.public-app-header[data-page="gallery"] .public-gallery-header-toggle {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  background: #f0f0f2 !important;
  border-radius: 20px !important;
  padding: 3px !important;
  gap: 1em !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.public-app-header[data-page="gallery"] .public-count-pill {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

.public-gallery-header-toggle .gallery-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 32px !important;
  border-radius: 16px !important;
  border: none !important;
  background: transparent !important;
  color: #71717a !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  padding: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.public-gallery-header-toggle .gallery-toggle-btn:hover {
  color: #18181b !important;
}

.public-gallery-header-toggle .gallery-toggle-btn.is-active {
  background: #ffffff !important;
  color: #18181b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
  font-weight: 600 !important;
}

/* Quick action buttons: default background #f5f7fa, only share button #fed830 */
.public-quick-action {
  background: #f5f7fa !important;
  color: #171719 !important;
  border: none !important;
}

.public-quick-action i {
  background: transparent !important;
  color: #171719 !important;
}

.public-quick-action:hover {
  background: #ebebed !important;
}

.public-quick-action[data-share],
.public-quick-action.is-share-action {
  background: #fed830 !important;
  color: #171719 !important;
}

.public-quick-action[data-share]:hover,
.public-quick-action.is-share-action:hover {
  background: #f0cb27 !important;
}

/* Public feed full width share button: flush above caption, no rounded border, full width fit, no border, no padding for feed-share-row */
.feed-share-row,
.public-gallery-section .feed-share-row,
body.gallery-feed-active .public-gallery-section .feed-share-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.feed-item-share-button,
.public-gallery-section .feed-item-share-button,
body.gallery-feed-active .public-gallery-section .feed-item-share-button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 11px 16px !important;
  margin: 0 !important;
  background: #f5f5f7 !important;
  color: #171719 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(0.82rem, 0.9rem + .1vw, 1rem) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background .15s ease !important;
  text-decoration: none !important;
}

.feed-item-share-button:hover,
.public-gallery-section .feed-item-share-button:hover,
body.gallery-feed-active .public-gallery-section .feed-item-share-button:hover {
  background: #ebebed !important;
}

.feed-item-share-button span,
.public-gallery-section .feed-item-share-button span,
body.gallery-feed-active .public-gallery-section .feed-item-share-button span {
  font-weight: 600 !important;
  color: #171719 !important;
  letter-spacing: -0.01em !important;
}

.feed-item-share-button i,
.public-gallery-section .feed-item-share-button i,
body.gallery-feed-active .public-gallery-section .feed-item-share-button i {
  color: #8e8e93 !important;
  font-size: 0.85rem !important;
  transition: transform .15s ease !important;
}

.feed-item-share-button:hover i,
.public-gallery-section .feed-item-share-button:hover i,
body.gallery-feed-active .public-gallery-section .feed-item-share-button:hover i {
  transform: translateX(2px) !important;
  color: #171719 !important;
}

/* ==========================================================================
   Public Chat Messaging Styles
   ========================================================================== */
#public-bottom-nav.has-messages,
.public-bottom-nav.has-messages {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.public-header-user-info {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  background: #f4f4f6 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  color: #171719 !important;
}

.chat-header-name {
  font-weight: 600 !important;
  max-width: 130px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chat-header-edit-btn {
  background: transparent !important;
  border: none !important;
  color: #71717a !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  padding: 2px !important;
  font-size: 0.78rem !important;
  transition: color 0.15s ease !important;
}

.chat-header-edit-btn:hover {
  color: #171719 !important;
}

.public-view[data-view="messages"] {
  display: none !important;
}

.public-view[data-view="messages"].is-active {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100vh - 72px) !important;
  min-height: calc(100dvh - 72px) !important;
  padding: 0 !important;
  background: #fff !important;
}

.public-messages-wrapper {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.chat-onboarding-card {
  margin: auto !important;
  padding: 32px 24px !important;
  text-align: center !important;
  max-width: 380px !important;
  width: calc(100% - 32px) !important;
  background: #fff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.chat-prompt-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  background: #f4f4f6 !important;
  color: #171719 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 1.5rem !important;
  margin: 0 auto 16px !important;
}

.chat-onboarding-card h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  color: #171719 !important;
}

.chat-onboarding-card p {
  font-size: 0.85rem !important;
  color: #71717a !important;
  margin-bottom: 20px !important;
  line-height: 1.45 !important;
}

.chat-onboarding-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.chat-name-input {
  width: 100% !important;
  height: 44px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e4e4e7 !important;
  background: #fafafa !important;
  font-size: 0.95rem !important;
  color: #171719 !important;
  outline: none !important;
  transition: border-color 0.15s ease !important;
}

.chat-name-input:focus {
  border-color: #171719 !important;
  background: #fff !important;
}

.chat-name-continue-btn {
  height: 44px !important;
  width: 100% !important;
  border-radius: 12px !important;
  background: #171719 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: opacity 0.15s ease !important;
}

.chat-name-continue-btn:active {
  opacity: 0.88 !important;
}

.public-messages-container {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: calc(100vh - 72px) !important;
  height: calc(100dvh - 72px) !important;
  overflow: hidden !important;
  position: relative !important;
}

.chat-messages-timeline {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 16px 16px calc(64px + 56px + 16px + env(safe-area-inset-bottom, 0px)) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.customer-msg-row {
  display: flex !important;
  flex-direction: column !important;
  max-width: 80% !important;
}

.customer-msg-row.is-me {
  align-self: flex-end !important;
  align-items: flex-end !important;
}

.customer-msg-row.is-other {
  align-self: flex-start !important;
  align-items: flex-start !important;
}

.customer-msg-sender {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #8e8e93 !important;
  margin-bottom: 3px !important;
  padding: 0 4px !important;
}

.customer-msg-bubble {
  padding: 10px 14px !important;
  border-radius: 18px !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
}

.customer-msg-row.is-me .customer-msg-bubble {
  background: #171719 !important;
  color: #fff !important;
  border-bottom-right-radius: 4px !important;
}

.customer-msg-row.is-other .customer-msg-bubble {
  background: #f4f4f6 !important;
  color: #171719 !important;
  border-bottom-left-radius: 4px !important;
}

.customer-msg-meta {
  font-size: 0.65rem !important;
  color: #8e8e93 !important;
  margin-top: 3px !important;
  padding: 0 4px !important;
}

.chat-typing-row {
  display: none !important;
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: calc(64px + 54px + 6px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 61 !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 12px !important;
  background: rgba(244, 244, 246, 0.95) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  border: 1px solid rgba(228, 228, 231, 0.9) !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  color: #71717a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

.chat-typing-row.is-active {
  display: inline-flex !important;
}

/* Chat composer bar placed directly at the bottom right above #public-bottom-nav */
.chat-composer-bar {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  width: min(520px, 100%) !important;
  box-sizing: border-box !important;
  z-index: 60 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px !important;
  background: #ffffff !important;
  border-top: 1px solid #e4e4e7 !important;
}

.customer-composer-form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.chat-composer-field {
  flex: 1 !important;
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid #e4e4e7 !important;
  background: #f9f9fb !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  color: #171719 !important;
  outline: none !important;
}

.chat-composer-field:focus {
  border-color: #171719 !important;
  background: #fff !important;
}

.chat-send-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #171719 !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  flex: 0 0 38px !important;
  transition: transform 0.1s ease !important;
}

.chat-send-btn:active {
  transform: scale(0.94) !important;
}

/* Never show chat-composer-bar or typing row in feed page or non-messages views */
body.gallery-feed-active .chat-composer-bar,
body.gallery-feed-active .chat-typing-row,
body.feed-overlay-active .chat-composer-bar,
body.feed-overlay-active .chat-typing-row,
.public-view:not([data-view="messages"]) .chat-composer-bar,
.public-view:not([data-view="messages"]) .chat-typing-row,
.public-view[data-view="messages"]:not(.is-active) .chat-composer-bar,
.public-view[data-view="messages"]:not(.is-active) .chat-typing-row {
  display: none !important;
}






/* LiveConnect messaging: composer belongs to the fixed bottom navigation chrome. */
.public-bottom-nav.has-messages { position: fixed !important; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.public-bottom-nav.has-messages .chat-composer-bar { position: absolute !important; top: 0 !important; bottom: auto !important; left: 0 !important; transform: translateY(-100%) !important; width: 100% !important; }
.public-bottom-nav.has-messages .public-nav-item { min-height: 64px !important; }
.public-app-title { margin-left: 0 !important; margin-right: auto !important; }
.public-message-header-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.public-message-header-copy .public-app-title { margin: 0 !important; }
.active-customer-subtitle { display: flex; align-items: center; gap: 6px; color: #77777e; font-size: .72rem; white-space: nowrap; }
.active-customer-subtitle .dot { width: 6px; height: 6px; border-radius: 50%; background: #c7c7cc; }
.active-customer-subtitle.is-online .dot { background: #22a06b; }
.active-customer-subtitle.is-online { color: #277a56; }
.active-customer-subtitle .convo-time { margin-left: 2px; color: #9a9aa1; }
.public-app-body { touch-action: manipulation; }
.public-app-body input, .public-app-body textarea, .public-app-body select { font-size: 16px !important; }
.message-status { margin-left: 4px; font-weight: 700; letter-spacing: -0.12em; }
.message-status.is-read { color: #2563eb; }
@media (max-width: 620px) { .public-app-header { align-items: center; } .public-message-header-copy { flex: 1; min-width: 0; } }


/* The composer is mounted in the fixed nav, but only exists visually on the active Messages page. */
.public-bottom-nav.has-messages:not(.messages-active) .chat-composer-bar { display: none !important; }
.public-bottom-nav.has-messages.messages-active .chat-composer-bar { display: flex !important; }
.chat-typing-row.owner-typing-row { display: none !important; }
.chat-typing-row.owner-typing-row.is-active { display: inline-flex !important; }


/* Public customer typing indicator mirrors the dashboard owner-typing-row treatment. */
.user-typing-row {
  display: none !important;
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  /* Keep the typing pill above the composer and bottom nav. */
  bottom: calc(64px + 54px + 18px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 61 !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  background: #fff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 999px !important;
  font-size: .78rem !important;
  color: #71717a !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
}
.user-typing-row.is-active { display: inline-flex !important; }

.user-typing-row .dots-pulse { display: flex !important; gap: 4px !important; }
.user-typing-row .dots-pulse span {
  width: 5px !important;
  height: 5px !important;
  background: #2563eb !important;
  border-radius: 50% !important;
  animation: publicDotsPulse 1.4s infinite ease-in-out !important;
}
.user-typing-row .dots-pulse span:nth-child(2) { animation-delay: .2s !important; }
.user-typing-row .dots-pulse span:nth-child(3) { animation-delay: .4s !important; }
@keyframes publicDotsPulse {
  0%, 80%, 100% { transform: scale(.6); opacity: .4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Keep the final customer message above the fixed composer and bottom navigation. */
.public-messages-wrapper {
  min-height: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
}
.public-messages-container {
  min-height: 0 !important;
  height: 100% !important;
}
.chat-messages-timeline {
  scroll-padding-bottom: calc(64px + 54px + 16px + env(safe-area-inset-bottom, 0px)) !important;
  padding-bottom: calc(64px + 54px + 16px + env(safe-area-inset-bottom, 0px)) !important;
}
.public-auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#a1a1aa;font-size:.72rem}.public-auth-divider:before,.public-auth-divider:after{content:"";height:1px;background:#e4e4e7;flex:1}.public-auth-actions{display:flex;flex-direction:column;gap:8px}.public-auth-switch,.public-auth-forgot{border:0;background:none;color:#71717a;font-size:.78rem;cursor:pointer}.public-auth-forgot{display:block;margin:2px 0 8px;padding:0;text-align:right;width:100%}.public-auth-message{min-height:20px;color:#dc2626;font-size:.78rem;margin:0}.public-auth-message.is-success{color:#059669}

/* Public messaging, account, share, and notification refinements. */
.public-message-header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.public-header-user-info { border:0 !important; cursor:pointer !important; font:inherit !important; }
.public-header-user-info:hover { background:#e9f9ff !important; }
.public-header-notifications.is-subscribed,
.public-app-header[data-page="alerts"] .public-header-notifications.is-subscribed { color:#00a8eb !important; }
.active-customer-subtitle.is-online { color:#00a8eb !important; }
.active-customer-subtitle.is-online .dot { background:#00a8eb !important; }
.customer-msg-row.is-me .customer-msg-bubble { background:#00a8eb !important; color:#fff !important; }
.chat-messages-timeline { padding-bottom:0 !important; scroll-padding-bottom:0 !important; }
.public-quick-action[data-share], .public-quick-action.is-share-action { background:#000 !important; color:#fff !important; }
.public-quick-action[data-share] i, .public-quick-action.is-share-action i { color:#fff !important; background:transparent !important; }
.public-quick-action[data-share]:hover, .public-quick-action.is-share-action:hover { background:#242424 !important; }

.public-account-modal, .public-share-modal { position:fixed; inset:0; z-index:1300; display:grid; place-items:center; padding:18px; background:rgba(15,23,42,.32); backdrop-filter:blur(16px) saturate(150%); -webkit-backdrop-filter:blur(16px) saturate(150%); }
.public-account-modal.hidden, .public-share-modal.hidden { display:none; }
.public-account-modal-card, .public-share-modal-card { position:relative; width:min(100%,390px); box-sizing:border-box; padding:30px 24px 22px; border:1px solid rgba(255,255,255,.8); border-radius:28px; background:rgba(255,255,255,.88); box-shadow:0 24px 70px rgba(15,23,42,.22); color:#171719; text-align:center; }
.public-account-modal-close, .public-share-modal-close { position:absolute; top:12px; right:14px; width:34px; height:34px; border:0; border-radius:50%; background:rgba(241,245,249,.85); color:#64748b; cursor:pointer; font-size:1rem; }
.public-account-modal-icon { width:56px; height:56px; margin:0 auto 14px; display:grid; place-items:center; border-radius:18px; background:#e9f9ff; color:#00a8eb; font-size:1.3rem; }
.public-account-modal-card h2 { margin:0 0 8px; font-size:1.3rem; letter-spacing:-.03em; }
.public-account-modal-name { margin:0; font-weight:700; font-size:1rem; }
.public-account-modal-email { margin:4px 0 22px; color:#64748b; font-size:.82rem; overflow-wrap:anywhere; }
.public-account-modal-actions { display:flex; gap:9px; }
.public-account-modal-actions button, .public-share-modal-secondary { flex:1; min-height:42px; border-radius:999px; padding:10px 16px; font:600 .85rem inherit; cursor:pointer; }
.public-account-modal-secondary, .public-share-modal-secondary { border:1px solid #dbe4ee; background:#fff; color:#334155; }
.public-account-modal-primary { border:1px solid #00a8eb; background:#00a8eb; color:#fff; }
.public-share-modal-card { padding-top:26px; }
.public-share-modal-brand { display:flex; align-items:center; justify-content:center; gap:9px; margin-bottom:18px; font-size:1.05rem; }
.public-share-modal-brand img, .public-share-modal-placeholder { width:42px; height:42px; border-radius:12px; object-fit:cover; display:grid; place-items:center; background:#e9f9ff; color:#00a8eb; }
.public-share-qr { display:block; width:220px; height:220px; margin:0 auto 18px; border-radius:10px; background:#fff; }
.public-share-link-label { margin:0 0 6px; text-align:left; color:#64748b; font-size:.75rem; font-weight:700; }
.public-share-link-row { display:flex; gap:7px; margin-bottom:14px; }
.public-share-link-row input { min-width:0; flex:1; height:40px; box-sizing:border-box; padding:0 11px; border:1px solid #dbe4ee; border-radius:11px; background:#f8fafc; color:#334155; font:400 .75rem inherit; }
.public-share-link-row button { border:0; border-radius:11px; padding:0 14px; background:#000; color:#fff; font-weight:700; cursor:pointer; }
.active-customer-subtitle#public-support-status { color:#00a8eb !important; }
.active-customer-subtitle#public-support-status .dot { background:#00a8eb !important; }
.public-message-header-actions .public-header-notifications { flex:0 0 35px; }

/* Final public chat and share refinements. */
.public-share-modal-brand { flex-direction:column !important; }
.public-share-qr { border-radius:0 !important; }
.public-account-modal-card, .public-share-modal-card { background:#fff !important; border-radius:0 !important; }
.public-share-link-row { flex-direction:column !important; gap:8px !important; }
.public-share-link-row input { width:100% !important; }
.public-share-link-actions { display:flex !important; width:100% !important; gap:8px !important; }
.public-share-link-actions button { width:50% !important; min-height:40px !important; }
.chat-messages-timeline { padding-bottom:calc(64px + 54px + 24px + env(safe-area-inset-bottom, 0px)) !important; scroll-padding-bottom:calc(64px + 54px + 24px + env(safe-area-inset-bottom, 0px)) !important; }
.public-account-modal-card, .public-share-modal-card { border-radius:28px !important; }
.public-share-link-actions button { flex:1 1 0 !important; width:50% !important; box-sizing:border-box !important; }

/* Inline customer account-name editor */
.public-account-name-row { display:flex; align-items:center; justify-content:center; gap:8px; min-height:30px; }
.public-account-name-row .public-account-modal-name { margin:0; }
.public-account-name-edit, .public-account-name-save { display:grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:50%; background:#f1f5f9; color:#475569; cursor:pointer; }
.public-account-name-edit:hover, .public-account-name-save:hover { background:#e2e8f0; color:#171719; }
.public-account-name-input { width:min(230px, 100%); height:34px; padding:0 10px; border:1px solid #cbd5e1; border-radius:9px; outline:none; text-align:center; font:600 .95rem inherit; color:#171719; background:#fff; }
.public-account-name-input:focus { border-color:#00a8eb; box-shadow:0 0 0 3px rgba(0,168,235,.12); }
.public-message-header-actions .public-header-notifications { display:none !important; }

/* The composer and fixed bottom navigation overlap the timeline. Keep the
   newest bubble in the scrollable clearance area, including while typing. */
.public-messages-wrapper { padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
.chat-messages-timeline { padding-bottom:calc(64px + 20px + env(safe-area-inset-bottom, 0px)) !important; scroll-padding-bottom:calc(64px + 20px + env(safe-area-inset-bottom, 0px)) !important; }
.customer-msg-row:last-child { scroll-margin-bottom:calc(64px + 20px + env(safe-area-inset-bottom, 0px)); }

/* Keep the active customer timeline in the foreground of the fixed message nav. */
.public-view[data-view="messages"].is-active .public-messages-container { position:relative !important; z-index:51 !important; }
.public-view[data-view="messages"].is-active .chat-messages-timeline { position:relative !important; z-index:52 !important; }

/* Use the app accent for all public alert/message counters. */
.public-header-notifications em,
.public-nav-item[data-tab="alerts"] .public-nav-icon em,
.public-nav-item[data-tab="messages"] .public-nav-icon em { background:#00a8eb !important; }


/* The active Messages view must end above the fixed composer and bottom nav;
   otherwise the timeline and typing pill are visually covered by the chrome. */
body.messages-view-active .public-view-stack {
  box-sizing:border-box !important;
  height:100dvh !important;
  min-height:100dvh !important;
  padding-top:72px !important;
  padding-bottom:calc(64px + 56px + env(safe-area-inset-bottom, 0px)) !important;
  overflow:hidden !important;
}
body.messages-view-active .public-view[data-view="messages"].is-active {
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
}
body.messages-view-active .public-view[data-view="messages"].is-active .public-messages-wrapper,
body.messages-view-active .public-view[data-view="messages"].is-active .public-messages-container {
  height:100% !important;
  min-height:0 !important;
}

/* The Messages stack now ends above the fixed chrome; no extra empty clearance is needed. */
body.messages-view-active .public-messages-wrapper { padding-bottom:0 !important; margin-bottom:0 !important; }
body.messages-view-active .chat-messages-timeline { padding-bottom:0 !important; scroll-padding-bottom:0 !important; }
