:root {
  --bg: #f2f1ec;
  --surface: #ffffff;
  --surface-soft: #edf1ed;
  --ink: #18211e;
  --muted: #68736e;
  --line: #d8ded8;
  --green: #137a57;
  --green-dark: #0b5d43;
  --gold: #a77a35;
  --red: #ba3f3f;
  --blue: #2c658e;
  --charcoal: #141a18;
  --shadow: 0 16px 36px rgba(25, 34, 30, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

label input,
label select,
label textarea {
  color: var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: #f9faf7;
}

small {
  color: var(--muted);
}

pre {
  white-space: pre-wrap;
  font-family: inherit;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 245, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.site-nav,
.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.admin-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a.active,
.site-nav a:hover,
.admin-nav a.active,
.admin-nav a:hover {
  background: var(--surface-soft);
  color: var(--green-dark);
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.page.narrow {
  width: min(920px, calc(100% - 32px));
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: stretch;
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(120deg, rgba(31, 122, 90, 0.88), rgba(44, 101, 142, 0.76)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-band h1,
.detail-header h1,
.admin-head h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.metric-number {
  font-size: 54px;
  font-weight: 800;
}

.metric-label {
  color: rgba(255, 255, 255, 0.82);
}

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

.hero-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.section-head,
.detail-header,
.admin-head,
.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-head {
  margin: 34px 0 16px;
}

.section-head h2,
.content-panel h2,
.admin-panel h2 {
  margin: 0;
  font-size: 22px;
}

.section-head p,
.detail-header p,
.admin-head p,
.panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.compact {
  margin-top: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.event-card,
.content-panel,
.form-card,
.admin-panel,
.login-card,
.empty-state,
.notice-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.event-card h3 {
  margin: 0;
  font-size: 22px;
}

.event-card p {
  margin: 0;
  color: var(--muted);
}

.card-topline,
.card-actions,
.form-actions,
.button-row,
.inline-actions,
.inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-topline {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.meta-list.expanded div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.16s ease;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: #eef4f1;
  color: var(--green-dark);
  border-color: #cfddd5;
}

.button.danger {
  background: var(--red);
  color: white;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.danger-text {
  color: var(--red);
  font-weight: 800;
}

.inline-delete-form {
  display: inline;
  margin: 0;
}

.button.large {
  min-height: 48px;
  padding-inline: 20px;
}

.mobile-home {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(90deg, rgba(20, 26, 24, 0.92), rgba(20, 26, 24, 0.66)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=82") center/cover;
  color: #fff;
  border-radius: 8px;
  min-height: 330px;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.home-hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.home-hero-copy {
  display: grid;
  align-content: end;
}

.home-hero-stats {
  display: grid;
  gap: 10px;
  align-content: end;
}

.home-hero-stats div {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.home-hero-stats strong {
  font-size: 34px;
  line-height: 1;
}

.home-hero-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.featured-event {
  display: grid;
  gap: 16px;
  margin-top: -42px;
  padding: clamp(18px, 4vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24, 33, 30, 0.14);
}

.featured-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.featured-event h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.08;
}

.featured-event p {
  margin: 0;
  color: var(--muted);
}

.featured-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.featured-meta div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-right: 1px solid var(--line);
  background: #fbfcfa;
}

.featured-meta div:last-child {
  border-right: 0;
}

.featured-meta span {
  color: var(--muted);
  font-size: 12px;
}

.featured-meta strong {
  font-size: 15px;
}

.featured-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 26px;
}

.quick-rules div,
.safety-grid div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-rules strong {
  color: var(--gold);
  font-size: 12px;
}

.quick-rules span,
.safety-grid span {
  color: var(--muted);
}

.home-section {
  margin-top: 28px;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 24px;
}

.home-section-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.mobile-event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mobile-event-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.event-main-link {
  display: grid;
  gap: 10px;
}

.event-main-link h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.event-main-link p {
  margin: 0;
  color: var(--muted);
}

.event-main-link dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.event-main-link dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.event-main-link dt {
  color: var(--muted);
}

.event-main-link dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.safety-alert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(186, 63, 63, 0.28);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #fff7f4;
  box-shadow: 0 14px 34px rgba(120, 46, 38, 0.08);
}

.safety-alert-card h2 {
  margin: 0;
  font-size: 25px;
}

.safety-alert-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.home-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
}

.home-warning-modal.is-open {
  display: grid;
}

.home-warning-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 17, 0.78);
  backdrop-filter: blur(8px);
}

.home-warning-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(660px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #151b19;
  color: white;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.warning-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 28px;
  font-weight: 900;
}

.home-warning-panel .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.home-warning-panel h2 {
  margin: 0;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.02;
}

.warning-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.warning-rule-list {
  display: grid;
  gap: 10px;
}

.warning-rule-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.warning-rule-list strong {
  font-size: 19px;
}

.warning-rule-list span {
  color: rgba(255, 255, 255, 0.66);
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.premium-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-rank .rank-row {
  background: rgba(255, 255, 255, 0.78);
}

.action-home {
  padding-bottom: 120px;
}

.home-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 16px;
  align-items: stretch;
  min-height: 520px;
  padding: clamp(22px, 5vw, 42px);
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(90deg, rgba(20, 26, 24, 0.94), rgba(20, 26, 24, 0.62)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=82") center/cover;
  box-shadow: 0 22px 58px rgba(24, 33, 30, 0.18);
}

.empty-current {
  grid-template-columns: 1fr;
  align-content: end;
}

.home-current-copy {
  display: grid;
  align-content: end;
  gap: 14px;
}

.home-current .featured-top {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.68);
}

.home-current .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.home-current h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-current p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.home-current-panel {
  display: grid;
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.home-current-panel div {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-current-panel div:last-child {
  border-bottom: 0;
}

.home-current-panel span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.home-current-panel strong {
  font-size: 19px;
  line-height: 1.2;
}

.home-current-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.home-safety-strip,
.home-lookup-band,
.secondary-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-safety-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border-color: rgba(186, 63, 63, 0.28);
  border-left: 5px solid var(--red);
  background: #fff7f4;
}

.home-safety-strip div {
  display: grid;
  gap: 3px;
}

.home-safety-strip span,
.home-lookup-band p {
  color: var(--muted);
}

.compact-event-list {
  display: grid;
  gap: 10px;
}

.compact-event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compact-event-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.compact-event-main h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.compact-event-main p {
  margin: 3px 0 0;
  color: var(--muted);
}

.compact-event-main strong {
  font-size: 18px;
}

.compact-event-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-lookup-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
}

.home-lookup-band h2 {
  margin: 0;
  font-size: 24px;
}

.home-lookup-band p {
  margin: 5px 0 0;
}

.home-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
}

.secondary-panel {
  padding: 16px;
}

.home-sticky-action {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 30, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(24, 33, 30, 0.2);
  backdrop-filter: blur(14px);
}

.button.tiny {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 13px;
}

.button.block {
  width: 100%;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf0ec;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-open,
.status-approved,
.status-active {
  background: #dff2e8;
  color: var(--green-dark);
}

.status-pending,
.status-watch,
.status-waitlist {
  background: #fff3d7;
  color: #85611e;
}

.status-closed,
.status-cancelled,
.status-draft {
  background: #eceff3;
  color: #53606c;
}

.status-rejected,
.status-blocked {
  background: #f8dfdf;
  color: #8b2828;
}

.status-finished {
  background: #e0eafa;
  color: var(--blue);
}

.two-column,
.admin-grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-tile {
  position: relative;
  margin: 0;
  min-height: 120px;
  overflow: hidden;
  border-radius: 8px;
  background: #dde5dd;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  font-size: 13px;
  font-weight: 700;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rank-row span:nth-child(2) {
  display: grid;
}

.rank-index {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-soft);
  font-weight: 800;
}

.detail-header {
  margin-bottom: 20px;
}

.info-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.info-grid div,
.stat-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid span,
.stat-grid span {
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong,
.stat-grid strong {
  font-size: 24px;
}

.content-panel,
.form-card,
.admin-panel {
  padding: 18px;
  margin-bottom: 18px;
}

.warning-panel {
  border-color: #ead7a7;
  background: #fffaf0;
}

.nav-panel {
  display: grid;
  gap: 10px;
  border-color: #bcd8cc;
  background: #f2faf6;
}

.nav-panel p {
  margin: 0;
  color: var(--muted);
}

.form-page {
  width: min(880px, calc(100% - 32px));
}

.signup-page {
  width: min(980px, calc(100% - 28px));
  padding-bottom: 116px;
}

.signup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 16px;
  color: white;
}

.signup-hero-main,
.signup-event-panel {
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 18px 44px rgba(24, 33, 30, 0.14);
}

.signup-hero-main {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 340px;
  padding: clamp(22px, 5vw, 38px);
  background:
    linear-gradient(90deg, rgba(20, 26, 24, 0.94), rgba(20, 26, 24, 0.62)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=82") center/cover;
}

.signup-hero h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.signup-hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.signup-hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.signup-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-event-panel {
  display: grid;
  align-content: stretch;
  overflow: hidden;
  background: #18211e;
}

.signup-event-panel div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-event-panel div:last-child {
  border-bottom: 0;
}

.signup-event-panel span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.signup-event-panel strong {
  font-size: 19px;
  line-height: 1.22;
}

.signup-form {
  display: grid;
  gap: 14px;
}

.signup-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signup-section-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.signup-section-head h2 {
  margin: 0;
  font-size: 22px;
}

.signup-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.signup-step-index {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  font-weight: 900;
}

.signup-safety-section {
  border-color: #ead7a7;
  background: #fffdf7;
}

.signup-profile-note {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  color: var(--muted);
  font-weight: 700;
}

.signup-profile-note a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-profile-note.success {
  border-color: #bcd8cc;
  background: #f2faf6;
  color: var(--green-dark);
}

.signup-profile-note.warning {
  border-color: #ead7a7;
  background: #fff5d9;
  color: #85611e;
}

.signup-profile-note.danger {
  border-color: #efb7b7;
  background: #fde7e7;
  color: #8b2828;
}

.signup-sticky-bar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 30, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(24, 33, 30, 0.2);
  backdrop-filter: blur(14px);
}

.signup-sticky-copy {
  display: grid;
  gap: 2px;
}

.signup-sticky-copy span {
  color: var(--muted);
  font-size: 12px;
}

.signup-sticky-copy strong {
  font-size: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-card {
  display: grid;
  gap: 16px;
}

.agreement-box,
.notice-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #ead7a7;
  border-radius: 8px;
  background: #fffaf0;
}

.agreement-box p,
.notice-box {
  margin: 0;
}

.map-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.map-picker-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.map-canvas {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8eee8;
  overflow: hidden;
}

.public-map {
  min-height: 360px;
}

.map-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.map-picker-fallback .map-canvas {
  display: none;
}

.map-viewer {
  display: grid;
  gap: 12px;
}

.modal-open {
  overflow: hidden;
}

.safety-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
}

.safety-modal.is-open {
  display: grid;
}

.safety-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.72);
  backdrop-filter: blur(8px);
}

.safety-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.safety-modal-panel h2 {
  margin: 0;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.08;
}

.safety-modal-content {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ead7a7;
  border-radius: 8px;
  background: #fffaf0;
}

.safety-modal-content p {
  margin: 0;
  font-weight: 700;
}

.safety-modal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.safety-modal-check {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
  margin-top: 4px;
}

.checkbox-line.compact {
  align-items: center;
}

.checkbox-line.compact input {
  margin-top: 0;
}

.status-banner {
  margin: 16px 0;
  padding: 18px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
}

.lookup-panel h1,
.registration-card h2 {
  margin: 0;
}

.lookup-panel p {
  margin: 6px 0 18px;
  color: var(--muted);
}

.lookup-form,
.lookup-results {
  display: grid;
  gap: 14px;
}

.registration-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.registration-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkin-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #bcd8cc;
  border-radius: 8px;
  background: #f2faf6;
}

