/* TopMastoras v0.3.9: one compact, viewport-aware specialty picker */
body.tm-platform .tm-unified-picker-popover,
.tm-unified-picker-popover{position:fixed!important;z-index:2147483000!important;box-sizing:border-box;
 background:#fff;color:#10375b;border:1px solid #d6e4ef;border-radius:12px;
 box-shadow:0 16px 42px rgba(3,31,52,.27);padding:9px;overflow-y:auto;overscroll-behavior:contain;
 font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;}
.tm-unified-picker-popover[hidden]{display:none!important}
.tm-unified-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tm-unified-picker-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;
 gap:10px!important;min-width:0!important;width:100%!important;height:auto!important;min-height:57px!important;
 padding:8px 10px!important;border-radius:10px!important;border:1px solid #d5e4ee!important;
 background:#eef5fa!important;color:#10375b!important;text-transform:none!important;
 font:750 13px/1.4 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;text-align:left!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;cursor:pointer!important;box-shadow:none!important}
.tm-unified-picker-item:hover,.tm-unified-picker-item:focus-visible,.tm-unified-picker-item.is-selected{
 background:#dcecf6!important;border-color:#f47b28!important;color:#10375b!important;outline:0!important}
.tm-unified-picker-icon{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;
 color:#fff;background:#165480;border-radius:9px}
.tm-unified-picker-icon svg{display:block;width:24px;height:24px;max-width:24px;max-height:24px;stroke:currentColor}
.tm-unified-picker-label{display:block;min-width:0;line-height:1.4}
.tm-unified-selected-icon{display:grid;place-items:center;flex:none;color:#f47b28}
.tm-unified-selected-icon svg{width:23px;height:23px}
@media(max-width:680px){
 .tm-unified-picker-popover{padding:8px!important;border-radius:11px!important}
 .tm-unified-picker-grid{grid-template-columns:minmax(0,1fr);gap:6px}
 .tm-unified-picker-item{min-height:49px!important;padding:7px 9px!important;font-size:13px!important}
 .tm-unified-picker-icon{width:34px;height:34px;flex-basis:34px}
 .tm-unified-picker-icon svg{width:22px;height:22px}
}
/* Disable the old page-specific pop-up only when the Core unified widget runs. */
body.tm-platform:has(.tm-unified-picker-popover) .tm-specialty-overlay{display:none!important}
body.tm-platform:has(.tm-unified-picker-popover) .tm-core-trade-options{display:none!important}
