.gep-cam-portal{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:82vh;background:#f4f6f8;border:1px solid #dbe1e7;border-radius:14px;overflow:hidden;font-family:Arial,sans-serif;color:#1f2937}.gep-cam-sidebar{background:#0b2342;color:#fff;padding:22px 14px}.gep-cam-logo-block{padding:8px 12px 24px;border-bottom:1px solid rgba(255,255,255,.16);margin-bottom:16px}.gep-cam-logo-block span{display:block;font-size:27px;font-weight:800;letter-spacing:1px}.gep-cam-logo-block small{opacity:.75}.gep-cam-sidebar nav{display:grid;gap:5px}.gep-cam-sidebar nav a{color:#e8eef6;text-decoration:none;padding:11px 12px;border-radius:8px;font-size:14px}.gep-cam-sidebar nav a:hover,.gep-cam-sidebar nav a.active{background:#fff;color:#0b2342;font-weight:700}.gep-cam-main{min-width:0}.gep-cam-topbar{background:#fff;border-bottom:1px solid #dbe1e7;display:flex;justify-content:space-between;align-items:center;padding:15px 22px;gap:20px}.gep-cam-topbar strong,.gep-cam-topbar small{display:block}.gep-cam-topbar small{color:#6b7280;margin-top:3px}.gep-cam-user{display:flex;align-items:center;gap:14px}.gep-cam-user a{font-weight:700}.gep-cam-content{padding:24px}.gep-cam-page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.gep-cam-page-heading h1{margin:0 0 5px;font-size:28px}.gep-cam-page-heading p{margin:0;color:#64748b}.gep-cam-back{display:inline-block;margin-bottom:8px}.gep-cam-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.gep-cam-stat-card{display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid #dbe1e7;border-radius:12px;padding:19px;color:#1f2937;box-shadow:0 2px 8px rgba(15,23,42,.04)}.gep-cam-stat-card strong{font-size:31px;margin:9px 0}.gep-cam-stat-card small{color:#64748b}.gep-cam-panel{background:#fff;border:1px solid #dbe1e7;border-radius:12px;padding:20px;margin:0 0 18px;box-shadow:0 2px 8px rgba(15,23,42,.035)}.gep-cam-panel h2{margin-top:0}.gep-cam-panel-head{display:flex;justify-content:space-between}.gep-cam-connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gep-cam-connection{display:flex;gap:10px;align-items:center;border:1px solid #e5e7eb;border-radius:10px;padding:13px}.gep-cam-connection .dot{width:11px;height:11px;border-radius:50%;background:#b91c1c}.gep-cam-connection.ok .dot{background:#15803d}.gep-cam-connection strong,.gep-cam-connection small{display:block}.gep-cam-connection small{color:#64748b;margin-top:3px}.gep-cam-filter-bar,.gep-cam-search-box{display:flex;gap:9px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #dbe1e7;border-radius:10px;padding:12px;margin-bottom:16px}.gep-cam-filter-bar input,.gep-cam-filter-bar select,.gep-cam-search-box input,.gep-cam-form-grid input,.gep-cam-form-grid select,.gep-cam-form-grid textarea,.gep-cam-inline-form select{border:1px solid #cbd5e1;border-radius:7px;padding:9px 10px;background:#fff;box-sizing:border-box}.gep-cam-filter-bar input[type=search],.gep-cam-search-box input{min-width:260px;flex:1}.gep-cam-filter-bar button,.gep-cam-search-box button,.gep-cam-inline-form button{border:0;border-radius:7px;background:#0b4b8f;color:#fff;padding:10px 15px;cursor:pointer}.gep-cam-table-wrap{overflow:auto;background:#fff;border:1px solid #dbe1e7;border-radius:10px}.gep-cam-table{width:100%;border-collapse:collapse;min-width:900px}.gep-cam-table th,.gep-cam-table td{padding:11px 12px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:top;font-size:13px}.gep-cam-table th{background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.025em;color:#475569;position:sticky;top:0}.gep-cam-table small{color:#64748b}.gep-cam-badge{display:inline-block;padding:5px 8px;border-radius:999px;background:#eef2f7;color:#334155;font-size:11px;font-weight:700}.gep-cam-btn{display:inline-block;border:0;background:#0b4b8f;color:#fff!important;text-decoration:none;border-radius:7px;padding:10px 15px;font-weight:700;cursor:pointer}.gep-cam-btn.secondary{background:#fff;color:#0b4b8f!important;border:1px solid #0b4b8f}.gep-cam-btn.small{padding:7px 10px;font-size:12px}.gep-cam-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.gep-cam-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:16px}.gep-cam-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.gep-cam-form-grid label.wide{grid-column:1/-1}.gep-cam-form-grid textarea{resize:vertical}.gep-cam-checkbox{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin:10px 0 15px;font-weight:600}.gep-cam-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.gep-cam-tabs button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:9px 12px;cursor:pointer}.gep-cam-tabs button.active{background:#0b2342;color:#fff;border-color:#0b2342}.gep-cam-tab-panel{display:none}.gep-cam-tab-panel.active{display:block}.gep-cam-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.gep-cam-summary-grid>div{background:#fff;border:1px solid #dbe1e7;border-radius:9px;padding:12px}.gep-cam-summary-grid span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;margin-bottom:6px}.gep-cam-file-grid,.gep-cam-readonly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gep-cam-file-grid>div,.gep-cam-readonly-grid>div{border:1px solid #e5e7eb;border-radius:8px;padding:12px}.gep-cam-file-grid strong,.gep-cam-file-grid a,.gep-cam-file-grid span,.gep-cam-readonly-grid span,.gep-cam-readonly-grid strong{display:block}.gep-cam-file-grid a,.gep-cam-file-grid span{margin-top:7px}.gep-cam-readonly-grid span{font-size:11px;color:#64748b;text-transform:uppercase}.gep-cam-readonly-grid strong{margin-top:5px}.gep-cam-action-grid{display:flex;flex-wrap:wrap;gap:9px}.gep-cam-action-grid a{display:inline-block;text-decoration:none;border:1px solid #0b4b8f;color:#0b4b8f;border-radius:7px;padding:9px 11px;font-weight:700;font-size:13px}.gep-cam-pagination{display:flex;gap:5px;align-items:center;margin:14px 0}.gep-cam-pagination a,.gep-cam-pagination span{min-width:32px;text-align:center;padding:7px;border:1px solid #dbe1e7;border-radius:6px;background:#fff;text-decoration:none}.gep-cam-pagination a.active{background:#0b2342;color:#fff}.gep-cam-alert{padding:12px 14px;border-radius:8px;margin:0 0 14px}.gep-cam-alert.success{background:#ecfdf3;border:1px solid #a7f3d0;color:#166534}.gep-cam-alert.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.gep-cam-login-wrap{max-width:470px;margin:60px auto}.gep-cam-login-card{background:#fff;border:1px solid #dbe1e7;border-radius:14px;padding:30px;box-shadow:0 12px 35px rgba(15,23,42,.12);font-family:Arial,sans-serif}.gep-cam-login-brand{width:60px;height:60px;border-radius:12px;background:#0b2342;color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px;margin-bottom:14px}.gep-cam-login-card h2{margin:0 0 7px}.gep-cam-login-card p{color:#64748b}.gep-cam-login-card form{display:grid;gap:13px;margin-top:20px}.gep-cam-login-card label{display:grid;gap:6px;font-weight:700}.gep-cam-login-card input[type=text],.gep-cam-login-card input[type=password]{border:1px solid #cbd5e1;border-radius:8px;padding:11px}.gep-cam-login-card button{border:0;border-radius:8px;background:#0b4b8f;color:#fff;padding:12px;font-weight:800;cursor:pointer}.gep-cam-forgot{display:inline-block;margin-top:14px}.gep-cam-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gep-cam-search-results{display:grid;gap:8px}.gep-cam-search-results a{border:1px solid #e5e7eb;border-radius:8px;padding:11px;text-decoration:none;color:#1f2937}.gep-cam-search-results a strong,.gep-cam-search-results a span,.gep-cam-search-results a small{display:block}.gep-cam-search-results a span{margin:3px 0}.gep-cam-search-results a small{color:#64748b}.gep-cam-inline-form{display:flex;gap:6px}.gep-cam-collapsible[hidden]{display:none!important}@media(max-width:1000px){.gep-cam-portal{grid-template-columns:1fr}.gep-cam-sidebar{padding:12px}.gep-cam-sidebar nav{display:flex;overflow:auto}.gep-cam-sidebar nav a{white-space:nowrap}.gep-cam-logo-block{display:none}.gep-cam-stat-grid,.gep-cam-connection-grid,.gep-cam-report-grid,.gep-cam-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.gep-cam-content{padding:14px}.gep-cam-topbar{align-items:flex-start;flex-direction:column}.gep-cam-page-heading{flex-direction:column}.gep-cam-stat-grid,.gep-cam-connection-grid,.gep-cam-report-grid,.gep-cam-summary-grid,.gep-cam-form-grid,.gep-cam-file-grid,.gep-cam-readonly-grid{grid-template-columns:1fr}.gep-cam-form-grid label.wide{grid-column:auto}.gep-cam-filter-bar>*{width:100%}.gep-cam-filter-bar input[type=search]{min-width:0}.gep-cam-user{width:100%;justify-content:space-between}}
.gep-cam-permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gep-cam-permission-group{margin:0}.gep-cam-permission-list{display:grid;gap:9px}.gep-cam-permission-item{display:flex;align-items:flex-start;gap:9px;border:1px solid #e5e7eb;border-radius:8px;padding:10px 11px;font-weight:600;background:#fafafa}.gep-cam-permission-item input{margin-top:2px}.gep-cam-permission-item span{line-height:1.35}@media(max-width:800px){.gep-cam-permission-groups{grid-template-columns:1fr}}

/* v1.1.1: keep membership record navigation tabs clearly visible */
.gep-cam-tabs{display:flex!important;visibility:visible!important;opacity:1!important;overflow-x:auto;overflow-y:hidden;flex-wrap:wrap;align-items:center}
.gep-cam-tabs button{display:inline-flex!important;visibility:visible!important;opacity:1!important;white-space:nowrap;flex:0 0 auto;color:#1f2937!important}
.gep-cam-tabs button.active{color:#fff!important}

/* v1.2.0 operational centers */
.gep-cam-muted{margin:4px 0 0;color:#64748b;font-size:13px}.gep-cam-action-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gep-cam-action-center-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;background:#fafafa}.gep-cam-action-center-card h3{margin:0 0 9px;font-size:15px}.gep-cam-action-center-card a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #e5e7eb;text-decoration:none;color:#1f2937}.gep-cam-action-center-card a:first-of-type{border-top:0}.gep-cam-action-center-card a strong{font-size:17px}.gep-cam-badge-success{background:#ecfdf3!important;color:#166534!important}.gep-cam-badge-danger{background:#fff1f2!important;color:#9f1239!important}@media(max-width:1000px){.gep-cam-action-center-grid{grid-template-columns:1fr}}

/* v1.2.1 membership document replacement */
.gep-cam-document-update-box{margin:18px 0;padding:16px;border:1px solid #dbe1e7;border-radius:10px;background:#f8fafc}.gep-cam-document-update-box h3{margin:0 0 6px}.gep-cam-document-update-box>p{margin:0 0 14px;color:#64748b}.gep-cam-document-update-box input[type=file]{width:100%}

/* v1.2.3 responsive mobile and tablet presentation upgrade */
.gep-cam-mobile-menu-button,.gep-cam-mobile-nav-head{display:none}
.gep-cam-portal,.gep-cam-main,.gep-cam-content,.gep-cam-panel{max-width:100%;box-sizing:border-box}
.gep-cam-content{overflow-x:hidden}
.gep-cam-panel-head{gap:12px;align-items:flex-start}
.gep-cam-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%}
.gep-cam-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.gep-cam-pagination{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.gep-cam-btn,.gep-cam-filter-bar button,.gep-cam-search-box button,.gep-cam-inline-form button,.gep-cam-tabs button{min-height:40px;box-sizing:border-box}
.gep-cam-form-grid input,.gep-cam-form-grid select,.gep-cam-form-grid textarea,.gep-cam-filter-bar input,.gep-cam-filter-bar select,.gep-cam-search-box input,.gep-cam-inline-form select{max-width:100%}

@media(max-width:1100px){
  html.gep-cam-nav-lock{overflow:hidden}
  .gep-cam-portal{position:relative;grid-template-columns:1fr;overflow:visible}
  .gep-cam-sidebar{position:fixed;z-index:99999;top:0;left:0;bottom:0;width:min(340px,88vw);padding:0 14px 20px;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:0 20px 45px rgba(15,23,42,.28)}
  .gep-cam-portal.gep-cam-mobile-nav-open .gep-cam-sidebar{transform:translateX(0)}
  .gep-cam-portal.gep-cam-mobile-nav-open:after{content:"";position:fixed;z-index:99998;inset:0;background:rgba(15,23,42,.48)}
  .gep-cam-mobile-nav-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:6px 4px;border-bottom:1px solid rgba(255,255,255,.16);margin-bottom:10px}
  .gep-cam-mobile-nav-close{border:0;background:transparent;color:#fff;font-size:32px;line-height:1;width:44px;height:44px;cursor:pointer}
  .gep-cam-logo-block{display:block;padding:10px 8px 16px;margin-bottom:10px}
  .gep-cam-logo-block span{font-size:23px}
  .gep-cam-sidebar nav{display:grid;gap:5px;overflow:visible}
  .gep-cam-sidebar nav a{white-space:normal;min-height:44px;display:flex;align-items:center}
  .gep-cam-mobile-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;border:1px solid #cbd5e1;background:#fff;color:#0b2342;border-radius:8px;padding:9px 11px;font-weight:800;cursor:pointer;min-height:42px}
  .gep-cam-mobile-menu-button span:first-child{font-size:18px;line-height:1}
  .gep-cam-topbar{position:sticky;top:0;z-index:120;justify-content:flex-start;gap:12px;padding:12px 16px}
  .gep-cam-topbar-title{min-width:0;flex:1}
  .gep-cam-topbar-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .gep-cam-user{margin-left:auto;flex:0 0 auto}
  .gep-cam-stat-grid,.gep-cam-report-grid,.gep-cam-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gep-cam-file-grid,.gep-cam-readonly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gep-cam-action-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .gep-cam-portal{border-radius:10px;min-height:70vh}
  .gep-cam-content{padding:14px 10px}
  .gep-cam-topbar{align-items:center;flex-direction:row;flex-wrap:wrap}
  .gep-cam-topbar-title{order:2;flex:1 1 calc(100% - 60px)}
  .gep-cam-topbar-title strong{font-size:14px}
  .gep-cam-topbar-title small{font-size:11px}
  .gep-cam-user{order:3;width:100%;margin-left:0;padding-top:8px;border-top:1px solid #edf0f2;justify-content:space-between}
  .gep-cam-page-heading{gap:10px;margin-bottom:14px}
  .gep-cam-page-heading h1{font-size:23px;line-height:1.2}
  .gep-cam-page-heading p{font-size:13px}
  .gep-cam-heading-actions{width:100%}
  .gep-cam-heading-actions .gep-cam-btn{flex:1 1 auto;text-align:center}
  .gep-cam-panel{padding:14px;border-radius:10px}
  .gep-cam-panel-head{flex-direction:column}
  .gep-cam-stat-grid,.gep-cam-connection-grid,.gep-cam-report-grid,.gep-cam-summary-grid,.gep-cam-form-grid,.gep-cam-file-grid,.gep-cam-readonly-grid,.gep-cam-action-center-grid{grid-template-columns:1fr}
  .gep-cam-stat-card strong{font-size:27px}
  .gep-cam-filter-bar,.gep-cam-search-box{padding:10px;gap:8px}
  .gep-cam-filter-bar>*,.gep-cam-search-box>*{width:100%;min-width:0!important}
  .gep-cam-filter-bar button,.gep-cam-search-box button{min-height:44px}
  .gep-cam-inline-form{flex-direction:column;align-items:stretch}
  .gep-cam-inline-form>*{width:100%}
  .gep-cam-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px;padding:2px 1px 7px;scroll-snap-type:x proximity}
  .gep-cam-tabs button{scroll-snap-align:start;min-height:44px;padding:9px 13px}
  .gep-cam-action-grid{display:grid;grid-template-columns:1fr}
  .gep-cam-action-grid a,.gep-cam-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
  .gep-cam-document-update-box{padding:13px}

  /* Convert management tables to readable record cards on phones. */
  .gep-cam-table-wrap{overflow:visible;border:0;background:transparent}
  .gep-cam-table{min-width:0;width:100%;border-collapse:separate;border-spacing:0}
  .gep-cam-table thead{display:none}
  .gep-cam-table tbody,.gep-cam-table tr,.gep-cam-table td{display:block;width:100%;box-sizing:border-box}
  .gep-cam-table tbody{display:grid;gap:12px}
  .gep-cam-table tr{background:#fff;border:1px solid #dbe1e7;border-radius:10px;padding:6px 12px;box-shadow:0 1px 5px rgba(15,23,42,.04)}
  .gep-cam-table td{position:relative;border:0!important;border-bottom:1px solid #edf0f2!important;padding:10px 0 10px 46%!important;min-height:40px;overflow-wrap:anywhere}
  .gep-cam-table td:last-child{border-bottom:0!important}
  .gep-cam-table td:before{content:attr(data-label);position:absolute;left:0;top:10px;width:42%;padding-right:8px;color:#64748b;font-size:10px;font-weight:800;line-height:1.3;text-transform:uppercase;letter-spacing:.025em;overflow-wrap:anywhere}
  .gep-cam-table td[data-label=""]{padding-left:0!important}
  .gep-cam-table td[data-label=""]:before{display:none}
  .gep-cam-table td[colspan]{padding:14px 4px!important;text-align:center}
  .gep-cam-table td[colspan]:before{display:none}
  .gep-cam-table td .gep-cam-btn.small{width:100%}
  .gep-cam-pagination{gap:4px}
  .gep-cam-pagination a,.gep-cam-pagination span{min-width:36px;min-height:36px;display:grid;place-items:center;box-sizing:border-box}
  .gep-cam-login-wrap{max-width:none;margin:24px 10px}
  .gep-cam-login-card{padding:22px 18px}
  .gep-cam-login-card input[type=text],.gep-cam-login-card input[type=password],.gep-cam-form-grid input,.gep-cam-form-grid select,.gep-cam-form-grid textarea,.gep-cam-filter-bar input,.gep-cam-filter-bar select,.gep-cam-search-box input{font-size:16px}
}

@media(max-width:420px){
  .gep-cam-content{padding:10px 7px}
  .gep-cam-topbar{padding:10px}
  .gep-cam-mobile-menu-button span:last-child{display:none}
  .gep-cam-page-heading h1{font-size:21px}
  .gep-cam-panel{padding:12px}
  .gep-cam-table td{padding-left:44%!important;font-size:12.5px}
  .gep-cam-table td:before{width:40%;font-size:9.5px}
  .gep-cam-permission-item{padding:10px 9px}
}
