.bk-inline .bk-date-trigger {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 28px 0 10px;
  border: 1.5px solid #e8eaef;
  border-radius: 11px;
  color: #1a1d2e;
  font: 500 14px 'Onest', sans-serif;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  background: #f7f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5e66' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4m8-4v4'/%3E%3C/svg%3E") no-repeat right 8px center / 15px;
}

.bk-calendar {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(660px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: auto;
  border: 1px solid #d3d4d6;
  border-radius: 12px;
  background: #fff;
  color: #303437;
  font: 500 16px 'Onest', sans-serif;
}

.bk-calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-calendar .bk-calendar-month { padding: 0; margin: 0; }

.bk-calendar-month h3 {
  margin: 0;
  padding: 14px 36px 10px;
  background: #f2f2f3;
  color: #242729;
  text-align: center;
  font: 700 17px 'Onest', sans-serif;
}

.bk-calendar-weekdays,
.bk-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  padding: 4px 7px;
  text-align: center;
}

.bk-calendar-weekdays {
  padding-block: 10px;
  background: #f2f2f3;
  color: #45484c;
  font-weight: 700;
}

.bk-calendar-days { padding-bottom: 10px; }

.bk-calendar-day,
.bk-calendar-nav {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.bk-calendar-day { min-height: 40px; padding: 0; border-radius: 6px; }
.bk-calendar-day.in-range { background: #edf0f7; }
.bk-calendar-day:not(:disabled):hover { background: #dfe5f2; }
.bk-calendar-day[aria-pressed="true"],
.bk-calendar-day[aria-pressed="true"]:not(:disabled):hover { background: #0f1c3f; color: #fff; }
.bk-calendar-day:disabled,
.bk-calendar-nav:disabled { color: #a8abad; cursor: default; }
.bk-calendar-day:focus-visible,
.bk-calendar-nav:focus-visible,
.bk-date-trigger:focus-visible { outline: 2px solid #006380; outline-offset: -2px; }

.bk-calendar-nav {
  position: absolute;
  z-index: 1;
  top: 5px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 26px;
  line-height: 1;
}
.bk-calendar-prev { left: 5px; }
.bk-calendar-next { right: 5px; }

@media (max-width: 600px) {
  .bk-calendar { width: min(360px, calc(100vw - 24px)); }
  .bk-calendar-months { grid-template-columns: minmax(0, 1fr); }
  .bk-calendar-month + .bk-calendar-month { display: none; }
}

.bk-inline .bk-time-trigger {
  flex: 0 0 106px;
  height: 50px;
  padding: 0 28px 0 10px;
  border: 1.5px solid #e8eaef;
  border-radius: 11px;
  color: #1a1d2e;
  font: 500 14px 'Onest', sans-serif;
  cursor: pointer;
  background: #f7f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5e66' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat right 9px center / 16px;
}

.bk-time-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 106px;
  max-height: min(234px, calc(100dvh - 24px));
  padding: 6px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d3d4d6;
  border-radius: 10px;
  background: #f2f2f3;
  color: #303437;
}

.bk-time-menu button {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 3px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: 500 16px 'Onest', sans-serif;
  text-align: left;
  cursor: pointer;
}

.bk-time-menu button:hover { background: #dfe5f2; }
.bk-time-menu button[aria-pressed="true"] { background: #0f1c3f; color: #fff; }
.bk-time-trigger:focus-visible,
.bk-time-menu button:focus-visible { outline: 2px solid #006380; outline-offset: -2px; }

.bk-field .bk-office-trigger {
  width: 100%;
  height: 50px;
  padding: 0 34px 0 14px;
  border: 1.5px solid #e8eaef;
  border-radius: 11px;
  color: #1a1d2e;
  font: 500 14px 'Onest', sans-serif;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  background: #f7f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5e66' stroke-width='1.8'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
}
.bk-field .bk-office-trigger.is-empty { color: #7b8094; }

.bk-office-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 300px;
  max-width: calc(100vw - 24px);
  max-height: min(420px, calc(100dvh - 24px));
  padding: 0 0 6px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d3d4d6;
  border-radius: 12px;
  background: #fff;
  color: #303437;
  font: 500 15px 'Onest', sans-serif;
}

.bk-office-menu h3 {
  margin: 0;
  padding: 14px 20px 10px;
  background: #f2f2f3;
  color: #242729;
  text-align: center;
  font: 700 17px 'Onest', sans-serif;
}

.bk-office-menu h4 {
  margin: 0;
  padding: 8px 16px;
  background: #f2f2f3;
  border-top: 1px solid #e6e7e9;
  color: #45484c;
  font: 700 13px 'Onest', sans-serif;
  letter-spacing: .02em;
}

.bk-office-menu .bk-office-group { padding: 0 0 4px; margin: 0; }
.bk-office-menu .bk-office-group > h4 + button { margin-top: 4px; }
.bk-office-menu p { margin: 0; padding: 14px 20px; color: #7b8094; }

.bk-office-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 14px);
  min-height: 40px;
  margin: 2px 7px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bk-office-menu button svg { width: 17px; height: 17px; flex-shrink: 0; color: #5a5e66; }
.bk-office-menu button span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; overflow-wrap: anywhere; }
.bk-office-menu button small { font-size: 12px; font-weight: 500; }
.bk-office-menu button:not(:disabled):hover { background: #dfe5f2; }
.bk-office-menu button[aria-pressed="true"],
.bk-office-menu button[aria-pressed="true"]:not(:disabled):hover { background: #0f1c3f; color: #fff; }
.bk-office-menu button[aria-pressed="true"] svg { color: #fff; }
.bk-office-menu button:disabled { color: #a8abad; cursor: default; }
.bk-office-menu button:disabled svg { color: #c5c8cc; }
.bk-office-menu.is-compact { font-size: 14px; }
.bk-office-menu.is-compact h3 { padding: 12px 12px 9px; font-size: 15px; }
.bk-office-menu.is-compact h4 { padding: 7px 12px; font-size: 12px; }
.bk-office-menu.is-compact button { gap: 8px; width: calc(100% - 10px); margin: 2px 5px; padding: 6px 7px; }
.bk-office-menu.is-compact button svg { width: 15px; height: 15px; }
.bk-office-trigger:focus-visible,
.bk-office-menu button:focus-visible { outline: 2px solid #006380; outline-offset: -2px; }
