/**
 * inn-field.css — Ops UI Library: InnField visual layer
 *
 * Absolute-positioned autosuggest dropdown anchored to the wrapper.
 * The wrapper itself stays inline-block so the input keeps its slider field
 * layout; the dropdown floats below without disturbing siblings.
 *
 * Empty state — `display: none`. Open state — `.is-open` toggle from JS.
 *
 * Block 6.3.3 of task radar-os--479-contractors-mode.
 */

.if-wrapper {
    position: relative;
    display: block;
}

.if-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 9500;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    display: none;
    color: var(--text);
}

.if-dropdown.is-open {
    display: block;
}

.if-dropdown-row {
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1.35;
    color: var(--text);
}

.if-dropdown-row:hover {
    background: var(--sidebar-active, rgba(255, 255, 255, 0.06));
}

.if-dropdown-icon {
    margin-right: 6px;
}

.if-dropdown-sub {
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-2);
}
