/* Shared Axis surfaces. Keep compact work-table choices and native mobile pickers. */
html:root
  :is(.rr-app, .rr-login, .rr-participant)
  select:not([multiple]):not([size]):not(.rr-task-color-pill) {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 10px 38px 10px 14px;
  border: 1px solid var(--hs-border-strong);
  border-radius: 9px;
  background-color: var(--hs-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  color: var(--hs-text);
  font: inherit;
  line-height: 1.4;
  max-width: 100%;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
html:root
  :is(.rr-app, .rr-login, .rr-participant)
  select:not([multiple]):not([size]):hover:not(:disabled) {
  border-color: var(--hs-primary);
}
html:root :is(.rr-app, .rr-login, .rr-participant) select:not(.rr-task-color-pill):focus-visible {
  outline: 2px solid var(--hs-primary);
  outline-offset: 2px;
}
html:root :is(.rr-app, .rr-login, .rr-participant) select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
html:root .rr-app :is(.dropdown-menu, .hs-profile-dropdown) {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--hs-border);
  background: var(--hs-surface);
  box-shadow: 0 14px 36px #0002;
}
html:root .rr-app :is(.dropdown-item, .hs-profile-dropdown-item) {
  padding: 11px 13px;
  min-height: 42px;
  border-radius: 7px;
  line-height: 1.45;
  color: var(--hs-text);
  white-space: normal;
}
html:root .rr-app :is(.dropdown-item, .hs-profile-dropdown-item):hover {
  background: var(--hs-primary-soft);
  color: var(--hs-text);
}
.rr-select-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  box-sizing: border-box;
  z-index: 2147483000;
  max-height: 340px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--hs-border, #ddd);
  border-radius: 12px;
  background: var(--hs-surface, #fff);
  color: var(--hs-text, #232323);
  box-shadow: 0 12px 32px #0002, 0 2px 8px #0001;
  font-family: inherit;
  font-size: var(--rr-font-small, .875rem);
  font-weight: var(--rr-body-weight, 300);
  line-height: 1.5;
}
.rr-select-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 40px;
  padding: 9px 34px 9px 12px;
  border-radius: 7px;
  line-height: 1.45;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.rr-select-option.is-focused {
  background: var(--hs-primary-soft, #fce7e8);
  outline: none;
}
.rr-select-option[aria-selected="true"] {
  font-weight: var(--rr-heading-weight, 400);
}
.rr-select-option[aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  right: 12px;
  color: var(--hs-primary, #e12026);
}
.rr-select-option[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.rr-select-group {
  padding: 12px 12px 6px;
  color: var(--hs-muted-text);
  font-size: 0.875rem;
  font-weight: var(--rr-heading-weight, 400);
}
@media (max-width: 767px) {
  html:root
    :is(.rr-app, .rr-login, .rr-participant)
    select:not([multiple]):not([size]) {
    font-size: 16px;
    min-height: 44px;
  }
  .rr-select-menu {
    max-height: 50vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:root .rr-app select {
    transition: none !important;
  }
}
@media (min-width: 992px) {
  html:root:not([data-hs-layout="expanded"]) .rr-app .hs-nav-menu,
  html:root[data-hs-layout="expanded"][data-rr-nav-labels="icons"]
    .rr-app
    .hs-nav-menu {
    padding: 10px;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    background: var(--hs-surface);
    box-shadow: 0 14px 36px #0002;
  }
  html:root:not([data-hs-layout="expanded"]) .rr-app .hs-nav-menu-link {
    padding: 12px 14px;
    line-height: 1.45;
  }
  html:root .rr-app .hs-nav-menu-link.rr-nav-section {
    padding-top: 16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

/* Catalog colors are supplied by the workspace; labels remain readable in both themes. */
.rr-select-heading {padding:6px 12px 10px;color:var(--hs-muted-text);font-size:13px;font-weight:var(--rr-heading-weight,400);letter-spacing:.025em;border-bottom:1px solid var(--hs-border);margin-bottom:5px}
.rr-select-label {min-width:0;flex:1}
.rr-select-marker {flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:var(--rr-option-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--rr-option-color) 12%,transparent)}
.rr-select-marker.is-priority {width:13px;height:14px;flex-basis:13px;border-radius:0;box-shadow:none;clip-path:polygon(8% 0,95% 0,78% 35%,95% 65%,20% 65%,20% 100%,8% 100%)}
@media(forced-colors:active){.rr-select-option.is-focused{outline:2px solid Highlight}.rr-select-marker{background:CanvasText}}
