/* Only the open chooser is styled. The existing field keeps its size and position. */
.packman-choice-panel[popover],
.packman-choice-panel {
    position: fixed;
    inset: auto;
    z-index: 11000;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid #547361;
    border-radius: 9px;
    background: #fff;
    color: #1a3327;
    box-shadow: 0 6px 22px rgb(22 49 37 / 20%);
    font: 400 15px/1.35 system-ui, sans-serif;
    text-align: left;
    color-scheme: light;
}
.packman-choice-panel .packman-choice-query {
    flex: none;
    box-sizing: border-box;
    width: 100%;
    min-height: 37px;
    padding: 6px 9px;
    border: 1px solid #41634f;
    border-radius: 5px;
    background: white;
    color: #193629;
    font: inherit;
}
.packman-choice-panel .packman-choice-query:focus-visible {
    outline: 2px solid #346c50;
    outline-offset: -2px;
}
.packman-choice-results { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.packman-choice-option {
    padding: 7px 9px;
    border-radius: 4px;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.packman-choice-option[data-active] {
    background: #e0eee4;
    color: #163624;
    box-shadow: inset 3px 0 #34714f;
}
.packman-choice-option[aria-disabled="true"] { color: #68746e; cursor: default; }
.packman-choice-mark { display: inline-block; width: 1.3em; }
.packman-choice-footer { display: flex; flex: none; gap: 8px; align-items: center; justify-content: space-between; }
.packman-choice-status { color: #485c50; font-size: 13px; }
.packman-choice-panel .packman-choice-more {
    min-height: 28px;
    margin-left: auto;
    padding: 2px 9px;
    border: 1px solid #627e6a;
    border-radius: 5px;
    background: #fff;
    color: #204631;
    font: inherit;
    cursor: pointer;
}
.packman-choice-panel [hidden] { display: none !important; }
@media print { .packman-choice-panel { display: none !important; } }