.checkin-panel strong {
  font-size: 18px;
}

.checkin-panel span {
  color: var(--muted);
}

.checkin-panel form {
  margin: 0;
}

.checkin-panel.compact {
  padding: 12px;
}

.pass-page {
  width: min(920px, calc(100% - 28px));
  padding-bottom: 120px;
}

.pass-hero {
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: clamp(22px, 5vw, 38px);
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(90deg, rgba(20, 26, 24, 0.96), rgba(20, 26, 24, 0.68)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=82") center/cover;
  box-shadow: 0 20px 54px rgba(24, 33, 30, 0.18);
}

.pass-hero-top,
.pass-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pass-hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.pass-hero h1 {
  align-self: end;
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.pass-countdown {
  display: grid;
  gap: 4px;
  width: fit-content;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.pass-countdown span,
.pass-meta-grid span,
.pass-section-head span {
  color: var(--muted);
  font-size: 13px;
}

.pass-countdown span,
.pass-meta-grid span {
  color: rgba(255, 255, 255, 0.62);
}

.pass-countdown strong {
  font-size: 24px;
}

.pass-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.pass-meta-grid div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.pass-meta-grid div:last-child {
  border-right: 0;
}

.pass-meta-grid strong {
  font-size: 16px;
  line-height: 1.25;
}

.pass-section {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pass-section h2 {
  margin: 0;
  font-size: 22px;
}

.pass-section p {
  margin: 0;
  color: var(--muted);
}

.pass-actions-panel {
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  align-items: center;
}

.pass-actions-panel p {
  margin-top: 4px;
}

.pass-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: stretch;
}

.pass-info-list,
.group-pass-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.pass-info-list div,
.group-pass-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.pass-info-list div:last-child,
.group-pass-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pass-info-list dt,
.group-pass-card dt {
  color: var(--muted);
}

.pass-info-list dd,
.group-pass-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.group-pass-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #bcd8cc;
  border-radius: 8px;
  background: #f2faf6;
}

.group-pass-card > strong {
  font-size: 26px;
}

.notice-stack,
.route-step-list {
  display: grid;
  gap: 10px;
}

.notice-stack .notice-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  box-shadow: none;
}

.notice-stack .notice-item p {
  white-space: pre-wrap;
}

.route-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.route-step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  font-weight: 900;
}

