@font-face {
  font-family: Neutra;
  src: url("/assets/NeutraText-Book.woff2");
}
@font-face {
  font-family: Windslow;
  src: url("/assets/windslow.woff2");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #faf8f3;
  color: #293022;
  font-family: Neutra, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.timeline-scroll:focus-visible {
  outline: 3px solid #9a713b;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font:
    clamp(32px, 3.2vw, 48px) / 1.15 Windslow,
    Georgia,
    serif;
  margin-bottom: 12px;
}
h2 {
  font:
    27px/1.2 Windslow,
    Georgia,
    serif;
}
h3 {
  font:
    24px/1.2 Windslow,
    Georgia,
    serif;
}
.topbar {
  height: 92px;
  border-bottom: 1px solid #dfdfd4;
  display: flex;
  align-items: center;
  padding: 0 4%;
  gap: 28px;
}
.topbar img {
  display: block;
  height: 50px;
  width: 150px;
}
.private-label,
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
}
.private-label {
  padding-left: 28px;
  border-left: 1px solid #cecec4;
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 44px 4% 24px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.page-heading p:last-child {
  color: #76786b;
  margin: 0;
}
.eyebrow {
  color: #787962;
  margin-bottom: 12px;
}
.primary {
  background: #303b29;
  border: 1px solid #303b29;
  color: white;
  border-radius: 7px;
  padding: 13px 22px;
  white-space: nowrap;
}
.primary:hover {
  background: #455039;
}
.primary span {
  font-size: 22px;
  margin-right: 8px;
}
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #d9dacf;
  border-radius: 6px;
  padding: 8px 13px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}
