:root {
  --ink: #12252d;
  --muted: #5d6d73;
  --line: #dfe7e8;
  --paper: #ffffff;
  --mist: #f3f8f7;
  --brand: #087f72;
  --brand-dark: #075f57;
  --accent: #d6f05a;
  --danger: #a73636;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 8% 8%, #d9f1eb 0, transparent 31rem), var(--mist); }
button, input { font: inherit; }
.site-header { height: 72px; padding: 0 clamp(22px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(18,37,45,.09); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand-mark { width: 42px; height: 42px; display: block; border-radius: 11px; box-shadow: 0 5px 16px rgba(5, 32, 55, .2); }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero { min-height: calc(100vh - 132px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: clamp(40px, 7vw, 100px); padding: 62px 0; }
.eyebrow { margin: 0 0 12px; color: var(--brand-dark); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6.5vw, 6.4rem); line-height: .94; letter-spacing: -.055em; }
.lead { max-width: 620px; margin: 28px 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span, .status-pill { border: 1px solid #bfd4d1; border-radius: 999px; padding: 8px 12px; color: var(--brand-dark); background: rgba(255,255,255,.58); font-size: .82rem; font-weight: 700; }
.auth-card { background: rgba(255,255,255,.9); border: 1px solid rgba(18,37,45,.12); border-radius: 24px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 25px 80px rgba(18, 55, 54, .12); backdrop-filter: blur(12px); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin: -8px 0 28px; overflow-x: auto; }
.tab { border: 0; border-bottom: 2px solid transparent; padding: 13px 10px; color: var(--muted); background: transparent; cursor: pointer; white-space: nowrap; }
.tab.active { color: var(--brand-dark); border-color: var(--brand); font-weight: 800; }
.panel { display: none; }
.panel.active { display: block; }
h2 { margin: 0 0 8px; font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.panel > p, #memberOrganization { margin: 0 0 24px; color: var(--muted); line-height: 1.5; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; color: #32474e; font-size: .83rem; font-weight: 750; }
input { width: 100%; border: 1px solid #cbd8da; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: white; outline: none; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,114,.12); }
.button { border: 0; border-radius: 10px; padding: 12px 16px; cursor: pointer; font-weight: 800; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { color: white; background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-quiet { color: var(--ink); background: white; border: 1px solid var(--line); }
.message { margin-top: 18px; padding: 12px 14px; border-radius: 10px; color: var(--brand-dark); background: #e1f3ee; font-size: .9rem; }
.message.error { color: var(--danger); background: #fbeaea; }
.member-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-section { margin: 0 0 80px; padding: clamp(24px, 5vw, 48px); background: white; border: 1px solid var(--line); border-radius: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.request-list { display: grid; gap: 12px; }
.request-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.request-card h3 { margin: 0 0 5px; }
.request-card p { margin: 3px 0; color: var(--muted); font-size: .9rem; }
.request-actions { display: flex; gap: 8px; }
.button-danger { color: var(--danger); background: #fff1f1; }
.empty-state { color: var(--muted); padding: 24px; border: 1px dashed #bdcccf; border-radius: 12px; text-align: center; }
.hidden { display: none !important; }
footer { padding: 28px; color: var(--muted); text-align: center; font-size: .83rem; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  h1 { font-size: clamp(3.1rem, 14vw, 5.2rem); }
  .request-card { grid-template-columns: 1fr; }
}
