/* Shared controls: keep native selection and form behavior. */
body.tk select.select,
body.tk select.tk-nav-tenant-select {
  appearance: none;
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #cbd7e4;
  border-radius: 9px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b7087' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  color: #20364d;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 2px #10243a05;
  cursor: pointer;
}
body.tk select.select:hover { border-color: #91aac2; }
body.tk select.select:disabled { background-color: #f2f5f8; color: #718096; cursor: not-allowed; }
body.tk select.select:focus-visible,
body.tk .tk-dropdown-toggle:focus-visible,
body.tk summary:focus-visible,
body.tk .review-admin-item:focus-visible,
body.tk .ui-text-button:focus-visible {
  outline: 3px solid #7dbde080;
  outline-offset: 2px;
  border-color: #4f89b3;
}
body.tk select[multiple], body.tk select[size]:not([size="1"]) { background-image: none; padding-right: 12px; }
body.tk .form-row { display: grid; gap: 6px; margin-bottom: 14px; }
body.tk .tk-dropdown-menu,
body.tk .review-picker-dropdown,
body.tk .review-flag-dropdown {
  padding: 6px;
  border: 1px solid #d3dee9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px #1937511a, 0 2px 6px #1937510a;
  max-height: min(65vh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
body.tk .tk-dropdown-menu { min-width: 250px; }
body.tk .review-admin-dropdown { width: 284px; }
body.tk .review-admin-dropdown .review-admin-item {
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
  color: #253d55;
}
body.tk .tk-dropdown-menu a:hover,
body.tk .review-admin-item:hover,
body.tk .review-picker-option:hover { background: #eff5fa; }
body.tk .review-admin-dropdown .review-admin-item.danger { color: #b43940; }
body.tk .review-admin-dropdown .review-admin-item.danger:hover { background: #fff2f2; }
body.tk .review-admin-item.ui-icon-action {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
body.tk .ui-action-icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf4f9;
  color: #426f96;
}
.ui-action-icon svg { width: 17px; height: 17px; }
body.tk .review-admin-item small { font-size: 11px; line-height: 1.45; margin-top: 2px; color: #667c91; }
body.tk .review-menu-label, body.tk .ui-menu-heading {
  padding: 9px 10px 5px;
  color: #7a8a9a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.tk #adminDropdown .tk-nav-link { font-size: 13px; font-weight: 500; padding: 8px 10px; color: #253d55; }
body.tk #adminDropdown .ui-menu-heading:not(:first-child) { border-top: 1px solid #e8eef4; margin-top: 5px; padding-top: 12px; }
body.tk .review-chevron { display: inline-block; width: 6px; height: 6px; font-size: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 12px; }
body.tk .review-picker-toggle { border-radius: 9px; font-size: 13px; min-height: 40px; }
body.tk .review-picker-option { padding: 8px; border-radius: 6px; margin: 0; line-height: 1.4; align-items: center; }
body.tk .review-picker-option input { accent-color: #356b96; width: 15px; height: 15px; flex-shrink: 0; }
body.tk .review-picker-dropdown { gap: 2px; }
.ui-search { width: 100%; min-width: 0; margin-bottom: 10px; font-size: 13px; }
.ui-search-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 6px 8px; border-bottom: 1px solid #e8eef4; margin-bottom: 4px; }
.ui-text-button { border: 0; background: transparent; padding: 4px; color: #376a95; font: inherit; font-size: 12px; cursor: pointer; }
.ui-search-empty { padding: 10px; font-size: 13px; color: #667c91; }
.ui-search-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 10px; }
.ui-search-bar .ui-search { max-width: 360px; margin: 0; }
.ui-search-count { font-size: 12px; color: #667c91; }
body.tk [hidden] { display: none !important; }
@media (max-width: 650px) {
  body.tk .review-admin-dropdown { width: min(284px, 82vw); min-width: 0; }
  body.tk .review-picker-dropdown { max-width: 82vw; }
}
@media (forced-colors: active) {
  body.tk select.select { appearance: auto; background-image: none; }
}
