/* Searchable dropdowns (js/combo.js): a text box in front of a hidden <select>, list fixed to the viewport */
.combo { position: relative; display: inline-block; vertical-align: middle; min-width: 180px; max-width: 100%; }
.f .combo, .combo:only-child { display: block; min-width: 0; }
.combo > select { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.combo-in { width: 100%; padding-right: 30px !important; text-overflow: ellipsis; cursor: text;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b6577' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center / 11px 8px !important; }
.combo-in:not(.f .combo-in) { padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 14px; }
.combo-in:disabled { background-color: #f6f4ee !important; color: var(--ink-2); cursor: default; }
.combo-list { position: fixed; z-index: 3000; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(11, 23, 46, .16);
  overflow-y: auto; padding: 4px; overscroll-behavior: contain; }
.combo-opt { padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; line-height: 1.3; color: var(--ink, #0b172e); }
.combo-opt.hi { background: #eef1f6; }
.combo-opt.sel { font-weight: 600; }
.combo-opt.off { color: #9aa3b2; cursor: default; }
.combo-opt mark { background: #fde68a; color: inherit; padding: 0; border-radius: 2px; }
.combo-grp { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2, #5b6577); }
.combo-empty { padding: 10px; font-size: 13px; color: var(--ink-2, #5b6577); }
@media (max-width: 900px) {
  .combo-in { font-size: 16px !important; }   /* 16px keeps iOS from zooming on focus */
  .combo-opt { padding: 12px; font-size: 15px; }
}
@media print { .combo-list { display: none; } .combo-in { background-image: none !important; } }
