:root{
  --rmp-brand:#2563eb;
  --rmp-navy:#0f172a;
  --rmp-text:#0f172a;
  --rmp-muted:#52647d;
  --rmp-bg:#f5f7fb;
  --rmp-card:#ffffff;
  --rmp-border:#dfe5ef;
  --rmp-shadow:0 24px 70px rgba(15,23,42,.10);
  --rmp-radius:20px;
}
html,body.rmp-canvas-page{margin:0!important;padding:0!important;background:var(--rmp-bg)!important;min-height:100%;}
html{margin-top:0!important;}
body.rmp-canvas-page{font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;color:var(--rmp-text);}
body.rmp-canvas-page *{box-sizing:border-box;}
body.rmp-canvas-page #wpadminbar{display:none!important;}
body.rmp-canvas-page a{text-decoration:none;color:inherit;}
body.rmp-canvas-page .joinchat,
body.rmp-canvas-page .joinchat__button,
body.rmp-canvas-page .wa__widget,
body.rmp-canvas-page .wa-widget,
body.rmp-canvas-page .whatsapp-float,
body.rmp-canvas-page .whatsapp_float,
body.rmp-canvas-page .floating-whatsapp,
body.rmp-canvas-page #ht-ctc-chat,
body.rmp-canvas-page .ht-ctc-chat{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}

