:root { color-scheme:light; --ink:#18332b; --green:#1f5949; --deep:#123e33; --red:#d92f43; --lime:#dce86d; --cream:#f4f0e7; --paper:#fcfcfa; --muted:#68746e; --line:#d8ded8; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100vh; font-family:"DM Sans",sans-serif; color:var(--ink); background:var(--paper); }
.site-header { background:white; border-bottom:4px solid var(--red); }
.header-inner { width:min(1120px,100%); margin:auto; }
.brand { display:block; width:100%; }
.brand-group-art { display:block; width:100%; height:auto; }
.page-shell { width:min(1040px,calc(100% - 48px)); margin:auto; padding:38px 0 56px; }
.hero { max-width:700px; margin-bottom:24px; }
.eyebrow,.step { margin:0 0 6px; color:#547969; text-transform:uppercase; letter-spacing:.15em; font-size:11px; font-weight:700; }
h1,h2 { font-family:"Newsreader",serif; font-weight:600; letter-spacing:-.035em; }
h1 { margin:0 0 9px; font-size:clamp(38px,5vw,52px); line-height:1; }
.hero>p:last-child { max-width:700px; margin:0; color:var(--muted); font-size:16px; line-height:1.5; }
.panel { margin-top:16px; padding:clamp(22px,3vw,32px); border:1px solid var(--line); border-radius:13px; background:white; box-shadow:0 10px 30px rgba(24,51,43,.05); }
.section-heading { display:grid; grid-template-columns:1.25fr .75fr; align-items:end; gap:24px; margin-bottom:20px; }
h2 { margin:0; font-size:clamp(28px,4vw,36px); }
.leader-browser h2,.leader-list-title,.secondary-button { font-family:"Newsreader",serif; font-size:20px; font-weight:600; letter-spacing:-.02em; }
.join-title { display:flex; align-items:center; gap:8px; }
.join-title img { width:34px; height:34px; object-fit:contain; }
.section-heading>p { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.follow-controls,.field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.follow-controls { display:block; }
.follow-controls>label,.follow-controls .event-control>label { grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; }
.event-control label { margin-bottom:7px; }
.event-actions { display:flex; justify-content:flex-end; gap:14px; margin-bottom:19px; }
.event-control .link-button { width:auto; margin:0; padding:0; color:#477465; background:transparent; font-size:12px; font-weight:700; }
.event-control .link-button:hover { color:var(--deep); background:transparent; transform:none; text-decoration:underline; }
.event-control .delete-event-button { color:#9b332d; }
.event-control .delete-event-button[hidden] { display:none; }
label { display:grid; gap:6px; margin-bottom:13px; font-size:12px; font-weight:700; }
input,select,textarea { width:100%; border:1px solid var(--line); border-radius:7px; background:white; padding:10px 12px; color:var(--ink); font:inherit; font-size:14px; outline:none; transition:.2s; }
textarea { resize:vertical; line-height:1.45; }
input:focus,select:focus,textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,89,73,.11); }
.hidden-field { position:absolute; left:-9999px; }
.pace-range { min-width:0; margin:0 0 13px; padding:0; border:0; }
.pace-range legend { margin-bottom:6px; font-size:12px; font-weight:700; }
.pace-range>div { display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:8px; }
.pace-range label { margin:0; font-size:11px; color:var(--muted); }
.pace-range>div>span { padding-bottom:10px; }
.input-unit { display:flex; align-items:center; border:1px solid var(--line); border-radius:7px; background:white; overflow:hidden; }
.input-unit:focus-within { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,89,73,.11); }
.input-unit input { border:0; box-shadow:none!important; }
.input-unit>span { padding-right:12px; color:var(--muted); font-size:13px; }
.starting-location { min-width:0; }
.starting-location label { margin-bottom:7px; }
.map-link { display:inline-block; margin:0 0 10px; color:var(--green); font-size:12px; font-weight:700; }
button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; border:0; border-radius:7px; padding:12px 16px; background:var(--ink); color:white; font:inherit; font-weight:700; cursor:pointer; transition:.2s; }
button:hover { background:var(--green); transform:translateY(-1px); }
button:disabled { opacity:.6; cursor:wait; transform:none; }
.message { display:none; margin:0 0 16px; padding:12px 14px; border-radius:7px; font-size:14px; }
.message.error { display:block; color:#8d2828; background:#fbe9e7; }
.message.success { display:block; color:#18513e; background:#e5f4eb; }
.panel-status { margin:16px 0 0; }
.leader-list-title { display:flex; align-items:center; gap:8px; margin:3px 0 8px; }
.leader-list-title img { width:34px; height:34px; object-fit:contain; }
.leader-list { display:grid; gap:0; overflow:hidden; border:1px solid var(--line); border-radius:11px; }
.leader-card { min-width:0; padding:14px 16px; border:0; border-bottom:1px solid var(--line); background:#fff; }
.leader-card:nth-child(even) { background:#f2f6f3; }
.leader-card:last-child { border-bottom:0; }
.leader-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.leader-identity { display:flex; min-width:0; align-items:center; gap:7px; }
.leader-card h3 { margin:0; font-size:18px; overflow-wrap:anywhere; }
.leader-card button { flex:none; width:auto; padding:9px 13px; font-size:12px; }
.leader-card .follow-icon-button { gap:4px; min-width:34px; height:32px; padding:5px 8px; border-radius:999px; color:var(--deep); background:rgba(220,232,109,.55); }
.leader-card .follow-icon-button:hover { color:white; background:var(--green); }
.leader-card .follow-icon-button.is-following { color:white; background:var(--green); }
.leader-card .follow-icon-button.is-following:hover { background:#9b332d; }
.follow-icon-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.follow-icon-button span { min-width:1ch; font-size:11px; line-height:1; }
.leader-actions { display:flex; align-items:center; gap:7px; }
.leader-card .remove-button { width:32px; height:32px; padding:6px; color:#8d2828; background:transparent; box-shadow:inset 0 0 0 1px #d7a9a5; }
.leader-card .remove-button:hover { color:white; background:#9b332d; box-shadow:none; }
.leader-card .edit-button { width:32px; height:32px; padding:6px; color:var(--deep); background:transparent; box-shadow:inset 0 0 0 1px var(--line); }
.leader-card .edit-button:hover { color:white; background:var(--green); box-shadow:none; }
.remove-button svg,.edit-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.leader-details { display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:8px; color:var(--muted); font-size:12px; }
.leader-details span { white-space:nowrap; }
.leader-details .location-detail-link { color:var(--green); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.leader-details .location-detail-link:hover { color:var(--red); }
.leader-notes { margin:9px 0 0; padding:9px 11px; border-radius:7px; color:var(--ink); background:var(--cream); font-size:12px; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
.slogan-card .leader-card-head { align-items:flex-start; }
.slogan-card h3 { font-family:"Newsreader",serif; font-size:20px; }
.slogan-heading { margin-bottom:14px; }
.slogan-actions { gap:22px; }
.inline-form { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.followers { display:flex; align-items:flex-start; gap:10px; margin-top:10px; padding-top:9px; border-top:1px solid rgba(24,51,43,.1); color:var(--muted); font-size:12px; }
.followers ul { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.followers li { padding:3px 8px; border-radius:999px; color:var(--deep); background:rgba(220,232,109,.5); }
.empty-state { padding:30px; margin:0; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:10px; }
.add-group-callout { display:flex; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.outline-button { width:auto; flex:none; padding:10px 13px; color:var(--deep); background:white; box-shadow:inset 0 0 0 1px var(--line); font-size:13px; }
.outline-button:hover { color:white; background:var(--green); box-shadow:none; }
.create-event-form[hidden] { display:none; }
.create-event-form { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:12px; margin-top:14px; padding:14px; border-radius:8px; background:var(--cream); }
.create-event-form label { margin:0; }
.create-event-form button { width:auto; }
.secondary-button { justify-content:flex-start; width:auto; flex:none; padding:6px 0; color:var(--deep); background:transparent; }
.secondary-button:hover { color:var(--green); background:transparent; transform:none; }
.lead-icon { width:30px; height:26px; object-fit:contain; }
.registration-panel[hidden] { display:none; }
.registration-panel { scroll-margin-top:24px; }
.leader-browser>.registration-panel { margin:20px 0 0; padding:20px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
.registration-actions { display:flex; align-items:stretch; gap:10px; }
.registration-actions>button[type="submit"] { flex:1; }
.registration-actions>.cancel-button { width:auto; flex:none; color:var(--deep); background:transparent; box-shadow:inset 0 0 0 1px var(--line); }
.registration-actions>.cancel-button:hover { color:white; background:var(--green); box-shadow:none; }
.selected-event { margin:-4px 0 15px; padding:9px 12px; border-radius:7px; color:var(--muted); background:var(--cream); font-size:13px; }
.selected-event strong { color:var(--ink); }
form { width:100%; }
.privacy { margin:13px 0 0; text-align:center; color:var(--muted); font-size:13px; }
.progress-overlay { position:fixed; z-index:1000; inset:0; display:grid; place-items:center; padding:24px; background:rgba(18,62,51,.42); backdrop-filter:blur(2px); }
.progress-dialog { width:min(360px,100%); padding:22px; border-radius:12px; background:white; box-shadow:0 18px 55px rgba(18,62,51,.25); }
.progress-dialog p { margin:0 0 13px; color:var(--ink); font-size:14px; font-weight:700; }
.progress-track { height:7px; overflow:hidden; border-radius:999px; background:var(--line); }
.progress-track span { display:block; width:42%; height:100%; border-radius:inherit; background:var(--red); animation:progress-slide 1.05s ease-in-out infinite; }
@keyframes progress-slide { from { transform:translateX(-110%); } to { transform:translateX(340%); } }
footer { padding:19px 24px; color:#a9c0b7; background:var(--deep); text-align:center; font-size:12px; }
footer p { margin:0; }
@media (max-width:700px) { .page-shell { width:min(100% - 32px,1040px); padding:30px 0 44px; } .section-heading { grid-template-columns:1fr; gap:7px; } .add-group-callout { align-items:flex-start; flex-direction:column; } .secondary-button,.outline-button { width:100%; } }
@media (max-width:480px) { .follow-controls,.field-row,.create-event-form { grid-template-columns:1fr; gap:0; } .create-event-form button { width:100%; margin-top:10px; } .panel { padding:24px 19px; border-radius:12px; } .followers { align-items:flex-start; flex-direction:column; } h1 { font-size:42px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none!important; } .progress-track span { width:100%; animation:none; } }
