/* ATLANTIS UserPriority - Fluent-inspired compact selector */
.evolution-userpriority { display: inline-block; vertical-align: middle; }
.atl-userpriority-badge.btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 30px; padding: 4px 8px; border: 1px solid transparent;
    border-radius: 6px; background: transparent; color: #242424;
    font-size: 13px; font-weight: 400; line-height: 20px;
    white-space: nowrap; box-shadow: none;
    transition: background-color .12s ease, border-color .12s ease;
}
.atl-userpriority-badge.btn:hover { background: #f5f5f5; border-color: #e5e5e5; color: #242424; }
.atl-userpriority-badge.btn:focus { background: #f5f5f5; border-color: #616161; color: #242424; outline: 2px solid #616161; outline-offset: 1px; box-shadow: none; }
.atl-userpriority-badge.btn.atl-userpriority-colored { color: #242424; background: transparent; border-color: transparent; }
.atl-userpriority-badge.btn.atl-userpriority-colored:hover { background: #f5f5f5; border-color: #e5e5e5; }
.atl-userpriority-dot {
    display: inline-block; width: 14px; height: 14px; flex: 0 0 14px;
    border-radius: 50%; background: linear-gradient(160deg, #fafafa 0%, #c8c8c8 90%);
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.65), 0 1px 1px rgba(0,0,0,.08);
}
.atl-userpriority-colored .atl-userpriority-dot {
    background: var(--atl-userpriority-color);
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.55), transparent 55%), var(--atl-userpriority-color);
    border-color: rgba(0,0,0,.14);
}
.atl-userpriority-chevron { margin-left: 1px; font-size: 15px; line-height: 12px; color: #616161; transform: translateY(-2px); }
.atl-userpriority-saving { pointer-events: none; }
.atl-userpriority-busy { opacity: .6; cursor: wait !important; }
.atl-userpriority-menu {
    z-index: 2147483000; padding: 5px; max-height: 65vh; overflow-y: auto;
    border: 1px solid #e0e0e0; border-radius: 8px; background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.06);
}
.atl-userpriority-option {
    display: flex; align-items: center; gap: 11px; width: 100%;
    min-height: 40px; padding: 8px 11px; border: 0; border-radius: 4px;
    background: transparent; color: #242424; text-align: left; cursor: pointer;
    font-size: 14px; font-weight: 400;
}
.atl-userpriority-option:hover, .atl-userpriority-option:focus { background: #f5f5f5; color: #242424; outline: none; }
.atl-userpriority-option.active { background: #f0f6ff; color: #242424; font-weight: 600; }
.atl-userpriority-option .atl-userpriority-dot { width: 17px; height: 17px; flex-basis: 17px; }
.atl-userpriority-option-label { flex: 1; }
.atl-userpriority-check { color: #0f6cbd; font-size: 15px; }
@media (pointer: coarse) { .atl-userpriority-option { min-height: 44px; } }

/* Use registry color for dots inside the dropdown, too. */
.atl-userpriority-option .atl-userpriority-dot-colored {
    background: var(--atl-userpriority-color);
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.55), transparent 55%), var(--atl-userpriority-color);
    border-color: rgba(0,0,0,.14);
}

/* Priority uses a flag; round status indicators elsewhere remain unchanged. */
.atl-userpriority-flag {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 18px; flex: 0 0 16px;
    color: #a0a0a0;
}
.atl-userpriority-flag .fa { font-size: 14px; line-height: 1; }
.atl-userpriority-colored .atl-userpriority-flag,
.atl-userpriority-option .atl-userpriority-flag-colored { color: var(--atl-userpriority-color); }
.atl-userpriority-option .atl-userpriority-flag { width: 18px; height: 20px; flex-basis: 18px; }
.atl-userpriority-option .atl-userpriority-flag .fa { font-size: 15px; }

/* Render the solid Font Awesome flag via the icon font, without SVG replacement. */
.atl-userpriority-flag::before {
    content: "\f024";
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}
.atl-userpriority-option .atl-userpriority-flag::before { font-size: 15px; }
