:root{font-family:Tahoma,Arial,sans-serif;color:#142c48;background:#f2f5fa;color-scheme:light}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:22px;background:#153e70;color:white;padding:20px 5%}header strong{color:#f2c86b;font-size:30px;letter-spacing:3px}.badge{font-size:12px;background:#294d77;color:#ffe0a1;padding:8px 12px;border-radius:20px}.badge[data-target=recovery]{background:#8a2c1b;color:#fff}main{max-width:1150px;margin:auto;padding:24px}section{background:white;padding:24px;border:1px solid #dce4ef;border-radius:12px;margin-bottom:20px}section section{padding:16px}h1,h2{margin-top:0}h2{font-size:20px}p,footer{line-height:1.8;color:#54677c}label{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}input,select,button{font:inherit;border:1px solid #bbc9dc;border-radius:7px;padding:10px 13px;min-height:42px}button{background:#215f9f;color:white;cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d6a545;outline-offset:2px}input,select{background:white;color:#142c48}#login{max-width:480px;margin:30px auto}#notice{padding:12px 16px;background:#e5eef8;border-right:4px solid #307ac0;margin-bottom:18px;min-height:45px}.error{background:#fff0ef!important;border-color:#a63030!important;color:#8d2020}.toolbar,.actions,nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.toolbar label{min-width:190px;flex:1}nav button{background:#edf2f8;color:#1e4b77}.line{display:grid;grid-template-columns:minmax(150px,1fr) 120px 90px;gap:12px;margin-bottom:12px}table{width:100%;border-collapse:collapse;text-align:right;font-size:14px}td,th{padding:11px;border-bottom:1px solid #dce4ef}th{background:#deebf8}tr:nth-child(even){background:#f4f7fb}td button{font-size:12px;margin:3px}.scroll{overflow:auto}#qr{width:180px;display:block}#qr[hidden],[hidden]{display:none!important}footer{font-size:12px}#logout{margin-right:auto}@media(max-width:650px){header{gap:10px;flex-wrap:wrap;padding:16px}header span{font-size:13px}main{padding:12px}section{padding:16px}.line{grid-template-columns:1fr 90px 65px}.line select{min-width:0}td,th{padding:8px}.toolbar button{flex:1}}
/* Bank review: bounded dialog and independently scrollable tables on phones. */
#bankReviewDialog{width:min(1000px,96vw);max-width:96vw;max-height:92vh;overflow:auto;border:1px solid #bbc9dc;border-radius:12px;padding:18px;color:#142c48;background:white}
#bankReviewDialog>div{max-width:100%;overflow-x:auto}
#bankReviewDialog table{min-width:520px}
#bankReviewDialog textarea{width:100%;max-width:100%;font:inherit;direction:ltr;resize:vertical;min-height:120px}
#bankReviewDialog select,#bankReviewDialog input:not([type=radio]){width:100%;min-width:0}
#bankReviewDialog button{margin:4px;white-space:normal}
#bankReviewDialog input[type=radio]{min-height:24px;min-width:24px}
@media(max-width:650px){#bankReviewDialog{padding:12px}#bankReviewDialog>button{max-width:calc(100% - 8px)}}
