.member-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  z-index: 200;
}
.member-sidebar .sidebar-logo {
  display: block;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  border-bottom: 1px solid #1e293b;
}
.member-sidebar .sidebar-logo span {
  color: #38bdf8;
}
.member-sidebar .sidebar-logo .beta {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.6rem;
  font-style: italic;
  font-weight: 600;
  color: #94a3b8;
  vertical-align: super;
}
.member-sidebar nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  overflow-y: auto;
}
.member-sidebar .nav-bottom {
  margin-top: auto;
}
.member-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.member-sidebar .sidebar-link i {
  width: 18px;
  text-align: center;
}
.member-sidebar .sidebar-link:hover {
  background: #1e293b;
  color: #f1f5f9;
  text-decoration: none;
}
.member-sidebar .sidebar-link.active {
  background: #1e293b;
  color: #f1f5f9;
  border-left: 3px solid #2563eb;
  padding-left: calc(1.5rem - 3px);
}
.member-sidebar .sidebar-sublink {
  display: none;
  align-items: center;
  padding: 0.5rem 1.5rem 0.5rem 3.1rem;
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.member-sidebar .sidebar-sublink:hover {
  background: #1e293b;
  color: #f1f5f9;
  text-decoration: none;
}
.member-sidebar .sidebar-sublink.active {
  color: #f1f5f9;
  font-weight: 600;
}
.member-sidebar .sidebar-sublink.submenu-open {
  display: flex;
}
.member-sidebar .sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #475569;
}
.member-sidebar .sidebar-footer .sidebar-footer-project {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}
.member-sidebar .sidebar-footer .sidebar-footer-project i {
  color: #94a3b8;
}
.member-sidebar .sidebar-footer .sidebar-footer-user {
  color: #475569;
}

.member-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #0f172a;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1rem;
  z-index: 300;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.member-topbar .topbar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
}
.member-topbar .topbar-title span {
  color: #38bdf8;
}
.member-topbar .burger-btn {
  background: none;
  border: none;
  color: #f1f5f9;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  line-height: 1;
}
.member-topbar .burger-btn:hover {
  background: #1e293b;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
}
.sidebar-overlay.open {
  display: block;
}

.status_message {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.status_message.failed {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-weight: 600;
}
.status_message.success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-weight: 600;
}
.status_message.neutral {
  color: #64748b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-style: italic;
}

.audience-icon.audience-public {
  color: #16a34a;
}
.audience-icon.audience-private {
  color: #64748b;
}

