.rs {
  --rs-white: #fff;
  --rs-stone: #efeeec;
  --rs-ink: #161d29;
  --rs-body: #3b414c;
  --rs-gray: #5c6168;
  --rs-line: #dfddd9;
  --rs-cell: #ebe9e5;
  --rs-gold: #a08259;
  --rs-gold-text: #866b46;
  --rs-hover: #f6f5f2;
  --rs-error: #a8452f;
  --rs-serif: 'Cormorant Garamond', Georgia, serif;
  --rs-caps: 'Jost', 'Segoe UI', sans-serif;
  --rs-sans: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  --rs-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --rs-ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  width: min(100%, 1200px);
  margin: 0;
  color: var(--rs-ink);
  font-family: var(--rs-sans);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.rs *,
.rs *::before,
.rs *::after {
  box-sizing: border-box;
}

.rs-ic {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rs-card {
  padding: 8px 12px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(8, 12, 20, 0.5);
}

.rs-tabs {
  display: flex;
  gap: 28px;
  margin: 0 0 6px;
  padding: 4px 20px 0;
  border-bottom: 1px solid var(--rs-line);
}

.rs-tabs button {
  margin: 0 0 -1px;
  padding: 12px 0 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: 500 12px/1 var(--rs-caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rs-gray);
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.rs-tabs button[aria-checked="true"] {
  border-bottom-color: var(--rs-ink);
  color: var(--rs-ink);
}

.rs-tabs button:focus-visible {
  outline: 2px solid var(--rs-gold);
  outline-offset: 2px;
}

.rs-row {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.25fr) minmax(0, 1.25fr) auto;
  align-items: stretch;
  gap: 6px;
}

.rs-card.is-flex .rs-row {
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 2.5fr) auto;
}

.rs-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.rs-f,
.rs-flexcell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--rs-cell);
  font: inherit;
  color: inherit;
  text-align: left;
}

.rs-f {
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.rs-route .rs-f:first-child {
  padding-right: 34px;
}

.rs-route .rs-f + .rs-f {
  padding-left: 34px;
}

.rs-flexcell {
  display: none;
}

.rs-card.is-flex .rs-flexcell {
  display: flex;
}

.rs-card.is-flex .rs-f[data-k="i"],
.rs-card.is-flex .rs-f[data-k="v"] {
  display: none;
}

.rs-f:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--rs-gold);
}

.rs-f[aria-expanded="true"] {
  background: var(--rs-white);
  box-shadow: inset 0 0 0 1.5px var(--rs-ink);
}

.rs-k {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 var(--rs-caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rs-gray);
}

.rs-k .rs-ic {
  width: 17px;
  height: 17px;
  color: var(--rs-gold);
}

.rs-v {
  display: block;
  max-width: 100%;
  font: 400 17px/1.35 var(--rs-sans);
  color: var(--rs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-v small {
  margin-left: 6px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--rs-gray);
}

.rs-v.is-empty {
  color: var(--rs-body);
}

.rs-f.is-off .rs-v {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--rs-gold-text);
}

.rs-f.is-off .rs-v .rs-ic {
  width: 14px;
  height: 14px;
}

.rs-f.is-invalid {
  background: #fbf1ee;
}

.rs-f.is-invalid .rs-k {
  color: var(--rs-error);
}

.rs-sw {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  padding: 0;
  border: 1px solid var(--rs-line);
  border-radius: 50%;
  background: var(--rs-white);
  color: var(--rs-ink);
  cursor: pointer;
  transition: transform 220ms var(--rs-ease), border-color 160ms ease;
}

.rs-sw .rs-ic {
  width: 16px;
  height: 16px;
}

.rs-sw.is-turned {
  transform: rotate(180deg);
}

.rs-sw:active {
  scale: 0.94;
}

.rs-sw:focus-visible {
  outline: 2px solid var(--rs-gold);
  outline-offset: 2px;
}

.rs-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: auto;
  min-height: 60px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  border-radius: 12px;
  background: var(--rs-ink);
  color: #fff;
  font: 500 13px/1 var(--rs-caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--rs-ease), background-color 200ms ease;
}

.rs-go:active {
  transform: scale(0.97);
}

.rs-go:focus-visible {
  outline: 2px solid var(--rs-gold);
  outline-offset: 3px;
}

.rs-msg {
  margin: 10px 4px 0;
  font: 400 14px/1.4 var(--rs-sans);
  color: #fff;
}

.rs-msg:empty {
  display: none;
}

.rs.is-unavailable .rs-f[data-k="o"],
.rs.is-unavailable .rs-f[data-k="d"] {
  pointer-events: none;
  opacity: 0.6;
}

.rs-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  width: 400px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  background: var(--rs-white);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(8, 12, 20, 0.45), 0 0 0 1px var(--rs-line);
  color: var(--rs-ink);
  transform-origin: top left;
  transition: opacity 180ms var(--rs-ease), transform 180ms var(--rs-ease);
}

