/* R49: extension request badges, dialogs and history (equipment, books, mixed loans). */
body .r49-badge {margin-left:4px;white-space:nowrap;}
body .r49-notice {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;
  margin:12px 0;padding:12px 16px;border-left:4px solid #2f6fdf;}
body .r49-notice p {margin:0;}
body .r49-dialog {width:min(720px,calc(100vw - 32px));}
body .r49-hint {margin:4px 0;color:#4a5568;font-size:14px;}
body .r49-history {width:100%;}
body .r49-history td,body .r49-history th {font-size:14px;vertical-align:top;}
body .r49-detail {margin-top:8px;}
body .r49-reject {color:#b42318;}

@media(max-width:767px) {
  body .r49-notice {flex-direction:column;align-items:stretch;}
  body .r49-notice button,body .r49-dialog button {min-height:44px;}
  body .r49-history thead {display:none;}
  body .r49-history tr {display:block;padding:8px 0;border-bottom:1px solid #e3e8f2;}
  body .r49-history td {display:grid;grid-template-columns:minmax(96px,38%) 1fr;gap:8px;padding:4px 0;border:0;}
  body .r49-history td::before {content:attr(data-label);font-weight:600;color:#4a5568;}
}
