/* =====================================================================
   النادي التطوعي AAU — design system v2
   Paper + aubergine ink, the logo's three colours as committee tones,
   the three-arc ring as the recurring signature.
   ===================================================================== */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
	--ink: #2A1B3D; --ink-2: #4A3D5C; --mut: #6E6380; --faint: #9C93A8;
	--paper: #FBF9FD; --card: #FFFFFF; --mist: #F3EFF7; --mist-2: #EAE4F1; --line: #E6E0EE; --line-2: #EFEBF4;
	--plum: #A3134F; --plum-2: #C21D64; --plum-t: #FBEAF2;
	--saff: #F59A0B; --saff-d: #B86E00; --saff-t: #FFF2DC;
	--sky: #0A8BD0; --sky-d: #0A7DBB; --sky-t: #E3F3FC;
	--ok: #138A5B; --ok-t: #E3F5EC; --bad: #C5283D; --bad-t: #FCE9EC;
	--f-body: 'Almarai', 'IBM Plex Sans Arabic', system-ui, Tahoma, sans-serif;
	--f-disp: 'El Messiri', 'Almarai', Tahoma, sans-serif;
	--r-xl: 28px; --r-lg: 22px; --r: 16px; --r-sm: 12px;
	--sh-1: 0 1px 2px rgba(42, 27, 61, .05), 0 2px 8px -4px rgba(42, 27, 61, .08);
	--sh-2: 0 1px 2px rgba(42, 27, 61, .05), 0 14px 32px -16px rgba(42, 27, 61, .28);
	--sh-3: 0 30px 80px -24px rgba(42, 27, 61, .45);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--hdr: 72px;
	--tab: 0px;
	--tone: var(--plum); --tone-d: var(--plum); --tone-t: var(--plum-t);
}
.tone-magenta { --tone: #A3134F; --tone-d: #A3134F; --tone-t: #FBEAF2; }
.tone-orange { --tone: #F59A0B; --tone-d: #B86E00; --tone-t: #FFF2DC; }
.tone-blue { --tone: #0A8BD0; --tone-d: #0A7DBB; --tone-t: #E3F3FC; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: var(--tab); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
h1, h2 { font-family: var(--f-disp); letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--plum-t); color: var(--plum); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vct-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; top: -80px; right: 16px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--mut); }
.center { text-align: center; justify-content: center; }

/* Icons */
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.ic-f { fill: currentColor; opacity: .16; }
.ic-s { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flip { transform: scaleX(-1); }

/* Ring signature */
.vct-ring { overflow: visible; }
.vct-ring .arc { fill: none; stroke-linecap: round; }
.vct-ring .a1 { stroke: var(--saff); }
.vct-ring .a2 { stroke: var(--sky); }
.vct-ring .a3 { stroke: var(--plum); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 15px; white-space: nowrap; transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s, color .18s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 19px; height: 19px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #3B2954; }
.btn-plum { background: var(--plum); color: #fff; box-shadow: 0 10px 24px -12px rgba(163, 19, 79, .7); }
.btn-plum:hover { background: var(--plum-2); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: #cdc2db; }
.btn-soft { background: var(--mist); color: var(--ink); }
.btn-soft:hover { background: var(--mist-2); }
.btn-danger { background: var(--bad-t); color: var(--bad); }
.btn-lg { min-height: 54px; padding: 0 1.6rem; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.ib { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); position: relative; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.ib:hover { background: var(--mist); }
.ib .ic { width: 22px; height: 22px; }
.spin { width: 18px; height: 18px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tags & states */
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 500; color: var(--tone-d); background: var(--tone-t); padding: .15rem .65rem .15rem .55rem; border-radius: 999px; }
.tag .ic { width: 16px; height: 16px; }
.state { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 600; padding: .12rem .6rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state-open { background: var(--ok-t); color: var(--ok); }
.state-full, .state-closed { background: var(--saff-t); color: var(--saff-d); }
.state-cancelled { background: var(--bad-t); color: var(--bad); }
.state-done { color: var(--mut); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--hdr); background: rgba(251, 249, 253, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.hdr.is-stuck { border-bottom-color: var(--line-2); background: rgba(251, 249, 253, .92); }
.admin-bar .hdr { top: 32px; }
.hdr-in { width: min(1280px, 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--f-body); font-size: 11px; font-weight: 600; color: var(--plum); letter-spacing: .18em; margin-top: 2px; }
.hdr-nav { flex: 1; display: flex; justify-content: center; }
.hdr-nav ul { display: flex; gap: .15rem; padding: .3rem; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sh-1); }
.hdr-nav a { display: flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--mut); transition: color .15s, background .15s; }
.hdr-nav a .ic { width: 19px; height: 19px; }
.hdr-nav a:hover { color: var(--ink); background: var(--paper); }
.hdr-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.hdr-act { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.bell .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 2px var(--paper); }
.me { display: flex; align-items: center; gap: .5rem; padding: .25rem .9rem .25rem .3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); margin-inline-start: .2rem; }
.me[aria-current="page"] { border-color: var(--ink); }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--plum), #6B2A6E); font-size: 15px; }
.me-name { font-size: 14px; font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.install-btn { min-height: 40px; }

/* Bottom tab bar (phones) */
.tabbar { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-in { width: min(1200px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.12; margin-bottom: 1.2rem; max-width: 12ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 46ch; line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-facts div { margin: 0; }
.hero-facts dt { display: flex; align-items: center; gap: .35rem; color: var(--mut); font-size: 13.5px; }
.hero-facts dt .ic { width: 17px; height: 17px; }
.hero-facts dd { margin: .1rem 0 0; font-family: var(--f-disp); font-size: 1.7rem; font-weight: 700; line-height: 1.2; }

.hero-stage { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; display: grid; place-items: center; }
.stage-ring { position: absolute; inset: 0; }
.stage-ring .big { width: 100%; height: 100%; }
.stage-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.4s var(--ease) forwards; }
.stage-ring .a2 { animation-delay: .25s; }
.stage-ring .a3 { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.orbit { position: absolute; width: 14px; height: 14px; border-radius: 50%; opacity: 0; animation: pop .5s var(--ease) forwards; }
.orbit.o1 { background: var(--saff); top: 9%; left: 71%; animation-delay: 1.2s; }
.orbit.o2 { background: var(--sky); top: 76%; left: 82%; animation-delay: 1.35s; }
.orbit.o3 { background: var(--plum); top: 62%; left: 6%; animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
.next-card { position: relative; width: 70%; background: var(--card); border-radius: var(--r-xl); padding: 1.5rem 1.5rem 1.3rem; box-shadow: var(--sh-3); border: 1px solid var(--line-2); opacity: 0; transform: translateY(14px) scale(.98); animation: rise .7s var(--ease) .75s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.next-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--tone); }
.next-label { display: inline-block; font-size: 13px; color: var(--tone-d); font-weight: 600; margin-bottom: .45rem; }
.next-card h2 { font-size: 1.45rem; line-height: 1.35; margin-bottom: .8rem; }
.next-when { display: flex; flex-direction: column; gap: .35rem; color: var(--mut); font-size: 14px; margin-bottom: 1.1rem; }
.next-when span { display: flex; align-items: center; gap: .4rem; }
.next-when .ic { width: 17px; height: 17px; }
.countdown { color: var(--ink); font-weight: 600; font-size: 15px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-tight { padding-top: 1.5rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.sec-head p { color: var(--mut); margin-top: .35rem; max-width: 60ch; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--plum); font-weight: 600; white-space: nowrap; padding: .4rem 0; }
.link-more .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-more:hover .ic { transform: translateX(-4px); }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem 1rem; scrollbar-width: none; margin-bottom: .4rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: all .15s; }
.chip .ic { width: 17px; height: 17px; color: var(--tone-d); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .ic { color: #fff; }

/* ---------- Ticket card (signature) ---------- */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.1rem; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; isolation: isolate; }
.ticket:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line); }
.ticket-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ticket-link:focus-visible { outline-offset: 2px; }
.ticket-top { display: flex; gap: 1rem; padding: 1.2rem 1.2rem 1rem; }
.stub { width: 62px; flex-shrink: 0; align-self: flex-start; text-align: center; padding: .55rem 0 .45rem; border-radius: 16px; background: var(--tone-t); color: var(--tone-d); }
.stub b { display: block; font-family: var(--f-disp); font-size: 1.75rem; line-height: 1; }
.stub span { display: block; font-size: 12.5px; font-weight: 500; margin-top: .2rem; }
.ticket-body { min-width: 0; flex: 1; }
.ticket-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.ticket h3 { font-size: 1.12rem; line-height: 1.45; font-weight: 600; margin-bottom: .5rem; }
.facts { display: flex; flex-direction: column; gap: .25rem; color: var(--mut); font-size: 14px; }
.facts li { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.facts span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts .ic { width: 17px; height: 17px; }
.perf { position: relative; height: 0; margin: 0 1.1rem; border-top: 2px dashed var(--line); }
.perf::before, .perf::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); }
.perf::before { right: calc(-1.1rem - 11px); clip-path: inset(0 50% 0 0); }
.perf::after { left: calc(-1.1rem - 11px); clip-path: inset(0 0 0 50%); }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1.2rem 1rem; margin-top: auto; }
.seats { display: flex; align-items: center; gap: .6rem; font-size: 13px; color: var(--mut); min-width: 0; flex-wrap: wrap; }
.hrs { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; color: var(--ink-2); }
.hrs .ic { width: 16px; height: 16px; }
.meter { width: 64px; height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w, 0%); background: var(--tone); border-radius: 6px; }
.ticket-cta { position: relative; z-index: 3; pointer-events: none; display: inline-flex; align-items: center; gap: .3rem; flex-shrink: 0; min-height: 38px; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background .2s; }
.ticket:hover .ticket-cta:not(.done):not(.muted) { background: var(--plum); }
.ticket-cta .ic { width: 16px; height: 16px; }
.ticket-cta.done { background: var(--ok-t); color: var(--ok); }
.ticket-cta.muted { background: var(--mist); color: var(--mut); }
.ticket.st-done, .ticket.st-cancelled { opacity: .78; }
.ticket.st-cancelled h3 { text-decoration: line-through; text-decoration-color: rgba(197, 40, 61, .5); }
.ticket.is-filtered { display: none; }

/* Empty states */
.empty { text-align: center; padding: 3.5rem 1.5rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-xl); }
.empty h3, .empty h1 { font-family: var(--f-disp); font-size: 1.5rem; margin: 1rem 0 .4rem; }
.empty p { color: var(--mut); margin-bottom: 1.3rem; }
.empty-ring { width: 84px; height: 84px; margin: 0 auto; }
.empty-ring.broken .a2 { opacity: .15; }
.empty-s { padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.empty-s p { margin: 0; }
.empty-s a { color: var(--plum); font-weight: 600; }
.empty-ic { width: 40px; height: 40px; color: var(--plum); }
.empty-filter { color: var(--mut); text-align: center; padding: 2rem 0; }
.lost h1 { font-size: 2rem; }

/* Steps */
.sec-steps { background: var(--card); border-block: 1px solid var(--line-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { position: relative; padding-top: 3.6rem; counter-increment: s; }
.steps li::after { content: counter(s); position: absolute; top: .9rem; left: 0; font-family: var(--f-disp); font-size: 1rem; color: var(--faint); }
.steps li:not(:last-child)::before { content: ''; position: absolute; top: 1.6rem; right: 3.8rem; left: -1.4rem; border-top: 2px dashed var(--line); }
.step-ic { position: absolute; top: 0; right: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--plum); }
.steps li:nth-child(2) .step-ic { color: var(--saff-d); background: var(--saff-t); }
.steps li:nth-child(3) .step-ic { color: var(--sky-d); background: var(--sky-t); }
.steps li:nth-child(4) .step-ic { color: var(--ok); background: var(--ok-t); }
.step-ic .ic { width: 26px; height: 26px; }
.steps b { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { color: var(--mut); font-size: 14.5px; }

/* Committees */
.coms { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.com-tile { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.com-tile:hover { border-color: var(--tone); transform: translateY(-2px); box-shadow: var(--sh-2); }
.com-mark { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); flex-shrink: 0; }
.com-mark .ic { width: 28px; height: 28px; }
.com-mark.xl { width: 84px; height: 84px; border-radius: 26px; }
.com-mark.xl .ic { width: 42px; height: 42px; }
.com-txt { flex: 1; min-width: 0; }
.com-txt b { display: block; font-weight: 600; }
.com-txt small { color: var(--mut); font-size: 13px; }
.com-tile .go { width: 18px; height: 18px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.com-tile:hover .go { transform: translateX(-3px); color: var(--tone-d); }

/* App band */
.app-band { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; position: relative; }
.app-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .7rem; }
.app-band p { color: rgba(255, 255, 255, .72); max-width: 46ch; }
.app-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.app-band .btn-soft { background: rgba(255, 255, 255, .1); color: #fff; }
.app-band .btn-soft:hover { background: rgba(255, 255, 255, .18); }
.phone { position: relative; justify-self: center; width: 230px; height: 300px; border-radius: 34px 34px 0 0; background: linear-gradient(170deg, #3A2853, #24163A); border: 6px solid #4A3A66; border-bottom: 0; margin-bottom: calc(-1 * clamp(1.8rem, 4vw, 3.2rem)); padding: 2.6rem .7rem 0; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 99px; background: #170D25; }
.push-demo { display: flex; gap: .6rem; align-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: 16px; padding: .6rem .7rem; margin-bottom: .55rem; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.push-demo img { width: 34px; height: 34px; border-radius: 9px; background: #fff; flex-shrink: 0; }
.push-demo b { display: block; font-size: 13px; }
.push-demo span { display: block; font-size: 12px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.push-demo.late { opacity: .82; transform: scale(.97); }

/* Hours tool */
.tool { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.4rem, 3.5vw, 2.6rem); }
.tool h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.hours-ring { --p: 0; position: relative; width: 220px; height: 220px; display: grid; place-items: center; transition: --p 1.2s var(--ease); }
.hours-ring::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: conic-gradient(from 200deg, var(--plum), var(--saff) 45%, var(--sky) calc(var(--p) * 1%), var(--mist) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px)); mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px)); }
.hours-ring .vct-ring { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.hours-ring.xl { width: 250px; height: 250px; }
.hr-num { position: relative; text-align: center; }
.hr-num b { display: block; font-family: var(--f-disp); font-size: 3rem; line-height: 1; }
.hr-num small { color: var(--mut); font-size: 13.5px; }
.tool-form { display: flex; gap: .6rem; align-items: flex-end; margin-top: 1.4rem; flex-wrap: wrap; }
.tool-form .fld { flex: 1; min-width: 160px; margin: 0; }
.tool-form .fld-s { flex: 0 0 110px; min-width: 100px; }
.tool-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.tool-list li { display: flex; align-items: center; gap: .7rem; padding: .55rem .5rem .55rem .9rem; background: var(--paper); border-radius: var(--r-sm); }
.tool-list li span { flex: 1; }
.tool-list li b { font-weight: 600; }
.tool-msg { margin-top: .8rem; font-weight: 500; color: var(--ink-2); }

/* Forms */
.fld { display: block; margin-bottom: 1rem; }
.fld > span { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: .35rem; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 50px; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); transition: border-color .15s, box-shadow .15s; font-size: 16px; }
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.fld input:disabled { background: var(--mist); color: var(--mut); }
.fld.err input { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-t); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; margin-bottom: 1.2rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--plum); flex-shrink: 0; }
/* Honeypot: hidden in place. Never push it off-screen with left:-9999px —
   in RTL pages that widens the document and phones zoom out. */
.hp { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
html, body { overflow-x: clip; }
.form-err { color: var(--bad); font-size: 14px; margin: -.3rem 0 1rem; }
.pick { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.pick legend { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: .45rem; padding: 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; cursor: pointer; transition: all .15s; }
.pick span .ic { width: 17px; height: 17px; color: var(--tone-d); }
.pick input:checked + span { background: var(--tone-t); border-color: var(--tone); color: var(--tone-d); font-weight: 600; }
.pick input:focus-visible + span { outline: 2.5px solid var(--sky); outline-offset: 2px; }
.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: 14.5px; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch .t { width: 44px; height: 26px; border-radius: 99px; background: #D8D0E2; position: relative; transition: background .2s; flex-shrink: 0; }
.switch .t::after { content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + .t { background: var(--ok); }
.switch input:checked + .t::after { transform: translateX(-18px); }
.switch input:focus-visible + .t { outline: 2.5px solid var(--sky); outline-offset: 2px; }

/* Library */
.search-inline { position: relative; display: block; max-width: 420px; margin-bottom: 1rem; }
.search-inline input { width: 100%; min-height: 48px; padding: 0 2.8rem 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 15px; }
.search-inline input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.search-inline .ic { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--faint); }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .6rem; }
.files li { display: flex; align-items: center; gap: .8rem; padding: .7rem .6rem .7rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); }
.files b { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bad-t); color: var(--bad); flex-shrink: 0; }

/* Voice */
.voice { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.1rem; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.2rem, 3vw, 1.8rem); }
.card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .3rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .3rem; background: var(--mist); border-radius: 999px; margin-bottom: 1.2rem; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--mut); transition: all .15s; }
.seg span .ic { width: 18px; height: 18px; }
.seg input:checked + span { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.seg input:focus-visible + span { outline: 2.5px solid var(--sky); }
.privacy { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.privacy legend { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: .4rem; padding: 0; }
.privacy input { position: absolute; opacity: 0; }
.privacy span { display: grid; grid-template-columns: auto 1fr; gap: 0 .55rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; height: 100%; transition: border-color .15s, background .15s; }
.privacy span .ic { grid-row: span 2; margin-top: .15rem; color: var(--mut); }
.privacy small { color: var(--mut); font-size: 12.5px; line-height: 1.5; }
.privacy input:checked + span { border-color: var(--ink); background: var(--paper); }
.privacy input:checked + span .ic { color: var(--plum); }
.privacy input:focus-visible + span { outline: 2.5px solid var(--sky); }
.done { text-align: center; padding: 1rem 0; }
.done-ring { width: 72px; height: 72px; margin: 0 auto 1rem; }
.done-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s var(--ease) forwards; }
.done-ring .a2 { animation-delay: .15s; } .done-ring .a3 { animation-delay: .3s; }
.done h3 { justify-content: center; font-family: var(--f-disp); font-size: 1.5rem; }
.done p { color: var(--mut); margin: .3rem 0 .6rem; }
.ref { display: inline-block; font-family: var(--f-disp); font-size: 2.2rem; letter-spacing: .2em; direction: ltr; padding: .3rem 1.4rem; margin-bottom: 1.2rem; border-radius: var(--r); border: 2px dashed var(--plum); background: var(--plum-t); color: var(--plum); cursor: copy; }
.inline { display: flex; gap: .5rem; margin: 1rem 0; }
.inline input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); padding: 0 1.1rem; text-align: center; letter-spacing: .15em; font-size: 16px; }
.inline input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.track-res { background: var(--paper); border-radius: var(--r); padding: 1rem; }
.track-res dl { margin: 0; display: grid; gap: .45rem; }
.track-res dl div { display: flex; justify-content: space-between; gap: 1rem; }
.track-res dt { color: var(--mut); }
.track-res dd { margin: 0; font-weight: 600; }
.track-note { margin-top: .8rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--sky-t); color: #074D74; font-size: 14px; }

/* Notes */
.note { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r); margin-bottom: 1.2rem; font-size: 14.5px; }
.note .ic { margin-top: .15rem; }
.note b { display: block; }
.note ul { list-style: disc; padding-inline-start: 1rem; }
.note-bad { background: var(--bad-t); color: #8E1828; }
.note-ok { background: var(--ok-t); color: #0D6142; }
.notice { padding: .85rem 1rem; border-radius: var(--r); margin-bottom: 1.2rem; font-size: 14.5px; }
.notice-ok { background: var(--ok-t); color: #0D6142; }
.notice-err { background: var(--bad-t); color: #8E1828; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 .5rem; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: .5rem; }
.page-head .lead { color: var(--ink-2); max-width: 60ch; font-size: 1.05rem; }
.crumbs { margin-bottom: 1rem; }
.crumbs a { display: inline-flex; align-items: center; gap: .3rem; color: var(--mut); font-size: 14.5px; font-weight: 500; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 17px; height: 17px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-bottom: .8rem; }
.filters .search-inline { flex: 1; margin: 0; min-width: 240px; }
.com-head { background: linear-gradient(180deg, var(--tone-t), transparent); padding-bottom: 1.5rem; }
.com-hero { display: flex; gap: 1.2rem; align-items: center; }
.com-hero p { margin-top: .3rem; }
.com-hero .muted { display: flex; align-items: center; gap: .35rem; font-size: 14.5px; }
.coms-lg { grid-template-columns: repeat(2, 1fr); }
.about { margin-top: 2.5rem; max-width: 70ch; }

/* ---------- Opportunity page + detail (also used in the sheet) ---------- */
.opp-page { padding: 1.5rem 0 4rem; }
.opp-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.opp-side { position: sticky; top: calc(var(--hdr) + 20px); }
.action-card { padding: 1.4rem; }
.stub-lg { width: 84px; text-align: center; padding: .7rem 0 .55rem; border-radius: 20px; background: var(--tone-t); color: var(--tone-d); margin-bottom: 1rem; }
.stub-lg b { display: block; font-family: var(--f-disp); font-size: 2.3rem; line-height: 1; }
.stub-lg span { font-size: 13px; font-weight: 500; }
.od-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.od-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.3; margin-bottom: .8rem; }
.od-sum { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 1.3rem; }
.od-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1.6rem; }
.od-facts div { display: flex; flex-direction: column; padding: .8rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); }
.od-facts dt { display: flex; align-items: center; gap: .35rem; color: var(--mut); font-size: 13px; }
.od-facts dt .ic { width: 16px; height: 16px; color: var(--tone-d); }
.od-facts dd { margin: .15rem 0 0; font-weight: 600; }
.od-facts dd a { color: var(--sky-d); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.od-h { font-family: var(--f-body); font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 .7rem; }
.od-req { display: flex; flex-direction: column; gap: .45rem; }
.od-req li { display: flex; gap: .55rem; align-items: flex-start; }
.od-req .ic { width: 18px; height: 18px; color: var(--ok); margin-top: .3rem; }
.prose { color: var(--ink-2); line-height: 1.9; }
.prose p { margin-bottom: 1em; }
.prose a { color: var(--plum); text-decoration: underline; }
.prose ul { list-style: disc; padding-inline-start: 1.3rem; margin-bottom: 1em; }
.prose h2, .prose h3 { font-family: var(--f-body); font-size: 1.15rem; margin: 1.4em 0 .5em; color: var(--ink); }
.od-contact { display: flex; align-items: center; gap: .45rem; color: var(--mut); margin-top: 1.4rem; font-size: 14.5px; }
.od-contact .ic { width: 18px; height: 18px; }

/* Action box (sheet footer + page side) */
.act-state { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--mist); color: var(--ink-2); margin-bottom: .8rem; font-weight: 500; }
.act-state .ic { width: 22px; height: 22px; }
.act-state.ok { background: var(--ok-t); color: var(--ok); }
.act-state.bad { background: var(--bad-t); color: var(--bad); }
.act-seats { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: 13.5px; color: var(--mut); margin-bottom: 1rem; }
.act-seats .meter { flex: 1; height: 8px; }
.act-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.act-row .btn { flex: 1; }
.quick { margin-top: .2rem; }
.quick h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.quick > p { color: var(--mut); font-size: 14px; margin-bottom: 1rem; }
.quick .fld { margin-bottom: .75rem; }
.quick .fld input { min-height: 48px; }
.quick-alt { text-align: center; font-size: 14px; color: var(--mut); margin-top: .9rem; }
.quick-alt a { color: var(--plum); font-weight: 600; }

/* Registration success */
.success { text-align: center; padding: .6rem 0 .2rem; }
.success-ring { position: relative; width: 112px; height: 112px; margin: 0 auto 1rem; }
.success-ring .vct-ring { width: 100%; height: 100%; }
.success-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .9s var(--ease) forwards; }
.success-ring .a2 { animation-delay: .12s; } .success-ring .a3 { animation-delay: .24s; }
.success-ring .ok-mark { position: absolute; inset: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; transform: scale(0); animation: pop .45s var(--ease) .6s forwards; }
.success-ring .ok-mark .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.success h3 { font-family: var(--f-disp); font-size: 1.6rem; margin-bottom: .35rem; }
.success p { color: var(--mut); margin-bottom: 1.2rem; }

/* ---------- Sheet (bottom sheet on phones, side panel on desktop) ---------- */
body.sheet-open { overflow: hidden; }
.sheet-host { position: fixed; inset: 0; z-index: 200; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(30, 18, 45, .45); opacity: 0; transition: opacity .3s; }
.sheet-host.is-open .sheet-scrim { opacity: 1; }
.sheet { position: absolute; top: 12px; bottom: 12px; left: 12px; width: min(520px, calc(100% - 24px)); background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-3); display: flex; flex-direction: column; overflow: hidden; transform: translateX(-30px); opacity: 0; transition: transform .38s var(--ease), opacity .25s; }
.sheet-host.is-open .sheet { transform: none; opacity: 1; }
.sheet.sm { width: min(440px, calc(100% - 24px)); bottom: auto; max-height: calc(100% - 24px); }
.sheet-grab { display: none; }
.sheet-head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem .9rem 1.2rem; border-bottom: 1px solid var(--line-2); background: var(--card); flex-shrink: 0; }
.sheet-head h2 { flex: 1; font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.3rem 1.3rem 1.5rem; }
.sheet-foot { flex-shrink: 0; padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line-2); }
.sheet .od-title { font-size: 1.6rem; }
.sheet .od-facts { grid-template-columns: 1fr 1fr; }
.sheet-loading { display: grid; gap: .8rem; }
.skel { height: 20px; border-radius: 10px; background: linear-gradient(90deg, var(--mist) 25%, #f9f6fc 50%, var(--mist) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.more-grid a, .more-grid button { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 1rem .4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; text-align: center; }
.more-grid .ic { width: 26px; height: 26px; color: var(--plum); }

.notes-list { display: flex; flex-direction: column; gap: .5rem; }
.notes-list a { display: flex; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); }
.notes-list a.unread { border-color: #ECC7D8; background: #FFFBFD; }
.notes-list .n-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-t); color: var(--plum); flex-shrink: 0; }
.notes-list b { display: block; font-size: 14.5px; }
.notes-list p { color: var(--mut); font-size: 13.5px; }
.notes-list time { color: var(--faint); font-size: 12px; }
.notes-empty { text-align: center; padding: 2rem 1rem; color: var(--mut); }
.notes-empty .ic { width: 42px; height: 42px; margin: 0 auto .8rem; color: var(--faint); }
.notes-cta { margin-top: 1rem; padding: 1rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); }
.notes-cta p { color: var(--mut); font-size: 14px; margin-bottom: .8rem; }