.route-step strong {
  display: block;
}

.precheck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.precheck-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  font-weight: 800;
}

.precheck-item input {
  width: auto;
}

.danger-zone {
  border-color: #efb7b7;
  background: #fff7f4;
}

.pass-sticky-bar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 30, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(24, 33, 30, 0.2);
  backdrop-filter: blur(14px);
}

.pass-sticky-bar form {
  display: grid;
  margin: 0;
}

.pass-sticky-bar small {
  grid-column: 1 / -1;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
}

.flash {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.flash p {
  margin: 0;
}

.flash-error {
  background: #f8dfdf;
  color: #8b2828;
}

.flash-success {
  background: #dff2e8;
  color: var(--green-dark);
}

.flash-info {
  background: #e0eafa;
  color: var(--blue);
}

.flash-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 18px;
}

.flash-modal.is-open {
  display: grid;
}

.flash-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 17, 0.72);
  backdrop-filter: blur(8px);
}

.flash-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  padding: 22px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.flash-modal-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 26px;
  font-weight: 900;
}

.flash-modal-error .flash-modal-mark {
  background: var(--red);
}

.flash-modal-success .flash-modal-mark {
  background: var(--green);
}

.flash-modal-panel h2 {
  margin: 0;
  font-size: clamp(25px, 6vw, 34px);
  line-height: 1.08;
}

