/* JS-only date pair; without JS the original date/time controls remain visible. */
.gnd-rental-enhanced .gnd-ih-when { display: block !important; height: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.gnd-rental-enhanced .gnd-ih-when > :is(.gnd-ih-date, .gnd-ih-time) { display: none !important; }
.gnd-rental-enhanced.gnd-ih-search .gnd-ih-search__grid {
  display: grid !important;
  /* 0.3.89: Car / Motorbike take only their own width; the destination receives the space. */
  grid-template-columns: max-content minmax(240px, 1.75fr) minmax(320px, 1.35fr) 124px !important;
  align-items: end;
  gap: 10px;
}
.gnd-rental-enhanced.gnd-ih-search .gnd-ih-step--when { min-width: 0; grid-column: auto !important; }
.gnd-rental-enhanced.gnd-ih-search .gnd-ih-step--go { align-self: end; }
.gnd-rental-enhanced.gnd-ih-search:has(.gnd-ih-step--what[hidden]) .gnd-ih-search__grid {
  grid-template-columns: minmax(240px, 1.25fr) minmax(320px, 1fr) 124px !important;
}
.gnd-rental-enhanced.gnd-cfs-form .gnd-cfs-form__field--time,
.gnd-rental-enhanced.gnd-cfs-form .gnd-cfs-form__field--date:not(.gnd-rental-anchor) { display: none !important; }
.gnd-rental-enhanced.gnd-cfs-form .gnd-rental-anchor > :not(.gnd-rental-dates) { display: none !important; }
.gnd-rental-enhanced.gnd-cfs-form {
  grid-template-columns: minmax(240px, 1fr) auto !important;
  align-items: end;
}
.gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place {
  grid-template-columns: minmax(220px, 1.2fr) minmax(320px, 1fr) auto !important;
}
.gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place.gnd-rental-has-modes {
  grid-template-columns: auto minmax(220px, 1.2fr) minmax(320px, 1fr) auto !important;
}
.gnd-rental-enhanced.gnd-cfs-form > :is(.gnd-cfs-form__modes, .gnd-cfs-form__field--place, .gnd-rental-anchor, .gnd-cfs-form__submit) {
  grid-column: auto !important; grid-row: auto !important;
}
.gnd-rental-enhanced.gnd-cfs-form .gnd-rental-anchor { min-width: 0; display: flex; }
.gnd-rental-enhanced.gnd-cfs-form .gnd-cfs-form__submit { align-self: end; }
.gnd-rental-enhanced.gnd-preparing__search-form--full .gnd-preparing__search-field--time,
.gnd-rental-enhanced.gnd-preparing__search-form--full .gnd-preparing__search-field--date:not(.gnd-rental-anchor) { display: none !important; }
.gnd-rental-enhanced.gnd-preparing__search-form--full .gnd-rental-anchor > :not(.gnd-rental-dates) { display: none !important; }
.gnd-preparing .gnd-rental-enhanced.gnd-preparing__search-form--full {
  grid-template-columns: minmax(120px, .7fr) minmax(200px, 1.2fr) minmax(280px, 1fr) auto !important;
  align-items: end;
}
.gnd-preparing .gnd-rental-enhanced.gnd-preparing__search-form--full > :is(.gnd-preparing__search-field--type, .gnd-preparing__search-field--place, .gnd-rental-anchor, .gnd-preparing__search-submit) { grid-column: auto !important; }
.gnd-preparing .gnd-rental-enhanced.gnd-preparing__search-form--full .gnd-rental-anchor { display: flex; min-width: 0; }
.gnd-rental-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; min-width: 0; }
.gnd-rental-summary {
  box-sizing: border-box;
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 58px;
  margin: 0;
  padding: 7px 25px 7px 10px;
  border: 1px solid #cbd8df;
  border-radius: 12px;
  background: #fff;
  color: #10243f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.gnd-rental-enhanced.gnd-cfs-form .gnd-rental-summary { height: 44px; border-radius: 10px; }
.gnd-rental-summary:hover { border-color: #0f817b; }
.gnd-rental-summary:focus-visible { outline: 3px solid #138e88; outline-offset: 2px; }
.gnd-rental-summary__label { display: block; overflow: hidden; color: #53677b; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.gnd-rental-summary__range { display: block; overflow: hidden; max-width: 100%; font-size: 15px; font-weight: 650; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.gnd-rental-summary__chevron { position: absolute; right: 8px; top: 50%; color: #53677b; font-size: 19px; transform: translateY(-56%); }
.gnd-rental-summary[aria-expanded="true"] { border-color: #087b78; box-shadow: 0 0 0 3px rgba(19,142,136,.15); }
@media (max-width: 1024px) {
  .gnd-preparing .gnd-rental-enhanced.gnd-preparing__search-form--full { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .gnd-rental-enhanced.gnd-ih-search .gnd-ih-search__grid,
  .gnd-rental-enhanced.gnd-ih-search:has(.gnd-ih-step--what[hidden]) .gnd-ih-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .gnd-rental-enhanced.gnd-cfs-form,
  .gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place,
  .gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place.gnd-rental-has-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .gnd-preparing .gnd-rental-enhanced.gnd-preparing__search-form--full { grid-template-columns: minmax(0, 1fr) !important; }
  .gnd-rental-enhanced.gnd-ih-search .gnd-ih-search__grid,
  .gnd-rental-enhanced.gnd-ih-search:has(.gnd-ih-step--what[hidden]) .gnd-ih-search__grid,
  .gnd-rental-enhanced.gnd-cfs-form,
  .gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place,
  .gnd-rental-enhanced.gnd-cfs-form.gnd-rental-has-place.gnd-rental-has-modes {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .gnd-rental-enhanced.gnd-ih-search .gnd-ih-step--when { grid-column: auto !important; }
}

/* Anchored, nonmodal picker. One month is shown at phone widths. */
.gnd-rental-calendar {
  box-sizing: border-box;
  position: fixed;
  z-index: 2147483000;
  inset: auto;
  width: min(690px, calc(100vw - 24px));
  max-width: none;
  max-height: min(570px, calc(100dvh - 24px));
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  background: #fff;
  color: #10243f;
  box-shadow: 0 16px 48px rgba(8,28,54,.22);
  font: inherit;
}
.gnd-rental-calendar[open] { display: block; }
.gnd-rental-calendar *, .gnd-rental-calendar *::before, .gnd-rental-calendar *::after { box-sizing: border-box; }
.gnd-rental-calendar button, .gnd-rental-calendar select { font: inherit; }
.gnd-rental-calendar button { cursor: pointer; }
.gnd-rental-calendar button:focus-visible, .gnd-rental-calendar select:focus-visible { outline: 3px solid #138e88; outline-offset: 2px; }
.gnd-rental-calendar__top { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px 3px; }
.gnd-rental-calendar__top strong { display: block; font-size: 17px; line-height: 1.3; }
.gnd-rental-calendar__hint { display: block; color: #5a6b80; font-size: 12px; line-height: 1.35; }
.gnd-rental-calendar__close { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #f2f6f7; color: #10243f; font-size: 23px !important; line-height: 1; }
.gnd-rental-calendar__nav { position: relative; display: flex; justify-content: space-between; height: 32px; margin: 0 16px -32px; pointer-events: none; }
.gnd-rental-calendar__nav button { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #d7e0ea; border-radius: 50%; background: #fff; color: #10243f; pointer-events: auto; }
.gnd-rental-calendar__nav button:disabled { opacity: .4; cursor: default; }
.gnd-rental-calendar__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0 16px 12px; }
.gnd-rental-calendar__month { min-width: 0; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.gnd-rental-calendar__month h3 { margin: 0 28px 6px; font-size: 14px; line-height: 32px; font-weight: 700; text-align: center; }
.gnd-rental-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.gnd-rental-calendar__weekday { display: grid; place-items: center; height: 25px; color: #607489; font-size: 11px; font-weight: 600; }
.gnd-rental-calendar__grid button { display: grid; place-items: center; min-width: 0; height: 33px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #10243f; font-size: 13px; }
.gnd-rental-calendar__grid button:hover:not(:disabled) { background: #e2f4f1; }
.gnd-rental-calendar__grid button.is-between { background: #e2f4f1; border-radius: 0; }
.gnd-rental-calendar__grid button.is-endpoint, .gnd-rental-calendar__grid button.is-endpoint:hover { background: #087b78; color: #fff; font-weight: 700; }
.gnd-rental-calendar__grid button:disabled { color: #a7b3bd; cursor: default; }
.gnd-rental-calendar__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 12px; padding: 12px 16px 8px; border-top: 1px solid #e2e9ec; }
.gnd-rental-calendar__times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.gnd-rental-calendar__times label { display: grid; gap: 3px; color: #53677b; font-size: 11px; font-weight: 600; }
.gnd-rental-calendar__times select { width: 100%; min-width: 0; height: 38px; padding: 4px 8px; border: 1px solid #cbd8df; border-radius: 8px; background: #fff; color: #10243f; font-size: 14px; }
.gnd-rental-calendar__duration { min-width: 55px; padding-bottom: 9px; color: #10243f; font-size: 13px; font-weight: 700; white-space: nowrap; }
.gnd-rental-calendar__bottom [data-find] { min-width: 92px; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: #087b78; color: #fff; font-weight: 700; }
.gnd-rental-calendar__secondary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; padding: 0 16px 8px; }
.gnd-rental-calendar__secondary [data-apply] { padding: 3px 0; border: 0; background: none; color: #087b78; font-size: 12px; font-weight: 700; }
.gnd-rental-calendar__error { margin: 0; color: #a52d37; font-size: 12px; }
.gnd-rental-calendar button:disabled { opacity: .45; cursor: default; }
@media (max-width: 640px) {
  .gnd-rental-calendar { width: min(370px, calc(100vw - 24px)); max-height: min(510px, calc(100dvh - 24px)); }
  .gnd-rental-calendar__months { display: block; }
  .gnd-rental-calendar__month:nth-child(2) { display: none; }
  .gnd-rental-calendar__grid button { height: 38px; font-size: 14px; }
  .gnd-rental-calendar__bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .gnd-rental-calendar__times { grid-column: 1 / -1; }
  .gnd-rental-calendar__duration { padding-bottom: 9px; }
}

/* 0.3.101: request-mode calendar, rendered inside the owning request dialog. Search picker rules above are untouched. */
.gnd-rental-request-cal { box-sizing: border-box; position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(10, 38, 62, .44); color: #112c42; font: 15px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; }
.gnd-rental-request-cal *, .gnd-rental-request-cal *::before, .gnd-rental-request-cal *::after { box-sizing: border-box; }
.gnd-rental-request-cal [hidden] { display: none !important; }
.gnd-rental-request-cal .gnd-rental-request-cal__panel { width: min(690px, 100%); max-height: calc(100dvh - 24px); overflow: auto; padding: 17px; border-radius: 15px; background: #fff; box-shadow: 0 18px 50px rgba(7, 29, 44, .27); outline: none; }
.gnd-rental-request-cal .gnd-rental-request-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gnd-rental-request-cal .gnd-rental-request-cal__title { margin: 0; padding: 0; color: #112c42; font-size: 18px; font-weight: 700; line-height: 1.25; }
.gnd-rental-request-cal .gnd-rental-request-cal__nav { display: flex; flex: none; gap: 6px; }
.gnd-rental-request-cal button.gnd-rental-request-cal__nav-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 1px solid #cbdbe0 !important; border-radius: 8px !important; background: #fff !important; color: #112c42 !important; box-shadow: none !important; font-size: 20px; font-weight: 500; line-height: 1; cursor: pointer; transform: none !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__nav-btn:disabled { opacity: .4; cursor: default; }
.gnd-rental-request-cal .gnd-rental-request-cal__hint { margin: 6px 0 8px; color: #61788a; font-size: 13px; }
.gnd-rental-request-cal .gnd-rental-request-cal__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gnd-rental-request-cal .gnd-rental-request-cal__month { min-width: 0; margin: 0; padding: 0; background: transparent; }
.gnd-rental-request-cal .gnd-rental-request-cal__month-title { margin: 0 0 6px; padding: 0; color: #112c42; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; }
.gnd-rental-request-cal .gnd-rental-request-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.gnd-rental-request-cal .gnd-rental-request-cal__weekday { color: #688092; font-size: 12px; line-height: 22px; }
.gnd-rental-request-cal button.gnd-rental-request-cal__day { display: block; width: 100%; min-width: 0; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0 !important; border-radius: 6px !important; background: #fff !important; color: #112c42 !important; box-shadow: none !important; font-size: 14px; font-weight: 400; line-height: 34px; cursor: pointer; transform: none !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__day:hover:not(:disabled) { background: #e6f6f4 !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__day.is-range { background: #dff3f0 !important; border-radius: 0 !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__day.is-edge, .gnd-rental-request-cal button.gnd-rental-request-cal__day.is-edge:hover { background: #087d80 !important; color: #fff !important; font-weight: 700; }
.gnd-rental-request-cal button.gnd-rental-request-cal__day:disabled { background: #fff !important; color: #a7b3bd !important; cursor: default; }
.gnd-rental-request-cal .gnd-rental-request-cal__times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.gnd-rental-request-cal .gnd-rental-request-cal__time { display: block; min-width: 0; margin: 0; }
.gnd-rental-request-cal .gnd-rental-request-cal__time-label { display: block; margin-bottom: 4px; color: #112c42; font-size: 13px; font-weight: 700; }
.gnd-rental-request-cal .gnd-rental-request-cal__time input { display: block; width: 100%; min-height: 41px; margin: 0; padding: 8px 10px; border: 1px solid #cbdbe0; border-radius: 9px; background: #fff; color: #112c42; font: inherit; }
.gnd-rental-request-cal .gnd-rental-request-cal__length { margin: 10px 0 0; color: #61788a; font-size: 13px; }
.gnd-rental-request-cal .gnd-rental-request-cal__error { margin: 8px 0 0; color: #a52d37; font-size: 13px; font-weight: 600; }
.gnd-rental-request-cal .gnd-rental-request-cal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.gnd-rental-request-cal button.gnd-rental-request-cal__cancel, .gnd-rental-request-cal button.gnd-rental-request-cal__apply { min-height: 44px; margin: 0; padding: 9px 18px; border-radius: 9px !important; box-shadow: none !important; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; transform: none !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__cancel { border: 1px solid #cbdbe0 !important; background: #fff !important; color: #112c42 !important; }
.gnd-rental-request-cal button.gnd-rental-request-cal__apply { border: 1px solid #087d80 !important; background: #087d80 !important; color: #fff !important; }
.gnd-rental-request-cal button:focus-visible, .gnd-rental-request-cal input:focus-visible { outline: 3px solid #22aaa5 !important; outline-offset: 2px; }
@media (max-width: 720px) {
  .gnd-rental-request-cal { padding: 0; align-items: stretch; }
  .gnd-rental-request-cal .gnd-rental-request-cal__panel { width: 100%; max-height: none; height: 100dvh; border-radius: 0; padding: 14px 15px 20px; }
  .gnd-rental-request-cal .gnd-rental-request-cal__months { grid-template-columns: minmax(0, 1fr); }
  .gnd-rental-request-cal button.gnd-rental-request-cal__day { height: 40px; line-height: 40px; }
}
