:root {
  font-family: Arial, sans-serif;
  color: #1d1b18;
  background: #f4f1e9;
  --accent: #e5007d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1160px;
  margin: auto;
  padding: 24px;
}
header button {
  margin-left: auto;
}
.wordmark {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -3px;
  color: inherit;
  text-decoration: none;
}
main {
  max-width: 1160px;
  padding: 20px 24px 64px;
  margin: auto;
}
.narrow {
  max-width: 560px;
  margin: 24px auto;
}
.heading,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.07;
  letter-spacing: -1.5px;
  margin: 14px 0 24px;
}
h2 {
  font-size: 21px;
  margin: 0 0 14px;
}
p {
  line-height: 1.55;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8b245a;
}
.layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}
.card {
  background: #fffdf8;
  border: 1px solid #ded8cd;
  border-radius: 20px;
  padding: 24px;
}
.notice {
  background: #fce5f0;
  border: 1px solid #efafcf;
  border-radius: 16px;
  padding: 18px 22px;
}
.notice p {
  margin: 6px 0 0;
}
.muted {
  color: #665e56;
  font-size: 14px;
}
.pill {
  border-radius: 30px;
  padding: 9px 13px;
  background: #e9e3d8;
  font-size: 12px;
  white-space: nowrap;
}
.pair {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  background: white;
  color: #1d1b18;
  border: 1px solid #b8aea0;
  border-radius: 10px;
  font: inherit;
  padding: 13px;
  margin-top: 8px;
}
button,
a.primary {
  cursor: pointer;
  border: 1px solid #c5bbad;
  border-radius: 10px;
  padding: 12px 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b62573;
  outline-offset: 3px;
}
button.primary,
a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 700;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.campaign {
  margin: 12px 0;
}
.campaign h3 {
  overflow-wrap: anywhere;
  margin: 0;
}
.campaign-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.stats {
  display: flex;
  gap: 24px;
  margin: 20px 0;
}
.stats strong {
  display: block;
  font-size: 25px;
}
.stats span {
  font-size: 12px;
  color: #665e56;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.warning {
  color: #9e1659;
  font-size: 12px;
  font-weight: 700;
}
#message {
  max-width: 800px;
  overflow-wrap: anywhere;
}
canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}
.empty {
  padding: 30px 0;
  color: #665e56;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .heading {
    align-items: start;
    flex-direction: column;
  }
  header,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .card {
    padding: 20px;
  }
  .pair {
    grid-template-columns: 80px 1fr;
  }
}

.wordmark img {
  display: block;
  width: 94px;
  height: auto;
  object-fit: contain;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-weight: 700;
  margin-bottom: 18px;
}
textarea {
  resize: vertical;
}
.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
}
.tag-time {
  color: #6740a6;
  background: #f0e7ff;
}
.tag-location {
  color: #1d5c86;
  background: #e2f2fc;
}
.tag-event {
  color: #a20b5c;
  background: #fce5f0;
}
@media (max-width: 380px) {
  .pair {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 12px;
    flex-wrap: wrap;
  }
}