.quiet:hover,
.icon-button:hover {
  background: #edeedf;
}
.notice {
  background: #f1ecdd;
  border: 1px solid #e0d7bd;
  border-radius: 7px;
  padding: 11px 16px;
  font-size: 14px;
  color: #756244;
  margin-bottom: 24px;
}
.notice strong {
  font-weight: 600;
}
.villa-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.villa-card {
  background: #fff;
  border: 1px solid #dedfd3;
  display: flex;
  align-items: center;
  padding: 10px;
  text-align: left;
  border-radius: 9px;
  gap: 17px;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.villa-card[aria-pressed="true"] {
  border-color: #4c5b3c;
  box-shadow: 0 0 0 1px #4c5b3c;
}
.villa-card img {
  width: 100px;
  height: 94px;
  object-fit: cover;
  border-radius: 5px;
}
.villa-card h3 {
  margin: 0 0 3px;
}
.villa-card p {
  font-size: 13px;
  margin: 0;
  color: #7b7b6e;
}
.villa-card .card-count {
  font-size: 13px;
  color: #465b36;
  margin-top: 10px;
}
.calendar-panel,
.list-panel {
  background: white;
  border: 1px solid #dedfd3;
  border-radius: 10px;
  overflow: hidden;
}
.calendar-toolbar {
  padding: 23px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.month-navigation {
  display: flex;
  gap: 12px;
  align-items: center;
}
.month-navigation h2 {
  margin: 0;
  min-width: 220px;
  text-align: center;
}
.icon-button {
  font-family: Arial, sans-serif;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #d9dacf;
  border-radius: 6px;
  font-size: 21px;
  flex-shrink: 0;
}
.calendar-options {
  display: flex;
  gap: 12px;
  align-items: center;
}
.month-jump {
  font-size: 11px;
  color: #747b69;
  display: flex;
  gap: 8px;
  align-items: center;
}
.month-jump input {
  padding: 6px;
  width: 160px;
  font-size: 13px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px 22px;
  font-size: 13px;
  color: #717568;
  flex-wrap: wrap;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.confirmed {
  background: #687e56;
}
.hold {
  background: #d8ac5d;
}
.owner {
  background: #829bab;
}
.maintenance {
  background: #b08273;
}
.calendar-tip {
  margin-left: auto;
  font-size: 12px;
}
.timeline-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.timeline-head,
.villa-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-width: 1200px;
}
.timeline-head {
  border-top: 1px solid #e9e9e0;
  border-bottom: 1px solid #e0e2d6;
  background: #f9faf6;
}
.row-label {
  position: sticky;
  left: 0;
  background: white;
  z-index: 3;
  border-right: 1px solid #e0e2d6;
  padding: 22px 20px;
}
.timeline-head .row-label {
  background: #f9faf6;
  font-size: 12px;
  color: #858873;
  padding: 18px 20px;
}
.day-headers {
  display: grid;
  grid-template-columns: repeat(var(--days), minmax(32px, 1fr));
}
.day-header {
  text-align: center;
  padding: 9px 0;
  font-size: 15px;
  border-right: 1px solid #efefe8;
}
.day-header small {
  display: block;
  font-size: 10px;
  color: #8d9181;
  margin-bottom: 4px;
}
.day-header.is-today {
  background: #303b29;
  color: white;
}
.day-header.is-today small {
  color: white;
}
.day-header.weekend {
  background: #f0f2e9;
}
.day-header.weekend.is-today {
  background: #303b29;
}
.villa-row {
  border-bottom: 1px solid #e9e9e0;
}
.villa-row:last-child {
  border-bottom: 0;
}
.row-label strong {
  font-weight: 400;
  display: block;
  font-size: 17px;
}
.row-label small {
  font-size: 11px;
  color: #858873;
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(var(--days), minmax(32px, 1fr));
  grid-template-rows: repeat(var(--lanes), 42px);
  position: relative;
  align-content: center;
  padding: 14px 0;
  min-height: 103px;
}
.day-cell {
  grid-row: 1/-1;
  background: transparent;
  border: 0;
  border-right: 1px solid #f0f0e8;
  padding: 0;
  min-width: 0;
  border-radius: 0;
}
.day-cell.weekend {
  background: #f8f9f3;
}
.day-cell:hover {
  background: #edf1e2;
}
.day-cell.is-today {
  box-shadow:
    inset 1px 0 #929c77,
    inset -1px 0 #929c77;
}
.booking-bar {
  position: relative;
  z-index: 1;
  align-self: center;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  border-radius: 5px;
  padding: 9px 10px;
  height: 35px;
  font-size: 12px;
  margin: 0 2px;
  color: #fff;
  min-width: 0;
  box-shadow: 0 2px 3px #2834200c;
}
.booking-bar.confirmed {
  background: #687e56;
}
.booking-bar.hold {
  background: #edcf94;
  color: #77501e;
}
.booking-bar.owner {
  background: #a9bfcc;
  color: #2d4a5b;
}
.booking-bar.maintenance {
  background: #d8b9aa;
  color: #754a37;
}
.booking-bar:hover {
  filter: brightness(0.94);
  outline: 2px solid #303b29;
}
.calendar-footnote {
  margin: 0;
  padding: 14px 24px;
  color: #888b7c;
  font-size: 12px;
  border-top: 1px solid #e9e9e0;
}
.list-panel {
  margin-top: 26px;
}
.section-heading {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 5px;
}
.section-heading h2 {
  margin: 0;
}
.list-controls {
  display: flex;
  gap: 18px;
  align-items: center;
}
.list-controls input[type="search"] {
  width: 215px;
}
.checkbox {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
}
.checkbox input {
  width: auto;
}
.booking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.booking-table th {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #858873;
  font-weight: 400;
  background: #f9faf6;
  padding: 12px 24px;
  border-top: 1px solid #e9e9e0;
  border-bottom: 1px solid #e9e9e0;
}
.booking-table td {
  padding: 17px 24px;
  border-bottom: 1px solid #eeeee5;
  font-size: 14px;
}
.booking-table tr:last-child td {
  border-bottom: 0;
}
.booking-table small {
  display: block;
  color: #858873;
  font-size: 12px;
}
.badge {
  font-size: 11px;
  border-radius: 20px;
  padding: 5px 10px;
  white-space: nowrap;
  background: #edf1e7;
  color: #50653c;
}
.badge.hold {
  background: #fbf0d6;
  color: #805d27;
}
.badge.owner {
  background: #e7eff4;
  color: #3c6177;
}
.badge.maintenance {
  background: #f3e5df;
  color: #875b48;
}
.badge.cancelled {
  background: #f0f0ed;
  color: #898a84;
}
.empty-state {
  padding: 35px 24px 45px;
  text-align: center;
  border-top: 1px solid #eeeee5;
}
.empty-state h3 {
  margin-bottom: 8px;
}
.empty-state p {
  color: #858873;
  font-size: 15px;
  margin: 0 auto;
  max-width: 550px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  color: #868979;
  font-size: 12px;
}
.page-footer > div {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.page-footer .quiet {
  font-size: 12px;
  border: 0;
  padding: 6px;
}
.login-card {
  max-width: 410px;
  margin: 50px auto;
  background: white;
  border: 1px solid #dedfd3;
  border-radius: 12px;
  padding: 30px;
}
.login-card h1 {
  font-size: 35px;
}
.login-card p {
  color: #76786b;
}
.login-card button {
  width: 100%;
}
dialog {
  border: 1px solid #dedfd3;
  border-radius: 12px;
  padding: 28px;
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-shadow: 0 25px 80px #142b252b;
  color: #293022;
}
dialog::backdrop {
  background: #15201966;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.dialog-heading h2 {
  margin: 0;
  font-size: 30px;
}
.dialog-heading .eyebrow {
  margin-bottom: 5px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 14px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d6dace;
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  margin-top: 6px;
  min-height: 42px;
}
input[type="checkbox"] {
  min-height: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.optional {
  font-size: 11px;
  color: #858873;
  margin-left: 5px;
}
.night-count {
  background: #f1f4eb;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 13px;
  margin: 0 0 19px;
  color: #60734e;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.danger {
  border: 0;
  background: none;
  color: #a45443;
  margin-right: auto;
  font-size: 13px;
  padding: 8px 0;
}
.error {
  color: #ad493e;
  font-size: 14px;
  margin: 8px 0;
}
.error:empty {
  display: none;
}
.muted {
  color: #858873;
  font-size: 12px;
}
.history-item {
  padding: 14px 0;
  border-bottom: 1px solid #eeeee5;
  font-size: 14px;
}
.history-item small {
  display: block;
  color: #858873;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #303b29;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 5px 25px #0002;
  z-index: 10;
  max-width: 90vw;
  width: max-content;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  background: #f6f7f2;
  padding: 16px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .villa-card {
    gap: 12px;
  }
  .villa-card img {
    width: 75px;
    height: 86px;
  }
  .villa-card h3 {
    font-size: 21px;
  }
  .calendar-tip {
    margin-left: 0;
  }
  .calendar-toolbar {
    flex-wrap: wrap;
  }
  .booking-table td,
  .booking-table th {
    padding: 14px;
  }
  .private-label {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 75px;
    padding: 0 20px;
  }
  .topbar img {
    width: 130px;
    height: 42px;
  }
  .account {
    font-size: 11px;
  }
  .account #account-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account .quiet {
    font-size: 11px;
    padding: 6px;
  }
  main {
    padding: 28px 18px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading p:last-child {
    font-size: 15px;
    max-width: 310px;
  }
  .page-heading .primary {
    margin-top: 20px;
    width: 100%;
  }
  .notice {
    font-size: 12px;
    padding: 11px 12px;
  }
  .villa-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .villa-card {
    padding: 8px 10px;
    gap: 15px;
  }
  .villa-card img {
    width: 75px;
    height: 62px;
  }
  .villa-card > div {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    align-items: center;
  }
  .villa-card h3 {
    font-size: 21px;
    grid-column: 1;
  }
  .villa-card p {
    grid-column: 1;
    font-size: 11px;
  }
  .villa-card .card-count {
    grid-column: 2;
    grid-row: 1/3;
    max-width: 90px;
    text-align: right;
    margin: 0;
    font-size: 12px;
  }
  .calendar-toolbar {
    padding: 16px 12px;
    gap: 12px;
  }
  .month-navigation {
    gap: 8px;
    width: 100%;
  }
  .month-navigation h2 {
    font-size: 23px;
    min-width: 0;
    flex: 1;
  }
  .month-navigation .quiet {
    font-size: 12px;
    padding: 7px;
  }
  .calendar-options {
    width: 100%;
    justify-content: space-between;
  }
  .month-jump {
    margin: 0;
  }
  .legend {
    padding: 0 12px 15px;
    gap: 10px;
    font-size: 11px;
  }
  .calendar-tip {
    width: 100%;
    font-size: 10px;
  }
  .timeline-head,
  .villa-row {
    grid-template-columns: 125px 1fr;
    min-width: 1160px;
  }
  .row-label {
    padding: 25px 12px;
  }
  .row-label strong {
    font-size: 14px;
  }
  .row-label small {
    font-size: 10px;
  }
  .timeline-head .row-label {
    padding: 18px 12px;
  }
  .calendar-footnote {
    font-size: 10px;
    padding: 12px;
  }
  .section-heading {
    padding: 18px 14px;
    display: block;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .list-controls {
    margin-top: 16px;
    gap: 10px;
    justify-content: space-between;
  }
  .list-controls input[type="search"] {
    width: 170px;
    font-size: 13px;
    padding: 8px;
  }
  .checkbox {
    font-size: 11px;
    margin: 0;
  }
  .booking-table thead {
    display: none;
  }
  .booking-table,
  .booking-table tbody {
    display: block;
  }
  .booking-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #eeeee5;
    padding: 12px;
  }
  .booking-table td {
    display: block;
    border: 0;
    padding: 5px;
    font-size: 13px;
  }
  .booking-table td:first-child {
    grid-column: 1/-1;
  }
  .booking-table td:nth-child(4) {
    display: none;
  }
  .booking-table td:last-child {
    text-align: right;
  }
  .booking-table small {
    font-size: 11px;
  }
  .page-footer {
    display: block;
    text-align: center;
  }
  .page-footer > div {
    justify-content: center;
    margin-top: 12px;
  }
  .form-row {
    gap: 10px;
  }
  dialog {
    padding: 22px 18px;
  }
  .form-actions {
    gap: 8px;
  }
  .form-actions .primary {
    padding: 11px 14px;
  }
  .form-actions .quiet {
    padding: 8px;
  }
  .danger {
    font-size: 12px;
  }
}
