/* Dropdowns (dropdown.js): the native <select>/<datalist> popups replaced by the app's own menu. */
.dd-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.dd-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: var(--h-sm, 36px); padding-inline: 12px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 14px "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; text-align: start; }
.dd-btn::after { content: ""; flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform var(--ease); opacity: .7; }
.dd-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.dd-btn:hover { border-color: #c5cad6; }
.dd-btn:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
.dd-btn[aria-expanded="true"] { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.dd-short { display: none; }
.dd-flag { flex: none; font-size: 1.15em; line-height: 1; }
.dd-list { position: fixed; inset: auto; margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; z-index: 1000; max-width: min(420px, calc(100vw - 24px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #14182126, 0 2px 6px #1418211a; font: 500 14px "Plus Jakarta Sans", system-ui, sans-serif; animation: dd-in 120ms cubic-bezier(.2, .7, .3, 1); }
.dd-list [role="option"] { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.dd-list [role="option"]:hover, .dd-list .dd-active { background: var(--indigo-soft); }
.dd-list [aria-selected="true"] { color: var(--indigo); font-weight: 700; }
.dd-list [aria-selected="true"]::after { content: "✓"; margin-inline-start: auto; }
.dd-more { padding: 4px 12px; color: var(--muted); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .dd-list { animation: none; } }
