:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #66706a;
  --line: #d9dfd8;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --field: #f4f6f1;
  --green: #2f6b3f;
  --teal: #285d58;
  --gold: #b28418;
  --brick: #bf4e30;
  --shadow: 0 14px 34px rgba(31, 42, 36, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5000;
  transform: translateY(-150%);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #d39b16;
  outline-offset: 3px;
}

html,
body,
.map-shell {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.map-shell {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  grid-template-areas: "panel map";
}

.map-stage {
  grid-area: map;
  min-width: 0;
  min-height: 100vh;
}

.map-canvas {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #e7ebe3;
}

.panel {
  grid-area: panel;
  z-index: 500;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.panel-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.ghost-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.ghost-button:hover,
.quick-filters button:hover,
.quick-filters button.is-active {
  border-color: rgba(47, 107, 63, 0.5);
  background: rgba(47, 107, 63, 0.1);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.42rem, 2.4vw, 1.82rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(178, 132, 24, 0.15);
}

.status-dot[data-status="ready"] {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 63, 0.16);
}

.status-dot[data-status="sample"] {
  background: var(--brick);
  box-shadow: 0 0 0 4px rgba(191, 78, 48, 0.14);
}

.status-dot[data-status="error"] {
  background: #9b1c31;
  box-shadow: 0 0 0 4px rgba(155, 28, 49, 0.13);
}

.filters {
  display: grid;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

input,
select {
  min-height: 36px;
}

textarea {
  min-height: 108px;
  padding-top: 10px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 63, 0.14);
}

.filter-grid,
.date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 9px;
}

.toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-filters button {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 9px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
}

.advanced-filters {
  display: grid;
  gap: 10px;
}

.advanced-filters summary {
  width: max-content;
  color: var(--green);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.advanced-filters[open] {
  padding-top: 2px;
}

.quick-filters button.is-active {
  color: var(--green);
}

.career-path-filter {
  display: grid;
  gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.career-path-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.clear-career-paths {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}

.career-path-picker {
  position: relative;
}

.career-path-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  padding: 0 11px;
  cursor: pointer;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 800;
}

.career-path-picker summary::-webkit-details-marker {
  display: none;
}

.career-path-picker summary::after {
  content: "⌄";
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
  transition: transform 140ms ease;
}

.career-path-picker[open] summary::after {
  transform: rotate(180deg);
}

.career-path-picker summary b {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
}

.career-path-picker[open] summary {
  border-color: rgba(47, 107, 63, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 107, 63, 0.1);
}

.career-path-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 6px;
  margin-top: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.career-path-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 34px;
  border-radius: 6px;
  color: var(--muted);
  padding: 5px 6px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.career-path-option:hover,
.career-path-option:has(input:checked) {
  background: rgba(47, 107, 63, 0.1);
  color: var(--green);
}

.career-path-option input {
  width: 15px;
  min-height: 15px;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.career-path-option span {
  min-width: 0;
  line-height: 1.18;
}

.career-path-option b {
  color: var(--gold);
  font-size: 0.7rem;
}

.selected-career-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selected-career-paths button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  border: 1px solid rgba(47, 107, 63, 0.34);
  border-radius: 999px;
  background: rgba(47, 107, 63, 0.1);
  color: var(--green);
  padding: 3px 8px 3px 10px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
}

.selected-career-paths button:hover {
  border-color: var(--green);
}

.selected-career-paths button b {
  font-size: 0.9rem;
  line-height: 1;
}

.result-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 18px 5px;
  color: var(--muted);
}

.result-meta > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.result-meta strong {
  color: var(--ink);
  font-size: 1.42rem;
}

.clear-filters {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
}

