body.pa-standalone .ethic-host{margin-top:8px;position:relative}body.pa-standalone .paeth8-title-cell{overflow:visible!important}.paeth8-control{position:relative;z-index:8}.paeth8-trigger{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#2395dc;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;font:700 13px/1.25 system-ui,-apple-system,"Noto Sans Thai",sans-serif;cursor:pointer;box-shadow:0 2px 6px rgba(15,23,42,.06)}.paeth8-trigger:hover{border-color:#93c5fd;background:#f8fbff}.paeth8-trigger.is-selected{border-color:#86efac;background:#f0fdf4;color:#166534}.paeth8-placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.paeth8-summary{display:flex;align-items:center;gap:7px;min-width:0}.paeth8-summary>span{white-space:nowrap}.paeth8-summary i{display:flex;gap:3px;flex-wrap:wrap;font-style:normal}.paeth8-summary b{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;border-radius:999px;background:#16a34a;color:#fff;font-size:10px}.paeth8-caret{font-size:11px;color:#64748b}.paeth8-menu{display:none;position:absolute;left:0;top:calc(100% + 5px);width:min(440px,72vw);max-height:440px;background:#fff;border:1px solid #cbd5e1;border-radius:13px;box-shadow:0 18px 46px rgba(15,23,42,.2);overflow:hidden;z-index:100}.paeth8-menu.open{display:flex;flex-direction:column}.paeth8-head{padding:11px 12px 8px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.paeth8-head strong{display:block;color:#0f172a}.paeth8-head span{display:block;color:#64748b;font-size:11px;margin-top:2px}.paeth8-options{padding:6px;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.paeth8-options label{display:grid;grid-template-columns:22px 28px 1fr;gap:6px;align-items:start;padding:8px;border-radius:9px;cursor:pointer;color:#334155}.paeth8-options label:hover{background:#eff6ff}.paeth8-options input{margin-top:3px}.paeth8-options b{width:24px;height:24px;border-radius:7px;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-size:11px}.paeth8-options label:has(input:checked){background:#f0fdf4;color:#166534}.paeth8-options label:has(input:checked) b{background:#16a34a;color:#fff}.paeth8-options span{font:600 12px/1.4 system-ui,-apple-system,"Noto Sans Thai",sans-serif}.paeth8-actions{display:flex;align-items:center;gap:8px;padding:9px 10px;border-top:1px solid #e2e8f0;background:#fff}.paeth8-actions button{min-height:34px;border-radius:9px;padding:0 11px;border:1px solid #cbd5e1;background:#fff;font-weight:700;cursor:pointer}.paeth8-actions span{font-size:11px;color:#64748b}.paeth8-actions .save{margin-left:auto;border-color:#16a34a;background:#16a34a;color:#fff}.paeth8-routing{margin-top:14px}.paeth8-route-tabs{display:flex;gap:6px;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.paeth8-route-tabs button{flex:0 0 auto;min-width:68px;height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-weight:800;cursor:pointer}.paeth8-route-tabs button.active{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 5px 12px rgba(37,99,235,.2)}.paeth8-route-title{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:12px 14px;border:1px solid #bfdbfe;border-radius:13px;background:linear-gradient(135deg,#eff6ff,#fff);margin-bottom:10px}.paeth8-route-title>span{display:inline-flex;width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-weight:900}.paeth8-route-title strong{color:#1e3a8a;line-height:1.45}.paeth8-route-title em{font-style:normal;font-size:11px;font-weight:800;background:#dcfce7;color:#166534;border-radius:999px;padding:5px 9px;white-space:nowrap}.paeth8-route-table td:nth-child(3) small{display:block;margin-top:4px;color:#64748b}.paeth8-route-table td:last-child a{display:inline-block;margin-right:5px}.paeth8-route-table td:last-child img{width:58px;height:58px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0}
@media (max-width:1024px),(pointer:coarse){body.pa-standalone:has(.paeth8-menu.open){overflow:hidden!important;touch-action:none}body.pa-standalone:has(.paeth8-menu.open)::before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:10070;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.paeth8-menu.open,.paeth8-menu.mobile-sheet.open,.paeth8-menu.paeth-responsive-portal.open{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:0!important;transform:translateX(-50%)!important;width:min(100vw,720px)!important;max-width:100vw!important;height:min(82dvh,720px)!important;max-height:min(82dvh,720px)!important;border-radius:20px 20px 0 0!important;border-bottom:0!important;z-index:10080!important;box-shadow:0 -18px 60px rgba(15,23,42,.3)!important;overflow:hidden!important;background:#fff!important}.paeth8-head{position:sticky;top:0;z-index:2;padding:14px 16px 10px;background:#fff}.paeth8-head strong{font-size:16px}.paeth8-head span{font-size:12px}.paeth8-options{flex:1 1 auto;min-height:0;padding:8px 10px 12px;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.paeth8-options label{grid-template-columns:28px 34px minmax(0,1fr);gap:8px;padding:11px 9px;border-radius:12px}.paeth8-options input{width:20px;height:20px;margin-top:2px}.paeth8-options b{width:30px;height:30px;border-radius:9px;font-size:12px}.paeth8-options span{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.paeth8-actions{position:sticky;bottom:0;z-index:3;min-height:58px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -8px 18px rgba(15,23,42,.08)}.paeth8-actions button{min-height:42px;padding:0 14px}.paeth8-actions span{font-size:12px}.paeth8-trigger{min-height:44px;font-size:14px}.paeth8-route-title{grid-template-columns:auto 1fr}.paeth8-route-title em{grid-column:2;justify-self:start}.paeth8-route-tabs button{min-width:64px;height:42px}}
@media (max-width:600px){.paeth8-menu.open,.paeth8-menu.mobile-sheet.open,.paeth8-menu.paeth-responsive-portal.open{width:100vw!important;height:min(88dvh,760px)!important;max-height:min(88dvh,760px)!important;border-radius:18px 18px 0 0!important}.paeth8-head{padding-left:14px;padding-right:14px}.paeth8-options{padding-left:8px;padding-right:8px}.paeth8-options label{grid-template-columns:26px 32px minmax(0,1fr);gap:7px;padding:10px 7px}.paeth8-options span{font-size:13px}.paeth8-actions{gap:6px}.paeth8-actions button{padding:0 11px}.paeth8-route-tabs{gap:5px}.paeth8-route-tabs button{min-width:60px}}

/* fit ethics evidence table to tablet/mobile viewport */
body.pa-standalone .paeth8-route-table{width:100%;max-width:100%;overflow:hidden}
body.pa-standalone .paeth8-route-table .pav7-table{
 width:100%!important;min-width:0!important;max-width:100%!important;
 table-layout:fixed
}
body.pa-standalone .paeth8-route-table .pav7-table th,
body.pa-standalone .paeth8-route-table .pav7-table td{
 white-space:normal!important;overflow-wrap:anywhere;word-break:break-word
}
body.pa-standalone .paeth8-route-table .pav7-table th:nth-child(3),
body.pa-standalone .paeth8-route-table .pav7-table td:nth-child(3){width:auto}
body.pa-standalone .paeth8-route-table .pav7-table th:last-child,
body.pa-standalone .paeth8-route-table .pav7-table td:last-child{
 width:150px;min-width:150px;max-width:150px;text-align:center
}
body.pa-standalone .paeth8-route-table td:last-child{vertical-align:middle}
body.pa-standalone .paeth8-route-table td:last-child a{
 display:inline-block;margin:2px
}
body.pa-standalone .paeth8-route-table td:last-child img{
 width:68px;height:68px;max-width:100%;object-fit:cover;margin:0 auto
}
@media(max-width:1100px){
 body.pa-standalone .paeth8-route-table .pav7-table th:last-child,
 body.pa-standalone .paeth8-route-table .pav7-table td:last-child{
  width:160px;min-width:160px;max-width:160px
 }
}
@media(max-width:700px){
 body.pa-standalone .paeth8-route-table .pav7-table th,
 body.pa-standalone .paeth8-route-table .pav7-table td{
  padding:8px 7px;font-size:12px;line-height:1.4
 }
 body.pa-standalone .paeth8-route-table .pav7-table th:last-child,
 body.pa-standalone .paeth8-route-table .pav7-table td:last-child{
  width:112px;min-width:112px;max-width:112px
 }
 body.pa-standalone .paeth8-route-table td:last-child img{
  width:58px;height:58px
 }
}
