/* bs3_compat.css — (10/11/2026) Bootstrap 5.3.2 ของ backoffice + branch + configmlm (ลบ bootstrap_old 3.3.7 แล้ว)
   ให้ markup BS3 เดิมแสดงผลเหมือนเดิมบน BS5 · โหลดต่อจาก bootstrap 5 ก่อน style.php
   [A][B] สร้างอัตโนมัติจาก bootstrap_old/dist/css/bootstrap.min.css ฉบับแก้แล้วของระบบ (ต้นฉบับเก็บใน ~/backup_bootstrap_old_20261110/) · [C] เขียนเอง
   (12/11/2026) กำลังทยอยลบ (แผน BS5 แท้) : ตัดแล้ว glyphicon / label / well / img-responsive / btn-block / table-condensed / input-sm,lg / help-block — markup ใช้ class BS5 แทน · btn-default → btn-app-default (bs5_app.css) · hidden-*/visible-* → app-hide-* / d-block d-md-none · caret/close → app-caret/app-close · modal-header/footer/content = BS5 (flex) · เมนู dropdown ใช้ a.dropdown-item + .dropdown-menu/-end ของ BS5 · .nav/.nav-tabs = BS5 (nav-item/nav-link) · แถบหัว .navbar = bs5_app.css · .pagination = BS5 (page-item/page-link) · ฟอร์ม (form-group/control-label/checkbox/radio/has-*/form-control ฯลฯ) = bs5_app.css · input-group = BS5 (input-group-text) · .table = BS5 (ตัวแปรธีม) · (16/11/2026) กฎที่ไม่ใช่ grid ย้ายไปต้น bs5_app.css (ส่วน "ค่าพื้นฐานของระบบ") หรือตัดทิ้ง — ไฟล์นี้เหลือแค่ grid BS3 (.row/.col-*) · (16/11/2026) ทุก selector ขึ้นต้น :where(body:not(.bs5-grid)) — หน้าที่แปลง grid เป็น BS5 แล้วใส่ class bs5-grid ที่ body · ห้ามเพิ่ม class BS3 ใหม่ */
