/* ThetaWire Media Discovery header search — v1.9.90
   One-row layout only: brand left, search centered, controls right. */
.media-discovery-workspace-head{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}

.media-discovery-search--header{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  width:360px;
  max-width:360px;
  margin:0;
  z-index:2;
}
.media-discovery-search-field{display:block;min-width:0}
.media-discovery-search--header input{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:36px;
  padding:7px 10px;
  border:1px solid rgba(120,135,150,.35);
  border-radius:8px;
  background:var(--public-surface,#fff);
  color:inherit;
  font:inherit;
  outline:none;
}
.media-discovery-search--header input:focus{
  border-color:#1774d2;
  box-shadow:0 0 0 3px rgba(23,116,210,.12);
}
.media-discovery-search--header button{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  min-height:36px;
  padding:6px 10px;
  border:1px solid #1774d2;
  border-radius:8px;
  background:#1774d2;
  color:#fff;
  font-weight:800;
  line-height:1;
  margin:0;
  vertical-align:middle;
  position:relative;
  top:7px;
  cursor:pointer;
}
.media-discovery-workspace-actions{
  margin-left:auto!important;
  flex-wrap:nowrap!important;
  position:relative;
  z-index:3;
}

/* No provider/medium button row in this version. */
.media-discovery-mediums{display:none!important}

/* Preserve the original fixed workspace/card geometry. */
.media-discovery-breadcrumb{margin-top:9px!important}
.media-discovery-rail-shell{top:112px!important}

@media(max-width:900px){
  .media-discovery-search--header{width:240px;max-width:240px}
}
@media(max-width:720px){
  .media-discovery-search--header{width:190px;max-width:190px}
  .media-discovery-search--header button{padding-left:7px;padding-right:7px}
}
@media(max-width:600px){
  .media-discovery-search--header{width:170px;max-width:170px}
  .media-discovery-search--header button{font-size:0;width:36px;padding:0}
  .media-discovery-search--header button::after{content:'⌕';font-size:18px}
}