.search-sheet input { width: 100%; min-height: 54px; border-radius: var(--r); border: 1px solid var(--line); padding: 0 1rem; font-size: 17px; background: var(--card); }
.search-sheet input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.search-hits { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.search-hits a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line-2); }
.search-hits .stub { width: 46px; padding: .3rem 0; border-radius: 12px; }
.search-hits .stub b { font-size: 1.2rem; }
.search-hits .stub span { font-size: 11px; }
.search-hits small { display: block; color: var(--mut); font-size: 12.5px; }
.ios-steps { display: flex; flex-direction: column; gap: .8rem; counter-reset: i; }
.ios-steps li { display: flex; gap: .8rem; align-items: center; counter-increment: i; }
.ios-steps li::before { content: counter(i); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; flex-shrink: 0; }
.ios-steps .ic { display: inline-block; vertical-align: -4px; width: 20px; height: 20px; color: var(--sky-d); }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: calc(20px + var(--tab)); transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: .55rem; background: var(--ink); color: #fff; padding: .75rem 1.15rem; border-radius: 999px; box-shadow: var(--sh-3); font-size: 14.5px; animation: toast .3s var(--ease); pointer-events: auto; }
.toast.err { background: var(--bad); }
.toast .ic { width: 19px; height: 19px; }
@keyframes toast { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.result { display: block; padding: 1.2rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.result b { display: block; margin: .5rem 0 .3rem; font-size: 1.08rem; }
.result p { color: var(--mut); font-size: 14.5px; }

/* ---------- Auth ---------- */
.auth { padding: clamp(1.5rem, 5vw, 4rem) 0 4rem; }
.auth-in { width: min(1100px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.auth-single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.auth-art { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; display: grid; place-items: center; }
.auth-art .auth-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-art .arc, .auth-logo .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.3s var(--ease) forwards; }
.auth-art .a2, .auth-logo .a2 { animation-delay: .2s; } .auth-art .a3, .auth-logo .a3 { animation-delay: .4s; }
.auth-art img { width: 46%; height: auto; border-radius: 50%; }
.auth-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--sh-2); }
.auth-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); margin-bottom: .4rem; }
.auth-card > .muted { margin-bottom: 1.5rem; }
.auth-single .auth-card { text-align: center; }
.auth-single .fld, .auth-single .note, .auth-single .auth-row { text-align: right; }
.auth-logo { position: relative; width: 112px; height: 112px; margin: 0 auto 1rem; display: grid; place-items: center; }
.auth-logo .auth-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-logo img { width: 76px; height: 76px; border-radius: 50%; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; font-size: 14px; }
.auth-row .check { margin: 0; }
.auth-row a, .auth-alt a { color: var(--plum); font-weight: 600; }
.auth-alt { text-align: center; color: var(--mut); margin-top: 1.2rem; font-size: 14.5px; }

