@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/Inter-roman.var.woff2") format("woff2"); }
:root { color-scheme: light; --bg: #eeeff2; --card: #fff; --ink: #15171a; --muted: #6b7280; --line: #e1e3e8; --subtle: #f4f5f6; --day: #e5e7eb; --accent: #172e26; --bad: #b42318; --good: #226341; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--ink); font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; display: flex; align-items: center; justify-content: center; padding: 64px 24px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .button-link { cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { color: #3c3e44; font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: 16px; line-height: 1.5; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; }
a { color: var(--accent); text-underline-offset: 3px; }
.booking-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); width: 1040px; max-width: 100%; min-height: 490px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.meeting-details { padding: 24px; border-right: 1px solid var(--line); }
.avatar { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: #e5e7eb; color: #28323f; margin-bottom: 8px; display: grid; place-items: center; }
.avatar svg { width: 19px; height: 19px; fill: currentColor; align-self: end; }
.host-name { color: #626977; font-size: 14px; font-weight: 600; margin-bottom: 8px; overflow-wrap: anywhere; }
.description { margin-top: 10px; color: #404650; font-size: 14px; line-height: 1.5; }
.meeting-meta { margin-top: 30px; display: grid; gap: 18px; font-size: 14px; }
.meta-row { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.meta-row > .icon { margin-top: 2px; color: #424750; }
.meta-secondary { display: block; }
.segmented { display: inline-flex; width: max-content; gap: 2px; padding: 3px; background: var(--subtle); border-radius: 10px; }
.segmented button { border: 0; border-radius: 7px; background: transparent; padding: 3px 8px; font-size: 14px; line-height: 22px; white-space: nowrap; }
.segmented button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px #11182726; }
.segmented button:hover:not(:disabled) { background: #fff; }
.durations { margin-top: -5px; }
.timezone-row { align-items: center; }
.timezone-label { display: block; min-width: 0; width: 100%; }
select { appearance: none; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23424750' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; color: inherit; border: 0; border-radius: 4px; padding: 3px 23px 3px 0; font-size: 14px; width: 100%; cursor: pointer; text-overflow: ellipsis; }
select:disabled { color: #424750; cursor: default; }
.picker { display: grid; grid-template-columns: minmax(0, 1fr) 280px; min-width: 0; }
.calendar-panel { padding: 18px 20px 20px; min-width: 0; }
.calendar-heading, .time-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; }
.calendar-heading { margin-bottom: 16px; }
.month-year { color: var(--muted); font-weight: 400; }
.month-navigation { display: flex; gap: 4px; }
.icon-button { display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; width: 32px; height: 32px; color: #6b7280; padding: 0; }
.icon-button:hover:not(:disabled) { background: var(--subtle); }
.icon-button:disabled { color: #d3d7df; }
.weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.weekdays { margin-bottom: 14px; }
.weekdays span { text-align: center; text-transform: uppercase; font-size: 12px; line-height: 20px; letter-spacing: .06em; font-weight: 500; }
.calendar-day { position: relative; aspect-ratio: 1; min-height: 38px; width: 100%; border: 1px solid transparent; border-radius: 8px; background: var(--day); font-size: 14px; line-height: 1; padding: 0; font-weight: 500; }
.calendar-day:hover:not(:disabled):not([aria-pressed="true"]) { background: #d9dde3; border-color: #c4cbd4; }
.calendar-day:disabled { background: transparent; color: #9298a2; font-weight: 400; }
.calendar-day[aria-pressed="true"] { background: var(--accent); color: #fff; font-weight: 600; }
.calendar-day.today::after { position: absolute; content: ""; width: 5px; height: 5px; border-radius: 50%; bottom: 15%; left: calc(50% - 2.5px); background: currentColor; }
.calendar-note { font-size: 13px; color: var(--muted); margin-top: 18px; min-height: 20px; }
.time-panel { border-left: 1px solid var(--line); padding: 14px 19px 0; min-width: 0; }
.time-heading { margin-bottom: 10px; }
.time-heading h2 { font-size: 16px; white-space: nowrap; }
.day-number { font-weight: 400; font-size: 14px; margin-left: 4px; }
.time-format button { padding: 1px 6px; }
.times { display: flex; flex-direction: column; gap: 8px; max-height: 432px; overflow-y: auto; padding: 1px 1px 16px; scrollbar-width: thin; scrollbar-color: #d2d6dc transparent; }
.time { flex: 0 0 auto; width: 100%; border: 1px solid #cfd4dc; background: #fff; box-shadow: 0 1px 2px #1118270d; border-radius: 9px; padding: 7px 12px; font-size: 14px; line-height: 20px; font-weight: 500; }
.time:hover, .time:focus-visible { background: #f4f7f5; border-color: var(--accent); }
.empty-times { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 290px; padding: 24px 4px; text-align: center; }
.empty-icon { display: grid; place-items: center; height: 40px; width: 40px; border: 1px solid var(--line); border-radius: 10px; color: #68717e; margin-bottom: 16px; }
.empty-icon .icon { width: 20px; height: 20px; }
.empty-times p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.text-button { font-size: 14px; font-weight: 500; color: var(--accent); background: transparent; border: 0; padding: 6px; margin-top: 14px; text-decoration: underline; text-underline-offset: 3px; }
.booking-card[data-step="form"], .booking-card[data-step="code"] { width: 760px; }
.form-panel { padding: 26px 32px; min-width: 0; }
.form-panel > .muted { margin-top: 6px; margin-bottom: 22px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
form label { display: block; font-size: 14px; font-weight: 500; margin: 16px 0 6px; }
.required { color: #667080; }
.optional { color: var(--muted); font-weight: 400; }
input, textarea { display: block; width: 100%; border: 1px solid #cfd4dc; background: #fff; border-radius: 7px; padding: 9px 12px; font-size: 16px; color: var(--ink); line-height: 1.4; box-shadow: 0 1px 2px #11182705; }
textarea { resize: vertical; min-height: 86px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 20px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; padding: 9px 16px; font-size: 14px; font-weight: 500; line-height: 22px; border: 1px solid var(--accent); text-decoration: none; }
.primary-button { background: var(--accent); color: #fff; }
.primary-button:hover:not(:disabled) { background: #244638; border-color: #244638; }
.secondary-button { background: #fff; color: #333b43; border-color: #cfd4dc; }
.secondary-button:hover:not(:disabled) { background: var(--subtle); }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 18px; }
.error { color: var(--bad); font-size: 14px; line-height: 1.5; margin-top: 10px; }
.error:empty { display: none; }
.hp { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.booking-card[data-step="done"] { display: block; width: 560px; min-height: 0; }
.booking-card[data-step="done"] .meeting-details { display: none; }
.confirmation-panel { text-align: center; padding: 40px; }
.success-icon { display: grid; place-items: center; margin: 0 auto 20px; width: 44px; height: 44px; border-radius: 50%; background: #edf4ef; color: var(--accent); }
.success-icon .icon { width: 24px; height: 24px; }
.confirmation-panel h2 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 12px; }
.confirmation-summary { text-align: left; background: #f8f9fa; padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; margin: 24px 0; font-size: 14px; display: grid; gap: 8px; }
.confirmation-summary:empty { display: none; }
.status-card { display: block; max-width: 560px; min-height: 0; padding: 36px; }
.status-card .host-name { margin-top: 16px; }
.status-card h1 { margin-bottom: 8px; }
.status-card .status { display: inline-block; margin: 24px 0 12px; border: 1px solid #d7dbdf; background: var(--subtle); color: #4b5563; border-radius: 6px; padding: 4px 10px; font-size: 14px; font-weight: 500; }
.status.confirmed { background: #edf6ef; border-color: #c8e2ce; color: #256341; }
.status.declined, .status.expired { background: #fff3f1; border-color: #f1d3cd; color: var(--bad); }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; font-size: 14px; }
@media (max-width: 1000px) and (min-width: 761px) {
  body { padding: 40px 20px; }
  .booking-card { grid-template-columns: 235px minmax(0, 1fr); }
  .picker { grid-template-columns: minmax(0, 1fr) 210px; }
  .meeting-details { padding: 22px 18px; }
  .calendar-panel { padding: 18px 14px; }
  .time-panel { padding: 14px 12px 0; }
  .calendar-day { min-height: 32px; }
}
@media (max-width: 760px) {
  body { display: block; background: #fff; padding: 0; }
  .booking-card { display: block; border: 0; border-radius: 0; width: 100%; min-height: 100svh; }
  .meeting-details { padding: 24px 24px 22px; border-right: 0; }
  .meeting-meta { margin-top: 26px; gap: 16px; }
  .timezone-label { width: auto; max-width: 100%; }
  .picker { display: block; }
  .calendar-panel { padding: 18px 20px 24px; }
  .calendar-heading { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
  .weekdays { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .calendar-day { max-height: 64px; min-height: 40px; }
  .calendar-note { margin-top: 12px; }
  .time-panel { padding: 20px 20px 32px; border: 0; }
  .times { max-height: none; overflow: visible; padding-bottom: 0; }
  .time { min-height: 40px; }
  .empty-times { min-height: 190px; }
  .booking-card[data-step="form"], .booking-card[data-step="code"] { width: 100%; }
  .form-panel { border-top: 1px solid var(--line); padding: 24px; }
  .booking-card[data-step="done"] { width: 100%; }
  .confirmation-panel { padding: 48px 24px; }
  .status-card { max-width: none; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