/* ---- [A] grid BS3 (breakpoint 768/992/1200 · specificity x2 ให้ชนะ grid BS5) ---- */
:where(body:not(.bs5-grid)) .col-sm-1.col-sm-1,
:where(body:not(.bs5-grid)) .col-sm-2.col-sm-2,
:where(body:not(.bs5-grid)) .col-sm-3.col-sm-3,
:where(body:not(.bs5-grid)) .col-sm-4.col-sm-4,
:where(body:not(.bs5-grid)) .col-sm-5.col-sm-5,
:where(body:not(.bs5-grid)) .col-sm-6.col-sm-6,
:where(body:not(.bs5-grid)) .col-sm-7.col-sm-7,
:where(body:not(.bs5-grid)) .col-sm-8.col-sm-8,
:where(body:not(.bs5-grid)) .col-sm-9.col-sm-9,
:where(body:not(.bs5-grid)) .col-sm-10.col-sm-10,
:where(body:not(.bs5-grid)) .col-sm-11.col-sm-11,
:where(body:not(.bs5-grid)) .col-sm-12.col-sm-12,
:where(body:not(.bs5-grid)) .col-md-1.col-md-1,
:where(body:not(.bs5-grid)) .col-md-2.col-md-2,
:where(body:not(.bs5-grid)) .col-md-3.col-md-3,
:where(body:not(.bs5-grid)) .col-md-4.col-md-4,
:where(body:not(.bs5-grid)) .col-md-5.col-md-5,
:where(body:not(.bs5-grid)) .col-md-6.col-md-6,
:where(body:not(.bs5-grid)) .col-md-7.col-md-7,
:where(body:not(.bs5-grid)) .col-md-8.col-md-8,
:where(body:not(.bs5-grid)) .col-md-9.col-md-9,
:where(body:not(.bs5-grid)) .col-md-10.col-md-10,
:where(body:not(.bs5-grid)) .col-md-11.col-md-11,
:where(body:not(.bs5-grid)) .col-md-12.col-md-12,
:where(body:not(.bs5-grid)) .col-lg-1.col-lg-1,
:where(body:not(.bs5-grid)) .col-lg-2.col-lg-2,
:where(body:not(.bs5-grid)) .col-lg-3.col-lg-3,
:where(body:not(.bs5-grid)) .col-lg-4.col-lg-4,
:where(body:not(.bs5-grid)) .col-lg-5.col-lg-5,
:where(body:not(.bs5-grid)) .col-lg-6.col-lg-6,
:where(body:not(.bs5-grid)) .col-lg-7.col-lg-7,
:where(body:not(.bs5-grid)) .col-lg-8.col-lg-8,
:where(body:not(.bs5-grid)) .col-lg-9.col-lg-9,
:where(body:not(.bs5-grid)) .col-lg-10.col-lg-10,
:where(body:not(.bs5-grid)) .col-lg-11.col-lg-11,
:where(body:not(.bs5-grid)) .col-lg-12.col-lg-12 { width: auto; flex: none; }
:where(body:not(.bs5-grid)) .col-lg-1.col-lg-1,
:where(body:not(.bs5-grid)) .col-lg-10.col-lg-10,
:where(body:not(.bs5-grid)) .col-lg-11.col-lg-11,
:where(body:not(.bs5-grid)) .col-lg-12.col-lg-12,
:where(body:not(.bs5-grid)) .col-lg-2.col-lg-2,
:where(body:not(.bs5-grid)) .col-lg-3.col-lg-3,
:where(body:not(.bs5-grid)) .col-lg-4.col-lg-4,
:where(body:not(.bs5-grid)) .col-lg-5.col-lg-5,
:where(body:not(.bs5-grid)) .col-lg-6.col-lg-6,
:where(body:not(.bs5-grid)) .col-lg-7.col-lg-7,
:where(body:not(.bs5-grid)) .col-lg-8.col-lg-8,
:where(body:not(.bs5-grid)) .col-lg-9.col-lg-9,
:where(body:not(.bs5-grid)) .col-md-1.col-md-1,
:where(body:not(.bs5-grid)) .col-md-10.col-md-10,
:where(body:not(.bs5-grid)) .col-md-11.col-md-11,
:where(body:not(.bs5-grid)) .col-md-12.col-md-12,
:where(body:not(.bs5-grid)) .col-md-2.col-md-2,
:where(body:not(.bs5-grid)) .col-md-3.col-md-3,
:where(body:not(.bs5-grid)) .col-md-4.col-md-4,
:where(body:not(.bs5-grid)) .col-md-5.col-md-5,
:where(body:not(.bs5-grid)) .col-md-6.col-md-6,
:where(body:not(.bs5-grid)) .col-md-7.col-md-7,
:where(body:not(.bs5-grid)) .col-md-8.col-md-8,
:where(body:not(.bs5-grid)) .col-md-9.col-md-9,
:where(body:not(.bs5-grid)) .col-sm-1.col-sm-1,
:where(body:not(.bs5-grid)) .col-sm-10.col-sm-10,
:where(body:not(.bs5-grid)) .col-sm-11.col-sm-11,
:where(body:not(.bs5-grid)) .col-sm-12.col-sm-12,
:where(body:not(.bs5-grid)) .col-sm-2.col-sm-2,
:where(body:not(.bs5-grid)) .col-sm-3.col-sm-3,
:where(body:not(.bs5-grid)) .col-sm-4.col-sm-4,
:where(body:not(.bs5-grid)) .col-sm-5.col-sm-5,
:where(body:not(.bs5-grid)) .col-sm-6.col-sm-6,
:where(body:not(.bs5-grid)) .col-sm-7.col-sm-7,
:where(body:not(.bs5-grid)) .col-sm-8.col-sm-8,
:where(body:not(.bs5-grid)) .col-sm-9.col-sm-9,
:where(body:not(.bs5-grid)) .col-xs-1.col-xs-1,
:where(body:not(.bs5-grid)) .col-xs-10.col-xs-10,
:where(body:not(.bs5-grid)) .col-xs-11.col-xs-11,
:where(body:not(.bs5-grid)) .col-xs-12.col-xs-12,
:where(body:not(.bs5-grid)) .col-xs-2.col-xs-2,
:where(body:not(.bs5-grid)) .col-xs-3.col-xs-3,
:where(body:not(.bs5-grid)) .col-xs-4.col-xs-4,
:where(body:not(.bs5-grid)) .col-xs-5.col-xs-5,
:where(body:not(.bs5-grid)) .col-xs-6.col-xs-6,
:where(body:not(.bs5-grid)) .col-xs-7.col-xs-7,
:where(body:not(.bs5-grid)) .col-xs-8.col-xs-8,
:where(body:not(.bs5-grid)) .col-xs-9.col-xs-9 { position:relative; min-height:1px; padding-right:15px; padding-left:15px }
:where(body:not(.bs5-grid)) .col-xs-1.col-xs-1,
:where(body:not(.bs5-grid)) .col-xs-10.col-xs-10,
:where(body:not(.bs5-grid)) .col-xs-11.col-xs-11,
:where(body:not(.bs5-grid)) .col-xs-12.col-xs-12,
:where(body:not(.bs5-grid)) .col-xs-2.col-xs-2,
:where(body:not(.bs5-grid)) .col-xs-3.col-xs-3,
:where(body:not(.bs5-grid)) .col-xs-4.col-xs-4,
:where(body:not(.bs5-grid)) .col-xs-5.col-xs-5,
:where(body:not(.bs5-grid)) .col-xs-6.col-xs-6,
:where(body:not(.bs5-grid)) .col-xs-7.col-xs-7,
:where(body:not(.bs5-grid)) .col-xs-8.col-xs-8,
:where(body:not(.bs5-grid)) .col-xs-9.col-xs-9 { float:left }
:where(body:not(.bs5-grid)) .col-xs-12.col-xs-12 { width:100% }
:where(body:not(.bs5-grid)) .col-xs-11.col-xs-11 { width:91.66666667% }
:where(body:not(.bs5-grid)) .col-xs-10.col-xs-10 { width:83.33333333% }
:where(body:not(.bs5-grid)) .col-xs-9.col-xs-9 { width:75% }
:where(body:not(.bs5-grid)) .col-xs-8.col-xs-8 { width:66.66666667% }
:where(body:not(.bs5-grid)) .col-xs-7.col-xs-7 { width:58.33333333% }
:where(body:not(.bs5-grid)) .col-xs-6.col-xs-6 { width:50% }
:where(body:not(.bs5-grid)) .col-xs-5.col-xs-5 { width:41.66666667% }
:where(body:not(.bs5-grid)) .col-xs-4.col-xs-4 { width:33.33333333% }
:where(body:not(.bs5-grid)) .col-xs-3.col-xs-3 { width:25% }
:where(body:not(.bs5-grid)) .col-xs-2.col-xs-2 { width:16.66666667% }
:where(body:not(.bs5-grid)) .col-xs-1.col-xs-1 { width:8.33333333% }
:where(body:not(.bs5-grid)) .col-xs-pull-12.col-xs-pull-12 { right:100% }
:where(body:not(.bs5-grid)) .col-xs-pull-11.col-xs-pull-11 { right:91.66666667% }
:where(body:not(.bs5-grid)) .col-xs-pull-10.col-xs-pull-10 { right:83.33333333% }
:where(body:not(.bs5-grid)) .col-xs-pull-9.col-xs-pull-9 { right:75% }
:where(body:not(.bs5-grid)) .col-xs-pull-8.col-xs-pull-8 { right:66.66666667% }
:where(body:not(.bs5-grid)) .col-xs-pull-7.col-xs-pull-7 { right:58.33333333% }
:where(body:not(.bs5-grid)) .col-xs-pull-6.col-xs-pull-6 { right:50% }
:where(body:not(.bs5-grid)) .col-xs-pull-5.col-xs-pull-5 { right:41.66666667% }
:where(body:not(.bs5-grid)) .col-xs-pull-4.col-xs-pull-4 { right:33.33333333% }
:where(body:not(.bs5-grid)) .col-xs-pull-3.col-xs-pull-3 { right:25% }
:where(body:not(.bs5-grid)) .col-xs-pull-2.col-xs-pull-2 { right:16.66666667% }
:where(body:not(.bs5-grid)) .col-xs-pull-1.col-xs-pull-1 { right:8.33333333% }
:where(body:not(.bs5-grid)) .col-xs-pull-0.col-xs-pull-0 { right:auto }
:where(body:not(.bs5-grid)) .col-xs-push-12.col-xs-push-12 { left:100% }
:where(body:not(.bs5-grid)) .col-xs-push-11.col-xs-push-11 { left:91.66666667% }
:where(body:not(.bs5-grid)) .col-xs-push-10.col-xs-push-10 { left:83.33333333% }
:where(body:not(.bs5-grid)) .col-xs-push-9.col-xs-push-9 { left:75% }
:where(body:not(.bs5-grid)) .col-xs-push-8.col-xs-push-8 { left:66.66666667% }
:where(body:not(.bs5-grid)) .col-xs-push-7.col-xs-push-7 { left:58.33333333% }
:where(body:not(.bs5-grid)) .col-xs-push-6.col-xs-push-6 { left:50% }
:where(body:not(.bs5-grid)) .col-xs-push-5.col-xs-push-5 { left:41.66666667% }
:where(body:not(.bs5-grid)) .col-xs-push-4.col-xs-push-4 { left:33.33333333% }
:where(body:not(.bs5-grid)) .col-xs-push-3.col-xs-push-3 { left:25% }
:where(body:not(.bs5-grid)) .col-xs-push-2.col-xs-push-2 { left:16.66666667% }
:where(body:not(.bs5-grid)) .col-xs-push-1.col-xs-push-1 { left:8.33333333% }
:where(body:not(.bs5-grid)) .col-xs-push-0.col-xs-push-0 { left:auto }
:where(body:not(.bs5-grid)) .col-xs-offset-12.col-xs-offset-12 { margin-left:100% }
:where(body:not(.bs5-grid)) .col-xs-offset-11.col-xs-offset-11 { margin-left:91.66666667% }
:where(body:not(.bs5-grid)) .col-xs-offset-10.col-xs-offset-10 { margin-left:83.33333333% }
:where(body:not(.bs5-grid)) .col-xs-offset-9.col-xs-offset-9 { margin-left:75% }
:where(body:not(.bs5-grid)) .col-xs-offset-8.col-xs-offset-8 { margin-left:66.66666667% }
:where(body:not(.bs5-grid)) .col-xs-offset-7.col-xs-offset-7 { margin-left:58.33333333% }
:where(body:not(.bs5-grid)) .col-xs-offset-6.col-xs-offset-6 { margin-left:50% }
:where(body:not(.bs5-grid)) .col-xs-offset-5.col-xs-offset-5 { margin-left:41.66666667% }
:where(body:not(.bs5-grid)) .col-xs-offset-4.col-xs-offset-4 { margin-left:33.33333333% }
:where(body:not(.bs5-grid)) .col-xs-offset-3.col-xs-offset-3 { margin-left:25% }
:where(body:not(.bs5-grid)) .col-xs-offset-2.col-xs-offset-2 { margin-left:16.66666667% }
:where(body:not(.bs5-grid)) .col-xs-offset-1.col-xs-offset-1 { margin-left:8.33333333% }
:where(body:not(.bs5-grid)) .col-xs-offset-0.col-xs-offset-0 { margin-left:0 }
@media (min-width:768px) {
  :where(body:not(.bs5-grid)) .col-sm-1.col-sm-1,
:where(body:not(.bs5-grid)) .col-sm-10.col-sm-10,
:where(body:not(.bs5-grid)) .col-sm-11.col-sm-11,
:where(body:not(.bs5-grid)) .col-sm-12.col-sm-12,
:where(body:not(.bs5-grid)) .col-sm-2.col-sm-2,
:where(body:not(.bs5-grid)) .col-sm-3.col-sm-3,
:where(body:not(.bs5-grid)) .col-sm-4.col-sm-4,
:where(body:not(.bs5-grid)) .col-sm-5.col-sm-5,
:where(body:not(.bs5-grid)) .col-sm-6.col-sm-6,
:where(body:not(.bs5-grid)) .col-sm-7.col-sm-7,
:where(body:not(.bs5-grid)) .col-sm-8.col-sm-8,
:where(body:not(.bs5-grid)) .col-sm-9.col-sm-9 { float:left }
  :where(body:not(.bs5-grid)) .col-sm-12.col-sm-12 { width:100% }
  :where(body:not(.bs5-grid)) .col-sm-11.col-sm-11 { width:91.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-10.col-sm-10 { width:83.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-9.col-sm-9 { width:75% }
  :where(body:not(.bs5-grid)) .col-sm-8.col-sm-8 { width:66.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-7.col-sm-7 { width:58.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-6.col-sm-6 { width:50% }
  :where(body:not(.bs5-grid)) .col-sm-5.col-sm-5 { width:41.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-4.col-sm-4 { width:33.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-3.col-sm-3 { width:25% }
  :where(body:not(.bs5-grid)) .col-sm-2.col-sm-2 { width:16.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-1.col-sm-1 { width:8.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-pull-12.col-sm-pull-12 { right:100% }
  :where(body:not(.bs5-grid)) .col-sm-pull-11.col-sm-pull-11 { right:91.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-pull-10.col-sm-pull-10 { right:83.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-pull-9.col-sm-pull-9 { right:75% }
  :where(body:not(.bs5-grid)) .col-sm-pull-8.col-sm-pull-8 { right:66.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-pull-7.col-sm-pull-7 { right:58.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-pull-6.col-sm-pull-6 { right:50% }
  :where(body:not(.bs5-grid)) .col-sm-pull-5.col-sm-pull-5 { right:41.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-pull-4.col-sm-pull-4 { right:33.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-pull-3.col-sm-pull-3 { right:25% }
  :where(body:not(.bs5-grid)) .col-sm-pull-2.col-sm-pull-2 { right:16.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-pull-1.col-sm-pull-1 { right:8.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-pull-0.col-sm-pull-0 { right:auto }
  :where(body:not(.bs5-grid)) .col-sm-push-12.col-sm-push-12 { left:100% }
  :where(body:not(.bs5-grid)) .col-sm-push-11.col-sm-push-11 { left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-push-10.col-sm-push-10 { left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-push-9.col-sm-push-9 { left:75% }
  :where(body:not(.bs5-grid)) .col-sm-push-8.col-sm-push-8 { left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-push-7.col-sm-push-7 { left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-push-6.col-sm-push-6 { left:50% }
  :where(body:not(.bs5-grid)) .col-sm-push-5.col-sm-push-5 { left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-push-4.col-sm-push-4 { left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-push-3.col-sm-push-3 { left:25% }
  :where(body:not(.bs5-grid)) .col-sm-push-2.col-sm-push-2 { left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-push-1.col-sm-push-1 { left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-push-0.col-sm-push-0 { left:auto }
  :where(body:not(.bs5-grid)) .col-sm-offset-12.col-sm-offset-12 { margin-left:100% }
  :where(body:not(.bs5-grid)) .col-sm-offset-11.col-sm-offset-11 { margin-left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-offset-10.col-sm-offset-10 { margin-left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-offset-9.col-sm-offset-9 { margin-left:75% }
  :where(body:not(.bs5-grid)) .col-sm-offset-8.col-sm-offset-8 { margin-left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-offset-7.col-sm-offset-7 { margin-left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-offset-6.col-sm-offset-6 { margin-left:50% }
  :where(body:not(.bs5-grid)) .col-sm-offset-5.col-sm-offset-5 { margin-left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-offset-4.col-sm-offset-4 { margin-left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-offset-3.col-sm-offset-3 { margin-left:25% }
  :where(body:not(.bs5-grid)) .col-sm-offset-2.col-sm-offset-2 { margin-left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-sm-offset-1.col-sm-offset-1 { margin-left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-sm-offset-0.col-sm-offset-0 { margin-left:0 }
}
@media (min-width:992px) {
  :where(body:not(.bs5-grid)) .col-md-1.col-md-1,
:where(body:not(.bs5-grid)) .col-md-10.col-md-10,
:where(body:not(.bs5-grid)) .col-md-11.col-md-11,
:where(body:not(.bs5-grid)) .col-md-12.col-md-12,
:where(body:not(.bs5-grid)) .col-md-2.col-md-2,
:where(body:not(.bs5-grid)) .col-md-3.col-md-3,
:where(body:not(.bs5-grid)) .col-md-4.col-md-4,
:where(body:not(.bs5-grid)) .col-md-5.col-md-5,
:where(body:not(.bs5-grid)) .col-md-6.col-md-6,
:where(body:not(.bs5-grid)) .col-md-7.col-md-7,
:where(body:not(.bs5-grid)) .col-md-8.col-md-8,
:where(body:not(.bs5-grid)) .col-md-9.col-md-9 { float:left }
  :where(body:not(.bs5-grid)) .col-md-12.col-md-12 { width:100% }
  :where(body:not(.bs5-grid)) .col-md-11.col-md-11 { width:91.66666667% }
  :where(body:not(.bs5-grid)) .col-md-10.col-md-10 { width:83.33333333% }
  :where(body:not(.bs5-grid)) .col-md-9.col-md-9 { width:75% }
  :where(body:not(.bs5-grid)) .col-md-8.col-md-8 { width:66.66666667% }
  :where(body:not(.bs5-grid)) .col-md-7.col-md-7 { width:58.33333333% }
  :where(body:not(.bs5-grid)) .col-md-6.col-md-6 { width:50% }
  :where(body:not(.bs5-grid)) .col-md-5.col-md-5 { width:41.66666667% }
  :where(body:not(.bs5-grid)) .col-md-4.col-md-4 { width:33.33333333% }
  :where(body:not(.bs5-grid)) .col-md-3.col-md-3 { width:25% }
  :where(body:not(.bs5-grid)) .col-md-2.col-md-2 { width:16.66666667% }
  :where(body:not(.bs5-grid)) .col-md-1.col-md-1 { width:8.33333333% }
  :where(body:not(.bs5-grid)) .col-md-pull-12.col-md-pull-12 { right:100% }
  :where(body:not(.bs5-grid)) .col-md-pull-11.col-md-pull-11 { right:91.66666667% }
  :where(body:not(.bs5-grid)) .col-md-pull-10.col-md-pull-10 { right:83.33333333% }
  :where(body:not(.bs5-grid)) .col-md-pull-9.col-md-pull-9 { right:75% }
  :where(body:not(.bs5-grid)) .col-md-pull-8.col-md-pull-8 { right:66.66666667% }
  :where(body:not(.bs5-grid)) .col-md-pull-7.col-md-pull-7 { right:58.33333333% }
  :where(body:not(.bs5-grid)) .col-md-pull-6.col-md-pull-6 { right:50% }
  :where(body:not(.bs5-grid)) .col-md-pull-5.col-md-pull-5 { right:41.66666667% }
  :where(body:not(.bs5-grid)) .col-md-pull-4.col-md-pull-4 { right:33.33333333% }
  :where(body:not(.bs5-grid)) .col-md-pull-3.col-md-pull-3 { right:25% }
  :where(body:not(.bs5-grid)) .col-md-pull-2.col-md-pull-2 { right:16.66666667% }
  :where(body:not(.bs5-grid)) .col-md-pull-1.col-md-pull-1 { right:8.33333333% }
  :where(body:not(.bs5-grid)) .col-md-pull-0.col-md-pull-0 { right:auto }
  :where(body:not(.bs5-grid)) .col-md-push-12.col-md-push-12 { left:100% }
  :where(body:not(.bs5-grid)) .col-md-push-11.col-md-push-11 { left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-md-push-10.col-md-push-10 { left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-md-push-9.col-md-push-9 { left:75% }
  :where(body:not(.bs5-grid)) .col-md-push-8.col-md-push-8 { left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-md-push-7.col-md-push-7 { left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-md-push-6.col-md-push-6 { left:50% }
  :where(body:not(.bs5-grid)) .col-md-push-5.col-md-push-5 { left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-md-push-4.col-md-push-4 { left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-md-push-3.col-md-push-3 { left:25% }
  :where(body:not(.bs5-grid)) .col-md-push-2.col-md-push-2 { left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-md-push-1.col-md-push-1 { left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-md-push-0.col-md-push-0 { left:auto }
  :where(body:not(.bs5-grid)) .col-md-offset-12.col-md-offset-12 { margin-left:100% }
  :where(body:not(.bs5-grid)) .col-md-offset-11.col-md-offset-11 { margin-left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-md-offset-10.col-md-offset-10 { margin-left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-md-offset-9.col-md-offset-9 { margin-left:75% }
  :where(body:not(.bs5-grid)) .col-md-offset-8.col-md-offset-8 { margin-left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-md-offset-7.col-md-offset-7 { margin-left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-md-offset-6.col-md-offset-6 { margin-left:50% }
  :where(body:not(.bs5-grid)) .col-md-offset-5.col-md-offset-5 { margin-left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-md-offset-4.col-md-offset-4 { margin-left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-md-offset-3.col-md-offset-3 { margin-left:25% }
  :where(body:not(.bs5-grid)) .col-md-offset-2.col-md-offset-2 { margin-left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-md-offset-1.col-md-offset-1 { margin-left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-md-offset-0.col-md-offset-0 { margin-left:0 }
}
@media (min-width:1200px) {
  :where(body:not(.bs5-grid)) .col-lg-1.col-lg-1,
:where(body:not(.bs5-grid)) .col-lg-10.col-lg-10,
:where(body:not(.bs5-grid)) .col-lg-11.col-lg-11,
:where(body:not(.bs5-grid)) .col-lg-12.col-lg-12,
:where(body:not(.bs5-grid)) .col-lg-2.col-lg-2,
:where(body:not(.bs5-grid)) .col-lg-3.col-lg-3,
:where(body:not(.bs5-grid)) .col-lg-4.col-lg-4,
:where(body:not(.bs5-grid)) .col-lg-5.col-lg-5,
:where(body:not(.bs5-grid)) .col-lg-6.col-lg-6,
:where(body:not(.bs5-grid)) .col-lg-7.col-lg-7,
:where(body:not(.bs5-grid)) .col-lg-8.col-lg-8,
:where(body:not(.bs5-grid)) .col-lg-9.col-lg-9 { float:left }
  :where(body:not(.bs5-grid)) .col-lg-12.col-lg-12 { width:100% }
  :where(body:not(.bs5-grid)) .col-lg-11.col-lg-11 { width:91.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-10.col-lg-10 { width:83.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-9.col-lg-9 { width:75% }
  :where(body:not(.bs5-grid)) .col-lg-8.col-lg-8 { width:66.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-7.col-lg-7 { width:58.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-6.col-lg-6 { width:50% }
  :where(body:not(.bs5-grid)) .col-lg-5.col-lg-5 { width:41.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-4.col-lg-4 { width:33.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-3.col-lg-3 { width:25% }
  :where(body:not(.bs5-grid)) .col-lg-2.col-lg-2 { width:16.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-1.col-lg-1 { width:8.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-pull-12.col-lg-pull-12 { right:100% }
  :where(body:not(.bs5-grid)) .col-lg-pull-11.col-lg-pull-11 { right:91.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-pull-10.col-lg-pull-10 { right:83.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-pull-9.col-lg-pull-9 { right:75% }
  :where(body:not(.bs5-grid)) .col-lg-pull-8.col-lg-pull-8 { right:66.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-pull-7.col-lg-pull-7 { right:58.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-pull-6.col-lg-pull-6 { right:50% }
  :where(body:not(.bs5-grid)) .col-lg-pull-5.col-lg-pull-5 { right:41.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-pull-4.col-lg-pull-4 { right:33.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-pull-3.col-lg-pull-3 { right:25% }
  :where(body:not(.bs5-grid)) .col-lg-pull-2.col-lg-pull-2 { right:16.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-pull-1.col-lg-pull-1 { right:8.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-pull-0.col-lg-pull-0 { right:auto }
  :where(body:not(.bs5-grid)) .col-lg-push-12.col-lg-push-12 { left:100% }
  :where(body:not(.bs5-grid)) .col-lg-push-11.col-lg-push-11 { left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-push-10.col-lg-push-10 { left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-push-9.col-lg-push-9 { left:75% }
  :where(body:not(.bs5-grid)) .col-lg-push-8.col-lg-push-8 { left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-push-7.col-lg-push-7 { left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-push-6.col-lg-push-6 { left:50% }
  :where(body:not(.bs5-grid)) .col-lg-push-5.col-lg-push-5 { left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-push-4.col-lg-push-4 { left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-push-3.col-lg-push-3 { left:25% }
  :where(body:not(.bs5-grid)) .col-lg-push-2.col-lg-push-2 { left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-push-1.col-lg-push-1 { left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-push-0.col-lg-push-0 { left:auto }
  :where(body:not(.bs5-grid)) .col-lg-offset-12.col-lg-offset-12 { margin-left:100% }
  :where(body:not(.bs5-grid)) .col-lg-offset-11.col-lg-offset-11 { margin-left:91.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-offset-10.col-lg-offset-10 { margin-left:83.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-offset-9.col-lg-offset-9 { margin-left:75% }
  :where(body:not(.bs5-grid)) .col-lg-offset-8.col-lg-offset-8 { margin-left:66.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-offset-7.col-lg-offset-7 { margin-left:58.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-offset-6.col-lg-offset-6 { margin-left:50% }
  :where(body:not(.bs5-grid)) .col-lg-offset-5.col-lg-offset-5 { margin-left:41.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-offset-4.col-lg-offset-4 { margin-left:33.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-offset-3.col-lg-offset-3 { margin-left:25% }
  :where(body:not(.bs5-grid)) .col-lg-offset-2.col-lg-offset-2 { margin-left:16.66666667% }
  :where(body:not(.bs5-grid)) .col-lg-offset-1.col-lg-offset-1 { margin-left:8.33333333% }
  :where(body:not(.bs5-grid)) .col-lg-offset-0.col-lg-offset-0 { margin-left:0 }
}

/* ---- [B] กฎ BS3 ที่ BS5 ไม่มี/เปลี่ยนชื่อ (ดึงจาก bootstrap_old 3.3.7) ---- */













@media print {
  
  
  
  
  
  
  
  
  
}

































































































































































































































































































@media (min-width:768px) {
  
  
}







:where(body:not(.bs5-grid)) .container { padding-right:15px; padding-left:15px; margin-right:auto; margin-left:auto }
@media (min-width:768px) {
  :where(body:not(.bs5-grid)) .container { width:750px }
}
@media (min-width:992px) {
  :where(body:not(.bs5-grid)) .container { width:970px }
}
@media (min-width:1200px) {
  :where(body:not(.bs5-grid)) .container { width:1170px }
}
:where(body:not(.bs5-grid)) .container-fluid { padding-right:15px; padding-left:15px; margin-right:auto; margin-left:auto }
:where(body:not(.bs5-grid)) .row { margin-right:-15px; margin-left:-15px }














:where(body:not(.bs5-grid)) table col[class*=col-] { position:static; display:table-column; float:none }
:where(body:not(.bs5-grid)) table td[class*=col-],
:where(body:not(.bs5-grid)) table th[class*=col-] { position:static; display:table-cell; float:none }











@media screen and (max-width:767px) {
  
  
  
  
  
  
  
}



















@media screen and (-webkit-min-device-pixel-ratio:0) {
  
  
  
}

















































@media (min-width:768px) {
  
  
  
  
  
  
  
  
  
  
  
}



@media (min-width:768px) {
  
}

@media (min-width:768px) {
  
  
}



































































@media (min-width:768px) {
  
  
}








:where(body:not(.bs5-grid)) .input-group[class*=col-] { float:none; padding-right:0; padding-left:0 }












































@media (min-width:768px) {
  
  
}



@media (min-width:768px) {
  
  

}











@media (min-width:768px) {
  
  
}




@media (min-width:768px) {
  
  

}


@media (min-width:768px) {
  
  
}



@media (min-width:768px) {
  
  
  

  
}

@media (max-device-width:480px) and (orientation:landscape) {
  
}

@media (min-width:768px) {
  
}

@media (min-width:768px) {
  
}

@media (min-width:768px) {
  
}





@media (min-width:768px) {
  
}




@media (min-width:768px) {
  
}


@media (max-width:767px) {
  

  

  

  

}
@media (min-width:768px) {
  
  
  
}

@media (min-width:768px) {
  
  
  
  
  
  
  
  
  
  
  
}
@media (max-width:767px) {
  
  
}
@media (min-width:768px) {
  
}






@media (min-width:768px) {
  
  
  
  
}















@media (max-width:767px) {
  

  

  


  

}




















@media (max-width:767px) {
  

  

  

  

  


  

}

















































:where(body:not(.bs5-grid)) .container .jumbotron,
:where(body:not(.bs5-grid)) .container-fluid .jumbotron { padding-right:15px; padding-left:15px; border-radius:6px }
@media screen and (min-width:768px) {
  :where(body:not(.bs5-grid)) .container .jumbotron,
:where(body:not(.bs5-grid)) .container-fluid .jumbotron { padding-right:60px; padding-left:60px }
}











































@media screen and (min-width:768px) {
  
  
  
}
:where(body:not(.bs5-grid)) .container-fluid:after,
:where(body:not(.bs5-grid)) .container-fluid:before,
:where(body:not(.bs5-grid)) .container:after,
:where(body:not(.bs5-grid)) .container:before,
:where(body:not(.bs5-grid)) .row:after,
:where(body:not(.bs5-grid)) .row:before { display:table; content:" " }
:where(body:not(.bs5-grid)) .container-fluid:after,
:where(body:not(.bs5-grid)) .container:after,
:where(body:not(.bs5-grid)) .row:after { clear:both }









@media (max-width:767px) {
  
  
  
  
  
  
  
}
@media (min-width:768px) and (max-width:991px) {
  
  
  
  
  
  
  
}
@media (min-width:992px) and (max-width:1199px) {
  
  
  
  
  
  
  
}
@media (min-width:1200px) {
  
  
  
  
  
  
  
}
@media (max-width:767px) {
  
}
@media (min-width:768px) and (max-width:991px) {
  
}
@media (min-width:992px) and (max-width:1199px) {
  
}
@media (min-width:1200px) {
  
}

@media print {
  
  
  
  
}

@media print {
  
}

@media print {
  
}

@media print {
  
  
}

/* ---- [C] ปรับ BS5 ให้หน้าตา/พฤติกรรมเหมือน BS3 (เขียนเอง) ---- */
/* body / ลิงก์ : ค่าแบบ BS3 (ห้ามตั้งตัวแปร --bs-* ทับ — ธีม app-assets ตั้ง --bs-primary ฯลฯ เองและหน้าเว็บใช้อยู่) */









/* grid / container / row : กลับเป็น block + float แบบ BS3 (ไม่ใช่ flex) */
:where(body:not(.bs5-grid)) .row { display: block; --bs-gutter-x: 30px; --bs-gutter-y: 0; }
:where(body:not(.bs5-grid)) .row > * { width: auto; max-width: none; padding-left: 0; padding-right: 0; margin-top: 0; flex-shrink: initial; }
:where(body:not(.bs5-grid)) .container,
:where(body:not(.bs5-grid)) .container-fluid { --bs-gutter-x: 30px; }
:where(body:not(.bs5-grid)) .container { max-width: none; }







/* ฟอร์ม */




/* ปุ่ม : ขนาด/สีแบบ BS3 ผ่านตัวแปร BS5 */














/* utility ที่ BS5 ตัดชื่อทิ้ง / ความหมายต่างจาก BS3 */















/* modal / dropdown / tooltip : สถานะ .in .open แบบ BS3 */
@media (min-width: 576px) {  }
@media (min-width: 992px) {  }












/* BS5 วาดลูกศรให้ .dropdown-toggle เอง (BS3 ใช้ <span class="caret">) */

/* (12/11/2026) summernote 0.9.1 build BS5 ไม่มี <span class="caret"> ใช้ลูกศรของ BS5 → เปิดคืนเฉพาะใน editor */

/* ปุ่มเลือกไฟล์ : BS5 ใช้ฟอนต์เว็บ · BS3 ใช้ฟอนต์ของเบราว์เซอร์ */


/* btn-group แบบ BS3 = inline-block + ปุ่ม float (ตัดบรรทัดได้เมื่อแคบ เช่น toolbar summernote บนมือถือ) · BS5 = inline-flex ไม่ตัด */


 /* BS3 ไม่มี .w-100 (ปุ่ม SN Gallery ของ summernote ใส่ไว้) */
/* reboot BS5 : ul/ol padding 2rem (32px) · BS3 ใช้ค่าเบราว์เซอร์ 40px (แผนภูมิ branch เลื่อน 4px) */

/* BS5 .modal-content = flex column · BS3 = block (margin ของลูกยุบรวมต่างกัน) */


/* .card* ไม่มีใน BS3 → ตอน BS3 ไม่มีสไตล์จาก bootstrap (bo ได้จากธีม app-assets ที่โหลดทีหลัง · configmlm ไม่มี) — ล้างค่าที่ BS5 ใส่ให้ */