.rs-panel[hidden],
.rs-dim[hidden] {
  display: none;
}

.rs-panel.is-entering {
  opacity: 0;
  transform: translateY(-4px) scale(0.985);
}

.rs-panel.is-up {
  top: auto;
  bottom: calc(100% + 10px);
  transform-origin: bottom left;
}

.rs-panel.is-up.is-entering {
  transform: translateY(4px) scale(0.985);
}

.rs-dim,
.rs-head {
  display: none;
}

.rs-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px -4px 8px;
  padding: 0 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--rs-line);
}

.rs-search:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--rs-ink);
}

.rs-search .rs-ic {
  color: var(--rs-gray);
}

.rs-search input {
  flex: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 16px var(--rs-sans);
  color: var(--rs-ink);
  outline: none;
}

.rs-search input::placeholder {
  color: #7d8188;
}

.rs-list,
.rs-hours {
  scrollbar-width: thin;
  scrollbar-color: #c9c6c0 transparent;
}

.rs-list {
  max-height: 340px;
  margin: 0 -6px;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.rs-grp {
  padding: 14px 12px 6px;
  font: 500 11px/1 var(--rs-caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rs-gray);
}

.rs-opt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  font: 400 15px/1.35 var(--rs-sans);
  color: var(--rs-ink);
  cursor: pointer;
}

.rs-opt span {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rs-gray);
}

.rs-opt.is-active {
  background: var(--rs-hover);
}

.rs-opt.is-current {
  font-weight: 500;
}

.rs-empty {
  padding: 18px 12px;
  font: 400 14px/1.5 var(--rs-sans);
  color: var(--rs-body);
}

.rs-legh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--rs-line);
}

.rs-legh b {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px 7px;
  border-radius: 6px;
  background: var(--rs-ink);
  font: 500 12px/1 var(--rs-caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.rs-legh span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font: 400 15px/1 var(--rs-sans);
  color: var(--rs-ink);
  white-space: nowrap;
}

.rs-legh .rs-ic {
  width: 12px;
  height: 12px;
  color: var(--rs-gold);
}

.rs-step {
  animation: rs-step 160ms var(--rs-ease);
}

@keyframes rs-step {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
}

.rs-picked {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--rs-stone);
  font: 400 15px/1.3 var(--rs-sans);
}

.rs-link {
  flex: none;
  padding: 4px 0;
  border: 0;
  background: none;
  font: 400 13px/1 var(--rs-sans);
  color: var(--rs-gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rs-link:focus-visible {
  outline: 2px solid var(--rs-gold);
  outline-offset: 2px;
}

.rs-sub {
  margin: 14px 0 8px;
  font: 500 11px/1 var(--rs-caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-gray);
}

.rs-mo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 6px;
  font: 500 20px/1 var(--rs-serif);
}

.rs-nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rs-ink);
  cursor: pointer;
}

.rs-nav .rs-ic {
  width: 16px;
  height: 16px;
}

.rs-nav:disabled {
  color: #c3c6ca;
  cursor: default;
}

.rs-nav:focus-visible {
  outline: 2px solid var(--rs-gold);
}

.rs-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
  text-align: center;
}

.rs-wd {
  font: 500 10px/24px var(--rs-caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-gray);
}

.rs-day {
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 14px/1 var(--rs-sans);
  font-variant-numeric: tabular-nums;
  color: var(--rs-ink);
  cursor: pointer;
}

.rs-day span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 120ms ease;
}

.rs-day:disabled {
  color: #c3c6ca;
  cursor: default;
}

.rs-day.is-today span {
  box-shadow: inset 0 0 0 1px var(--rs-line);
}

.rs-day.in-range {
  background: var(--rs-stone);
}

.rs-day.is-start {
  background: linear-gradient(90deg, transparent 50%, var(--rs-stone) 50%);
}

.rs-day.is-end {
  background: linear-gradient(90deg, var(--rs-stone) 50%, transparent 50%);
}

.rs-day.is-start span,
.rs-day.is-end span,
.rs-day.is-sel span {
  background: var(--rs-ink);
  color: #fff;
}

.rs-day.is-out span {
  box-shadow: inset 0 0 0 1.5px var(--rs-ink);
}

.rs-day:focus-visible {
  outline: none;
}

.rs-day:focus-visible span {
  box-shadow: 0 0 0 2px var(--rs-gold);
}

.rs-hours {
  position: relative;
  max-height: 250px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--rs-line);
  list-style: none;
}

.rs-hour {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-top: 1px solid #f0eeeb;
  background: transparent;
  font: 400 16px/1 var(--rs-sans);
  font-variant-numeric: tabular-nums;
  color: var(--rs-body);
  text-align: left;
  cursor: pointer;
}