.auth-shell {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 3rem;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.auth-sub {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.auth-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.auth-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
  margin-bottom: 1.25rem;
}
.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.auth-code {
  letter-spacing: 0.4em;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
}

.auth-button {
  width: 100%;
  text-align: center;
}

.auth-alt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.auth-alt form {
  margin: 0;
}

.auth-alt--stack {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.auth-resend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.auth-resend .cf-turnstile:not(:empty) {
  margin-bottom: 0.25rem;
}

.auth-link {
  background: none;
  border: none;
  padding: 0;
  color: #2563eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}

.auth-info {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}
.auth-info p {
  margin: 0 0 0.5rem;
}
.auth-info .auth-button {
  margin-top: 0.5rem;
}

.member-content {
  margin-left: 240px;
  padding: 2rem;
  min-height: 100vh;
}
.member-content .page-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.5rem;
  display: block;
  line-height: 1.3;
}

.tag-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15em 0.6em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

td > .tag-chips {
  margin-top: 0;
}

.tag-chip-toggle {
  position: relative;
  cursor: pointer;
  margin: 0 0.35rem 0.35rem 0;
  opacity: 0.35;
  box-shadow: 0 0 0 1px #cbd5e1;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}
.tag-chip-toggle input[type=checkbox] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.tag-chip-toggle.selected {
  opacity: 1;
  box-shadow: none;
}
.tag-chip-toggle:focus-within {
  box-shadow: 0 0 0 2px #0f172a;
}

.rsvp-counts {
  white-space: nowrap;
}

.rsvp-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.rsvp-count i {
  font-size: 0.75rem;
}

.rsvp-accept {
  color: #16a34a;
}

.rsvp-tentative {
  color: #b45309;
}

.rsvp-decline {
  color: #dc2626;
}

.rsvp-none {
  color: #64748b;
  font-weight: 500;
}

.rsvp-empty {
  color: #64748b;
}

.list-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.list-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.list-filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.list-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.list-filter-chips .tag-chip-toggle {
  margin: 0;
}

.list-filter select {
  padding: 0.5rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.875rem;
  color: #0f172a;
}

.list-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-filter-clear {
  font-size: 0.875rem;
  color: #64748b;
}
.list-filter-clear:hover {
  color: #0f172a;
}

.list-filter.js [type=submit] {
  display: none;
}

@media (max-width: 768px) {
  .member-topbar {
    display: flex;
  }
  .member-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  .member-sidebar.open {
    transform: translateX(0);
  }
  .member-content {
    margin-left: 0;
    padding: 1.25rem;
    padding-top: calc(56px + 1.25rem);
  }
  .list-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

.member-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 1.75rem 0 0.6rem;
}

.member-card {
  display: block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.member-card:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
  text-decoration: none;
  color: inherit;
}
.member-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.2rem;
}
.member-card .card-meta {
  font-size: 0.8rem;
  color: #64748b;
}
.member-card.unread .card-title::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.project-card .card-title i {
  color: #2563eb;
  margin-right: 0.35rem;
}
.project-card.current {
  border-color: #cbd5e1;
  cursor: default;
}
.project-card.current .card-title i {
  color: #94a3b8;
}
.project-card.current:hover {
  border-color: #cbd5e1;
  box-shadow: none;
}

.card-response {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.card-response-accept {
  color: #16a34a;
}

.card-response-tentative {
  color: #b45309;
}

.card-response-decline {
  color: #dc2626;
}

.member-card .rsvp-counts {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 0.4rem;
}

.member-empty {
  color: #94a3b8;
  font-size: 0.875rem;
  padding: 0.5rem 0 1rem;
}

.member-seeall {
  display: inline-block;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.member-seeall:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.member-page {
  max-width: 660px;
}
.member-page h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: block;
  height: auto;
  line-height: 1.3;
}
.member-page fieldset {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.member-page fieldset legend {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0 0.4rem;
}
.member-page fieldset div {
  margin-bottom: 0.25rem;
}
.member-page .input_header {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.member-page .input {
  display: block;
}
.member-page input[type=text],
.member-page input[type=number],
.member-page textarea,
.member-page select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  line-height: 1.4;
  min-width: 300px;
  max-width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.member-page input[type=text]:focus,
.member-page input[type=number]:focus,
.member-page textarea:focus,
.member-page select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
  .member-page input[type=text],
.member-page input[type=number],
.member-page textarea,
.member-page select {
    min-width: 0;
    width: 100%;
  }
}
.response-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.response-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.response-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.response-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.response-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.response-input:focus-visible + .response-option {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.response-accept .response-mark {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.45);
}
.response-accept:hover {
  border-color: #16a34a;
}
.response-input:checked + .response-accept {
  border-color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
}
.response-input:checked + .response-accept .response-mark {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.response-tentative .response-mark {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.45);
}
.response-tentative:hover {
  border-color: #b45309;
}
.response-input:checked + .response-tentative {
  border-color: #b45309;
  background: rgba(180, 83, 9, 0.08);
}
.response-input:checked + .response-tentative .response-mark {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}

.response-decline .response-mark {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.45);
}
.response-decline:hover {
  border-color: #dc2626;
}
.response-input:checked + .response-decline {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}
.response-input:checked + .response-decline .response-mark {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.soclub-button {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.soclub-button:hover, .soclub-button:focus {
  background: #1d4ed8;
  outline: none;
}

.soclub-button-secondary {
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}
.soclub-button-secondary:hover, .soclub-button-secondary:focus {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: #1d4ed8;
}

.fieldset-action {
  margin-top: 0.75rem;
  text-decoration: none;
}
.fieldset-action i {
  margin-right: 0.4rem;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.result-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
}
.result-group div {
  margin-bottom: 0;
}

.result-head {
  flex: 0 0 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.15rem;
}

.result-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #0f172a;
}
.result-label i {
  font-size: 0.875rem;
}

.result-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  white-space: nowrap;
}

.result-name {
  display: inline-block;
  background: #f1f1f1;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.result-empty {
  font-size: 0.875rem;
  color: #94a3b8;
  font-style: italic;
}

.result-accept {
  border-color: rgba(22, 163, 74, 0.4);
}
.result-accept .result-label {
  color: #16a34a;
}

.result-tentative {
  border-color: rgba(180, 83, 9, 0.4);
}
.result-tentative .result-label {
  color: #b45309;
}

.result-decline {
  border-color: rgba(220, 38, 38, 0.4);
}
.result-decline .result-label {
  color: #dc2626;
}

.result-none .result-label {
  color: #64748b;
}

.rich-text p {
  margin: 0 0 12px;
}
.rich-text ul, .rich-text ol {
  margin: 0 0 12px;
  padding-left: 1.5rem;
}
.rich-text li {
  margin: 0 0 4px;
}
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 {
  margin: 1.25rem 0 0.5rem;
  line-height: 1.3;
}
.rich-text h1:first-child, .rich-text h2:first-child, .rich-text h3:first-child, .rich-text h4:first-child, .rich-text h5:first-child, .rich-text h6:first-child {
  margin-top: 0;
}
.rich-text h1 {
  font-size: 1.4rem;
}
.rich-text h2 {
  font-size: 1.25rem;
}
.rich-text h3 {
  font-size: 1.1rem;
}
.rich-text h4, .rich-text h5, .rich-text h6 {
  font-size: 1rem;
}
.rich-text a {
  color: #2563eb;
  text-decoration: underline;
}
.rich-text blockquote {
  margin: 0 0 12px;
  padding-left: 1rem;
  border-left: 3px solid #cbd5e1;
  color: #64748b;
}
.rich-text img {
  max-width: 100%;
  height: auto;
}
.rich-text table {
  max-width: 100%;
  border-collapse: collapse;
}
.rich-text td, .rich-text th {
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.6rem;
}
.rich-text > :last-child {
  margin-bottom: 0;
}

a.reset {
  color: #2563eb;
}

/*# sourceMappingURL=member.css.map */
