/* Type-to-search drop downs (app/static/combo.js, 2026-11-01). The <select> stays in the
   form under the box, hidden, so the form's own check still points at it. */
.cb{position:relative;display:block;width:100%}
.cb[hidden],.cb .cb-list[hidden],.cb .cb-chips[hidden]{display:none!important}
.cb.cb-inline{display:inline-block;vertical-align:middle;max-width:100%}
.cb select.cb-native{position:absolute;left:0;bottom:0;width:100%;height:1px;min-height:0!important;padding:0;
  margin:0;border:0;opacity:0;pointer-events:none}
.cb .cb-in{width:100%;margin:0;padding-right:30px;text-overflow:ellipsis;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2358595B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center}
.cb .cb-in:focus{cursor:text;outline:none;border-color:var(--iph);box-shadow:0 0 0 2px rgba(0,33,75,.15)}
.cb .cb-in:disabled{background-color:#f1f4f7;cursor:not-allowed}
.cb.cb-bad .cb-in{border-color:var(--accent);box-shadow:0 0 0 2px rgba(227,25,55,.15)}
.cb-list{position:absolute;left:0;right:0;top:calc(100% + 2px);z-index:60;max-height:300px;overflow-y:auto;
  background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 28px rgba(0,16,40,.18);
  padding:4px 0;-webkit-overflow-scrolling:touch;text-align:left}
.cb.cb-inline .cb-list{min-width:260px}
.cb-opt{padding:7px 12px;cursor:pointer;line-height:1.35;color:var(--ink)}
.cb-opt.cb-act{background:#eef3fa}
.cb-opt.cb-sel{font-weight:700;color:var(--iph)}
.cb-opt.cb-none{color:var(--muted)}
.cb-opt.cb-off{color:#a0a7b0;cursor:default}
.cb-grp{padding:8px 12px 3px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--muted)}
.cb-empty,.cb-more{padding:8px 12px;font-size:12px;color:var(--muted)}
.cb-multi .cb-opt{padding-left:32px;position:relative}
.cb-multi .cb-opt.cb-sel::before{content:"";position:absolute;left:13px;top:50%;width:5px;height:10px;margin-top:-7px;
  border:solid var(--iph);border-width:0 2px 2px 0;transform:rotate(45deg)}
.cb-chips{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 6px}
.cb-chip{display:inline-flex;align-items:center;gap:2px;background:#eef3fa;border:1px solid #d3deec;color:var(--iph);
  border-radius:14px;padding:2px 4px 2px 10px;font-size:13px;line-height:1.4}
.cb-x{border:0;background:none;color:var(--muted);font-size:17px;line-height:1;cursor:pointer;padding:0 5px;width:auto}
.cb-x:hover{color:var(--accent)}
/* phone: rows big enough for a thumb, the list as tall as the keyboard allows */
.mf-m .cb-opt,.mf-m .cb-empty{padding:12px 14px;font-size:16px}
.mf-m .cb-list{max-height:min(320px,45vh)}
.mf-m .cb-chip{font-size:15px;padding:4px 6px 4px 12px}
.mf-m .cb-x{font-size:22px;padding:0 6px}
@media (max-width:760px){.cb-opt{padding:11px 14px}}

/* The phone's sheet (2026-11-08, Jeremy: "drop downs are only search not giving you a list to also
   scroll through"). A tap on the box opens the whole list full screen; the box takes no cursor
   (read-only), so the keyboard only comes up for the search box at the top. static/combo.js
   sizes the sheet to the screen the phone really shows - above the keyboard while it is up. */
.cb .cb-in[readonly]:not(:disabled){-webkit-user-select:none;user-select:none;caret-color:transparent;cursor:pointer}
html.cb-sheet-on,html.cb-sheet-on body{overflow:hidden}
.cb-sheet{position:fixed;left:0;right:0;top:0;bottom:0;z-index:1000;display:flex;flex-direction:column;
  background:#fff;color:var(--ink);font-size:16px;text-align:left;outline:none}
.cb-sh-head{flex:none;display:flex;align-items:center;gap:8px;min-height:52px;padding:env(safe-area-inset-top) 4px 0 16px;
  background:var(--iph);color:#fff;touch-action:none}
.sb-under .cb-sh-head{padding-top:max(env(safe-area-inset-top),54px)}
.cb-sh-t{flex:1 1 auto;min-width:0;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-sheet .cb-sh-done{flex:none;width:auto;min-height:44px;margin:4px 0;padding:0 14px;border:0;border-radius:8px;
  background:none;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.cb-sheet .cb-sh-done:active{background:rgba(255,255,255,.16)}
.cb-sh-find{flex:none;padding:8px 12px;background:#f4f6f9;border-bottom:1px solid #cbd5e1;touch-action:none}
.cb-sheet .cb-sq{display:block;width:100%;min-height:44px;margin:0;padding:9px 12px;font:inherit;font-size:16px;
  color:var(--ink);background:#fff;border:1px solid #cbd5e1;border-radius:10px;-webkit-appearance:none;appearance:none}
.cb-sheet .cb-sq:focus{outline:none;border-color:var(--iph);box-shadow:0 0 0 2px rgba(0,33,75,.15)}
.cb-sheet .cb-list{position:relative;top:auto;left:auto;right:auto;z-index:auto;flex:1 1 auto;min-height:0;max-height:none;
  margin:0;padding:0 0 env(safe-area-inset-bottom);border:0;border-radius:0;box-shadow:none;overscroll-behavior:contain}
.cb-sheet.cb-sh-kb .cb-list{padding-bottom:0}
.cb-sheet .cb-opt{position:relative;padding:13px 44px 13px 16px;font-size:16px;line-height:1.35;border-bottom:1px solid var(--line)}
.cb-sheet .cb-opt.cb-sel{background:#eef3fa}
.cb-sheet:not(.cb-multi) .cb-opt.cb-sel::after{content:"";position:absolute;right:20px;top:50%;width:6px;height:12px;
  margin-top:-8px;border:solid var(--iph);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.cb-sheet.cb-multi .cb-opt{padding-left:44px}
.cb-sheet.cb-multi .cb-opt.cb-sel::before{left:18px}
.cb-sheet .cb-grp{position:sticky;top:0;z-index:1;padding:8px 16px 6px;background:#f4f6f9;border-bottom:1px solid var(--line)}
.cb-sheet .cb-empty,.cb-sheet .cb-more{padding:16px;font-size:15px}
