/* PlantOps360 small layout/accessibility fixes (2026-11-19) */
/* phones: a headline with its own inline size (pricing: "manufacturing business") must wrap instead of running off the screen */
@media (max-width:640px){main h1[style*="font-size"]{font-size:clamp(28px,8.4vw,40px)!important;line-height:1.12!important;overflow-wrap:anywhere}}
/* PM schedule generator on phones: the "Schedule starts in" month list is no longer clipped ("Decemb") */
@media (max-width:520px){.tl-start-row{flex-wrap:wrap;gap:8px}.tl-start-row > label{white-space:normal}.tl-start-row .tl-input-wrap{flex:1 1 100%}}
/* /modules/ and /maintenance-software-for/: the page headline is now a real H1 and keeps the look it had as an H2 */
.po-center > h1.po-h1-as-h2{font-size:32px;font-weight:800;line-height:1.15;letter-spacing:-.02em;color:var(--navy);margin-bottom:12px}
@media (max-width:760px){.po-center > h1.po-h1-as-h2{font-size:26px}}

/* phones: the home page was wider than the screen (about 683px), so everything drifted to the right.
   1) the investor panel and its two columns stack; 2) the document-management diagram (fixed 450px layout) is scaled to fit; 3) grid columns may shrink; 4) a final guard. */
@media (max-width:900px){
  [data-po-inv-grid]{grid-template-columns:minmax(0,1fr) !important}
  .po-inv-panel{padding:26px 22px}
  [data-po-split]>*,[data-po-inv-grid]>*,[data-po-hero-grid]>*{min-width:0}
  body{overflow-x:clip}
}
@media (max-width:560px){
  .po-inv-panel-items{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:480px){
  .po-dms-diagram{width:450px;height:440px;max-width:none;transform:scale(.74);transform-origin:top left;margin-bottom:-114px}
}
@media (max-width:400px){ .po-dms-diagram{transform:scale(.68);margin-bottom:-141px} }
@media (max-width:360px){ .po-dms-diagram{transform:scale(.6);margin-bottom:-176px} }
@media (max-width:900px){ [data-po-split],[data-po-hero-grid],[data-po-ai-grid],[data-po-uc-grid]{grid-template-columns:minmax(0,1fr) !important} }
