/* Shared by the website, boss console, employee portal and embedded wizards. */
:root {
  --select-arrow-inset: 14px;
  --select-content-inset: 40px;
}
:root select:not([multiple]):not([size]),
:root select:not([multiple])[size="1"],
:root select:not([multiple])[size="0"] {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: var(--select-content-inset);
  background-image: url("/ui/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right var(--select-arrow-inset) center;
  background-size: 12px 8px;
}
@media (forced-colors: active) {
  :root select:not([multiple]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}

/* Consistent modal close affordance: visible icon and generous hit target. */
:root :is(dialog, [role="dialog"]) button[aria-label^="关闭"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #526984;
  border-radius: 10px;
}
:root :is(dialog, [role="dialog"]) button[aria-label^="关闭"] svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
:root :is(dialog, [role="dialog"]) button[aria-label^="关闭"]:hover {
  color: #1264e9;
  background-color: #edf4ff;
}
:root :is(dialog, [role="dialog"]) button[aria-label^="关闭"]:focus-visible {
  outline: 2px solid #1264e9;
  outline-offset: 2px;
}
