rovomi-select {
  position: relative;
  display: inline-block;
  min-width: 0;
  color: #263e38;
}
.rv-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b0b7a6;
  border-radius: 7px;
  background: #fffaf0;
  color: inherit;
  font: 660 15px/1.2 var(--font);
  max-width: 100%;
  text-align: start;
}
.rv-select-trigger > span { min-width: 0; overflow-wrap: anywhere; }
.rv-select-trigger > svg { flex: none; }
.rv-select-trigger:hover, .rv-select-trigger[aria-expanded="true"] {
  border-color: #476659;
  background: #eef0e4;
}
.rv-select-trigger:focus-visible { outline: 3px solid #ae5b42; outline-offset: 2px; }
.rv-select-trigger > svg:first-child { color: #476959; }
.rv-select-trigger > svg:last-child { margin-left: 3px; transition: transform .15s ease; }
.rv-select-trigger[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.rv-select-list {
  position: absolute;
  z-index: 5;
  inset: auto;
  height: auto;
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: #fffbf2;
  color: #243630;
  border: 1px solid #b8b9a9;
  border-radius: 10px;
  box-shadow: 0 8px 24px #29382e27, 0 2px 4px #29382e12;
  scrollbar-width: thin;
}
.rv-select-list[popover] { position: fixed; }
rovomi-select > [hidden] { display: none !important; }
.rv-select-list [role="option"] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 11px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 590;
  line-height: 1.2;
}
.rv-select-list [data-placeholder] { margin-bottom: 7px; }
.rv-select-list [data-placeholder]::after {
  content: "";
  position: absolute;
  inset: auto 9px -4px;
  height: 1px;
  background: #dddacc;
}
.rv-select-list [role="option"]:has(.rv-select-ja) { grid-template-columns: minmax(0, 1fr) auto 16px; }
.rv-select-ja { grid-column: 2; color: #5c6d63; font: 400 13px/1.4 system-ui, sans-serif; }
.rv-select-list .icon { grid-column: -2; visibility: hidden; }
.rv-select-list [role="option"][data-active] { background: #e5eadc; }
@media (hover: hover) {
  .rv-select-list [role="option"]:hover { background: #e5eadc; }
}
.rv-select-list [role="option"][aria-selected="true"] { background: #274f43; color: #fff8e6; }
.rv-select-list [aria-selected="true"] .rv-select-ja { color: #d7e6d6; }
.rv-select-list [aria-selected="true"] .icon { visibility: visible; }
@media (forced-colors: active) {
  .rv-select-list [data-active] { outline: 2px solid Highlight; outline-offset: -2px; }
}
.rv-select-list [role="option"][aria-disabled="true"] { opacity: .55; cursor: default; }
