.noir-select{min-width:0;width:100%}
.noir-select-source{display:none!important}
.noir-select-trigger{
  width:100%;min-width:0;min-height:38px;display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:0 11px;border:1px solid rgba(255,255,255,.12);border-radius:7px;
  background:#0b0b0b;color:var(--white);font:inherit;font-size:12px;text-align:left;cursor:pointer;
  transition:border-color .18s ease,background .18s ease;
}
.noir-select-trigger:hover{background:#151515;border-color:rgba(255,255,255,.22)}
.noir-select-trigger[aria-expanded="true"]{background:#151515;border-color:rgba(229,191,85,.5)}
.noir-select-trigger:disabled{opacity:.45;cursor:default}
.noir-select-trigger:focus-visible{outline:2px solid rgba(229,191,85,.75);outline-offset:2px}
.noir-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.noir-select-trigger svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:var(--muted-2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.noir-select-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.control-strip .noir-select-trigger{min-height:30px;padding:0 10px}
.mobile-select-trigger.noir-select-trigger{gap:5px}
.expense-row .noir-select-trigger{min-height:36px}
.noir-select-menu{
  position:fixed;inset:auto;z-index:100;margin:0;padding:6px;box-sizing:border-box;
  display:grid;grid-template-columns:minmax(0,1fr);gap:3px;
  overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#444 #181818;
  border:1px solid #333;border-radius:8px;background:#181818;color:var(--white);
  box-shadow:0 12px 32px rgba(0,0,0,.5);font-family:inherit;letter-spacing:0;
}
.noir-select-menu::backdrop{background:transparent;pointer-events:none}
.noir-select-menu.is-months{grid-template-columns:repeat(3,minmax(0,1fr))}
.noir-select-menu.is-years{grid-template-columns:repeat(2,minmax(0,1fr))}
.noir-select-option{
  position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:38px;
  padding:8px 10px;box-sizing:border-box;border-radius:5px;color:#c6c6bd;
  font-size:12px;line-height:1.4;cursor:pointer;user-select:none;
}
.noir-select-option.is-active{background:#282828;color:#fff}
.noir-select-option[aria-selected="true"]{background:rgba(229,191,85,.1);color:#f2d378}
.noir-select-option[aria-selected="true"].is-active{background:rgba(229,191,85,.16)}
.noir-select-label{flex:1;min-width:0;overflow-wrap:anywhere}
.noir-select-symbol{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0}
.noir-select-symbol svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.noir-select-check{width:12px;flex-shrink:0;visibility:hidden;font-size:12px}
.noir-select-option[aria-selected="true"] .noir-select-check{visibility:visible}
.is-months .noir-select-option,.is-years .noir-select-option{justify-content:center;gap:0;padding:8px 6px;text-align:center}
.is-months .noir-select-check,.is-years .noir-select-check{display:none}
@media(max-width:820px){
  .noir-select-option{min-height:42px}
  .control-strip .noir-select-trigger{min-height:36px;border-radius:11px;font-size:13px;font-weight:700}
}
@media(max-width:520px){
  .control-strip .noir-select-trigger{min-height:34px;padding:0 9px;font-size:12px;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){
  .noir-select-trigger,.noir-select-trigger svg{transition:none}
}
