/* v6.31 – Restore pre-dashboard landing content inside control-panel shell. */
body.o112cp-body .o112cp-home{display:block;min-width:0}
body.o112cp-body .o112cp-home .o112-landing{min-height:0;background:transparent}
body.o112cp-body .o112cp-home .o112-landing-main{
  max-width:none!important;width:100%!important;margin:0!important;
  padding:0!important;box-sizing:border-box;gap:18px;
}
body.o112cp-body .o112cp-home .o112-landing-hero{margin:0}
body.o112cp-body .o112cp-home .o112-landing-grid{grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr)}
body.o112cp-body .o112cp-home .o112-landing-commercials{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;
}
body.o112cp-body .o112cp-home .o112-landing-commercial{
  min-width:0;overflow:hidden;padding:12px;border-radius:14px;
  border:1px solid #284554;background:#0d2330;
}
body.o112cp-body .o112cp-home .o112-landing-commercial-heading{
  color:#9bcfe6;font-size:12px;font-weight:850;margin:0 0 10px;padding:2px 4px 10px;
  border-bottom:1px solid #284554;
}
body.o112cp-body .o112cp-home .o112-landing-commercial img,
body.o112cp-body .o112cp-home .o112-landing-commercial video{max-width:100%;height:auto}
@media(max-width:1050px){
 body.o112cp-body .o112cp-home .o112-landing-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 body.o112cp-body .o112cp-home .o112-landing-commercials{grid-template-columns:1fr}
 body.o112cp-body .o112cp-home .o112-landing-main{gap:12px}
 body.o112cp-body .o112cp-home .o112-landing-hero{padding:20px 16px}
}

/* v6.33: commercials live in the right column next to recent incidents,
   above system updates and knowledge – never below the entire grid. */
body.o112cp-body .o112cp-home .o112-landing-side > .o112-landing-commercial {
  display:block;width:100%;min-width:0;box-sizing:border-box;
  padding:12px;border:1px solid #284554;border-radius:14px;
  background:#0d2330;overflow:hidden;
}
body.o112cp-body .o112cp-home .o112-landing-side > .o112-landing-commercial img,
body.o112cp-body .o112cp-home .o112-landing-side > .o112-landing-commercial video {
  max-width:100%;height:auto;
}
body.o112cp-body .o112cp-home .o112-landing-side .o112-landing-news-empty {
  margin:8px 0 0;color:#a8c2d0;font-size:13px;line-height:1.55;
}

/* v6.34: Same commercial canvas for home ad and sponsor. Only the
   homepage control-panel slot is affected, not sold placements elsewhere. */
body.o112cp-body .o112cp-home .o112-landing-side > .o112-landing-commercial {
  margin:0!important;padding:14px!important;background:#0d2330!important;
  border:1px solid #284554!important;border-radius:14px!important;
  min-width:0;box-sizing:border-box;overflow:hidden;
}
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad,
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-home {
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;min-width:0;max-width:none!important;width:100%!important;
}
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-label{display:none!important}
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-section-head{margin:0 0 10px!important;padding:2px 4px 10px!important;border-bottom:1px solid #284554!important;min-height:0}
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-section-head h2{font-size:1rem!important;color:#eff8ff}
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-creative,
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-option,
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-option>a,
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-carousel,
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-slide,
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-creative {width:100%!important;max-width:100%!important;min-width:0}
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-option :is(img,video),
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-creative :is(img,video) {
  display:block!important;box-sizing:border-box!important;width:100%!important;
  height:auto!important;aspect-ratio:16/9!important;max-height:none!important;
  object-fit:contain!important;background:#081a25!important;border-radius:8px!important;
}
body.o112cp-body .o112cp-home .o112-landing-commercial--ad .o112-direct-ad-copy {min-height:38px;padding:10px 4px 0;margin:0!important}
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-card{border:0!important;background:transparent!important}
body.o112cp-body .o112cp-home .o112-landing-commercial--sponsor .o112s-copy{padding:10px 4px 0!important;min-height:38px}
body.o112cp-body .o112cp-home .o112-landing-news-planned{color:#f0c982;font-size:11px}
