/* Payments & account services module (bills, standing orders, requests, deposits, withdrawals, inbox, profile, KYC, support). */
.pm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pm-cat h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: #1d3650; display: flex; gap: 6px; align-items: center; }
.pm-cat h4 i { color: var(--blue, #0a6fd2); }
.pm-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pm-cat li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 3px; font-size: 12.5px; }
.pm-cat li a:hover, .pm-cat li a.on { background: #eef6ff; }
.pm-cat li a small { color: var(--muted); white-space: nowrap; }
.pm-summary { background: #f5f9fc; border: 1px solid #d6e0e9; border-radius: 4px; padding: 10px 12px; display: grid; gap: 4px; font-size: 12.5px; }
.pm-summary div { display: flex; justify-content: space-between; gap: 10px; }
.pm-summary div.total { border-top: 1px solid #d6e0e9; padding-top: 6px; margin-top: 2px; font-weight: 700; }
.pm-hide { display: none !important; }
.pm-amount { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; color: #09203b; line-height: 1.2; }
.pm-amount small { font-size: 13px; color: var(--muted); font-weight: 400; display: block; }
.pm-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid #d6e0e9; background: #eef6ff; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #0a4f9a; flex: none; }
.pm-profilehead { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pm-profilehead b { font-size: 16px; display: block; }
.pm-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.pm-doc { border: 1px solid #d6e0e9; border-radius: 4px; padding: 8px; background: #fff; min-width: 0; }
.pm-doc .tl { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 6px; }
.pm-doc .ph { height: 160px; display: grid; place-items: center; background: #eff4f8; border: 1px dashed #c6d3df; border-radius: 3px; color: var(--muted); font-size: 12px; text-align: center; padding: 6px; }
.pm-thread { display: grid; gap: 10px; }
.pm-thread .ct-msg.mine { margin-left: 8%; }
.pm-thread .ct-msg.staff { margin-right: 8%; }
.pm-thread .att { margin-top: 8px; font-size: 12px; }
.pm-inbox td.unread b { color: #09203b; }
.pm-inbox tr.unread td { background: #f7fbff; }
.pm-inbox .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #0a6fd2; margin-right: 6px; }
.pm-msgbody { white-space: pre-wrap; line-height: 1.6; font-size: 13.5px; }
.pm-endopts { display: grid; gap: 8px; }
.pm-upcoming { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-upcoming span { border: 1px solid #c2d9f5; background: #eef6ff; border-radius: 3px; padding: 4px 8px; font-size: 12px; font-weight: 700; color: #0a4f9a; }
.pm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pm-actions form { margin: 0; }
.pm-gwlist { display: grid; gap: 8px; }
.pm-gw { display: flex; gap: 12px; align-items: center; border: 1px solid #b9c8d6; border-radius: 4px; padding: 12px; background: #fff; color: inherit; }
.pm-gw:hover { border-color: #0a6fd2; background: #f5faff; text-decoration: none; }
.pm-gw i.big { font-size: 22px; color: #0a6fd2; flex: none; width: 30px; text-align: center; }
.pm-gw .t { flex: 1; min-width: 0; }
.pm-gw .t b { display: block; }
.pm-gw .t small { color: var(--muted); display: block; }
.pm-gw .chev { color: var(--muted); }
@media (max-width: 600px) {
    .pm-thread .ct-msg.mine, .pm-thread .ct-msg.staff { margin: 0; }
    .pm-amount { font-size: 22px; }
}
.pm-form .ct-row { align-items: start; }
.pm-inbox { table-layout: fixed; width: 100%; }
.pm-inbox td { white-space: normal; }
.pm-inbox td.pm-ic { width: 46px; }
.pm-inbox td.pm-when { width: 96px; white-space: nowrap; }
.pm-inbox td a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-inbox td .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .pm-inbox td.pm-ic { width: 38px; padding-right: 0; } .pm-inbox td.pm-when { width: 64px; font-size: 11.5px; } }
