/* ═══════════════════════════════════════════════════════════════════════
   ALX Community Hub — shared design layer
   Loaded last on every page so all of them follow the homepage's design:
   - Floating, frosted-glass top bar (rounded pill, hairline border)
   - Navy hero over a dimmed community photo, bold Poppins title with a
     lime highlight, lime "eyebrow" pill with a glowing dot
   - Rounder cards (18–26px) with soft, deep shadows and a lit edge
   - Lime pill buttons with an inner highlight; navy and ghost pills
   - Lime focus rings, spring easing, a staggered rise-in on load
   - The same footer everywhere; calm motion for reduced-motion users
   Each page opts in with a body class: page-hub, page-em, page-rb,
   page-dash or page-event. Nothing here changes behaviour.
   ═══════════════════════════════════════════════════════════════════════ */

:root{
  --hub-navy:#03134F;--hub-navy-d:#020B33;--hub-navy-m:#0A2070;
  --hub-lime:#C4E878;--hub-lime-d:#4F7A14;--hub-lime-l:#D2EE96;--hub-lime-p:#F2FAE0;--hub-lime-rgb:196,232,120;
  --hub-ink:#353F50;--hub-mu:#5F6D88;--hub-line:rgba(3,19,79,.1);
  --hub-spring:cubic-bezier(.34,1.3,.64,1);--hub-ease:cubic-bezier(.16,1,.3,1);
  --hub-r-sm:12px;--hub-r-md:18px;--hub-r-lg:26px;
  --hub-shadow:0 1px 2px rgba(2,11,51,.06),0 20px 44px -22px rgba(2,11,51,.35);
  --hub-shadow-hover:0 2px 4px rgba(2,11,51,.08),0 30px 60px -24px rgba(2,11,51,.45);
}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;}
::selection{background:rgba(var(--hub-lime-rgb),.35);}
:is(.page-hub,.page-em,.page-rb,.page-dash,.page-event) :focus-visible{outline:2px solid var(--hub-lime);outline-offset:2px;}

