/* R5R12R13R4R7_CRYPTO_UNIVERSE_LAYOUT_UI_REFINEMENT_V1 */
.crm-overlay[data-crm-style="r13r4r2"]{--crm-r4r7-style-ready:1}

/* Kripto Evreni: compact search/filter controls */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-toolbar{
  display:grid!important;
  grid-template-columns:minmax(300px,1.45fr) 180px 165px 190px 205px!important;
  gap:9px!important;
  padding:9px 12px!important;
  align-items:end!important;
  overflow:visible!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-toolbar>label{
  display:grid!important;gap:4px!important;min-width:0!important;margin:0!important;
  color:#8ba0b1!important;font-size:8px!important;font-weight:800!important;letter-spacing:.075em!important;text-transform:uppercase!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-toolbar input{
  height:36px!important;border-radius:9px!important;padding:0 11px!important;font-size:11px!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-search-wrap input:focus{
  border-color:#e9b54c!important;box-shadow:0 0 0 2px rgba(233,181,76,.11),0 0 15px rgba(233,181,76,.08)!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-native-select{
  position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(100%)!important;
}

/* Premium dark dropdowns: never use the native white popup */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select{position:relative!important;min-width:0!important;z-index:32!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-trigger{
  appearance:none!important;-webkit-appearance:none!important;width:100%!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;
  padding:0 11px!important;border:1px solid rgba(84,123,151,.67)!important;border-radius:9px!important;background:linear-gradient(180deg,#0a2133,#071725)!important;color:#e7eef5!important;
  font:700 10.5px/1 Inter,system-ui,sans-serif!important;cursor:pointer!important;box-shadow:inset 0 1px rgba(255,255,255,.035),0 5px 13px rgba(0,0,0,.15)!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-trigger:hover,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select.open .cu-select-trigger{
  border-color:#e9b54c!important;box-shadow:0 0 0 2px rgba(233,181,76,.09),0 7px 18px rgba(0,0,0,.22)!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-trigger span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-trigger i{font-style:normal!important;color:#e8bd57!important;font-size:12px!important;transition:transform .15s ease!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select.open .cu-select-trigger i{transform:rotate(180deg)!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-pop{
  display:none!important;position:absolute!important;top:calc(100% + 5px)!important;left:0!important;right:0!important;z-index:2147483000!important;min-width:190px!important;max-height:330px!important;
  border:1px solid rgba(230,181,77,.58)!important;border-radius:10px!important;background:linear-gradient(180deg,#0a2032,#051421)!important;box-shadow:0 18px 44px rgba(0,0,0,.65),inset 0 1px rgba(255,255,255,.055)!important;overflow:hidden!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select.open .cu-select-pop{display:block!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-search{padding:7px!important;border-bottom:1px solid rgba(75,108,132,.32)!important;background:#061827!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-search input{height:32px!important;background:#071c2c!important;border-color:rgba(80,121,149,.55)!important;color:#eaf0f5!important;font-size:10px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-list{max-height:275px!important;overflow:auto!important;padding:5px!important;scrollbar-width:thin!important;scrollbar-color:#5f563c #06131f!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-list::-webkit-scrollbar{width:7px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-list::-webkit-scrollbar-thumb{background:linear-gradient(#8a6b30,#31495b)!important;border-radius:8px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-list::-webkit-scrollbar-track{background:#06131f!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-option{
  width:100%!important;min-height:31px!important;display:flex!important;align-items:center!important;gap:7px!important;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#b9c7d2!important;text-align:left!important;font:650 10px/1.2 Inter,system-ui,sans-serif!important;cursor:pointer!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-option:hover,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-option:focus{outline:none!important;background:linear-gradient(90deg,rgba(233,181,76,.13),rgba(18,51,70,.6))!important;color:#fff!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-option.selected{background:linear-gradient(90deg,rgba(233,181,76,.18),rgba(24,58,76,.42))!important;color:#f3cb6a!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-select-option b{width:13px!important;color:#efbf52!important;font-size:9px!important;text-align:center!important}

/* compact second action row */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs{
  grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;overflow:visible!important;margin-top:1px!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs button{
  height:34px!important;padding:0 10px!important;font-size:9px!important;border-radius:8px!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs .cu-risk-only{
  margin-left:auto!important;border-color:rgba(222,174,75,.52)!important;color:#e8bf61!important;background:linear-gradient(180deg,#112d40,#081b2a)!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs .cu-risk-only.active{background:linear-gradient(180deg,#68441c,#34230f)!important;color:#ffe0a0!important;border-color:#efbd55!important}

/* one compact status row replaces the two full-width bars */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar{
  min-height:31px!important;display:flex!important;align-items:center!important;gap:0!important;margin:7px 0 8px!important;padding:0 10px!important;overflow:hidden!important;border:1px solid rgba(75,113,139,.42)!important;border-radius:8px!important;background:linear-gradient(90deg,rgba(8,29,45,.94),rgba(5,20,33,.94))!important;box-shadow:0 5px 13px rgba(0,0,0,.16)!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-progress,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta{
  min-width:0!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 10px!important;height:29px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:8.5px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-progress{flex:0 1 auto!important;border-left:0!important;color:#a9bac7!important;padding-left:0!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-progress b{color:#e8be5b!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-status-divider{width:1px!important;height:15px!important;background:rgba(91,127,150,.35)!important;flex:0 0 1px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta{flex:1 1 auto!important;color:#9fb2c0!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta b{margin:0 4px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta small{margin-left:auto!important;padding-left:12px!important;color:#718a9d!important;font-size:7.5px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta.feed-fresh:before{content:"●";color:#35e6ab;margin-right:6px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta.feed-stale:before{content:"●";color:#efbb51;margin-right:6px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta.feed-unavailable:before{content:"●";color:#e36d66;margin-right:6px!important}

/* table alignment: same specificity as the old R4R2 important rules, but later and stronger */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-table-wrap{max-height:calc(100dvh - 250px)!important;min-height:470px!important;overflow:auto!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-table{min-width:1840px!important;width:100%!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tr{
  display:grid!important;grid-template-columns:138px minmax(300px,1.55fr) 128px 126px 140px 92px 88px 88px 88px 118px 118px 104px 160px!important;align-items:center!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tr>div{min-width:0!important;box-sizing:border-box!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-head{min-height:38px!important;height:38px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-head>div{display:flex!important;align-items:center!important;white-space:nowrap!important;overflow:hidden!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-head button{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8.5px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-row{min-height:72px!important;height:auto!important;padding-top:7px!important;padding-bottom:7px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-project em{-webkit-line-clamp:1!important;max-height:1.35em!important;margin-top:3px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-ema{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-ema span{flex:0 0 auto!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-signal-badge{padding:5px 7px!important;min-width:92px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-signal-badge b{font-size:8.5px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-signal-badge small{font-size:7px!important}

/* Rejim Merkezi: text-fit/readability without globally shrinking typography */
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind{min-width:0!important;overflow:hidden!important;padding-left:9px!important;padding-right:9px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind small,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind em,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind-meaning,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind-impact{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;max-height:2.7em!important;
}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-ind strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-mid-grid{grid-template-columns:minmax(0,1.24fr) minmax(0,1.05fr) minmax(0,.78fr) minmax(0,1.02fr)!important;gap:10px!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-mid-grid>.crm-panel{height:340px!important;min-width:0!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-matrix-result{min-width:0!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-matrix-result strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-matrix-result small{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-height:2.8em!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-reason-row{grid-template-columns:21px minmax(74px,92px) minmax(0,1fr)!important;gap:6px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-reason-row b{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-reason-row span{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-height:2.7em!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-advice-row p{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;max-height:4.35em!important;margin:0!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-breadth-reading{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-height:3em!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-breadth-open{display:none!important}
.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] [data-crm-full-text]{cursor:help!important}

@media(max-width:1450px){
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-toolbar{grid-template-columns:minmax(260px,1fr) 165px 155px 180px 190px!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-mid-grid{grid-template-columns:1.15fr .98fr .82fr .98fr!important}
}
@media(max-width:1080px){
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-toolbar{grid-template-columns:1fr 1fr!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-search-wrap{grid-column:1/-1!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs{grid-column:1/-1!important;overflow:auto!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-tabs .cu-risk-only{margin-left:0!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar{align-items:stretch!important;flex-direction:column!important;height:auto!important;padding:2px 8px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-status-divider{display:none!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-progress,.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="universe"] .cu-statusbar .cu-risk-meta{height:24px!important;padding:0!important}
  .crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-mid-grid{grid-template-columns:1fr 1fr!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-mid-grid>.crm-panel{height:auto!important;min-height:285px!important}.crm-overlay[data-crm-style="r13r4r2"][data-crm-route="regime"] .crm-breadth{grid-column:1/-1!important}
}
