/* R87 category mobile usability */
.r87-category #types .tc-grid{align-items:stretch!important}
.r87-category #types .tcard{height:auto!important;align-self:stretch!important}
.r87-category #types .tc-body{flex:1;display:flex;flex-direction:column;min-width:0}
.r87-category #types .tc-go{margin-top:auto;padding-top:14px}
.r87-category .r71-filter-row input{min-width:0}
.r87-category .dtable-wrap:focus-visible{outline:3px solid #1979b9;outline-offset:3px}
@media(max-width:640px){
 .r87-category #types .tc-grid{display:flex;flex-direction:column;gap:14px}
 .r87-category #types .tc-grid .tcard{flex:0 0 auto!important;width:100%;flex-direction:row!important;min-height:150px}
 .r87-category #types .tc-grid .tc-img{flex:0 0 120px!important;width:120px!important;height:120px!important;min-height:120px!important;aspect-ratio:1/1;align-self:center;border-bottom:0;border-right:1px solid #dce2e7}
 .r87-category #types .tc-grid .tc-body{min-height:150px!important;padding:14px;box-sizing:border-box}
 .r87-category #types .tc-grid .tc-body h3{font-size:16px;line-height:1.5}
 .r87-category #types .tc-grid .tc-code,.r87-category #types .tc-grid .mono{overflow-wrap:anywhere}
 .r87-category .r71-filter-row{display:flex;flex-direction:column;align-items:stretch}
 .r87-category .r71-filter-row input,.r87-category .r71-filter-row .btn{width:100%;box-sizing:border-box;min-height:44px;white-space:normal}
 .r87-category .catp-table,.r87-category .catp-table *{box-sizing:border-box}
 .r87-category .catp-table td[data-label-en]::before{content:attr(data-label-en);display:block;font-size:12px;font-weight:700;color:#546779;margin:5px 0 2px}
 .r87-category.lang-th .catp-table td[data-label-th]::before{content:attr(data-label-th)}
 .r87-category .catp-table td{overflow-wrap:anywhere}
 .r87-category .catp-table .ic-code{overflow-wrap:anywhere}
 .r87-category .catp-table .rq{display:inline-flex;align-items:center;min-height:44px}
 .r87-category .r79-nav{gap:8px}.r87-category .r79-nav a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
 .r87-category .catp-filter{max-width:100%;width:100%;box-sizing:border-box}
 .r87-category .catp-filter input{width:100%;min-width:0;box-sizing:border-box}
}
@media(max-width:360px){.r87-category #types .tc-grid .tc-img{flex-basis:96px!important;width:96px!important;height:96px!important;min-height:96px!important}}
