:root {
  --paper: #f7f7f1;
  --white: #fff;
  --ink: #242e29;
  --green: #234d3b;
  --muted: #646d65;
  --line: #d9ded4;
  --sage: #e7eddf;
  --cream: #eeeadd;
  --blue: #e3e9eb;
  --red: #8c352d;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #bb7134;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: 20px;
}
small {
  font-size: 0.875rem;
}
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.local-bar {
  background: #e8ebdf;
  font-size: 0.8125rem;
  border-bottom: 1px solid #d9dfd0;
}
.local-bar .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.local-bar a {
  white-space: nowrap;
}
.header {
  display: flex;
  align-items: center;
  gap: 64px;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  text-decoration: none;
  font-size: 3rem;
  letter-spacing: -0.1em;
  font-weight: 800;
  line-height: 1;
}
.wordmark span {
  display: inline-block;
  font-size: 1.2rem;
  vertical-align: top;
  margin: 3px 0 0 6px;
  letter-spacing: 0;
}
.header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}
.header nav a.current {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.header-end {
  display: flex;
  gap: 12px;
  margin-left: auto;
  align-items: center;
}
.account-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 180px;
  text-decoration: none;
  line-height: 1.2;
}
.account-link small {
  color: var(--muted);
  font-size: 0.6875rem;
}
.account-link strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
}
.account-link:hover strong,
.account-link:focus-visible strong {
  text-decoration: underline;
}
.languages {
  display: flex;
  gap: 2px;
}
.languages button {
  border: 0;
  background: transparent;
  padding: 9px 7px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-radius: 4px;
}
.languages .selected {
  background: var(--green);
  color: var(--white);
}
.logout-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  min-height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.logout-button:hover {
  border-color: var(--green);
}
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding: 40px 0 36px;
  align-items: center;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  color: var(--green);
}
.hero h1 {
  font-size: clamp(2.9rem, 4.7vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero h1 span {
  color: var(--green);
}
.intro {
  max-width: 480px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  font-size: 0.875rem;
}
.tiny-plus {
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
.hero-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
  border-left: 1px solid var(--line);
  padding-left: 35px;
  min-height: 235px;
}
.hero-type > span {
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 14rem);
  letter-spacing: -0.13em;
  line-height: 1;
  transform: rotate(-8deg);
  padding-right: 30px;
}
.hero-type .percent {
  font-size: 0.7em;
  vertical-align: top;
  line-height: 1.6;
}
.hero-type > div {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-top: 28px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
}
.count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  min-width: 28px;
  height: 28px;
  font-size: 0.8125rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-left: 12px;
  letter-spacing: 0;
}
.events-section {
  padding: 34px 0 55px;
  border-top: 1px solid var(--line);
}
.view-switch {
  display: flex;
  gap: 16px;
}
.view-switch button {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
}
.view-switch .selected {
  border-color: var(--green);
  color: var(--green);
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filters button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 20px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  min-height: 44px;
}
.filters .selected {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.filters button span {
  font-size: 1.1rem;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: var(--white);
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  min-height: 120px;
  background: var(--sage);
}
.connect .card-top {
  background: var(--cream);
}
.learn .card-top {
  background: var(--blue);
}
.tag {
  display: inline-block;
  border: 1px solid #244d3b40;
  border-radius: 20px;
  padding: 5px 12px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff30;
  letter-spacing: 0;
}
.card-number {
  font-size: 3.6rem;
  line-height: 0.9;
  letter-spacing: -0.09em;
  color: var(--green);
  text-align: right;
  font-weight: 500;
}
.card-number > span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0;
  margin-top: 10px;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-time {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.card-body h3 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 15px;
}
.card-location {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}
.card-bottom span:first-child {
  font-weight: 600;
}
.card-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.empty-state {
  padding: 38px;
  text-align: center;
  border: 1px dashed #bfc8b7;
  border-radius: 10px;
  background: #eff1e7;
}
.empty-state h3 {
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
}
.empty-state .actions {
  justify-content: center;
}
.empty-sign {
  font-size: 2rem;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.sample-heading {
  margin-top: 35px;
}
.sample-heading h3 {
  margin-bottom: 8px;
}
.sample-heading p {
  font-size: 0.875rem;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--green);
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
  gap: 8px;
  text-align: center;
}
.button:hover {
  background: #173c2c;
}
.button.secondary {
  background: transparent;
  color: var(--green);
  border-color: #bdc8ba;
}
.button.secondary:hover {
  background: #e8eee3;
}
.button.danger {
  background: #fff7f3;
  color: var(--red);
  border-color: #d8b6ac;
}
.button.wide {
  width: 100%;
  margin-top: 12px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  font-size: 0.875rem;
}
.notice {
  padding: 18px 20px;
  background: var(--sage);
  border: 1px solid #d6decb;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice.error {
  background: #fff0e9;
  border-color: #e6bcae;
  color: #802c26;
}
.back {
  display: inline-block;
  margin: 30px 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 1fr);
  gap: 70px;
  padding-bottom: 70px;
}
.detail-title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.7vw, 4rem);
}
.host-line {
  font-size: 0.9375rem;
  color: var(--muted);
}
.host-line strong {
  color: var(--ink);
  margin-left: 4px;
}
.event-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event-facts span,
.event-facts strong,
.event-facts small {
  display: block;
}
.event-facts span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.event-facts small {
  color: var(--muted);
  margin-top: 6px;
}
.prose {
  white-space: pre-wrap;
  line-height: 1.8;
}
.detail-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}
.join-panel {
  padding: 30px;
  background: #eef1e7;
  border: 1px solid #dce2d3;
  border-radius: 10px;
  align-self: start;
  position: sticky;
  top: 24px;
}
.join-panel h2 {
  font-size: 2rem;
}
.join-panel > p {
  color: var(--muted);
}
.review-facts {
  margin: 26px 0;
}
.review-facts p {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #dce2d3;
}
.review-facts span,
.review-facts strong,
.review-facts a {
  display: block;
  overflow-wrap: anywhere;
}
.review-facts span {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 5px;
}
.places {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.places strong {
  font-size: 1.5rem;
  color: var(--green);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 20px;
}
input,
textarea,
select {
  padding: 12px;
  border: 1px solid #bfc7b9;
  background: #fff;
  border-radius: 5px;
  width: 100%;
  color: var(--ink);
  min-width: 0;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 3px 0;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 400;
}
.check.compact {
  margin: 0;
  white-space: nowrap;
}
.form-error {
  font-size: 0.875rem;
  color: var(--red);
  margin: 12px 0;
}
.form-error:empty {
  display: none;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.auth-wrap {
  max-width: 520px;
  margin: 60px auto 100px;
}
.auth-wrap h1 {
  font-size: 2.8rem;
}
.auth-wrap > p {
  color: var(--muted);
}
.auth-wrap form {
  margin-top: 30px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 50px 0 36px;
}
.page-heading h1 {
  margin: 0;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.manage-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.manage-card h3 {
  margin-top: 20px;
}
.manage-card p {
  font-size: 0.875rem;
  color: var(--muted);
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 50px;
}
.panel {
  padding: 10px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.panel > small,
label small {
  font-weight: 400;
  color: var(--muted);
}
.editor-note {
  padding: 30px 0;
}
.note-number {
  font-size: 5rem;
  letter-spacing: -0.07em;
  color: #a4b599;
  margin-bottom: 25px;
  line-height: 1;
}
.editor-note p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.upload-preview {
  width: 180px;
  max-height: 150px;
  object-fit: cover;
  display: block;
  margin: 20px 0 8px;
  border-radius: 5px;
}
.registrations-section {
  padding: 50px 0;
}
.muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}
th {
  font-size: 0.75rem;
  background: #edf0e7;
  font-weight: 600;
  padding: 16px;
  white-space: nowrap;
}
td {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
}
td small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
td .actions {
  margin: 0;
  flex-wrap: nowrap;
}
td .button {
  font-size: 0.75rem;
  padding: 8px 12px;
  min-height: 38px;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  overflow-x: auto;
}
.tabs a {
  padding: 12px 0;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9375rem;
}
.tabs .selected {
  border-bottom: 3px solid var(--green);
  color: var(--green);
  font-weight: 600;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  margin-bottom: 18px;
}
.stats > div {
  padding: 28px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
.stats strong {
  display: block;
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.4;
}
.stats strong small {
  font-size: 1.6rem;
}
.report-panel {
  border: 1px solid var(--line);
  background: #eff2e8;
  padding: 30px;
  border-radius: 8px;
  margin: 36px 0;
}
.inline-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.inline-form label {
  margin: 0;
  min-width: 220px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.report-grid strong {
  font-size: 3.8rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  display: block;
}
.report-grid strong small {
  font-size: 1.5rem;
  color: var(--muted);
}
.report-grid span {
  font-size: 0.875rem;
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 6px;
  margin: 14px 0;
  accent-color: var(--green);
}
.report-panel > p {
  font-size: 0.875rem;
}
.export-panel {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 32px 0;
}
.export-panel h2 {
  font-size: 1.4rem;
}
.mail-list {
  max-width: 850px;
}
.mail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  margin-bottom: 20px;
}
.mail-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.mail-card h2 {
  font-size: 1.4rem;
}
.mail-body {
  font-size: 0.875rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.mail-card p,
.mail-card small {
  color: var(--muted);
}
.privacy-page {
  max-width: 780px;
  margin: 65px auto 90px;
}
.privacy-page p {
  line-height: 1.9;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer .small {
  font-size: 2rem;
  color: var(--green);
}
.footer p {
  margin: 0 auto 0 0;
}
.footer > span {
  white-space: nowrap;
}
.footer a {
  white-space: nowrap;
}
dialog {
  max-width: 740px;
  width: calc(100% - 32px);
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #15251ecc;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.dialog-top > span {
  font-size: 0.875rem;
  font-weight: 600;
}
.dialog-top .button {
  min-height: 38px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--green);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  max-width: calc(100% - 32px);
  transition: all 0.15s;
  z-index: 100;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 42px;
  }
}
@media (max-width: 900px) {
  .shell {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header {
    gap: 35px;
  }
  .header nav {
    gap: 20px;
  }
  .hero {
    gap: 20px;
  }
  .hero-type {
    padding-left: 10px;
  }
  .event-grid {
    gap: 14px;
  }
  .card-body,
  .card-top {
    padding: 19px;
  }
  .detail-grid {
    gap: 32px;
    grid-template-columns: 1.2fr 1fr;
  }
  .editor-layout {
    gap: 28px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer p {
    flex: 1;
  }
  .card-body h3 {
    font-size: 1.3rem;
  }
  .stats > div {
    padding: 22px;
  }
}
@media (max-width: 650px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .local-bar .shell {
    font-size: 0.75rem;
    align-items: center;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .local-bar span {
    max-width: 63%;
    line-height: 1.35;
  }
  .header {
    gap: 18px;
    min-height: 90px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .wordmark {
    font-size: 2.5rem;
  }
  .header nav {
    order: 3;
    flex-basis: 100%;
    gap: 24px;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .header nav a {
    font-size: 0.875rem;
  }
  .header-end {
    margin-left: auto;
  }
  .account-link {
    max-width: 110px;
  }
  .account-link small {
    display: none;
  }
  .hero {
    display: block;
    padding: 38px 0 32px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }
  .eyebrow {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }
  .hero-type {
    display: none;
  }
  .intro {
    font-size: 1rem;
    max-width: 100%;
  }
  .hero-note {
    font-size: 0.8125rem;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 1.5rem;
  }
  .view-switch {
    gap: 20px;
  }
  .filters {
    gap: 6px;
    margin-bottom: 20px;
  }
  .filters button {
    padding: 9px 14px;
    font-size: 0.8125rem;
    gap: 7px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-top {
    min-height: 105px;
    padding: 22px;
  }
  .card-body {
    padding: 24px;
  }
  .card-body h3 {
    font-size: 1.6rem;
  }
  .empty-state {
    padding: 28px 18px;
  }
  .empty-state .actions {
    flex-direction: column;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .detail-title {
    font-size: 2.6rem;
  }
  .join-panel {
    position: static;
    padding: 25px;
  }
  .event-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .auth-wrap {
    margin: 36px auto 60px;
  }
  .auth-wrap h1 {
    font-size: 2.3rem;
  }
  .page-heading {
    margin: 35px 0 28px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 2.3rem;
  }
  .editor-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .panel {
    padding: 4px 20px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-note {
    padding-bottom: 0;
  }
  .note-number {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .stats strong {
    font-size: 2.5rem;
  }
  .stats span {
    max-width: 55%;
  }
  .report-panel {
    padding: 22px;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .inline-form label {
    min-width: 0;
  }
  .report-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tabs {
    gap: 22px;
  }
  .footer {
    gap: 18px;
    margin-top: 40px;
  }
  .footer p {
    flex-basis: 65%;
  }
  .footer > span {
    margin-left: auto;
  }
  .privacy-page {
    margin: 40px auto;
  }
  .privacy-page h1 {
    font-size: 2.5rem;
  }
  .mail-card {
    padding: 20px;
  }
  .mail-card > div:first-child {
    flex-wrap: wrap;
  }
  dialog {
    padding: 22px;
  }
  .card-photo {
    height: 190px;
  }
  input,
  select,
  textarea {
    font-size: 1rem;
  }
  .button {
    min-height: 48px;
  }
  .table-scroll {
    margin-left: -4px;
    margin-right: -4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
