:root {
  --paper: #f3f2ec;
  --ink: #202f2b;
  --muted: #6c7770;
  --line: #dce1d7;
  --green: #265e48;
  --lime: #d9ef8d;
  --white: #fff;
  --orange: #aa5e22;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button,
input,
select {
  border-radius: 8px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9daf52;
  outline-offset: 3px;
}
header {
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw;
  gap: 20px;
}
.brand {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 800;
}
.brand span {
  color: var(--lime);
}
.demo {
  color: #c8d2c9;
  font-size: 12px;
}
nav {
  display: flex;
  gap: 6px;
}
nav button {
  border: 0;
  background: transparent;
  color: #c8d2c9;
  padding: 10px 15px;
}
nav button.active {
  background: var(--lime);
  color: var(--ink);
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 30px 80px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin: 12px 0;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.lead {
  margin: 0 0 30px;
  color: var(--muted);
}
.top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.top .lead {
  margin: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.aside {
  background: var(--green);
  color: #fff;
}
.aside .muted {
  color: #d3dfd3;
}
.aside .eyebrow {
  color: var(--lime);
}
.btn {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 19px;
  font-weight: 600;
}
.btn.secondary {
  background: #edf1e9;
  color: var(--ink);
}
.btn.light {
  background: var(--lime);
  color: var(--ink);
}
.btn.small {
  padding: 8px 11px;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
.steps {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}
.step {
  flex: 1;
  border-top: 3px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.step.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 7px;
  border: 1px solid #cdd6ca;
  background: #fff;
  color: var(--ink);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 7px;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.theme {
  border: 2px solid var(--line);
  padding: 10px;
  background: white;
  text-align: left;
}
.theme.selected {
  border-color: var(--green);
}
.swatch {
  height: 80px;
  border-radius: 4px;
  background: var(--green);
  margin-bottom: 12px;
  padding: 13px;
  color: white;
  font-weight: 700;
}
.swatch:after {
  content: "";
  display: block;
  width: 70%;
  height: 8px;
  background: #ffffff50;
  margin-top: 10px;
}
.theme:nth-child(2) .swatch {
  background: #344959;
}
.theme:nth-child(3) .swatch {
  background: #a1512e;
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid #ffffff26;
}
.checklist li:before {
  content: "✓";
  color: var(--lime);
  margin-right: 12px;
}
.notice {
  background: #f6eedf;
  color: #765324;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.5;
}
.preview {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.preview-head {
  background: var(--green);
  color: #fff;
  padding: 24px;
}
.preview-body {
  padding: 22px;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  padding: 6px 10px;
  background: #edf3e5;
  color: var(--green);
  font-size: 12px;
}
.pill.orange {
  background: #fff0de;
  color: var(--orange);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat strong {
  display: block;
  font-size: 30px;
  margin-top: 7px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar input {
  width: auto;
  margin: 0;
  padding: 9px;
}
.calendar {
  padding: 0;
  overflow: hidden;
}
.calendar-title {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.schedule {
  display: grid;
  grid-template-columns: 65px 1fr;
}
.times {
  color: var(--muted);
  font-size: 12px;
}
.times div {
  height: 56px;
  padding: 12px;
}
.timeline {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 55px,
    var(--line) 55px,
    var(--line) 56px
  );
  height: 504px;
  border-left: 1px solid var(--line);
  margin-right: 18px;
}
.event {
  position: absolute;
  left: 12px;
  right: 8px;
  border-left: 4px solid var(--green);
  background: #eaf2e5;
  padding: 7px 12px;
  border-radius: 6px;
  text-align: left;
  overflow: hidden;
  color: var(--ink);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  font-size: 12px;
}
.event strong {
  display: inline-block;
  margin-right: 10px;
}
.event.bus {
  background: #fff0de;
  border-left-color: var(--orange);
}
.event.block {
  background: #eaece7;
  border-left-color: #819084;
}
.request {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.request p {
  margin: 5px 0;
  font-size: 13px;
}
.request .actions {
  margin: 12px 0 0;
}
.date-list {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 10px 0 22px;
}
.date-btn {
  min-width: 64px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.date-btn strong {
  display: block;
  font-size: 21px;
  margin: 4px;
}
.date-btn.selected,
.slot.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.slot {
  padding: 10px 3px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.summary-row {
  padding: 12px 0;
  border-bottom: 1px solid #ffffff25;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.summary-row strong {
  text-align: right;
}
.success {
  text-align: center;
  padding: 30px;
}
.success-icon {
  background: var(--lime);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}
.footer-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
dialog {
  border: 0;
  border-radius: 14px;
  width: min(480px, 92vw);
  padding: 26px;
  box-shadow: 0 20px 80px #17292040;
}
dialog::backdrop {
  background: #17292080;
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.modal-top h2 {
  margin: 0;
}
.close {
  border: 0;
  background: #eef1e9;
  padding: 7px 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 9px;
  z-index: 20;
  max-width: 90vw;
}
.empty {
  padding: 24px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  header {
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
    flex: 1;
    padding: 10px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .top {
    align-items: flex-start;
    flex-direction: column;
  }
  main {
    padding: 25px 16px 50px;
  }
  .card {
    padding: 20px;
  }
  .calendar {
    padding: 0;
  }
  .stats {
    gap: 7px;
  }
  .stat {
    padding: 12px;
  }
  .stat strong {
    font-size: 24px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .theme-grid {
    gap: 6px;
  }
  .theme {
    padding: 6px;
    font-size: 12px;
  }
  .swatch {
    height: 65px;
  }
  .slots {
    grid-template-columns: repeat(4, 1fr);
  }
  .demo {
    font-size: 11px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .event {
    padding: 6px;
  }
  .steps {
    gap: 6px;
  }
  .step {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: appear 0.25s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
