/* Vetra 0.3.1.25b - additive Developer Hub Controller.
   Existing developer tools are preserved and only organized into isolated views. */
.devhub-controller{display:grid;gap:.85rem;min-width:0;max-width:100%}
.devhub-controller-head{margin-bottom:0}
.devhub-controller-search,.devhub-page-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;min-width:0}
.devhub-controller-search input,.devhub-page-search input{width:100%;min-width:0}
.devhub-controller-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;min-width:0}
.devhub-controller-card{display:flex;flex-direction:column;gap:.5rem;min-width:0;min-height:132px;padding:1rem;border:1px solid rgba(72,178,255,.18);border-radius:16px;background:linear-gradient(145deg,rgba(9,28,48,.86),rgba(4,14,27,.82));color:var(--text);text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease,background .16s ease}
.devhub-controller-card:hover,.devhub-controller-card:focus-visible{border-color:rgba(72,178,255,.5);background:linear-gradient(145deg,rgba(12,40,67,.92),rgba(5,19,35,.9));transform:translateY(-1px);outline:none}
.devhub-controller-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.65rem;min-width:0}
.devhub-controller-card-head strong{font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.devhub-controller-card>span:not(.devhub-controller-card-head){color:var(--muted,#9eafc2);font-size:.82rem;line-height:1.45}
.devhub-controller-card small{margin-top:auto;color:#7bd1ff;font-weight:700}
.devhub-view{display:grid;gap:1rem;min-width:0;max-width:100%;overflow-x:hidden}
.devhub-view[hidden],.devhub-controller-card[hidden]{display:none!important}
.devhub-view-nav{display:flex;align-items:flex-start;gap:1rem;padding:.8rem;border:1px solid rgba(72,178,255,.16);border-radius:14px;background:rgba(72,178,255,.045);min-width:0}
.devhub-view-nav>div{min-width:0}.devhub-view-nav h3{margin:.1rem 0 .25rem}.devhub-view-nav p{margin:.1rem 0}
.devhub-page-search{margin-top:-.2rem}.devhub-search-hint{display:block;color:var(--muted,#9eafc2);margin-top:-.25rem}
#developerHubModal .devhub-view>*{min-width:0;max-width:100%;box-sizing:border-box}
#developerHubModal .devhub-view :where(section,article,div,form,table){max-width:100%;box-sizing:border-box}
#developerHubModal .devhub-view :where(strong,span,small,p,td,th){overflow-wrap:anywhere}

@media(min-width:901px){
  #developerHubModal .developer-hub-modal{width:min(1680px,96vw)!important;max-width:1680px!important;overflow-x:hidden!important}
  #developerHubModal #developerHubContent,#developerHubModal .developer-hub{width:100%;min-width:0;max-width:100%;overflow-x:hidden!important}
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table-shell{width:100%;max-width:100%;overflow-x:hidden!important;overflow-y:auto}
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table{width:100%!important;min-width:0!important;table-layout:fixed}
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table th,
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table td{white-space:normal!important;padding:.58rem .55rem}
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table th:first-child,
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table td:first-child{position:static!important;left:auto!important;min-width:0!important;max-width:none!important;width:34%}
  #developerHubModal .devhub-view[data-devhub-view="assets"] .liquidation-table td.storage-cell{max-width:none!important;white-space:normal!important;text-overflow:clip!important}
  #developerHubModal .devhub-view[data-devhub-view="knowledge-catalog"] .intelligence-product-list article{grid-template-columns:minmax(0,1fr) minmax(90px,150px)}
}

@media(max-width:1180px){.devhub-controller-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .devhub-controller-grid{grid-template-columns:1fr}
  .devhub-controller-search,.devhub-page-search{grid-template-columns:1fr}
  .devhub-view-nav{flex-direction:column}
  .devhub-view-nav .ghost-btn{width:100%}
}

/* 0.3.1.25c - contextual return from Developer reports without changing Profile layout. */
.devhub-return-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:0 0 1rem;padding:.65rem .75rem;border:1px solid var(--border,rgba(120,170,255,.22));border-radius:12px;background:rgba(18,38,72,.22)}
