.wfm-wrap{max-width:1400px;margin-top:24px;color:#16324f}.wfm-hero{display:flex;align-items:center;gap:18px;padding:24px 28px;border-radius:18px;background:linear-gradient(120deg,#062f5d,#087e69);color:#fff;box-shadow:0 10px 28px rgba(0,35,70,.14);margin:18px 0 24px}.wfm-brand-mark{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#ffb52e,#fff);color:#064576;font-size:34px;font-weight:900;display:flex;align-items:center;justify-content:center}.wfm-hero h1{color:#fff;font-size:27px;margin:0 0 5px}.wfm-hero p{margin:0;color:#e0f5ff}.wfm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.wfm-stat{padding:22px;border-radius:15px;background:#fff;border:1px solid #dce8f2;box-shadow:0 5px 18px rgba(0,40,80,.05)}.wfm-stat span{display:block;color:#536a7e;font-size:14px}.wfm-stat strong{display:block;font-size:29px;color:#075b69;margin-top:8px}.wfm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.wfm-tile{background:#fff;border:1px solid #dce8f2;border-radius:15px;padding:24px;text-decoration:none;box-shadow:0 5px 18px rgba(0,40,80,.05);transition:.2s}.wfm-tile:hover{transform:translateY(-3px);border-color:#07806d}.wfm-tile .dashicons{font-size:32px;width:36px;height:36px;color:#f28a16}.wfm-tile h2{font-size:18px;color:#063a67;margin:18px 0 8px}.wfm-tile p{color:#5d7081;line-height:1.6}.wfm-panel{background:#fff;border:1px solid #dce8f2;border-radius:15px;padding:24px;margin:18px 0;box-shadow:0 5px 18px rgba(0,40,80,.04)}.wfm-panel h2{margin-top:0;color:#073b66}.wfm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wfm-form label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#28465d}.wfm-form input,.wfm-form select,.wfm-form textarea{max-width:100%;width:100%;border:1px solid #cbd9e5;border-radius:8px;padding:10px 12px;min-height:42px}.wfm-form .wfm-wide{grid-column:1/-1}.wfm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;flex-wrap:wrap}.wfm-toolbar form{display:flex;gap:8px}.wfm-toolbar input{min-width:280px;padding:7px 10px}.wfm-thumb{width:42px;height:42px;object-fit:cover;border-radius:50%}.wfm-avatar{display:inline-flex;width:40px;height:40px;border-radius:50%;background:#e3f2f7;color:#075b69;align-items:center;justify-content:center;font-weight:bold}.wfm-status{padding:4px 9px;border-radius:20px;font-size:12px}.wfm-status.active{background:#e1f7eb;color:#14723c}.wfm-status.inactive{background:#fbe7e7;color:#9a3030}.wfm-total{font-size:17px;color:#28465d}.wfm-total strong{font-size:23px;color:#087e69}.wfm-card-wrap{margin-top:26px}.wfm-idcard{width:540px;max-width:100%;border-radius:18px;overflow:hidden;border:1px solid #d5e3ed;box-shadow:0 10px 30px rgba(0,40,80,.15);background:#fff}.wfm-idhead{display:flex;align-items:center;gap:13px;background:linear-gradient(110deg,#073463,#07816d);color:white;padding:17px 22px}.wfm-idlogo{width:47px;height:47px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#075b69;font-size:25px;font-weight:900}.wfm-idhead strong{display:block;font-size:20px;letter-spacing:.5px}.wfm-idhead small{display:block;color:#dff5ed;margin-top:3px}.wfm-idbody{display:flex;gap:18px;padding:22px}.wfm-idphoto{width:118px;height:145px;object-fit:cover;border:3px solid #e0edf4;border-radius:10px;flex-shrink:0}.wfm-idplaceholder{display:flex;align-items:center;justify-content:center;background:#edf3f8;color:#73879a;font-weight:bold}.wfm-idinfo h3{margin:0 0 10px;color:#073b66;font-size:21px}.wfm-idinfo p{margin:6px 0;color:#344d61;line-height:1.4;overflow-wrap:anywhere}.wfm-idfoot{padding:10px 18px;background:#f0f7fa;color:#31566b;text-align:center;font-size:12px}.wfm-card-wrap h2{display:flex;gap:15px;align-items:center;flex-wrap:wrap}@media(max-width:1000px){.wfm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wfm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wfm-grid,.wfm-stats,.wfm-form-grid{grid-template-columns:1fr}.wfm-form .wfm-wide{grid-column:auto}.wfm-idbody{padding:14px;gap:10px}.wfm-idphoto{width:90px;height:115px}.wfm-idhead strong{font-size:16px}.wfm-toolbar input{min-width:0;width:190px}}

/* Anti-copy visual watermark: decorative only; unique member ID and expiry date help verification. */
.wfm-idcard,.wfm-portal-id{position:relative;isolation:isolate;overflow:hidden;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wfm-idcard:before,.wfm-portal-id:before{content:'W';position:absolute;z-index:0;right:16px;bottom:16px;font-family:Arial,sans-serif;font-weight:900;font-size:180px;line-height:.8;color:rgba(7,59,101,.075);pointer-events:none;transform:rotate(-8deg)}
.wfm-idcard:after,.wfm-portal-id:after{content:'WAVE FOUNDATION  •  OFFICIAL MEMBER';position:absolute;z-index:0;left:12px;right:12px;top:57%;text-align:center;font-weight:900;font-size:17px;letter-spacing:2px;color:rgba(8,126,105,.11);transform:rotate(-20deg);pointer-events:none;white-space:nowrap}
.wfm-idhead,.wfm-idbody,.wfm-idfoot,.wfm-portal-id-head,.wfm-portal-id-body,.wfm-portal-id footer,.wfm-portal-print{position:relative;z-index:1}
.wfm-idhead,.wfm-portal-id-head{background-image:linear-gradient(115deg,#073463,#087e69)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wfm-idfoot,.wfm-portal-id footer{background-color:#edf7f6!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wfm-idcard p,.wfm-portal-id p{overflow-wrap:anywhere}

/* Front-end member portal */
.wfm-portal-login,.wfm-member-portal,.wfm-portal-message{max-width:1000px;margin:28px auto;padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 12px 35px rgba(15,23,42,.08);color:#1e293b;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wfm-portal-login{max-width:460px}.wfm-portal-brand{background:linear-gradient(120deg,#073b65,#087e69);color:#fff;padding:18px;border-radius:12px;margin-bottom:22px;display:flex;justify-content:space-between;gap:12px;align-items:center}.wfm-portal-brand strong{font-size:20px;white-space:nowrap;letter-spacing:.2px}.wfm-portal-brand span{font-size:13px}.wfm-portal-login h2{margin:0 0 8px}.wfm-portal-login form p{margin:14px 0}.wfm-portal-login label{display:block;font-weight:600;margin-bottom:5px}.wfm-portal-login input[type=text],.wfm-portal-login input[type=password]{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box}.wfm-portal-login input[type=submit],.wfm-portal-print{background:#e87924;color:#fff;border:0;padding:11px 17px;border-radius:8px;font-weight:700;cursor:pointer}.wfm-member-portal header{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(120deg,#073b65,#087e69);color:#fff;padding:24px;border-radius:14px;margin-bottom:22px}.wfm-member-portal header h2{margin:5px 0;color:#fff}.wfm-member-portal header p{margin:0;color:#e2f3f1}.wfm-portal-kicker{font-size:12px;letter-spacing:1.4px;font-weight:800}.wfm-portal-logout{color:#fff!important;border:1px solid rgba(255,255,255,.7);border-radius:8px;padding:9px 13px;text-decoration:none!important;white-space:nowrap}.wfm-portal-id{max-width:760px;margin:0 auto 28px;border:1px solid #dbe5ed;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.08)}.wfm-portal-id-head{background:#073b65;color:#fff;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.wfm-portal-id-head strong{font-size:19px;white-space:nowrap}.wfm-portal-id-body{display:flex;gap:20px;padding:22px;align-items:flex-start}.wfm-portal-id-body>img,.wfm-portal-photo-placeholder{width:112px;height:132px;object-fit:cover;border-radius:8px;border:2px solid #e2e8f0;flex-shrink:0}.wfm-portal-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#e6f4f1;color:#087e69;font-size:42px;font-weight:800}.wfm-portal-id-body h3{margin:0 0 10px;color:#073b65}.wfm-portal-id-body p{margin:5px 0;line-height:1.5}.wfm-portal-id footer{background:#f1f5f9;padding:10px 18px;font-size:12px}.wfm-portal-print{display:block;margin:14px auto}.wfm-portal-ledger{margin-top:26px}.wfm-portal-ledger h3{color:#073b65}.wfm-portal-table-wrap{overflow-x:auto}.wfm-portal-ledger table{width:100%;border-collapse:collapse}.wfm-portal-ledger th,.wfm-portal-ledger td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}.wfm-portal-ledger th{background:#f1f5f9}.wfm-portal-footnote{font-size:13px;color:#64748b}.wfm-portal-message{padding:22px}.wfm-portal-message a{display:inline-block;margin-top:10px}@media(max-width:600px){.wfm-member-portal,.wfm-portal-login{padding:14px;margin:12px auto}.wfm-member-portal header{padding:17px;align-items:flex-start}.wfm-portal-brand strong,.wfm-portal-id-head strong{font-size:15px}.wfm-portal-id-body{padding:14px;gap:12px}.wfm-portal-id-body>img,.wfm-portal-photo-placeholder{width:82px;height:100px}.wfm-portal-id-body p{font-size:13px}.wfm-portal-id-head{padding:13px}}


/* Reliable card-only printing for wp-admin and the frontend member portal. */
@page{size:auto;margin:8mm}
@media print{
  html,body{background:#fff!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
  body.wfm-print-card *{visibility:hidden!important}
  body.wfm-print-card .wfm-idcard,body.wfm-print-card .wfm-idcard *,
  body.wfm-print-card .wfm-portal-id,body.wfm-print-card .wfm-portal-id *{visibility:visible!important}
  body.wfm-print-card .wfm-idcard,body.wfm-print-card .wfm-portal-id{display:block!important;position:absolute!important;left:0!important;top:0!important;margin:0!important;width:85.6mm!important;min-width:85.6mm!important;max-width:85.6mm!important;min-height:54mm!important;height:auto!important;box-sizing:border-box!important;border:1px solid #0b6170!important;border-radius:3mm!important;box-shadow:none!important;overflow:hidden!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body.wfm-print-card .wfm-card-wrap,body.wfm-print-card .wfm-member-portal{margin:0!important;padding:0!important;width:auto!important;max-width:none!important;border:0!important;box-shadow:none!important;background:#fff!important}
  body.wfm-print-card .wfm-card-wrap>h2,body.wfm-print-card .wfm-card-wrap>.description,
  body.wfm-print-card .wfm-portal-print,body.wfm-print-card .wfm-portal-login,
  body.wfm-print-card .wfm-member-portal>header,body.wfm-print-card .wfm-portal-ledger,
  body.wfm-print-card .wfm-portal-footnote{display:none!important}
  body.wfm-print-card .wfm-idhead,body.wfm-print-card .wfm-portal-id-head{padding:3.5mm!important;min-height:16mm!important;box-sizing:border-box!important}
  body.wfm-print-card .wfm-idlogo{width:11mm!important;height:11mm!important;min-width:11mm!important;font-size:17pt!important}
  body.wfm-print-card .wfm-idhead strong,body.wfm-print-card .wfm-portal-id-head strong{font-size:13pt!important;white-space:nowrap!important}
  body.wfm-print-card .wfm-idhead small{font-size:7pt!important}
  body.wfm-print-card .wfm-idbody,body.wfm-print-card .wfm-portal-id-body{display:flex!important;gap:3mm!important;padding:3.5mm!important;box-sizing:border-box!important}
  body.wfm-print-card .wfm-idphoto,body.wfm-print-card .wfm-portal-id-body>img,body.wfm-print-card .wfm-portal-photo-placeholder{width:22mm!important;height:28mm!important;min-width:22mm!important;object-fit:cover!important}
  body.wfm-print-card .wfm-idinfo h3,body.wfm-print-card .wfm-portal-id-body h3{font-size:11pt!important;margin:0 0 1.5mm!important}
  body.wfm-print-card .wfm-idinfo p,body.wfm-print-card .wfm-portal-id-body p{font-size:7.2pt!important;line-height:1.25!important;margin:1mm 0!important;color:#263a4a!important}
  body.wfm-print-card .wfm-idfoot,body.wfm-print-card .wfm-portal-id footer{font-size:6.4pt!important;line-height:1.25!important;padding:2.5mm!important;background:#edf7f6!important;color:#214457!important;text-align:center!important}
  body.wfm-print-card .wfm-idcard:before,body.wfm-print-card .wfm-idcard:after,body.wfm-print-card .wfm-portal-id:before,body.wfm-print-card .wfm-portal-id:after{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
}

/* Clickable and scannable Wave Foundation website QR code on member cards */
.wfm-website-qr{display:flex;justify-content:center;align-items:center;margin:5px auto 0;position:relative;z-index:2}
.wfm-website-qr a{display:inline-flex;align-items:center;gap:5px;color:#075b69!important;text-decoration:none!important;font-size:10px;font-weight:800}
.wfm-website-qr img{display:block;width:48px;height:48px;object-fit:contain;background:#fff;border:2px solid #fff;border-radius:2px}
.wfm-website-qr span{white-space:nowrap}
.wfm-portal-id .wfm-website-qr img{width:44px;height:44px}
@media print{.wfm-website-qr img{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* v1.1.8: place clickable website QR directly below the member photo; do not print the URL as text */
.wfm-id-photo-wrap,.wfm-portal-photo-wrap{display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 auto;position:relative;z-index:2}
.wfm-id-photo-wrap .wfm-website-qr,.wfm-portal-photo-wrap .wfm-website-qr{margin:2px auto 0;line-height:0}
.wfm-website-qr a{display:inline-flex;align-items:center;justify-content:center;line-height:0}
.wfm-website-qr img{width:42px;height:42px;max-width:100%;object-fit:contain}
.wfm-portal-photo-wrap>img,.wfm-portal-photo-wrap>.wfm-portal-photo-placeholder{width:112px;height:132px;object-fit:cover;border-radius:8px;border:2px solid #e2e8f0;flex-shrink:0}
@media(max-width:600px){.wfm-id-photo-wrap .wfm-idphoto,.wfm-portal-photo-wrap>img,.wfm-portal-photo-wrap>.wfm-portal-photo-placeholder{width:82px;height:100px}.wfm-website-qr img{width:34px;height:34px}}
@media print{.wfm-website-qr img{width:10mm!important;height:10mm!important;object-fit:contain!important}.wfm-id-photo-wrap,.wfm-portal-photo-wrap{gap:1mm!important}.wfm-id-photo-wrap .wfm-website-qr,.wfm-portal-photo-wrap .wfm-website-qr{margin:0 auto!important}}
