.custom-select { position: relative; min-width: 0; font-weight: 400; text-transform: none; letter-spacing: 0; }
.select-trigger { width: 100%; min-height: 52px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1.5px solid var(--linha); border-radius: var(--radius-control); background: var(--papel-claro); color: var(--tinta); text-align: left; font-size: 1rem; }
.select-trigger:hover { border-color: var(--tinta-suave); }
.select-trigger:focus-visible, .select-open .select-trigger { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px var(--focus-ring); }
.select-arrow { width: 8px; height: 8px; flex: none; margin: -4px 3px 0 0; border-right: 1.5px solid var(--tinta-suave); border-bottom: 1.5px solid var(--tinta-suave); transform: rotate(45deg); transition: transform .15s; }
.select-open .select-arrow { transform: translateY(4px) rotate(225deg); }
.select-open { z-index: 5; }
.select-options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: min(240px, 45dvh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1.5px solid var(--linha); border-radius: var(--radius-control); background: var(--papel-claro); box-shadow: var(--shadow); }
.select-above .select-options { top: auto; bottom: calc(100% + 6px); }
.select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: 6px; cursor: pointer; font-size: .95rem; }
.select-option:hover, .select-option.is-active { background: var(--papel-escuro); }
.select-option[aria-selected=true] { background: var(--tinta); color: var(--papel-claro); }
.select-option[aria-selected=true]::after { content: ''; width: 16px; height: 16px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }