/* R5R12R13R4R8R3_USD_UNIVERSE_MIDAS_EXPANSION_METADATA_BADGE_LAYOUT_FIX_V1 */
:root{--crm-r4r8r3-style-ready:1}

/* Project/Sector is deliberately compact on all quote routes. */
.crm-overlay[data-crm-style="r13r4r2"] .cu-project{min-width:0!important;overflow:hidden!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-project>b,
.crm-overlay[data-crm-style="r13r4r2"] .cu-project>small,
.crm-overlay[data-crm-style="r13r4r2"] .cu-project>em{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-project>em{display:block!important;-webkit-line-clamp:1!important;-webkit-box-orient:horizontal!important;line-height:1.25!important;margin-top:3px!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-project .cu-meta-unverified{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;height:20px!important;padding:0 7px!important;border:1px solid rgba(125,145,158,.38)!important;border-radius:999px!important;background:rgba(64,80,91,.18)!important;color:#9fb0ba!important;font:800 7px/1 Inter,system-ui,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}

/* USDT: shrink project column, preserve the rest. */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-table{min-width:1880px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-table .cu-tr{grid-template-columns:132px 220px 128px 126px 140px 92px 88px 88px 88px 118px 118px 104px 160px!important}

/* TRY/USD: same compact project width, reserve room for exchange + risk controls. */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="try"] .cu-try-table,
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="usd"] .cu-usd-table{min-width:1970px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="try"] .cu-try-table .cu-tr,
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="usd"] .cu-usd-table .cu-tr{grid-template-columns:124px 220px 232px 160px 132px 146px 114px 88px 88px 88px 112px 118px 166px!important}

/* Binance status is visually a compact action pill, not plain text. */
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-cell{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge{min-height:30px!important;max-width:148px!important;padding:0 10px!important;border-width:1px!important;border-style:solid!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 5px 14px rgba(0,0,0,.18)!important;cursor:pointer!important;user-select:none!important;transition:transform .14s ease,filter .14s ease,box-shadow .14s ease!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge:hover{transform:translateY(-1px)!important;filter:brightness(1.12)!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge:focus-visible{outline:2px solid #f0c45c!important;outline-offset:2px!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-normal{border-color:rgba(31,199,125,.5)!important;background:linear-gradient(180deg,rgba(15,98,70,.38),rgba(7,49,38,.42))!important;color:#6bf2b0!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-monitoring{border-color:rgba(241,181,57,.65)!important;background:linear-gradient(180deg,rgba(110,72,11,.48),rgba(63,42,9,.42))!important;color:#ffd46a!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-delist{border-color:rgba(255,83,94,.65)!important;background:linear-gradient(180deg,rgba(114,27,34,.55),rgba(64,15,20,.5))!important;color:#ff8790!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-pair-removal{border-color:rgba(246,150,58,.6)!important;background:linear-gradient(180deg,rgba(105,57,12,.5),rgba(62,34,9,.44))!important;color:#ffb55f!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-not-listed,
.crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge.risk-unknown{border-color:rgba(121,143,157,.42)!important;background:rgba(30,47,58,.58)!important;color:#9fb0ba!important}

/* Small risk detail popover. */
.cu-risk-popover{position:fixed!important;z-index:2147483600!important;width:min(360px,calc(100vw - 24px))!important;padding:12px!important;border:1px solid rgba(230,181,77,.54)!important;border-radius:12px!important;background:linear-gradient(180deg,#0a2032,#061520)!important;box-shadow:0 22px 55px rgba(0,0,0,.64)!important;color:#d9e4ea!important}
.cu-risk-popover header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:8px!important}
.cu-risk-popover header b{font-size:11px!important;color:#f4d681!important}.cu-risk-popover header button{width:26px!important;height:26px!important;border:1px solid rgba(116,141,157,.4)!important;border-radius:7px!important;background:#071827!important;color:#b9c7d2!important;cursor:pointer!important}
.cu-risk-popover p{margin:5px 0!important;font-size:9px!important;line-height:1.45!important;color:#a9bac7!important}.cu-risk-popover a{display:inline-flex!important;margin-top:7px!important;color:#f2c75e!important;font-size:9px!important;font-weight:800!important}

/* Multi-column priority sort. */
.crm-overlay[data-crm-style="r13r4r2"] .cu-head [data-cu-sort],
.crm-overlay[data-crm-style="r13r4r2"] .cu-head [data-try-sort],
.crm-overlay[data-crm-style="r13r4r2"] .cu-head [data-usd-sort]{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;min-height:25px!important;max-width:100%!important;padding:2px 4px!important;border:0!important;background:transparent!important;color:inherit!important;cursor:pointer!important;text-align:left!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-head .cu-sort-dir{font-size:9px!important;color:#efc55f!important}.crm-overlay[data-crm-style="r13r4r2"] .cu-head .cu-sort-priority{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:16px!important;height:16px!important;padding:0 4px!important;border:1px solid rgba(235,188,80,.55)!important;border-radius:999px!important;background:rgba(118,82,17,.3)!important;color:#ffd875!important;font:900 7px/1 Inter,system-ui,sans-serif!important}
.crm-overlay[data-crm-style="r13r4r2"] .cu-sort-summary{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-height:28px!important;margin:0 0 5px!important;padding:0 3px!important;color:#8298a7!important;font-size:8px!important}.crm-overlay[data-crm-style="r13r4r2"] .cu-sort-summary button{height:26px!important;padding:0 9px!important;border:1px solid rgba(112,138,153,.38)!important;border-radius:7px!important;background:#071927!important;color:#aec0cb!important;font:800 8px/1 Inter,system-ui,sans-serif!important;cursor:pointer!important}.crm-overlay[data-crm-style="r13r4r2"] .cu-sort-summary button:hover{border-color:rgba(230,181,77,.6)!important;color:#f0cb70!important}

/* USD source note. */
.crm-overlay[data-crm-style="r13r4r2"] .cu-usd-source-note{display:inline-flex!important;align-items:center!important;height:19px!important;padding:0 6px!important;margin-top:3px!important;border:1px solid rgba(96,124,142,.35)!important;border-radius:999px!important;color:#86a2b3!important;font:800 7px/1 Inter,system-ui,sans-serif!important}

@media(max-width:760px){
 .crm-overlay[data-crm-style="r13r4r2"] .cu-risk-badge{min-height:28px!important;padding:0 8px!important;font-size:7px!important}
}
