.stay {
  --accent: #253c30;
  --ok: #32734c;
  --warn: #946016;
  --bad: #a83232;
  --card: #fff;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  background: var(--lime);
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.stay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 36px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.property-brand {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}
.property-brand a {
  font-size: 21px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.8px;
}
.property-brand small {
  display: block;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 3px;
}
.lake-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--forest);
}
.lake-mark svg {
  width: 36px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linecap: round;
}
.header-badge {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 11px;
  white-space: nowrap;
}
.stay-layout {
  max-width: 1600px;
  margin: auto;
}
.staff .stay-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}
.stay main {
  min-width: 0;
  padding: 36px clamp(20px, 3.5vw, 56px) 20px;
}
.guest main {
  max-width: 1080px;
  margin: auto;
}
.stay-nav {
  padding: 35px 18px;
  border-right: 1px solid var(--line);
}
.stay-nav .eyebrow {
  font-size: 9px;
  padding-left: 12px;
  margin-bottom: 22px;
}
.stay-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}
.stay-nav a span {
  font-size: 10px;
  opacity: 1;
}
.stay-nav a:hover {
  background: #ebeee5;
}
.stay-nav a[aria-current] {
  background: var(--forest);
  color: white;
}
.stay-nav a[aria-current] span {
  color: var(--lime);
  opacity: 1;
}
.stay h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin: 0 0 12px;
}
.stay h2 {
  font-size: 21px;
  letter-spacing: -0.65px;
  margin: 0 0 16px;
  line-height: 1.2;
}
.stay h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.stay p {
  font-size: 14px;
  line-height: 1.65;
}
.stay label {
  margin-top: 14px;
}
.stay .eyebrow {
  margin-bottom: 12px;
}
.stay button {
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--forest);
  color: white;
  font-weight: 650;
  cursor: pointer;
}
.stay button:hover {
  background: #38523e;
}
.stay button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.stay button.bad {
  background: #f9e7e4;
  color: var(--bad);
  border-color: #eac7c1;
}
.stay button.lime {
  background: var(--lime);
  color: var(--ink);
}
.stay form > button {
  margin-top: 14px;
}
.stay .card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow-card);
}
.stay .card p:last-child {
  margin-bottom: 0;
}
.stay .grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stay .row,
.page-head {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.page-head {
  margin-bottom: 26px;
}
.page-head p {
  margin-bottom: 0;
}
.stay .muted {
  font-size: 12px;
  color: var(--muted);
}
.stay .price {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stay .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 30px;
  background: #eef0e8;
}
.stay .tag.ok {
  background: #e5f3e0;
  color: #306140;
}
.stay .tag.warn {
  background: #fff1cd;
  color: #845311;
}
.stay .tag.bad {
  background: #fbe8e4;
  color: #9b3630;
}
.stay .notice {
  border: 1px solid var(--line);
  background: #eef1e7;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 13px;
}
.stay .notice.warn {
  background: #fff6df;
  border-color: #ebdfbd;
}
.stay .err,
.stay .error {
  color: var(--bad);
}
.stay .hidden {
  display: none !important;
}
.stay .qr {
  display: inline-block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  line-height: 0;
  max-width: 100%;
}
.stay .qr svg {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.stay .check {
  font-size: 12px;
}
.stay input[type="radio"] {
  width: auto;
}
.stay table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.stay td,
.stay th {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}
.stay th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 650;
  background: #f8f9f5;
}
.table-scroll tr:hover td {
  background: #f8faf3;
}
.table-scroll tr:last-child td {
  border-bottom: 0;
}
.table-scroll {
  scrollbar-color: #becbb1 transparent;
  scrollbar-width: thin;
}
.stay .err:not(:empty) {
  padding: 12px 16px;
  border-left: 3px solid var(--bad);
  background: #fcf0ed;
  border-radius: 0 10px 10px 0;
}
.cancel-panel {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 6px;
}
.stay .cancel-panel > summary {
  color: var(--bad);
  font-size: 12px;
  width: fit-content;
  padding: 8px 0;
}
.cancel-panel[open] {
  background: #fff9f7;
  padding: 16px;
  border: 1px solid #ebd3ce;
  border-radius: 12px;
}
.cancel-panel p {
  max-width: 620px;
}
.cancel-panel select {
  max-width: 420px;
}
.stay .search-card {
  border-color: #bacaaa;
}
.stay .search-card .grid {
  gap: 22px;
}
.stay .search-card label {
  color: var(--muted);
  font-size: 12px;
}
.stay #form {
  border-top: 3px solid #8da965;
  scroll-margin-top: 24px;
}
.stay #formTitle {
  font-size: 25px;
}
.stay #submit {
  min-width: 220px;
}
.stay #list:empty {
  display: none;
}
.stay #list[aria-busy="true"] {
  opacity: 0.6;
}
@media (min-width: 1101px) {
  .stay-nav {
    position: sticky;
    top: 20px;
    align-self: start;
    margin: 24px 0 24px 18px;
    padding: 26px 12px;
    border: 0;
    border-radius: 20px;
    background: var(--forest);
    box-shadow: var(--shadow-card);
  }
  .stay-nav .eyebrow {
    color: #b8c9b9;
    letter-spacing: 0.1em;
  }
  .stay-nav a {
    color: #e3eae0;
    margin-bottom: 8px;
    padding: 14px 12px;
  }
  .stay-nav a:hover {
    background: #ffffff12;
  }
  .stay-nav a[aria-current] {
    color: var(--ink);
    background: var(--lime);
  }
  .stay-nav a[aria-current] span {
    color: #42601f;
  }
}
.table-scroll,
.chess {
  overflow-x: auto;
  max-width: 100%;
}
.table-scroll table {
  min-width: 620px;
}
.chess table {
  white-space: nowrap;
}
.chess td {
  border: 1px solid var(--line);
  padding: 0;
  min-width: 36px;
  height: 34px;
  text-align: center;
  font-size: 11px;
}
.chess th {
  position: sticky;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px;
}
.chess .hold {
  background: #f6de9d;
}
.chess .deposit_paid {
  background: #c3dfe5;
}
.chess .paid {
  background: #c8f46c;
}
.chess .checked_in {
  background: #b6d6b4;
}
.chess a {
  display: block;
  line-height: 34px;
  color: var(--ink);
  text-decoration: none;
}
.stay details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.stay details[open] > summary {
  margin-bottom: 20px;
}
.stay form.inline {
  display: inline;
}
.stay-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.stay-footer a {
  font-weight: 750;
  text-decoration: none;
}
.stay-hero {
  padding: 42px;
  border-radius: 28px;
  background: var(--forest);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.stay-hero .eyebrow {
  color: var(--lime);
}
.stay-hero h1 {
  max-width: 630px;
  font-size: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}
.stay-hero p {
  color: #d3dfd3;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.lake-lines {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 390px;
  height: 290px;
  opacity: 0.22;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1;
}
.stay-steps {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: #e2ebdd;
  font-size: 11px;
  position: relative;
}
.stay-steps b {
  color: var(--lime);
  margin-right: 6px;
}
.search-card {
  box-shadow: 0 10px 35px #253c3005;
}
.stay .search-card button {
  width: 100%;
  margin-top: 24px;
}
.periods {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 12px;
  background: #ecefe5;
  gap: 3px;
}
.periods a {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 9px;
}
.periods a[aria-current] {
  background: white;
  box-shadow: 0 2px 4px #18231d09;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.stay .metric {
  margin: 0;
  padding: 22px;
}
.metric-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.metric-value {
  display: block;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -1.5px;
  margin: 14px 0 8px;
  overflow-wrap: anywhere;
}
.metric-note {
  font-size: 10px;
  color: var(--muted);
}
.stay .metric.featured {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.metric.featured .metric-label,
.metric.featured .metric-note {
  color: #d9e5d0;
}
.metric.featured .metric-value {
  color: var(--lime);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
}
.dashboard-grid.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-grid > .card {
  margin: 0 0 20px;
}
.section-heading {
  margin-top: 38px;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 24px 0 12px;
}
.chart text {
  font:
    11px Manrope,
    Arial,
    sans-serif;
  fill: #637168;
}
.chart .gridline {
  stroke: #e5e8df;
  stroke-dasharray: 3 5;
}
.chart .area {
  fill: #eef4e3;
}
.chart .line {
  stroke: #456738;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart .point {
  fill: #253c30;
}
.empty {
  padding: 32px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border-radius: 14px;
  background: var(--paper);
}
.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.data-row:last-child {
  border-bottom: 0;
}
.data-row a {
  text-decoration: none;
  font-weight: 650;
}
.data-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}
.theme {
  margin: 20px 0;
}
.theme .row {
  font-size: 13px;
}
.theme-track {
  height: 7px;
  border-radius: 10px;
  background: #eef1e7;
  overflow: hidden;
  margin-top: 10px;
}
.theme-track span {
  height: 100%;
  display: block;
  background: #749b4e;
  border-radius: 10px;
}
.occupancy-days {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  margin: 24px 0 10px;
}
.occupancy-day {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
}
.occupancy-track {
  height: 86px;
  display: flex;
  align-items: flex-end;
  background: #f1f3ec;
  border-radius: 5px;
  overflow: hidden;
}
.occupancy-track span {
  display: block;
  width: 100%;
  background: #bddb86;
  min-height: 0;
}
.occupancy-day b {
  display: block;
  font-weight: 650;
  margin: 6px 0;
  font-size: 10px;
  color: var(--ink);
}
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.service-card:last-child {
  border: 0;
}
.service-card p {
  margin: 8px 0 0;
  font-size: 12px;
}
.service-card h3 {
  margin: 0;
}
.monitor-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}
.status-orb {
  display: grid;
  place-items: center;
  font-size: 26px;
  height: 64px;
  width: 64px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #e6efda;
}
.monitor-summary.attention .status-orb {
  background: #fff1cd;
}
.update-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.update-controls label {
  margin: 0;
  font-size: 11px;
}
.stay .filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
}
.stay .save-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}
.stay .save-bar span {
  font-size: 12px;
  color: var(--muted);
}
.stay [data-client-form] > h2 {
  margin-top: 36px;
}
@media (max-width: 1100px) {
  .staff .stay-layout {
    grid-template-columns: 1fr;
  }
  .stay-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow-x: auto;
    padding: 12px 20px;
    gap: 6px;
  }
  .stay-nav .eyebrow {
    display: none;
  }
  .stay-nav a {
    flex-shrink: 0;
    margin: 0;
    padding: 10px 12px;
  }
}
@media (max-width: 700px) {
  .stay-header {
    padding: 18px 20px;
  }
  .header-badge {
    display: none;
  }
  .stay main {
    padding: 26px 16px 20px;
  }
  .stay .card {
    padding: 20px;
  }
  .stay-hero {
    padding: 30px 24px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stay .metric {
    padding: 18px;
  }
  .metric-value {
    font-size: 26px;
  }
  .dashboard-grid,
  .dashboard-grid.equal {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stay .filter-form {
    grid-template-columns: 1fr;
  }
  .stay-steps {
    gap: 12px;
  }
  .stay .save-bar {
    flex-wrap: wrap;
  }
  .service-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .property-brand a {
    font-size: 19px;
  }
  .stay .grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .occupancy-days {
    gap: 3px;
  }
}
