.rt-page { max-width:1120px; min-width:0; }
.rt-page .panel { margin:18px 0; }
.rt-page .rt-actions,.rt-status,.rt-tabs,.rt-selection { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.rt-status { margin:0 0 16px; }
.rt-tabs { margin:20px 0; }
.rt-pill { display:inline-block; padding:6px 10px; border-radius:20px; background:#eef5f3; color:#244d44; font-size:12px; font-weight:600; line-height:1.4; }
.rt-held { background:#fff3df; color:#765215; }
.rt-notice { margin:14px 0; padding:14px 16px; background:#f5f7fa; border:1px solid #e3e8ef; border-radius:10px; line-height:1.65; color:#526073; overflow-wrap:anywhere; }
.rt-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:16px 0; }
.rt-metrics>div { padding:16px; border:1px solid #e5e9ef; border-radius:12px; background:#fff; }
.rt-metrics strong { display:block; color:#213047; font-size:26px; line-height:1.25; }
.rt-metrics span { display:block; margin-top:6px; color:#637084; font-size:12px; }
.rt-filter { display:flex; align-items:flex-end; gap:12px; margin:20px 0; }
.rt-filter .field { flex:1; margin:0; }
.rt-filter>.btn { flex-shrink:0; }
.rt-selection { justify-content:space-between; background:#f8fafc; border:1px solid #e4e9ef; border-radius:10px; padding:12px 16px; margin:16px 0; }
.rt-selection span { margin-right:auto; font-size:13px; }
.rt-records { display:grid; gap:14px; }
.rt-application,.rt-receipt { border:1px solid #e2e7ee; border-radius:12px; padding:20px; background:white; min-width:0; overflow-wrap:anywhere; }
.rt-row-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.rt-row-head .check { align-items:flex-start; margin:0; min-width:0; }
.rt-row-head .check input { margin-top:4px; }
.rt-row-head small { display:block; margin-top:4px; font-size:13px; color:#667285; font-weight:400; }
.rt-row-head .rt-pill { flex-shrink:0; }
.rt-page p { line-height:1.6; }
.rt-preview-list { max-height:290px; overflow:auto; border:1px solid #e5e9ef; border-radius:10px; }
.rt-preview-list>div { padding:12px 16px; border-bottom:1px solid #edf0f4; }
.rt-preview-list>div:last-child { border:0; }
.rt-preview-list span,.rt-preview-list small { display:block; margin-top:4px; color:#637084; }
.rt-blockers { margin:18px 0; padding:14px 18px; border:1px solid #eed8aa; border-radius:10px; background:#fffaf0; }
.rt-history { border-bottom:1px solid #e6ebf1; padding:12px 0; }
.rt-history>span { display:block; font-size:12px; color:#687589; margin-top:4px; }
.rt-history pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; margin:10px 0; }
.rt-page .field { margin-top:14px; }
.rt-page .check { margin-top:12px; }
.rt-page .rt-actions { margin-top:14px; }
.rt-details { border-top:1px solid #e6ebf1; margin-top:14px; padding-top:8px; }
@media(max-width:700px) {
 .rt-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .rt-metrics>div { padding:12px; }
 .rt-filter { flex-direction:column; align-items:stretch; }
 .rt-row-head { flex-direction:column; gap:10px; }
 .rt-application,.rt-receipt { padding:15px; }
 .rt-page .rt-actions>.btn { white-space:normal; }
 .rt-selection { align-items:stretch; }
 .rt-selection>span { flex-basis:100%; }
 .rt-preview-list { max-height:220px; }
}
