/* Form choices share a calm surface in both themes. The original select remains
   in the layout for its size, browser validation, and form submission. */
html body select { border-radius:12px; }
.lcc-select { display:inline-grid; grid-template-columns:minmax(0,1fr); vertical-align:middle; min-width:0; max-width:100%; position:relative; }
.lcc-select[hidden] { display:none!important; }
.field > .lcc-select { display:grid; width:100%; }
.lcc-select > select.lcc-select-native { grid-area:1 / 1; opacity:0; pointer-events:none; min-width:0; max-width:100%; }
.lcc-select-trigger {
  grid-area:1 / 1; position:relative; display:flex; align-items:center;
  min-width:0; max-width:100%; min-height:44px; box-sizing:border-box;
  padding:10px 38px 10px 13px; border:1px solid var(--lcc-ring,#d5c4ae);
  border-radius:12px; background:var(--lcc-surface,#fffdf9); color:var(--ink,#25392f);
  font:inherit; text-align:left; cursor:pointer; touch-action:manipulation;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.lcc-select-trigger::after { content:''; position:absolute; right:15px; top:calc(50% - 4px); width:7px; height:7px; border-right:1.5px solid var(--lcc-accent,#86623d); border-bottom:1.5px solid var(--lcc-accent,#86623d); transform:rotate(45deg); pointer-events:none; }
.lcc-select-trigger[aria-expanded=true]::after { transform:translateY(3px) rotate(225deg); }
.lcc-select-caption { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.lcc-select-trigger:hover { border-color:var(--lcc-accent,#86623d); background:var(--lcc-soft,#edf1e9); }
.lcc-select-trigger:focus-visible,.lcc-select-trigger[aria-expanded=true] { outline:2px solid var(--lcc-accent,#86623d); outline-offset:3px; }
.lcc-select-trigger[aria-disabled=true] { opacity:.55; cursor:not-allowed; }
.lcc-select-trigger[aria-invalid=true] { border-color:#b96753; }
.lcc-select-error { grid-row:2; display:block; margin-top:6px; font-size:12px; line-height:1.5; color:var(--ink,#25392f); }
.lcc-select-error[hidden] { display:none; }
.lcc-select-menu {
  position:fixed; inset:auto; z-index:10000; box-sizing:border-box; margin:0; padding:6px;
  overflow:auto; overscroll-behavior:contain; touch-action:pan-y; scrollbar-width:none;
  border:1px solid var(--lcc-ring,#d5c4ae); border-radius:16px;
  background:var(--lcc-surface,#fffdf9); color:var(--ink,#25392f);
  box-shadow:0 12px 36px #102d2426; font:500 14px/1.45 'DM Sans',Arial,sans-serif;
}
.lcc-select-menu::-webkit-scrollbar { width:0; height:0; }
.lcc-select-menu [role=option] {
  position:relative; display:flex; align-items:center; min-height:44px; box-sizing:border-box;
  padding:10px 36px 10px 12px; border-radius:10px; overflow-wrap:anywhere; cursor:pointer;
}
.lcc-select-menu [role=option][data-active=true] { background:var(--lcc-soft,#edf1e9); box-shadow:inset 0 0 0 1px var(--lcc-ring,#d5c4ae); }
.lcc-select-menu [role=option][aria-selected=true] { color:var(--ink,#25392f); font-weight:700; }
.lcc-select-menu [role=option][aria-selected=true]::after { content:''; position:absolute; right:15px; width:5px; height:10px; border:solid var(--lcc-accent,#86623d); border-width:0 2px 2px 0; transform:rotate(45deg); }
.lcc-select-menu [role=option][aria-disabled=true] { opacity:.45; cursor:not-allowed; }
.lcc-select-group { padding:12px 12px 5px; font-size:11px; font-weight:700; letter-spacing:.04em; color:var(--muted,#607064); }
html[data-theme=dark] .lcc-select-menu { box-shadow:0 14px 42px #0006; }
.listen-speed .lcc-select-trigger { min-height:36px; padding-right:29px; border-radius:10px; }
.listen-speed .lcc-select-trigger::after { right:11px; }
@media(prefers-reduced-motion:reduce) { .lcc-select-trigger { transition:none; } }
@media(forced-colors:active) { .lcc-select-trigger,.lcc-select-menu { border-color:ButtonText; } .lcc-select-menu [data-active=true] { outline:1px solid Highlight; } }

