/* Narrow screens use real card rows, not a scaled desktop table. */
.history-pager{min-width:0}.history-pager .fine{overflow-wrap:anywhere}
@media(max-width:720px){
 #user-center,#admin-dashboard,.account-layout,.account-layout>*{min-width:0;max-width:100%}
 #user-center .card,#user-detail,#user-operation,.history-pager{min-width:0;overflow-wrap:anywhere}
 #user-operation input,#user-operation select,.admin-filters input,.admin-filters select{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 .operations-users .table-scroll,.history-pager .table-scroll,#user-authority-history .table-scroll{overflow:visible;border:0}
 .operations-users table,.history-pager table,#user-authority-history table,#user-ledger table{min-width:0;width:100%;table-layout:fixed}
 .operations-users thead,.history-pager thead,#user-authority-history thead{display:none}
 .operations-users tbody,.operations-users tr,.history-pager tbody,.history-pager tr,#user-authority-history tbody,#user-authority-history tr{display:block;width:100%}
 .operations-users tbody tr,.history-pager tbody tr,#user-authority-history tbody tr{border:1px solid #e1eaf6;border-radius:12px;background:white;margin-bottom:14px;padding:8px}
 .operations-users td,.history-pager td,#user-authority-history td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;white-space:normal;overflow-wrap:anywhere;padding:8px 4px;font-size:13px}
 .operations-users td::before,.history-pager td::before,#user-authority-history td::before{content:attr(data-label);color:#526783;font-weight:600}
 .operations-users td:last-child,.history-pager td:last-child,#user-authority-history td:last-child{border-bottom:0}
 .history-pager .button-row{gap:8px}.history-pager button{min-height:40px}
 #user-detail-title,.request-line p,#self-identity{overflow-wrap:anywhere}
 .button-row>button,.button-row>a{max-width:100%;white-space:normal}
}
