/* V13: targeted Training + Prescribed Fire mobile fixes. Desktop untouched. */
@media screen and (max-width:700px) {
  html,body {width:100%;max-width:100%;overflow-x:hidden;}
  /* These pages have a center full-width-wrapper, unlike the homepage. */
  body .wrapper {display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;}
  body .wrapper > .full-width-wrapper {order:0!important;flex:0 1 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
  body .wrapper > .left-sidebar, body .wrapper > .right-sidebar, body .wrapper > aside {order:1!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;}
  body .full-width-wrapper .main-content {box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:14px 12px!important;}
  body .full-width-wrapper .welcome h1 {font-size:clamp(19px,5.2vw,24px)!important;line-height:1.2!important;}
  body .full-width-wrapper .welcome {margin:0 0 12px!important;}
  body .full-width-wrapper .green-border {display:none!important;}
  body .pub-btn-bar {display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;}
  body .tr-section,body .rx-section {width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;margin-bottom:16px!important;}
  body .tr-section-header,body .rx-section-header {padding:10px 12px!important;}
  body .tr-section-header h2,body .rx-section-header h2 {font-size:15px!important;line-height:1.3!important;}
  /* A true scroll container, not a desktop table squeezed to fit. */
  body .tr-table-wrap,body .rx-table-wrap {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain;}
  body .tr-table,body .rx-table {width:max-content!important;max-width:none!important;min-width:650px!important;table-layout:auto!important;}
  body .tr-table th,body .tr-table td,body .rx-table th,body .rx-table td {box-sizing:border-box!important;min-width:85px!important;max-width:260px!important;padding:9px 10px!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word!important;vertical-align:top!important;}
  body .rx-table th:nth-child(2),body .rx-table td:nth-child(2),body .tr-table th:first-child,body .tr-table td:first-child {min-width:145px!important;}
  body .tr-table-wrap:focus-visible,body .rx-table-wrap:focus-visible {outline:3px solid #2563a5;outline-offset:-3px;}
  body .wrapper > .left-sidebar ul,body .wrapper > .right-sidebar ul {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  body .wrapper > .left-sidebar li,body .wrapper > .right-sidebar li {min-width:0!important;}
  body .wrapper > .left-sidebar a,body .wrapper > .right-sidebar a {overflow-wrap:anywhere!important;}
}
@media screen and (max-width:380px) {
  body .wrapper > .left-sidebar ul,body .wrapper > .right-sidebar ul {grid-template-columns:1fr!important;}
}
@media print { /* Leave existing print/PDF formatting unchanged. */ }
