/* =====================================================================
   Sociality house rules: use these, don't rebuild them.
   Home (index.html, home.css) is the reference. One way to build each part:

   Page header   .page-h > div > h1 + p, then a .btn-row on the right.
                 h1 size is var(--h1), shared with Home's .title h1.
                 Sub-navigation (tabs) goes BELOW .page-h, never above the h1.
                 Photo heroes (chapter, event) use var(--display-hero).
   Block         .panel > .ph (h2 + optional .link on the right). 24px corners.
                 Panels in one row end level: the short one grows its list.
   Section break .sec-h > div > h2 + p   One big break per page (Home size).
                 .sec-h.sm                Secondary break: 34px, 28px on phones.
   Card          .card (or a.card)        A white 20px card on the ground,
                 18px padding (16 on phones). Never nest cards or put one
                 inside a .panel; inside a panel use .row lists or wells.
                 Brand opportunity cards are always .deal (cover, coin, .pay).
   Four facts    <dl class="facts"><div><dt>Pay</dt><dd>$250 one-time</dd></div>
                 ... Location, Length, Weekly time</dl>
                 2x2 grid of wells. Pay is a plain well like the others,
                 NEVER an ink (black) tile.
   View switch   .tabs  Grey track, white selected pill. Mark the current one
                 with aria-selected="true" (role=tab) or aria-current="page".
                 .tabs.fill  Equal-width segments across the full width.
                 Radio-backed: <div class="tabs fill"><label><input type="radio"
                 name="x" checked><span>One</span></label>...</div>
   Filter        .chip / .chip[aria-pressed="true"]  Pressed is ink (black).
                 Black means "filter on" ONLY. Never use it for a tab.
   Buttons       .btn-primary (blue): the one action on a row or form.
                 .btn-secondary beside it. .btn-ink only for the top-bar create
                 button and aria-pressed toggles.
   Status        .status.filled  active      .status.outline  pending
                 .status.done    complete    .status.struck   closed
                 .status.warn    at risk / trial ends (ink ring, red text)
                 Markup: <span class="status warn"><i></i>Trial ends Dec 15</span>
   Steps         <ol class="steps"><li class="done"><b>Applied</b><span>Nov 18</span></li>
                 <li aria-current="step"><b>Selected</b></li><li><b>Contract</b></li></ol>
                 Done green, now blue with a halo, upcoming outline, labels
                 below. 5+ steps go vertical on phones; .steps.v forces it.
   Empty         .empty (on the ground) / .empty.inline (inside a panel):
                 h3 + p + optional .btn.
   Demo note     .demo  One line of ink-3 text. Every footer note uses it.
   Colour        Blue = act or Nationals. Yellow = e-board only.
                 Bright green (--presence) = online only. No amber, anywhere.
                 Use the tokens below; don't hard-code greys.
   Icons         svg.i from the shell sprite, stroke 1.75 (2.25 only for
                 ticks inside 12-16px status dots).
   ===================================================================== */