@keyframes hubRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes hubDrop{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@keyframes hubShine{to{background-position:-220% 0}}

/* ── Shared building blocks for the light work pages (Event Manager, Resource Bank) ── */
:is(.page-em,.page-rb){background:linear-gradient(180deg,#eaf1fb 0%,#f3f7fc 420px,#f5f8fc 100%);}

/* Top bar: a floating glass pill, like the homepage */
:is(.page-em,.page-rb) .topnav{
  position:sticky;top:12px;z-index:100;width:calc(100% - 32px);max-width:1320px;height:68px;margin:12px auto 0;padding:0 12px 0 20px;
  border-radius:999px;background:rgba(6,22,46,.88);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 14px 34px -16px rgba(0,8,22,.75);animation:hubDrop .7s var(--hub-ease) both;}
:is(.page-em,.page-rb) .topnav::after{display:none;}
:is(.page-em,.page-rb) :is(.brand,.nav-brand) img{height:46px;margin:-6px 0;}
.page-rb .brandmark img{height:46px;}
:is(.page-em,.page-rb) :is(.brand span,.nav-brand-lbl){font-size:.68rem;font-weight:700;letter-spacing:.12em;color:rgba(255,255,255,.6);}
:is(.page-em,.page-rb) :is(.navbtn,.nav-btn){
  background:transparent;border:1px solid transparent;color:rgba(255,255,255,.78);font-size:.78rem;font-weight:600;letter-spacing:0;text-transform:none;
  padding:8px 14px;border-radius:999px;transition:background .2s,color .2s,transform .3s var(--hub-spring);}
:is(.page-em,.page-rb) :is(.navbtn,.nav-btn):hover{background:rgba(255,255,255,.1);color:#fff;border-color:transparent;transform:none;box-shadow:none;}
:is(.page-em,.page-rb) :is(.uchip,.rb-user){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);}
@media(max-width:720px){:is(.page-em,.page-rb) .topnav{height:60px;padding:0 10px 0 16px;}:is(.page-em,.page-rb) :is(.brand,.nav-brand) img{height:38px;}}

/* Hero: the homepage's photo-backed navy band, pulled up under the floating bar */
:is(.page-em,.page-rb) .hero{margin-top:-80px;padding-top:calc(80px + clamp(40px,6vw,64px));padding-bottom:clamp(76px,9vw,96px);
  background:radial-gradient(ellipse 120% 100% at 50% -10%,var(--hub-navy-m) 0%,var(--hub-navy) 45%,var(--hub-navy-d) 100%);}
.page-em .hero::before{content:'';position:absolute;inset:0;background:url('img/hero-team.jpg') center 32%/cover;opacity:.4;}
.page-rb .hero::before{opacity:.4;}
:is(.page-em,.page-rb) .hero::after{content:'';position:absolute;inset:0;background:linear-gradient(165deg,rgba(2,11,51,.78) 0%,rgba(3,19,79,.66) 45%,rgba(2,11,51,.86) 100%);}
.page-em .hero > *{position:relative;z-index:2;}
:is(.page-em,.page-rb) :is(.hero h1,.hero-title){font-family:'Poppins',sans-serif;font-weight:900;letter-spacing:-.03em;line-height:1.05;font-size:clamp(2.1rem,5vw,3.2rem);color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.45);}
:is(.page-em,.page-rb) :is(.hero h1,.hero-title) em{font-style:normal;color:transparent;background:linear-gradient(90deg,var(--hub-lime) 0%,#e4f7c4 45%,var(--hub-lime) 90%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;text-shadow:none;filter:drop-shadow(0 4px 18px rgba(0,0,0,.4));animation:hubShine 7s linear infinite;}
:is(.page-em,.page-rb) :is(.hero-eye,.hero-eyebrow){font-size:.7rem;font-weight:700;letter-spacing:.14em;color:var(--hub-lime);background:rgba(var(--hub-lime-rgb),.14);border:1px solid rgba(var(--hub-lime-rgb),.35);padding:7px 16px;border-radius:999px;}
.page-em .hero-eye::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--hub-lime);box-shadow:0 0 8px rgba(var(--hub-lime-rgb),.8);}
:is(.page-em,.page-rb) :is(.hero p,.hero-sub){color:rgba(255,255,255,.78);text-shadow:0 1px 10px rgba(0,0,0,.35);}
.page-em .hero > *,.page-rb .hero-inner > *{animation:hubRise .7s var(--hub-ease) both;}
.page-em .hero > :nth-child(2),.page-rb .hero-inner > :nth-child(2){animation-delay:.08s;}
.page-em .hero > :nth-child(3),.page-rb .hero-inner > :nth-child(3){animation-delay:.16s;}
.page-em .hero > :nth-child(4),.page-rb .hero-inner > :nth-child(4){animation-delay:.24s;}

/* Cards: rounder, softer and deeper, and they rise in after the hero */
.page-em .card,
.page-rb :is(.stat-card,.team-group,.state-box,.rb-gate){
  border-radius:var(--hub-r-lg);border:1px solid var(--hub-line);box-shadow:var(--hub-shadow);
  transition:transform .5s var(--hub-spring),box-shadow .35s ease,border-color .3s ease;}
.page-rb .stat-card{border-radius:var(--hub-r-md);}
.page-rb .stat-card:hover,.page-rb .team-group:hover{transform:translateY(-3px);box-shadow:var(--hub-shadow-hover);border-color:rgba(3,19,79,.16);}
.page-em .shell > *,.page-em #app > *,.page-rb .shell > *{animation:hubRise .8s var(--hub-ease) both;}
.page-em #app > :nth-child(2),.page-rb .shell > :nth-child(2){animation-delay:.08s;}
.page-em #app > :nth-child(3),.page-rb .shell > :nth-child(3){animation-delay:.16s;}
.page-em #app > :nth-child(4),.page-rb .shell > :nth-child(4){animation-delay:.24s;}
.page-rb .shell > :nth-child(5){animation-delay:.32s;}

/* Icon tiles: app-icon style squircles */
.page-rb :is(.stat-icon,.team-icon){border-radius:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 14px -6px rgba(3,19,79,.35);}

/* Buttons: lime pill (main action), navy pill (next step), ghost pill */
.page-em .btn,.page-rb :is(.add-btn,.btn-confirm,.btn-restart,.res-link){border-radius:999px;transition:transform .45s var(--hub-spring),box-shadow .3s ease,filter .2s;}
.page-em .btn-go,.page-rb :is(.add-btn,.btn-confirm){
  background:linear-gradient(180deg,var(--hub-lime-l),var(--hub-lime));color:var(--hub-navy-d);font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 24px -10px rgba(var(--hub-lime-rgb),.9);}
.page-em .btn-go:hover,.page-rb :is(.add-btn,.btn-confirm):hover{transform:translateY(-2px) scale(1.02);filter:brightness(1.04);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 16px 30px -12px rgba(var(--hub-lime-rgb),.95);}
.page-em .btn-go:active,.page-rb :is(.add-btn,.btn-confirm):active{transform:scale(.98);}
.page-em .btn-pri{background:linear-gradient(180deg,#1A4CA8,var(--hub-navy));box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 10px 24px -10px rgba(3,19,79,.7);font-weight:700;}
.page-em .btn-pri:hover{transform:translateY(-2px);background:linear-gradient(180deg,#155399,var(--hub-navy));}
.page-em .btn-ghost,.page-rb .btn-restart{background:#fff;border:1px solid var(--hub-line);box-shadow:0 1px 2px rgba(2,11,51,.06);font-weight:600;}
.page-em .btn-ghost:hover,.page-rb .btn-restart:hover{border-color:rgba(3,19,79,.25);transform:translateY(-1px);}

/* Inputs, tabs and choice chips */
.page-em :is(.inp,.drop),.page-rb .search-input{border-radius:var(--hub-r-sm);border:1px solid rgba(3,19,79,.14);transition:border-color .2s,box-shadow .25s;}
.page-rb .search-input{border-radius:999px;}
.page-em .inp:focus,.page-rb :is(.search-input,.chat-input):focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.22);transform:none;}
/* The form sits in front of the hero: solid white tabs, raised above the photo and its wash */
.page-em .shell{z-index:5;}
/* Auto-fit: the hero scales with the screen's height, and the visible form
   card is sized (by fitForms in event-manager.html) to exactly the space left,
   so the whole form, including Back/Continue, shows on arrival on any device.
   A long step scrolls inside the card; the buttons stay pinned at the bottom. */
.page-em .hero{padding-top:calc(80px + clamp(14px,3.5vh,56px));padding-bottom:clamp(64px,9vh,92px);}
.page-em .hero h1{font-size:clamp(1.8rem,min(5vw,6.2vh),3.2rem);margin-bottom:clamp(4px,1vh,10px);}
.page-em .hero-eye{margin-bottom:clamp(8px,1.6vh,14px);}
@media(max-width:560px){.page-em .hero p{font-size:.86rem;line-height:1.55;}}
.page-em .tabs{margin-bottom:clamp(8px,1.4vh,14px);}
.page-em .wiz.em-fit{display:flex;flex-direction:column;max-height:var(--em-fit);overflow:hidden;}
.page-em .wiz.em-fit > :not(.step){flex-shrink:0;}
.page-em .wiz.em-fit > .step.on{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 6px 6px;margin:0 -6px;scrollbar-width:thin;scrollbar-color:rgba(3,19,79,.2) transparent;}
.page-em .wiz.em-fit .nav{margin-top:12px;}
/* Tabs: each has its own colour, icon and one-line purpose, so the three are
   easy to tell apart; the selected one takes on its own colour. */
.page-em .tabs{gap:6px;}
.page-em .tabs .tab{justify-content:flex-start;text-align:left;gap:12px;padding:10px 14px;border:1px solid transparent;background:transparent;color:var(--hub-ink);box-shadow:none;}
.page-em .tabs .tab:hover{background:#F2F7FD;color:var(--hub-ink);}
.page-em .tab-ico{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;opacity:.82;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 14px -6px rgba(0,0,0,.4);transition:transform .45s var(--hub-spring),opacity .25s;}
.page-em .tab-ico svg{width:20px;height:20px;}
.page-em #tab-create .tab-ico{background:linear-gradient(160deg,#D2EE96,#6E9A24);}
.page-em #tab-upload .tab-ico{background:linear-gradient(160deg,#ffb54d,#f07a1a);}
.page-em #tab-checkin .tab-ico{background:linear-gradient(160deg,#8b9bff,#4b4fd6);}
.page-em #tab-feedback .tab-ico{background:linear-gradient(160deg,#ff8ad1,#d6408f);}
.page-em .tab-txt{display:flex;flex-direction:column;min-width:0;line-height:1.2;}
.page-em .tab-txt b{font-size:.88rem;font-weight:700;color:var(--hub-navy);letter-spacing:-.01em;}
.page-em .tab-txt small{font-size:.7rem;font-weight:500;color:var(--hub-mu);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.page-em .tabs .tab[aria-selected="true"] .tab-ico{opacity:1;transform:scale(1.06);}
.page-em .tabs #tab-create[aria-selected="true"]{background:linear-gradient(160deg,rgba(196,232,120,.2),rgba(196,232,120,.06));border-color:rgba(111,168,43,.55);box-shadow:0 8px 20px -12px rgba(95,155,34,.8);}
.page-em .tabs #tab-upload[aria-selected="true"]{background:linear-gradient(160deg,rgba(255,181,77,.22),rgba(240,122,26,.06));border-color:rgba(240,122,26,.5);box-shadow:0 8px 20px -12px rgba(240,122,26,.8);}
.page-em .tabs #tab-checkin[aria-selected="true"]{background:linear-gradient(160deg,rgba(139,155,255,.22),rgba(75,79,214,.06));border-color:rgba(75,79,214,.45);box-shadow:0 8px 20px -12px rgba(75,79,214,.8);}
.page-em .tabs #tab-create[aria-selected="true"] small{color:#4f7f1c;}
.page-em .tabs #tab-upload[aria-selected="true"] small{color:#b35a0f;}
.page-em .tabs #tab-checkin[aria-selected="true"] small{color:#3f42b5;}
.page-em .tabs #tab-feedback[aria-selected="true"]{background:linear-gradient(160deg,rgba(255,138,209,.22),rgba(214,64,143,.06));border-color:rgba(214,64,143,.45);box-shadow:0 8px 20px -12px rgba(214,64,143,.8);}
.page-em .tabs #tab-feedback[aria-selected="true"] small{color:#a8306f;}
.page-em .tabs .tab{min-width:0;}
@media(min-width:761px){.page-em .tabs .tab{gap:10px;padding:10px 10px;}.page-em .tab-ico{width:34px;height:34px;}.page-em .tab-ico svg{width:18px;height:18px;}.page-em .tab-txt b{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}
.page-em .tab-txt{flex:1;}
@media(max-width:760px){.page-em .tabs .tab{flex-direction:column;justify-content:center;text-align:center;gap:5px;padding:8px 4px;}.page-em .tab-ico{width:30px;height:30px;border-radius:9px;}.page-em .tab-ico svg{width:16px;height:16px;}.page-em .tab-txt b{font-size:.72rem;}.page-em .tab-txt small{display:none;}}

/* The fuller description: an intro line plus what each task does */
.page-em .hero-points{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px;max-width:460px;text-align:left;}
.page-em .hero-points li{position:relative;padding-left:30px;font-size:.9rem;line-height:1.5;color:rgba(255,255,255,.78);text-shadow:0 1px 8px rgba(0,0,0,.3);}
.page-em .hero-points li b{color:#fff;font-weight:600;}
.page-em .hero-points li::before{content:'';position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:rgba(196,232,120,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238BC53F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:inset 0 0 0 1px rgba(196,232,120,.5);}
/* The description appears piece by piece: each sentence fades in from a soft
   blur, then each point slides in with its tick popping on, one after another. */
.page-em .hero > p{animation:none;}
.page-em .hero .hs{opacity:0;animation:hubWordIn .8s var(--hub-ease) forwards;}
.page-em .hero .hs:nth-child(1){animation-delay:.35s;}
.page-em .hero .hs:nth-child(2){animation-delay:1.05s;}
.page-em .hero > .hero-points{animation:none;}
.page-em .hero-points li{opacity:0;animation:hubPointIn .6s var(--hub-ease) forwards;}
.page-em .hero-points li::before{transform:scale(0);animation:hubTick .45s var(--hub-spring) forwards;}
.page-em .hero-points li:nth-child(1),.page-em .hero-points li:nth-child(1)::before{animation-delay:1.7s;}
.page-em .hero-points li:nth-child(2),.page-em .hero-points li:nth-child(2)::before{animation-delay:2.1s;}
.page-em .hero-points li:nth-child(3),.page-em .hero-points li:nth-child(3)::before{animation-delay:2.5s;}
.page-em .hero-points li:nth-child(4),.page-em .hero-points li:nth-child(4)::before{animation-delay:2.9s;}
.page-em .hero-points li:nth-child(5),.page-em .hero-points li:nth-child(5)::before{animation-delay:3.3s;}
@keyframes hubWordIn{from{opacity:0;filter:blur(6px)}to{opacity:1;filter:none}}
@keyframes hubPointIn{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@keyframes hubTick{from{transform:scale(0)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.page-em .hero .hs,.page-em .hero-points li{opacity:1;}.page-em .hero-points li::before{transform:none;}}
@media(max-width:1023px){.page-em .hero-points{display:none;}}

/* Feedback form created: badge pops and draws its tick with a small burst,
   then the title, link, QR code and download button arrive in turn. */
.page-em #fOut{position:relative;}
.page-em .fb-badge{width:58px;height:58px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;color:#fff;
  background:linear-gradient(160deg,#ff8ad1,#d6408f);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 0 8px rgba(214,64,143,.12),0 12px 28px -10px rgba(214,64,143,.8);}
.page-em .fb-badge svg{width:28px;height:28px;}
.page-em .fb-anim .fb-badge{animation:fbPop .7s var(--hub-spring) both;}
.page-em .fb-anim .fb-badge path{stroke-dasharray:24;stroke-dashoffset:24;animation:fbDraw .45s ease-out .35s forwards;}
.page-em .fb-anim > .wiz-title{animation:hubRise .5s var(--hub-ease) .2s both;}
.page-em .fb-anim .linkbox{animation:hubRise .55s var(--hub-ease) .35s both;}
.page-em .fb-anim .qr{animation:fbQr .75s var(--hub-spring) .5s both;}
.page-em .fb-anim .qr img,.page-em .fb-anim .qr canvas{animation:fbGlow 1.6s ease-out 1.1s 1;}
.page-em .fb-anim .ractions{animation:hubRise .5s var(--hub-ease) .75s both;}
.page-em .fb-confetti{position:absolute;top:29px;left:50%;width:0;height:0;pointer-events:none;}
.page-em .fb-confetti i{position:absolute;left:-3px;top:-3px;width:7px;height:7px;border-radius:2px;opacity:0;background:var(--c);}
.page-em .fb-anim .fb-confetti i{animation:fbBurst .95s cubic-bezier(.2,.7,.3,1) .18s forwards;}
.page-em .fb-confetti i:nth-child(1){--x:-74px;--y:-30px;--c:#C4E878;}
.page-em .fb-confetti i:nth-child(2){--x:70px;--y:-34px;--c:#ff8ad1;}
.page-em .fb-confetti i:nth-child(3){--x:-52px;--y:-62px;--c:#ffb54d;}
.page-em .fb-confetti i:nth-child(4){--x:48px;--y:-66px;--c:#8b9bff;}
.page-em .fb-confetti i:nth-child(5){--x:-90px;--y:6px;--c:#ff8ad1;}
.page-em .fb-confetti i:nth-child(6){--x:92px;--y:4px;--c:#C4E878;}
.page-em .fb-confetti i:nth-child(7){--x:-18px;--y:-82px;--c:#8b9bff;border-radius:50%;}
.page-em .fb-confetti i:nth-child(8){--x:20px;--y:-80px;--c:#ffb54d;border-radius:50%;}
.page-em .fb-confetti i:nth-child(9){--x:-64px;--y:34px;--c:#d6408f;border-radius:50%;}
.page-em .fb-confetti i:nth-child(10){--x:66px;--y:36px;--c:#6E9A24;border-radius:50%;}
@keyframes fbPop{0%{opacity:0;transform:scale(.3)}60%{opacity:1}100%{opacity:1;transform:none}}
@keyframes fbDraw{to{stroke-dashoffset:0}}
@keyframes fbQr{from{opacity:0;transform:scale(.6) rotate(-6deg)}to{opacity:1;transform:none}}
@keyframes fbGlow{0%{box-shadow:0 0 0 0 rgba(214,64,143,.45),0 6px 18px rgba(2,11,51,.12)}100%{box-shadow:0 0 0 18px rgba(214,64,143,0),0 6px 18px rgba(2,11,51,.12)}}
@keyframes fbBurst{0%{opacity:1;transform:translate(0,0) scale(1) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.5) rotate(220deg)}}
 /* stacked screens keep the intro line so the form still fits */

/* Side by side on wider screens: title and description on the left over the
   photo, the form on the right (like the homepage: text left, cards right).
   Narrower screens keep the stacked layout. */
@media(min-width:1024px){
  .page-em .em-split{position:relative;overflow:hidden;margin-top:-80px;min-height:100vh;min-height:100dvh;
    padding:calc(80px + clamp(18px,3vh,40px)) clamp(24px,4vw,64px) clamp(18px,3vh,40px);
    display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.3fr);gap:clamp(32px,4vw,72px);align-items:start;
    background:radial-gradient(ellipse 120% 100% at 30% -10%,var(--hub-navy-m) 0%,var(--hub-navy) 45%,var(--hub-navy-d) 100%);}
  .page-em .em-split::before{content:'';position:absolute;inset:0;background:url('img/hero-team.jpg') center 30%/cover;opacity:.42;}
  .page-em .em-split::after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,rgba(2,11,51,.88) 0%,rgba(3,19,79,.72) 45%,rgba(2,11,51,.82) 100%);}
  .page-em .em-split > *{position:relative;z-index:2;}
  .page-em .em-split .hero{margin:0;padding:clamp(8px,7vh,96px) 0 0;background:none;overflow:visible;text-align:left;max-width:520px;justify-self:end;align-self:start;position:sticky;top:104px;} /* stays in view while a long form scrolls */
  .page-em .em-split .hero::before,.page-em .em-split .hero::after{display:none;}
  .page-em .em-split .hero h1{font-size:clamp(2.4rem,3.6vw,3.6rem);margin-bottom:14px;}
  .page-em .em-split .hero p{margin:0;max-width:440px;font-size:1.02rem;line-height:1.65;}
  .page-em .em-split .shell{margin:0;width:100%;max-width:760px;padding:0;justify-self:start;}
}
/* A soft fade at the bottom of a step that scrolls, so it is clear there is more below */
.page-em .wiz.em-fit > .step.on.em-more{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 28px),transparent);}
@media(max-width:560px){.page-em .hero{padding-bottom:58px;}.page-em .tabs{padding:4px;}.page-em .tab{padding:8px 4px;gap:0;}.page-em .tab .ico{font-size:.9rem;}.page-em .wiz.em-fit{padding:16px 14px 14px;}.page-em .wiz.em-fit .wiz-sub{display:none;}.page-em .wiz.em-fit .stepper{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}.page-em .wiz.em-fit .stepper li{flex-shrink:0;}}
@media(max-height:820px){.page-em .wiz.em-fit{padding-top:20px;padding-bottom:18px;}.page-em .wiz.em-fit .wiz-head{margin-bottom:10px;}.page-em .wiz.em-fit .prog{margin-bottom:14px;}}
.page-em .tabs{position:relative;z-index:5;border-radius:22px;padding:6px;background:#fff;border:1px solid var(--hub-line);box-shadow:0 2px 4px rgba(2,11,51,.08),0 24px 50px -20px rgba(2,11,51,.45);}
.page-em .tab{border-radius:16px;transition:background .25s,color .25s,transform .4s var(--hub-spring);}
.page-em .tab[aria-selected="true"]{background:linear-gradient(180deg,#1A4CA8,var(--hub-navy));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px -8px rgba(3,19,79,.7);}
.page-em .chip{border-radius:var(--hub-r-sm);border:1px solid rgba(3,19,79,.14);transition:all .3s var(--hub-spring);}
.page-em .chip:hover{transform:translateY(-1px);}
.page-em .chip[aria-pressed="true"]{background:var(--hub-navy);box-shadow:0 6px 14px -6px rgba(3,19,79,.6);}
.page-em :is(.check,.host,.summary,.linkbox,.preview,.subcard){border-radius:var(--hub-r-md);}
.page-em .stepper li{border-radius:999px;}
.page-em .prog span{background:linear-gradient(90deg,var(--hub-navy),var(--hub-lime));}
.page-em .result .burst{background:linear-gradient(160deg,#D2EE96,#6E9A24);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 24px -8px rgba(var(--hub-lime-rgb),.8);}
.page-rb .pill{border-radius:999px;transition:all .3s var(--hub-spring);}
.page-rb .res-card{border-radius:var(--hub-r-md);transition:transform .45s var(--hub-spring),box-shadow .3s,border-color .3s,background .3s;}
.page-rb .modal{border-radius:var(--hub-r-lg);}
.page-rb .modal-top{background:linear-gradient(160deg,#1A4CA8,var(--hub-navy) 55%,var(--hub-navy-d));}

/* Toasts and footer */
:is(.page-em,.page-rb) .toast{border-radius:999px;background:rgba(5,20,42,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px -14px rgba(0,8,22,.8);}
:is(.page-em,.page-rb) :is(.foot,.appfooter){background:transparent;border-top:1px solid var(--hub-line);color:var(--hub-mu);}

/* ── Dashboard (already dark glass like the homepage) ── */
.page-dash .header{top:12px;left:16px;right:16px;border-radius:26px;border:1px solid rgba(255,255,255,.1);
  background:rgba(5,20,42,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px -18px rgba(0,8,22,.85);animation:hubDrop .7s var(--hub-ease) both;}
.page-dash .header::before,.page-dash .header::after{display:none;}
.page-dash .brand-mark img{height:clamp(44px,6vw,58px);}
.page-dash .kpi-tile{border-radius:var(--hub-r-md);transition:transform .5s var(--hub-spring),box-shadow .35s ease,border-color .3s ease;}
.page-dash .kpi-tile:hover{transform:translateY(-3px);}
.page-dash .card{border-radius:22px;}
.page-dash :is(.setup,.login-card,.login-box){border-radius:var(--hub-r-lg);}
.page-dash .setup h2{font-family:'Poppins',sans-serif;font-weight:800;letter-spacing:-.02em;}
.page-dash :is(.logout-btn,.week-badge){border-radius:999px;}
.page-dash .logout-btn:hover{background:rgba(255,255,255,.16);}
.page-dash .login-input{border-radius:var(--hub-r-sm);}
.page-dash .login-input:focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.22);}

/* ── Attendee event page: brand lime instead of its older teal, Poppins headings ── */
.page-event{--navy:#03134F;--navy-d:#020B33;--green:#C4E878;--green-d:#4F7A14;--green-p:#F2FAE0;--ink:#353F50;--muted:#5F6D88;--fog:#eef3f9;--fog-2:#e3ebf5;--border:#DCE5F2;}
.page-event .bg{background:radial-gradient(ellipse 80% 60% at 20% 0%,rgba(var(--hub-lime-rgb),.14) 0%,transparent 60%),radial-gradient(ellipse 60% 50% at 90% 100%,rgba(3,19,79,.12) 0%,transparent 60%),var(--fog);}
.page-event :is(.bubble-title,.success-hl,.error-hl){font-family:'Poppins',sans-serif;font-weight:800;letter-spacing:-.02em;}
.page-event .topbar{background:linear-gradient(160deg,rgba(26,76,168,.94),rgba(2,11,51,.97));}
.page-event .topbar::after{background:linear-gradient(90deg,var(--hub-lime),transparent 60%);}
.page-event .topbar-badge{background:rgba(var(--hub-lime-rgb),.16);border-color:rgba(var(--hub-lime-rgb),.35);color:var(--hub-lime);}
.page-event .btn{transition:transform .45s var(--hub-spring),box-shadow .3s ease,background .2s;}
.page-event .btn-green{background:linear-gradient(180deg,var(--hub-lime-l),var(--hub-lime));color:var(--hub-navy-d);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 24px -10px rgba(var(--hub-lime-rgb),.9);}
.page-event .btn-green:hover{background:linear-gradient(180deg,#D2EE96,var(--hub-lime));box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 16px 30px -12px rgba(var(--hub-lime-rgb),.95);}
.page-event .btn-next{background:linear-gradient(180deg,#1A4CA8,var(--hub-navy));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 24px -10px rgba(3,19,79,.7);}
.page-event .field-input{border-radius:14px;}
.page-event .field-input:focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.22);}
.page-event .field-input.valid{border-color:var(--hub-lime);background:var(--hub-lime-p);}
.page-event .aff-tile{border-radius:var(--hub-r-md);transition:transform .45s var(--hub-spring),border-color .2s,background .2s,box-shadow .25s;}
.page-event .aff-tile.selected{background:linear-gradient(160deg,#1A4CA8,var(--hub-navy));}
.page-event .avatar{border-color:var(--hub-lime);box-shadow:0 0 0 5px rgba(var(--hub-lime-rgb),.14);}
.page-event .success-burst{background:linear-gradient(135deg,var(--hub-lime-p),rgba(var(--hub-lime-rgb),.25));box-shadow:0 0 0 10px rgba(var(--hub-lime-rgb),.08),0 0 0 20px rgba(var(--hub-lime-rgb),.04);}
.page-event .confirm-card{background:var(--hub-lime-p);border-color:rgba(var(--hub-lime-rgb),.3);border-radius:var(--hub-r-md);}
.page-event .confirm-row{border-bottom-color:rgba(var(--hub-lime-rgb),.2);}
.page-event .prog-fill{background:linear-gradient(90deg,var(--hub-navy),var(--hub-lime));}
@media(min-width:600px){
  .page-event .topbar{border-radius:28px 28px 0 0;}
  .page-event .card{border-radius:0 0 28px 28px;box-shadow:0 30px 80px -30px rgba(2,11,51,.45);}
  .page-event .footer-strip{border-radius:0 0 28px 28px;}
}

/* ── Hub tool screens inside index.html: same floating bar and rounder panels ── */
.page-hub .tnav{position:sticky;top:12px;z-index:100;width:calc(100% - 32px);max-width:1320px;height:72px;margin:12px auto 0;padding:0 14px 0 22px;
  border-radius:999px;background:rgba(6,22,46,.88);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 14px 34px -16px rgba(0,8,22,.75);}
.page-hub .tnav::after{display:none;}
.page-hub .tnav .brandmark img{height:48px;}
.page-hub :is(#vh,#vp) > .tnav{position:sticky;z-index:120;} /* beats the screens' own "every child on layer 1" rule */
.page-hub #vh > .vh-hero{margin-top:-84px;padding-top:84px;} /* hero runs under the floating bar, as on the homepage */
.page-hub .panel{border-radius:var(--hub-r-lg);box-shadow:0 1px 2px rgba(2,11,51,.08),0 40px 80px -30px rgba(2,11,51,.5);}
.page-hub :is(.quicklaunch,.launchcard,.ts-trigger){border-radius:var(--hub-r-md);}
.page-hub .btn{border-radius:999px;transition:transform .45s var(--hub-spring),box-shadow .3s ease,filter .2s;}
.page-hub .bp{background:linear-gradient(180deg,#1A4CA8,var(--n));box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 10px 24px -10px rgba(3,19,79,.75);}
.page-hub .bg{background:linear-gradient(180deg,var(--hub-lime-l),var(--g));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 24px -10px rgba(var(--g-rgb),.9);}
.page-hub .bs{box-shadow:0 1px 2px rgba(2,11,51,.08);border-width:1px;}
.page-hub :is(.bp,.bg,.bs):hover{transform:translateY(-2px);}
.page-hub .fs-btn{border-radius:999px;}
.page-hub .fs-btn-primary{background:linear-gradient(180deg,#1A4CA8,#03134F);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 10px 22px -10px rgba(3,19,79,.75);}
.page-hub .fs-input{border-radius:var(--hub-r-sm);}
.page-hub .fs-input:focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.22);}

@media(prefers-reduced-motion:reduce){
  :is(.page-hub,.page-em,.page-rb,.page-dash,.page-event) *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;}
}

/* ═══════════════════════════════════════════════════════════════════════
   PHONES — one consistent mobile system across the hub
   Single left-aligned column, compact tappable rows instead of big cards,
   icon-only bar buttons where space is tight, and room for the assistant.
   ═══════════════════════════════════════════════════════════════════════ */
@media(max-width:640px){
  /* Home: left-aligned hero, balanced headline */
  .page-hub #vhome .hmwrap{padding:22px 16px 104px;gap:22px;}
  .page-hub #vhome .hmside-text{align-items:flex-start;gap:12px;}
  .page-hub #vhome .hmside-text :is(.hmh1,.hmsub,.hmrotline){text-align:left;}
  .page-hub #vhome .hmh1{font-size:clamp(1.85rem,8.4vw,2.25rem);line-height:1.1;text-wrap:balance;}
  .page-hub #vhome .hmsub{font-size:.9rem;max-width:none;}
  .page-hub #vhome .hmrotline{font-size:1rem;}
  .page-hub #vhome .hmroll{max-width:none;}
  .page-hub #vhome .hmgridlabel{margin:0 0 10px 2px;}

  /* Home: the four main cards become compact rows (icon · title + one line · chevron) */
  .page-hub #vhome .hmgrid{gap:10px;}
  .page-hub #vhome .hmgrid .hmcard{display:grid;grid-template-columns:46px 1fr;column-gap:14px;align-items:center;padding:14px 64px 14px 14px;border-radius:20px;min-height:0;}
  .page-hub #vhome .hmgrid .hmci{grid-row:1 / span 2;margin:0;width:46px;height:46px;}
  .page-hub #vhome .hmgrid .hmct{font-size:1rem;margin:0 0 2px;}
  .page-hub #vhome .hmgrid .hmcd{font-size:.78rem;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .page-hub #vhome .hmgrid .hmca{display:none;}
  .page-hub #vhome .hmgrid .hmdrag{display:none;}
  .page-hub #vhome .hmgrid .hmlock{top:50%;right:40px;transform:translateY(-50%);width:22px;height:22px;}
  .page-hub #vhome .hmgrid .hmcard::after,.page-hub #vhome .hmgrid .hmcard-feat::after{content:'';display:block;position:absolute;left:auto;bottom:auto;right:20px;top:50%;width:8px;height:8px;
    border-right:2px solid rgba(255,255,255,.55);border-top:2px solid rgba(255,255,255,.55);transform:translateY(-50%) rotate(45deg);background:none;padding:0;-webkit-mask:none;mask:none;animation:none;}

  /* Hub tool screen: tighter spacing */
  .page-hub .hwrap{padding:20px 16px 96px;}
  .page-hub .tnav{height:62px;padding:0 10px 0 16px;}
  .page-hub .tnav .brandmark img{height:40px;}

  /* Event Manager: left-aligned, compact hero; steps swipe in one row */
  .page-em .hero{text-align:left;padding-left:20px;padding-right:20px;}
  .page-em .hero h1{font-size:1.9rem;margin-bottom:6px;}
  .page-em .hero p{font-size:.84rem;line-height:1.55;margin:0;max-width:none;}
  .page-em .hero-eye{margin-bottom:10px;}
  .page-em .stepper{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-2px;padding:2px;}
  .page-em .stepper::-webkit-scrollbar{display:none;}
  .page-em .stepper li{flex-shrink:0;}
  .page-em .wiz{padding:18px 16px;}
  .page-em .wiz-head{margin-bottom:12px;}
  .page-em .chips{grid-template-columns:repeat(2,1fr);}

  /* Resource Bank: compact stats in one row, full-width search */
  .page-rb .stats-strip{grid-template-columns:repeat(3,1fr);gap:8px;}
  .page-rb .stat-card{flex-direction:column;align-items:flex-start;gap:8px;padding:12px;}
  .page-rb .stat-icon{width:34px;height:34px;font-size:1rem;}
  .page-rb .stat-num{font-size:1.2rem;}
  .page-rb .stat-lbl{font-size:.56rem;}
  .page-rb .action-bar{flex-direction:column;align-items:stretch;}
  .page-rb .search-wrap{width:100%;min-width:0;flex:none;}
  .page-rb .hero{text-align:left;padding-left:20px;padding-right:20px;}
  .page-rb .hero-sub{margin:0;}
}
@media(max-width:720px){
  /* Bars on the work pages: icon-only buttons, no name, so nothing overflows */
  :is(.page-em,.page-rb) :is(.navbtn,.nav-btn){font-size:0;padding:9px;gap:0;}
  :is(.page-em,.page-rb) :is(.navbtn,.nav-btn) svg{width:16px;height:16px;}
  :is(.page-em,.page-rb) :is(#uname,#rb-user-name){display:none;}
  :is(.page-em,.page-rb) :is(.uchip,.rb-user){padding:4px;}
  .page-hub .auth-badge-name{display:none;}
  .page-hub .auth-badge{padding:4px;}

  /* Dashboard: one calm row in the bar */
  .page-dash .header{padding:8px 10px 8px 14px;gap:8px;flex-wrap:nowrap;}
  .page-dash .brand-mark img{height:34px;}
  .page-dash .header-title{font-size:1rem;}
  .page-dash :is(.header-subtitle-line,.acid-badge-inline,.week-badge){display:none;}
  .page-dash .header-right{flex-direction:row;align-items:center;}
  .page-dash :is(.refresh-btn){width:34px;height:34px;}
  .page-dash .logout-btn{padding:7px 12px;font-size:.68rem;}
}
@media(max-width:420px){
  .page-hub .hc-fab{width:58px;height:58px;right:14px;bottom:14px;}
  .page-hub .hc-fab .hmorb{width:44px;height:44px;}
}

/* ── Events Calendar + Event Details: the homepage's look ─────────────────
   Dimmed community photo behind the screen, a frosted navy glass card,
   glass event cards, lime pills for actions and a lime eyebrow label.
   Opted in with class "glass" on #epan / #edpan. */
.page-hub #vp:has(:is(#epan,#edpan).pact){
  background:linear-gradient(165deg,rgba(2,11,51,.8) 0%,rgba(3,19,79,.7) 45%,rgba(2,11,51,.9) 100%),url('img/hero-crowd.jpg') center 32%/cover fixed,var(--hub-navy-d);}
.page-hub #vp:has(:is(#epan,#edpan).pact)::before{display:none;}
.page-hub .panel.glass{background:rgba(5,20,42,.55);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
  border:1px solid rgba(255,255,255,.12);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 40px 80px -30px rgba(0,8,22,.85);}
.page-hub .glass .phdr{background:transparent;padding:26px 30px 22px;}
.page-hub .glass .phdr::before{display:none;}
.page-hub .glass .phdr::after{height:1px;background:linear-gradient(90deg,transparent,rgba(var(--hub-lime-rgb),.55),transparent);}
.page-hub .glass .ptxt{display:flex;flex-direction:column;gap:4px;min-width:0;}
.page-hub .glass .peyebrow{font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hub-lime);}
.page-hub .glass .pbdy{background:transparent;}
.page-hub .glass :is(.ev-intro,.ev-status,.ev-empty,.ev-loadbox){color:rgba(255,255,255,.62);}
.page-hub .glass .ev-loadspn{border-color:rgba(255,255,255,.15);border-top-color:var(--hub-lime);}

/* "Up next" hero: the homepage's featured card */
.page-hub .glass .ev-hero{background:linear-gradient(150deg,rgba(var(--hub-lime-rgb),.26),rgba(5,20,42,.62));border:1px solid rgba(var(--hub-lime-rgb),.4);
  border-radius:var(--hub-r-lg);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 24px 48px -24px rgba(0,8,22,.85);}
.page-hub .glass .ev-hero::before{display:none;}
.page-hub .glass .ev-hero-eyebrow{color:var(--hub-lime);letter-spacing:.14em;}

/* Lime pills: Join, Load more, primary buttons */
.page-hub .glass :is(.ev-join,.ev-join-hero,.ev-loadmore-btn,.btn.bp){background:linear-gradient(180deg,var(--hub-lime-l),var(--hub-lime));color:var(--hub-navy-d)!important;
  border:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 24px -12px rgba(var(--hub-lime-rgb),.9);}
.page-hub .glass :is(.ev-join,.ev-join-hero,.ev-loadmore-btn,.btn.bp):hover{background:linear-gradient(180deg,#D2EE96,var(--hub-lime));transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 28px -12px rgba(var(--hub-lime-rgb),.95);}
/* Ghost glass pills: secondary buttons */
.page-hub .glass .btn.bs{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);}
.page-hub .glass .btn.bs:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);}

/* Search and filters */
.page-hub .glass .ev-controlbar{background:transparent;border-bottom-color:rgba(255,255,255,.1);}
.page-hub .glass .ev-search input[type="text"]{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#fff;border-radius:999px;}
.page-hub .glass .ev-search input[type="text"]::placeholder{color:rgba(255,255,255,.45);}
.page-hub .glass .ev-search input[type="text"]:focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.2);}
.page-hub .glass .ev-search::before{border-color:rgba(255,255,255,.55);}
.page-hub .glass .ev-search::after{background:rgba(255,255,255,.55);}
.page-hub .glass .ev-chip{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.78);}
.page-hub .glass .ev-chip:hover{border-color:rgba(255,255,255,.35);color:#fff;}
.page-hub .glass .ev-chip.active{background:linear-gradient(180deg,var(--hub-lime-l),var(--hub-lime));border-color:transparent;color:var(--hub-navy-d);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
.page-hub .glass .ev-chip:disabled:hover{border-color:rgba(255,255,255,.14);color:rgba(255,255,255,.78);}
.page-hub .glass .ev-controls-divider{background:rgba(255,255,255,.14);}
.page-hub .glass .ev-pasttoggle{border:1px dashed rgba(255,255,255,.28);color:rgba(255,255,255,.78);}
.page-hub .glass .ev-pasttoggle:hover{border-color:rgba(255,255,255,.5);color:#fff;}
.page-hub .glass .ev-pasttoggle.active{background:rgba(var(--hub-lime-rgb),.16);border:1px solid var(--hub-lime);color:var(--hub-lime);}

/* Event cards: the homepage's frosted cards */
.page-hub .glass .ev-card{background:rgba(5,20,42,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.12);border-radius:var(--hub-r-md);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 40px -22px rgba(0,8,22,.85);}
.page-hub .glass .ev-card:hover{border-color:rgba(var(--hub-lime-rgb),.45);background:rgba(5,20,42,.72);
  box-shadow:0 18px 40px -18px rgba(0,10,25,.65),0 0 0 1px rgba(var(--hub-lime-rgb),.25);}
.page-hub .glass .ev-banner{border-radius:var(--hub-r-md) var(--hub-r-md) 0 0;}

/* Event Details and the editor */
.page-hub .glass .evd-title{color:#fff;}
.page-hub .glass .evd-meta-item{color:rgba(255,255,255,.78);}
.page-hub .glass .evd-desc{color:rgba(255,255,255,.86);border-top-color:rgba(255,255,255,.1);}
.page-hub .glass .evd-desc a{color:var(--hub-lime);}
.page-hub .glass .evd-desc a:hover{color:#fff;}
.page-hub .glass .evd-banner{border-radius:var(--hub-r-md);box-shadow:0 24px 48px -24px rgba(0,8,22,.85);}
.page-hub .glass .evd-editbar{border-top-color:rgba(255,255,255,.1);}
.page-hub .glass :is(.evd-edited,.evd-hint,.evd-bnempty){color:rgba(255,255,255,.52);}
.page-hub .glass label{color:rgba(255,255,255,.85);}
.page-hub .glass textarea{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#fff;border-radius:var(--hub-r-sm);}
.page-hub .glass textarea:focus{border-color:var(--hub-lime);box-shadow:0 0 0 4px rgba(var(--hub-lime-rgb),.2);}
.page-hub .glass .evd-bnbox{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.2);border-radius:var(--hub-r-md);}
.page-hub .glass .evd-msg{color:rgba(255,255,255,.75);}
.page-hub .glass .evd-msg.err{color:#ff8a80;}
.page-hub .glass .evd-reset{color:var(--hub-lime);}
/* Phones: give the event list the width (the other panels' roomy padding
   left the calendar a narrow strip). !important matches the Tweaks density rules. */
@media (max-width:640px){
  .page-hub .pwrap:has(.panel.glass.pact){padding:14px 10px 28px !important;}
  .page-hub .glass .pbdy{padding:20px 16px 28px !important;}
  .page-hub .glass .phdr{padding:20px 18px 18px;}
  .page-hub .glass .ev-hero{padding:18px;}
  .page-hub .glass .ev-hero-body{min-width:0;}
}