.rs-hours li:first-child .rs-hour {
  border-top: 0;
}

.rs-hour .rs-ic {
  width: 16px;
  height: 16px;
}

.rs-hours:not(:hover) .rs-hour.is-suggested {
  background: var(--rs-hover);
  color: var(--rs-ink);
}

.rs-hour.is-on {
  background: var(--rs-ink);
  color: #fff;
}

.rs-hour:disabled {
  color: #c3c6ca;
  cursor: default;
}

.rs-hour:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--rs-gold);
}

html.rs-locked,
html.rs-locked body {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .rs-f:hover {
    background: var(--rs-hover);
  }

  .rs-f[aria-expanded="true"]:hover {
    background: var(--rs-white);
  }

  .rs-tabs button:hover {
    color: var(--rs-ink);
  }

  .rs-sw:hover {
    border-color: var(--rs-ink);
  }

  .rs-go:hover {
    background: #222b3b;
  }

  .rs-nav:not(:disabled):hover {
    background: var(--rs-hover);
  }

  .rs-day:not(:disabled):not(.is-sel):not(.is-start):not(.is-end):hover span {
    background: var(--rs-hover);
  }

  .rs-hour:not(:disabled):not(.is-on):hover {
    background: var(--rs-hover);
    color: var(--rs-ink);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .rs-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .rs-card.is-flex .rs-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rs-row .rs-route {
    grid-column: 1 / -1;
  }

}

@media (max-width: 768px) {
  .rs-card {
    padding: 8px;
  }

  .rs-tabs {
    gap: 0;
    margin: 0 0 4px;
    padding: 3px;
    border: 0;
    border-radius: 10px;
    background: var(--rs-stone);
  }

  .rs-tabs button {
    flex: 1;
    margin: 0;
    padding: 11px 4px;
    border: 0;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .rs-tabs button[aria-checked="true"] {
    background: var(--rs-white);
    box-shadow: 0 1px 3px rgba(10, 14, 22, 0.14);
  }

  .rs-row,
  .rs-card.is-flex .rs-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .rs-row .rs-route,
  .rs-row .rs-flexcell,
  .rs-row .rs-go {
    grid-column: 1 / -1;
  }

  .rs-route {
    grid-template-columns: 1fr;
  }

  .rs-f,
  .rs-flexcell,
  .rs-route .rs-f:first-child,
  .rs-route .rs-f + .rs-f {
    padding: 13px 60px 13px 14px;
  }

  .rs-row .rs-f[data-k="i"],
  .rs-row .rs-f[data-k="v"],
  .rs-flexcell {
    padding-right: 14px;
  }

  .rs-sw {
    left: auto;
    right: 16px;
    margin: -18px 0 0;
  }

  .rs-go {
    width: 100%;
    min-height: 54px;
    margin: 2px 0 0;
  }

  .rs-panel {
    position: fixed;
    z-index: 6000;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0 !important;
    width: auto !important;
    max-width: none;
    max-height: 88dvh;
    padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(8, 12, 20, 0.2);
    transform-origin: bottom center;
    transition: transform 280ms var(--rs-ease-sheet), opacity 200ms ease;
  }

  .rs-panel.is-entering,
  .rs-panel.is-up.is-entering {
    opacity: 1;
    transform: translateY(100%);
  }

  .rs-panel.is-place {
    top: 0;
    max-height: none;
    border-radius: 0;
  }

  .rs-dim {
    position: fixed;
    inset: 0;
    z-index: 5990;
    display: block;
    background: rgba(14, 18, 26, 0.42);
  }

  .rs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -6px 10px;
  }

  .rs-head::before {
    content: "";
    width: 40px;
  }

  .rs-grab {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--rs-line);
  }

  .rs-title {
    font: 500 12px/1 var(--rs-caps);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rs-gray);
  }

  .rs-x {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rs-ink);
    cursor: pointer;
  }

  .rs-x .rs-ic {
    width: 20px;
    height: 20px;
  }

  .rs-list {
    max-height: none;
  }

  .rs-opt {
    padding: 14px 12px;
    font-size: 16px;
  }

  .rs-day {
    height: 46px;
  }

  .rs-day span {
    width: 44px;
    height: 44px;
  }

  .rs-hours {
    max-height: 46dvh;
  }

  .rs-hour {
    padding: 15px 16px;
  }
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .rs-v {
    font-size: 16px;
  }

  .rs-v small {
    margin-left: 4px;
    font-size: 12px;
  }
}

@media (min-width: 1025px) and (max-width: 1100px) {
  .rs-v small {
    display: none;
  }
}

@media (max-width: 380px) {
  .rs-v {
    font-size: 15.5px;
  }

  .rs-f.is-off .rs-v {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-panel,
  .rs-sw,
  .rs-go,
  .rs-tabs button {
    transition: none;
  }

  .rs-step {
    animation: none;
  }
}
