/* WRITE V10.0.3 production UI cleanup */
#v85MultiDatasetPanel,#v86BatchScorePanel,#v87ClosurePanel,#v88AutoExtractPanel,#v9ProductionPanel,#v8ShadowPanel,#v8TrainingPanel,#v8ZeroLossPanel{display:none!important}
.v10-quality-panel .v8-audit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v10-quality-panel .v8-audit-grid article{min-width:0;padding:14px}.v10-quality-panel .v8-audit-grid strong{font-size:18px;overflow-wrap:anywhere}@media(max-width:900px){.v10-quality-panel .v8-audit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.v10-quality-panel .v8-audit-grid{grid-template-columns:1fr}}
/* WRITE V10.0.8 — sidebar usage tip overflow hotfix */
.sidebar,
.sidebar .side-tip,
.sidebar .side-tip ol,
.sidebar .side-tip li{
  min-width:0;
  max-width:100%;
}
.sidebar .side-tip{
  overflow:hidden;
}
.sidebar .side-tip ol{
  padding-left:18px;
  padding-right:2px;
  margin:8px 0 0;
  width:100%;
}
.sidebar .side-tip li{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.55;
}
.sidebar .side-tip li + li{
  margin-top:3px;
}
/* Long format lists such as XLSX/XLS/CSV/TSV/JSON/XML/ZIP/PDF/OCR
   must wrap inside the card instead of crossing the border. */
.sidebar .side-tip b,
.sidebar .side-tip span,
.sidebar .side-tip code{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
@media(max-height:760px){
  .sidebar .side-tip{
    padding:10px 11px;
  }
  .sidebar .side-tip ol{
    font-size:10px;
    line-height:1.45;
  }
}
/* WRITE V10.0.9 — sidebar footer layout integrity
 * Root cause fixed:
 * V10.0.8 set .side-tip overflow:hidden while .sidebar is a fixed-height flex column.
 * On shorter windows flex-shrink compressed .side-tip, leaving only its title visible.
 */
.sidebar{
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.sidebar .side-nav{
  flex:0 0 auto;
}
.sidebar .side-tip{
  flex:0 0 auto;
  flex-shrink:0;
  min-height:max-content;
  margin-top:16px;
  overflow:visible;
}
.sidebar .side-tip ol{
  display:block;
  height:auto;
  max-height:none;
  overflow:visible;
}
.sidebar .side-status{
  flex:0 0 auto;
  flex-shrink:0;
  margin-bottom:2px;
}

/* Keep long capability strings inside the card without clipping the card itself. */
.sidebar .side-tip,
.sidebar .side-tip ol,
.sidebar .side-tip li{
  min-width:0;
  max-width:100%;
}
.sidebar .side-tip li{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Short-height laptop windows: compact spacing instead of shrinking/cropping content. */
@media (max-height:900px){
  .sidebar{padding-top:18px;padding-bottom:12px}
  .brand{padding-bottom:12px}
  .side-nav{gap:2px}
  .nav-item{padding-top:10px;padding-bottom:10px}
  .sidebar .side-tip{margin-top:10px;padding:10px 11px}
  .sidebar .side-tip ol{margin-top:6px;font-size:10px;line-height:1.5}
  .sidebar .side-status{margin-top:8px;padding:10px}
}
@media (max-height:760px){
  .sidebar .side-tip ol{font-size:9.5px;line-height:1.4}
  .sidebar .side-status small{font-size:9.5px}
}
