:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #183a35;
  background: #f6f7f2;
  font-synthesis: none;
  --accent: #1d5347;
  --line: #dce3d9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.top {
  padding: 26px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand span {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: #65756d;
}
.layout {
  max-width: 1260px;
  margin: 70px auto 90px;
  padding: 0 35px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.intro {
  padding: 38px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #61776a;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 25px 0;
}
p {
  line-height: 1.65;
  color: #62736a;
  font-size: 14px;
}
.intro > p {
  font-size: 16px;
  max-width: 330px;
}
.intro-line {
  width: 50px;
  height: 2px;
  background: #a2b894;
  margin: 35px 0;
}
.assurance {
  display: flex;
  gap: 20px;
  margin: 24px 0;
}
.assurance > span {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #8a9b80;
}
.assurance strong {
  font-size: 13px;
}
.assurance p {
  margin: 5px 0;
  font-size: 12px;
}
.demo-note {
  font-size: 10px;
  line-height: 1.8;
  color: #637664;
  letter-spacing: 1px;
  margin-top: 40px;
}
.booking {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 65px #27442c09;
  overflow: hidden;
  min-width: 0;
}
.booking-head {
  padding: 24px 28px;
  border-bottom: 1px solid #edf0e9;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.dot {
  height: 8px;
  width: 8px;
  flex-shrink: 0;
  background: #638659;
  border-radius: 50%;
}
.small-tag {
  margin-left: auto;
  color: #687663;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.steps {
  display: flex;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 11px;
  color: #7a857a;
  gap: 8px;
}
.steps span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.steps b {
  font-weight: 500;
}
.steps [aria-current] {
  color: #174f3e;
  font-weight: 800;
}
.steps [aria-current] b {
  font-weight: 700;
}
#content {
  padding: 8px 28px 28px;
  min-height: 350px;
}
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  margin: 8px 0 4px;
  letter-spacing: -0.5px;
}
.subtitle {
  font-size: 12px;
  margin: 5px 0 24px;
}
.service {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 12px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  transition:
    background 0.15s,
    border-color 0.15s;
  color: #193b31;
}
.service:hover,
.service:focus-visible {
  background: #f2f6ee;
  border-color: #708d65;
}
.service strong {
  font-size: 14px;
}
.service p {
  font-size: 12px;
  grid-column: 1/-1;
  margin: 0;
  max-width: 340px;
}
.service .price {
  font-weight: 650;
  font-size: 14px;
}
.service small {
  font-size: 11px;
  color: #657860;
}
.arrow {
  font-size: 17px;
  text-align: right;
}
.booking-foot {
  border-top: 1px solid #edf0e9;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  color: #73806f;
  font-size: 10px;
}
.footer {
  border-top: 1px solid var(--line);
  margin: 0 6%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  color: #7a8776;
  font-size: 11px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #d9a84e;
  outline-offset: 3px;
}
.back {
  padding: 0;
  background: none;
  border: 0;
  color: #5f7565;
  font-size: 12px;
  margin: 10px 0 18px;
}
.primary {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  margin-top: 18px;
}
.primary:hover {
  background: #143e32;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9cd;
  padding: 12px;
  border-radius: 7px;
  background: #fff;
  color: #183a35;
  font-size: 14px;
}
input[type="checkbox"] {
  width: auto;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.slot {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 12px;
  color: var(--accent);
}
.slot:hover {
  background: #edf3e8;
}
.slot.chosen {
  background: var(--accent);
  color: white;
}
.summary {
  background: #f3f6ef;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  font-size: 13px;
}
.summary p {
  margin: 6px 0;
}
#notice {
  margin: 8px 28px;
  padding: 14px;
  background: #fff2de;
  border: 1px solid #e3c38e;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.success {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px 0;
}
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e6efde;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #3f6842;
}
.admin {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 25px;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 17px;
  border-radius: 8px;
  color: #234a3f;
}
.tabs button.active {
  background: var(--accent);
  color: white;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 14px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 10px;
}
.stat strong {
  font-size: 32px;
  display: block;
}
.list-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.list-item p {
  margin: 5px 0;
}
.secondary {
  padding: 10px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: #234a3f;
}
.admin-msg {
  padding: 15px;
  background: #e9f0e1;
  border-radius: 8px;
  font-size: 13px;
  margin: 15px 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.quiet {
  font-size: 12px;
  color: #647360;
}
.checkrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkrow label {
  margin: 0;
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 25px auto 40px;
    padding: 0 20px;
    max-width: 600px;
  }
  .intro {
    padding: 8px 0;
  }
  .intro h1 {
    font-size: 43px;
    line-height: 1.05;
    margin: 15px 0;
  }
  .intro h1 br {
    display: none;
  }
  .intro > p {
    max-width: none;
    font-size: 14px;
  }
  .assurance,
  .intro-line {
    display: none;
  }
  .demo-note {
    margin: 15px 0;
    font-size: 9px;
  }
  .top {
    padding: 20px;
  }
  .brand {
    font-size: 18px;
  }
  .brand span {
    font-size: 12px;
  }
  .top > a:last-child {
    font-size: 10px;
  }
  .booking-head {
    padding: 20px;
  }
  .steps {
    padding: 20px;
    font-size: 10px;
  }
  #content {
    padding: 5px 20px 25px;
  }
  .small-tag {
    font-size: 8px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .list-item {
    align-items: flex-start;
  }
  .footer {
    font-size: 9px;
  }
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Host websites own their layout; embed=1 renders only the booking component. */
body.embedded .top,
body.embedded .intro,
body.embedded > .footer {
  display: none;
}
body.embedded .layout {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
}
body.embedded .booking {
  box-shadow: none;
}
.site-demo {
  max-width: 960px;
  padding: 50px 25px;
  margin: 0 auto;
}
.site-demo > p {
  max-width: 600px;
}
.site-demo section {
  margin-top: 50px;
}
.site-demo iframe {
  border: 0;
  border-radius: 16px;
  background: #f6f7f2;
}
.candidate-note {
  margin: 0 28px 12px;
  padding: 13px 15px;
  background: #eef3e8;
  border: 1px solid #d3ddca;
  color: #344a31;
  font-size: 12px;
  line-height: 1.6;
}
body[data-theme="forest"] {
  --accent: #16482b;
  --line: #d3ddcf;
  color: #17241c;
  background: #f4f5f1;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
body[data-theme="forest"] h1,
body[data-theme="forest"] h2 {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}
body[data-theme="forest"] .booking {
  border-radius: 2px;
}
body[data-theme="forest"] .service {
  border-radius: 0;
  color: #17241c;
}
body[data-theme="forest"] .service:hover {
  background: #edf3e8;
  border-color: #6c9868;
}
body[data-theme="forest"] .primary {
  border-radius: 0;
  background: #16482b;
}
body[data-theme="forest"] .slot,
body[data-theme="forest"] input {
  border-radius: 2px;
}
body[data-theme="forest"] .summary {
  border-radius: 0;
  background: #e8eee2;
}
body[data-theme="forest"] .price {
  font-size: 12px;
}
@media (max-width: 600px) {
  .candidate-note {
    margin: 0 20px 12px;
  }
  body[data-theme="forest"] .service {
    grid-template-columns: 1fr;
  }
  body[data-theme="forest"] .service .price {
    text-align: left;
  }
}

/* Tenant workspace forms must fit narrow screens, including native time inputs. */
.workspace h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.workspace fieldset {
  min-inline-size: 0;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.workspace fieldset .row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 8px;
  margin: 12px 0;
}
.workspace fieldset .row label {
  margin: 0;
}
.workspace input,
.workspace select {
  min-width: 0;
  max-width: 100%;
}
.workspace .list-item {
  overflow-wrap: anywhere;
}
.workspace .list-item small {
  display: block;
}
.workspace summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
}
.workspace details {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 600px) {
  .workspace .panel {
    padding: 16px;
  }
  .workspace fieldset .row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .workspace fieldset .row button {
    grid-column: 1 / -1;
  }
  .workspace .list-item {
    flex-wrap: wrap;
  }
  .workspace .top {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Booking date selection: one week, with real available start times. */
body.choosing-time .layout {
  display: block;
  max-width: 1150px;
  margin: 32px auto 56px;
}
body.choosing-time .intro {
  display: none;
}
body.choosing-time .booking {
  border-radius: 16px;
}
.availability-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.availability-range {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.availability-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
.availability-navigation button {
  min-height: 42px;
  min-width: 42px;
  font-size: 13px;
}
.availability-navigation button:first-child,
.availability-navigation button:last-child {
  font-size: 22px;
}
.availability-navigation button:disabled {
  cursor: default;
  opacity: 0.35;
}
.availability-status {
  margin: 0 0 14px;
  font-size: 13px;
}
.availability-status .secondary {
  margin-left: 12px;
  font-size: 12px;
}
.availability-scroll {
  max-height: 570px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  scrollbar-width: auto;
  scrollbar-color: #a8b8aa #f2f5f0;
  overscroll-behavior: contain;
}
.availability-table {
  width: 100%;
  min-width: 760px;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
}
.availability-table th,
.availability-table td {
  text-align: center;
  border-bottom: 1px solid #e8eee5;
  border-right: 1px solid #e8eee5;
}
.availability-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f4f7f1;
  padding: 14px 5px 12px;
  font-weight: 500;
}
.availability-table thead th span {
  display: block;
  text-transform: capitalize;
  color: #62736a;
}
.availability-table thead th strong {
  display: block;
  font-size: 23px;
  margin: 5px 0 3px;
  font-weight: 600;
}
.availability-table thead th small {
  font-size: 10px;
  font-weight: 400;
  color: #62736a;
}
.availability-table thead th.is-today {
  background: #e6efdf;
}
.availability-table th:first-child {
  width: 58px;
  position: sticky;
  left: 0;
  background: #fafbf8;
  z-index: 1;
  color: #62736a;
  font-weight: 500;
}
.availability-table thead th:first-child {
  z-index: 3;
  background: #f4f7f1;
}
.availability-table tbody th {
  padding: 13px 4px;
}
.availability-table td {
  padding: 4px 5px;
  height: 48px;
  background: #fff;
}
.availability-table td.is-past {
  background: #fafbf8;
}
.available-time {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 1px solid #bfd3b7;
  border-radius: 7px;
  background: #edf5e7;
  color: #17492d;
  font-size: 12px;
  font-weight: 650;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.available-time + .available-time {
  margin-top: 4px;
}
.available-time:hover,
.available-time:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.unavailable-time {
  color: #c5cec1;
  font-size: 13px;
}
.availability-help {
  font-size: 12px;
  margin: 12px 0 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.embedded.choosing-time .layout {
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  body.choosing-time .layout {
    padding: 0 10px;
    margin: 16px auto 32px;
  }
  body.choosing-time #content {
    padding: 4px 12px 20px;
  }
  body.choosing-time .booking-head,
  body.choosing-time .steps {
    padding: 16px 12px;
  }
  body.choosing-time .candidate-note {
    margin-left: 12px;
    margin-right: 12px;
  }
  .availability-toolbar {
    gap: 12px;
    padding: 14px 0;
  }
  .availability-range {
    font-size: 17px;
    width: 100%;
  }
  .availability-navigation {
    width: 100%;
    justify-content: space-between;
  }
  .availability-navigation button {
    min-height: 44px;
  }
  .availability-navigation button:nth-child(2) {
    flex: 1;
  }
  .availability-scroll {
    max-height: 480px;
  }
  .availability-table {
    min-width: 760px;
  }
  .available-time {
    min-height: 44px;
  }
}
/* Keep the first available times visible without a large marketing header. */
body.choosing-time .top {
  padding-top: 16px;
  padding-bottom: 16px;
}
body.choosing-time .booking-head {
  padding-top: 18px;
  padding-bottom: 18px;
}
body.choosing-time .steps {
  padding-top: 16px;
  padding-bottom: 16px;
}
body.choosing-time .back {
  margin: 6px 0 10px;
}
body.choosing-time h2 {
  font-size: 26px;
  margin-top: 4px;
}
body.choosing-time .subtitle {
  margin-bottom: 16px;
}
body.choosing-time .candidate-note {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 11px;
  line-height: 1.4;
}
.availability-toolbar {
  padding-top: 12px;
  padding-bottom: 12px;
}
.availability-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
}
