/* WAHAI V8.6.15R5 | Professional Settings grid, no backend changes */
html body #view-system .system-grid{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  align-items:stretch!important;
  column-gap:16px!important;
  row-gap:16px!important;
}
html body #view-system .system-grid>.system-overview,
html body #view-system .system-grid>#wahai-v8613-usage,
html body #view-system .system-grid>article.span-3:not(#wahai-v8613-usage){
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}
html body #view-system .system-grid>article.panel:not(.system-overview):not(.span-3):not(#wahai-v8613-usage),
html body #view-system .system-grid>form.panel{
  grid-column:span 4!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  height:100%!important;
}
html body #view-system .system-grid>.panel{
  border:1px solid #dcebe3!important;
  border-radius:16px!important;
  box-shadow:0 2px 12px rgba(16,64,49,.035)!important;
  padding:22px!important;
  background:#ffffff!important;
}
html body #view-system .system-overview{
  background:linear-gradient(140deg,#f6fbf8,#ffffff 55%)!important;
}
html body #view-system .system-overview .health-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
html body #view-system .system-overview .health-card{
  min-width:0!important;
  border:1px solid #e0eae4!important;
  background:#ffffff!important;
  border-radius:12px!important;
  padding:16px!important;
}
html body #view-system .system-overview .architecture{display:none!important}
html body #view-system #wahai-v8613-usage{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:18px!important;
  row-gap:6px!important;
  align-content:start!important;
  margin:0!important;
}
html body #view-system #wahai-v8613-usage>h3{
  grid-column:1!important;grid-row:1!important;
  font-size:18px!important;margin:0!important;line-height:1.35!important;
}
html body #view-system #wahai-v8613-usage>.wahai-v8613-note{
  grid-column:1!important;grid-row:2!important;
  margin:0!important;line-height:1.6!important;color:#61766a!important;
}
html body #view-system #wahai-v8613-usage>.wahai-v8613-toolbar{
  grid-column:2!important;grid-row:1 / span 2!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  margin:0!important;
}
html body #view-system #wahai-v8613-usage>.wahai-v8613-usage-results{
  grid-column:1 / -1!important;grid-row:3!important;min-width:0!important;
}
html body #view-system .system-grid>form.panel label{
  max-width:100%!important;min-width:0!important;
}
html body #view-system .system-grid>form.panel input:not([type="checkbox"]){
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
}
html body #view-system .system-grid>.panel .panel-head{gap:10px!important}
@media(max-width:1100px){
 html body #view-system .system-grid>article.panel:not(.system-overview):not(.span-3):not(#wahai-v8613-usage),
 html body #view-system .system-grid>form.panel{grid-column:span 6!important}
 html body #view-system .system-overview .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
 html body #view-system .system-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body #view-system .system-grid>.system-overview,
 html body #view-system .system-grid>#wahai-v8613-usage,
 html body #view-system .system-grid>article.span-3:not(#wahai-v8613-usage),
 html body #view-system .system-grid>article.panel:not(.system-overview):not(.span-3):not(#wahai-v8613-usage),
 html body #view-system .system-grid>form.panel{grid-column:1!important}
 html body #view-system .system-grid>.panel{padding:16px!important;border-radius:14px!important}
 html body #view-system .system-overview .health-grid{gap:8px!important}
 html body #view-system .system-overview .health-card{padding:12px!important}
 html body #view-system #wahai-v8613-usage{grid-template-columns:minmax(0,1fr)!important}
 html body #view-system #wahai-v8613-usage>.wahai-v8613-toolbar{
   grid-column:1!important;grid-row:3!important;justify-content:stretch!important;padding-top:6px!important}
 html body #view-system #wahai-v8613-usage>.wahai-v8613-toolbar button{width:100%!important}
 html body #view-system #wahai-v8613-usage>.wahai-v8613-usage-results{grid-column:1!important;grid-row:4!important}
}
