/* DL Select 1.0: themed drop-down that opens from the field itself (mobile and desktop). */
select.dls-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); }
.dls-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; box-sizing: border-box; margin: 0; padding: 9px 12px; cursor: pointer; text-align: start; font: 600 15px/1.5 var(--font, inherit); color: var(--ink, #1f2937); background: var(--soft, #f4f6f8); border: 1.5px solid var(--line, #dfe3e8); border-radius: 14px; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.dls-btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dls-btn.is-empty span { color: var(--muted, #6b7280); font-weight: 500; }
.dls-btn svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--muted, #6b7280); transition: transform .2s; }
.dls-btn:hover { border-color: var(--teal, #0d9488); }
.dls-btn:focus-visible { outline: 0; border-color: var(--teal, #0d9488); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal, #0d9488) 25%, transparent); }
.dls-btn[aria-expanded="true"] { border-color: var(--teal, #0d9488); background: var(--card, #fff); }
.dls-btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--teal, #0d9488); }
.dls-btn:disabled { opacity: .55; cursor: not-allowed; }
.dls-list { position: absolute; z-index: 100000; box-sizing: border-box; margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--card, #fff); border: 1px solid var(--line, #dfe3e8); border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); font: 600 15px/1.5 var(--font, inherit); color: var(--ink, #1f2937); outline: 0; animation: dls-in .14s ease-out; }
.dls-list li { padding: 10px 12px; border-radius: 11px; cursor: pointer; text-align: start; }
.dls-list li.is-ph { color: var(--muted, #6b7280); font-weight: 500; }
.dls-list li.is-act, .dls-list li:hover { background: var(--soft, #f4f6f8); }
.dls-list li.is-on { background: var(--teal, #0d9488); color: #fff; }
.dls-list li.is-off { opacity: .45; cursor: not-allowed; }
@keyframes dls-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dls-list { animation: none; } .dls-btn svg { transition: none; } }
