.pm-card { direction: rtl; }
.pm-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.pm-filters input[type=search] { flex: 1 1 180px; min-width: 0; }
.pm-filters input, .pm-filters select { padding: 6px 8px; border: 1px solid #c9d3ea; border-radius: 8px; font: inherit; font-size: 14px; }
.pm-filters label { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.pm-bulk { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; margin-bottom: 6px; }
.pm-bulk.is-off { opacity: .55; }
.pm-card .btn { padding: 5px 10px; font-size: 13px; min-height: 0; width: auto; flex: 0 0 auto; margin: 0; }
.pm-pager span { white-space: nowrap; }
.pm-danger { color: #a8122a; border-color: #e4b5bd; }
.pm-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e8f4; }
.pm-row { border-bottom: 1px solid #e3e8f4; }
.pm-row.is-arch { opacity: .6; }
.pm-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 6px 2px; font-size: 13px; }
.pm-name { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #003a7d; cursor: pointer; text-align: right; }
.pm-name:hover { text-decoration: underline; }
.pm-phone, .pm-when { color: #4a5a85; white-space: nowrap; }
.pm-mail { color: #4a5a85; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-stat { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.pm-stat b { font-size: 11px; color: #5b6b9a; font-weight: 600; }
.pm-pill { display: inline-block; border-radius: 999px; padding: 1px 7px; font-size: 12px; line-height: 1.6; border: 1px solid transparent; }
.pm-pill small { opacity: .75; font-size: 11px; }
.pm-ok { background: #e6f6ec; color: #11683a; border-color: #bfe5cd; }
.pm-bad { background: #fde9ec; color: #a8122a; border-color: #f2c1ca; }
.pm-warn { background: #fff4dc; color: #8a5a00; border-color: #f0dba8; }
.pm-unk { background: #eef1f7; color: #5b6b9a; border-color: #dbe1ee; }
.pm-open { background: #e9ecfd; color: #343a9e; border-color: #c9cef5; }
.pm-detail { padding: 6px 4px 12px; font-size: 13px; }
.pm-detail h4 { margin: 10px 0 4px; font-size: 14px; color: #003a7d; }
.pm-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 12px; margin: 0; }
.pm-kv div { display: flex; gap: 6px; min-width: 0; }
.pm-kv dt { color: #5b6b9a; white-space: nowrap; }
.pm-kv dd { margin: 0; overflow-wrap: anywhere; }
.pm-note { font-size: 12px; color: #5b6b9a; margin: 4px 0; }
.pm-err { color: #a8122a; }
.pm-mono { font-family: ui-monospace, Menlo, monospace; font-size: 11px; overflow-wrap: anywhere; }
.pm-scroll { overflow-x: auto; }
.pm-sub { border-collapse: collapse; width: 100%; font-size: 12px; }
.pm-sub th, .pm-sub td { border-bottom: 1px solid #eef1f7; padding: 3px 6px; text-align: right; vertical-align: top; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pm-pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 8px; font-size: 13px; }
@media (max-width: 640px) {
  .pm-line { gap: 3px 8px; }
  .pm-mail { max-width: 150px; }
  .pm-when { order: 3; }
}

/* Table layout (2026-11-12b) */
.pm-bulk { gap: 4px; font-size: 12px; padding: 4px 0; }
.pm-bulk .btn { padding: 3px 8px; font-size: 12px; }
.pm-link { background: none; border: 0; color: #003a7d; text-decoration: underline; font: inherit; cursor: pointer; padding: 0 4px; }
.pm-tablewrap { overflow-x: auto; border: 1px solid #e3e8f4; border-radius: 10px; background: #fff; }
.pm-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; table-layout: auto; }
.pm-table th { position: sticky; top: 0; background: #f4f7fc; color: #003a7d; font-weight: 700; text-align: right; padding: 8px 8px; border-bottom: 1px solid #d5dce8; white-space: nowrap; user-select: none; }
.pm-table th[draggable] { cursor: grab; }
.pm-table th.is-drag { opacity: .45; }
.pm-table th.is-over { box-shadow: inset -3px 0 0 #41d9f8; }
.pm-grip { color: #9aa7c7; font-size: 11px; letter-spacing: -2px; margin-inline-end: 4px; }
.pm-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.pm-table td { padding: 7px 8px; border-bottom: 1px solid #eef1f7; vertical-align: middle; text-align: right; }
.pm-tr:hover td { background: #f8faff; }
.pm-tr.is-open td { background: #f1f5fd; }
.pm-tr.is-arch td { opacity: .55; }
.pm-c-sel { width: 30px; text-align: center !important; }
.pm-c-hook, .pm-c-admin, .pm-c-student, .pm-c-adminOpen, .pm-c-studentOpen { text-align: center !important; }
.pm-table th.pm-c-adminOpen, .pm-table th.pm-c-studentOpen { white-space: normal; max-width: 110px; text-align: center; }
.pm-table th.pm-c-hook, .pm-table th.pm-c-admin, .pm-table th.pm-c-student { white-space: normal; max-width: 110px; text-align: center; }
.pm-trunc { display: inline-block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.pm-c-email .pm-trunc { max-width: 200px; }
.pm-mk { font-size: 15px; font-weight: 700; cursor: help; }
.pm-mk-ok { color: #11683a; } .pm-mk-bad { color: #a8122a; } .pm-mk-part { color: #8a5a00; } .pm-mk-unk { color: #7a86a8; }
.pm-dtr > td { background: #fbfcff; padding: 4px 10px 10px; }
.pm-table .pm-name { font-weight: 600; }
@media (max-width: 640px) { .pm-table { font-size: 12px; } .pm-trunc { max-width: 150px; } }
.pm-selh { display:block; font-size: 11px; font-weight: 600; } .pm-c-sel { width: 44px; }
.pm-who { display:block; font-size: 10px; color:#7a86a8; line-height:1.1; } .pm-none { font-size: 12px; color:#7a86a8; }
#purchaseHealthBanner{margin:12px auto;max-width:1100px;background:#fff1f1;border:2px solid #d92d2d;color:#7a1010;border-radius:14px;padding:12px 16px;direction:rtl;font-size:15px}
#purchaseHealthBanner ul{margin:6px 0;padding-inline-start:18px}
#purchaseHealthBanner .ph-foot{font-size:13px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#purchaseHealthBanner button{background:#d92d2d;color:#fff;border:0;border-radius:999px;padding:5px 14px;cursor:pointer}
