/* Compact custom model picker with visible popularity ranking. */
html body.workspace-readable .app-shell>.lime-workbench .lime-inner>.design-action-row{
  position:relative!important;
  z-index:300!important;
  overflow:visible!important;
}
html body.workspace-readable .app-shell>.lime-workbench #imageModelPicker{
  position:relative!important;
  z-index:301!important;
  min-width:0!important;
  height:58px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:15px!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transform:none!important;
}
html body.workspace-readable .app-shell>.lime-workbench #imageModelPicker.hidden{display:none!important}
html body.workspace-readable .app-shell>.lime-workbench #imageModelPicker>select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0!important;pointer-events:none!important}
html body.workspace-readable .app-shell>.lime-workbench #imageModelTrigger{
  width:100%!important;height:58px!important;padding:8px 12px!important;display:flex!important;align-items:center!important;gap:8px!important;
  border:1px solid #cfdaf1!important;border-radius:15px!important;background:linear-gradient(145deg,#fff,#f7f9ff)!important;color:#142b59!important;
  box-shadow:0 8px 20px rgba(56,88,150,.10),inset 0 1px #fff!important;cursor:pointer!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
html body.workspace-readable .app-shell>.lime-workbench #imageModelTrigger:hover,
html body.workspace-readable .app-shell>.lime-workbench #imageModelTrigger:focus-visible{border-color:#6d91ee!important;box-shadow:0 0 0 4px rgba(45,105,238,.10),0 12px 24px rgba(56,88,150,.13)!important;transform:translateY(-1px)!important;outline:0!important}
html body.workspace-readable .image-model-trigger-copy{min-width:0!important;display:flex!important;flex:1!important;flex-direction:column!important;gap:3px!important;text-align:left!important}
html body.workspace-readable .image-model-trigger-copy>small{color:#8190ad!important;font-size:9px!important;font-weight:700!important;letter-spacing:.08em!important}
html body.workspace-readable .image-model-trigger-copy>b{overflow:hidden!important;color:#172d5b!important;font-size:11px!important;font-weight:800!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.workspace-readable .image-model-trigger-hot{flex:0 0 auto!important;padding:4px 6px!important;border-radius:999px!important;background:linear-gradient(135deg,#ff4d64,#ff7a3d)!important;color:#fff!important;font-size:8px!important;font-weight:800!important;box-shadow:0 4px 10px rgba(255,83,73,.22)!important;white-space:nowrap!important}
html body.workspace-readable #imageModelTrigger>svg{flex:0 0 16px!important;width:16px!important;height:16px!important;fill:none!important;stroke:#5170b3!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transition:transform .18s ease!important}
html body.workspace-readable #imageModelTrigger[aria-expanded="true"]>svg{transform:rotate(180deg)!important}
html body.workspace-readable #imageModelMenu{
  position:absolute!important;z-index:120!important;left:0!important;right:0!important;bottom:calc(100% + 7px)!important;width:100%!important;padding:5px!important;box-sizing:border-box!important;
  display:grid!important;gap:3px!important;border:1px solid #d7e0f2!important;border-radius:15px!important;background:rgba(255,255,255,.98)!important;
  max-height:min(48vh,370px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  box-shadow:0 22px 55px rgba(28,55,111,.22),inset 0 1px #fff!important;backdrop-filter:blur(18px)!important;
}
html body.workspace-readable #imageModelMenu.hidden{display:none!important}
html body.workspace-readable .image-model-option{position:relative!important;width:100%!important;min-height:38px!important;padding:4px 8px!important;display:flex!important;align-items:center!important;gap:7px!important;border:1px solid transparent!important;border-radius:10px!important;background:#f7f9fd!important;color:#23365f!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
html body.workspace-readable .image-model-option:hover:not(:disabled),html body.workspace-readable .image-model-option:focus-visible{border-color:#acc0ee!important;background:#f0f5ff!important;outline:0!important}
html body.workspace-readable .image-model-option.hot{border-color:#c8d8fb!important;background:linear-gradient(135deg,#edf4ff,#fff 70%)!important}
html body.workspace-readable .image-model-option.hot:first-child{border-color:#83a8ff!important;background:linear-gradient(135deg,#e8f1ff,#fff5f2)!important;box-shadow:0 7px 18px rgba(50,101,219,.10)!important}
html body.workspace-readable .image-model-rank{flex:0 0 22px!important;width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#e6ebf5!important;color:#50617f!important;font-size:10px!important;font-weight:900!important}
html body.workspace-readable .image-model-option.hot .image-model-rank{background:#176ff2!important;color:#fff!important}
html body.workspace-readable .image-model-option-copy{min-width:0!important;display:flex!important;flex:1!important;flex-direction:column!important;gap:1px!important}
html body.workspace-readable .image-model-option-copy>b{overflow:hidden!important;color:#102957!important;font-size:11.5px!important;font-weight:850!important;letter-spacing:.005em!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.workspace-readable .image-model-option-copy>small{color:#667792!important;font-size:9px!important;font-weight:700!important}
html body.workspace-readable .image-model-queue{flex:0 0 auto!important;min-width:30px!important;padding:3px 6px!important;border:1px solid #b9d8c9!important;border-radius:999px!important;background:#eef9f3!important;color:#258457!important;font-size:8px!important;font-weight:900!important;text-align:center!important;white-space:nowrap!important}
html body.workspace-readable .image-model-option>em{padding:3px 6px!important;border-radius:999px!important;background:linear-gradient(135deg,#ff4d64,#ff7a3d)!important;color:#fff!important;font-size:7px!important;font-style:normal!important;font-weight:900!important;white-space:nowrap!important}
html body.workspace-readable .image-model-option>i{display:none!important;color:#176ff2!important;font-size:13px!important;font-style:normal!important;font-weight:900!important}
html body.workspace-readable .image-model-option.selected>i{display:block!important}
html body.workspace-readable .image-model-option:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:760px){
  html body.workspace-readable #imageModelMenu{
    position:fixed!important;
    z-index:10000!important;
    inset:auto 12px calc(76px + env(safe-area-inset-bottom)) 12px!important;
    width:auto!important;
    max-height:min(48dvh,340px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
}