.filter-summary {
  margin: 0;
  padding: 0 18px 5px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.results {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding: 6px 14px 20px;
}

.result-item {
  display: grid;
  align-content: start;
  gap: 5px;
  width: 100%;
  min-height: 0;
  height: auto;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 12px 12px 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  overflow: hidden;
}

.result-skeleton {
  pointer-events: none;
}

.result-skeleton span,
.result-skeleton strong,
.result-skeleton i {
  display: block;
  width: 48%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf0eb 20%, #f8f9f6 50%, #edf0eb 80%);
  background-size: 240% 100%;
  animation: result-loading 1.1s ease-in-out infinite;
}

.result-skeleton strong {
  width: 82%;
  height: 17px;
}

.result-skeleton i {
  width: 65%;
}

@keyframes result-loading {
  to { background-position: -240% 0; }
}

.result-item:hover,
.result-item.is-selected {
  border-color: rgba(47, 107, 63, 0.52);
  border-left-color: var(--green);
  box-shadow: 0 10px 24px rgba(31, 42, 36, 0.12);
}

.result-item strong {
  font-size: 0.98rem;
  line-height: 1.22;
}

.result-item span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.result-kicker {
  color: var(--brick) !important;
  font-weight: 800;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}

.tag-line b,
.tag-line em,
.tag-line i {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1;
}

.tag-line b {
  background: rgba(47, 107, 63, 0.12);
  color: var(--green);
}

.tag-line i {
  background: rgba(178, 132, 24, 0.14);
  color: #755610;
}

.tag-line em {
  background: rgba(43, 111, 143, 0.12);
  color: #22576f;
}

.empty-state {
  display: grid;
  gap: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 20px;
  line-height: 1.45;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state button,
.result-footer button,
.secondary-link {
  min-height: 34px;
  width: max-content;
  border: 1px solid rgba(47, 107, 63, 0.38);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 850;
}

.empty-state-error {
  border-color: rgba(191, 78, 48, 0.35);
}

.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 9px 16px 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.result-footer[hidden] {
  display: none;
}

.conference-marker-wrap {
  background: transparent;
  border: 0;
}

.conference-marker {
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--marker-color);
  box-shadow: 0 8px 18px rgba(24, 32, 28, 0.28);
}

.conference-marker::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
}

.conference-cluster-wrap {
  background: transparent;
  border: 0;
}

.conference-cluster {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 9px 22px rgba(24, 32, 28, 0.28);
  font-weight: 900;
}

.leaflet-tooltip {
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(24, 32, 28, 0.18);
}

