/* KPI selection controls use the same surface and olive palette as the ledger. */
.kc-select{position:relative;display:inline-flex;vertical-align:middle;min-width:0;max-width:100%;font-family:inherit}
.kc-select-native[hidden]{display:none!important}
.kc-select .kc-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-width:0;min-height:36px;padding:7px 10px;border:1px solid #8a9182;border-radius:2px;background:var(--surface,#fff);color:var(--txt,#272c23);font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;text-align:left;cursor:pointer;white-space:nowrap}
.kc-select .kc-select-trigger:hover{background:var(--hover,#f5f6f0);border-color:var(--sub,#62685c)}
.kc-select .kc-select-trigger[aria-expanded=true]{border-color:var(--txt,#272c23);background:var(--selected,#f1f3e9)}
.kc-select .kc-select-trigger:focus-visible{outline:2px solid var(--txt,#272c23);outline-offset:3px}
.kc-select .kc-select-trigger:disabled{opacity:.5;cursor:default}
.kc-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kc-select-arrow{display:block;width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin:0 2px 0 4px}
.kc-select-trigger[aria-expanded=true] .kc-select-arrow{transform:translateY(2px) rotate(225deg)}
.kc-select-menu{position:fixed;inset:auto;margin:0;padding:4px;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:320px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--sub,#62685c);border-radius:2px;background:var(--surface,#fff);color:var(--txt,#272c23);box-shadow:0 5px 16px #20251b20;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5}
.kc-select-menu::backdrop{background:transparent;pointer-events:none}
.kc-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:8px 10px;box-sizing:border-box;cursor:pointer;border-radius:1px}
.kc-select-option>span:first-child{min-width:0;overflow-wrap:anywhere}
.kc-select-option[hidden]{display:none!important}
.kc-select-option:hover,.kc-select-option.is-active{background:var(--hover,#f0f2e9)}
.kc-select-option[aria-selected=true]{color:var(--txt,#272c23);font-weight:650;background:var(--selected,#e9edde)}
.kc-select-option.is-active{box-shadow:inset 2px 0 var(--txt,#272c23)}
.kc-select-option[aria-disabled=true]{opacity:.45;cursor:default;background:transparent;box-shadow:none}
.kc-select-check{flex:none;width:16px;text-align:center;font-size:14px;font-weight:700}
.kc-select-group{padding:9px 10px 4px;color:var(--sub,#62685c);font-size:12px;font-weight:600}
@media(forced-colors:active){.kc-select-option.is-active{outline:1px solid Highlight;outline-offset:-2px}.kc-select-option[aria-selected=true]{color:HighlightText;background:Highlight}}
