:root{
  --bg:#f3f4f1;
  --card:#ffffff;
  --text:#0f1724;
  --muted:#6b7280;
  --accent:#111827;
  --border:#e5e7eb;
  --soft:#f3f4f6;
  --success:#2ECC71;
  --auth-ink:#ffffff;
  --auth-panel:#fbfbf8;
  --auth-accent:#2ECC71;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Segoe UI,Roboto,'Helvetica Neue',Arial; background:linear-gradient(180deg,#f7f8fc 0%, #eef1f7 100%); color:var(--text); margin:0; min-height:100vh}
a{color:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px, 0.50fr) minmax(420px, 1.1fr);padding:14px;gap:14px;background:#efefe9}
.auth-hero,.auth-panel{border-radius:36px;overflow:hidden;position:relative;min-height:calc(100vh - 28px)}
.auth-hero{background:
  linear-gradient(180deg, rgba(20,18,16,.18), rgba(20,18,16,.66)),
  linear-gradient(135deg, #8d7764 0%, #b59b84 34%, #a18c76 52%, #8f7d6b 100%);
  color:var(--auth-ink);
  padding:28px 32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.auth-hero::before{content:"";position:absolute;inset:-8%;background:
  linear-gradient(180deg, rgba(20,18,16,.14), rgba(20,18,16,.34)),
  url("./be43d29fd1e83f24e09933a673054eee1d0b61fa.png") center center / cover no-repeat;
  filter:blur(12px) saturate(.92) contrast(.95);opacity:.82;transform:scale(1.08);
}
.auth-hero::after{content:"";position:absolute;left:-7%;right:-7%;bottom:-12%;height:52%;border:16px solid rgba(255,255,255,.96);border-top-color:transparent;border-right-color:transparent;border-radius:0 0 0 140px;transform:rotate(-4deg);opacity:.96;pointer-events:none}
.auth-hero > *{position:relative;z-index:1}
.auth-hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-brand{display:flex;align-items:flex-end;gap:10px;position:relative}
.auth-brand-logo{width:54px;height:auto;display:block;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18))}
.auth-help{position:fixed;top:28px;right:28px;z-index:20;font-size:13px;text-decoration:none;opacity:.9;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22); color:#bec0c4}
.auth-hero-copy{max-width:420px;margin-bottom:auto;padding-top:12vh}
.auth-hero-copy h1{margin:0;font-size:clamp(42px, 4vw, 68px);line-height:.95;letter-spacing:-.06em;font-weight:800}
.auth-hero-footer{max-width:380px;font-size:12px;line-height:1.45;opacity:.95;margin:0;margin-bottom:38px}
.auth-hero-footer a{text-underline-offset:2px}
.auth-socials{display:flex;align-items:center;gap:20px;font-weight:700;opacity:.9}
.auth-social-icon{width:20px;height:20px;display:block;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,.12))}
.auth-panel{background:var(--auth-panel);display:flex;align-items:center;justify-content:center;padding:24px}
.auth-panel-card{width:min(100%, 520px);padding:24px 18px 18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.auth-panel-badge{width:44px;height:44px;border-radius:50%;background:linear-gradient(180deg,#5bbd7d,#1f7d52);box-shadow:0 10px 24px rgba(31,125,82,.26);margin-bottom:26px}
.auth-panel-card h2{margin:0;font-size:clamp(34px, 3.4vw, 56px);line-height:.98;letter-spacing:-.05em;max-width:520px}
.auth-panel-card h2 span{color:var(--auth-accent)}
.auth-panel-subtitle{max-width:420px;color:#a2a6af;font-size:14px;line-height:1.45;margin:22px 0 34px}
.auth-form{width:min(100%, 400px);display:flex;flex-direction:column;gap:16px}
.input-shell{position:relative}
.input-shell input{width:100%;height:40px;border-radius:8px;border:1px solid #d1d5db;background:#ffffff;padding:8px 40px 8px 12px;color:var(--text);outline:none;box-shadow:none}
.input-shell input::placeholder{color:#9aa0ab}
.input-shell input:focus{border-color:var(--success);box-shadow:0 6px 18px rgba(15,118,110,0.08)}
.input-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#b3b7bd;font-size:14px}
.auth-submit{height:40px;border:none;border-radius:10px;background:#e2e6e1;color:#111827;font-weight:700;cursor:pointer;box-shadow:none;transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;padding:0 18px}
.auth-submit:hover{transform:translateY(-1px)}
.auth-submit:active{transform:translateY(0)}
.auth-submit.enabled{background:var(--success);color:#fff;box-shadow:0 10px 24px rgba(15,118,110,0.14)}
.auth-submit:disabled{opacity:.58;cursor:not-allowed}
.auth-switch{margin:42px auto 0;text-align:center;color:#72747b;font-size:13px;font-weight:600}
.auth-switch a{font-weight:800;text-decoration:none;color:#111827}
.login-error{color:#d92d20;font-size:13px;min-height:18px}
.dashboard-page{background:linear-gradient(180deg,#f7f8fc 0%, #eef1f7 100%);min-height:100vh;display:flex;align-items:flex-start;gap:20px;padding:14px}
.dashboard-sidebar{width:64px;flex:0 0 64px;display:flex;flex-direction:column;align-items:center;gap:10px;position:sticky;top:14px}
.dashboard-sidebar-brand{width:100%;display:flex;justify-content:center;padding:2px 0 4px;text-decoration:none}
.dashboard-sidebar-brand-logo{width:42px;height:auto;display:block;filter:drop-shadow(0 8px 14px rgba(15,23,36,.12))}
.dashboard-rail{width:100%;background:#d9d9d9;border-radius:28px;padding:14px 10px 18px;display:flex;justify-content:center;box-shadow:0 14px 36px rgba(15,23,36,0.08)}
.dashboard-nav{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px}
.dashboard-nav-item{width:100%;min-height:48px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:#f7f7f7;position:relative;transition:transform .12s ease, background .12s ease, color .12s ease;opacity:.92}
.dashboard-nav-item:hover{transform:translateY(-1px)}
.dashboard-nav-item.active{background:transparent;color:#111827;box-shadow:none}
.dashboard-nav-item.coming-soon{color:#f9fafb;opacity:.8}
.dashboard-nav-item.active .dashboard-nav-icon{filter:brightness(0) saturate(100%)}
.dashboard-nav-icon{width:22px;height:22px;display:block;object-fit:contain;filter:brightness(0) invert(1)}
.dashboard-nav-label{display:none;position:absolute;left:74px;top:50%;transform:translateY(-50%);background:#2f3135;color:#fff;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 10px 22px rgba(15,23,36,.18)}
.dashboard-nav-item:hover .dashboard-nav-label,.dashboard-nav-item:focus-visible .dashboard-nav-label{display:block}
.dashboard-sidebar-logout{width:36px;height:36px;border:none;border-radius:11px;background:transparent;color:#111827;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s ease, transform .12s ease;align-self:center;padding:0;position:relative;margin-top:16px}
.dashboard-sidebar-logout:hover{background:rgba(255,255,255,.35);transform:translateY(-1px)}
.dashboard-sidebar-logout:hover::after,.dashboard-sidebar-logout:focus-visible::after{content:attr(data-tooltip);position:absolute;left:58px;top:50%;transform:translateY(-50%);background:#2f3135;color:#fff;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 10px 22px rgba(15,23,36,.18);z-index:2}
.dashboard-sidebar-logout-icon{width:22px;height:22px;display:block;object-fit:contain;filter:brightness(0) saturate(100%)}
.dashboard-sidebar::after{content:"";display:block;height:10px}
.dashboard-content{flex:1;min-width:0}
.container{max-width:1100px;margin:10px auto;padding:18px}
header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.eyebrow{margin:0 0 6px 0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
header h1{margin:0;font-size:24px}
.lead{color:var(--muted);margin:12px 0 18px}
.view-block{margin-bottom:18px}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.stat{background:var(--card);padding:20px;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 12px 30px rgba(15,23,36,0.06);border:1px solid rgba(229,231,235,.8)}
.number{font-size:34px;font-weight:800;margin-bottom:8px;line-height:1}
.label{color:var(--muted);font-size:13px}
.btn{background:#111827;color:#fff;border:none;padding:10px 14px;border-radius:10px;cursor:pointer;font-weight:600}
.section-card{background:rgba(255,255,255,.9);border:1px solid rgba(229,231,235,.85);border-radius:24px;padding:22px;box-shadow:0 14px 36px rgba(15,23,36,0.08)}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.section-kicker{margin:0 0 6px 0;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.section-head h2{margin:0;font-size:22px}
.section-subtitle{margin:0;color:var(--muted);font-size:14px;text-align:right}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}
.filter-block{background:var(--soft);border:1px solid var(--border);border-radius:18px;padding:16px}
.filter-label{display:block;font-size:13px;color:var(--muted);margin-bottom:10px;font-weight:600}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--border);background:#fff;color:var(--text);padding:8px 12px;border-radius:999px;cursor:pointer;font-size:13px}
.chip.active{background:var(--accent);border-color:var(--accent);color:#fff}
.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.summary-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(15,23,36,0.05)}
.summary-value{font-size:30px;font-weight:800;line-height:1;margin-bottom:6px}
.summary-label{font-size:13px;color:var(--muted)}
.metrics-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.list-panel{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(15,23,36,0.05)}
.list-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:14px}
.list-panel-head h3{margin:0;font-size:16px}
.muted{color:var(--muted);font-size:13px}
.metric-list{display:flex;flex-direction:column;gap:12px}
.metric-item{border:1px solid var(--border);border-radius:14px;padding:14px;background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%)}
.metric-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.metric-title{font-weight:700}
.metric-meta{color:var(--muted);font-size:13px}
.progress{margin-top:10px;height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}
.progress-fill{height:100%;background:linear-gradient(90deg,#111827 0%, #0f766e 100%);border-radius:999px}
.section-card > #events-container,
.section-card > #associations-container,
.section-card > #requests-container{display:flex;flex-direction:column;gap:14px}
@media(max-width:1100px){.auth-page{grid-template-columns:1fr}.auth-hero,.auth-panel{min-height:auto;min-height:calc(50vh - 14px)}.dashboard-page{gap:16px;padding:12px}.dashboard-sidebar{width:60px;flex-basis:60px;top:12px}.dashboard-rail{padding:12px 8px 16px;border-radius:24px}.dashboard-nav-item{min-height:46px}.dashboard-nav-label{left:68px}.dashboard-sidebar-brand-logo{width:38px}.dashboard-sidebar-logout{margin-top:14px}.dashboard-sidebar-logout:hover::after,.dashboard-sidebar-logout:focus-visible::after{left:54px}.container{padding:16px;margin:8px auto}.section-head{flex-direction:column}.section-subtitle{text-align:left}}
@media(max-width:900px){.stats-grid,.summary-grid,.metrics-columns,.filters{grid-template-columns:1fr}}
@media(max-width:700px){.auth-page{padding:0;gap:0}.auth-hero,.auth-panel{border-radius:0;min-height:auto}.auth-help{top:12px;right:12px;padding:8px 12px}.auth-hero{padding:22px}.auth-hero-copy{padding-top:10vh}.auth-panel{padding:22px}.auth-panel-card{padding:12px 0}.dashboard-page{padding:10px;gap:10px}.dashboard-sidebar{width:56px;flex-basis:56px;top:10px}.dashboard-rail{padding:10px 7px 16px;border-radius:20px}.dashboard-sidebar-brand-logo{width:34px}.dashboard-nav-item{min-height:42px;border-radius:12px}.dashboard-nav-icon{width:18px;height:18px}.dashboard-sidebar-logout{width:32px;height:32px;margin-top:12px}.dashboard-sidebar-logout-icon{width:18px;height:18px}.dashboard-nav-label{left:62px;font-size:12px}.dashboard-sidebar-logout:hover::after,.dashboard-sidebar-logout:focus-visible::after{left:50px;font-size:12px;padding:6px 10px}.container{padding:12px;margin:0}.section-head{flex-direction:column}.section-subtitle{text-align:left}}