/* ---------- Account ---------- */
.acct-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.acct-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.acct-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .4rem; }
.acct-head .lead { color: var(--ink-2); font-size: 1.08rem; }
.acct-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.acct-stats div { min-width: 120px; padding: .8rem 1rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); }
.acct-stats b { display: block; font-family: var(--f-disp); font-size: 1.7rem; line-height: 1.1; }
.acct-stats span { color: var(--mut); font-size: 13px; }
.push-card { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.push-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--plum-t); color: var(--plum); flex-shrink: 0; }
.push-ic .ic { width: 26px; height: 26px; }
.push-card.is-on .push-ic { background: var(--ok-t); color: var(--ok); }
.push-txt { flex: 1; min-width: 220px; }
.push-txt p { font-size: 14px; margin-top: .15rem; }
.push-act { display: flex; gap: .5rem; flex-wrap: wrap; }
.history { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2.5rem; }
.history li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .9rem; padding: .7rem 1rem .7rem .9rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); }
.h-stub { width: 48px; text-align: center; border-radius: 12px; padding: .3rem 0; background: var(--tone-t); color: var(--tone-d); }
.h-stub b { display: block; font-family: var(--f-disp); font-size: 1.2rem; line-height: 1.1; }
.h-stub small { font-size: 11px; }
.history a b { display: block; font-weight: 600; }
.history a small { color: var(--mut); font-size: 13px; }
.h-hrs { font-family: var(--f-disp); color: var(--ok); font-size: 1.15rem; min-width: 2.5rem; text-align: left; }
.profile .row2 { margin-bottom: .4rem; }
.pw { margin: .3rem 0 1.2rem; }
.pw summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--plum); font-weight: 500; margin-bottom: 1rem; }
.pw summary .ic { width: 18px; height: 18px; }
.profile-act { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ftr { margin-top: 2rem; background: var(--card); border-top: 1px solid var(--line-2); }
.ftr-in { width: min(1200px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding: 3rem 0 2rem; }
.ftr-brand { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.ftr-brand .ftr-ring { position: absolute; width: 84px; height: 84px; top: -10px; right: -10px; opacity: .9; }
.ftr-brand img { width: 64px; height: 64px; border-radius: 50%; position: relative; }
.ftr-brand b { font-family: var(--f-disp); font-size: 1.2rem; }
.ftr-brand p { color: var(--mut); font-size: 14.5px; margin-top: .3rem; max-width: 42ch; }
.ftr-col { display: flex; flex-direction: column; gap: .5rem; }
.ftr-col h3 { font-size: .95rem; margin-bottom: .3rem; }
.ftr-col a, .ftr-col > span { display: flex; align-items: center; gap: .45rem; color: var(--mut); font-size: 14.5px; }
.ftr-col a:hover { color: var(--plum); }
.ftr-col .ic { width: 18px; height: 18px; }
.ftr-bottom { width: min(1200px, 100% - 40px); margin-inline: auto; border-top: 1px solid var(--line-2); padding: 1.1rem 0 1.4rem; color: var(--faint); font-size: 13.5px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
	.hdr-nav a span { display: none; }
	.hdr-nav a { padding: .55rem .75rem; }
	.me-name { display: none; }
	.me { padding: .25rem; }
}
@media (max-width: 1024px) {
	.hero-in { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.hero-stage { max-width: 440px; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
	.steps li::before { display: none; }
	.coms { grid-template-columns: repeat(2, 1fr); }
	.opp-grid { grid-template-columns: 1fr; }
	.opp-side { position: static; }
	.voice { grid-template-columns: 1fr; }
	.app-band { grid-template-columns: 1fr; }
	.phone { display: none; }
}

/* Phones: app layout with a bottom tab bar */
@media (max-width: 760px) {
	:root { --hdr: 62px; --tab: calc(66px + env(safe-area-inset-bottom)); }
	body { font-size: 15.5px; }
	.wrap, .hero-in { width: calc(100% - 32px); }
	.hdr-in { width: calc(100% - 20px); gap: .4rem; }
	.hdr-nav, .hide-m, .install-btn { display: none !important; }
	.brand { margin-inline-end: auto; }
	.brand img { width: 38px; height: 38px; }
	.brand-name { font-size: 1.05rem; }
	.hdr-act .ib { width: 42px; height: 42px; }
	.me { display: none; }
	.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: var(--tab); padding: 6px 6px env(safe-area-inset-bottom); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line-2); }
	.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--faint); font-size: 11.5px; font-weight: 500; border-radius: 14px; -webkit-tap-highlight-color: transparent; position: relative; }
	.tabbar .ic { width: 24px; height: 24px; transition: transform .2s var(--ease); }
	.tabbar [aria-current="page"] { color: var(--plum); }
	.tabbar [aria-current="page"] .ic-f { opacity: .32; }
	.tabbar [aria-current="page"]::before { content: ''; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--plum); }
	.tabbar a:active .ic, .tabbar button:active .ic { transform: scale(.88); }

	.hero { padding-top: 1.5rem; }
	.hero h1 { font-size: 2.35rem; }
	.hero-cta .btn { flex: 1; }
	.hero-facts { gap: 1.2rem; justify-content: space-between; }
	.hero-facts dd { font-size: 1.4rem; }
	.hero-stage { max-width: 360px; margin-top: .5rem; }
	.next-card { width: 78%; padding: 1.2rem 1.1rem 1.1rem; }
	.next-card h2 { font-size: 1.2rem; }

	.sec-head { align-items: flex-start; flex-direction: column; gap: .3rem; margin-bottom: 1.2rem; }
	.sec-head .link-more { padding: 0; }
	.chips { margin-inline: -16px; padding-inline: 16px; }

	/* Swipeable rail on the home page */
	.tickets.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; margin-inline: -16px; padding: .2rem 16px 1rem; scrollbar-width: none; }
	.tickets.rail::-webkit-scrollbar { display: none; }
	.tickets.rail .ticket { flex: 0 0 86%; scroll-snap-align: center; }
	.tickets { grid-template-columns: 1fr; gap: .8rem; }
	.ticket:hover { transform: none; }
	.ticket-top { padding: 1rem 1rem .85rem; gap: .85rem; }
	.stub { width: 56px; }
	.ticket-foot { padding: .75rem 1rem .9rem; }
	.meter { width: 48px; }

	.steps { grid-template-columns: 1fr; gap: 1.2rem; }
	.steps li { padding: 0 4.2rem 0 0; min-height: 52px; }
	.steps li::after { display: none; }
	.coms, .coms-lg { grid-template-columns: 1fr; }
	.tool { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.tool-main { width: 100%; text-align: right; }
	.tool-form .fld-s { flex: 1; }
	.tool-form .btn { width: 100%; }
	.hours-ring { width: 190px; height: 190px; }
	.row2, .privacy { grid-template-columns: 1fr; }
	.files { grid-template-columns: 1fr; }
	.od-facts { grid-template-columns: 1fr 1fr; }
	.opp-page { padding-top: .8rem; }

	.auth-in { grid-template-columns: 1fr; gap: 1rem; }
	.auth-art { max-width: 150px; }
	.acct-grid { grid-template-columns: 1fr; }
	.acct-grid .hours-ring { justify-self: center; order: -1; }
	.acct-stats div { flex: 1; min-width: 0; }
	.history li { grid-template-columns: auto 1fr auto; }
	.history .state { grid-column: 2 / -1; justify-self: start; }
	.push-act { width: 100%; }
	.push-act .btn { flex: 1; }

	.ftr-in { grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-top: 2.2rem; }
	.ftr-brand { grid-column: 1 / -1; }

	/* Bottom sheet */
	.sheet, .sheet.sm { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1; }
	.sheet-host.is-open .sheet { transform: translateY(var(--drag, 0px)); }
	.sheet.dragging { transition: none; }
	.sheet-grab { display: block; flex-shrink: 0; height: 24px; position: relative; background: var(--card); touch-action: none; cursor: grab; }
	.sheet-grab::before { content: ''; position: absolute; top: 9px; left: 50%; width: 42px; height: 5px; border-radius: 5px; transform: translateX(-50%); background: var(--line); }
	.sheet-head { padding-top: .2rem; border-top: 0; }
	.sheet-body { padding: 1.1rem 1.1rem 1.3rem; }
	.toasts { bottom: calc(14px + var(--tab)); }
	.admin-bar .hdr { top: 0; }
}
@media (max-width: 380px) {
	.hero h1 { font-size: 2.05rem; }
	.od-facts { grid-template-columns: 1fr; }
	.tabbar a, .tabbar button { font-size: 10.5px; }
}

