/* SHARED Markets screen component system — single source of truth for the flagship
 * Markets table (assets/markets-table.js) AND the ZIP Code explorer (assets/zip-explorer.js).
 * Generated verbatim from markets-table.js's injectStyle() output with the flagship id selector
 * re-scoped to .mkt-ui (a class both mounts carry). Do NOT hand-edit values here to "fix" one screen — edit
 * the component and both screens inherit. Light-only by design (matches the flagship). */
.mkt-ui{--mbg:#fbfcfe;--msurf:#fff;--msurf2:#f1f4f9;--mink:#141922;--mmut:#586274;--mfnt:#667085;--mhair:#e6eaf1;--mhairs:#d3dae4;--macc:#3a52c8;--maccs:#eef1fc;--mA:#0b7a4c;--mAb:#e4f6ed;--mB:#3f9c6d;--mBb:#e7f4ed;--mC:#b07d0a;--mCb:#f8f0d9;--mD:#c76b1f;--mDb:#f9ede0;--mF:#c0392b;--mFb:#f9e7e4;--mhi:#0b7a4c;--mlo:#c0392b;color:var(--mink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px}.mkt-ui *{box-sizing:border-box}.mkt-ui a{color:var(--macc);text-decoration:none}.mkt-ui a:hover{text-decoration:underline}.mkt-stpanel,.mkt-tools,.mkt-stpanel *,.mkt-tools *{box-sizing:border-box}.mkt-tools [hidden],.mkt-stpanel [hidden]{display:none!important}.mkt-stpanel,.mkt-tools{--msurf:#fff;--msurf2:#f1f4f9;--mink:#141922;--mmut:#586274;--mfnt:#667085;--mhair:#e6eaf1;--mhairs:#d3dae4;--macc:#3a52c8;--maccs:#eef1fc;--mF:#c0392b;--mFb:#f9e7e4;color:var(--mink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px}.mkt-ui [hidden]{display:none!important}.mkt-presets{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.mkt-preset{font:550 13px system-ui;padding:8px 14px;border:1px solid var(--mhairs);border-radius:999px;background:var(--msurf);color:var(--mmut);cursor:pointer;min-height:38px}.mkt-preset:hover{border-color:var(--macc);color:var(--macc)}.mkt-preset.on{background:var(--macc);border-color:var(--macc);color:#fff}.mkt-stickwrap{position:sticky;top:0;background:var(--mbg);z-index:20;border-bottom:1px solid var(--mhair)}.mkt-bar{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;padding:10px 0 6px}.mkt-tools{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;padding:0 0 10px}.mkt-tools-head,.mkt-tools-foot,.mkt-tools-t{display:none}.mkt-tback{display:none}.mkt-qwrap{position:relative}.mkt-ac{position:absolute;top:100%;left:0;z-index:70;min-width:270px;max-width:min(88vw,340px);max-height:min(50vh,320px);overflow-y:auto;overscroll-behavior:contain;background:var(--msurf);border:1px solid var(--mhairs);border-radius:10px;box-shadow:0 14px 36px rgba(16,40,60,.18);text-transform:none;letter-spacing:normal;font-weight:400}.mkt-ac a{display:block;padding:10px 12px;min-height:44px;font-size:14px;color:var(--mink);border-bottom:1px solid var(--mhair)}.mkt-ac a:last-child{border-bottom:none}.mkt-ac a:hover,.mkt-ac a.sel{background:var(--maccs);text-decoration:none}.mkt-ac-m{display:block;font-size:11.5px;color:var(--mfnt);margin-top:1px}.mkt-ac-slug{color:var(--mfnt);font-size:12px}.mkt-ac-none{padding:12px;font-size:13px;color:var(--mmut);text-transform:none;letter-spacing:normal;font-weight:400}.mkt-ac-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mkt-fcount{font-variant-numeric:tabular-nums}.mkt-chiprow{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.mkt-lab{display:flex;flex-direction:column;gap:3px;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--mfnt);font-weight:650}.mkt-ui select,.mkt-ui input,.mkt-stpanel select,.mkt-stpanel input,.mkt-tools select,.mkt-tools input{font:inherit;font-size:13px;padding:7px 9px;border:1px solid var(--mhairs);border-radius:8px;background:var(--msurf);color:var(--mink);min-height:36px}.mkt-q{min-width:150px}.mkt-num{width:112px}.mkt-stpanel input[type=checkbox],.mkt-tools input[type=checkbox]{min-height:0;padding:0}.mkt-stwrap{position:relative}.mkt-stbtn,.mkt-stpanel{text-transform:none;letter-spacing:normal;font-weight:400}.mkt-stbtn{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:132px;font:inherit;font-size:13px;padding:7px 9px;border:1px solid var(--mhairs);border-radius:8px;background:var(--msurf);color:var(--mink);min-height:36px;cursor:pointer;text-align:left}.mkt-stbtn:hover{border-color:var(--macc)}.mkt-stcaret{color:var(--mfnt);font-size:10px}.mkt-stpanel{position:absolute;top:calc(100% + 4px);left:0;z-index:60;width:250px;max-width:88vw;max-height:min(60vh,360px);display:flex;flex-direction:column;overflow:hidden;background:var(--msurf);border:1px solid var(--mhairs);border-radius:10px;box-shadow:0 14px 36px rgba(16,40,60,.18)}.mkt-stpanel[hidden]{display:none}.mkt-stsearch{margin:8px 8px 6px;min-height:38px}.mkt-stactions{display:flex;gap:8px;padding:0 8px 8px;border-bottom:1px solid var(--mhair)}.mkt-stactions button{flex:1;font:inherit;font-size:12.5px;padding:8px;min-height:40px;border:1px solid var(--mhairs);border-radius:8px;background:var(--msurf2);color:var(--mmut);cursor:pointer}.mkt-stactions button:hover{border-color:var(--macc);color:var(--macc)}.mkt-stlist{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:4px;flex:1}.mkt-stback{display:none}html.mkt-lock{overflow:hidden}.mkt-stopt{display:flex;align-items:center;gap:9px;padding:0 10px;min-height:44px;cursor:pointer;border-radius:7px;font-size:14px;color:var(--mink)}.mkt-stopt:hover{background:var(--maccs)}.mkt-stopt input{width:17px;height:17px;min-height:0;accent-color:var(--macc);flex:none}.mkt-stopt span:first-of-type{flex:1}.mkt-stcode{color:var(--mfnt);font-size:11px;font-variant-numeric:tabular-nums}.mkt-stfoot{padding:8px;border-top:1px solid var(--mhair)}.mkt-stdone{width:100%;min-height:44px;font:inherit;font-size:13px;font-weight:600;border:none;border-radius:8px;background:var(--macc);color:#fff;cursor:pointer}.mkt-stdone:hover{background:#2450b8}.mkt-btn{font:inherit;font-size:12.5px;padding:8px 12px;border:1px solid var(--mhairs);border-radius:8px;background:var(--msurf);color:var(--mmut);cursor:pointer;min-height:36px}.mkt-btn:hover{border-color:var(--macc);color:var(--macc)}.mkt-reset{font:inherit;font-size:12.5px;padding:8px 12px;border:1px solid var(--mF);border-radius:8px;background:var(--mFb);color:var(--mF);cursor:pointer;display:none;min-height:36px}.mkt-count{margin-left:auto;font-size:12.5px;color:var(--mfnt);font-variant-numeric:tabular-nums;align-self:center}.mkt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 0}.mkt-chip{font:inherit;font-size:12px;padding:4px 9px;border:1px solid var(--mhairs);border-radius:999px;background:var(--maccs);color:var(--macc);cursor:pointer}.mkt-adv,.mkt-cols,.mkt-assume{display:flex;flex-wrap:wrap;gap:9px 12px;padding:14px;margin-top:10px;background:var(--msurf2);border:1px solid var(--mhair);border-radius:12px}.mkt-note{flex-basis:100%;margin:0 0 4px;font-size:12.5px;color:var(--mmut);line-height:1.5}.mkt-chk{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--mmut);cursor:pointer}.mkt-chk input{min-height:0;width:15px;height:15px;accent-color:var(--macc)}.mkt-scroll{overflow-x:auto;margin-top:12px;border:1px solid var(--mhair);border-radius:12px;background:var(--msurf)}.mkt-tbl{border-collapse:separate;border-spacing:0;width:100%;font-size:12.5px;font-variant-numeric:tabular-nums;white-space:nowrap}.mkt-thead th{position:sticky;top:0;background:var(--msurf2);color:var(--mmut);font-weight:650;font-size:10px;letter-spacing:.03em;text-transform:uppercase;text-align:right;padding:10px 11px;border-bottom:1px solid var(--mhairs);cursor:pointer}.mkt-thead th:first-child,.mkt-thead th:nth-child(2){text-align:left}.mkt-thead th.mkt-on{color:var(--macc)}.mkt-thead th:focus-visible{outline:2px solid var(--macc);outline-offset:-2px}.mkt-ar{font-size:9px;margin-left:2px}.mkt-tbody td{padding:8px 11px;text-align:right;border-bottom:1px solid var(--mhair)}.mkt-tbody td:first-child,.mkt-tbody td.mkt-city{text-align:left}.mkt-tbody tr:hover td{background:var(--maccs)}.mkt-tbody tr.mkt-sel td{background:var(--maccs)}.mkt-fix{position:sticky;left:0;background:var(--msurf);z-index:2}th.mkt-fix{z-index:3}.mkt-tbody td:nth-child(2){position:sticky;left:46px;background:var(--msurf);z-index:1}.mkt-thead th:nth-child(2){left:46px;z-index:3}.mkt-tbody tr:hover .mkt-fix,.mkt-tbody tr:hover td:nth-child(2),.mkt-tbody tr.mkt-sel .mkt-fix,.mkt-tbody tr.mkt-sel td:nth-child(2){background:var(--maccs)}.mkt-city{font-weight:600;color:var(--mink)}.mkt-st{color:var(--mfnt);font-weight:400}.mkt-na{color:var(--mfnt)}.pos{color:var(--mhi)}.neg{color:var(--mlo)}.mkt-cmpwrap{display:flex;align-items:center;gap:7px}.mkt-cmpwrap input{width:15px;height:15px;min-height:0;accent-color:var(--macc)}.mkt-grade{display:inline-block;min-width:22px;text-align:center;font-weight:700;font-size:11px;padding:2px 6px;border-radius:5px}.gA{color:var(--mA);background:var(--mAb)}.gB{color:var(--mB);background:var(--mBb)}.gC{color:var(--mC);background:var(--mCb)}.gD{color:var(--mD);background:var(--mDb)}.gF{color:var(--mF);background:var(--mFb)}.mkt-cmptray{margin-top:14px;border:1px solid var(--mhair);border-radius:12px;background:var(--msurf);padding:12px}.mkt-cmphd{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.mkt-cmpscroll{overflow-x:auto}.mkt-cmptbl{border-collapse:collapse;font-size:12.5px;min-width:100%}.mkt-cmptbl th,.mkt-cmptbl td{padding:7px 12px;border-bottom:1px solid var(--mhair);text-align:right;white-space:nowrap}.mkt-cmptbl th:first-child,.mkt-cmptbl td:first-child{text-align:left;color:var(--mmut);position:sticky;left:0;background:var(--msurf)}.mkt-best{font-weight:700;color:var(--mhi)}.mkt-x{border:none;background:none;color:var(--mfnt);cursor:pointer;font-size:12px}.mkt-empty{padding:26px;text-align:center;color:var(--mmut)}.mkt-msg{margin:9px 0 0;padding:8px 12px;background:var(--mFb);color:var(--mF);border:1px solid var(--mF);border-radius:8px;font-size:12.5px}.mkt-morebar{text-align:center;margin:12px 0 0}.mkt-more{min-width:220px}.mkt-thead th:nth-child(2),.mkt-tbody td:nth-child(2){box-shadow:6px 0 8px -6px rgba(16,40,60,.14)}@media(max-width:720px){.mkt-count{width:100%;margin:4px 0 0;text-align:right}.mkt-num{width:92px}}@media (max-width: 640px), ((pointer: coarse) and (max-height: 480px)){.mkt-stback:not([hidden]){display:block;position:fixed;inset:0;background:rgba(16,24,38,.45);z-index:59}.mkt-stpanel{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-width:none;max-height:75vh;max-height:75dvh;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom,0)}.mkt-tback:not([hidden]){display:block;position:fixed;inset:0;background:rgba(16,24,38,.45);z-index:55}.mkt-tools.open{display:flex;flex-direction:column;align-items:stretch;gap:12px;position:fixed;left:0;right:0;bottom:0;top:auto;z-index:56;max-height:80vh;max-height:80dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--msurf);border-radius:14px 14px 0 0;box-shadow:0 -14px 36px rgba(16,40,60,.18);padding:0 14px calc(8px + env(safe-area-inset-bottom,0))}.mkt-tools.open .mkt-tools-head{display:block;position:sticky;top:0;z-index:1;background:var(--msurf);padding:14px 0 6px;font-size:15px;border-bottom:1px solid var(--mhair)}.mkt-tools.open .mkt-tools-foot{display:block;position:sticky;bottom:0;background:var(--msurf);padding:8px 0 4px;border-top:1px solid var(--mhair)}.mkt-tools-done{width:100%;min-height:44px;font:inherit;font-size:14px;font-weight:600;border:none;border-radius:8px;background:var(--macc);color:#fff;cursor:pointer}.mkt-tools.open .mkt-lab{width:100%}.mkt-tools.open .mkt-num{width:100%}.mkt-tools.open .mkt-btn{width:100%;min-height:44px;font-size:14px}.mkt-tools.open .mkt-adv,.mkt-tools.open .mkt-cols,.mkt-tools.open .mkt-assume{margin-top:0}}@media(max-width:640px){.mkt-ui select,.mkt-ui input:not([type=checkbox]):not([type=radio]),.mkt-stpanel input:not([type=checkbox]),.mkt-tools select,.mkt-tools input:not([type=checkbox]){font-size:16px}.mkt-bar{padding:8px 0 6px;gap:6px 8px}.mkt-qwrap{flex:1 1 160px}.mkt-q{width:100%;min-width:0}.mkt-tools-t{display:inline-flex;align-items:center;gap:2px;min-height:44px;font-size:14px;padding:8px 14px}.mkt-sortlab{flex:1 1 100%}.mkt-sort{width:100%}.mkt-ac{left:0;right:0;min-width:0;max-width:none}.mkt-tools{display:none}.mkt-scroll{margin-left:-16px;margin-right:-16px;border-left:none;border-right:none;border-radius:0}.mkt-tbl{font-size:12px}.mkt-thead th{padding:8px 8px;font-size:9.5px}.mkt-tbody td{padding:7px 8px}.mkt-tbody td:nth-child(2),.mkt-thead th:nth-child(2){left:42px}.mkt-more{width:100%}}@media(max-width:640px){.mkt-count{flex:1 1 100%;margin:0;text-align:right;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media (pointer: coarse) and (max-height: 480px){.mkt-stickwrap{position:static}}
/* ---- column reorder (assets/table-reorder.js): drag or Alt+Arrows on a data-column header ---- */
.mkt-scroll{position:relative}
.mkt-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mkt-thead th.mkt-reorderable{cursor:grab}
.mkt-grip{display:inline-block;margin-right:4px;color:var(--mmut);opacity:.5;font-size:11px;line-height:1;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}
.mkt-thead th.mkt-reorderable:hover .mkt-grip,.mkt-thead th.mkt-reorderable:focus-visible .mkt-grip{opacity:1;color:var(--macc)}
.mkt-thead th.mkt-th-drag{opacity:.4}
html.mkt-reordering,html.mkt-reordering .mkt-thead th{cursor:grabbing}
html.mkt-reordering *{-webkit-user-select:none;user-select:none}
.mkt-drag-ghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-140%);background:var(--macc);color:#fff;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:5px 9px;border-radius:6px;box-shadow:0 6px 16px rgba(16,40,60,.28);white-space:nowrap}
.mkt-drop-ind{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--macc);pointer-events:none;z-index:5;box-shadow:0 0 0 1px rgba(37,99,235,.35)}
@media (prefers-reduced-motion: reduce){.mkt-drag-ghost{transition:none}}
