/* v14: share-code visibility and a stable search control across every file tab. */
.file-storage-prototype .file-storage-panel-head label{
  display:flex;
  flex:0 1 344px;
  width:min(344px,45vw);
  min-width:244px;
  min-height:38px;
  overflow:hidden;
  border:1px solid #dce8ee;
  border-radius:20px;
  background:#f5f8fa;
}
.file-storage-prototype .file-storage-panel-head label>span{flex:0 0 auto;padding-left:13px;color:#7893a7}
.file-storage-prototype .file-storage-panel-head label input{min-width:0;flex:1;padding:0 8px}
.file-storage-prototype .file-storage-panel-head label button{
  flex:0 0 58px;
  width:58px;
  min-width:58px;
  height:36px;
  padding:0 10px;
  border-left:1px solid #dce8ee;
  border-radius:0;
  color:#087f61;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
.file-storage-prototype .file-storage-panel-head label:focus-within{border-color:#69baa4;background:#fff;box-shadow:0 0 0 3px rgba(0,150,111,.10)}
.file-storage-prototype .file-storage-panel-head label button:hover{background:#eaf7f3}

.file-storage-prototype .fs-share-head,.file-storage-prototype .fs-share-row{
  grid-template-columns:44px minmax(250px,1fr) 88px minmax(138px,168px) 100px 120px 170px!important;
  min-width:1015px!important;
}
.file-storage-prototype .fs-share-code{gap:6px}
.file-storage-prototype .fs-share-code code{
  max-width:none;
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
}
.file-storage-prototype .fs-share-code code.legacy{color:#a76b12;background:#fff6df}
.file-storage-prototype .fs-share-code-reset{
  width:auto!important;
  min-width:42px;
  padding:0 7px!important;
  border:1px solid #d8b46a!important;
  background:#fffaf0!important;
  color:#9a6715!important;
  font-size:12px;
}
.file-storage-prototype .fs-share-delete{color:#ca5960!important}
.file-storage-prototype .fs-share-delete:hover{background:#fff0f1!important;color:#bd3f49!important}

@media(max-width:780px){
  .file-storage-prototype .file-storage-panel-head{height:auto;min-height:60px;gap:10px}
  .file-storage-prototype .file-storage-panel-head label{width:100%;min-width:0;flex:1 1 100%}
}
