.mx-sidebar{padding-top:0!important}.mx-filter-section{border-bottom:0}.mx-filter-head{display:flex;align-items:center;gap:10px;width:100%;min-height:35px;padding:9px 10px;box-sizing:border-box;border:0;border-radius:5px;background:#fff;color:#181818;text-align:left;font-size:13px;font-weight:400;line-height:16px;cursor:pointer}.mx-filter-head:hover{background:#fafafa}.mx-filter-icon{width:16px;height:16px;color:currentColor;font-size:13px;line-height:16px;text-align:center}.mx-filter-head>span:nth-child(2){flex:1}.mx-chevron{color:currentColor;font-size:13px}.mx-filter-body{padding:0 0 12px 28px}.mx-filter-section:not(.is-open) .mx-filter-body{display:none}.mx-check-list{display:grid;gap:8px;margin-top:10px}.mx-check{display:flex;align-items:center;gap:9px;min-height:20px;color:#333;font-size:13px}.mx-check input{width:15px;height:15px;margin:0;accent-color:#f5b800}.mx-check em{margin-left:auto;color:#9aa1ad;font-size:12px;font-style:normal}.mx-check.is-disabled{color:#a9afb8}.mx-show-more{border:0;background:none;padding:9px 0 2px;color:#737373;font-size:12px;cursor:pointer}.mx-clear{border:0;background:none;padding:18px 0;color:#b17a00;font-size:14px;cursor:pointer}
html.models-catalog-route #root{display:none!important}
html.models-catalog-route body{background:#fafafa}
html.models-catalog-route body>nav.nav a.nav-link[href="/models"]{color:#181818;font-weight:700}

/* Models V2 explorer */
#models-root{min-height:calc(100vh - 65px);background:#fff;color:#181818}
#models-root .mc-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;max-width:none;margin:0;padding:0 0 72px}
#models-root .mc-sidebar.mx-sidebar{box-sizing:border-box;position:sticky;top:65px;align-self:start;width:250px;min-width:250px;max-width:250px;height:auto;max-height:none;overflow:visible;border-right:1px solid #e5e7eb;padding:24px 18px 40px 26px!important}
#models-root .mc-content{min-width:0;padding:32px 0 0 30px}
#models-root .mc-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;padding:0 0 8px}
#models-root .mc-header h1{font-size:28px;line-height:1.15;margin:0;font-weight:700}
.mx-header-actions{display:flex;gap:8px}.mx-ghost{border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:9px 14px;color:#181818;text-decoration:none;font-size:14px}.mx-ghost:disabled{opacity:.55}.mx-compare{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:40px;padding:0 17px;font-size:14px;font-weight:500;white-space:nowrap}.mx-compare-icon{display:inline-flex;width:17px;height:17px;flex:0 0 17px}.mx-compare-icon svg{display:block;width:100%;height:100%}.mx-compare:hover:not(:disabled){border-color:#d0d5dd;background:#f8fafc}
#models-root .mc-sub{display:block;margin:4px 0 0;color:#737373;font-size:14px}#models-root .mc-count{display:block;margin-left:auto;margin-right:16px;color:#737373;font-size:13px}
#models-root .mc-toolbar{display:flex;gap:8px;align-items:center;margin:0 0 14px;padding:0;border:0;background:transparent}
#models-root .mc-search,#models-root .mc-toolbar-select,#models-root .mc-sort{height:40px;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#181818;font:14px/20px Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
#models-root .mc-search-wrap{position:relative;display:flex;flex:1;min-width:180px}
#models-root .mc-search{width:100%;min-width:0;padding:0 12px 0 42px}
#models-root .mc-search-icon{position:absolute;z-index:1;left:14px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:#98a2b3;pointer-events:none}
#models-root .mc-search-icon svg{display:block;width:100%;height:100%}
#models-root .mc-toolbar-select,#models-root .mc-sort{padding:0 32px 0 12px;appearance:auto;background-color:#fff}
#models-root .mc-provider-select{flex:0 0 auto;width:auto;min-width:140px}
#models-root .mc-capability-select{flex:0 0 auto;width:auto;min-width:168px}
#models-root .mc-sort{flex:0 0 128px;width:128px;min-width:128px}
#models-root .mc-views{display:flex;flex:0 0 164px;box-sizing:border-box;height:40px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff}.mc-view{flex:1;height:38px;padding:0 13px;border:0;background:#fff;color:#555;font-size:13px}.mc-view.is-active{background:#fff8df;color:#a56d00;font-weight:600}
#models-root .mc-category-tabs{display:flex;gap:20px;align-items:center;border-bottom:1px solid #e5e7eb;margin-bottom:18px;overflow:auto}.mc-cat-tab{border:0;background:none;padding:12px 2px 10px;color:#555;white-space:nowrap;font-size:14px}.mc-cat-tab--active{color:#b27600;border-bottom:2px solid #f5b800}.mc-cat-tab--disabled{opacity:.5}
.mx-list{display:grid;gap:10px}.mx-row{border:1px solid #e5e7eb;border-radius:9px;padding:16px 20px;background:#fff;cursor:pointer}.mx-row:hover{background:#fffdf5}.mx-row-top{display:flex;align-items:center;gap:10px}.mx-name-wrap{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.mx-provider-mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #d1d5db;border-radius:5px;color:#555;font-size:12px;font-weight:700}.mx-name{border:0;background:none;padding:0;font-size:17px;font-weight:650;color:#181818;text-align:left;cursor:pointer}.mx-context{font-size:13px;color:#737373}.mx-pin{border:0;background:none;color:#9ca3af;font-size:20px;cursor:pointer}.mx-pin.is-pinned{color:#c38a00}.mx-desc{margin:10px 0 12px;color:#555;font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mx-meta{display:flex;gap:12px;flex-wrap:wrap;color:#737373;font-size:12px}.mx-meta span+span{border-left:1px solid #d1d5db;padding-left:12px}
#models-root .mc-layout--loading{min-height:calc(100vh - 65px)}
#models-root .mc-layout--loading .mc-category-tabs{pointer-events:none}
.mx-row--skeleton{min-height:94px;cursor:default}.mx-row--skeleton:hover{background:#fff}.mx-skeleton{display:block;border-radius:4px;background:linear-gradient(90deg,#f1f3f5 20%,#fafafa 38%,#f1f3f5 58%);background-size:200% 100%;animation:mx-skeleton-shimmer 1.25s ease-in-out infinite}.mx-skeleton--icon{width:24px;height:24px;flex:0 0 24px;border-radius:5px}.mx-skeleton--name{width:178px;height:17px}.mx-skeleton--context{width:76px;height:13px;margin-left:auto}.mx-skeleton--description{width:58%;height:14px;margin:14px 0 12px}.mx-skeleton--meta{width:42%;height:12px}.mx-skeleton--count{width:174px;height:13px;margin-left:auto;margin-right:16px}@keyframes mx-skeleton-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.mx-skeleton{animation:none}}
#models-root .mc-howto{display:none}
@media(max-width:900px){#models-root .mc-layout{grid-template-columns:1fr;padding:20px 16px 48px}#models-root .mc-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e5e7eb;padding:0 0 12px;margin-bottom:16px}#models-root .mc-content{padding-left:0}.mx-header-actions{display:none}#models-root .mc-toolbar{flex-wrap:wrap}.mc-search{flex-basis:100%}#models-root .mc-sort{flex:1}.mx-row{padding:14px}.mx-row-top{align-items:flex-start}.mx-context{margin-left:auto}.mx-meta{gap:7px}.mx-meta span+span{padding-left:7px}}

/* ====== Base ====== */
#models-root{color:#181818;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}

/* Layout */
.mc-layout{box-sizing:border-box;display:grid;grid-template-columns:232px minmax(0,1fr);gap:48px;max-width:1560px;margin:0 auto;padding:96px 32px 88px}
.mc-content{min-width:0}

/* Sidebar */
.mc-sidebar{align-self:start;position:sticky;top:76px;font-size:13px;border-top:1px solid #eaeaea}
.mc-filter-group{border-top:1px solid #eaeaea}
.mc-filter-group h3{display:flex;align-items:center;justify-content:space-between;margin:0;padding:12px 0;color:#242424;font-size:13px;font-weight:600;letter-spacing:-.005em;cursor:pointer;user-select:none}
.mc-filter-group h3 .mc-filter-chevron{color:#9a9a9a;font-size:13px;font-weight:400;transition:transform .15s}
.mc-filter-group--collapsed .mc-filter-body{display:none}
.mc-filter-group--collapsed h3 .mc-filter-chevron{transform:rotate(90deg)}
.mc-filter-body{padding:0 0 12px}
.mc-provider-search,.mc-search,.mc-sort{box-sizing:border-box;border:1px solid #e5e5e5;border-radius:7px;background:#fff;color:#181818;font:inherit;outline:none}
.mc-provider-search{width:100%;height:32px;padding:0 10px;font-size:12px}
.mc-provider-list{display:grid;gap:2px;max-height:180px;margin-top:8px;overflow:auto}
.mc-provider-option,.mc-filter-option{display:flex;align-items:center;gap:8px;min-height:26px;color:#555;cursor:pointer}
.mc-provider-option input,.mc-filter-option input{width:14px;height:14px;margin:0;accent-color:#f5b800}
.mc-provider-option strong{margin-left:auto;color:#9a9a9a;font-size:11px}
.mc-clear{width:100%;margin-top:14px;padding:9px 0;border:0;background:transparent;color:#8a6200;font:inherit;text-align:left;font-weight:500;cursor:pointer}

/* Hero */
.mc-header{padding-bottom:20px}
.mc-header h1{margin:0;font-size:clamp(36px,3.5vw,52px);font-weight:700;line-height:1.05;letter-spacing:-.04em;color:#181818}
.mc-sub{margin:8px 0 0;color:#555;font-size:14px}
.mc-count{margin:6px 0 0;color:#737373;font-size:13px}
.mc-muted{color:#737373}

/* Toolbar */
.mc-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.mc-search{flex:1;min-width:0;height:42px;padding:0 13px;font-size:14px}
.mc-sort{height:42px;padding:0 31px 0 11px}
.mc-views{display:inline-flex;gap:2px;padding:3px;border:1px solid #e5e5e5;border-radius:8px;background:#fff}
.mc-view{height:32px;padding:0 11px;border:0;border-radius:5px;background:transparent;color:#737373;cursor:pointer;font:inherit;font-size:12px}
.mc-view.is-active{background:#fff3ca;color:#6f4d00;font-weight:600}

/* Category tabs (replaces provider tabs) */
.mc-category-tabs{display:flex;gap:6px;padding:0 0 16px;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
.mc-category-tabs::-webkit-scrollbar{display:none}
.mc-cat-tab{flex:0 0 auto;height:32px;padding:0 13px;border:1px solid #e5e5e5;border-radius:16px;background:#fff;color:#555;font:inherit;font-size:12px;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.mc-cat-tab:hover:not(:disabled){border-color:#d0b86a;color:#765300}
.mc-cat-tab--active{border-color:#efd477;background:#fff8e5;color:#765300;font-weight:600}
.mc-cat-tab--disabled{color:#bbb;cursor:not-allowed;background:#fafafa}
.mc-cat-tab--disabled:hover{border-color:#e5e5e5;color:#bbb}

/* HowTo — compact */
.mc-howto{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.2fr);gap:20px;margin:0 0 20px;padding:18px 20px;border:1px solid #eaeaea;border-radius:9px;background:#fff}
.mc-howto h2{margin:0;font-size:17px;font-weight:600}
.mc-howto>.mc-muted{margin:4px 0 0;font-size:13px}
.mc-howto-left{min-width:0}
.mc-steps{display:grid;gap:8px;padding:0;margin:14px 0 0;list-style:none}
.mc-steps li{display:flex;gap:10px}
.mc-steps b{display:grid;place-items:center;flex:0 0 20px;height:20px;border-radius:50%;background:#fff3ca;color:#8a6200;font-size:11px;font-weight:600}
.mc-steps h3{margin:0 0 1px;font-size:12px;font-weight:600}
.mc-steps p{margin:0;color:#737373;font-size:11px;line-height:1.4}
.mc-code{min-width:0;padding:10px;border:1px solid #eaeaea;border-radius:8px;background:#fcfcfc;align-self:center}
.mc-code__head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#555;font-family:ui-monospace,Consolas,monospace;font-size:11px}
.mc-code pre{margin:10px 0 8px;overflow:auto;color:#2b2b2b;font:11px/1.6 ui-monospace,Consolas,monospace}
.mc-code a{color:#8a6200;font-size:11px;font-weight:600;text-decoration:none}
.mc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 11px;border-radius:6px;font:inherit;font-size:11px;cursor:pointer;text-decoration:none}
.mc-btn--primary{border:1px solid #e6a900;background:#f5b800;color:#181818;font-weight:700}
.mc-btn--secondary{border:1px solid #e5e5e5;background:#fff;color:#333}
.mc-btn--small{min-height:26px;padding:0 9px;font-size:11px}
.mc-code .mc-btn{min-height:24px}

/* Cards */
.mc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mc-card{display:flex;flex-direction:column;min-height:200px;box-sizing:border-box;padding:16px;border:1px solid #eaeaea;border-radius:9px;background:#fff}
.mc-card__top{display:flex;gap:10px;align-items:flex-start}
.mc-provider-mark{display:grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border:1px solid #e8e8e8;border-radius:8px;color:#6d5719;background:#fff9e8;font-size:13px;font-weight:800}
.mc-card__title-wrap{min-width:0}
.mc-card h3{margin:0;font-size:15px;line-height:1.25;font-weight:600}
.mc-card__prov{margin:2px 0 0;color:#9a9a9a;font-size:11px}
.mc-id{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.mc-id code,.mc-table code{overflow:hidden;color:#555;font:11px ui-monospace,Consolas,monospace;text-overflow:ellipsis;white-space:nowrap}
.mc-copy{border:0;background:transparent;color:#8a6200;font:inherit;font-size:11px;cursor:pointer;padding:0 2px}
.mc-desc{margin:8px 0;color:#555;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.mc-metrics{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:8px;padding-top:10px;margin-top:auto;border-top:1px solid #f0f0f0}
.mc-metrics>div{min-width:0}
.mc-metrics dt{color:#939393;font-size:10px;margin:0 0 2px}
.mc-metrics dd{margin:0;color:#252525;font-size:12px;font-weight:600}
.mc-metrics>div:last-child{display:flex;align-items:flex-end}
.mc-metrics>div:last-child dt{display:none}
.mc-metrics>div:last-child dd{margin:0}
.mc-view-btn{border:1px solid #efd477;background:#fff8e5;color:#765300;font:inherit;font-size:11px;font-weight:600;padding:4px 10px;border-radius:6px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.mc-view-btn:hover{background:#fff3ca}

/* Table */
.mc-table-wrap{overflow-x:auto;border:1px solid #eaeaea;border-radius:9px;background:#fff}
.mc-table{width:100%;min-width:780px;border-collapse:collapse;font-size:12px}
.mc-table th{height:40px;padding:0 12px;border-bottom:1px solid #eaeaea;color:#898989;font-size:10px;letter-spacing:.06em;text-align:left;font-weight:500;background:#fafafa}
.mc-table td{height:46px;padding:0 12px;border-bottom:1px solid #f0f0f0;color:#444}
.mc-table tr:last-child td{border-bottom:0}
.mc-link{border:0;background:transparent;color:#8a6200;font:inherit;font-size:12px;font-weight:600;cursor:pointer;padding:0}

/* States */
.mc-empty,.mc-error,.mc-loading{display:grid;place-items:center;min-height:240px;padding:24px;border:1px solid #eaeaea;border-radius:9px;background:#fff;text-align:center}
.mc-empty h2,.mc-error h1{margin:0 0 8px;font-size:20px}

/* Modal */
.mc-modal-backdrop{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(20,20,20,.26)}
.mc-modal{position:relative;width:min(440px,100%);box-sizing:border-box;padding:24px;border-radius:10px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.13)}
.mc-modal h2{margin:0;font-size:20px;font-weight:600}
.mc-modal>.mc-muted{margin:4px 0 20px}
.mc-modal__close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#666;font-size:22px;cursor:pointer}
.mc-detail{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;margin:0 0 20px}
.mc-detail dt{color:#888;font-size:11px}
.mc-detail dd{margin:0;color:#333;font-size:13px;font-weight:600}

/* ====== @media(max-width:1100px) ====== */
@media(max-width:1100px){
  .mc-layout{grid-template-columns:190px minmax(0,1fr);gap:32px;padding-inline:24px}
  .mc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mc-howto{grid-template-columns:1fr}
}

/* ====== @media(max-width:767px) — mobile, no overflow masking ====== */
@media(max-width:767px){
  #models-root .mc-layout{display:block;padding:76px 16px 56px;width:100%;max-width:100%;box-sizing:border-box}
  #models-root .mc-content{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
  #models-root .mc-content *{min-width:0}

  /* Sidebar accordion — each group independently */
  #models-root .mc-sidebar{position:static;margin:0 0 20px;border:1px solid #eaeaea;border-radius:8px;background:#fff}
  #models-root .mc-filter-group{border-top:1px solid #f0f0f0;padding:0 14px}
  #models-root .mc-filter-group:first-child{border-top:0}
  #models-root .mc-filter-group h3{padding:11px 0}

  /* Header compact */
  #models-root .mc-header{padding-bottom:16px}
  #models-root .mc-header h1{font-size:32px}

  /* Toolbar wrap clean */
  #models-root .mc-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0;border:0;border-image:none;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-bottom:12px}
  #models-root .mc-toolbar .mc-search-wrap{flex:0 0 100%;width:100%;min-width:0;box-sizing:border-box}
  #models-root .mc-toolbar .mc-sort{flex:0 0 auto;width:154px;min-width:0;box-sizing:border-box}
  #models-root .mc-toolbar .mc-views{margin-left:0;flex:0 0 auto;min-width:0;overflow:hidden}

  /* Category tabs local scroll */
  #models-root .mc-category-tabs{width:100%;max-width:calc(100vw - 32px);min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:12px}
  #models-root .mc-category-tabs *{min-width:0}

  /* Howto */
  #models-root .mc-howto{display:grid;grid-template-columns:1fr;gap:14px;padding:14px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-bottom:16px}
  #models-root .mc-howto .mc-code{min-width:0;max-width:100%;overflow-x:auto}
  #models-root .mc-howto .mc-steps{min-width:0;max-width:100%}
  #models-root .mc-howto .mc-steps *{min-width:0}

  /* Cards 1 column */
  #models-root .mc-grid{grid-template-columns:1fr;min-width:0;gap:14px}
  #models-root .mc-card{min-height:0}
  #models-root .mc-metrics{grid-template-columns:repeat(3,1fr)}

  /* Modal */
  #models-root .mc-modal{padding:20px}
}

/* Models toolbar controls: compact independent fields, no enclosing panel. */
#models-root .mc-toolbar .mc-views{gap:2px;padding:2px}
#models-root .mc-toolbar .mc-view{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:34px;padding:0 10px;border-radius:6px;background:#fff;color:#475467;font-size:13px;font-weight:500;cursor:pointer}
#models-root .mc-toolbar .mc-view:hover:not(.is-active){background:#f8fafc}
#models-root .mc-toolbar .mc-view.is-active{background:#fff6d9;color:#8a5a00;font-weight:600;box-shadow:inset 0 0 0 1px rgba(226,171,16,.45)}
#models-root .mc-toolbar .mc-view-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px}
#models-root .mc-toolbar .mc-view-icon svg{display:block;width:100%;height:100%}
@media(max-width:900px){
  #models-root .mc-toolbar .mc-search-wrap{flex:0 0 100%;width:100%}
  #models-root .mc-toolbar .mc-provider-select{flex:1 1 140px;width:auto}
  #models-root .mc-toolbar .mc-capability-select{flex:1 1 156px;width:auto}
  #models-root .mc-toolbar .mc-sort{flex:1 1 128px;width:auto;min-width:128px}
}

/* Modality tabs: flat navigation with real catalog counts. */
#models-root .mc-category-tabs{display:flex;align-items:stretch;gap:26px;height:44px;padding:0;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #e5e7eb;margin:0 0 18px}
#models-root .mc-category-tabs::-webkit-scrollbar{display:none}
#models-root .mc-cat-tab{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;position:relative;height:44px;padding:0 0 2px;border:0;border-radius:0;background:transparent;color:#667085;font:500 14px/20px Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
#models-root .mc-cat-tab:hover{color:#344054}
#models-root .mc-cat-tab--active{color:#9a6500;font-weight:600}
#models-root .mc-cat-tab--active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#f5b800;border-radius:3px 3px 0 0}
#models-root .mc-cat-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px}
#models-root .mc-cat-icon svg{display:block;width:100%;height:100%}
#models-root .mc-cat-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;box-sizing:border-box;padding:0 6px;border-radius:6px;background:#f2f4f7;color:#667085;font-size:11px;font-weight:600}
#models-root .mc-cat-tab--active .mc-cat-count{background:#fff1bd;color:#8a5a00}

/* Dense model-explorer list rows: row-only scope. */
#models-root .mx-list{gap:9px}
#models-root .mx-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;min-height:112px;box-sizing:border-box;padding:12px 16px;border-color:#e5e7eb;border-radius:9px;box-shadow:none}
#models-root .mx-row:hover{background:#fffdf7;border-color:#e4e1d8}
#models-root .mx-provider-logo{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:1px solid #edf0f2;border-radius:8px;background:#fff;overflow:hidden;color:#475467;font-size:16px;font-weight:700;line-height:1;align-self:start}
#models-root .mx-provider-logo img{width:100%;height:100%;display:block;object-fit:contain;padding:7px;box-sizing:border-box}
#models-root .mx-provider-logo--fallback{background:#f8fafc}
#models-root .mx-row-body{min-width:0;display:flex;flex-direction:column}
#models-root .mx-row-top{min-height:38px;gap:12px;align-items:start}
#models-root .mx-identity{min-width:0;flex:1}
#models-root .mx-name-line{display:flex;align-items:center;gap:9px;min-width:0;min-height:21px}
#models-root .mx-name{font-size:17px;line-height:21px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#models-root .mx-provider{margin:2px 0 0;color:#7a8494;font-size:12px;line-height:16px}
#models-root .mx-badges{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
#models-root .mx-badge{height:22px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;background:#f4f6f8;color:#667085;font-size:11px;font-weight:600;line-height:22px;white-space:nowrap}
#models-root .mx-badge--text{background:#eff6ff;color:#2970c6}
#models-root .mx-badge--image{background:#ecfdf3;color:#16806a}
#models-root .mx-badge--video{background:#eef2ff;color:#5965c9}
#models-root .mx-badge--audio{background:#ecfdf6;color:#18765a}
#models-root .mx-badge--tool-calling{background:#f3f0ff;color:#6d5bc5}
#models-root .mx-badge--structured-output{background:#f2f4f7;color:#667085}
#models-root .mx-badge--embeddings{background:#eef4ff;color:#4a68b6}
#models-root .mx-badge--rerank{background:#fdf2fa;color:#b3477f}
#models-root .mx-badge--status-live{background:#ecfdf3;color:#16803f}
#models-root .mx-badge--status-preview{background:#f3f4f6;color:#667085}
#models-root .mx-badge-icon{display:inline-flex;width:13px;height:13px;flex:0 0 13px;margin-right:5px}
#models-root .mx-badge-icon svg{display:block;width:100%;height:100%}
#models-root .mx-row-actions{display:flex;flex:0 0 224px;flex-direction:column;align-items:flex-end;gap:8px;padding-top:1px}
#models-root .mx-row-action-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:20px}
#models-root .mx-row-buttons{display:flex;align-items:center;gap:12px}
#models-root .mx-row-copy,#models-root .mx-row-view{height:40px;box-sizing:border-box;border-radius:8px;font-size:14px;line-height:20px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
#models-root .mx-row-copy{width:88px;border:1px solid #e5e7eb;background:#fff;color:#344054;font-weight:500}
#models-root .mx-row-copy:hover{background:#f9fafb;border-color:#d0d5dd}
#models-root .mx-row-view{width:108px;border:1px solid #f4d57e;background:#fff7df;color:#775300;font-weight:600;gap:8px}
#models-root .mx-row-view:hover{background:#fff1bd;border-color:#e8bd49}
#models-root .mx-row-view-arrow{font-size:17px;line-height:16px}
#models-root .mx-context{font-size:12px;line-height:20px;color:#667085;white-space:nowrap}
#models-root .mx-pin{width:20px;height:20px;padding:0;line-height:20px;font-size:18px}
#models-root .mx-desc{margin:3px 0 7px;color:#596579;font-size:13px;line-height:19px;-webkit-line-clamp:2}
#models-root .mx-meta{min-height:18px;gap:0;color:#7a8494;font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden}
#models-root .mx-meta span{overflow:hidden;text-overflow:ellipsis}
#models-root .mx-meta span+span{margin-left:11px;padding-left:11px;border-left-color:#e5e7eb}
#models-root .mx-meta .mx-meta-byok{color:#16a34a}
@media(max-width:700px){#models-root .mx-row{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px}#models-root .mx-provider-logo{width:40px;height:40px}#models-root .mx-row-top{flex-wrap:wrap}#models-root .mx-row-actions{flex:1 0 100%;width:100%;align-items:flex-end;padding-top:5px}#models-root .mx-name{font-size:16px}#models-root .mx-name-line{align-items:flex-start;flex-wrap:wrap}#models-root .mx-meta{white-space:normal;flex-wrap:wrap}#models-root .mx-meta span+span{margin-left:8px;padding-left:8px}}

/* ==== MODELS SIDEBAR VISUAL V1 (msb1-20261009) ==== */
#models-root .mx-filter-head{gap:14px;min-height:54px;padding:9px 6px 9px 10px;font-size:16px;font-weight:500;line-height:20px}
#models-root .mx-filter-head>span:nth-child(2){flex:1;min-width:0;white-space:normal;overflow-wrap:break-word}
#models-root .mx-filter-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:0}
#models-root .mx-filter-icon svg{width:20px;height:20px;display:block}
#models-root .mx-chevron{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;transition:transform .15s ease;font-size:0}
#models-root .mx-chevron svg{width:16px;height:16px;display:block}
#models-root .mx-filter-section.is-open .mx-chevron{transform:rotate(180deg)}
#models-root .mc-sidebar.mx-sidebar{padding:24px 12px 40px 22px!important}
