:root {
  --green: #0f3a20;
  --green-mid: #164a2a;
  --cream: #eee3cc;
  --pale: #effde5;
  --accent: #c0ec86;
  --line: #8fa996;
  --orange: #f5a524;
  --beige: #d0bea5;
  font-family: Arial, sans-serif;
  color: var(--green);
  background: var(--pale);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: 3.3rem;
  margin-bottom: 1.2rem;
}
h2 {
  font-size: 1.85rem;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
}
label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  background: white;
  color: var(--green);
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin: 3px 0 0;
}
button {
  border: 0;
  border-radius: 6px;
  font-weight: 600;
}
button.primary {
  padding: 1rem 1.4rem;
  background: var(--orange);
  color: var(--green);
  min-height: 48px;
}
.secondary {
  display: inline-block;
  background: var(--pale);
  border: 1px solid var(--green);
  padding: 0.65rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  color: var(--green);
}
.text-button {
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.5rem 0;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.small {
  font-size: 0.875rem;
  font-weight: 400;
}
.notice {
  border-left: 4px solid var(--green);
  background: var(--cream);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.notice p:last-child {
  margin-bottom: 0;
}
[hidden] {
  display: none !important;
}
.demo-banner {
  background: var(--cream);
  padding: 0.65rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--beige);
}
.demo-banner a {
  margin-left: 0.5rem;
  font-weight: 600;
}
.booking-shell {
  max-width: 1100px;
  min-height: 680px;
  margin: 4rem auto;
  display: grid;
  grid-template-columns: 345px minmax(0, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.booking-intro {
  background: var(--green);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 1.8rem 2.25rem;
}
.brand-logo {
  width: 220px;
  height: 140px;
  object-fit: contain;
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 2.3rem;
}
.intro-content {
  flex: 1;
}
.host-line {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.intro-text {
  font-size: 1rem;
  line-height: 1.7;
}
.appointment-facts {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
}
.appointment-facts div {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.appointment-facts dt {
  font-size: 0.8rem;
  color: var(--beige);
}
.appointment-facts dd {
  margin: 0;
}
.quiet-note {
  font-size: 0.85rem;
  line-height: 1.65;
}
.intro-footer {
  font-size: 0.75rem;
  padding-top: 2rem;
  color: var(--beige);
}
.booking-content {
  padding: 2.7rem 2.5rem 1.2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.step-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.step-heading h2 {
  margin: 0;
}
.step-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-size: 0.8rem;
}
.picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(145px, 1fr);
  gap: 1.75rem;
}
.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.month-nav h3 {
  margin: 0;
  text-align: center;
}
.icon-button {
  background: transparent;
  font-size: 1.7rem;
  color: var(--green);
  min-width: 38px;
  min-height: 38px;
}
.calendar {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.calendar th {
  font-size: 0.72rem;
  font-weight: 400;
  padding: 0.4rem 0;
  color: var(--green-mid);
}
.calendar td {
  text-align: center;
  height: 39px;
  padding: 2px;
}
.day {
  background: transparent;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  max-width: 100%;
  font-size: 0.875rem;
  color: var(--green);
  padding: 0;
}
.day:hover:not(:disabled) {
  background: var(--pale);
}
.day[aria-pressed='true'] {
  background: var(--green);
  color: var(--pale);
}
.day.today {
  box-shadow: inset 0 0 0 1px var(--line);
}
.day:disabled {
  opacity: 0.25;
}
.calendar-note {
  font-size: 0.72rem;
  color: var(--green-mid);
  margin: 1rem 0;
}
.slots-area {
  padding-top: 0.6rem;
}
.slots-area h3 {
  font-size: 0.85rem;
  min-height: 42px;
}
.slots {
  max-height: 310px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 3px 5px 3px 3px;
}
.slot {
  background: white;
  border: 1px solid var(--line);
  padding: 0.65rem 0.25rem;
  color: var(--green);
  font-size: 0.85rem;
  min-height: 43px;
}
.slot:hover {
  background: var(--pale);
  border-color: var(--green);
}
.empty-state {
  font-size: 0.9rem;
  padding: 1rem 0;
}
.timezone-field {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  max-width: 320px;
}
.timezone-field select {
  padding: 0.5rem 0.7rem;
  font-weight: 400;
}
.booking-footer {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.75rem;
}
.selection-summary {
  background: var(--pale);
  border-left: 3px solid var(--green);
  padding: 1rem 1.2rem;
  margin: 0 0 1.5rem;
}
.selection-summary p {
  margin: 0 0 0.25rem;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 400;
}
.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.result-symbol {
  display: grid;
  place-items: center;
  background: var(--pale);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}
.result h2 {
  font-size: 2.3rem;
}
.result:focus {
  outline: none;
}
.loading {
  padding: 2rem 0;
}
.embedded {
  background: transparent;
}
.embedded .booking-shell {
  margin: 0 auto;
  border-radius: 8px;
}
.embedded .demo-banner {
  margin-bottom: 0.5rem;
}
.admin-body {
  background: var(--pale);
}
.admin-header {
  background: var(--green);
  color: var(--cream);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.admin-header img {
  width: 165px;
  height: 75px;
  object-fit: contain;
}
.admin-header a {
  font-size: 0.9rem;
}
.admin-container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}
.admin-container h1 {
  font-size: 2.7rem;
  margin-bottom: 0.5rem;
}
.admin-login {
  max-width: 440px;
  margin: 4rem auto;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin: 2rem 0;
}
.tab {
  background: transparent;
  padding: 0.8rem 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--green);
  font-weight: 400;
}
.tab[aria-selected='true'] {
  border-bottom-color: var(--green);
  font-weight: 600;
}
.admin-panel {
  background: white;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-panel h2 {
  margin-bottom: 1.25rem;
}
.admin-panel h3 {
  margin-top: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.5rem;
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.day-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.day-row label {
  margin: 0;
}
.day-row input {
  margin: 0;
}
.field-help {
  font-size: 0.8rem;
  margin-top: -0.8rem;
  font-weight: 400;
}
.event-editor {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.event-editor:first-child {
  border-top: 0;
  padding-top: 0;
}
.editor-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}
.connection-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.connection-row h3 {
  margin: 0;
}
.connection-row p {
  margin: 0.2rem 0 0;
}
.connection-status {
  font-size: 0.85rem;
}
.code-field {
  font-family: monospace;
  font-size: 0.8rem;
  min-height: 150px;
}
.booking-list {
  display: grid;
  gap: 1rem;
}
.booking-entry {
  border-left: 3px solid var(--green);
  background: var(--pale);
  padding: 1.2rem 1.4rem;
}
.booking-entry h3 {
  margin: 0 0 0.4rem;
}
.booking-entry p {
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.booking-entry .small {
  margin: 0.25rem 0;
}
.status-tag {
  font-size: 0.8rem;
  background: var(--cream);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.compact-button {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}
.exception-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
}
.exception-row input {
  margin: 0;
}
.save-feedback {
  font-size: 0.9rem;
}
.embed-preview {
  width: 100%;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 1rem;
}
.admin-footer {
  font-size: 0.8rem;
  margin: 1.5rem 0;
}
.live-warning {
  border-left: 4px solid var(--orange);
  padding: 0.7rem 1rem;
  background: var(--cream);
  margin: 1rem 0;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.inline-check input {
  margin: 0;
}
@media (max-width: 1100px) {
  .booking-shell {
    margin: 2rem 1.5rem;
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .booking-intro {
    padding: 1.6rem 1.7rem;
  }
  .booking-content {
    padding: 2rem 1.5rem 1.2rem;
  }
  .picker-grid {
    gap: 1rem;
  }
}
@media (max-width: 760px) {
  .booking-shell {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 1rem auto;
    min-height: 0;
    border-radius: 0;
  }
  .booking-intro {
    padding: 1.5rem;
  }
  .brand-logo {
    width: 160px;
    height: 90px;
    margin-bottom: 1rem;
  }
  .booking-intro h1 {
    font-size: 2.45rem;
    margin-bottom: 0.75rem;
  }
  .intro-text {
    margin-bottom: 1rem;
  }
  .appointment-facts {
    display: flex;
    gap: 2rem;
    margin: 0.8rem 0;
    border: 0;
  }
  .appointment-facts div {
    padding: 0;
    border: 0;
  }
  .quiet-note,
  .intro-footer {
    display: none;
  }
  .booking-content {
    padding: 1.7rem 1.25rem 1rem;
  }
  .picker-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(115px, 1fr);
    gap: 1rem;
  }
  .step-heading {
    margin-bottom: 1.5rem;
  }
  .step-heading h2 {
    font-size: 1.65rem;
  }
  .slots {
    max-height: 280px;
  }
  .calendar td {
    height: 38px;
  }
  .day {
    width: 33px;
    height: 33px;
  }
  .calendar-note {
    font-size: 0.68rem;
  }
  .month-nav h3 {
    font-size: 0.85rem;
  }
  .icon-button {
    min-width: 28px;
  }
  .admin-header {
    padding: 0.6rem 1rem;
  }
  .admin-header img {
    width: 130px;
  }
  .admin-container {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  .admin-container h1 {
    font-size: 2.2rem;
  }
  .admin-panel {
    padding: 1.25rem;
  }
  .form-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }
  .day-row {
    grid-template-columns: 85px 1fr;
    gap: 0.5rem;
  }
  .day-row input {
    font-size: 0.8rem;
    padding: 0.7rem 0.5rem;
  }
  .exception-row {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    gap: 1rem;
  }
  .connection-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .embed-preview {
    height: 1100px;
  }
}
@media (max-width: 380px) {
  .picker-grid {
    grid-template-columns: 1fr;
  }
  .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 220px;
  }
  .slots-area h3 {
    min-height: 0;
  }
  .calendar-area {
    max-width: 300px;
  }
  .booking-content {
    padding: 1.5rem 1rem;
  }
  .demo-banner {
    font-size: 0.72rem;
  }
}
.brand-field {
  background: var(--cream);
  margin: -1.8rem -2.25rem 0.75rem;
  padding: 6px 2.25rem;
}
.brand-field .brand-logo {
  display: block;
  height: auto;
  margin: 0;
}
.booking-intro h1 {
  font-size: 2.7rem;
  overflow-wrap: anywhere;
}
.admin-header {
  background: var(--cream);
  color: var(--green);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .brand-field {
    margin: -1.6rem -1.7rem 0.75rem;
    padding: 6px 1.7rem;
  }
  .booking-intro h1 {
    font-size: 2.35rem;
  }
}
@media (max-width: 760px) {
  .brand-field {
    margin: -1.5rem -1.5rem 0.75rem;
    padding: 6px 1.5rem;
  }
  .booking-intro h1 {
    font-size: 2.45rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (max-width: 520px) {
  .picker-grid {
    grid-template-columns: 1fr;
  }
  .calendar-area {
    max-width: none;
  }
  .calendar td {
    height: 46px;
  }
  .day {
    width: 42px;
    height: 42px;
  }
  .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 240px;
  }
  .slots-area h3 {
    min-height: 0;
  }
}