.detail-dialog {
  width: min(560px, calc(100vw - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.submit-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.my-conferences-dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.messages-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: min(880px, calc(100vh - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.profile-dialog {
  width: min(600px, calc(100vw - 28px));
  max-height: min(880px, calc(100vh - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.meetup-dialog {
  width: min(580px, calc(100vw - 28px));
  max-height: min(880px, calc(100vh - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.submit-dialog::backdrop {
  background: rgba(24, 32, 28, 0.36);
}

.my-conferences-dialog::backdrop {
  background: rgba(24, 32, 28, 0.36);
}

.messages-dialog::backdrop {
  background: rgba(24, 32, 28, 0.42);
}

.profile-dialog::backdrop {
  background: rgba(24, 32, 28, 0.42);
}

.meetup-dialog::backdrop {
  background: rgba(24, 32, 28, 0.42);
}

.detail-dialog::backdrop {
  background: rgba(24, 32, 28, 0.36);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

#detailContent {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.submit-form {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.submit-form header {
  display: grid;
  gap: 4px;
  padding-right: 48px;
}

.submit-form h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
}

.submit-button {
  border: 0;
  cursor: pointer;
}

.submit-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

#detailContent h2 {
  margin: 0;
  max-width: calc(100% - 46px);
  font-size: 1.48rem;
  line-height: 1.1;
  letter-spacing: 0;
}

#detailContent p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-date {
  color: var(--brick) !important;
  font-weight: 800;
}

.detail-place {
  font-weight: 700;
}

dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  min-width: 0;
  margin: 0;
}

a {
  color: var(--green);
  font-weight: 800;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-stack {
  display: grid;
  gap: 8px;
}

.pill-row span {
  border-radius: 999px;
  background: var(--field);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
}

.pill-row-muted span {
  background: transparent;
  border: 1px solid var(--line);
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: rgba(47, 107, 63, 0.1);
  color: var(--green);
  padding: 3px 9px;
  font-size: 0.82rem;
  font-weight: 850;
}

.primary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.interest-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(47, 107, 63, 0.25);
  border-radius: 9px;
  background: rgba(47, 107, 63, 0.06);
  padding: 13px;
}

.interest-panel > div:first-child {
  display: grid;
  gap: 3px;
}

.interest-panel span,
.interest-panel p {
  color: var(--muted);
  font-size: 0.78rem;
}

.interest-panel p {
  min-height: 18px;
  margin: 0;
}

.interest-panel > button,
.interest-options button {
  min-height: 34px;
  width: max-content;
  border: 1px solid rgba(47, 107, 63, 0.35);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 850;
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-options button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.interest-options .interest-remove {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.attendee-visibility-toggle,
.profile-visibility-toggle {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink);
  line-height: 1.35;
}

.attendee-visibility-toggle input,
.profile-visibility-toggle input {
  width: 17px;
  min-height: 17px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--green);
}

.community-panel {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.question-panel {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.question-panel > div:first-child,
.question-response {
  display: grid;
  gap: 3px;
}

.question-panel span,
.question-panel small,
.question-form p {
  color: var(--muted);
  font-size: 0.78rem;
}

.question-list {
  display: grid;
  gap: 8px;
}

.question-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.question-card p,
.question-form p {
  margin: 0;
}

.question-response {
  margin-top: 3px;
  border-left: 3px solid var(--green);
  background: rgba(47, 107, 63, 0.06);
  padding: 8px 10px;
}

.question-form {
  display: grid;
  gap: 9px;
  border-radius: 8px;
  background: var(--field);
  padding: 10px;
}

.question-form textarea {
  min-height: 82px;
  background: #fff;
}

.question-form-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
}

.question-form > button {
  min-height: 34px;
  width: max-content;
  border: 1px solid rgba(47, 107, 63, 0.35);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.community-panel > div:first-child {
  display: grid;
  gap: 3px;
}

.community-panel span,
.community-panel small,
.community-panel > p {
  color: var(--muted);
  font-size: 0.78rem;
}

.attendee-list {
  display: grid;
  gap: 8px;
}

.attendee-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.attendee-card > div:first-child {
  display: grid;
  gap: 2px;
}

.attendee-card p {
  color: var(--muted);
  font-size: 0.8rem;
}

.attendee-actions {
  display: flex;
  gap: 7px;
}

.attendee-actions button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
}

.my-conferences-content {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.messages-content {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.messages-content > header {
  display: grid;
  gap: 4px;
  padding-right: 48px;
}

.messages-content h2,
.messages-content p {
  margin: 0;
}

.messages-content > header > p:last-child,
.message-empty,
.message-form > span {
  color: var(--muted);
  line-height: 1.45;
}

.message-form {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(47, 107, 63, 0.28);
  border-radius: 9px;
  background: rgba(47, 107, 63, 0.06);
  padding: 13px;
}

.message-form[hidden] {
  display: none;
}

.message-form textarea {
  min-height: 88px;
  background: #fff;
}

.message-form-actions,
.message-thread header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.message-form-actions > button:last-child,
.message-thread header > button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 11px;
  cursor: pointer;
  font-weight: 850;
}

.message-thread-list,
.message-list {
  display: grid;
  gap: 10px;
}

.message-thread {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.message-thread header > div {
  display: grid;
  gap: 2px;
}

.message-thread header span,
.message-bubble small {
  color: var(--muted);
  font-size: 0.76rem;
}

.message-bubble {
  display: grid;
  gap: 5px;
  width: min(86%, 480px);
  border-radius: 10px;
  background: var(--field);
  padding: 10px 12px;
}

.message-bubble.is-outgoing {
  justify-self: end;
  background: rgba(47, 107, 63, 0.1);
}

.message-bubble p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-bubble footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.message-bubble footer button {
  border: 0;
  background: transparent;
  color: var(--rust);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  padding: 2px;
}

.profile-form {
  display: grid;
  gap: 13px;
  padding: 30px;
}

.meetup-form {
  display: grid;
  gap: 13px;
  padding: 30px;
}

.meetup-form header {
  display: grid;
  gap: 5px;
  padding-right: 48px;
}

.meetup-form h2,
.meetup-form p {
  margin: 0;
}

.meetup-form header > p:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.meetup-section {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.meetup-section > div:first-child {
  display: grid;
  gap: 2px;
}

.meetup-section > button,
.meetup-actions button,
.meetup-requests button {
  min-height: 32px;
  width: max-content;
  border: 1px solid rgba(47, 107, 63, 0.35);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  padding: 0 10px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 850;
}

.meetup-list {
  display: grid;
  gap: 8px;
}

.meetup-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.meetup-card > span,
.meetup-card > small {
  color: var(--muted);
  font-size: 0.76rem;
}

.meetup-card > b {
  color: var(--green);
  font-size: 0.8rem;
}

.meetup-actions,
.meetup-requests {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.profile-form header {
  display: grid;
  gap: 5px;
  padding-right: 48px;
}

.profile-form h2,
.profile-form p {
  margin: 0;
}

.profile-form header > p:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.profile-form select[multiple] {
  min-height: 132px;
  padding: 6px;
}

.my-conferences-content header {
  display: grid;
  gap: 5px;
  padding-right: 48px;
}

.my-conferences-content h2,
.my-conferences-content p {
  margin: 0;
}

.my-conferences-content header > p:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.my-conference-list {
  display: grid;
  gap: 9px;
}

.my-conference-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  padding: 13px;
  text-decoration: none;
}

.my-conference-item > span,
.my-conference-item > small {
  grid-column: 1;
  color: var(--muted);
}

.my-conference-item > span {
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 850;
}

.my-conference-item > strong {
  grid-column: 1;
}

.my-conference-item > b {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  border-radius: 999px;
  background: rgba(47, 107, 63, 0.1);
  color: var(--green);
  padding: 6px 9px;
  font-size: 0.75rem;
}

.detail-copy-status {
  min-height: 18px;
  font-size: 0.78rem;
}

.view-toggle {
  display: none;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.view-toggle button {
  flex: 1 1 0;
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.view-toggle button:first-child {
  border-radius: 7px 0 0 7px;
}

.view-toggle button:last-child {
  border-left: 0;
  border-radius: 0 7px 7px 0;
}

.view-toggle button.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .map-shell {
    min-height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: max-content minmax(0, 1fr);
    grid-template-areas:
      "panel"
      "map";
  }

  .view-toggle {
    display: flex;
  }

  .map-stage,
  .map-canvas {
    min-height: 62vh;
  }

  body[data-mobile-view="list"] .map-stage {
    display: none;
  }

  body[data-mobile-view="map"] .panel {
    min-height: 0;
  }

  body[data-mobile-view="map"] .filters,
  body[data-mobile-view="map"] .career-path-filter,
  body[data-mobile-view="map"] .result-meta,
  body[data-mobile-view="map"] .filter-summary,
  body[data-mobile-view="map"] .results,
  body[data-mobile-view="map"] .result-footer {
    display: none;
  }

  .panel {
    height: auto;
    min-height: 100vh;
    border-top: 1px solid var(--line);
    border-right: 0;
    box-shadow: 0 -12px 36px rgba(31, 42, 36, 0.14);
  }

  .results {
    max-height: none;
    overflow: visible;
  }
}

body.is-compact .map-shell {
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
}

body.is-compact .panel-header {
  padding: 16px 18px 12px;
}

body.is-compact .filters,
body.is-compact .career-path-filter {
  padding: 12px 18px;
}

body.is-compact .eyebrow,
body.is-compact .toggle,
body.is-compact .date-row,
body.is-compact .advanced-filters {
  display: none;
}

body.is-compact h1 {
  font-size: 1.35rem;
}

body.is-compact .result-item {
  padding: 12px;
}

@media (max-width: 560px) {
  .panel-header,
  .filters {
    padding-left: 14px;
    padding-right: 14px;
  }

  .filter-grid,
  .date-row,
  .question-form-grid {
    grid-template-columns: 1fr;
  }

  .result-meta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .results {
    padding-left: 10px;
    padding-right: 10px;
  }

  .career-path-filter {
    padding-left: 14px;
    padding-right: 14px;
  }

  #detailContent {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