/* Installed app: no browser chrome, so give the header room for the status bar */
@media (display-mode: standalone) {
	.hdr { padding-top: env(safe-area-inset-top); height: calc(var(--hdr) + env(safe-area-inset-top)); }
	.install-btn, [data-install], [data-install-any] { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.stage-ring .arc, .done-ring .arc, .success-ring .arc, .auth-art .arc, .auth-logo .arc { stroke-dashoffset: 0; }
	.next-card, .orbit, .success-ring .ok-mark { opacity: 1; transform: none; }
}

/* =====================================================================
   v2.1 — university crest, intro, team, live editing
   ===================================================================== */
/* Typography tune-up for El Messiri + Almarai */
h1, h2, .od-title, .hero h1 { font-weight: 700; letter-spacing: 0; }
.hero h1 { line-height: 1.25; }
.sec-head h2, .page-head h1 { line-height: 1.3; }
.brand-name { font-family: var(--f-disp); font-size: 1.2rem; }
b, strong, .ticket h3, .com-txt b { font-weight: 700; }

/* University crest */
.brand-uni { display: flex; align-items: center; padding-inline-start: .9rem; margin-inline-start: -.3rem; border-inline-start: 1px solid var(--line); height: 40px; flex-shrink: 0; }
.brand-uni img { height: 40px; width: auto; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ftr-uni { display: inline-flex; align-items: center; gap: .55rem; color: var(--mut); font-weight: 700; }
.ftr-uni img { height: 36px; width: auto; }

/* ---------- Intro (first visit per session) ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 0%, #fff 0%, var(--paper) 55%, var(--mist) 100%); padding: 2rem 1.2rem calc(2rem + env(safe-area-inset-bottom)); transition: transform .7s var(--ease), opacity .5s ease .15s; }
.intro.out { transform: translateY(-100%); opacity: 0; }
.intro-stage { text-align: center; }
.intro-logos { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 5vw, 2.6rem); margin-bottom: 1.6rem; }
.intro-club { position: relative; width: clamp(128px, 32vw, 176px); aspect-ratio: 1; display: grid; place-items: center; }
.intro-club .intro-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-club .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s var(--ease) .15s forwards; }
.intro-club .a2 { animation-delay: .3s; } .intro-club .a3 { animation-delay: .45s; }
.intro-club img { width: 72%; height: auto; border-radius: 50%; opacity: 0; transform: scale(.6); animation: pop .7s var(--ease) .25s forwards; }
.intro-sep { width: 2px; height: clamp(72px, 18vw, 110px); border-radius: 2px; background: linear-gradient(var(--saff), var(--plum), var(--sky)); transform: scaleY(0); animation: grow-y .6s var(--ease) .7s forwards; }
@keyframes grow-y { to { transform: scaleY(1); } }
.intro-uni img { height: clamp(104px, 27vw, 148px); width: auto; opacity: 0; transform: translateX(-18px); animation: slide-in .7s var(--ease) .85s forwards; }
@keyframes slide-in { to { opacity: 1; transform: none; } }
.intro-name, .intro-uni-name, .intro-tag { margin: 0; opacity: 0; transform: translateY(10px); animation: slide-in .6s var(--ease) forwards; }
.intro-name { font-family: var(--f-disp); font-size: clamp(2rem, 7vw, 3rem); font-weight: 700; line-height: 1.2; animation-delay: 1.15s; }
.intro-uni-name { font-size: clamp(1rem, 3.6vw, 1.2rem); color: var(--ink-2); font-weight: 700; margin-top: .2rem; animation-delay: 1.35s; }
.intro-tag { margin-top: 1.1rem; color: var(--plum); font-family: var(--f-disp); font-size: clamp(1.05rem, 3.8vw, 1.3rem); animation-delay: 1.6s; }
.intro-bar { position: absolute; bottom: calc(2.2rem + env(safe-area-inset-bottom)); left: 50%; width: min(220px, 50vw); height: 3px; transform: translateX(-50%); border-radius: 3px; background: var(--mist-2); overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--saff), var(--plum)); animation: bar 2.9s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.intro-skip { position: absolute; top: calc(1rem + env(safe-area-inset-top)); left: 1rem; border: 0; background: rgba(42, 27, 61, .06); color: var(--mut); border-radius: 999px; padding: .45rem 1rem; font-size: 14px; }
.intro-skip:hover { background: rgba(42, 27, 61, .1); color: var(--ink); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.team-member { grid-template-columns: repeat(4, 1fr); }
.member { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.6rem 1.1rem 1.4rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.member:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.m-photo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 1rem; }
.m-photo .m-ring { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.member:hover .m-ring { transform: rotate(40deg); }
.m-photo img, .m-mono { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.m-mono { display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); font-family: var(--f-disp); font-size: 2.6rem; font-weight: 700; }
.m-name { font-family: var(--f-disp); font-size: 1.25rem; margin-bottom: .2rem; }
.m-role { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--tone-d); background: var(--tone-t); padding: .15rem .75rem; border-radius: 999px; margin-bottom: .7rem; }
.m-bio { color: var(--mut); font-size: 14px; line-height: 1.7; max-width: 30ch; }
.team-lead .member { padding-top: 2rem; }
.team-lead .m-photo { width: 152px; height: 152px; }
.team-lead .m-photo img, .team-lead .m-mono { width: 120px; height: 120px; }
.team-sec + .team-sec { padding-top: 0; }
.m-cam { position: absolute; bottom: 8px; left: 8px; width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); background: var(--ink); color: #fff; display: grid; place-items: center; }
.m-cam .ic { width: 18px; height: 18px; }
.m-admin { display: flex; gap: .3rem; align-items: center; margin-top: 1rem; padding-top: .8rem; border-top: 1px dashed var(--line); width: 100%; justify-content: center; }
.member-add { border: 2px dashed var(--line); background: transparent; color: var(--mut); justify-content: center; min-height: 260px; cursor: pointer; }
.member-add:hover { border-color: var(--plum); color: var(--plum); }
.member-add .m-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--mist); margin-bottom: .7rem; }
.member-add small { color: var(--faint); }

/* ---------- Live editing (admins) ---------- */
[data-edit] { border-radius: 6px; transition: box-shadow .15s, background .15s; -webkit-touch-callout: none; }
body.vc-editing [data-edit] { box-shadow: 0 0 0 2px rgba(10, 139, 208, .35); cursor: text; background: rgba(10, 139, 208, .05); }
body.vc-editing [data-edit]:hover { box-shadow: 0 0 0 2px var(--sky); }
body.vc-editing [data-type="date"], body.vc-editing [data-type="timerange"], body.vc-editing [data-type="number"] { cursor: pointer; }
body.vc-editing .ticket-link { pointer-events: none; }
body.vc-editing .ticket:hover { transform: none; }
.live-on { outline: 2px solid var(--sky) !important; outline-offset: 3px; background: #fff !important; box-shadow: 0 0 0 6px rgba(10, 139, 208, .12) !important; color: var(--ink); cursor: text; }
.live-saving { opacity: .55; }
.live-bar { position: fixed; left: 16px; bottom: calc(16px + var(--tab)); z-index: 150; display: flex; align-items: center; gap: .6rem; }
.live-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: var(--sky-d); color: #fff; font-weight: 700; box-shadow: var(--sh-2); }
.live-toggle[aria-pressed="true"] { background: var(--ink); }
.live-hint { font-size: 12.5px; color: var(--mut); background: rgba(255, 255, 255, .9); padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--sh-1); }
.live-tools { position: fixed; z-index: 400; display: flex; align-items: center; gap: .3rem; background: var(--ink); color: #fff; padding: .35rem; border-radius: 14px; box-shadow: var(--sh-3); font-family: var(--f-body); }
.live-tools button { display: inline-flex; align-items: center; gap: .3rem; border: 0; border-radius: 10px; padding: .45rem .8rem; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; font-weight: 700; }
.live-tools button[data-ok] { background: var(--ok); }
.live-tools .ic { width: 16px; height: 16px; }
.live-tools small { font-size: 11.5px; opacity: .7; padding: 0 .4rem; }
.live-pop { position: fixed; z-index: 400; width: 280px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-family: var(--f-body); }
.live-pop b { font-size: 15px; }
.live-pop input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 .8rem; font-size: 16px; direction: ltr; text-align: right; }
.live-pop label { display: flex; flex-direction: column; gap: .25rem; font-size: 13px; color: var(--mut); }
.live-pop-act { display: flex; gap: .4rem; }
.live-pop-act .btn { flex: 1; }

@media (max-width: 1180px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
	.brand-uni { padding-inline-start: .6rem; margin-inline-start: -.1rem; margin-inline-end: auto; height: 34px; }
	.brand-uni img { height: 34px; }
	.brand { margin-inline-end: 0; }
	.team { gap: .7rem; }
	.member { padding: 1.2rem .7rem 1.1rem; }
	.m-photo, .team-lead .m-photo { width: 104px; height: 104px; }
	.m-photo img, .m-mono, .team-lead .m-photo img, .team-lead .m-mono { width: 82px; height: 82px; }
	.m-mono { font-size: 2rem; }
	.m-name { font-size: 1.08rem; }
	.m-role { font-size: 12.5px; padding: .1rem .55rem; }
	.m-bio { font-size: 13px; }
	.live-hint { display: none; }
	.live-pop { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
	.ftr-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) { .brand-name small { display: none; } .brand-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
	.intro-club .arc { stroke-dashoffset: 0; }
	.intro-club img, .intro-uni img, .intro-name, .intro-uni-name, .intro-tag, .intro-sep { opacity: 1; transform: none; }
}
/* Grid children may shrink below their content width (prevents hidden overflow on phones). */
.voice > *, .tool > *, .opp-grid > *, .acct-grid > *, .app-band > *, .hero-in > * { min-width: 0; }
@media (max-width: 1024px) { .voice, .opp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .tool, .acct-grid, .auth-in { grid-template-columns: minmax(0, 1fr); } .privacy span { min-width: 0; } }
.m-mono .m-ph { width: 46%; height: 46%; } .m-mono .m-ph .ic-f { opacity: .3; }
/* Numbers read better in Almarai than in El Messiri's display digits. */
.hero-facts dd, .stub b, .stub-lg b, .h-stub b, .hr-num b, .acct-stats b, .ref, .m-mono, .search-hits .stub b { font-family: var(--f-body); font-weight: 800; letter-spacing: -.01em; }
/* Grids never force a column wider than the screen. */
.team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tickets { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.files, .results { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.member, .member > * { min-width: 0; max-width: 100%; }
.m-name, .m-role, .m-bio { overflow-wrap: anywhere; }
.m-admin { flex-wrap: wrap; }
.m-admin .btn { white-space: normal; text-align: center; line-height: 1.3; min-height: 34px; }
@media (max-width: 1180px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) {
	.m-photo, .team-lead .m-photo { width: 88px; height: 88px; }
	.m-photo img, .m-mono, .team-lead .m-photo img, .team-lead .m-mono { width: 68px; height: 68px; }
	.m-cam { width: 32px; height: 32px; bottom: 2px; left: 2px; }
	.m-admin .btn { font-size: 12px; padding: 0 .6rem; }
	.hero-facts { gap: .8rem; }
	.hero-facts dd { font-size: 1.2rem; }
	.next-card { width: 86%; }
}
/* ---- v2.2 fixes ---- */
/* Hours ring: draw the full gradient, then cover the unfilled part, so 0% really is empty. */
.hours-ring::before {
	background:
		conic-gradient(from 200deg, transparent calc(var(--p) * 1%), var(--mist) 0),
		conic-gradient(from 200deg, var(--plum), var(--saff) 50%, var(--sky));
}
/* Ticket text on narrow screens: wrap the time instead of cutting it. */
.facts span { white-space: normal; overflow: visible; }
.tag { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 760px) {
	/* Hero: the card sits in the flow; the ring becomes a background mark that never covers it. */
	.hero-stage { aspect-ratio: auto; max-width: none; padding: 2.2rem 0 .5rem; display: block; }
	.stage-ring { inset: 0 auto auto 50%; width: min(300px, 82vw); aspect-ratio: 1; transform: translateX(-50%); opacity: .9; }
	.orbit { display: none; }
	.next-card { width: 100%; margin: 3.2rem auto 0; }
	/* Admin edit button: compact round button on phones. */
	.live-bar { left: 12px; bottom: calc(12px + var(--tab)); }
	.live-toggle { width: 50px; height: 50px; padding: 0; justify-content: center; }
	.live-toggle span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.live-toggle .ic { width: 22px; height: 22px; }
}
@media (max-width: 400px) {
	.tickets.rail .ticket { flex-basis: 92%; }
	.ticket-top { gap: .7rem; padding: .9rem .85rem .8rem; }
	.stub { width: 50px; }
	.stub b { font-size: 1.45rem; }
	.ticket h3 { font-size: 1.02rem; }
	.ticket-foot { padding: .7rem .85rem .85rem; }
	.hours-ring.xl { width: 210px; height: 210px; }
}
@media (max-width: 760px) {
	.stage-ring { display: none; }
	.hero-stage { padding-top: 1.6rem; }
	.next-card { margin-top: 0; }
}

/* =====================================================================
   Campus map
   ===================================================================== */
body.is-map .ftr { display: none; }
body.is-map { padding-bottom: 0; }
body.is-map main { position: relative; height: calc(100dvh - var(--hdr) - var(--tab)); overflow: hidden; }
body.is-map.admin-bar main { height: calc(100dvh - var(--hdr) - var(--tab) - 32px); }
.cmap { position: absolute; inset: 0; background: #1E1230; }
.cmap-map { position: absolute; inset: 0; }
.cmap .maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255, 255, 255, .7); }
.cmap .maplibregl-ctrl-bottom-left, .cmap .maplibregl-ctrl-bottom-right { z-index: 3; }

/* Search + category chips floating over the map */
.cmap-top { position: absolute; top: 14px; right: 14px; z-index: 6; width: min(380px, calc(100% - 28px)); display: flex; flex-direction: column; gap: .55rem; }
.cmap-search { position: relative; display: block; }
.cmap-search input { width: 100%; min-height: 52px; border-radius: 16px; border: 0; padding: 0 3rem 0 1rem; background: rgba(255, 255, 255, .96); box-shadow: var(--sh-2); font-size: 16px; }
.cmap-search input:focus { outline: none; box-shadow: 0 0 0 3px var(--plum-t), var(--sh-2); }
.cmap-search .ic { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--mut); }
.cmap-cats { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cmap-cats::-webkit-scrollbar { display: none; }
.cmap-cats .chip { min-height: 36px; padding: 0 .85rem; font-size: 13.5px; background: rgba(255, 255, 255, .95); border-color: transparent; box-shadow: var(--sh-1); }
.cmap-cats .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Map buttons */
.cmap-ctrl { position: absolute; left: 14px; top: 14px; z-index: 6; display: flex; flex-direction: column; gap: .45rem; }
.cmap-btn { width: 48px; height: 48px; border-radius: 15px; border: 0; background: rgba(255, 255, 255, .96); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-2); transition: transform .15s, background .15s; }
.cmap-btn:active { transform: scale(.94); }
.cmap-btn.on { background: var(--ink); color: #fff; }
.cmap-btn .ic { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.cmap-north .ic { color: var(--plum); }
.cmap-edit { background: var(--sky-d); color: #fff; }

/* Side panel (desktop) / bottom sheet (phone) */
.cmap-panel { position: absolute; z-index: 5; right: 14px; top: 132px; bottom: 14px; width: 380px; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-3); display: flex; flex-direction: column; overflow: hidden; transition: height .3s var(--ease); }
.cmap-grab { display: none; }
.cmap-panel-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.1rem 1.1rem 1.4rem; }
.cmap-head h1 { font-size: 1.5rem; margin-bottom: .2rem; }
.cmap-head p { color: var(--mut); font-size: 14px; margin-bottom: 1rem; }
.cmap-gh { font-family: var(--f-body); font-size: 13px; font-weight: 700; color: var(--mut); margin: 1.1rem 0 .45rem; display: flex; align-items: center; gap: .35rem; }
.cmap-gh.warn { color: var(--saff-d); }
.cmap-gh .ic { width: 16px; height: 16px; }
.cmap-list { display: flex; flex-direction: column; gap: .4rem; }
.cmap-item { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); text-align: right; transition: border-color .15s, box-shadow .15s; }
.cmap-item:hover { border-color: var(--line); box-shadow: var(--sh-1); }
.ci-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.ci-ic.lg { width: 56px; height: 56px; border-radius: 17px; }
.ci-ic.lg .ic { width: 28px; height: 28px; }
.ci-txt { flex: 1; min-width: 0; }
.ci-txt b { display: block; font-size: 15px; }
.ci-txt small { display: block; color: var(--mut); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-d { text-align: left; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ci-d small { display: block; color: var(--mut); font-weight: 400; font-size: 11.5px; }
.cmap-locate-cta { width: 100%; display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: var(--r); border: 1px dashed #9ccbe6; background: var(--sky-t); color: var(--sky-d); text-align: right; margin-bottom: .4rem; }
.cmap-locate-cta .ic { width: 26px; height: 26px; }
.cmap-locate-cta b { display: block; }
.cmap-locate-cta small { color: #3d6f8e; }
.cmap-note { color: var(--mut); font-size: 13px; background: var(--saff-t); border-radius: var(--r-sm); padding: .6rem .8rem; margin-bottom: .5rem; }
.cmap-empty { display: flex; gap: .5rem; align-items: center; color: var(--bad); }
.cmap-attr { color: var(--faint); font-size: 11px; margin-top: 1.4rem; text-align: center; }

/* Place card */
.cmap-back { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; color: var(--mut); padding: 0 0 .7rem; font-weight: 700; font-size: 14px; }
.cmap-back .ic { width: 17px; height: 17px; }
.cp-head { display: flex; gap: .9rem; align-items: center; margin-bottom: .7rem; }
.cp-head h2 { font-size: 1.45rem; margin-top: .25rem; }
.cmap-place .tag { --tone-d: var(--c); --tone-t: color-mix(in srgb, var(--c) 12%, #fff); }
.cp-desc { color: var(--ink-2); margin-bottom: .8rem; }
.cp-meta { display: flex; gap: 1rem; color: var(--ink-2); font-weight: 700; font-size: 14.5px; margin-bottom: 1rem; }
.cp-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.cp-meta .ic { width: 18px; height: 18px; color: var(--c); }
.cp-from { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: 14px; color: var(--mut); }
.cp-from select { flex: 1; min-height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); padding: 0 .7rem; font-size: 15px; }
.cp-act { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cp-act .btn-plum { flex: 1 1 100%; }
.cp-act .btn-soft { flex: 1; }
.cp-act .ib { background: var(--mist); }
.cp-form { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.cp-form h3 { display: flex; gap: .4rem; align-items: center; font-size: 1rem; margin-bottom: .7rem; }
.cp-form .fld { margin-bottom: .6rem; }
.cp-form .fld input, .cp-form .fld select, .cp-form .fld textarea { min-height: 44px; }
.cp-form-act { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Navigation */
.cmap-banner { position: absolute; z-index: 7; top: 14px; right: 14px; left: 76px; max-width: 520px; display: flex; align-items: center; gap: .9rem; background: var(--ink); color: #fff; border-radius: 20px; padding: .8rem 1rem; box-shadow: var(--sh-3); animation: toast .3s var(--ease); }
.bn-ic { width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; background: var(--plum); }
.bn-ic.ok { background: var(--ok); }
.bn-ic .ic { width: 32px; height: 32px; stroke-width: 2.2; }
.bn-ic .ic-f { opacity: .25; }
.cmap-banner b { display: block; font-family: var(--f-disp); font-size: 1.5rem; line-height: 1.2; }
.cmap-banner span { color: rgba(255, 255, 255, .8); font-size: 15px; }
.cmap.is-nav .cmap-top { display: none; }
.cmap.is-nav .cmap-ctrl { top: 104px; }
.cmap-navp .np-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.cmap-navp small { color: var(--mut); }
.cmap-navp h2 { font-size: 1.3rem; }
.np-eta { text-align: left; }
.np-eta b { display: block; font-family: var(--f-body); font-weight: 800; font-size: 1.6rem; color: var(--ok); line-height: 1.1; }
.np-eta span { color: var(--mut); font-size: 13px; }
.np-act { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.np-act .btn { flex: 1; min-height: 42px; }
.np-act [data-voice][aria-pressed="true"] { background: var(--ok-t); color: var(--ok); }
.np-steps { display: flex; flex-direction: column; gap: .35rem; }
.np-steps li { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line-2); font-size: 14.5px; transition: background .2s, opacity .2s; }
.np-steps li.is-now { background: var(--plum-t); border-color: #EFC3D6; font-weight: 700; }
.np-steps li.is-done { opacity: .45; }
.st-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--plum); flex-shrink: 0; }

/* Pins */
.pin { position: relative; display: flex; flex-direction: column; align-items: center; border: 0; background: none; padding: 0; cursor: pointer; transition: opacity .2s, transform .2s var(--ease); }
.pin-dot { width: 38px; height: 38px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 0 0 3px #fff; }
.pin-dot .ic { transform: rotate(45deg); width: 19px; height: 19px; }
.pin-dot .ic .ic-f { opacity: .35; }
.pin-label { position: absolute; bottom: calc(100% + 6px); white-space: nowrap; font-family: var(--f-body); font-weight: 700; font-size: 12.5px; color: var(--ink); background: rgba(255, 255, 255, .95); padding: .15rem .55rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.cmap.show-labels .pin-label, .pin.is-sel .pin-label, .pin:hover .pin-label { opacity: 1; transform: none; }
.pin.is-sel { z-index: 4; }
.pin.is-sel .pin-dot { transform: rotate(-45deg) scale(1.25); box-shadow: 0 6px 18px rgba(0, 0, 0, .4), 0 0 0 4px #fff, 0 0 0 8px color-mix(in srgb, var(--c) 35%, transparent); }
.pin.is-dim { opacity: .28; }
.cmap.is-edit .pin-dot { cursor: grab; box-shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 0 0 3px #fff, 0 0 0 6px rgba(10, 139, 208, .5); }
.cmap.is-picking .cmap-map canvas { cursor: crosshair; }

/* My location */
.me-dot { position: relative; width: 22px; height: 22px; }
.me-core { position: absolute; inset: 0; border-radius: 50%; background: #0A8BD0; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(10, 139, 208, .5); animation: me-pulse 2s infinite; }
.me-dot.preview .me-core { background: var(--plum); }
@keyframes me-pulse { 70% { box-shadow: 0 0 0 16px rgba(10, 139, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 139, 208, 0); } }
.me-cone { position: absolute; left: 50%; bottom: 50%; width: 64px; height: 64px; transform: translateX(-50%); background: radial-gradient(circle at 50% 100%, rgba(10, 139, 208, .45), transparent 70%); clip-path: polygon(50% 100%, 18% 0, 82% 0); opacity: 0; }
.me-dot.has-heading .me-cone { opacity: 1; }

/* Admin */
.cmap-editbar { background: var(--sky-t); border: 1px solid #b9dcf0; border-radius: var(--r); padding: .75rem .8rem; margin-bottom: 1rem; }
.cmap-editbar b { display: flex; align-items: center; gap: .35rem; color: var(--sky-d); margin-bottom: .5rem; }
.cmap-editbar .ic { width: 17px; height: 17px; }
.cmap-editbar small { display: block; color: #3d6f8e; font-size: 12px; margin-top: .5rem; }
.eb-act { display: flex; flex-wrap: wrap; gap: .35rem; }
.cmap-draw h3 { display: flex; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.cmap-draw p { color: var(--mut); font-size: 14px; margin-bottom: .6rem; }
.dr-count b { color: var(--sky-d); }

/* Phone: full-bleed map + bottom sheet */
@media (max-width: 760px) {
	.cmap-top { top: 10px; right: 10px; width: calc(100% - 78px); }
	.cmap-ctrl { left: 10px; top: 10px; }
	.cmap-btn { width: 46px; height: 46px; }
	.cmap-panel { top: auto; right: 0; left: 0; bottom: 0; width: 100%; height: 34dvh; border-radius: 24px 24px 0 0; }
	.cmap-panel[data-state="peek"] { height: 150px; }
	.cmap-panel[data-state="half"] { height: 48dvh; }
	.cmap-panel[data-state="full"] { height: calc(100% - 70px); }
	.cmap-panel.dragging { transition: none; }
	.cmap-grab { display: block; flex-shrink: 0; height: 26px; position: relative; cursor: grab; touch-action: none; }
	.cmap-grab::before { content: ''; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; border-radius: 5px; transform: translateX(-50%); background: var(--line); }
	.cmap-panel-body { padding: 0 1rem 1.2rem; }
	.cmap-head h1 { font-size: 1.3rem; }
	.cmap-banner { top: 10px; right: 10px; left: 66px; padding: .65rem .8rem; }
	.cmap-banner b { font-size: 1.3rem; }
	.bn-ic { width: 46px; height: 46px; }
	.cmap.is-nav .cmap-ctrl { top: 96px; }
	.cmap .maplibregl-ctrl-bottom-right, .cmap .maplibregl-ctrl-bottom-left { bottom: 150px; }
}
.cmap .cmap-map.maplibregl-map, .cmap .cmap-map { position: absolute; inset: 0; width: 100%; height: 100%; }
body.is-map .live-bar { display: none; }
@media (max-width: 760px) {
	.cmap-ctrl { transition: opacity .2s; }
	.cmap:has(.cmap-panel[data-state="full"]) .cmap-ctrl { opacity: 0; pointer-events: none; }
	.cmap:has(.cmap-panel[data-state="full"]) .cmap-top { opacity: 0; pointer-events: none; }
}

/* ---------- Live impact counters (logo-ring gauges) ---------- */
.impact { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.impact-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.impact-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.impact-head p { display: flex; align-items: center; gap: .5rem; color: var(--mut); font-size: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(19, 138, 91, .5); animation: live 2s infinite; flex-shrink: 0; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(19, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 138, 91, 0); } }
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.metric { --pct: 0; position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.metric::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, var(--tone-t), transparent); z-index: -1; transition: transform .5s var(--ease); }
a.metric:hover, .metric:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--tone) 35%, var(--line-2)); }
.metric:hover::before { transform: scale(1.3); }
.m-gauge { position: relative; width: 84px; height: 84px; flex-shrink: 0; display: grid; place-items: center; }
.m-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.g-track { stroke: var(--mist-2); }
.g-fill { stroke: var(--tone); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .1s; }
.metric.is-in .g-fill { stroke-dashoffset: calc(100 - max(var(--pct), 2)); }
.m-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); }
.m-ic .ic { width: 22px; height: 22px; }
.m-body { display: flex; flex-direction: column; min-width: 0; }
.m-num { font-family: var(--f-body); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.m-label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.m-next { font-size: 12px; color: var(--faint); margin-top: .15rem; }
@media (max-width: 1100px) { .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.impact-grid { gap: .6rem; }
	.metric { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
	.m-gauge { width: 64px; height: 64px; }
	.m-ic { width: 32px; height: 32px; }
	.m-ic .ic { width: 18px; height: 18px; }
	.m-num { font-size: 1.7rem; }
	.m-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .g-fill { transition: none; } }
.voice-note { display: flex; align-items: center; gap: .45rem; color: var(--mut); font-size: 13.5px; background: var(--mist); border-radius: var(--r-sm); padding: .55rem .8rem; margin: 0 0 1rem; } .voice-note .ic { width: 17px; height: 17px; color: var(--plum); }

/* ===== Campus map v2 — cleaner floating UI ===== */
.cmap { --sheet-h: 0px; }
.cmap-search input { min-height: 50px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px -8px rgba(30, 18, 48, .45); }
.cmap-cats .chip { min-height: 32px; font-size: 13px; padding: 0 .75rem; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cmap-cats .chip .ic { width: 15px; height: 15px; }
/* Controls: bottom-left group (desktop), riding above the sheet (phone) */
.cmap-ctrl { top: auto; bottom: calc(24px + var(--sheet-h)); left: 16px; gap: .5rem; transition: bottom .3s var(--ease); }
.cmap-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px -6px rgba(30, 18, 48, .45); }
.cmap-btn .ic { width: 21px; height: 21px; }
.cmap-me { color: var(--sky-d); }
.cmap-btn.on { background: var(--ink); color: #fff; }
.cmap-layers { position: absolute; left: calc(100% + 10px); bottom: 0; display: flex; flex-direction: column; gap: .3rem; min-width: 168px; padding: .4rem; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: var(--sh-3); animation: toast .2s var(--ease); }
.cmap-layers button { display: flex; align-items: center; gap: .6rem; border: 0; background: none; padding: .45rem .55rem; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--ink-2); text-align: right; }
.cmap-layers button[aria-pressed="true"] { background: var(--plum-t); color: var(--plum); }
.cmap-layers .ic { width: 22px; height: 22px; }
.ly { width: 34px; height: 26px; border-radius: 8px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.ly-sat { background: linear-gradient(135deg, #5f6b45, #a3936b 45%, #3e4b37); }
.ly-map { background: linear-gradient(135deg, #f2efe9 0 40%, #ffd28a 40% 46%, #e8f2e2 46%); }
/* Panel header + faculty strip */
.cmap-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-bottom: .7rem; }
.cmap-head p { margin: .1rem 0 0; }
.cmap-adm { display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: 999px; background: var(--sky-t); color: var(--sky-d); padding: .4rem .8rem; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.cmap-adm .ic { width: 16px; height: 16px; }
.cmap-strip { display: flex; gap: .55rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1.1rem .4rem; padding: .1rem 1.1rem .5rem; scrollbar-width: none; }
.cmap-strip::-webkit-scrollbar { display: none; }
.strip-card { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .7rem; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); text-align: right; transition: transform .15s; }
.strip-card:active { transform: scale(.97); }
.strip-card .ci-ic { width: 34px; height: 34px; border-radius: 11px; }
.strip-card .ci-ic .ic { width: 18px; height: 18px; }
.strip-card b { font-size: 13.5px; line-height: 1.35; }
.strip-card small { color: var(--mut); font-size: 11.5px; }
/* Pins by zoom: few when zoomed out, everything up close */
.cmap.z-low .pin:not(.is-major):not(.is-sel):not(.is-match) { display: none; }
.cmap.z-mid .pin.cat-admin:not(.is-sel):not(.is-match), .cmap.z-mid .pin.cat-library:not(.is-sel):not(.is-match) { display: none; }
.cmap.z-low .pin.cat-building .pin-dot, .cmap.z-low .pin.cat-service .pin-dot { width: 30px; height: 30px; }
.cmap.show-labels .pin:not(.is-major) .pin-label { opacity: 0; }
.cmap.show-labels .pin:not(.is-major):hover .pin-label, .pin.is-sel .pin-label { opacity: 1; transform: none; }
.pin-dot { width: 34px; height: 34px; }
.pin-label { font-size: 12px; }

@media (min-width: 761px) {
	.cmap-ctrl { bottom: 28px; }
	.cmap-panel { top: 128px; }
}
@media (max-width: 760px) {
	.cmap-top { top: 10px; right: 10px; left: 10px; width: auto; }
	.cmap-ctrl { left: 12px; bottom: calc(12px + var(--sheet-h)); top: auto; }
	.cmap-btn { width: 44px; height: 44px; }
	.cmap-panel { box-shadow: 0 -10px 40px -12px rgba(30, 18, 48, .5); }
	.cmap-panel[data-state="peek"] { height: 196px; }
	.cmap-panel[data-state="half"] { height: 52dvh; }
	.cmap-panel-body { padding: 0 1.1rem 1.2rem; }
	.cmap-head h1 { font-size: 1.15rem; }
	.cmap-head p { font-size: 12.5px; margin-bottom: 0; }
	.cmap-locate-cta { padding: .6rem .8rem; }
	.cmap:has(.cmap-panel[data-state="full"]) .cmap-ctrl { opacity: 0; pointer-events: none; }
	.cmap .maplibregl-ctrl-bottom-right, .cmap .maplibregl-ctrl-bottom-left { bottom: calc(var(--sheet-h) + 6px); }
	.cmap.is-nav .cmap-ctrl { top: auto; }
	.cmap-banner { left: 10px; right: 10px; }
}
.cmap-search .ic { z-index: 1; pointer-events: none; }
.cmap.z-low .pin-dot { width: 30px; height: 30px; }
.cmap.z-low .pin-dot .ic { width: 16px; height: 16px; }
.cmap.z-mid .pin:not(.is-major):not(.is-sel) .pin-dot { width: 28px; height: 28px; }
.cmap.z-mid .pin:not(.is-major):not(.is-sel) .pin-dot .ic { width: 15px; height: 15px; }
@media (max-width: 760px) {
	.cmap:has(.cmap-panel[data-state="half"]) .cmap-ctrl, .cmap:has(.cmap-panel[data-state="half"]) .cmap-cats { opacity: 0; pointer-events: none; }
	.cmap-cats { transition: opacity .2s; }
}
/* Google sign-in */
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 700; gap: .7rem; }
.btn-google:hover { background: #f8f9fa; border-color: #c4c7c5; }
.auth-or { display: flex; align-items: center; gap: .8rem; color: var(--faint); font-size: 13px; margin: 1rem 0; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.complete-card { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; border-color: #F2C9DA; background: #FFFAFC; }
.complete-main { flex: 1; min-width: 0; }
.complete-main b { display: block; font-size: 1.05rem; }
.complete-main .muted { margin: .2rem 0 .8rem; font-size: 14px; }

/* ---------- Developer / personal profile ---------- */
.pro-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; background: radial-gradient(60% 80% at 85% 0%, var(--plum-t), transparent 70%), radial-gradient(50% 70% at 0% 100%, var(--sky-t), transparent 70%); }
.pro-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.pro-photo { position: relative; width: clamp(200px, 26vw, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.pro-photo .pro-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.pro-photo .pro-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.4s var(--ease) .2s forwards; }
.pro-photo .pro-ring .a2 { animation-delay: .4s; } .pro-photo .pro-ring .a3 { animation-delay: .6s; }
.pro-photo img, .pro-mono { width: 80%; height: 80%; border-radius: 50%; object-fit: cover; box-shadow: var(--sh-3); }
.pro-mono { display: grid; place-items: center; background: var(--plum-t); color: var(--plum); font-size: 4rem; font-weight: 800; }
.pro-photo .m-cam { left: 12%; bottom: 12%; }
.pro-txt h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin: .6rem 0 .5rem; }
.pro-txt .lead { margin-inline: 0; max-width: 56ch; }
.pro-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pro-links .is-empty { opacity: .55; border-style: dashed; }
.pro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pro-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.3rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); transition: transform .25s var(--ease), box-shadow .25s; }
a.pro-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pro-card b { font-size: 1.08rem; }
.pro-card p { color: var(--mut); font-size: 14.5px; }
.pro-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); margin-bottom: .3rem; }
.pro-ic .ic { width: 26px; height: 26px; }
.pro-about { margin-top: 2.2rem; max-width: 70ch; color: var(--ink-2); line-height: 1.9; }
.m-profile { display: inline-flex; align-items: center; gap: .3rem; font-size: 13px; font-weight: 700; color: var(--plum); margin-bottom: .4rem; }
.m-profile .ic { width: 15px; height: 15px; }
.dev-credit { color: var(--plum); font-weight: 700; }
@media (max-width: 900px) { .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.pro-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.pro-txt .lead { margin-inline: auto; }
	.pro-links { justify-content: center; }
	.pro-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   v3 — member profiles, volunteer card, account, auth, dropdown, FAQ
   ===================================================================== */

/* ---------- Member profile (club "squad" page) ---------- */
.mp-hero { position: relative; overflow: hidden; color: #fff; background:
	radial-gradient(70% 90% at 15% 20%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 65%),
	radial-gradient(60% 70% at 95% 100%, rgba(10, 139, 208, .35), transparent 70%), var(--ink); padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(4.5rem, 8vw, 6rem); }
.mp-num { position: absolute; inset-inline-end: -1.5rem; bottom: -3.5rem; font-family: var(--f-disp); font-weight: 700; font-size: clamp(12rem, 30vw, 24rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .09); pointer-events: none; user-select: none; direction: ltr; }
.mp-in { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mp-crumbs { display: flex; align-items: center; gap: .35rem; font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-bottom: 1.4rem; }
.mp-crumbs a { color: #fff; font-weight: 700; }
.mp-crumbs .ic { width: 14px; height: 14px; }
.mp-role { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: 14px; }
.mp-role .ic { width: 17px; height: 17px; color: var(--saff); }
.mp-name { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.1; margin: .9rem 0 .7rem; letter-spacing: 0; }
.mp-bio { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 52ch; line-height: 1.85; }
.mp-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.mp-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.05rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: 14.5px; transition: background .18s, transform .18s var(--ease); }
.mp-link:hover { background: rgba(255, 255, 255, .16); }
.mp-link:active { transform: scale(.97); }
.mp-link.is-main { background: #fff; color: var(--ink); border-color: #fff; }
.mp-link.is-empty { opacity: .55; border-style: dashed; }
.mp-link .ic { width: 18px; height: 18px; }
.mp-card { position: relative; justify-self: center; width: 100%; max-width: 360px; transform: rotate(-2.5deg); transition: transform .5s var(--ease); }
.mp-card:hover { transform: rotate(0); }
.mp-card .mp-ring { position: absolute; width: 150px; height: 150px; top: -48px; inset-inline-start: -48px; z-index: 2; }
.mp-card .mp-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.3s var(--ease) .3s forwards; }
.mp-card .mp-ring .a2 { animation-delay: .5s; } .mp-card .mp-ring .a3 { animation-delay: .7s; }
.mp-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 26px 26px 0 0; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 60%, #fff), var(--tone)); border: 6px solid #fff; border-bottom: 0; }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; }
.mp-mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-disp); font-size: 8rem; font-weight: 700; color: rgba(255, 255, 255, .9); }
.mp-photo .m-cam { left: 14px; bottom: 14px; z-index: 3; }
.mp-card-foot { display: flex; align-items: center; gap: .6rem; background: #fff; color: var(--ink); border-radius: 0 0 26px 26px; padding: .8rem 1rem; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.mp-card-foot img { border-radius: 50%; }
.mp-card-foot b { display: block; font-size: 14px; line-height: 1.2; }
.mp-card-foot small { color: var(--mut); font-size: 12px; }
.mp-card-num { margin-inline-start: auto; font-family: var(--f-disp); font-weight: 700; font-size: 1.6rem; color: var(--tone-d); direction: ltr; }
.mp-facts { position: relative; z-index: 2; margin-top: -2.6rem; }
.mp-facts-in { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; }
.mp-facts-in > div { padding: 1.1rem 1.3rem; border-inline-start: 1px solid var(--line-2); }
.mp-facts-in > div:first-child { border-inline-start: 0; }
.mp-facts dt { display: flex; align-items: center; gap: .35rem; color: var(--mut); font-size: 13px; margin-bottom: .25rem; }
.mp-facts dt .ic { width: 16px; height: 16px; color: var(--tone-d); }
.mp-facts dd { margin: 0; font-weight: 700; font-size: 1.08rem; }
.mp-facts .mp-skills { grid-column: span 2; }
.mp-skills dd { display: flex; flex-wrap: wrap; gap: .35rem; }
.mp-skills .chip { min-height: 32px; padding: 0 .8rem; font-size: 13px; background: var(--tone-t); color: var(--tone-d); border-color: transparent; font-weight: 700; }
.mp-quote { position: relative; margin: 0 auto; max-width: 820px; text-align: center; padding: 1rem 1rem 0; }
.mp-quote > .ic { width: 34px; height: 34px; color: var(--tone); margin: 0 auto .6rem; }
.mp-quote p { font-family: var(--f-disp); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.6; }
.mp-quote cite { display: block; margin-top: .6rem; color: var(--mut); font-style: normal; font-weight: 700; }
.mp-about { max-width: 760px; }
.mp-about h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.mp-about p { color: var(--ink-2); line-height: 2; font-size: 1.05rem; white-space: pre-line; }
.mp-stack { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.4rem; }
.mp-stack span { display: inline-flex; align-items: center; gap: .35rem; color: var(--mut); font-size: 14px; margin-inline-end: .4rem; }
.mp-stack span .ic { width: 18px; height: 18px; }
.mp-stack b { font-weight: 700; font-size: 13.5px; padding: .3rem .8rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); direction: ltr; }
.mp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; scrollbar-width: thin; }
.mp-mini { scroll-snap-align: start; display: flex; align-items: center; gap: .8rem; padding: .8rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); transition: box-shadow .2s, transform .2s var(--ease); }
.mp-mini:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.mp-mini img, .mp-mini-mono { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.mp-mini-mono { display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); font-family: var(--f-disp); font-size: 1.5rem; font-weight: 700; }
.mp-mini b { display: block; font-size: 15px; }
.mp-mini small { color: var(--mut); font-size: 12.5px; }
.mp-dev .mp-hero { background: radial-gradient(70% 90% at 15% 20%, rgba(163, 19, 79, .6), transparent 65%), radial-gradient(50% 60% at 90% 10%, rgba(245, 154, 11, .28), transparent 70%), radial-gradient(60% 70% at 95% 100%, rgba(10, 139, 208, .4), transparent 70%), var(--ink); }
.m-link { color: inherit; }
.m-link:hover { color: var(--tone-d); }
.m-profile { margin-top: .2rem; }

/* ---------- Volunteer card (public profile + account) ---------- */
.vp-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; background: radial-gradient(60% 80% at 85% 0%, var(--plum-t), transparent 70%), radial-gradient(50% 70% at 0% 100%, var(--sky-t), transparent 70%); }
.vp-in { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.vp-private { grid-column: 1 / -1; }
.vp-private a { color: var(--plum); font-weight: 700; }
.vp-card { position: relative; overflow: hidden; aspect-ratio: 1.586; border-radius: 26px; padding: 1.2rem 1.3rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--tone) 85%, #fff) 0%, transparent 60%), linear-gradient(135deg, var(--tone) 0%, var(--ink) 75%); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tone) 70%, #000), inset 0 0 0 1px rgba(255, 255, 255, .14); isolation: isolate; }
.vp-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%); transform: translateX(-60%); animation: vp-shine 5s var(--ease) 1s infinite; pointer-events: none; }
@keyframes vp-shine { 0%, 70% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.vp-card .vp-ring { position: absolute; width: 260px; height: 260px; inset-inline-end: -70px; top: -70px; opacity: .35; z-index: -1; }
.vp-card .vp-ring .arc { stroke: #fff; }
.vp-card-top { display: flex; align-items: center; gap: .6rem; }
.vp-card-top img { border-radius: 50%; background: #fff; }
.vp-card-top b { display: block; font-size: 14px; line-height: 1.2; }
.vp-card-top small { font-size: 12px; opacity: .75; }
.vp-chip { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: 12px; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.vp-chip .ic { width: 14px; height: 14px; }
.vp-card-mid { display: flex; align-items: center; gap: .9rem; }
.vp-av { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--tone-d); font-family: var(--f-disp); font-size: 1.9rem; font-weight: 700; flex-shrink: 0; }
.vp-card h1, .acc-name { font-family: var(--f-disp); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; display: block; }
.vp-handle { font-size: 13.5px; opacity: .78; text-align: right; letter-spacing: .02em; }
.vp-card-bot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: .7rem; }
.vp-card-bot small { display: block; font-size: 11.5px; opacity: .75; }
.vp-card-bot b { font-family: var(--f-body); font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.vp-card-bot b.sm { font-size: 14px; }
.vp-bio { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 1.2rem; max-width: 50ch; }
.vp-progress { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.vp-progress .hours-ring { width: 170px; height: 170px; }
.vp-stats { display: flex; flex-direction: column; gap: .55rem; }
.vp-stats li { display: flex; align-items: baseline; gap: .5rem; }
.vp-stats b { font-size: 1.6rem; font-weight: 800; min-width: 3.2rem; }
.vp-stats b.sm { font-size: 1rem; display: inline-flex; align-items: center; gap: .3rem; color: var(--tone-d); }
.vp-stats b.sm .ic { width: 18px; height: 18px; }
.vp-stats span { color: var(--mut); font-size: 14px; }
.vp-act { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 2.5rem; }
.badge { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; padding: 1.1rem .8rem 1rem; border-radius: var(--r-lg); background: var(--card); border: 1px dashed var(--line); color: var(--faint); }
.badge-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); margin-bottom: .3rem; }
.badge-ic .ic { width: 28px; height: 28px; }
.badge b { font-size: 14.5px; color: var(--mut); }
.badge small { font-size: 12px; line-height: 1.5; }
.badge.is-on { border-style: solid; border-color: var(--line-2); color: var(--ink-2); box-shadow: var(--sh-1); }
.badge.is-on b { color: var(--ink); }
.badge.is-on .badge-ic { color: #fff; background: conic-gradient(from 200deg, var(--plum), var(--saff), var(--sky), var(--plum)); box-shadow: 0 10px 20px -10px rgba(163, 19, 79, .6); }
.vp-timeline { position: relative; display: flex; flex-direction: column; gap: .6rem; padding-inline-start: 1.4rem; margin-bottom: 2rem; }
.vp-timeline::before { content: ''; position: absolute; inset-inline-start: .4rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); border-radius: 2px; }
.vp-timeline li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); }
.vp-dot { position: absolute; inset-inline-start: -1.32rem; width: 14px; height: 14px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px var(--paper); }
.vp-timeline a { flex: 1; min-width: 0; }
.vp-timeline a b { display: block; }
.vp-timeline a small { color: var(--mut); font-size: 13px; }
.vp-h { color: var(--ok); font-weight: 800; white-space: nowrap; }

/* ---------- Account ---------- */
.acc { padding: clamp(1.5rem, 4vw, 2.6rem) 0 3rem; }
.acc-in { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.acc-side { position: sticky; top: calc(var(--hdr) + 16px); display: flex; flex-direction: column; gap: 1rem; }
.acc-card { aspect-ratio: auto; min-height: 200px; gap: 1rem; }
.acc-name { font-size: 1.35rem !important; }
.acc-nav { display: flex; flex-direction: column; gap: .2rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: .45rem; }
.acc-nav a { display: flex; align-items: center; gap: .65rem; padding: .62rem .8rem; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.acc-nav a:hover { background: var(--mist); }
.acc-nav a[aria-current] { background: var(--ink); color: #fff; }
.acc-nav .ic { width: 19px; height: 19px; }
.acc-nav .acc-out { color: var(--bad); margin-top: .2rem; border-top: 1px solid var(--line-2); border-radius: 0 0 12px 12px; }
.acc-sec { scroll-margin-top: calc(var(--hdr) + 70px); margin-top: 2.6rem; }
.acc-hello { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; scroll-margin-top: calc(var(--hdr) + 70px); }
.acc-greet { color: var(--plum); font-weight: 700; }
.acc-hello h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.15; margin: .1rem 0 .4rem; }
.acc-hello .lead { color: var(--ink-2); }
.acc-goal { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.acc-goal .hours-ring { width: 170px; height: 170px; }
.acc-tiles { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: .7rem; margin-bottom: 1.2rem; }
.acc-tile { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.acc-tile .ic { width: 22px; height: 22px; color: var(--plum); margin-bottom: .2rem; }
.acc-tile b { font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.acc-tile b small { font-size: .9rem; color: var(--faint); font-weight: 700; }
.acc-tile span { color: var(--mut); font-size: 13px; }
.acc-next { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .25rem; padding: 1.05rem 1.2rem; border-radius: var(--r-lg); color: #fff; background: linear-gradient(135deg, var(--tone) 0%, var(--ink) 90%); box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--tone) 80%, #000); }
.acc-next.is-empty { background: linear-gradient(135deg, var(--ink-2), var(--ink)); }
.acc-k { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 700; opacity: .85; }
.acc-k .ic { width: 16px; height: 16px; }
.acc-next > b { font-family: var(--f-disp); font-size: 1.2rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-next > small { opacity: .8; font-size: 13px; }
.acc-cd { display: flex; gap: .4rem; margin-top: .45rem; }
.acc-cd span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: .3rem .4rem; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.acc-cd b { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.acc-cd small { font-size: 11px; opacity: .8; }
.acc-h3 { display: flex; align-items: center; gap: .4rem; font-size: 1.1rem; margin: 1.6rem 0 .8rem; }
.acc-h3 .ic { color: var(--saff-d); }
.acc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.acc-rail > * { scroll-snap-align: start; }
.acc-main .badges { margin-bottom: 0; }
.acc-main .push-card { margin-bottom: 0; }
.acc-main .history { margin-bottom: 0; }
.acc-public { display: flex; flex-direction: column; gap: 1rem; }
.acc-public-more { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line-2); }
.acc-public-more .fld { margin-bottom: .6rem; }
.url-fld { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); overflow: hidden; }
.url-fld em { font-style: normal; color: var(--mut); padding: 0 .2rem 0 .9rem; font-size: 14px; white-space: nowrap; }
.url-fld input { border: 0 !important; box-shadow: none !important; padding-inline-start: 0 !important; min-width: 0; }
.url-fld:focus-within { border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.tgl { display: flex; align-items: center; gap: .8rem; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl-t { position: relative; width: 48px; height: 28px; border-radius: 99px; background: #d8d0e2; flex-shrink: 0; transition: background .2s; }
.tgl-t::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.tgl input:checked + .tgl-t { background: var(--ok); }
.tgl input:checked + .tgl-t::after { transform: translateX(-20px); }
.tgl input:focus-visible + .tgl-t { outline: 2.5px solid var(--sky); outline-offset: 2px; }
.tgl b { display: block; font-weight: 700; }
.tgl small { color: var(--mut); font-size: 13px; }

/* ---------- Dropdown + password field ---------- */
.sel { position: relative; display: flex; align-items: center; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: .7rem 3.4rem .7rem 2.6rem !important; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sel select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--plum-t); }
.sel-ic { position: absolute; inset-inline-start: .5rem; pointer-events: none; }
.sel-ic i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--tone-t); color: var(--tone-d); }
.sel-ic .ic { width: 21px; height: 21px; }
.sel-chev { position: absolute; inset-inline-end: .9rem; width: 18px; height: 18px; transform: rotate(90deg); color: var(--mut); pointer-events: none; }
.pw-fld { position: relative; display: block; }
.pw-fld input { padding-inline-end: 3rem !important; }
.pw-eye { position: absolute; inset-inline-end: .35rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--mut); display: grid; place-items: center; }
.pw-eye:hover { background: var(--mist); }
.pw-eye[aria-pressed="true"] { color: var(--plum); }

/* ---------- Auth (login / join) ---------- */
.auth2 { padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem); }
.auth2-in { width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; min-height: min(760px, calc(100vh - var(--hdr) - 60px)); background: var(--card); border: 1px solid var(--line-2); border-radius: 32px; box-shadow: var(--sh-3); overflow: hidden; }
.auth2-card { border: 0; box-shadow: none; border-radius: 0; align-self: center; width: min(460px, 100%); justify-self: center; padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2rem); text-align: right; }
.auth2-card .auth-logo { margin: 0 0 1rem; display: none; }
.auth2-card h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.ap { order: 2; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 3vw, 2.4rem); color: #fff; background: radial-gradient(80% 60% at 100% 0%, rgba(163, 19, 79, .75), transparent 65%), radial-gradient(70% 60% at 0% 100%, rgba(10, 139, 208, .55), transparent 70%), radial-gradient(40% 40% at 20% 30%, rgba(245, 154, 11, .3), transparent 70%), var(--ink); }
.ap-bg { position: absolute; inset: 0; pointer-events: none; }
.ap-ring { position: absolute; width: 520px; height: 520px; inset-inline-start: -170px; bottom: -190px; opacity: .55; animation: ap-spin 60s linear infinite; }
.ap-ring2 { width: 300px; height: 300px; inset-inline-start: auto; inset-inline-end: -110px; top: -110px; bottom: auto; opacity: .35; animation-direction: reverse; animation-duration: 45s; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-top, .ap-mid, .ap-bot { position: relative; }
.ap-top { display: flex; align-items: center; justify-content: space-between; }
.ap-top img:first-child { border-radius: 50%; background: #fff; }
.ap-crest { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.ap-mid h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.3; color: #fff; }
.ap-mid > p { margin-top: .7rem; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.ap-list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.6rem; }
.ap-list li { display: flex; gap: .8rem; align-items: flex-start; }
.ap-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .12); flex-shrink: 0; }
.ap-list b { display: block; font-size: 1.02rem; }
.ap-list span { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.6; }
.ap-next { display: flex; align-items: center; gap: .8rem; padding: .75rem; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); margin-bottom: 1rem; transition: background .2s; }
.ap-next:hover { background: rgba(255, 255, 255, .16); }
.ap-stub { width: 54px; height: 58px; border-radius: 14px; background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; }
.ap-stub b { font-size: 1.4rem; font-weight: 800; }
.ap-stub small { font-size: 11.5px; color: var(--mut); }
.ap-next small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.ap-next span > b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.ap-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ap-stats div { padding: .6rem .7rem; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.ap-stats dt { font-size: 12px; color: rgba(255, 255, 255, .7); }
.ap-stats dd { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }

/* ---------- FAQ (home) ---------- */
.sec-faq { background: var(--card); border-block: 1px solid var(--line-2); }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr) + 24px); }
.faq-head .sec-head { display: block; }
.faq { display: flex; flex-direction: column; gap: .6rem; }
.faq-q { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--paper); transition: background .2s, border-color .2s; }
.faq-q[open] { background: var(--card); border-color: var(--line); box-shadow: var(--sh-1); }
.faq-q summary { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary span { flex: 1; }
.faq-q summary i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); flex-shrink: 0; transition: transform .3s var(--ease), background .2s; }
.faq-q[open] summary i { transform: rotate(45deg); background: var(--plum); color: #fff; }
.faq-q summary .ic { width: 18px; height: 18px; }
.faq-q p { padding: 0 1.2rem 1.15rem; color: var(--ink-2); line-height: 1.9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.acc-in { grid-template-columns: 290px minmax(0, 1fr); }
	.acc-tiles { grid-template-columns: repeat(3, 1fr); }
	.acc-next { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.mp-in { grid-template-columns: 1fr; }
	.mp-card { order: -1; max-width: 300px; }
	.mp-facts .mp-skills { grid-column: auto; }
	.vp-in { grid-template-columns: 1fr; }
	.vp-card { max-width: 460px; width: 100%; justify-self: center; }
	.auth2-in { grid-template-columns: 1fr; min-height: 0; border-radius: 0; border: 0; box-shadow: none; background: transparent; width: min(520px, 100% - 32px); }
	.ap { display: none; }
	.auth2-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); width: 100%; }
	.auth2-card .auth-logo { display: grid; margin: 0 auto 1rem; }
	.auth2-card h1, .auth2-card > .muted { text-align: center; }
	.faq-in { grid-template-columns: 1fr; }
	.faq-head { position: static; }
	.acc-in { grid-template-columns: 1fr; }
	.acc-side { position: static; }
	.acc-card { max-width: 460px; }
	.acc-nav { position: sticky; top: calc(var(--hdr) - 1px); z-index: 30; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: .3rem; box-shadow: var(--sh-1); }
	.acc-nav::-webkit-scrollbar { display: none; }
	.acc-nav a { flex-shrink: 0; padding: .45rem .85rem; border-radius: 999px; font-size: 14px; white-space: nowrap; }
	.acc-nav .acc-out { margin-top: 0; border-top: 0; border-radius: 999px; }
}
@media (max-width: 760px) {
	.mp-hero { padding-top: 1.4rem; text-align: center; }
	.mp-crumbs, .mp-links { justify-content: center; }
	.mp-bio { margin-inline: auto; }
	.mp-card { transform: rotate(-2deg); max-width: 250px; }
	.mp-card .mp-ring { width: 110px; height: 110px; top: -34px; inset-inline-start: -34px; }
	.mp-facts-in { grid-template-columns: 1fr 1fr; }
	.mp-facts-in > div { border-inline-start: 0; border-top: 1px solid var(--line-2); }
	.mp-facts-in > div:nth-child(-n+2) { border-top: 0; }
	.mp-facts-in > div:nth-child(even) { border-inline-start: 1px solid var(--line-2); }
	.mp-facts .mp-skills { grid-column: 1 / -1; border-inline-start: 0 !important; }
	.mp-rail { grid-auto-columns: 78%; }
	.acc-tiles { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
	.acc-tile { padding: .8rem; }
	.acc-tile b { font-size: 1.5rem; }
	.acc-hello { flex-direction: column; align-items: stretch; text-align: center; }
	.acc-goal .hours-ring { width: 150px; height: 150px; }
	.acc-rail { grid-auto-columns: 86%; }
	.vp-progress { justify-content: center; }
	.vp-act { justify-content: center; }
	.vp-side { text-align: center; }
	.vp-bio { margin-inline: auto; }
	.vp-card { padding: 1rem 1.05rem; border-radius: 22px; }
	.vp-av { width: 50px; height: 50px; font-size: 1.6rem; border-radius: 15px; }
	.vp-card-bot b { font-size: 1.15rem; }
	.badges { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.vp-card::after, .ap-ring { animation: none; }
	.mp-card { transform: none; }
}
/* v3 fixes */
.sel-chev { top: 50%; margin-top: -9px; transform: rotate(-90deg); }
.ap-next .ap-stub small { color: var(--mut); }
.acc-rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); overflow: visible; }
.acc-card .vp-card-bot div { min-width: 0; }
.mp-share { display: flex; align-items: center; justify-content: center; }
.mp-share .btn { width: 100%; }
@media (max-width: 760px) {
	.acc-rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
}
.acc-side, .acc-main { min-width: 0; }
@media (max-width: 760px) { .mp-num { inset-inline-end: 0; font-size: 10rem; bottom: -2rem; } }