:root{
  --ground:#EEF0F3; --panel:#FFFFFF; --ink:#000000; --ink-2:#464B54; --ink-3:#5C626C;
  --rule:#E1E4E9; --tint:#2340FF; --tint-press:#1A2FC2; --tint-soft:#E7EBFF;
  --eboard:#FFD23F; --presence:#3DDC84;
  /* Surfaces inside a panel */
  --well:#F6F7F9; --tile:#F1F3F6; --track:#E4E7EC; --hover:#F3F4F7; --selected:#E9ECF1;
  /* Strokes */
  --stroke-field:#D6DAE0; --stroke-btn:#CDD2D9;
  /* States. --error and --success stay as aliases for older page CSS. */
  --done:#127A42; --done-soft:#EAF6EF; --err:#C21F1A; --error:var(--err); --success:var(--done);
  --display:"Mona Sans","Arial Narrow",sans-serif;
  --ui:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --h1:clamp(40px,5.4vw,78px); --display-hero:clamp(56px,7.4vw,112px);
  --r-panel:24px; --r-inner:16px; --r-btn:12px; --r-card:20px;
  --lift:0 1px 2px rgba(10,14,25,.05),0 10px 24px -18px rgba(10,14,25,.25);
  --hang:0 2px 4px rgba(10,14,25,.08),0 28px 56px -22px rgba(10,14,25,.42);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scrollbar-color:#B7BCC5 transparent}
body{margin:0;background:var(--ground);color:var(--ink);font:16px/1.45 var(--ui);font-variant-numeric:tabular-nums;caret-color:var(--tint)}
::selection{background:var(--tint);color:#fff}
:focus-visible{outline:3px solid var(--tint);outline-offset:2px;border-radius:10px}
a{color:var(--tint);text-underline-offset:3px}
button{font:inherit;color:inherit}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
.sr{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.i{stroke-width:1.75}
svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Buttons: one system. 44px, 12px corners, side by side. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-btn);border:0;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .15s,box-shadow .15s,color .15s}
.btn-primary{background:var(--tint);color:#fff}.btn-primary:hover{background:var(--tint-press);color:#fff}
.btn-secondary{background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--stroke-btn)}.btn-secondary:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn-ink{background:var(--ink);color:#fff}.btn-ink:hover{background:#2A2E36;color:#fff}
.btn-reserve{background:#fff;color:#000}.btn-reserve:hover{background:#E7EBFF;color:#000}
.btn-onphoto{background:rgba(255,255,255,.16);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.btn-onphoto:hover{background:rgba(255,255,255,.26)}
.btn[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.btn[disabled]{background:var(--track);color:var(--ink-3);cursor:default;box-shadow:none}
.btn-row{display:flex;gap:10px;flex-wrap:wrap}
.link{font-size:15px;font-weight:700;color:var(--tint);text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.link:hover{text-decoration:underline}
/* A <button class="link"> looks exactly like a text link: no browser grey box, border or padding */
button.link{border:0;border-radius:6px;background:none;padding:0;margin:0;font-family:inherit;line-height:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
button.link:focus-visible{outline:3px solid var(--tint);outline-offset:2px}

/* Avatars */
.av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:14px;font-weight:800;color:#000}
.av.sm{width:30px;height:30px;font-size:11px;box-shadow:0 0 0 2px var(--panel)}
.stack{display:flex}.stack .av+.av{margin-left:-5px}
.c1{background:#7DD3E3}.c2{background:#FF8FB1}.c3{background:#C8F169}.c4{background:#FFB37A}.c5{background:#B9A7FF}.c6{background:var(--tint);color:#fff}.c7{background:#000;color:#fff}.c8{background:#E6D3AE}

/* ---------- Frame ---------- */
.app{display:grid;grid-template-columns:256px minmax(0,1fr);grid-template-areas:"side top" "side comm" "side unl" "side foot";grid-template-rows:auto auto auto 1fr;min-height:100vh}


.top{grid-area:top;display:flex;align-items:center;gap:12px;padding:18px 40px}
.search{flex:1;max-width:none;display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border-radius:14px;background:var(--panel);box-shadow:var(--lift);color:var(--ink-3)}
.search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;font-size:15px;color:var(--ink)}
.search kbd{font:600 12px var(--ui);color:var(--ink-3);border:1px solid var(--rule);border-radius:6px;padding:2px 6px}
.top .sp{display:none}
.ib{width:46px;height:46px;border-radius:14px;border:0;background:var(--panel);box-shadow:var(--lift);display:grid;place-items:center;cursor:pointer;position:relative;color:var(--ink)}
.ib .dot{position:absolute;top:11px;right:11px;width:9px;height:9px;border-radius:50%;background:var(--tint);box-shadow:0 0 0 2px #fff}
.mobile-only{display:none}

/* ---------- Community ---------- */
.comm{grid-area:comm;padding:6px 40px 0;display:flex;flex-direction:column;gap:18px}
.title h1{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:var(--h1);line-height:.86;text-transform:uppercase;letter-spacing:-.015em}
.title p{font-size:16px;color:var(--ink-2);margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.banner{display:flex;align-items:center;gap:14px;padding:12px 12px 12px 14px;border-radius:18px;background:var(--tint);color:#fff}
.banner img{width:38px;height:38px;border-radius:50%;box-shadow:0 0 0 1.5px #fff;flex:none}
.banner p{flex:1;font-size:15px}.banner p b{display:block;font-size:16px}
.banner .btn{background:#fff;color:var(--ink)}

.bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.span2{grid-column:1/-1}
.panel{background:var(--panel);border-radius:var(--r-panel);box-shadow:var(--lift);padding:22px;display:flex;flex-direction:column;gap:14px;min-width:0}
.ph{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ph h2{font-family:var(--display);font-stretch:75%;font-weight:850;font-size:28px;line-height:1;text-transform:uppercase}
.ph .link{min-height:0;font-size:14px}

/* Chapter panel */
.chapter{padding:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0}
.ch-photo{position:relative;min-height:340px}
.ch-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ch-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.78))}
.ch-name{position:absolute;left:22px;right:22px;bottom:20px;z-index:1;color:#fff;display:flex;flex-direction:column;gap:6px}
.ch-name h2{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:54px;line-height:.84;text-transform:uppercase}
.ch-name p{font-size:14px;color:#E8EAEE}
.ch-body{padding:22px;display:flex;flex-direction:column;gap:16px}
.tonight{display:flex;flex-direction:column;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--rule)}
.tonight .when{font-size:13px;font-weight:800;color:var(--tint)}
.tonight h3{font-size:20px;font-weight:800;line-height:1.2}
.tonight .meta{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-2)}
.ch-row{display:flex;gap:12px;align-items:flex-start}
.ch-row .ico{width:40px;height:40px;border-radius:12px;background:var(--tile);display:grid;place-items:center;flex:none}
.ch-row p{font-size:14px;color:var(--ink-2)}
.ch-row b{display:block;font-size:15px;color:var(--ink)}
.ch-row .link{margin-left:auto;min-height:40px;flex:none}

/* Channels */
.chan{display:flex;flex-direction:column}
.chan a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid var(--rule);color:var(--ink);text-decoration:none}
.chan a:last-child{border-bottom:0}
.chan a:hover{background:#F7F8FA}
.chan .hash{width:40px;height:40px;border-radius:12px;background:var(--tile);display:grid;place-items:center;color:var(--ink-2)}
.hash svg.i{width:19px;height:19px}
.chan b{font-size:15px;display:block}
.chan span.q{font-size:13px;color:var(--ink-3);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chan .live{font-size:12px;font-weight:800;color:var(--done);display:flex;align-items:center;gap:6px;white-space:nowrap}
.chan .live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--presence)}
.chan .unread{font-size:12px;font-weight:700;min-width:22px;height:22px;border-radius:11px;background:var(--ink);color:#fff;display:grid;place-items:center;padding:0 6px}

/* People */
.people{display:flex;flex-direction:column}
.person{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--rule)}
.person:last-child{border-bottom:0}
.person .t{flex:1;min-width:0}
.person b{display:block;font-size:15px}
.person .t span{font-size:13px;color:var(--ink-3)}

/* Wins feed */
.wins{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}
.post{display:flex;flex-direction:column;gap:12px}
.post header{display:flex;align-items:center;gap:10px}
.post header b{font-size:15px;display:block}.post header span span{font-size:13px;color:var(--ink-3)}
.post .label{margin-left:auto;font-size:12px;font-weight:800;color:var(--tint)}
.post img{width:100%;height:230px;object-fit:cover;border-radius:var(--r-inner)}
.post p{font-size:15px;line-height:1.5}
.react{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.react small{font-size:13px;color:var(--ink-3)}
.stackcol{display:flex;flex-direction:column;gap:18px}
.stackcol .post+.post{padding-top:18px;border-top:1px solid var(--rule)}

/* Collab + mentors */
.req{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 12px;padding:12px 0;border-bottom:1px solid var(--rule)}
.req:last-of-type{border-bottom:0}
.req .ico{grid-row:span 2;width:40px;height:40px;border-radius:12px;background:var(--tile);display:grid;place-items:center}
.req b{font-size:15px}.req span{font-size:13px;color:var(--ink-3)}


/* ---------- Unlocked ---------- */
.unl{grid-area:unl;padding:52px 40px 0;display:flex;flex-direction:column;gap:18px}
.sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sec-h h2{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:clamp(34px,4vw,54px);line-height:.88;text-transform:uppercase}
.sec-h p{font-size:15px;color:var(--ink-2);margin-top:8px}

/* perforation: a row of punched holes with side notches */
.perf{position:relative;height:12px;background:radial-gradient(circle,var(--ground) 0 2.6px,transparent 3px) 4px 50%/11px 12px repeat-x}
.perf::before,.perf::after{content:"";position:absolute;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;background:var(--ground)}
.perf::before{left:-8px}.perf::after{right:-8px}

.deals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.deal{background:var(--panel);border-radius:var(--r-panel);box-shadow:var(--lift);display:flex;flex-direction:column;overflow:hidden}
.cover{position:relative;height:150px;padding:16px;display:flex;flex-direction:column;justify-content:space-between}
.cover .kind{align-self:flex-start;font-size:12px;font-weight:800;padding:4px 8px;border-radius:7px;background:rgba(0,0,0,.82);color:#fff}
.cover .bn{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:46px;line-height:.82;text-transform:uppercase}
.blogo{position:absolute;right:16px;bottom:-24px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px;box-shadow:0 0 0 4px var(--panel)}
.deal .body{padding:18px 18px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.deal .body>b{font-size:16px;line-height:1.3;padding-right:56px}
.pay{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:40px;line-height:.9}
.pay small{font:600 14px var(--ui);color:var(--ink-2);margin-left:6px}
.why{font-size:13.5px;color:var(--ink-2);background:var(--tint-soft);border-radius:10px;padding:8px 10px;margin-top:4px}
.deal .body .why b{font-size:13.5px;color:var(--ink);padding:0}
.deal .foot{padding:12px 18px 16px;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px}
.deal .foot span{font-size:13px;color:var(--ink-3)}

.list{display:flex;flex-direction:column}
.row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--rule)}
.row:last-child{border-bottom:0}
.row b{display:block;font-size:15px}.row span span,.row>span>span{font-size:13px;color:var(--ink-3)}
.co{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-family:var(--display);font-stretch:75%;font-size:18px}

.event-hero{position:relative;border-radius:var(--r-inner);overflow:hidden;min-height:260px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:16px}
.event-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.event-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.7) 60%,rgba(0,0,0,.9))}
.event-hero>*{position:relative;z-index:1}
.event-hero img{z-index:0}
.event-hero::after{z-index:0}
.event-hero .d{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:40px;line-height:.86;text-transform:uppercase}
.event-hero p{font-size:14px;color:#E8EAEE;margin-top:6px}
.event-hero .meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.event-hero .meta>span{font-size:13px;color:#E8EAEE;display:flex;align-items:center;gap:8px}
.event-hero .av.sm{box-shadow:0 0 0 2px #000}

/* Perks by brand: coupons */
.brands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.coupon{border-radius:var(--r-inner);background:var(--well);display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden}
.coupon .cop{padding:14px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;flex:1}
.coupon .lg{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px;margin-bottom:2px}
.coupon b{font-size:13.5px}.coupon .cop span:not(.lg){font-size:12.5px;color:var(--ink-3);line-height:1.3}
.coupon .perf{width:100%;background-image:radial-gradient(circle,var(--panel) 0 2.6px,transparent 3px)}
.coupon .perf::before,.coupon .perf::after{background:var(--panel)}
.coupon .stub{padding:8px 8px 10px;width:100%;transition:transform .6s cubic-bezier(.16,1,.3,1),opacity .6s}
.coupon .stub .btn{width:100%;padding:0 8px;font-size:13.5px}
.coupon.torn .stub{transform:translateY(8px) rotate(-4deg);opacity:.6}

.learn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:22px;align-items:stretch}
.vid{position:relative;border-radius:var(--r-inner);overflow:hidden;background:var(--tint);color:#fff;min-height:200px;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:14px;text-decoration:none}
.vid .art{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:40px}
.vid .art span{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:50px;line-height:.82;text-transform:uppercase;text-align:center}
.vid>*:not(.art){position:relative}
.vid .play{position:absolute;top:14px;left:14px;width:44px;height:44px;border-radius:50%;background:#fff;color:#000;display:grid;place-items:center}
.vid b{font-size:15px}.vid small{font-size:12.5px;color:#DDE2FF}
.progress{height:5px;border-radius:3px;background:rgba(255,255,255,.3);margin-top:8px;overflow:hidden}
.progress i{display:block;height:100%;width:62%;background:#fff}
.learn .row{grid-template-columns:minmax(0,1fr) auto}

.mk{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;white-space:nowrap}
.mk i{width:13px;height:13px;border-radius:50%;flex:none}
.mk.filled i{background:var(--tint)}
.mk.outline i{box-shadow:inset 0 0 0 2px var(--ink)}
.mk.struck{color:var(--ink-3)}.mk.struck i{box-shadow:inset 0 0 0 2px var(--ink-3)}
.struck-t{text-decoration:line-through;text-decoration-thickness:2px;color:var(--ink-3)}
.cal .d{width:52px;text-align:center;line-height:1}
.cal .d small{display:block;font-size:12px;font-weight:800;color:var(--ink-3)}
.cal .d strong{display:block;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:30px}
.cal .d.today small{color:var(--tint)}
.two{grid-template-columns:minmax(0,1fr) auto!important}
.datec{grid-template-columns:auto minmax(0,1fr)!important}

.desk{background:var(--eboard)}
.desk .row{border-color:rgba(0,0,0,.14)}
.desk .row>span>span{color:#3B3420}
.desk .ph h2 small{font:700 13px var(--ui);margin-left:10px;text-transform:none;letter-spacing:0}

.foot{grid-area:foot;padding:56px 40px 56px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.foot .brand{display:flex;align-items:center;gap:12px}
.foot .brand img:first-child{width:44px;height:44px;border-radius:50%}
.foot .brand img+img{height:20px;width:auto}
.foot .brand .cpw{width:auto;height:28px;border-radius:0}
.foot nav{display:flex;flex-wrap:wrap;gap:0 18px}
.foot nav a{font-size:14px;font-weight:600;color:var(--ink-2);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.foot p{width:100%;font-size:13px;color:var(--ink-3)}

/* ---------- Narrow desktop ---------- */
@media (max-width:1240px){
  .app{grid-template-columns:232px minmax(0,1fr)}
  .comm,.unl,.top,.foot{padding-left:28px;padding-right:28px}
  .deals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brands{grid-template-columns:repeat(3,minmax(0,1fr))}
  .chapter{grid-template-columns:1fr}
  .ch-photo{min-height:240px}
  .wins,.learn{grid-template-columns:1fr}
}
/* ---------- Phones: purpose-built ---------- */
@media (max-width:860px){
  .app{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "comm" "unl" "foot";grid-template-rows:auto}
  .top{padding:calc(12px + env(safe-area-inset-top)) 12px 4px 16px;gap:4px}
  .top .search,.top .desktop-only{display:none}
  .top .mobile-only{display:flex}
  .top .sp{display:block;flex:1}
  .top .lockup{padding:0;gap:8px}
  .top .lockup .m{width:34px;height:34px}
  .top .lockup .w{height:13px}
  .top .lockup .w.cpw{height:24px;width:auto;display:block}
  .ib{width:44px;height:44px;box-shadow:none;background:transparent}
  .comm{padding:8px 16px 0;gap:14px}
  .title h1{font-size:40px}
  .title p{font-size:15px;margin-top:8px}
  .banner{border-radius:16px;align-items:flex-start;flex-wrap:wrap}
  .banner p{flex:1 1 220px}
  .banner .btn{width:100%}
  .bento{grid-template-columns:1fr;gap:14px}
  .panel{padding:18px;border-radius:20px}
  .ph h2{font-size:24px}
  .chapter{padding:0;grid-template-columns:1fr}
  .ch-photo{min-height:220px}
  .ch-name h2{font-size:44px}
  .ch-body{padding:18px}
  .tonight .btn-row .btn{flex:1}
  .wins{grid-template-columns:1fr}
  .stackcol{padding-top:18px;border-top:1px solid var(--rule)}


  .unl{padding:40px 16px 0;gap:14px}
  .sec-h h2{font-size:38px}
  .deals{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:2px 16px 8px;gap:12px}
  .deal{flex:0 0 292px;scroll-snap-align:start}
  .brands{grid-template-columns:repeat(2,minmax(0,1fr))}
  .learn{grid-template-columns:1fr}
  .desk .ph{flex-wrap:wrap}
  .btn.mobile-only{display:inline-flex}
  .btn.desktop-only{display:none}
  .desk .ph h2 small{display:block;margin:6px 0 0}
  .event-hero .d{font-size:34px}
  .foot{padding:40px 16px calc(110px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* phone tab bar shared by both variants */
.mtab{display:none}
@media (max-width:860px){
  .mtab{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:30;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:rgba(0,0,0,.92);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
  .mtab a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;min-width:0;color:#A9AEB8;text-decoration:none;font-size:12px;font-weight:600;position:relative;white-space:nowrap}
  .mtab a svg{width:46px;height:30px;padding:5px 13px;border-radius:15px}
  .mtab a[aria-current="page"]{color:#fff}
  .mtab a[aria-current="page"] svg{background:#fff;color:#000}
  .mtab .n{position:absolute;top:0;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--tint);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}
}

/* People-first column: calm, profile pinned */
.pcol{grid-area:side;position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;background:#FFFFFF;border-right:1px solid var(--rule)}
.pscroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;padding:20px 14px 12px;display:flex;flex-direction:column;gap:22px}
.pscroll::-webkit-scrollbar{display:none;width:0;height:0}
.pcol{overflow:hidden}
.plock{display:flex;align-items:center;gap:10px;padding:2px 4px;text-decoration:none}
.plock .m{width:38px;height:38px;border-radius:50%}.plock .w{height:14px}
.plock .w.cpw{height:28px;width:auto;display:block}
.sec{display:flex;flex-direction:column;gap:2px}
.sec a{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 10px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:600;position:relative}
.sec a svg.i{width:21px;height:21px;color:var(--tint)}
.sec a:hover{background:var(--hover)}
.sec a[aria-current="page"]{background:var(--selected);font-weight:700}
.sec .tag{margin-left:auto;font-size:12px;font-weight:800;padding:3px 7px;border-radius:6px;background:var(--eboard);color:#000}
.me2,.me2:hover{text-decoration:none;color:var(--ink)}
/* Org sites run on Sociality: a quiet platform credit above the profile row */
.cpc{flex:none;display:flex;align-items:center;gap:7px;margin:0;padding:8px 18px 9px;border-top:1px solid var(--rule);font-size:12px;font-weight:600;letter-spacing:.005em;color:var(--ink-3)}
.cpc img{width:auto;height:15px;opacity:.9}
.cpc+.me2{border-top:0}
.sec .cnt{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--tint);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}
.ph2{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}
.ph2 h2{font-size:14px;font-weight:700;color:var(--ink-2)}
.ph2 h2 a{color:inherit;text-decoration:none}
.ph2 h2 a:hover{color:var(--ink);text-decoration:underline}
.ph2 h2 a[aria-current="page"]{color:var(--ink)}
.ph2 .live{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--done)}
.ph2 .live i{width:7px;height:7px;border-radius:50%;background:#3DDC84}
.faces{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px;padding:0 2px}
.faces .more .n2{display:none}
@media (max-width:1240px){.faces{grid-template-columns:repeat(5,minmax(0,1fr))}.faces a:nth-child(5){display:none}.faces .more .n1{display:none}.faces .more .n2{display:inline}}
.faces a{text-decoration:none;display:flex;justify-content:center;min-width:0}
.faces .av{width:100%;max-width:40px;height:auto;aspect-ratio:1;font-size:13px;position:relative}
.faces a:not(.more) .av::after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 2.5px #fff}
.faces .more .av{background:var(--tile);color:var(--ink-2);font-weight:700}
.chats{display:flex;flex-direction:column;gap:2px}
.chats .ph2{margin-bottom:6px}
.ib2{width:32px;height:32px;border-radius:9px;border:0;background:transparent;color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.ib2:hover{background:var(--tile);color:var(--ink)}
.chats a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 6px;border-radius:12px;color:var(--ink);text-decoration:none}
.chats a:hover{background:var(--hover)}
.chats .av{width:36px;height:36px;font-size:12.5px}
.chats .hash{width:36px;height:36px;border-radius:10px;background:var(--tile);display:grid;place-items:center;font-weight:700;color:var(--ink-3)}
.chats .t{min-width:0}
.chats .t b{display:block;font-size:14px;font-weight:600}
.chats .t span{display:block;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chats a.unread .t b{font-weight:800}.chats a.unread .t span{color:var(--ink-2)}
.chats .r{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.chats .r small{font-size:11.5px;color:var(--ink-3)}
.chats .dot{width:8px;height:8px;border-radius:50%;background:var(--tint)}
.chats a.all{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:40px;font-size:13.5px;font-weight:700;color:var(--tint);padding:6px 6px;white-space:nowrap}
.chats a.all .cnt{font-size:12.5px;font-weight:600;color:var(--ink-3)}
/* Align pass: the row styles above must not reach the section header link and its + button */
.chats .ph2 h2 a{display:inline;padding:0;border-radius:0}
.chats .ph2 h2 a:hover{background:none}
.chats .ph2 a.ib2{display:grid;grid-template-columns:none;padding:0;border-radius:9px}
.ph2 .qsum{font-size:12.5px;font-weight:600;color:var(--ink-3);white-space:nowrap}
.me2{flex:none;display:flex;align-items:center;gap:10px;margin:0;padding:12px 16px 14px;border:0;border-top:1px solid var(--rule);background:#fff;cursor:pointer;text-align:left;width:100%}
.me2:hover{background:#F7F8FA}
.me2 .avw{position:relative}
.me2 .avw::after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 2.5px #fff}
.me2 .av{width:40px;height:40px;font-size:14px;color:#000}
.me2 b{display:block;font-size:14.5px}.me2>span>span{font-size:12.5px;color:var(--ink-3)}
.me2 svg{margin-left:auto;color:var(--ink-3)}
.app{grid-template-columns:304px minmax(0,1fr)}
@media (max-width:1240px){.app{grid-template-columns:280px minmax(0,1fr)}}
@media (max-width:860px){.app{grid-template-columns:minmax(0,1fr)}.pcol{display:none}}

/* ---------- Apple layer: response, materials, type, accessibility ---------- */
/* Response: feedback on press, instantly */
.btn,.link,.sec a,.chats a,.faces a,.me2,.ib,.ib2,.chan a,.deal,.coupon,.vid,.mtab a{-webkit-tap-highlight-color:transparent}
.btn:active,.sec a:active,.faces a:active,.ib:active,.ib2:active,.mtab a:active{transform:scale(.96);transition:transform 90ms ease-out}
.chats a:active,.chan a:active,.me2:active,.row:active{transform:scale(.985);transition:transform 90ms ease-out}
.btn,.sec a,.faces a,.ib,.ib2,.chats a,.chan a,.me2{transition:transform 260ms cubic-bezier(.2,.9,.25,1),background-color .15s,box-shadow .15s,color .15s}
/* Materials: a translucent search bar floats over content with a soft scroll edge */
.top{position:sticky;top:0;z-index:15;background:rgba(238,240,243,.72);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%)}
.top::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px;pointer-events:none;background:linear-gradient(rgba(238,240,243,.7),rgba(238,240,243,0))}
.search{box-shadow:0 1px 2px rgba(10,14,25,.06),inset 0 0 0 1px rgba(10,14,25,.06)}
.panel{box-shadow:0 1px 1px rgba(10,14,25,.04),0 2px 6px rgba(10,14,25,.04),0 16px 32px -24px rgba(10,14,25,.22)}
.deal,.panel{transition:box-shadow .25s ease}
.deal:hover{box-shadow:0 1px 1px rgba(10,14,25,.04),0 4px 10px rgba(10,14,25,.06),0 24px 40px -24px rgba(10,14,25,.32)}
/* Type: tracking by size */
.title h1,.sec-h h2{letter-spacing:-.02em}
.ph h2,.ch-name h2,.event-hero .d,.pay,.cover .bn{letter-spacing:-.01em}
.title p,.tonight h3,.stub-title,.chats .t b,.person b{letter-spacing:-.005em}
.ph2 h2,.stub-meta,.chats .t span,.person .t span,.row span span{letter-spacing:.005em}
.sec a{letter-spacing:.01em}.mtab a{letter-spacing:0}
p{text-wrap:pretty}
/* Accessibility signals */
@media (prefers-reduced-motion:reduce){.btn:active,.sec a:active,.faces a:active,.ib:active,.ib2:active,.mtab a:active,.chats a:active,.chan a:active,.me2:active,.row:active{transform:none}}
@media (prefers-reduced-transparency:reduce){.top{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none}.mtab{background:#000!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@media (prefers-contrast:more){.panel,.deal,.search{box-shadow:inset 0 0 0 1.5px #000}.chats .t span,.person .t span,.row span span{color:var(--ink-2)}}
@media (max-width:860px){.top{position:static;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.top::after{display:none}}

.ask-s{display:none}
@media (max-width:480px){.ask-l{display:none}.ask-s{display:inline}}
/* ---------- Inner pages (shared shell) ---------- */
.app.inner{grid-template-areas:"side top" "side page";grid-template-rows:auto 1fr}
.page{grid-area:page;min-width:0;padding:6px 40px 40px;display:flex;flex-direction:column;gap:22px}
.page-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:8px 0 4px}
.page-h h1{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:var(--h1);line-height:.86;text-transform:uppercase;letter-spacing:-.02em}
.page-h p{font-size:16px;color:var(--ink-2);margin-top:10px}
.tabs{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--track);width:max-content;max-width:100%;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a,.tabs button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;border:0;background:transparent;color:var(--ink-2);font:600 14.5px var(--ui);text-decoration:none;cursor:pointer;white-space:nowrap}
.tabs [aria-selected="true"],.tabs [aria-current="page"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--stroke-field);font:600 13.5px var(--ui);color:var(--ink);cursor:pointer;border:0}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.field .lab{font-size:13.5px;font-weight:700}
.field input,.field select,.field textarea{min-height:46px;padding:10px 14px;border-radius:12px;border:0;background:#fff;box-shadow:inset 0 0 0 1.5px var(--stroke-field);font:15px var(--ui);color:var(--ink)}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;box-shadow:inset 0 0 0 2px var(--tint)}
.field .hint{font-size:12.5px;color:var(--ink-3)}
.status{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;white-space:nowrap}
.status i{width:12px;height:12px;border-radius:50%;flex:none}
.status.filled i{background:var(--tint)}.status.outline i{box-shadow:inset 0 0 0 2px var(--ink)}
.status.done i{background:var(--done)}.status.struck{color:var(--ink-3)}.status.struck i{box-shadow:inset 0 0 0 2px var(--ink-3)}
.empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:28px;border-radius:var(--r-panel);background:#fff;box-shadow:var(--lift)}
.empty h3{font-size:18px;font-weight:800}.empty p{font-size:15px;color:var(--ink-2);max-width:48ch}

/* ---------- House components. Documented at the top of this file. ---------- */
/* Tabs: hover, counts and radio-backed segments */
.tabs a:hover,.tabs button:hover{color:var(--ink)}
.tabs .n{font-size:12px;font-weight:800;color:var(--ink-3)}
.tabs label{position:relative;display:flex}
.tabs label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.tabs label>span{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:44px;padding:0 16px;border-radius:10px;color:var(--ink-2);font:600 14.5px var(--ui);white-space:nowrap}
.tabs label:hover>span{color:var(--ink)}
.tabs label input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.tabs label input:focus-visible+span{outline:3px solid var(--tint);outline-offset:1px}
.tabs.fill{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%}
.tabs.fill>a,.tabs.fill>button{justify-content:center;padding:0 10px}
.tabs.fill label>span{padding:0 10px}

/* Card on the ground */
.card{background:var(--panel);border-radius:var(--r-card);padding:18px;box-shadow:var(--lift);display:flex;flex-direction:column;gap:10px;min-width:0;color:var(--ink)}
a.card{text-decoration:none;transition:box-shadow .25s ease,transform 260ms cubic-bezier(.2,.9,.25,1)}
a.card:hover{box-shadow:0 1px 1px rgba(10,14,25,.04),0 4px 10px rgba(10,14,25,.06),0 24px 40px -24px rgba(10,14,25,.32)}
a.card:active{transform:scale(.985);transition:transform 90ms ease-out}

/* Four facts: Pay, Location, Length, Weekly time. Pay is never ink-filled. */
dl.facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
dl.facts>div{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 12px;border-radius:12px;background:var(--well);color:var(--ink)}
dl.facts dt{font-size:12.5px;font-weight:600;line-height:1.3;color:var(--ink-3)}
dl.facts dd{margin:0;font-size:15px;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}

/* Steps: done green, now blue with a halo, upcoming outline, labels below */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.steps>li{position:relative;display:flex;flex-direction:column;gap:2px;min-width:0;padding:22px 12px 0 0;font-size:12.5px;line-height:1.3;color:var(--ink-3)}
.steps>li b{font-size:13.5px;font-weight:700;color:var(--ink-2)}
.steps>li::before{content:"";position:absolute;left:0;top:0;z-index:1;width:12px;height:12px;border-radius:50%;background:var(--panel);box-shadow:inset 0 0 0 2px var(--ink-3)}
.steps>li::after{content:"";position:absolute;left:12px;right:0;top:5px;height:2px;background:var(--stroke-field)}
.steps>li:last-child::after{display:none}
.steps>li.done::before{background:var(--done);box-shadow:none}
.steps>li.done::after{background:var(--done)}
.steps>li.done b,.steps>li[aria-current="step"] b{color:var(--ink)}
.steps>li[aria-current="step"]::before{background:var(--tint);box-shadow:0 0 0 4px var(--tint-soft)}
.steps>li.struck b{color:var(--ink-3);text-decoration:line-through;text-decoration-thickness:2px}
.steps.v{grid-auto-flow:row;grid-auto-columns:auto}
.steps.v>li{padding:0 0 14px 24px}
.steps.v>li:last-child{padding-bottom:0}
.steps.v>li::before{top:3px}
.steps.v>li::after{left:5px;right:auto;top:15px;bottom:0;width:2px;height:auto}

/* Status: at risk or expiring */
.status.warn{color:var(--err)}
.status.warn i{box-shadow:inset 0 0 0 2px var(--ink)}

/* Secondary section break on the ground */
.sec-h.sm h2{font-size:34px}

/* Empty state inside a panel */
.empty.inline{padding:18px 20px;gap:8px;border-radius:var(--r-inner);background:var(--well);box-shadow:none}
.empty.inline h3{font-size:16px}
.empty.inline p{font-size:14px}

/* Demo note: one line, every page */
.demo{font-size:13px;line-height:1.45;color:var(--ink-3)}

@media (max-width:860px){
  .card{padding:16px}
  .sec-h.sm h2{font-size:28px}
}
@media (max-width:560px){
  .steps:has(>li:nth-child(5)){grid-auto-flow:row;grid-auto-columns:auto}
  .steps:has(>li:nth-child(5))>li{padding:0 0 14px 24px}
  .steps:has(>li:nth-child(5))>li:last-child{padding-bottom:0}
  .steps:has(>li:nth-child(5))>li::before{top:3px}
  .steps:has(>li:nth-child(5))>li::after{left:5px;right:auto;top:15px;bottom:0;width:2px;height:auto}
}
@media (max-width:860px){
  .app.inner{grid-template-areas:"top" "page";grid-template-rows:auto 1fr}
  .page{padding:8px 16px calc(110px + env(safe-area-inset-bottom));gap:16px}
  .page-h h1{font-size:40px}
}

/* Prototype-only: links to other role views from Home */
.preview{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;font-size:14px}
.preview span{color:var(--ink-3)}
.preview a{font-weight:700;color:var(--tint);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}

/* Prototype-only role switcher */
.role-switch{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-family:var(--ui)}
.role-switch>button{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 16px 0 8px;border:0;border-radius:22px;background:#000;color:#fff;cursor:pointer;box-shadow:0 2px 6px rgba(10,14,25,.18),0 12px 24px -10px rgba(10,14,25,.45);font:700 14px var(--ui)}
.role-switch .rs-k{font-size:12px;font-weight:800;padding:4px 8px;border-radius:12px;background:#FFFFFF;color:#000}
.role-switch ul{list-style:none;margin:0;padding:6px;border-radius:16px;background:#fff;box-shadow:0 2px 6px rgba(10,14,25,.12),0 18px 36px -12px rgba(10,14,25,.35);min-width:220px}
.role-switch li a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:600}
.role-switch li a:hover{background:var(--hover)}
.role-switch li a[aria-current="true"]{background:var(--ink);color:#fff}
.role-switch .rs-sep{margin-top:4px;padding-top:4px;border-top:1px solid var(--rule)}
@media (max-width:860px){.role-switch{right:12px;bottom:calc(100px + env(safe-area-inset-bottom))}.role-switch>button{min-height:44px;padding:0 6px}.role-switch .rs-v{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media print{.role-switch{display:none}}

/* Skip link */
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:12px;background:#000;color:#fff;font-weight:700;text-decoration:none}
.skip:focus{top:12px}

.t-link{color:inherit;text-decoration:none}
.t-link:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- Shared overlays: search, notifications, composer, toast ---------- */
button.search{border:0;font:inherit;cursor:text;text-align:left;width:100%}
.search .ph{flex:1;min-width:0;font-size:15px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
button.search:hover{box-shadow:0 1px 2px rgba(10,14,25,.06),inset 0 0 0 1px rgba(10,14,25,.16)}
html.ovl-open{overflow:hidden}
.ovl{position:fixed;inset:0;z-index:60}
.ovl[hidden]{display:none}
.ovl:not(.in){pointer-events:none}
.ovl-scrim{position:absolute;inset:0;background:rgba(10,14,25,.32);opacity:0;transition:opacity .18s ease}
.ovl.in .ovl-scrim{opacity:1}
.ovl .av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.sx-ic{width:36px;height:36px;border-radius:10px;background:var(--well,#F6F7F9);display:grid;place-items:center;flex:none;color:var(--ink)}
.sx-ic svg.i{width:18px;height:18px}

/* Search: the "Find" sheet. Same type, faces, tickets and coupons as the rest of Sociality. */
.sx-sheet{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:rgba(238,240,243,.94);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);opacity:0;transform:translateY(-10px);transition:opacity .16s ease,transform .3s cubic-bezier(.2,.9,.25,1);box-shadow:-1px 0 0 rgba(10,14,25,.06)}
.sx.in .sx-sheet{opacity:1;transform:none}
.sx .ovl-scrim{background:rgba(10,14,25,.18)}
.sx-top{display:flex;align-items:center;gap:12px;padding:18px 40px 0;max-width:1180px;width:100%;margin:0 auto}
.sx-field{flex:1;display:flex;align-items:center;gap:14px;height:64px;padding:0 20px;border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(10,14,25,.06),0 14px 30px -20px rgba(10,14,25,.3);color:var(--ink)}
.sx-field:focus-within{box-shadow:inset 0 0 0 2px var(--tint),0 14px 30px -20px rgba(10,14,25,.3)}
.sx-field svg.i{width:22px;height:22px;stroke-width:2}
.sx-field input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--ink);line-height:1.2}
.sx-field input::placeholder{color:var(--ink-3);font-weight:500}
.sx-field input::-webkit-search-cancel-button{display:none}
.sx-done{min-height:52px;padding:0 20px;border-radius:14px}
.sx-scopes{display:flex;gap:4px;padding:3px;margin:14px auto 0;background:#E3E6EB;border-radius:13px;width:max-content;max-width:calc(100% - 80px);overflow-x:auto;scrollbar-width:none;align-self:flex-start;margin-left:max(40px,calc((100% - 1180px)/2 + 40px))}
.sx-scopes::-webkit-scrollbar{display:none}
.sx-scopes button{display:flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--ink-2);min-height:40px;padding:0 14px;border-radius:10px;cursor:pointer;white-space:nowrap}
.sx-scopes button[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.sx-scopes .n{font-size:12px;font-weight:800;color:var(--ink-3);font-variant-numeric:tabular-nums}
.sx-body{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.sx-body::-webkit-scrollbar{display:none}
.sx-in{max-width:1180px;margin:0 auto;padding:16px 40px 40px;display:flex;flex-direction:column;gap:14px}
.sx-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
.sx-p{background:#fff;border-radius:var(--r-panel,18px);box-shadow:var(--lift);padding:18px 20px 20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.sx-ph{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sx-ph h3{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px;text-transform:uppercase;letter-spacing:-.005em;line-height:1}
.sx-meta{font-size:13px;font-weight:700;color:var(--ink-3)}
.sx-ph .link{font-size:14px;font-weight:700;color:var(--tint);text-decoration:none;border:0;background:none;padding:0;cursor:pointer;font-family:inherit;min-height:32px}
.sx-live{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink-2)}
.sx-live i{width:8px;height:8px;border-radius:50%;background:#3DDC84}
.sx mark{background:#FFF0A8;color:inherit;border-radius:3px;padding:0 1px}
.sx a,.sx button{-webkit-tap-highlight-color:transparent}
.sx [data-sxi]:focus-visible{outline:2px solid var(--tint);outline-offset:2px}
.sx .avw{position:relative;display:inline-flex;flex:none}
.sx .avw .on{position:absolute;right:0;bottom:0;width:13px;height:13px;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 2.5px #fff}
/* faces */
.sx-faces{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.sx-face{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px 10px;border-radius:14px;text-decoration:none;color:var(--ink);text-align:center}
.sx-face:hover{background:#F4F5F7}
.sx-face .av{width:64px;height:64px;font-size:18px}
.sx-face .avw .on{width:15px;height:15px;right:2px;bottom:2px}
.sx-face b{font-size:14px;margin-top:4px}
.sx-face span:not(.av):not(.avw){font-size:12px;color:var(--ink-3)}
.sx-face.more .av{background:#EEF0F3;color:var(--ink);font-size:16px}
/* people rows */
.sx-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:4px 12px}
.sx-person{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 10px;border-radius:14px;text-decoration:none;color:var(--ink)}
.sx-person:hover{background:#F4F5F7}
.sx-person .av{width:46px;height:46px;font-size:14px}
.sx-person .t,.sx-deal .t,.sx-ticket .t,.sx-coupon .t,.sx-chan .t,.sx-row .t,.sx-task .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sx-person b,.sx-row b,.sx-chan b,.sx-task b{font-size:15px}
.sx-person .t span,.sx-row .t span,.sx-chan .t span,.sx-task .t span{font-size:13px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-go{font-size:13px;font-weight:700;color:var(--tint);padding:8px 12px;border-radius:10px;background:var(--tint-soft)}
/* deals */
.sx-deals{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.sx-deal{display:flex;gap:12px;padding:14px;border-radius:14px;background:var(--well);text-decoration:none;color:var(--ink);align-items:flex-start}
.sx-deal:hover{background:#EEF0F3}
.sx .coin{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px;color:#000}
.sx-deal small,.sx-ticket small{font-size:12px;font-weight:700;color:var(--ink-3)}
.sx-deal b{font-size:15px;line-height:1.3}
.sx-deal .pay{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:20px;line-height:1.1;margin-top:4px}
.sx-deal .when{font-size:13px;color:var(--ink-2)}
/* event tickets */
.sx-tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.sx-ticket{display:flex;align-items:stretch;border-radius:14px;background:var(--well);text-decoration:none;color:var(--ink);overflow:hidden;position:relative}
.sx-ticket:hover{background:#EEF0F3}
.sx-ticket .dt{display:flex;flex-direction:column;align-items:center;justify-content:center;width:72px;flex:none;background:var(--tint);color:#fff;line-height:1;gap:2px;padding:10px 0;position:relative}
.sx-ticket.ch .dt{background:#000}
.sx-ticket .dt::after{content:"";position:absolute;right:-1px;top:6px;bottom:6px;border-right:2px dotted var(--well)}
.sx-ticket .dt small{font-size:12px;font-weight:800;color:rgba(255,255,255,.8);text-transform:uppercase}
.sx-ticket .dt strong{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:32px}
.sx-ticket .t{padding:12px 14px}
.sx-ticket b{font-size:15px;line-height:1.3}
.sx-ticket .t span{font-size:13px;color:var(--ink-3)}
/* perk coupons */
.sx-coupons{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.sx-coupon{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--stroke-btn);border:0;text-decoration:none;color:var(--ink);background-image:radial-gradient(circle at 0 50%,var(--ground) 0 8px,transparent 8.5px),radial-gradient(circle at 100% 50%,var(--ground) 0 8px,transparent 8.5px)}
.sx-coupon:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.sx-coupon .lg{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:none;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:20px}
.sx-coupon b{font-size:15px}.sx-coupon .t span{font-size:13px;color:var(--ink-2)}
/* channels */
.sx-chans{display:flex;flex-direction:column}
.sx-chan{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 10px;border-radius:12px;text-decoration:none;color:var(--ink)}
.sx-chan:hover{background:#F4F5F7}
.sx-chan .hs{width:40px;height:40px;border-radius:12px;background:#000;color:#fff;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px;flex:none}
.sx-chan .hs svg.i{width:18px;height:18px}
.sx-chan em{font-style:normal;font-size:12px;font-weight:800;color:var(--tint);white-space:nowrap}
/* generic rows, tasks, pages */
.sx-rows{display:flex;flex-direction:column}
.sx-rows.two{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 12px}
.sx-row{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 10px;border-radius:12px;text-decoration:none;color:var(--ink)}
.sx-row:hover{background:#F4F5F7}
.sx-row .ic{width:40px;height:40px;border-radius:12px;background:var(--tile);display:grid;place-items:center;flex:none}
.sx-row .ic svg.i{width:18px;height:18px}
.sx-row .ic.hl i{width:12px;height:12px;border-radius:50%}
.sx-row .ic.good i{background:var(--done)}.sx-row .ic.watch i{background:#E8A400}.sx-row .ic.risk i{background:var(--err)}
.sx-row .st{font-style:normal;font-size:12px;font-weight:800;padding:5px 9px;border-radius:8px;white-space:nowrap;background:#EEF0F3;color:var(--ink-2)}
.sx-row .st.live{background:#E3F5EA;color:var(--done)}.sx-row .st.chg{background:#FFF1E8;color:#9A3A00}.sx-row .st.rev{background:var(--tint-soft);color:var(--tint)}
.sx-tasks{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.sx-task{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--well);text-decoration:none;color:var(--ink)}
.sx-task:hover{background:#EEF0F3}
.sx-task strong{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:34px;line-height:1;min-width:38px}
.sx-pgs{display:flex;flex-wrap:wrap;gap:8px}
.sx-pg{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:12px;background:var(--tile);text-decoration:none;color:var(--ink);font-weight:700;font-size:14px}
.sx-pg svg.i{width:16px;height:16px;color:var(--ink-3)}
.sx-pg:hover{background:var(--track)}
/* recent, locked, empty */
.sx-recent{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.sx-recent>span{font-size:13px;font-weight:800;color:var(--ink-3);margin-right:4px}
.sx-chip{min-height:40px;padding:0 14px;border:0;border-radius:12px;background:#fff;box-shadow:var(--lift);font:inherit;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer}
.sx-blur{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;filter:blur(7px);opacity:.7;pointer-events:none;user-select:none}
.sx-lock{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:-70px;position:relative;background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 10px 30px -14px rgba(10,14,25,.35)}
.sx-lock>svg.i{width:22px;height:22px}
.sx-lock>span{flex:1;min-width:200px;display:flex;flex-direction:column;font-size:13px;color:var(--ink-3)}
.sx-lock>span b{font-size:15px;color:var(--ink)}
.sx-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:28px;border-radius:18px;background:#fff;box-shadow:var(--lift)}
.sx-empty strong{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:30px;text-transform:uppercase;line-height:1}
.sx-empty span{font-size:15px;color:var(--ink-2)}
.search kbd{display:none}

/* Notifications */
.nx .nx-scrim{background:transparent}
.nx-box{position:absolute;width:400px;max-height:min(560px,calc(100vh - 100px));display:flex;flex-direction:column;background:var(--panel);border-radius:18px;box-shadow:0 24px 60px -18px rgba(10,14,25,.4),0 0 0 1px rgba(10,14,25,.06);overflow:hidden;opacity:0;transform:translateY(-6px) scale(.98);transform-origin:calc(100% - 22px) 0;transition:transform .24s cubic-bezier(.2,.9,.25,1),opacity .16s ease;outline:none}
.nx.in .nx-box{opacity:1;transform:none}
.nx-head{display:flex;align-items:center;gap:10px;padding:14px 12px 6px 18px}
.nx-head h2{flex:1;font-size:18px;font-weight:800;letter-spacing:-.01em}
.nx-back{display:none;width:44px;height:44px;border:0;background:none;border-radius:12px;place-items:center;cursor:pointer;color:var(--ink)}
.nx-all{border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--tint);min-height:44px;padding:0 8px;border-radius:10px;cursor:pointer}
.nx-all:disabled{color:var(--ink-3);cursor:default}
.nx-seg{display:flex;gap:4px;margin:4px 18px 8px;padding:3px;background:#EEF0F3;border-radius:12px;align-self:flex-start}
.nx-seg button{border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--ink-2);min-height:38px;padding:0 16px;border-radius:9px;cursor:pointer}
.nx-seg button[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.nx-list{list-style:none;margin:0;padding:0 8px 8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.nx-list a{display:flex;align-items:flex-start;gap:12px;padding:12px 10px;border-radius:12px;color:var(--ink);text-decoration:none;position:relative}
.nx-list a:hover{background:var(--tile)}
.nx-list a.u{background:#F5F7FF}
.nx-list a.u:hover{background:#ECEFFE}
.nx-list .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;font-size:14px;line-height:1.4;color:var(--ink-2)}
.nx-list .t b{color:var(--ink)}
.nx-list small{font-size:12px;color:var(--ink-3)}
.nx-list .dot{width:9px;height:9px;border-radius:50%;background:var(--tint);flex:none;margin-top:6px}
.nx-empty{padding:28px 14px;text-align:center;font-size:14px;color:var(--ink-3)}
.nx-foot{display:flex;align-items:center;justify-content:center;min-height:48px;border-top:1px solid var(--rule);font-size:14px;font-weight:700;color:var(--tint);text-decoration:none}
.nx-foot:hover{background:var(--well)}

/* Composer */
.px-box{position:absolute;left:50%;top:50%;width:min(600px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow-y:auto;display:flex;flex-direction:column;gap:14px;background:var(--panel);border-radius:20px;padding:20px 22px 22px;box-shadow:0 30px 80px -20px rgba(10,14,25,.45);transform:translate(-50%,-46%) scale(.97);opacity:0;transition:transform .28s cubic-bezier(.2,.9,.25,1),opacity .16s ease;outline:none;margin:0;border:0}
.px.in .px-box{transform:translate(-50%,-50%) scale(1);opacity:1}
.px-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.px-top h2{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:26px;text-transform:uppercase;letter-spacing:-.005em;line-height:1}
.px-close{width:44px;height:44px;border:0;border-radius:12px;background:var(--tile);display:grid;place-items:center;cursor:pointer;color:var(--ink);flex:none}
.px-close:hover{background:var(--track)}
.px-who{display:flex;align-items:center;gap:10px}
.px-aud{position:relative;display:flex;align-items:center}
.px-aud select{appearance:none;-webkit-appearance:none;border:0;background:var(--tile);font:inherit;font-size:15px;font-weight:700;color:var(--ink);min-height:44px;padding:0 38px 0 14px;border-radius:12px;cursor:pointer}
.px-aud svg{position:absolute;right:12px;width:16px;height:16px;pointer-events:none}
.px-kinds{display:flex;gap:6px;border:0;margin:0;padding:3px;background:#EEF0F3;border-radius:12px;align-self:flex-start;flex-wrap:wrap}
.px-kinds label{position:relative}
.px-kinds input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.px-kinds span{display:flex;align-items:center;min-height:38px;padding:0 14px;border-radius:9px;font-size:14px;font-weight:700;color:var(--ink-2)}
.px-kinds input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.px-kinds input:focus-visible+span{outline:2px solid var(--tint);outline-offset:1px}
.px-box textarea{width:100%;min-height:130px;resize:none;border:0;outline:none;font:inherit;font-size:17px;line-height:1.45;color:var(--ink);background:transparent;padding:2px 0}
.px-box textarea::placeholder{color:#8A909A}
.px-att{position:relative;align-self:flex-start}
.px-att img{max-height:180px;border-radius:12px}
.px-rm{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;display:grid;place-items:center;cursor:pointer}
.px-rm svg.i{width:16px;height:16px}
.px-link input{width:100%;min-height:44px;border:0;border-radius:12px;background:var(--tile);padding:0 14px;font:inherit;font-size:15px;outline:none}
.px-link input:focus{box-shadow:inset 0 0 0 2px var(--tint)}
.px-tools{display:flex;align-items:center;gap:6px;border-top:1px solid var(--rule);padding-top:12px}
.px-tool{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:12px;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--ink-2);cursor:pointer}
.px-tool:hover{background:var(--tile);color:var(--ink)}
.px-tool[aria-pressed="true"]{background:var(--tile);color:var(--ink)}
.px-tool:focus-within{outline:2px solid var(--tint);outline-offset:1px}
.px-n{margin-left:auto;font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.px-to{font-size:13px;color:var(--ink-3)}
.px-sub{font-size:14px;color:var(--ink-3)}
.px-lock p{font-size:15px;line-height:1.5;color:var(--ink-2)}
.px-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.px-discard{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;background:#FFF4F3}
.px-discard[hidden]{display:none}
.px-discard span{flex:1;font-weight:700}
.btn-danger{background:var(--err);color:#fff}.btn-danger:hover{background:#A01814;color:#fff}

/* Toast */
.gtoast{position:fixed;left:50%;bottom:28px;z-index:80;display:flex;align-items:center;gap:16px;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:14px;background:#000;color:#fff;font-size:15px;font-weight:600;box-shadow:0 20px 40px -16px rgba(0,0,0,.45);transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:transform .3s cubic-bezier(.2,.9,.25,1),opacity .2s}
.gtoast.on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.gtoast a{color:#9DB0FF;font-weight:700;text-decoration:none;white-space:nowrap}

@media (max-width:860px){
  .sx-sheet{left:0!important;background:var(--ground);padding-top:env(safe-area-inset-top)}
  .sx-top{padding:12px 12px 0 16px;gap:8px}
  .sx-field{height:58px;padding:0 14px;border-radius:16px;gap:10px}
  .sx-field svg.i{width:20px;height:20px}
  .sx-field input{font-size:18px}
  .sx-done{min-height:44px;padding:0 12px;box-shadow:none;background:none;color:var(--tint)}
  .sx-scopes{margin:12px 16px 0;max-width:calc(100% - 32px)}
  .sx-in{padding:12px 12px 32px;gap:12px}
  .sx-p{padding:16px}
  .sx-faces{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}
  .sx-face{padding:8px 2px}
  .sx-face .av{width:56px;height:56px}
  .sx-people,.sx-deals,.sx-tickets,.sx-coupons,.sx-rows.two,.sx-tasks{grid-template-columns:1fr}
  .sx-cols{grid-template-columns:1fr}
  .nx-box{inset:0;width:auto;max-height:none;border-radius:0;transform:translateX(24px);padding-top:env(safe-area-inset-top)}
  .nx .nx-scrim{background:rgba(10,14,25,.32)}
  .nx-back{display:grid}
  .nx-head{padding:10px 8px 4px}
  .nx-seg{margin-left:16px}
  .px-box{left:0;right:0;top:auto;bottom:0;width:100%;max-height:92vh;border-radius:20px 20px 0 0;transform:translateY(40px);padding-bottom:calc(22px + env(safe-area-inset-bottom))}
  .px.in .px-box{transform:none}
  .gtoast{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.sx-sheet,.nx-box,.px-box,.gtoast,.ovl-scrim{transition:opacity .15s ease!important}.sx-sheet{transform:none!important}.px-box{transform:translate(-50%,-50%)!important}.nx-box{transform:none!important}}
@media (prefers-reduced-motion:reduce) and (max-width:860px){.px-box{transform:none!important}}

/* Themed dropdown menu (replaces the OS popup for every <select>) */
select[data-open]{box-shadow:inset 0 0 0 2px var(--tint)!important}
html.dd-lock{overflow:hidden}
.dd-pop{position:fixed;inset:0;z-index:90;pointer-events:none}
.dd-box{position:fixed;pointer-events:auto;max-width:min(420px,calc(100vw - 24px));max-height:360px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:14px;padding:6px;box-shadow:0 22px 48px -16px rgba(10,14,25,.38),0 0 0 1px rgba(10,14,25,.07);opacity:0;transform:translateY(-4px) scale(.98);transform-origin:50% 0;transition:opacity .14s ease,transform .22s cubic-bezier(.2,.9,.25,1);scrollbar-width:thin}
.dd-pop.in .dd-box{opacity:1;transform:none}
.dd-box ul{list-style:none;margin:0;padding:0;outline:none}
.dd-box li[role=option]{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px 8px 10px;border-radius:10px;cursor:pointer;color:var(--ink);font-size:15px}
.dd-box li .ck{width:18px;height:18px;flex:none;fill:none;stroke:var(--tint);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
.dd-box li[aria-selected="true"] .ck{visibility:visible}
.dd-box li .tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.dd-box li .tx b{font-weight:700;white-space:nowrap}
.dd-box li .tx span{font-size:13px;color:var(--ink-3);font-weight:500}
.dd-box li[aria-selected="true"] .tx b{color:var(--tint)}
.dd-box li.act{background:var(--tile)}
.dd-box li[aria-disabled]{opacity:.45;cursor:default}
.dd-g{font-size:12px;font-weight:800;color:var(--ink-3);padding:10px 12px 4px}
.dd-scrim{position:absolute;inset:0;background:rgba(10,14,25,.32);opacity:0;transition:opacity .18s;pointer-events:auto}
.dd-pop.sheet.in .dd-scrim{opacity:1}
.dd-pop.sheet .dd-box{left:0;right:0;bottom:0;top:auto;max-width:none;max-height:70vh;border-radius:20px 20px 0 0;padding:6px 10px calc(14px + env(safe-area-inset-bottom));transform:translateY(30px)}
.dd-pop.sheet.in .dd-box{transform:none}
.dd-h{display:flex;align-items:center;justify-content:space-between;padding:8px 6px 8px 8px;position:sticky;top:-6px;background:#fff}
.dd-h b{font-size:16px}
.dd-done{border:0;background:none;font:inherit;font-size:16px;font-weight:700;color:var(--tint);min-height:44px;padding:0 8px;cursor:pointer}
@media (prefers-reduced-motion:reduce){.dd-box{transition:opacity .12s!important;transform:none!important}}
.sx-person{display:flex;align-items:center;gap:6px;border-radius:14px;padding-right:6px}
.sx-person:hover{background:#F4F5F7}
.sx-pl{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 10px;text-decoration:none;color:var(--ink);border-radius:14px}
.sx-person .sx-go{border:0;font:inherit;cursor:pointer;min-height:40px;white-space:nowrap}
.sx-person .sx-go:hover{background:#DCE2FF}
.sx-people{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}
.sx-scopes button .n:empty{display:none}

/* Shared sheets: message, ask an alum */
.sh-who{display:flex;align-items:center;gap:12px;min-width:0}
.sh-who .av{width:48px;height:48px;font-size:15px;flex:none}
.sh-who h2{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:24px;text-transform:uppercase;line-height:1}
.sh-who small{display:block;font-size:13px;color:var(--ink-3);margin-top:4px}
.sh-p{font-size:15px;line-height:1.5;color:var(--ink-2)}
.sh-starters{display:flex;flex-wrap:wrap;gap:8px}
.sh-chip{min-height:40px;padding:0 14px;border:0;border-radius:12px;background:var(--tile);font:inherit;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;text-align:left}
.sh-chip:hover{background:var(--track)}
.sh textarea{width:100%;resize:vertical;min-height:110px;border:0;border-radius:14px;background:var(--well);box-shadow:inset 0 0 0 1.5px #E1E4E9;padding:12px 14px;font:inherit;font-size:16px;line-height:1.45;color:var(--ink);outline:none}
.sh textarea:focus{box-shadow:inset 0 0 0 2px var(--tint);background:#fff}
.sh-sent{display:flex;justify-content:flex-end}
.sh-bubble{max-width:80%;background:var(--tint);color:#fff;border-radius:18px 18px 4px 18px;padding:10px 14px;font-size:15px;line-height:1.4;white-space:pre-wrap}
.sh-bubble small{display:block;font-size:11px;opacity:.8;margin-top:4px;text-align:right}
.sh-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.sh-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--ink-3);padding-top:10px;border-top:3px solid #E1E4E9}
.sh-steps li span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#EEF0F3;font-size:12px}
.sh-steps li[aria-current]{color:var(--ink);border-color:var(--tint)}
.sh-steps li[aria-current] span{background:var(--tint);color:#fff}
.sh-steps li.done{border-color:#000;color:var(--ink-2)}
.sh-steps li.done span{background:#000;color:#fff}
.sh-f{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sh-f legend,.sh-l{font-size:15px;font-weight:800;margin-bottom:10px;padding:0}
.sh-l{margin:0}
.sh-hint{font-size:13px;color:var(--ink-3);margin-top:-6px}
.sh-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.sh-slots .aud-chip span{justify-content:center;width:100%}
.sh-err{font-size:14px;font-weight:600;color:var(--err)}
.sh-err[hidden]{display:none}
.sh-review{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:14px;background:var(--well)}
.sh-review small{display:block;font-size:12px;font-weight:800;color:var(--ink-3);margin-bottom:3px}
.sh-review p{font-size:15px;line-height:1.45}
.sh-review ul{margin:0;padding-left:18px;font-size:15px;font-weight:600}
.sh-done{display:flex;gap:14px;align-items:flex-start}
.sh-done b{font-size:17px}
.sh-done p{font-size:15px;line-height:1.45;color:var(--ink-2);margin-top:4px}
.sh-tick{width:44px;height:44px;border-radius:50%;background:var(--done);display:grid;place-items:center;flex:none}
.sh-tick svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sh-next{list-style:none;margin:0;padding:0 0 0 6px;display:flex;flex-direction:column}
.sh-next li{position:relative;padding:0 0 14px 24px;font-size:13px;color:var(--ink-3);display:flex;flex-direction:column}
.sh-next li b{font-size:15px;color:var(--ink)}
.sh-next li::before{content:"";position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--stroke-btn);background:#fff}
.sh-next li::after{content:"";position:absolute;left:5px;top:18px;bottom:0;width:2px;background:#E1E4E9}
.sh-next li:last-child::after{display:none}
.sh-next li.done::before{background:var(--done);box-shadow:none}
[data-sent].btn-secondary{background:var(--tile);box-shadow:none;color:var(--ink-2)}

/* Chips and segmented controls (shared with assets/audience.css) */
.aud-seg{display:flex;flex-wrap:wrap;gap:4px;padding:3px;background:#EEF0F3;border-radius:12px;align-self:flex-start;max-width:100%}
.aud-seg label{position:relative}
.aud-seg input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.aud-seg span{display:flex;align-items:center;min-height:38px;padding:0 14px;border-radius:9px;font-size:14px;font-weight:700;color:var(--ink-2);white-space:nowrap}
.aud-seg input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(10,14,25,.12)}
.aud-seg input:focus-visible+span,.aud-chip input:focus-visible+span{outline:2px solid var(--tint);outline-offset:1px}
.aud-chips{display:flex;flex-wrap:wrap;gap:8px}
.aud-chip{position:relative}
.aud-chip input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.aud-chip span{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--stroke-btn);font-size:14px;font-weight:600;color:var(--ink)}
.aud-chip input:checked+span{background:var(--ink);color:#fff;box-shadow:none}
.aud-chip:hover input:not(:checked)+span{box-shadow:inset 0 0 0 1.5px var(--ink)}
.sx-top,.sx-in,.sx-sheet{box-sizing:border-box}
@media (max-width:860px){
  .sx-people{grid-template-columns:1fr}
  .sx-person{flex-wrap:wrap;padding:0 0 10px;gap:6px}
  .sx-pl{flex-basis:100%;padding:8px 6px 0}
  .sx-person .sx-go{margin-left:64px}
  .sx-person .sx-go+.sx-go{margin-left:0}
}
.sx-field{min-width:0}.sx-field input{width:100%}
/* Searchable dropdowns (long lists like 212 schools) */
.dd-box.has-q{padding-top:0;min-width:280px!important}
.dd-q{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:8px;margin:0 -6px 6px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--rule)}
.dd-q svg.i{width:18px;height:18px;fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linecap:round;flex:none}
.dd-q input{flex:1;min-width:0;border:0;outline:none;font:inherit;font-size:15px;font-weight:600;color:var(--ink);background:transparent;min-height:28px}
.dd-q input::placeholder{color:var(--ink-3);font-weight:500}
.dd-box li[hidden],.dd-g[hidden],.dd-none[hidden]{display:none}
.dd-none{padding:14px 12px;font-size:14px;color:var(--ink-3)}
.dd-pop.sheet .dd-q{margin:0 -10px 6px;top:44px}
.dd-pop.sheet .dd-box.has-q{max-height:80vh}
.sh-gate{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:var(--well)}
.sh-gate svg.i{width:20px;height:20px;flex:none;margin-top:2px}
.sh-gate p{font-size:15px;line-height:1.5;color:var(--ink-2)}
.sh-gate p b{color:var(--ink)}
.sh-quota{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:13px;font-weight:700;color:var(--ink-3)}
.sh-quota i{width:22px;height:6px;border-radius:3px;background:var(--tint)}
.sh-quota i.u{background:#DADDE3}
.sh-quota span{margin-left:6px}

/* Mobile quick wins */
/* Small header links get a 44px tap area without changing their look. */
.ph .link,.ph a.link,.sec-h .link,.ph2 a,.pp-gh a,.sx-ph .link{position:relative}
.ph .link::after,.sec-h .link::after,.ph2 a::after,.sx-ph .link::after{content:"";position:absolute;left:-8px;right:-8px;top:50%;height:44px;transform:translateY(-50%)}
@media (max-width:860px){
  /* iOS zooms into any field under 16px. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px!important}
}

/* Account switcher */
.acct .acct-list{display:flex;flex-direction:column;gap:4px;margin:4px 0 8px}
.acct-row,.acct-new{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 10px;border:0;border-radius:14px;background:transparent;font:inherit;color:var(--ink);text-align:left;cursor:pointer;text-decoration:none}
.acct-row:hover,.acct-new:hover{background:var(--tile)}
.acct-row.cur{background:#F5F7FF;box-shadow:inset 0 0 0 1.5px #DCE2FF}
.acct-av{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px}
.acct-av.tile{border-radius:12px;color:#fff;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:20px}
.acct-av.logo{background:none;border-radius:50%;overflow:hidden}.acct-av.logo img{width:100%;height:100%;display:block}
.acct-av.plus{border-radius:12px;background:var(--tile);color:var(--ink)}
.acct-av.plus svg.i{width:20px;height:20px}
.acct-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.acct-t b{font-size:16px;font-weight:800}
.acct-t span{font-size:13.5px;color:var(--ink-3);line-height:1.35}
.acct-ck{width:22px;height:22px;flex:none;color:var(--tint);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.acct-b{flex:none;font-style:normal;font-size:12px;font-weight:800;padding:3px 8px;border-radius:8px;background:var(--tile);color:var(--ink-2)}
.acct-new{border-top:1px solid var(--rule);border-radius:0 0 14px 14px;margin-top:4px;padding-top:14px}
.acct-demo{margin:0 0 16px;padding:12px 16px;border-radius:14px;background:#F5F7FF;box-shadow:inset 0 0 0 1px #DCE2FF;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.acct-demo b{color:var(--ink)}
.acct-demo .link{font:inherit;font-weight:700;background:none;border:0;padding:0;color:var(--tint);cursor:pointer;min-height:auto}

/* Person card (tap a photo or name) */
.pc-hit{cursor:pointer}
b.pc-hit,strong.pc-hit,h3.pc-hit,h4.pc-hit{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .15s}
b.pc-hit:hover,strong.pc-hit:hover,h3.pc-hit:hover,h4.pc-hit:hover{text-decoration-color:currentColor}
.pc-hit:focus-visible{outline:2px solid var(--tint);outline-offset:2px;border-radius:6px}
.av.pc-hit:hover{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--tint)}
.pcard{position:fixed;z-index:70;background:#fff;border-radius:18px;padding:16px;box-shadow:0 24px 48px -18px rgba(10,14,25,.4),0 0 0 1px rgba(10,14,25,.06);font-family:var(--ui);opacity:0;transform:translateY(4px) scale(.98);transform-origin:top left;transition:opacity .14s ease-out,transform .14s ease-out}
.pcard.in{opacity:1;transform:none}
.pcard:focus{outline:none}
.pcard-scrim{position:fixed;inset:0;z-index:69;background:rgba(10,14,25,.35)}
.pcard.sheet{left:0;right:0;bottom:0;top:auto;width:auto;border-radius:22px 22px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px));transform:translateY(16px)}
.pcard.sheet.in{transform:none}
.pc-top{display:flex;align-items:flex-start;gap:12px}
.pc-av{width:56px;height:56px;font-size:18px;flex:none}
.pc-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;padding-top:2px}
.pc-who b{font-size:17px;font-weight:800;color:var(--ink)}
.pc-who>span{font-size:14px;color:var(--ink-2);line-height:1.4}
.pc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.pc-tags em{font-style:normal;font-size:12px;font-weight:800;padding:3px 8px;border-radius:8px;background:#EEF1FF;color:var(--tint)}
.pc-tags em.al{background:var(--tile);color:var(--ink-2)}
.pc-x{flex:none;width:36px;height:36px;margin:-6px -6px 0 0;border:0;border-radius:10px;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--ink-2)}
.pc-x:hover{background:var(--tile)}
.pc-x svg.i{width:18px;height:18px}
.pc-lock{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--well);font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.pc-lock svg.i{width:16px;height:16px;flex:none;margin-top:2px}
.pc-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.pc-acts .btn{min-width:0;padding:0 12px;font-size:14.5px}
@media (prefers-reduced-motion:reduce){.pcard{transition:none}}

/* Sidebar: your campaigns */
.mycamp{display:flex;flex-direction:column;gap:2px}
.mycamp:empty{display:none}
.mycamp .ph2{margin-bottom:6px}
.mycamp .ph2 h2 a{color:inherit;text-decoration:none}
.mycamp .ph2 h2 a:hover{text-decoration:underline}
.mycamp .qsum{font-size:12.5px;font-weight:600;color:var(--ink-3)}
.mc-row{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:7px 6px;border-radius:12px;color:var(--ink);text-decoration:none}
.mc-row:hover{background:var(--hover)}
.mc-coin{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:18px}
.mc-row .t{min-width:0}
.mc-row .t b{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-row .t span{display:block;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-row .t span.hot{color:var(--tint);font-weight:700}
.mc-none{font-size:13.5px;color:var(--ink-3);padding:2px 6px}
.mc-more{display:flex;align-items:center;min-height:40px;padding:4px 6px;border-radius:12px;font-size:13.5px;font-weight:700;color:var(--tint);text-decoration:none}
.mc-more:hover{background:var(--hover)}
.mc-none a{color:var(--tint);font-weight:700}
/* Phone header: your avatar opens You (profile, wallet, settings) */
.me-ib{padding:0;text-decoration:none}
.me-ib .av{width:32px;height:32px;font-size:12px}
.me-ib[aria-current="page"] .av{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink)}

/* Autofill */
.af-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#F5F7FF;box-shadow:inset 0 0 0 1px #DCE2FF;font-size:14px;line-height:1.45;color:var(--ink-2)}
.af-bar svg.i{width:18px;height:18px;flex:none;color:var(--tint);fill:currentColor;stroke:none}
.af-bar span{flex:1;min-width:200px}
.af-bar b{color:var(--ink)}
.af-bar .link{border:0;background:none;padding:0;min-height:36px;font:700 14px var(--ui);color:var(--tint);cursor:pointer}
.af-src{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12.5px;font-weight:600;color:var(--tint)}
.af-src svg.i{width:13px;height:13px;flex:none;fill:currentColor;stroke:none}
.af-src.edited{color:var(--ink-3)}
.af-x{border:0;background:none;padding:0 4px;min-height:28px;font:700 12.5px var(--ui);color:var(--ink-3);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
[data-af-filled]{box-shadow:inset 0 0 0 1.5px #B9C4FF !important;background:#FAFBFF !important}
.acct-h{font-size:12.5px;font-weight:800;color:var(--ink-3);margin:10px 10px 2px}

/* Dropdowns: one inset chevron everywhere (never flush with the edge) */
.field select,select.sel{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23464B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:18px;text-overflow:ellipsis;cursor:pointer}

/* Simple view: larger text, bigger targets, fewer items */
html.simple{font-size:115%}
html.simple body{font-size:18px;line-height:1.55}
html.simple .btn,html.simple button.chip,html.simple .sec a{min-height:52px;font-size:17px}
html.simple .sec a[data-nav="discover"] .cnt,html.simple .cnt.q2{display:none}
html.simple .sec a[data-nav="people"],html.simple .sec a[data-nav="perks"],html.simple .sec a[data-nav="learn"],html.simple .sec a[data-nav="drops"],html.simple .sec a[data-nav="rates"],html.simple .sec a[data-nav="rooms"],html.simple .sec a[data-nav="feedback"],html.simple .sec a[data-nav="leaderboard"]{display:none}
html.simple .mycamp,html.simple [data-advanced]{display:none!important}
html.simple .page-h h1,html.simple h1{letter-spacing:0}
html.simple :focus-visible{outline-width:3px}

/* Join with a code */
.jc-in{width:100%;min-height:56px;padding:0 16px;border:0;border-radius:14px;box-shadow:inset 0 0 0 1.5px var(--stroke-field);font:800 26px/1 var(--ui);letter-spacing:.12em;font-variant-numeric:tabular-nums;text-align:center;color:var(--ink);background:#fff}
.jc-in:focus{outline:none;box-shadow:inset 0 0 0 2px var(--tint)}
.jc-in[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--error,#C21F1A)}
.jc-ok{display:flex;gap:12px;align-items:center;padding:14px;border-radius:14px;background:var(--well);margin:4px 0 8px}
.jc-ok>span:last-child{display:flex;flex-direction:column;gap:3px;font-size:14px;color:var(--ink-2);line-height:1.45}
.jc-ok b{font-size:16px;color:var(--ink)}

/* Sponsored slot */
[data-ad-slot][hidden]{display:none!important}
.ad{border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px var(--rule);padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.ad-top{display:flex;align-items:center;gap:8px}
.ad-tag{font-size:12px;font-weight:800;padding:3px 8px;border-radius:7px;background:var(--tile);color:var(--ink-2)}
.ad-why{border:0;background:none;padding:0;min-height:40px;font:600 12.5px var(--ui);color:var(--ink-3);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.ad-hide{margin:-4px -4px -4px auto;width:40px;height:40px;border:0;border-radius:10px;background:transparent;display:grid;place-items:center;color:var(--ink-3);cursor:pointer}
.ad-hide:hover{background:var(--tile);color:var(--ink)}
.ad-hide svg.i{width:16px;height:16px}
.ad-body{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center}
.ad-coin{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:22px}
.ad-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ad-t small{font-size:12.5px;color:var(--ink-3);font-weight:700}
.ad-t b{font-size:15.5px;color:var(--ink)}
.ad-t span{font-size:13.5px;color:var(--ink-2)}
.ad-whyp{font-size:13px;line-height:1.45;color:var(--ink-2);padding:10px 12px;border-radius:12px;background:var(--well)}
@media (max-width:560px){.ad-body{grid-template-columns:44px minmax(0,1fr)}.ad-body .btn{grid-column:1/-1}}
/* Phones: the prototype pill is small and steps aside while you scroll, so it never sits on top of content you're reading */
@media (max-width:860px){.role-switch>button{min-height:40px;padding:0 6px}.role-switch .rs-k{font-size:12px;padding:3px 7px}.role-switch{transition:opacity .2s ease-out,transform .2s ease-out}.role-switch.away{opacity:0;transform:translateY(8px);pointer-events:none}}
@media (prefers-reduced-motion:reduce){.role-switch{transition:none}}
.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px;font-weight:700;color:var(--tint);text-decoration:none;align-self:flex-start}.back:hover{text-decoration:underline}.back svg.i{width:18px;height:18px}

/* ---------- W-9 sheet (REACH.openW9) and the payout hold note. Shared. ---------- */
.w9{z-index:65}
.w9 .px-box{width:min(640px,calc(100vw - 32px));gap:16px;padding-bottom:0}
.w9-lede{font-size:14.5px;line-height:1.45;color:var(--ink-2);margin-top:-4px}
.w9-steps{margin:2px 0 2px}
.w9-body{display:flex;flex-direction:column;gap:16px;min-width:0}
.w9-q{font-size:20px;font-weight:800;letter-spacing:-.01em;line-height:1.25}
.w9-q:focus{outline:none}
.w9-body .field input,.w9-body .field select{width:100%;min-width:0}
.w9-body .field input[readonly]{background:var(--well);box-shadow:inset 0 0 0 1.5px var(--rule);color:var(--ink-2)}
.w9-body .field input[aria-invalid="true"],.w9-body .field select[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--err)}
.w9-opt-l{font-weight:600;color:var(--ink-3);margin-left:4px}
.w9-ferr{font-size:13.5px;font-weight:700;color:var(--err);line-height:1.4}
.w9-cls{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.w9-cls legend{font-size:13.5px;font-weight:700;padding:0;margin-bottom:8px}
.w9-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.w9-opt{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--stroke-field);cursor:pointer;font-size:14.5px;font-weight:600;line-height:1.3}
.w9-opt:hover{box-shadow:inset 0 0 0 1.5px var(--ink-3)}
.w9-opt:has(input:checked){box-shadow:inset 0 0 0 2px var(--tint);background:#FAFBFF}
.w9-opt input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--tint)}
.w9-opt small{display:block;font-size:12.5px;font-weight:500;color:var(--ink-3);margin-top:1px}
.w9-nonus{align-self:flex-start;border:0;background:none;padding:0;cursor:pointer;font-family:inherit}
.w9-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.w9-grid>[data-f="street"]{grid-column:span 6}
.w9-grid>[data-f="apt"]{grid-column:span 2}
.w9-grid>[data-f="city"]{grid-column:span 4}
.w9-grid>[data-f="stt"],.w9-grid>[data-f="zip"]{grid-column:span 3}
.w9-priv{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-radius:12px;background:var(--well);font-size:14px;font-weight:600;line-height:1.45;color:var(--ink)}
.w9-priv svg.i{width:18px;height:18px;margin-top:1px}
.w9-kind{width:100%}
.w9-tinrow{display:flex;gap:8px}
.w9-tinrow .w9-tin{flex:1;font:700 20px/1 var(--ui);letter-spacing:.1em;font-variant-numeric:tabular-nums;min-height:52px}
.w9-tinrow .w9-tin::placeholder{color:#9AA0AA;font-weight:600}
.w9-show{min-height:52px;min-width:84px}
.w9-sub{font-size:14.5px;color:var(--ink-2)}
.w9-certs{margin:-6px 0 0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.45}
.w9-certs li::marker{font-weight:800}
.w9-certs li.struck{color:var(--ink-3);text-decoration:line-through;text-decoration-thickness:2px}
.w9-full{border-radius:12px;background:var(--well)}
.w9-full summary{display:flex;align-items:center;min-height:44px;padding:0 14px;font-size:14.5px;font-weight:700;color:var(--tint);cursor:pointer;list-style:none}
.w9-full summary::-webkit-details-marker{display:none}
.w9-full summary::after{content:"";width:8px;height:8px;margin-left:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.w9-full[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.w9-full>div{padding:0 14px 14px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.w9-full ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.w9-check{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--stroke-field);cursor:pointer}
.w9-check input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--tint)}
.w9-check b{display:block;font-size:14.5px}
.w9-check small{display:block;font-size:13px;line-height:1.4;color:var(--ink-3);margin-top:2px}
.w9-sign{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;align-items:start}
#w9-sig{font-family:var(--display);font-stretch:75%;font-weight:800;font-size:22px;letter-spacing:.01em}
.w9-rev{margin:0;display:flex;flex-direction:column;border-radius:var(--r-inner);background:var(--well);padding:4px 16px}
.w9-rev>div{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:46px;padding:6px 0;border-bottom:1px solid var(--rule);font-size:15px}
.w9-rev>div:last-child{border-bottom:0}
.w9-rev dt{color:var(--ink-2)}
.w9-rev dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.w9-edit{border:0;background:none;padding:0;min-height:40px;font-size:14px;cursor:pointer;font-family:inherit}
.w9-fine{font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.w9-ok{display:flex;gap:14px;align-items:center;padding:16px;border-radius:var(--r-inner);background:var(--done-soft)}
.w9-ok .w9-q{font-size:20px}
.w9-ok p{font-size:15px;color:var(--ink-2);margin-top:2px}
.w9-tick{width:44px;height:44px;border-radius:50%;background:var(--done);color:#fff;display:grid;place-items:center;flex:none}
.w9-tick svg.i{width:24px;height:24px;stroke-width:2.6}
.w9-note{display:flex;gap:14px;align-items:flex-start}
.w9-note p{font-size:15px;line-height:1.5;color:var(--ink-2);margin-top:6px}
.w9-nico{width:44px;height:44px;border-radius:12px;background:var(--tile);display:grid;place-items:center;flex:none}
.w9-acts{position:sticky;bottom:0;z-index:1;margin:4px -22px 0;padding:14px 22px 22px;background:var(--panel);border-top:1px solid var(--rule)}
@media (max-width:860px){
  .w9-acts{padding-bottom:calc(16px + env(safe-area-inset-bottom));flex-wrap:nowrap}
  .w9-acts .btn{flex:1}
  .w9 .px-box{width:100%;padding-bottom:0}
  .w9-body .field input,.w9-body .field select{font-size:16px}
  .w9-tinrow .w9-tin{font-size:19px}
}
@media (max-width:560px){
  .w9-opts{grid-template-columns:minmax(0,1fr)}
  .w9-opt{min-height:48px}
  .w9-grid>[data-f]{grid-column:span 6}
  .w9-grid>[data-f="stt"],.w9-grid>[data-f="zip"]{grid-column:span 3}
  .w9-sign{grid-template-columns:minmax(0,1fr)}
  .w9-rev>div{grid-template-columns:minmax(0,1fr) auto;gap:0 12px}
  .w9-rev dt{grid-column:1;font-size:13px}
  .w9-rev dd{grid-column:1}
  .w9-rev .w9-edit{grid-column:2;grid-row:1 / span 2}
  /* Keep the five W-9 steps in one row in the sheet */
  .w9-steps:has(>li:nth-child(5)){grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  .w9-steps:has(>li:nth-child(5))>li{padding:22px 4px 0 0}
  .w9-steps:has(>li:nth-child(5))>li:last-child{padding-bottom:0}
  .w9-steps:has(>li:nth-child(5))>li::before{top:0}
  .w9-steps:has(>li:nth-child(5))>li::after{left:12px;right:0;top:5px;bottom:auto;width:auto;height:2px}
  .w9-steps>li b{font-size:12px}
}
@media (prefers-reduced-motion:reduce){.w9-full summary::after{transition:none}}

/* Payout hold: shown wherever pay waits on a W-9 */
.w9-hold{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding:12px 14px;border-radius:14px;background:var(--tint-soft);color:var(--ink)}
.w9-hold>svg.i{width:20px;height:20px;flex:none;color:var(--tint)}
.w9-hold p{flex:1 1 180px;min-width:0;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.w9-hold p b{display:block;font-size:15px;color:var(--ink)}
.w9-hold .btn{flex:none}
.w9-hold[hidden]{display:none}
#w9-set .w9-need{color:var(--err);font-weight:600}
/* Compact hold note for small tiles */
.w9-note-sm{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin-top:4px;font-size:12.5px;line-height:1.35}
.w9-note-sm b{color:var(--err)}
.w9-note-sm .link{min-height:32px;font-size:13px;border:0;background:none;padding:0;cursor:pointer;font-family:inherit}
.w9-note-sm[hidden]{display:none}
.w9-show.btn[aria-pressed="true"]{background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--stroke-btn,var(--rule))}

/* =====================================================================
   Link previews and @mentions (assets/app.js: REACH.linkPreview, REACH.richText, REACH.mentions).
   A preview is one compact card, max 360px, under the message. Thumbnails are gradients
   and monograms, never hotlinked images. Blue = act; mention tags use the tint.
   ===================================================================== */
.lk{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}
.lp{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:stretch;width:min(100%,360px);padding:10px;border-radius:var(--r-inner);background:#fff;box-shadow:inset 0 0 0 1px var(--rule),0 10px 24px -20px rgba(10,14,25,.35);color:var(--ink);text-decoration:none;text-align:left;transition:box-shadow .15s,transform 260ms cubic-bezier(.2,.9,.25,1)}
.lp:hover{box-shadow:inset 0 0 0 1.5px var(--ink-2),0 10px 24px -20px rgba(10,14,25,.35)}
.lp:active{transform:scale(.985);transition:transform 90ms ease-out}
.lp-body{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--ink-3);line-height:1.35}
.lp-body>b{font-size:14.5px;line-height:1.3;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lp-site{font-size:11.5px;font-weight:800;letter-spacing:.01em;color:var(--ink-2)}
.lp-go{display:inline-flex;align-items:center;gap:4px;margin-top:auto;padding-top:6px;font-size:13px;font-weight:700;color:var(--tint)}
.lp-go svg.i,.lp-plain>svg.i{width:14px;height:14px}
.lp-play{width:30px;height:30px;padding:7px 6px 7px 8px;border-radius:50%;background:rgba(0,0,0,.55);fill:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.lp-len{position:absolute;right:6px;bottom:6px;padding:1px 5px;border-radius:5px;background:rgba(0,0,0,.7);color:#fff;font:700 11px/1.4 var(--ui)}
/* TikTok, Reels and Shorts: vertical thumbnail */
.lp-vt{position:relative;width:84px;aspect-ratio:9/16;border-radius:12px;display:grid;place-items:center;overflow:hidden}
.lp-cap{color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lp-social .lp-body>b{font-size:14px}
/* YouTube: 16:9 on top */
.lp-video{grid-template-columns:minmax(0,1fr);padding:0;overflow:hidden;gap:0}
.lp-ht{position:relative;aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden}
.lp-hm{position:absolute;left:12px;top:6px;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:64px;line-height:1;color:rgba(255,255,255,.22)}
.lp-video .lp-play{width:44px;height:44px;padding:11px 10px 11px 13px}
.lp-video .lp-body{padding:10px 12px 12px}
/* Events: date chip */
.lp-date{width:52px;height:56px;border-radius:12px;background:var(--tint-soft);color:var(--tint-press);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.lp-date small{font:800 12px var(--ui);text-transform:uppercase;letter-spacing:.04em}
.lp-date b{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:26px;margin-top:2px}
/* Jobs and articles */
.lp-mono{width:52px;height:52px;border-radius:12px;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:24px}
.lp-article{grid-template-columns:minmax(0,1fr)}
.lp-fav{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--ink-2)}
.lp-fav i{width:18px;height:18px;border-radius:5px;display:grid;place-items:center;font:900 10px var(--ui);font-style:normal;color:#000}
.lp-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Unknown page: a plain link row */
.lp-plain{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:8px 12px 8px 8px}
.lp-pi{width:36px;height:36px;border-radius:10px;background:var(--tile);display:grid;place-items:center;color:var(--ink-2)}
.lp-pi svg.i{width:18px;height:18px}
.lp-pt{min-width:0}
.lp-pt b{display:block;font-size:14px}
.lp-pt span{display:block;font-size:12px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lp-plain>svg.i{color:var(--ink-3)}
/* Sociality's own links: the in-app opportunity card (same look as the shared Dewday card) */
.lp-reach{grid-template-columns:minmax(0,1fr);padding:0;gap:0;overflow:hidden;width:min(100%,330px)}
.lp-rc{position:relative;height:104px;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between}
.lp-rk{align-self:flex-start;font-size:11.5px;font-weight:800;padding:3px 7px;border-radius:7px;background:rgba(0,0,0,.84);color:#fff}
.lp-rb{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:40px;line-height:.82;text-transform:uppercase;letter-spacing:-.01em}
.lp-coin{position:absolute;right:14px;bottom:-20px;width:44px;height:44px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:19px;box-shadow:0 0 0 4px #fff}
.lp-rbody{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}
.lp-url{font-size:12px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:44px}
.lp-rbody b{font-size:15px;line-height:1.3}
.lp-pay{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:32px;line-height:.95;letter-spacing:-.01em}
.lp-pay small{font:600 13.5px var(--ui);color:var(--ink-2);margin-left:6px;letter-spacing:0}
.lp-fine{font-size:12.5px;color:var(--ink-2);line-height:1.35}
.lp-cta{margin-top:8px;pointer-events:none}
/* Composer: the preview that will be sent, with an x to drop it */
.lp-draft{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start;margin:0 12px 8px;padding:8px;border-radius:16px;background:var(--well)}
.lp-draft .lp{width:100%;max-width:360px;pointer-events:none;box-shadow:inset 0 0 0 1px var(--rule)}
.lp-draft .lp-video .lp-ht{aspect-ratio:auto;height:72px}
.lp-draft .lp-vt{width:52px}
.lp-draft-x{width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.lp-draft-x:hover{background:var(--tile);color:var(--ink)}
.lp-draft[hidden]{display:none}
/* Leaving Sociality confirm */
.lp-leave{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:16px}
.lp-leave[hidden]{display:none}
.lp-lscrim{position:absolute;inset:0;background:rgba(10,14,25,.45)}
.lp-lbox{position:relative;width:min(420px,100%);padding:22px;border-radius:var(--r-panel);background:var(--panel);box-shadow:var(--hang);display:flex;flex-direction:column;gap:10px;outline:none}
.lp-lbox h2{font-family:var(--display);font-stretch:75%;font-weight:900;font-size:28px;line-height:.98;text-transform:uppercase;letter-spacing:-.01em;overflow-wrap:anywhere}
.lp-lbox p{font-size:14.5px;color:var(--ink-2);line-height:1.45}
.lp-lurl{padding:8px 12px;border-radius:12px;background:var(--well);font-size:13px!important;color:var(--ink)!important;overflow-wrap:anywhere}
.lp-lbox .btn-row{margin-top:6px}
.lp-lbox .btn{flex:1}

/* @mentions: tags in sent messages */
.mn{display:inline;padding:0 3px;margin:0 -1px;border:0;border-radius:5px;background:var(--tint-soft);color:var(--tint-press);font:inherit;font-weight:700;cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone}
button.mn:hover{background:#D5DCFF;text-decoration:underline;text-underline-offset:2px}
.mn-you,.mn-all{cursor:default}
/* Composer: a mirror behind the input draws picked mentions as tokens */
.mn-wrap{position:relative;flex:1 1 auto;min-width:0;display:flex;align-self:stretch}
.mn-wrap>.mn-in{flex:1;width:100%;min-width:0;position:relative;z-index:1;background:transparent}
.mn-mirror{position:absolute;inset:0;display:flex;align-items:center;overflow:hidden;pointer-events:none;color:var(--ink);visibility:hidden}
.mn-line{white-space:pre;flex:none}
.mn-wrap>.mn-in.mn-has{color:transparent;caret-color:var(--ink)}
.mn-wrap>.mn-in.mn-has::placeholder{color:transparent}
.mn-wrap:has(.mn-has) .mn-mirror{visibility:visible}
.mn-tok{color:var(--tint-press);background:var(--tint-soft);border-radius:4px;box-shadow:0 0 0 2px var(--tint-soft)}
.mn-at{display:inline-block;width:0;height:1em}
/* Suggestion list, anchored to the caret */
.mn-pop{position:fixed;z-index:70;max-height:300px;overflow-y:auto;padding:6px;border-radius:16px;background:var(--panel);box-shadow:var(--hang),inset 0 0 0 1px var(--rule)}
.mn-pop[hidden]{display:none}
.mn-opt{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-height:48px;padding:6px 8px;border-radius:12px;cursor:pointer}
.mn-opt[aria-selected="true"]{background:var(--selected)}
.mn-opt .av,.mn-av{width:34px;height:34px;font-size:12px}
.mn-av{border-radius:50%;display:grid;place-items:center;background:var(--tile);color:var(--ink);font-weight:900}
.mn-t{min-width:0}
.mn-t b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mn-t span{display:block;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mn-t .mn-warn{color:var(--err);font-weight:600}
.mn-sp{border-top:1px solid var(--rule);border-radius:0 0 12px 12px}
.mn-sp+.mn-sp{border-top:0;border-radius:12px}
.mn-note,.mn-none{padding:8px 10px;font-size:13px;line-height:1.4;color:var(--ink-2)}
.mn-note{margin-top:4px;border-radius:12px;background:var(--well)}
.mn-mark{align-self:center;font-size:12px;font-weight:800;padding:2px 6px;border-radius:6px;background:var(--tint);color:#fff}
@media (prefers-reduced-motion:reduce){.lp{transition:none}}
/* Every single-choice dropdown gets the same chevron, set in from the right edge with room to breathe */
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-right:46px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23464B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:16px 16px}
select:not([multiple]):not([size])::-ms-expand{display:none}
/* These dropdowns draw their own chevron icon beside the select, so they skip the shared one */
.cf-sel.cf-sel select,.pp-sel.pp-sel select,.px-aud.px-aud select,.jf-sel.jf-sel select,.sel.sel select,.hm-sel.hm-sel select{background-image:none}
.sel.on select,.jf-sel.on select{background-image:none}
/* Custom-icon dropdowns: chevron set 18px in from the right edge, with room before it (doubled classes beat page CSS loaded later) */
.cf-sel.cf-sel svg.i,.jf-sel.jf-sel svg.i,.pp-sel.pp-sel svg.i,.hm-sel.hm-sel svg.i,.px-aud.px-aud svg{right:18px}
.cf-sel.cf-sel select,.jf-sel.jf-sel select,.pp-sel.pp-sel select,.hm-sel.hm-sel select,.px-aud.px-aud select{padding-right:46px}
.sel.sel::after{right:20px}
.sel.sel select{padding-right:46px}

/* ---------- Community lockup (app.js applyCommunity) ----------
   The sidebar and the phone top bar show the active community: REACH Nationals keeps its megaphone and
   wordmark, other organizations and self-serve communities get a color tile with their initials plus their
   name, and no community shows the Sociality wordmark. */
.plock.is-org,.lockup.is-org{gap:10px;min-width:0}
.olk{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:17px;line-height:1;letter-spacing:-.01em;text-transform:uppercase}
.olk-n{min-width:0;font-family:var(--display);font-stretch:75%;font-weight:900;font-size:17px;line-height:.95;letter-spacing:-.005em;text-transform:uppercase;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}
.top .lockup .olk{width:34px;height:34px;font-size:15px;border-radius:11px}
.top .lockup .olk-n{font-size:15px;max-width:44vw}
.onl-ch{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:12px;padding:6px 4px;border-radius:12px;color:var(--ink);text-decoration:none;min-height:44px}
.onl-ch:hover{background:var(--hover)}
.onl-ch .hash{width:32px;height:32px;border-radius:10px;background:var(--tile);display:grid;place-items:center;color:var(--ink-2)}
.onl-ch .hash svg.i{width:18px;height:18px}
.onl-ch b{display:block;font-size:14px;line-height:1.25}
.onl-ch>span:last-child>span{display:block;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.faces .more .av svg.i{width:18px;height:18px}
.onl .ph2 .live{white-space:nowrap;flex:none}
.plock.is-org,.lockup.is-org,.plock .olk-n,.lockup .olk-n{text-decoration:none}
.olk.mk{padding:0;overflow:hidden;background:none}.olk.mk img{width:100%;height:100%;display:block;border-radius:inherit}
/* Any dropdown that draws its own chevron icon next to the select skips the shared one, so no select shows two arrows */
:is(span,div,label):has(> svg.i > use[href="#i-chev"]) > select:not([multiple]):not([size]),
:is(span,div,label):has(> svg.i > use[href="#i-chevd"]) > select:not([multiple]):not([size]),
.pp-scsel.pp-scsel select{background-image:none}
/* An ad slot with nothing booked takes no space, so it never adds a blank gap */
[data-ad-slot]:empty{display:none}

/* =====================================================================
   Responsive frame (system pass, Nov 27). Every page inherits this.
   People column: 320 at 1600+, 304, 280 under 1240, 248 from 861 to 1080, hidden on phones.
   Content padding: 48 at 1600+, 40, 28 under 1240 (.page now matches .comm/.top), 16 on phones.
   861 to 1000: the two-column bento stacks, so no panel is squeezed under ~300px.
   .bento.w3     Opt-in: three columns at 1600+ (.span2 still spans the full row).
   ===================================================================== */
@media (min-width:861px) and (max-width:1240px){.page{padding-left:28px;padding-right:28px}}
@media (min-width:861px) and (max-width:1080px){
  .app{grid-template-columns:248px minmax(0,1fr)}
  .pscroll{padding-left:12px;padding-right:12px}
  .me2{padding-left:14px;padding-right:14px}
  .cpc{padding-left:16px;padding-right:16px}
}
@media (min-width:861px) and (max-width:1000px){
  .bento{grid-template-columns:minmax(0,1fr)}
}
@media (min-width:1600px){
  .app{grid-template-columns:320px minmax(0,1fr)}
  .comm,.unl,.top,.foot,.page{padding-left:48px;padding-right:48px}
  .bento.w3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sx-top,.sx-in{max-width:1320px}
  .sx-scopes{margin-left:max(40px,calc((100% - 1320px)/2 + 40px))}
}
/* Toasts centre on the content, not the whole window, when the people column is showing */
@media (min-width:861px){body:has(.app>.pcol) .gtoast{left:calc(50% + 152px)}}
@media (min-width:1600px){body:has(.app>.pcol) .gtoast{left:calc(50% + 160px)}}
@media (min-width:861px) and (max-width:1080px){body:has(.app>.pcol) .gtoast{left:calc(50% + 124px)}}
@media (min-width:1081px) and (max-width:1240px){body:has(.app>.pcol) .gtoast{left:calc(50% + 140px)}}
/* Phones: 40px floor on segmented controls inside sheets; paired sheet buttons share the row */
@media (max-width:860px){
  .px-kinds span,.nx-seg button,.aud-seg span,.sx-scopes button{min-height:40px}
  .w9-note-sm .link,.af-x,.af-bar .link{min-height:40px}
  .gtoast{max-width:calc(100vw - 24px)}
}
@media (max-width:560px){
  .px-actions>.btn{flex:1 1 auto}
}
@media (max-width:400px){.mtab{padding-left:2px;padding-right:2px}.mtab a{letter-spacing:-.01em}}
.sec a{white-space:nowrap}.sec .tag,.sec .cnt{flex:none}
.me2>span:not(.avw){min-width:0}.me2>span:not(.avw)>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Sheets: on phones every .ovl.px sheet spans the screen edge to edge, whatever width its module sets for desktop
   (edit-kit, wrapped and others used to leave a 32px gap on the right). Tablets get a centred sheet, max 640px. */
@media (max-width:860px){.ovl.px>.px-box{left:0;right:0;width:auto!important}}
@media (min-width:600px) and (max-width:860px){.ovl.px>.px-box{left:max(24px,calc(50% - 320px));right:max(24px,calc(50% - 320px))}}
/* Phones: header actions share the row instead of hanging left */
@media (max-width:560px){.page-h>.btn-row{width:100%}.page-h>.btn-row>.btn{flex:1 1 auto}}
/* Public pages (rsvp, kit, apply): the prototype pill sits bottom-left so it never covers the centred sign-up card */
@media (min-width:861px){body[data-role="public"] .role-switch{right:auto;left:16px;align-items:flex-start}}
/* Prototype role switcher: a compact "Prototype" chip docked bottom-right. "Viewing as ..." slides out on hover,
   keyboard focus or while the menu is open, so the pill never sits over buttons in the right column. */
.role-switch>button{gap:0;padding:0 10px 0 8px;opacity:.92;transition:opacity .15s,padding .25s cubic-bezier(.2,.9,.25,1)}
.role-switch .rs-v{display:inline-block;max-width:0;overflow:hidden;white-space:nowrap;opacity:0;margin-left:0;transition:max-width .25s cubic-bezier(.2,.9,.25,1),opacity .15s,margin-left .25s}
.role-switch:hover>button,.role-switch:focus-within>button,.role-switch>button[aria-expanded="true"]{opacity:1;padding-right:16px}
.role-switch:hover .rs-v,.role-switch:focus-within .rs-v,.role-switch>button[aria-expanded="true"] .rs-v{max-width:340px;opacity:1;margin-left:10px}
@media (min-width:861px){.role-switch{bottom:12px;right:12px}body[data-role="public"] .role-switch{left:12px;right:auto}}
@media (max-width:860px){.role-switch>button{padding:0 6px}}
/* Card footers are not the page footer: keep the shell's grid-area off .deal .foot */
.deal .foot{grid-area:auto}
/* A lone last deal at 861-1240 becomes a wide ticket (cover left, details right) instead of leaving an empty cell */
@media (min-width:861px) and (max-width:1240px){
  .deals>.deal:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto auto}
  .deals>.deal:last-child:nth-child(odd)>.cover{grid-row:1/-1;height:auto;min-height:190px}
  .deals>.deal:last-child:nth-child(odd)>:not(.cover){grid-column:2;grid-row:auto}
  .deals>.deal:last-child:nth-child(odd) .blogo{bottom:16px}
  .deals>.deal:last-child:nth-child(odd) .perf::before{display:none}
}
/* Responsive audit (Nov 27): header actions stay on the right beside a long sub-line instead of dropping under it */
@media (min-width:861px){.page-h>div:first-child{flex:1 1 440px;min-width:0}.page-h>.btn-row{flex:none}}

/* Dylan (Nov 27): rows with dividers never get extra space outside the divider. When a list fills a panel,
   its rows grow and keep their content centred, so every divider sits midway between two rows. */
.people>.person,.list>.row,.list>li{flex-grow:1}
/* Row buttons at the end of a people list share one width (Add friend, Message) */
.person>.btn:last-child,.person>a.btn:last-child{min-width:124px;justify-content:center}
@media (max-width:480px){.person>.btn:last-child,.person>a.btn:last-child{min-width:0}}

/* Footer sits closer to the page and takes less room (Dylan, Nov 27) */
.foot{padding:12px 40px 28px;gap:2px 16px}
.foot p{margin:0}
.foot nav a{min-height:40px}
@media (max-width:1240px){.foot{padding:12px 28px 24px}}
@media (max-width:860px){.foot{padding:12px 16px calc(96px + env(safe-area-inset-bottom))}}
/* Row actions at the end of list rows share one width, so a column of buttons reads as one column (Nov 27) */
.list>*>.btn:last-child,.list>*>a.btn:last-child,ul[class]>li>.btn:last-child,ol[class]>li>.btn:last-child,ul[class]>li>a.btn:last-child{min-width:112px;justify-content:center}
@media (max-width:480px){.list>*>.btn:last-child,.list>*>a.btn:last-child,ul[class]>li>.btn:last-child,ol[class]>li>.btn:last-child,ul[class]>li>a.btn:last-child{min-width:0}}