.flash-modal-messages {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f8faf7;
  color: var(--ink);
  font-weight: 700;
}

.flash-modal-error .flash-modal-messages {
  background: #fde7e7;
  color: #8b2828;
}

.flash-modal-success .flash-modal-messages {
  background: #dff2e8;
  color: var(--green-dark);
}

.flash-modal-messages p {
  margin: 0;
}

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
  background: #18251f;
  color: white;
}

.admin-brand .brand-mark {
  background: white;
  color: var(--green-dark);
}

.admin-nav {
  align-items: stretch;
  flex-direction: column;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.admin-nav a.active,
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-head {
  margin-bottom: 20px;
}

.admin-head h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-panel {
  box-shadow: none;
}

.dense-table th,
.dense-table td {
  padding: 10px;
  font-size: 14px;
}

.mini-form {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.group-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.inline-form {
  margin-bottom: 16px;
}

.inline-form input,
.inline-form select {
  width: min(240px, 100%);
}

.admin-photo-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.route-list,
.notice-list {
  display: grid;
  gap: 16px;
}

.admin-notice-list {
  margin-top: 16px;
}

.route-section-head {
  padding-top: 6px;
}

.waypoint-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.waypoint-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.waypoint-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waypoint-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  font-weight: 800;
}

.waypoint-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 24px;
}

.login-card h1 {
  margin: 0;
}

.login-brand {
  margin-bottom: 8px;
}

