/* Project Web adapter: ARK's opaque field surface and semantic colors. */
.dialog{position:relative}
.ark-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;font-family:inherit}
.ark-select-trigger:disabled{cursor:default;opacity:.56}
.ark-select-trigger:focus-visible{outline:2px solid var(--action);outline-offset:2px}
.ark-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ark-select-chevron{flex:none;width:14px;height:14px;transition:transform .16s ease}
.ark-select-trigger[aria-expanded="true"] .ark-select-chevron{transform:rotate(180deg)}
.ark-select-popup{z-index:120;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:5px;border:1px solid var(--line);border-radius:var(--r-control,12px);background:var(--surface);box-shadow:0 12px 36px var(--scrim);color:var(--text)}
.ark-select-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 10px;border-radius:calc(var(--r-control,12px) - 4px);font-size:14px;line-height:1.4;overflow-wrap:anywhere;cursor:pointer}
.ark-select-option.is-active:not(.is-disabled){background:var(--soft)}
.ark-select-option.is-selected{background:var(--accent-soft);color:var(--action);font-weight:600}
.ark-select-option.is-disabled{opacity:.48;cursor:default}
.ark-select-check{flex:none;width:16px;height:16px;color:var(--action)}
.ark-select-status{position:sticky;top:0;z-index:1;padding:8px 10px;border-radius:calc(var(--r-control,12px) - 4px);background:var(--surface);color:var(--muted);font-size:12px;line-height:1.4}
.import-field .ark-select-trigger{width:100%;min-height:40px;padding:6px 8px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);font-size:16px;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.ark-select-chevron{transition:none}}