.rmp-app{min-height:100vh;display:flex;background:linear-gradient(90deg,#fff 0,#fff 360px,#f4f7fc 360px,#f4f7fc 100%);}
.rmp-sidebar{width:340px;flex:0 0 340px;background:#fff;border-right:1px solid var(--rmp-border);padding:28px 22px;position:sticky;top:0;height:100vh;align-self:flex-start;overflow:auto;}
.rmp-sidebar-brand{margin:0 0 28px;display:grid;gap:2px;}
.rmp-sidebar-brand span{font-size:14px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--rmp-brand);}
.rmp-brand-line{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:14px;font-weight:900;font-size:18px;line-height:1.1;color:var(--rmp-text);}
.rmp-brand-line img{max-width:62px;max-height:62px;object-fit:contain;}
.rmp-sidebar-brand-line{justify-content:flex-start;margin:0;font-size:18px;}
.rmp-sidebar-brand-line img{max-width:58px;max-height:58px;}
.rmp-nav{width:100%;display:block;text-align:left;margin:0 0 10px;padding:17px 20px;border:1px solid var(--rmp-border);border-radius:10px;background:#fff;color:#111827;font-weight:750;font-size:16px;cursor:pointer;transition:.15s ease;}
.rmp-nav:hover{border-color:var(--rmp-brand);box-shadow:0 10px 25px rgba(37,99,235,.08);}
.rmp-nav.active{background:var(--rmp-navy);border-color:var(--rmp-navy);color:#fff;box-shadow:0 18px 35px rgba(15,23,42,.16);}
.rmp-main{flex:1;min-width:0;padding:38px 44px;max-width:1600px;margin:0 auto;width:100%;}
.rmp-dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid var(--rmp-border);}
.rmp-dashboard-header h1{margin:0;font-size:clamp(34px,4vw,56px);line-height:1.03;letter-spacing:-.055em;font-weight:500;color:#05070d;max-width:960px;}
.rmp-eyebrow{margin:0 0 12px;text-transform:uppercase;letter-spacing:.22em;color:var(--rmp-brand);font-size:13px;font-weight:900;}
.rmp-muted{color:var(--rmp-muted);font-size:18px;line-height:1.6;margin:12px 0 0;}
.rmp-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.rmp-btn{border:0;border-radius:8px;background:var(--rmp-navy)!important;color:#fff!important;font-weight:800;font-size:16px;min-height:50px;padding:13px 22px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 20px 35px rgba(15,23,42,.15);transition:.18s ease;line-height:1.2;}
.rmp-btn:hover{transform:translateY(-1px);filter:brightness(1.04);}
.rmp-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;}
.rmp-btn-outline{background:#fff!important;color:var(--rmp-navy)!important;border:1px solid var(--rmp-border)!important;box-shadow:none!important;}
.rmp-btn-danger{background:#fff!important;color:#b91c1c!important;border:1px solid #fecaca!important;box-shadow:none!important;}
.rmp-btn-small{min-height:38px;padding:9px 14px;font-size:14px;border-radius:7px;box-shadow:none;}
.rmp-table-actions{display:flex;gap:8px;align-items:center;}
.rmp-table-actions .rmp-edit{background:var(--rmp-navy)!important;color:#fff!important;}

.rmp-tab{display:none;}
.rmp-tab.active{display:block;}
.rmp-grid{display:grid;gap:22px;}
.rmp-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:22px;}
.rmp-stat,.rmp-panel,.rmp-form-card,.rmp-login-card{background:#fff;border:1px solid var(--rmp-border);border-radius:var(--rmp-radius);box-shadow:var(--rmp-shadow);}
.rmp-stat{padding:26px 28px;min-height:160px;display:grid;align-content:center;gap:12px;}
.rmp-stat span{font-size:17px;color:#3b4c63;font-weight:900;}
.rmp-stat strong{font-size:44px;line-height:1;font-weight:900;color:var(--rmp-navy);letter-spacing:-.05em;}
.rmp-stat small{font-size:16px;color:var(--rmp-muted);line-height:1.5;}
.rmp-panel{padding:28px;margin-bottom:22px;}
.rmp-panel h2,.rmp-modal-card h2{font-size:30px;line-height:1.1;font-weight:550;letter-spacing:-.03em;margin:0 0 20px;color:#05070d;}
.rmp-two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.rmp-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}
.rmp-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.rmp-filters input,.rmp-filters select{min-width:260px;}
.rmp-upload{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:18px;}
.rmp-upload input[type=file]{flex:1;min-width:260px;border:1px dashed var(--rmp-border);border-radius:10px;padding:16px;background:#fff;}
.rmp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;}
.rmp-stack{display:grid;gap:15px;}
.rmp-stack hr{width:100%;height:1px;border:0;background:var(--rmp-border);margin:22px 0 12px;}
.rmp-app label,.rmp-simple-page label{font-size:16px;font-weight:600;color:#111827;display:grid;gap:8px;}
.rmp-app input,.rmp-app select,.rmp-app textarea,.rmp-simple-page input,.rmp-simple-page select,.rmp-simple-page textarea{width:100%;border:1px solid #d7dee9;background:#fff;color:#111827;border-radius:8px;min-height:56px;padding:14px 16px;font-size:17px;outline:none;}
.rmp-app input:focus,.rmp-app select:focus,.rmp-simple-page input:focus,.rmp-simple-page select:focus{border-color:var(--rmp-brand);box-shadow:0 0 0 4px rgba(37,99,235,.10);}
.rmp-checkbox{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;font-weight:800!important;}
.rmp-checkbox input{width:24px!important;height:24px!important;min-height:auto!important;padding:0!important;}

.rmp-table-wrap{overflow:auto;border:1px solid var(--rmp-border);border-radius:16px;background:#fff;}
.rmp-table{border-collapse:collapse;width:100%;min-width:1120px;}
.rmp-table th,.rmp-table td{padding:18px 20px;border-bottom:1px solid var(--rmp-border);text-align:left;vertical-align:middle;}
.rmp-table th{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:#64748b;background:#f8fafc;font-weight:900;}
.rmp-table td{font-size:16px;color:#17233a;}
.rmp-table td strong{font-size:17px;color:#030712;}
.rmp-table td small{display:block;margin-top:4px;color:#64748b;}
.rmp-pill{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900;background:#eef2ff;color:#1d4ed8;white-space:nowrap;}
.rmp-pill.checked_in{background:#e7faee;color:#047857;}
.rmp-pill.otp_sent{background:#fff7ed;color:#c2410c;}
.rmp-pill.imported{background:#eff6ff;color:#1d4ed8;}
.rmp-pill.registered{background:#f0fdf4;color:#15803d;}
.rmp-bars{display:grid;gap:16px;}
.rmp-bar-row{display:grid;gap:8px;}
.rmp-bar-label{display:flex;justify-content:space-between;gap:10px;font-size:16px;color:#17233a;font-weight:850;}
.rmp-bar-track{height:12px;background:#e8edf5;border-radius:999px;overflow:hidden;}
.rmp-bar-fill{height:100%;background:var(--rmp-brand);border-radius:999px;transition:width .35s ease;}
.rmp-result{margin-top:16px;display:grid;gap:10px;}
.rmp-notice{padding:15px 18px;border-radius:14px;border:1px solid var(--rmp-border);background:#f8fafc;color:#111827;font-size:16px;line-height:1.5;}
.rmp-notice.success{background:#ecfdf5;border-color:#a7f3d0;color:#047857;}
.rmp-notice.error{background:#fff1f2;border-color:#fecdd3;color:#be123c;}
.rmp-person-card{border:1px solid var(--rmp-border);border-radius:16px;padding:20px 22px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.08);display:grid;gap:9px;color:#17233a;}
.rmp-person-card h3{font-size:22px;margin:0;color:#030712;}
.rmp-person-card p{margin:0;color:#334155;font-size:16px;}
.rmp-person-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;}

.rmp-simple-page{min-height:100vh;background:var(--rmp-bg);padding:30px 16px;display:grid;align-content:start;justify-items:center;gap:20px;}
.rmp-login-card,.rmp-form-card{width:min(100%,620px);padding:36px;border-top:5px solid var(--rmp-brand);}
.rmp-login-card{text-align:left;}
.rmp-login-card .rmp-brand-line,.rmp-form-card .rmp-brand-line{text-align:center;justify-content:center;margin-bottom:14px;font-size:19px;}
.rmp-login-card h1{font-size:36px;line-height:1.1;letter-spacing:-.04em;font-weight:500;text-align:center;margin:0 0 12px;color:#030712;}
.rmp-login-card p{font-size:16px;color:var(--rmp-muted);line-height:1.6;text-align:center;margin:0 0 24px;}
.rmp-login-form{margin-top:20px;}
.rmp-form-card h1{font-size:32px;line-height:1.15;font-weight:550;letter-spacing:-.035em;text-align:center;margin:0 0 24px;color:#030712;}
.rmp-volunteer-page .rmp-form-card{width:min(100%,700px);}
.rmp-footer{font-size:16px;color:#52647d;margin-top:6px;}
.rmp-footer span{color:#ef3340;font-weight:900;}
.rmp-footer strong{color:#0f172a;}

.rmp-modal{position:fixed;inset:0;background:rgba(15,23,42,.42);display:none;align-items:center;justify-content:center;padding:20px;z-index:999999;}
.rmp-modal.active{display:flex;}
.rmp-modal-card{width:min(100%,520px);background:#fff;border:1px solid var(--rmp-border);border-radius:20px;box-shadow:0 24px 90px rgba(15,23,42,.28);padding:28px;position:relative;}
.rmp-modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:999px;border:1px solid var(--rmp-border);background:#fff!important;color:var(--rmp-navy)!important;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center;}
.rmp-success-card{text-align:center;}
.rmp-success-card p{color:#52647d;font-size:16px;line-height:1.6;}

.rmp-admin-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);align-items:center;justify-content:center;z-index:99999;}
.rmp-admin-modal-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.25);position:relative;width:min(520px,94vw);}
.rmp-admin-modal-close{position:absolute;top:12px;right:14px;font-size:28px;text-decoration:none;}
.rmp-repeat-row{display:flex;gap:8px;align-items:center;}

@media(max-width:1200px){
  .rmp-app{display:block;background:#f4f7fc;}
  .rmp-sidebar{width:auto;height:auto;position:relative;display:flex;gap:10px;overflow:auto;align-items:center;padding:16px;}
  .rmp-sidebar-brand{min-width:210px;margin:0;}
  .rmp-nav{white-space:nowrap;width:auto;margin:0;}
  .rmp-main{padding:24px;}
  .rmp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rmp-two-col{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .rmp-dashboard-header,.rmp-section-head{display:grid;}
  .rmp-dashboard-header h1{font-size:34px;}
  .rmp-stat-grid,.rmp-form-grid{grid-template-columns:1fr;}
  .rmp-actions,.rmp-actions .rmp-btn,.rmp-filters,.rmp-filters input,.rmp-filters select{width:100%;}
  .rmp-main{padding:16px;}
  .rmp-login-card,.rmp-form-card{padding:28px 20px;}
}

/* RMP 2.2 hard UI reset: removes old pink styles and keeps dashboard stable. */
body.rmp-canvas-page .rmp-nav{background:#fff!important;color:#0f172a!important;border-color:#dfe5ef!important;box-shadow:none!important;}
body.rmp-canvas-page .rmp-nav.active{background:var(--rmp-navy)!important;color:#fff!important;border-color:var(--rmp-navy)!important;box-shadow:0 18px 35px rgba(15,23,42,.16)!important;}
body.rmp-canvas-page .rmp-btn{background:var(--rmp-navy)!important;color:#fff!important;border-color:var(--rmp-navy)!important;}
body.rmp-canvas-page .rmp-btn-danger{background:#fff!important;color:#dc2626!important;border:1px solid #fecaca!important;box-shadow:none!important;}
body.rmp-canvas-page .rmp-table-actions .rmp-edit{background:var(--rmp-navy)!important;color:#fff!important;border-color:var(--rmp-navy)!important;}
body.rmp-canvas-page .rmp-modal-close{background:#fff!important;color:var(--rmp-navy)!important;border-color:#dfe5ef!important;}
.rmp-dashboard-header h1{font-size:clamp(32px,3.1vw,46px)!important;letter-spacing:-.04em!important;max-width:1080px!important;}
.rmp-panel h2,.rmp-modal-card h2{font-size:clamp(24px,2.2vw,30px)!important;}
.rmp-brand-line{font-size:20px!important;}
.rmp-sidebar-brand-line{font-size:18px!important;}
.rmp-table{min-width:1180px!important;}
.rmp-table th,.rmp-table td{padding:16px 18px!important;}
.rmp-actions{min-width:260px;justify-content:flex-end;}
@media(max-width:1200px){.rmp-actions{min-width:0;justify-content:flex-start;}.rmp-dashboard-header h1{font-size:34px!important;}}

/* RMP 2.2.1 compact dashboard sidebar */
@media(min-width:1201px){
  body.rmp-canvas-page .rmp-app{background:linear-gradient(90deg,#fff 0,#fff 260px,#f4f7fc 260px,#f4f7fc 100%)!important;}
  body.rmp-canvas-page .rmp-sidebar{width:260px!important;flex:0 0 260px!important;padding:26px 16px!important;}
  body.rmp-canvas-page .rmp-sidebar-brand{margin:0 0 22px!important;}
  body.rmp-canvas-page .rmp-sidebar-brand-line{font-size:16px!important;line-height:1.15!important;}
  body.rmp-canvas-page .rmp-sidebar-brand span{font-size:12px!important;letter-spacing:.12em!important;}
  body.rmp-canvas-page .rmp-nav{padding:13px 15px!important;font-size:15px!important;min-height:50px!important;margin-bottom:10px!important;border-radius:8px!important;}
  body.rmp-canvas-page .rmp-main{padding:36px 32px!important;}
}


/* RMP 2.2.6 polish: reliable compact controls, HD sidebar mark, centered footer, and cleaner modal close */
body.rmp-canvas-page .rmp-brand-line strong{font-size:30px!important;line-height:1.12!important;}
body.rmp-canvas-page .rmp-sidebar .rmp-brand-line strong{font-size:17px!important;line-height:1.1!important;letter-spacing:-.01em!important;}
body.rmp-canvas-page .rmp-hd-icon{
  width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;
  display:inline-grid!important;place-items:center!important;background:#eff6ff!important;
  border:1px solid #bfdbfe!important;color:var(--rmp-brand)!important;
  font-size:16px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.02em!important;
  text-transform:none!important;margin:0!important;
}
body.rmp-canvas-page .rmp-sidebar-brand-line{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;}
body.rmp-canvas-page .rmp-footer{width:100%!important;text-align:center!important;margin:28px 0 0!important;font-size:15px!important;line-height:1.5!important;}
body.rmp-canvas-page .rmp-footer strong{display:inline-block!important;margin-left:7px!important;letter-spacing:.01em!important;}
body.rmp-canvas-page .rmp-footer span{display:inline-block!important;margin:0 4px!important;}
body.rmp-canvas-page .rmp-filters{
  display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(180px,260px) auto!important;
  gap:12px!important;align-items:center!important;flex:1 1 780px!important;max-width:900px!important;
}
body.rmp-canvas-page .rmp-filters input,
body.rmp-canvas-page .rmp-filters select{min-width:0!important;width:100%!important;}
body.rmp-canvas-page .rmp-filters .rmp-btn{white-space:nowrap!important;min-height:56px!important;box-shadow:none!important;}
body.rmp-canvas-page .rmp-modal-close{
  top:18px!important;right:18px!important;width:42px!important;height:42px!important;min-height:42px!important;
  border-radius:50%!important;border:0!important;background:var(--rmp-navy)!important;color:#fff!important;
  box-shadow:0 14px 30px rgba(15,23,42,.22)!important;font-size:24px!important;font-weight:800!important;
  line-height:1!important;padding:0!important;display:grid!important;place-items:center!important;
}
body.rmp-canvas-page .rmp-modal-close:hover{transform:translateY(-1px)!important;filter:brightness(1.08)!important;}
body.rmp-canvas-page .rmp-modal-card{padding-top:36px!important;}
@media(max-width:900px){
  body.rmp-canvas-page .rmp-filters{grid-template-columns:1fr!important;max-width:none!important;}
}