.logout-form {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-band,
  .event-grid,
  .two-column,
  .home-hero,
  .home-current,
  .home-secondary-grid,
  .signup-hero,
  .pass-actions-panel,
  .mobile-event-list,
  .home-split,
  .admin-grid.two,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-meta,
  .safety-alert-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-head,
  .detail-header,
  .admin-head,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: sticky;
    padding: 10px 14px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero-band {
    padding: 24px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .hero-panel {
    display: none;
  }

  .form-grid,
  .map-picker-tools,
  .info-grid,
  .stat-grid,
  .photo-grid,
  .admin-photo-grid,
  .featured-meta,
  .featured-actions,
  .quick-rules,
  .premium-photo-grid {
    grid-template-columns: 1fr;
  }

  .mobile-home {
    width: min(100% - 22px, 1120px);
    padding-top: 12px;
  }

  .action-home {
    padding-bottom: 126px;
  }

  .home-current {
    min-height: 560px;
    padding: 20px;
  }

  .home-current h1 {
    font-size: 46px;
  }

  .home-current-panel {
    grid-template-columns: 1fr 1fr;
  }

  .home-current-panel div {
    min-height: 86px;
    padding: 13px;
  }

  .home-current-panel div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-current-panel div:nth-child(3),
  .home-current-panel div:nth-child(4) {
    border-bottom: 0;
  }

  .home-current-panel strong {
    font-size: 16px;
  }

  .home-current-actions,
  .home-lookup-band,
  .compact-event-item,
  .compact-event-main {
    grid-template-columns: 1fr;
  }

  .compact-event-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-safety-strip {
    align-items: stretch;
  }

  .home-lookup-band {
    padding: 16px;
  }

  .home-secondary-grid {
    gap: 12px;
  }

  .home-sticky-action {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
  }

  .home-hero {
    min-height: 380px;
    padding: 22px;
    background-position: center;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .home-hero p {
    font-size: 15px;
  }

  .home-hero-stats {
    grid-template-columns: 1fr 1fr;
    align-content: start;
  }

  .home-hero-stats div {
    padding: 12px;
  }

  .featured-event {
    margin-top: -34px;
    padding: 16px;
  }

  .featured-event h2 {
    font-size: 28px;
  }

  .featured-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-meta div:last-child {
    border-bottom: 0;
  }

  .featured-actions .button,
  .mobile-event-card .button,
  .safety-modal-panel .button {
    min-height: 50px;
  }

  .quick-rules {
    margin-top: 12px;
  }

  .home-section {
    margin-top: 24px;
  }

  .home-section-head {
    flex-direction: column;
    margin-bottom: 12px;
  }

  .mobile-event-card {
    padding: 15px;
  }

  .event-main-link h3 {
    font-size: 20px;
  }

  .safety-alert-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .home-warning-modal {
    align-items: end;
    padding: 10px;
  }

  .home-warning-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .rank-row {
    padding: 13px;
  }

  .page {
    width: min(100% - 24px, 1160px);
    padding-top: 20px;
  }

  .signup-page {
    width: min(100% - 20px, 980px);
    padding-top: 10px;
    padding-bottom: 128px;
  }

  .signup-hero {
    margin-bottom: 12px;
  }

  .signup-hero-main {
    min-height: 420px;
    padding: 20px;
    background-position: center;
  }

  .signup-hero h1 {
    font-size: 43px;
  }

  .signup-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signup-event-panel {
    grid-template-columns: 1fr 1fr;
  }

  .signup-event-panel div {
    min-height: 96px;
    padding: 14px;
  }

  .signup-event-panel div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .signup-event-panel div:nth-last-child(2) {
    border-bottom: 0;
  }

  .signup-event-panel strong {
    font-size: 16px;
  }

  .signup-section {
    padding: 16px;
  }

  .signup-section-head h2 {
    font-size: 20px;
  }

  .signup-step-index {
    width: 34px;
    height: 34px;
  }

  .signup-sticky-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .signup-sticky-bar .button {
    min-width: 148px;
  }

  .pass-page {
    width: min(100% - 20px, 920px);
    padding-top: 10px;
    padding-bottom: 128px;
  }

  .pass-hero {
    min-height: 430px;
    padding: 20px;
  }

  .pass-hero h1 {
    font-size: 42px;
  }

  .pass-meta-grid,
  .pass-action-grid,
  .precheck-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pass-meta-grid div {
    min-height: 94px;
  }

  .pass-meta-grid div:nth-child(2) {
    border-right: 0;
  }

  .pass-meta-grid div:nth-child(1),
  .pass-meta-grid div:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .pass-section {
    padding: 16px;
  }

  .pass-actions-panel,
  .pass-action-grid {
    grid-template-columns: 1fr;
  }

  .pass-info-list div,
  .group-pass-card dl div {
    align-items: flex-start;
  }

  .route-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .route-step .button {
    grid-column: 2;
    justify-self: start;
  }

  .pass-sticky-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .admin-main {
    padding: 16px;
  }

  .waypoint-item {
    grid-template-columns: 1fr;
  }

  .waypoint-number {
    width: 34px;
    height: 34px;
  }

  .safety-modal {
    align-items: end;
    padding: 10px;
  }

  .flash-modal {
    align-items: end;
    padding: 10px;
  }

  .safety-modal-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .flash-modal-panel {
    width: 100%;
    padding: 18px;
  }
}
