.cfsu-portal,.cfsu-login-card{font-family:Arial,sans-serif;max-width:1100px;margin:20px auto;background:#f5f6f8;border-radius:14px;overflow:hidden;color:#161b22}.cfsu-portal header{background:#111820;color:#fff;padding:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.cfsu-portal section{padding:22px}.cfsu-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.cfsu-tiles a{background:#fff;border:1px solid #d9dee5;border-radius:10px;padding:20px;color:#161b22;text-decoration:none;font-weight:700;min-height:44px}.cfsu-login-card{padding:22px;max-width:460px}.cfsu-login-card input{max-width:100%;width:100%;min-height:42px}.cfsu-login-card input[type=submit]{background:#b51f2b;color:#fff;border:0;border-radius:6px;font-weight:700;cursor:pointer}
.cfsu-standalone{font-family:Arial,sans-serif;background:#f2f4f7;color:#17202a;max-width:1400px;margin:18px auto;border:1px solid #dce1e7;border-radius:14px;overflow:hidden}.cfsu-standalone header{background:#111820;color:#fff;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.cfsu-standalone header small{letter-spacing:2px;color:#e0a3a8}.cfsu-standalone header h1{font-size:24px;margin:6px 0 0;color:#fff}.cfsu-standalone .cfsu-user{text-align:right}.cfsu-standalone a{color:inherit}.cfsu-standalone nav{display:flex;gap:20px;flex-wrap:wrap;background:#202b36;padding:13px 24px}.cfsu-standalone nav a{color:#fff;text-decoration:none;font-weight:700}.cfsu-standalone main{padding:24px}.cfsu-standalone h2{margin-top:10px}.cfsu-standalone .cfsu-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}.cfsu-standalone .cfsu-tile{display:block;background:#fff;border:1px solid #dce1e7;border-radius:10px;padding:16px;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.04)}.cfsu-standalone .cfsu-tile strong{display:block;font-size:27px;margin-top:8px;color:#b51f2b}.cfsu-search-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;background:#fff;padding:16px;border:1px solid #dce1e7;border-radius:10px}.cfsu-search-form label{display:flex;flex-direction:column;gap:6px;font-weight:700}.cfsu-search-form select,.cfsu-search-form input{min-height:42px;width:100%;max-width:100%}.cfsu-search-form button{align-self:end;min-height:42px;background:#b51f2b;border:0;color:#fff;padding:0 18px;border-radius:6px;font-weight:700}.cfsu-directory-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:16px}.cfsu-directory-results article{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #dce1e7;border-radius:8px;padding:12px}.cfsu-directory-results small{color:#65717d}.cfsu-standalone section{margin:28px 0;padding-top:10px;border-top:1px solid #dce1e7}.cfsu-standalone footer{padding:20px;background:#111820;color:#fff;text-align:center}@media(max-width:600px){.cfsu-standalone header{padding:18px;align-items:flex-start;flex-direction:column}.cfsu-standalone main{padding:14px}.cfsu-search-form{grid-template-columns:1fr}}

.cfsu-registration,.cfsu-notice-center,.cfsu-alert-center,.cfsu-application-review{max-width:900px;margin:20px auto;padding:20px;background:#fff;border:1px solid #dce1e7;border-radius:12px;color:#17202a}.cfsu-registration form{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px}.cfsu-registration label{display:flex;flex-direction:column;gap:6px;font-weight:700}.cfsu-registration input,.cfsu-registration select{width:100%;max-width:100%;min-height:42px}.cfsu-registration .cfsu-consent{grid-column:1/-1}.cfsu-registration .cfsu-consent label{display:block}.cfsu-registration button,.cfsu-application-review button{background:#b51f2b;color:#fff;border:0;border-radius:6px;padding:12px 18px;font-weight:700;cursor:pointer}.cfsu-registration button{grid-column:1/-1}.cfsu-notice-center article,.cfsu-alert-center article,.cfsu-application-review article{border:1px solid #e1e5ea;border-radius:8px;padding:14px;margin:12px 0}.cfsu-notice-center article small,.cfsu-alert-center article small{display:block;color:#66717d;margin-top:5px}.cfsu-bell-count{display:inline-block;background:#b51f2b;color:#fff;border-radius:20px;padding:2px 8px;font-size:12px}.cfsu-alert-center article{border-left:4px solid #b51f2b}.cfsu-standalone footer img{display:block;margin:0 auto 8px}.cfsu-standalone footer a{color:#fff}

.cfsu-standalone .cfsu-brand-footer{display:block;text-align:center!important;padding:28px 22px;background:#111820;color:#fff;line-height:1.65}
.cfsu-standalone .cfsu-brand-footer .cfsu-footer-logo{display:block;width:150px;max-width:42vw;height:auto;margin:0 auto 18px;border-radius:50%;background:#fff}
.cfsu-standalone .cfsu-brand-footer h3{margin:8px 0 12px;color:#fff;text-align:center;font-size:18px;letter-spacing:1px}
.cfsu-standalone .cfsu-brand-footer p{margin:8px auto;max-width:1100px;text-align:center;color:#fff}
.cfsu-standalone .cfsu-brand-footer a{color:#fff;text-decoration:underline}
.cfsu-standalone .cfsu-brand-footer .cfsu-powered{margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.25)}
@media(max-width:640px){.cfsu-standalone .cfsu-brand-footer{padding:22px 14px}.cfsu-standalone .cfsu-brand-footer p{font-size:13px;line-height:1.7}.cfsu-standalone .cfsu-brand-footer .cfsu-footer-logo{width:120px}}


/* CS Operational Portal v1.2.5 — unified, responsive application shell */
.cfsu-app-shell{box-sizing:border-box;width:min(1440px,calc(100% - 32px));margin:24px auto;background:#f4f5f7;color:#17202a;border:1px solid #e0e3e8;border-radius:16px;overflow:hidden;font-family:Arial,sans-serif}
.cfsu-app-shell *{box-sizing:border-box}
.cfsu-app-brand{display:flex;align-items:center;gap:18px;padding:22px 28px;background:#111820;color:#fff}
.cfsu-app-brand img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:50%;padding:5px}
.cfsu-app-brand span{font-size:12px;letter-spacing:1.8px;color:#f2b7bb;font-weight:700}
.cfsu-app-brand h1{margin:5px 0;color:#fff;font-size:clamp(20px,3vw,30px);line-height:1.2}
.cfsu-app-brand small{color:#d5dbe2}
.cfsu-app-tabs{display:flex;gap:10px;padding:14px 24px;background:#202b36}
.cfsu-app-tabs a{display:inline-block;padding:10px 18px;border-radius:7px;background:#fff;color:#17202a;text-decoration:none;font-weight:700}
.cfsu-app-columns{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.5fr);gap:18px;padding:22px;align-items:start}
.cfsu-app-card{min-width:0;background:#fff;border:1px solid #dce1e7;border-radius:12px;padding:20px;overflow:hidden}
.cfsu-app-card h2{margin-top:0;color:#17202a}
.cfsu-app-card .cfsu-registration-centre{max-width:none;margin:0;padding:0;border:0;border-radius:0}
.cfsu-app-card .cfsu-registration-centre form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cfsu-app-card .cfsu-registration-centre label{display:flex;flex-direction:column;gap:6px;font-weight:700;min-width:0}
.cfsu-app-card .cfsu-registration-centre input,.cfsu-app-card .cfsu-registration-centre select,.cfsu-app-card .cfsu-registration-centre textarea{width:100%;max-width:100%;min-height:44px;padding:10px;border:1px solid #cbd1d8;border-radius:6px;background:#fff}
.cfsu-app-card .cfsu-registration-centre textarea{min-height:86px}
.cfsu-app-card .cfsu-registration-centre button{background:#c90012;color:#fff;border:0;border-radius:6px;padding:13px 18px;font-weight:700;min-height:46px}
.cfsu-app-card .cfsu-login-card{max-width:none;margin:0;padding:0;border:0;background:transparent}
.cfsu-app-card input[type=text],.cfsu-app-card input[type=password]{width:100%;max-width:100%;min-height:44px}
.cfsu-app-shell .cfsu-portal,.cfsu-app-shell .cfsu-standalone{width:100%;max-width:none;margin:0;border:0;border-radius:0}
@media(max-width:760px){.cfsu-app-shell{width:calc(100% - 16px);margin:8px auto;border-radius:10px}.cfsu-app-brand{padding:16px;gap:12px}.cfsu-app-brand img{width:56px;height:56px}.cfsu-app-tabs{padding:12px;flex-wrap:wrap}.cfsu-app-columns{grid-template-columns:1fr;padding:12px;gap:12px}.cfsu-app-card{padding:15px}.cfsu-app-card .cfsu-registration-centre form{grid-template-columns:1fr}}

/* CSLOP v1.2.7 visual refinement */
.cfsu-app-shell{box-shadow:0 14px 42px rgba(17,24,32,.09);background:#f6f7f9}
.cfsu-app-brand{background:linear-gradient(115deg,#111820 0%,#202b36 72%,#3a2025 100%)}
.cfsu-app-brand img{flex:0 0 auto;border:2px solid rgba(255,255,255,.85);box-shadow:0 4px 14px rgba(0,0,0,.2)}
.cfsu-app-tabs{flex-wrap:wrap}
.cfsu-app-tabs a{transition:background .18s ease,transform .18s ease}
.cfsu-app-tabs a:hover,.cfsu-app-tabs a:focus{background:#f4dfe1;transform:translateY(-1px);outline:2px solid #c90012;outline-offset:2px}
.cfsu-app-card{box-shadow:0 5px 18px rgba(17,24,32,.045)}
.cfsu-app-card input:focus,.cfsu-app-card select:focus,.cfsu-app-card textarea:focus{outline:2px solid rgba(201,0,18,.22);border-color:#c90012}
.cfsu-app-card button,.cfsu-registration button{transition:filter .18s ease,transform .18s ease}
.cfsu-app-card button:hover,.cfsu-registration button:hover{filter:brightness(.94);transform:translateY(-1px)}
.cfsu-app-shell img{max-width:100%}
@media(max-width:600px){.cfsu-app-brand h1{font-size:19px}.cfsu-app-brand small{display:block;line-height:1.5}.cfsu-app-tabs a{flex:1;text-align:center}.cfsu-app-card .cfsu-registration-centre form{grid-template-columns:minmax(0,1fr)}.cfsu-app-card{padding:14px}}

/* CSLOP v1.2.8: isolated full-screen portal, theme chrome hidden only on portal page */
body.cslop-standalone-page #masthead,
body.cslop-standalone-page #colophon,
body.cslop-standalone-page .site-header,
body.cslop-standalone-page .site-footer,
body.cslop-standalone-page header#masthead,
body.cslop-standalone-page footer#colophon,
body.cslop-standalone-page .ast-primary-header-bar,
body.cslop-standalone-page .ast-above-header-wrap,
body.cslop-standalone-page .ast-below-header-wrap,
body.cslop-standalone-page .ast-small-footer,
body.cslop-standalone-page .elementor-location-header,
body.cslop-standalone-page .elementor-location-footer {display:none!important}
body.cslop-standalone-page, body.cslop-standalone-page #page,
body.cslop-standalone-page .site, body.cslop-standalone-page .site-content,
body.cslop-standalone-page .content-area, body.cslop-standalone-page .site-main {margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
body.cslop-standalone-page .entry-header, body.cslop-standalone-page .entry-footer {display:none!important}
.cfsu-forgot-password{margin:14px 0 0;font-size:14px}.cfsu-forgot-password a{color:#b51f2b;font-weight:700;text-decoration:underline}
.cfsu-app-shell{width:min(1440px,100%);margin:0 auto;border-radius:0;min-height:100vh}
.cfsu-app-brand h1{letter-spacing:-.02em}
@media(max-width:700px){.cfsu-app-shell{width:100%;border-left:0;border-right:0}.cfsu-app-brand{padding:16px;gap:12px;align-items:center}.cfsu-app-brand img{width:58px;height:58px;flex:0 0 58px}.cfsu-app-brand h1{font-size:19px}.cfsu-app-brand small{font-size:11px}.cfsu-app-tabs{padding:12px;position:sticky;top:0;z-index:20}.cfsu-app-tabs a{flex:1;text-align:center;padding:11px 8px}.cfsu-app-columns{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}.cfsu-app-card{padding:15px}.cfsu-app-card .cfsu-registration-centre form{grid-template-columns:minmax(0,1fr)}}

/* CSLOP 1.2.9 estate leadership responsive refinements */
.cfsu-leadership .cfsu-panel{margin:18px 0;padding:clamp(14px,2.5vw,24px);border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.045)}
.cfsu-leadership form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:14px 0;padding:14px;background:#f8f9fb;border-radius:10px}
.cfsu-leadership label{display:flex;flex:1 1 220px;flex-direction:column;gap:6px;font-weight:600}
.cfsu-leadership select{width:100%;min-height:42px;border:1px solid #cfd4dc;border-radius:8px;padding:8px;background:#fff}
.cfsu-leadership button{min-height:42px;border:0;border-radius:8px;padding:9px 16px;background:#a71925;color:#fff;font-weight:700;cursor:pointer}
.cfsu-officer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eceef1;flex-wrap:wrap}
.cfsu-officer-row span{color:#626b76;font-size:13px}
.cfsu-officer-row form{margin:0;padding:0;background:transparent}
@media(max-width:640px){.cfsu-leadership .cfsu-panel{padding:13px}.cfsu-leadership form{display:grid;grid-template-columns:1fr}.cfsu-leadership label{min-width:0}.cfsu-officer-row{align-items:flex-start;flex-direction:column}.cfsu-officer-row form{width:100%}.cfsu-officer-row button{width:100%}}

/* CSLOP 1.3.0 organisation leadership */
.cfsu-entity-leadership .cfsu-card{margin:1rem 0;padding:1.1rem;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(16,24,40,.045)}
.cfsu-entity-leadership .cfsu-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;margin:1rem 0}
.cfsu-entity-leadership label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.cfsu-entity-leadership select{width:100%;min-height:44px;border:1px solid #cfd4dc;border-radius:9px;padding:8px 10px;background:#fff}
.cfsu-entity-leadership button{border:0;border-radius:9px;padding:11px 16px;background:#b5121b;color:#fff;font-weight:700;cursor:pointer}
.cfsu-entity-leadership .cfsu-officer-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 0;border-top:1px solid #edf0f3}
@media(max-width:640px){.cfsu-entity-leadership .cfsu-form-grid{grid-template-columns:1fr}.cfsu-entity-leadership .cfsu-officer-row{align-items:flex-start;flex-direction:column}.cfsu-entity-leadership .cfsu-card{padding:14px}}


/* CSLOP 1.3.0.2 registration workflow refinement — scoped to portal components */
.cfsu-registration-centre,.cslop-registration{box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:clamp(12px,2.5vw,26px)}
.cslop-registration *{box-sizing:border-box}
.cslop-registration-form,.cslop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cslop-registration-form label,.cslop-form-grid label{display:flex;flex-direction:column;gap:6px;min-width:0}
.cslop-registration input,.cslop-registration select,.cslop-registration textarea{width:100%;max-width:100%;min-height:44px}
.cslop-wide{grid-column:1/-1}
.cslop-search-results{display:grid;gap:7px;max-height:250px;overflow:auto;margin-top:8px}
.cslop-record-result{display:block;width:100%;padding:12px;text-align:left;border:1px solid #d7dce2;border-radius:8px;background:#fff;cursor:pointer}
.cslop-camera-actions{display:flex;gap:8px;flex-wrap:wrap}
.cslop-passport-control video,.cslop-passport-control img{display:block;width:min(100%,320px);max-height:360px;object-fit:cover;border-radius:8px;background:#171717;margin:10px 0}
.cslop-passport-control video[hidden],.cslop-passport-control img[hidden]{display:none!important}
@media(max-width:680px){.cslop-registration-form,.cslop-form-grid{grid-template-columns:1fr}.cslop-wide{grid-column:auto}.cslop-camera-actions{display:grid;grid-template-columns:1fr}.cslop-passport-control video,.cslop-passport-control img{width:100%;max-width:100%;max-height:320px}}


/* CSLOP v1.3.0.3 — ordered registration flow and single-login layout */
.cslop-registration{max-width:1120px!important;margin:18px auto!important;padding:clamp(14px,2.2vw,28px)!important;background:#fff;border:1px solid #e2e6eb;border-radius:14px;color:#17202a}
.cslop-registration .cslop-reg-heading{margin:0 0 22px;max-width:900px}
.cslop-registration .cslop-reg-heading h2{font-size:clamp(25px,3vw,38px);line-height:1.15;margin:8px 0 12px;color:#111820}
.cslop-registration .cslop-reg-heading p{line-height:1.6;margin:8px 0;color:#39424e}
.cslop-registration-form{display:block!important}
.cslop-registration-form>.cslop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:start}
.cslop-registration-form .cslop-form-grid label{font-weight:650;color:#202a35;line-height:1.4}
.cslop-registration-form input,.cslop-registration-form select,.cslop-registration-form textarea{width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #cbd2da;border-radius:8px;background:#fff;color:#17202a;font:inherit}
.cslop-registration-form textarea{min-height:92px;resize:vertical}
.cslop-registration-form input:focus,.cslop-registration-form select:focus,.cslop-registration-form textarea:focus{outline:2px solid rgba(190,0,18,.18);border-color:#bd0012}
.cslop-registration-form .cslop-wide{grid-column:1/-1}
.cslop-registration-form #cslop-estate-link-wrap{padding:16px;border:1px solid #dce1e7;border-radius:10px;background:#f8f9fb}
.cslop-search-results{display:grid;grid-template-columns:1fr;gap:8px;max-height:280px;overflow:auto;margin-top:10px}
.cslop-record-result{font:inherit!important;font-weight:600!important;color:#202a35!important;background:#fff!important;border:1px solid #d4dbe3!important;border-radius:8px!important;padding:12px 14px!important;text-align:left!important;cursor:pointer}
.cslop-record-result:hover,.cslop-record-result:focus{border-color:#bd0012!important;background:#fff8f8!important}
.cslop-registration-form .cslop-submit{display:block;width:100%;min-height:50px;margin:22px 0 0;padding:13px 20px;border:0;border-radius:9px;background:#c90018;color:#fff;font-weight:750;font-size:16px;cursor:pointer}
.cslop-registration-form .cslop-submit:hover{filter:brightness(.94)}
.cslop-registration-form .cslop-consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}
.cslop-registration-form .cslop-consent input{width:18px;min-width:18px;min-height:18px;margin-top:2px}
.cslop-single-login{max-width:760px!important;margin:28px auto!important}
.cslop-login-main{display:flex;justify-content:center;padding:clamp(16px,4vw,40px);background:#f5f6f8}
.cslop-single-login .cfsu-app-card{width:100%;max-width:460px;padding:26px}
.cslop-single-login .cfsu-app-card form{display:block}
.cslop-single-login .cfsu-app-card label{display:block;margin:12px 0 6px;font-weight:650}
.cslop-single-login .cfsu-app-card input[type=text],.cslop-single-login .cfsu-app-card input[type=password]{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cbd2da;border-radius:8px}
.cslop-single-login .cfsu-app-card input[type=submit]{width:100%;min-height:48px;margin-top:12px;background:#c90018;color:#fff;border:0;border-radius:8px;font-weight:700}
.cslop-register-link{text-align:center;margin:18px 0 0;padding-top:14px;border-top:1px solid #e5e8ec}
.cslop-register-link a,.cfsu-login-return a{color:#b90016;font-weight:700;text-decoration:underline}
.cfsu-login-return{text-align:center;margin:18px 0}
@media(max-width:680px){.cslop-registration{margin:8px auto!important;padding:14px!important;border-radius:10px}.cslop-registration-form>.cslop-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.cslop-registration-form .cslop-wide{grid-column:auto}.cslop-single-login{margin:0 auto!important;width:100%!important;border-radius:0}.cslop-login-main{padding:14px}.cslop-single-login .cfsu-app-card{padding:18px}}


/* CSLOP 1.3.0.4 — registration identity controls and theme isolation */
.cslop-registration [hidden],
.cslop-registration-form [hidden],
.cslop-identity-panel[hidden],
.cslop-camera-control[hidden] { display:none !important; }
.cslop-identity-panel { display:block; width:100%; margin:18px 0; padding:18px; border:1px solid #d8dee6; border-radius:12px; background:#f8fafc; }
.cslop-identity-panel h3 { margin:0 0 8px; }
.cslop-passport-control { display:flex; flex-direction:column; gap:10px; min-width:0; }
/* Keep the native file picker hidden: the visible “Use file upload” button is its single entry point. */
.cslop-passport-control input.cslop-passport-native-file { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; opacity:0 !important; }
.cslop-camera-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cslop-camera-actions button,.cslop-passport-control button { min-height:42px; padding:10px 16px; border:0; border-radius:7px; background:#b90016; color:#fff; font-weight:700; cursor:pointer; }
#cslop-camera-video { display:block; width:min(100%,420px); max-height:420px; object-fit:cover; background:#111; border-radius:10px; }
#cslop-passport-preview { display:block; width:150px; height:180px; object-fit:cover; border:2px solid #d4dbe3; border-radius:8px; background:#eef1f4; }
#cslop-passport-preview[hidden],#cslop-camera-video[hidden] { display:none !important; }
.cslop-registration-form .cslop-submit { grid-column:1/-1; }
body.cslop-standalone-page #masthead,
body.cslop-standalone-page #colophon,
body.cslop-standalone-page .site-header,
body.cslop-standalone-page .site-footer,
body.cslop-standalone-page header#masthead,
body.cslop-standalone-page footer#colophon,
body.cslop-standalone-page .ast-primary-header-bar,
body.cslop-standalone-page .ast-above-header-wrap,
body.cslop-standalone-page .ast-below-header-wrap,
body.cslop-standalone-page .ast-small-footer,
body.cslop-standalone-page .elementor-location-header,
body.cslop-standalone-page .elementor-location-footer { display:none !important; }
body.cslop-standalone-page,body.cslop-standalone-page #page,
body.cslop-standalone-page .site,body.cslop-standalone-page .site-content,
body.cslop-standalone-page .content-area,body.cslop-standalone-page .site-main { margin:0 !important;padding:0 !important;width:100% !important;max-width:none !important; }
body.cslop-standalone-page .entry-header,body.cslop-standalone-page .entry-footer { display:none !important; }
@media(max-width:680px){.cslop-identity-panel{padding:13px}.cslop-camera-actions{display:grid;grid-template-columns:1fr}.cslop-camera-actions button{width:100%}}


/* CSLOP v1.3.0.5 — robust theme chrome isolation and local draft feedback */
body.cslop-standalone-page #masthead,body.cslop-standalone-page #colophon,
body.cslop-standalone-page .site-header,body.cslop-standalone-page .site-footer,
body.cslop-standalone-page .main-header,body.cslop-standalone-page .main-footer,
body.cslop-standalone-page .header-wrapper,body.cslop-standalone-page .footer-wrapper,
body.cslop-standalone-page .primary-header,body.cslop-standalone-page .secondary-header,
body.cslop-standalone-page .top-header,body.cslop-standalone-page .bottom-footer,
body.cslop-standalone-page .elementor-location-header,body.cslop-standalone-page .elementor-location-footer,
body.cslop-standalone-page .ast-header-break-point .main-header-bar,
body.cslop-standalone-page .ast-mobile-header-wrap,body.cslop-standalone-page .ast-desktop-header,
body.cslop-standalone-page .ast-primary-header-bar,body.cslop-standalone-page .ast-above-header-wrap,
body.cslop-standalone-page .ast-below-header-wrap,body.cslop-standalone-page .ast-small-footer,
body.cslop-standalone-page .wp-site-blocks>header,body.cslop-standalone-page .wp-site-blocks>footer {display:none!important}
body.cslop-standalone-page {padding-top:0!important;margin-top:0!important}
body.cslop-standalone-page #page,body.cslop-standalone-page .site,body.cslop-standalone-page .site-content,
body.cslop-standalone-page .content-area,body.cslop-standalone-page .site-main,
body.cslop-standalone-page .ast-container,body.cslop-standalone-page .content-container,
body.cslop-standalone-page .entry-content {width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.cslop-standalone-page .entry-header,body.cslop-standalone-page .entry-footer {display:none!important}
.cslop-autosave-status{grid-column:1/-1;margin:10px 0 0;padding:10px 12px;border-left:3px solid #267647;background:#f1f8f3;color:#245b37;font-size:13px}
.cslop-individual-hint{padding:12px 14px;border:1px solid #dce1e7;border-radius:8px;background:#f8f9fb;color:#48515c}
@media(max-width:680px){.cslop-autosave-status,.cslop-individual-hint{grid-column:1!important}}

/* v1.3.0.12 registration refinement */
.cslop-registration .cslop-registration-instructions{font-size:13px;line-height:1.45;background:#f6f7f8;border-left:3px solid #b32025;padding:12px 16px;margin:12px 0 18px;border-radius:6px}
.cslop-registration .cslop-registration-instructions h3{font-size:15px;margin:0 0 7px}
.cslop-registration .cslop-registration-instructions ol{margin:6px 0 8px 18px;padding:0}
.cslop-registration .cslop-registration-instructions li{margin:3px 0}
.cslop-registration .cslop-submit-checklist{border:1px solid #d8dce1;border-radius:8px;padding:12px 16px;margin:12px 0}
.cslop-registration .cslop-submit-checklist legend{font-weight:700;padding:0 6px}
.cslop-registration .cslop-submit-checklist label{display:block;margin:7px 0;font-size:13px}
.cslop-registration #cslop-category-search{width:100%;margin:4px 0 7px}
.cslop-registration .cslop-small-label{display:block;font-size:12px;font-weight:600}
.cslop-registration .cslop-identity-panel{order:2}
.cslop-registration .cslop-form-grid{gap:12px}

/* CSLOP 1.3.0.14 compact confirmation and ordered identity step */
.cslop-registration .cslop-single-confirm{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:10px 12px!important;margin:12px 0!important;border:1px solid #d8dee6!important;border-radius:8px!important;background:#fff!important;font-size:13px!important;line-height:1.5!important;font-weight:500!important;}
.cslop-registration .cslop-single-confirm input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 14px!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;max-width:14px!important;margin:2px 0 0!important;padding:0!important;border:initial!important;border-radius:2px!important;box-shadow:none!important;accent-color:#bd0012!important;}
.cslop-registration .cslop-identity-panel{order:initial!important;}
.cslop-registration .cslop-identity-panel input[type=file]{font-size:13px!important;min-height:38px!important;padding:7px 9px!important;}

/* CSLOP 1.3.0.16: one complete category selector; remove duplicate search field */
.cslop-registration .cslop-category-field{grid-column:1/-1!important;max-width:100%!important;}
.cslop-registration .cslop-category-field select{width:100%!important;min-height:48px!important;}
.cslop-registration .cslop-category-field small{display:block;font-size:12px;line-height:1.45;color:#667085;font-weight:400;margin-top:4px;}


/* CSLOP v1.3.0.17 — registered entity suggestions attached to the search field */
.cslop-registration-form .cslop-entity-picker{position:relative;width:100%;min-width:0;z-index:20}
.cslop-registration-form .cslop-entity-picker>label{display:flex;flex-direction:column;gap:6px}
.cslop-registration-form .cslop-search-results{position:absolute;top:100%;left:0;right:0;width:100%;max-height:280px;overflow-y:auto;display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:6px;background:#fff;border:1px solid #cbd2da;border-top:0;border-radius:0 0 9px 9px;box-shadow:0 10px 22px rgba(18,30,45,.14);z-index:1000}
.cslop-registration-form .cslop-search-results:empty{display:none}
.cslop-registration-form .cslop-search-results:not(:empty){font-size:14px;color:#39424e}
.cslop-registration-form .cslop-search-results .cslop-record-result{border:0!important;border-bottom:1px solid #edf0f3!important;border-radius:5px!important;padding:11px 10px!important}
.cslop-registration-form .cslop-search-results .cslop-record-result:last-child{border-bottom:0!important}


/* CSLOP v1.3.0.22 — unified site and portal visual refinement */
.cfsu-portal,.cfsu-app-shell,.cfsu-registration-centre,.cslop-registration,.cfsu-directory,.cfsu-leadership,.cfsu-client-portal{color:#17212d;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.cfsu-portal,.cfsu-app-shell,.cfsu-registration-centre,.cslop-registration{--cfsu-accent:#a71925;--cfsu-ink:#17212d;--cfsu-border:#dfe4ea;--cfsu-soft:#f5f7fa;}
.cfsu-portal h1,.cfsu-portal h2,.cfsu-app-shell h1,.cfsu-app-shell h2,.cfsu-registration-centre h1,.cfsu-registration-centre h2{line-height:1.25;letter-spacing:-.02em;color:var(--cfsu-ink,#17212d)}
.cfsu-portal input,.cfsu-portal select,.cfsu-portal textarea,.cfsu-registration-centre input,.cfsu-registration-centre select,.cfsu-registration-centre textarea,.cslop-registration input,.cslop-registration select,.cslop-registration textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;border:1px solid #cbd3dd;border-radius:9px;padding:10px 12px;background:#fff;color:#17212d;font:inherit}
.cfsu-portal textarea,.cfsu-registration-centre textarea,.cslop-registration textarea{min-height:100px;resize:vertical}
.cfsu-portal input:focus,.cfsu-portal select:focus,.cfsu-portal textarea:focus,.cfsu-registration-centre input:focus,.cfsu-registration-centre select:focus,.cfsu-registration-centre textarea:focus,.cslop-registration input:focus,.cslop-registration select:focus,.cslop-registration textarea:focus{outline:3px solid rgba(167,25,37,.13);border-color:#a71925}
.cfsu-portal button,.cfsu-registration-centre button,.cslop-registration button,.cfsu-app-shell button{border-radius:8px;min-height:42px;padding:10px 16px;font-weight:700;cursor:pointer}
.cfsu-portal table,.cfsu-registration-centre table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e1e6ec;border-radius:10px;overflow:hidden}
.cfsu-portal th,.cfsu-registration-centre th{background:#f1f4f7;color:#253244;font-weight:700;text-align:left}
.cfsu-portal td,.cfsu-portal th,.cfsu-registration-centre td,.cfsu-registration-centre th{padding:11px 12px;border-bottom:1px solid #e9edf1;vertical-align:middle}
.cfsu-portal tr:last-child td,.cfsu-registration-centre tr:last-child td{border-bottom:0}
.cfsu-portal .cfsu-panel,.cfsu-registration-centre .cfsu-panel,.cfsu-app-card{border:1px solid #e2e7ed;border-radius:13px;box-shadow:0 8px 24px rgba(20,32,48,.045);background:#fff}
.cfsu-auto-generated{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:1px dashed #aab5c2;border-radius:8px;background:#f5f7fa;color:#536174;font-size:13px}
@media(max-width:700px){.cfsu-portal section{padding:14px}.cfsu-portal table,.cfsu-registration-centre table{display:block;overflow-x:auto;white-space:nowrap}.cfsu-portal input,.cfsu-portal select,.cfsu-portal textarea,.cfsu-registration-centre input,.cfsu-registration-centre select,.cfsu-registration-centre textarea{font-size:16px}.cfsu-portal button,.cfsu-registration-centre button,.cslop-registration button{width:100%}}


/* CSLOP v1.3.0.23 — registration clarity and resident management */
.cslop-registration-form,.cslop-registration-form *{box-sizing:border-box}
.cslop-registration-form{width:100%;max-width:980px;margin:20px auto;padding:clamp(16px,3vw,30px);display:block!important;background:#fff;color:#17212b;border:1px solid #d7dee7;border-radius:14px;box-shadow:0 5px 22px rgba(16,24,40,.06);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55}
.cslop-registration-form .cslop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.cslop-registration-form label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#17212b!important;font-size:14px!important;font-weight:650!important;line-height:1.45}
.cslop-registration-form label small,.cslop-registration-form .description{color:#536273!important;font-size:12px!important;font-weight:400!important;line-height:1.5}
.cslop-registration-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.cslop-registration-form select,.cslop-registration-form textarea{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid #b9c4d0;border-radius:8px;background:#fff;color:#17212b!important;font:inherit;font-size:15px;line-height:1.4;box-shadow:none}
.cslop-registration-form textarea{min-height:100px;resize:vertical}
.cslop-registration-form input::placeholder,.cslop-registration-form textarea::placeholder{color:#687789;opacity:1}
.cslop-registration-form input:focus,.cslop-registration-form select:focus,.cslop-registration-form textarea:focus{outline:2px solid rgba(37,99,235,.18);outline-offset:1px;border-color:#2563eb}
.cslop-registration-form input[type=file]{width:100%;max-width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#17212b}
.cslop-registration-form input[type=checkbox],.cslop-registration-form input[type=radio]{width:16px;height:16px;min-width:16px;min-height:16px;accent-color:#1769d2;vertical-align:middle}
.cslop-registration-form .cslop-category-field,.cslop-registration-form #cslop-record-search-label,.cslop-registration-form .cslop-identity-section,.cslop-registration-form .cslop-unit-fields,.cslop-registration-form .cslop-consent,.cslop-registration-form .cslop-checklist,.cslop-registration-form button[type=submit]{grid-column:1/-1}
.cslop-registration-form .cslop-record-results{position:relative;z-index:5;max-height:280px;overflow:auto;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17212b}
.cslop-registration-form .cslop-record-result{display:flex;align-items:center;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #e5eaf0;background:#fff;color:#17212b!important;text-align:left;font-size:14px;cursor:pointer}
.cslop-registration-form .cslop-record-result:hover,.cslop-registration-form .cslop-record-result:focus{background:#eff6ff;color:#123b72!important}
.cslop-registration-form button[type=submit]{width:auto;min-height:46px;justify-self:start;padding:11px 24px;border:0;border-radius:8px;background:#174b82;color:#fff!important;font-weight:700;cursor:pointer}
.cslop-registration-form button[type=submit]:hover{background:#10365f}
.cslop-registration-form .cfsu-notice,.cslop-registration-form .cfsu-notice-success{grid-column:1/-1;padding:13px 15px;border-radius:8px;background:#ecfdf3;color:#14532d!important;border:1px solid #bbf7d0;font-size:14px;line-height:1.5}
.cfsu-admin .cfsu-resident-directory th,.cfsu-admin .cfsu-resident-directory td{vertical-align:top;padding:10px 9px;line-height:1.5;color:#243244}
.cfsu-admin .cfsu-resident-directory{min-width:1050px}
.cfsu-admin .cfsu-resident-directory .cfsu-resident-actions{min-width:180px}
.cfsu-admin .cfsu-resident-actions summary{display:inline-block;padding:7px 10px;border:1px solid #b8c7d8;border-radius:6px;background:#f8fafc;color:#174b82;font-weight:650;cursor:pointer}
.cfsu-admin .cfsu-action-stack{display:grid;gap:7px;min-width:180px;padding:10px 0}
.cfsu-admin .cfsu-action-stack form{display:grid;gap:6px}
.cfsu-admin .cfsu-action-stack input,.cfsu-admin .cfsu-action-stack select{width:100%;max-width:100%;min-height:36px}
.cfsu-admin .cfsu-resident-edit{margin:20px 0;padding:18px;border:1px solid #d8e0e8;border-radius:10px;background:#fff}
.cfsu-admin .cfsu-resident-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cfsu-admin .cfsu-resident-edit-form label{display:grid;gap:5px;font-weight:600}
.cfsu-admin .cfsu-resident-edit-form input,.cfsu-admin .cfsu-resident-edit-form select{width:100%;max-width:100%;min-height:40px}
.cfsu-admin .cfsu-resident-edit-form button{grid-column:1/-1;justify-self:start}
@media(max-width:680px){.cslop-registration-form{padding:15px;margin:12px auto}.cslop-registration-form .cslop-form-grid{grid-template-columns:1fr;gap:13px}.cslop-registration-form .cslop-category-field,.cslop-registration-form #cslop-record-search-label,.cslop-registration-form .cslop-identity-section,.cslop-registration-form .cslop-unit-fields,.cslop-registration-form .cslop-consent,.cslop-registration-form .cslop-checklist,.cslop-registration-form button[type=submit]{grid-column:1}.cfsu-admin .cfsu-resident-edit-form{grid-template-columns:1fr}}


/* CSLOP v1.3.0.24 — registration page standalone theme isolation and responsive polish */
body.cslop-standalone-page,
body.cslop-standalone-page #page,
body.cslop-standalone-page .site,
body.cslop-standalone-page .site-content,
body.cslop-standalone-page .content-area,
body.cslop-standalone-page .site-main,
body.cslop-standalone-page .ast-container,
body.cslop-standalone-page .entry-content,
body.cslop-standalone-page .wp-site-blocks {
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.cslop-standalone-page #masthead,
body.cslop-standalone-page #colophon,
body.cslop-standalone-page .site-header,
body.cslop-standalone-page .site-footer,
body.cslop-standalone-page .ast-primary-header-bar,
body.cslop-standalone-page .ast-desktop-header,
body.cslop-standalone-page .ast-mobile-header-wrap,
body.cslop-standalone-page .ast-above-header-wrap,
body.cslop-standalone-page .ast-below-header-wrap,
body.cslop-standalone-page .ast-small-footer,
body.cslop-standalone-page .main-header,
body.cslop-standalone-page .main-footer,
body.cslop-standalone-page .elementor-location-header,
body.cslop-standalone-page .elementor-location-footer,
body.cslop-standalone-page .wp-site-blocks>header,
body.cslop-standalone-page .wp-site-blocks>footer,
body.cslop-standalone-page .entry-header,
body.cslop-standalone-page .entry-footer {display:none!important}
body.cslop-standalone-page {background:#f3f5f8!important;color:#17212d!important;overflow-x:hidden!important}
body.cslop-standalone-page .cfsu-registration-centre,
body.cslop-standalone-page .cslop-registration {width:100%;max-width:1180px;margin:0 auto!important;padding:clamp(12px,2.5vw,28px)!important;color:#17212d!important}
body.cslop-standalone-page .cslop-reg-heading {display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:18px;align-items:center;padding:24px clamp(18px,3vw,36px)!important;margin:0 0 22px!important;border-radius:0 0 16px 16px;background:linear-gradient(115deg,#111a23 0%,#202b37 68%,#33232a 100%)!important;color:#fff!important;min-height:128px}
body.cslop-standalone-page .cslop-reg-heading:before {content:"";grid-column:1;grid-row:1/4;width:68px;height:68px;background:url('../assets/cyforce-security-logo.jpeg') center/contain no-repeat #fff;border-radius:50%;border:3px solid rgba(255,255,255,.9)}
body.cslop-standalone-page .cslop-reg-heading>span {grid-column:2;color:#f4dfe1!important;font-size:12px;font-weight:700;letter-spacing:.08em}
body.cslop-standalone-page .cslop-reg-heading h2 {grid-column:2;margin:2px 0 5px!important;color:#fff!important;font-size:clamp(22px,3vw,32px)!important;line-height:1.2!important;font-weight:750!important;letter-spacing:-.02em}
body.cslop-standalone-page .cslop-reg-heading p {grid-column:2;margin:0;color:#e8edf3!important;font-size:14px;line-height:1.5}
body.cslop-standalone-page .cslop-reg-heading .cslop-instructions-link {margin-top:8px}
body.cslop-standalone-page .cslop-reg-heading .cslop-instructions-link a {color:#ffd9dc!important;text-decoration:underline;font-weight:650}
body.cslop-standalone-page .cslop-registration-form {max-width:100%!important;margin:0 auto 28px!important;padding:clamp(16px,3vw,32px)!important;border:1px solid #dfe5ec!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 28px rgba(16,24,40,.06)!important;color:#17212d!important}
body.cslop-standalone-page .cslop-registration-form label {color:#1d2938!important;font-size:14px!important;font-weight:650!important}
body.cslop-standalone-page .cslop-registration-form label small,
body.cslop-standalone-page .cslop-registration-form small,
body.cslop-standalone-page .cslop-registration-form .cslop-privacy-note {color:#536273!important}
body.cslop-standalone-page .cslop-registration-form .cslop-wide {grid-column:1/-1;min-width:0}
body.cslop-standalone-page .cslop-registration-form .cslop-entity-picker {position:relative;width:100%;min-width:0}
body.cslop-standalone-page .cslop-registration-form .cslop-search-results {position:absolute;left:0;right:0;top:100%;z-index:30;max-height:280px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:0 0 10px 10px;box-shadow:0 12px 24px rgba(15,23,42,.12)}
body.cslop-standalone-page .cslop-registration-form .cfsu-notice {margin:0 0 18px!important}
body.cslop-standalone-page .cslop-registration-form .cslop-camera-actions {display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
body.cslop-standalone-page .cslop-registration-form .cslop-camera-actions button {width:auto!important}
body.cslop-standalone-page .cslop-registration-form #cslop-passport-preview {display:block;max-width:150px;max-height:180px;object-fit:cover;border-radius:9px;margin:10px 0;border:1px solid #d8e0e8}
body.cslop-standalone-page .cslop-registration-form button[type=submit] {min-width:180px}
body.cslop-standalone-page .cslop-registration-form input[type=checkbox] {width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px}
@media(max-width:700px){
 body.cslop-standalone-page .cslop-registration-centre,body.cslop-standalone-page .cslop-registration{padding:0 10px 16px!important}
 body.cslop-standalone-page .cslop-reg-heading{grid-template-columns:48px minmax(0,1fr);column-gap:12px;padding:18px 14px!important;min-height:0}
 body.cslop-standalone-page .cslop-reg-heading:before{width:44px;height:44px;border-width:2px}
 body.cslop-standalone-page .cslop-reg-heading h2{font-size:21px!important}
 body.cslop-standalone-page .cslop-reg-heading p{font-size:13px}
 body.cslop-standalone-page .cslop-registration-form{padding:16px!important;border-radius:12px!important;margin:12px auto 20px!important}
 body.cslop-standalone-page .cslop-registration-form .cslop-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.cslop-standalone-page .cslop-registration-form .cslop-wide{grid-column:1!important}
 body.cslop-standalone-page .cslop-registration-form input,body.cslop-standalone-page .cslop-registration-form select,body.cslop-standalone-page .cslop-registration-form textarea{font-size:16px!important;min-width:0}
 body.cslop-standalone-page .cslop-registration-form button[type=submit]{width:100%!important}
 body.cslop-standalone-page .cslop-registration-form .cslop-camera-actions button{flex:1 1 140px}
}


/* CSLOP v1.3.0.25 — login title contrast and native-only sign-in presentation */
body.cslop-standalone-page .cfsu-app-shell .cfsu-app-brand,
body.cslop-standalone-page .cfsu-app-shell .cfsu-app-brand * { color:#fff !important; }
body.cslop-standalone-page .cfsu-app-shell .cfsu-app-brand span { color:#ffd5d8 !important; }
body.cslop-standalone-page .cfsu-app-shell .cfsu-app-brand small { color:#e7edf4 !important; }
body.cslop-standalone-page .cslop-single-login .cfsu-app-brand h1,
body.cslop-standalone-page .cfsu-app-shell .cfsu-app-brand h1 { color:#fff !important; opacity:1 !important; visibility:visible !important; text-shadow:0 1px 2px rgba(0,0,0,.18); }
body.cslop-standalone-page .cslop-single-login .cfsu-app-card h2 { color:#111820 !important; }
body.cslop-standalone-page .cslop-single-login .cfsu-app-card p,
body.cslop-standalone-page .cslop-single-login .cfsu-app-card label { color:#17212d !important; }
body.cslop-standalone-page .cslop-single-login .cfsu-app-card form { position:relative; }
body.cslop-standalone-page .cslop-single-login .cfsu-app-card input#user_login,
body.cslop-standalone-page .cslop-single-login .cfsu-app-card input#user_pass { background:#fff !important;color:#17212d !important; }
/* Hide Google Identity Services widgets if another site component injects them into CSLOP.
   This does not target the browser's own password-manager/autofill UI. */
body.cslop-standalone-page .g_id_signin,
body.cslop-standalone-page #g_id_onload,
body.cslop-standalone-page iframe[src*="accounts.google.com/gsi/"],
body.cslop-standalone-page div[id^="credential_picker"],
body.cslop-standalone-page div[class*="google-one-tap"] { display:none !important; visibility:hidden !important; }
@media(max-width:680px){
 body.cslop-standalone-page .cslop-single-login .cfsu-app-brand{align-items:center;}
 body.cslop-standalone-page .cslop-single-login .cfsu-app-brand h1{font-size:clamp(18px,5vw,23px)!important;line-height:1.25!important;overflow-wrap:anywhere;}
 body.cslop-standalone-page .cslop-single-login .cfsu-app-card{max-width:100%;}
}


/* CSLOP v1.3.0.26 — global frontend workspace consistency and theme isolation */
body.cslop-standalone-page {
  --cslop-ink:#17212d; --cslop-muted:#536273; --cslop-border:#dfe5ec;
  --cslop-surface:#ffffff; --cslop-page:#f3f5f8; --cslop-accent:#a71925;
  background:var(--cslop-page)!important; color:var(--cslop-ink)!important;
  overflow-x:hidden!important;
}
body.cslop-standalone-page,
body.cslop-standalone-page * {box-sizing:border-box}
/* Hide theme-owned chrome only on pages carrying a CSLOP shortcode/route. */
body.cslop-standalone-page #masthead,
body.cslop-standalone-page #colophon,
body.cslop-standalone-page .site-header,
body.cslop-standalone-page .site-footer,
body.cslop-standalone-page .ast-header-break-point .main-header-bar,
body.cslop-standalone-page .ast-primary-header-bar,
body.cslop-standalone-page .ast-mobile-header-wrap,
body.cslop-standalone-page .ast-desktop-header,
body.cslop-standalone-page .ast-above-header-wrap,
body.cslop-standalone-page .ast-below-header-wrap,
body.cslop-standalone-page .ast-small-footer,
body.cslop-standalone-page .elementor-location-header,
body.cslop-standalone-page .elementor-location-footer,
body.cslop-standalone-page .wp-site-blocks>header,
body.cslop-standalone-page .wp-site-blocks>footer,
body.cslop-standalone-page .entry-header,
body.cslop-standalone-page .entry-footer {display:none!important}
body.cslop-standalone-page #page,
body.cslop-standalone-page .site,
body.cslop-standalone-page .site-content,
body.cslop-standalone-page .content-area,
body.cslop-standalone-page .site-main,
body.cslop-standalone-page .ast-container,
body.cslop-standalone-page .entry-content,
body.cslop-standalone-page .wp-site-blocks {width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.cslop-standalone-page .cfsu-app-shell,
body.cslop-standalone-page .cfsu-standalone,
body.cslop-standalone-page .cfsu-portal,
body.cslop-standalone-page .cfsu-registration-centre,
body.cslop-standalone-page .cslop-registration,
body.cslop-standalone-page .cfsu-directory,
body.cslop-standalone-page .cfsu-client-portal,
body.cslop-standalone-page .cfsu-leadership,
body.cslop-standalone-page .cfsu-notice-center,
body.cslop-standalone-page .cfsu-alert-center,
body.cslop-standalone-page .cfsu-application-review {font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--cslop-ink)!important;min-width:0}
body.cslop-standalone-page .cfsu-app-shell {width:min(1440px,100%)!important;max-width:1440px!important;margin:0 auto!important;border:0!important;border-radius:0!important;min-height:100vh;background:var(--cslop-page)!important;box-shadow:none!important;overflow:hidden}
body.cslop-standalone-page .cfsu-app-brand {display:flex!important;align-items:center;gap:20px;padding:clamp(18px,3vw,34px)!important;background:linear-gradient(115deg,#111a23 0%,#202b37 68%,#33232a 100%)!important;color:#fff!important;min-height:132px}
body.cslop-standalone-page .cfsu-app-brand img {width:82px!important;height:82px!important;flex:0 0 82px;object-fit:contain;border-radius:50%;background:#fff;padding:5px}
body.cslop-standalone-page .cfsu-app-brand>div {min-width:0}
body.cslop-standalone-page .cfsu-app-brand span {display:block;color:#ffd9dc!important;font-size:13px;font-weight:800;letter-spacing:.12em}
body.cslop-standalone-page .cfsu-app-brand h1,
body.cslop-standalone-page .cfsu-app-brand h2 {margin:5px 0!important;color:#fff!important;font-size:clamp(21px,3vw,32px)!important;line-height:1.2!important;font-weight:800!important;opacity:1!important;visibility:visible!important;overflow-wrap:anywhere}
body.cslop-standalone-page .cfsu-app-brand small {display:block;color:#edf2f7!important;font-size:14px;line-height:1.5}
body.cslop-standalone-page .cfsu-app-shell>main {padding:clamp(12px,2.4vw,28px)!important;min-width:0}
body.cslop-standalone-page .cfsu-app-shell h1,
body.cslop-standalone-page .cfsu-app-shell h2,
body.cslop-standalone-page .cfsu-app-shell h3,
body.cslop-standalone-page .cfsu-standalone h1,
body.cslop-standalone-page .cfsu-standalone h2,
body.cslop-standalone-page .cfsu-standalone h3 {color:var(--cslop-ink)!important;line-height:1.3}
body.cslop-standalone-page .cfsu-app-card,
body.cslop-standalone-page .cfsu-panel,
body.cslop-standalone-page .cfsu-stat,
body.cslop-standalone-page .cfsu-tile,
body.cslop-standalone-page .cfsu-registration-centre,
body.cslop-standalone-page .cslop-registration-form {background:var(--cslop-surface)!important;color:var(--cslop-ink)!important;border:1px solid var(--cslop-border)!important;border-radius:14px!important;box-shadow:0 6px 22px rgba(16,24,40,.045)}
body.cslop-standalone-page p,
body.cslop-standalone-page li,
body.cslop-standalone-page label,
body.cslop-standalone-page td {color:var(--cslop-ink)}
body.cslop-standalone-page small,
body.cslop-standalone-page .description,
body.cslop-standalone-page .cslop-privacy-note {color:var(--cslop-muted)!important}
body.cslop-standalone-page input:not([type=checkbox]):not([type=radio]),
body.cslop-standalone-page select,
body.cslop-standalone-page textarea {width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #cbd5df!important;border-radius:9px!important;padding:10px 12px!important;background:#fff!important;color:#17212d!important;font:inherit;box-shadow:none}
body.cslop-standalone-page input:focus,
body.cslop-standalone-page select:focus,
body.cslop-standalone-page textarea:focus {outline:3px solid rgba(167,25,37,.14)!important;border-color:#a71925!important}
body.cslop-standalone-page button,
body.cslop-standalone-page .button,
body.cslop-standalone-page input[type=submit] {max-width:100%;border-radius:8px;font-weight:700;cursor:pointer}
body.cslop-standalone-page .cfsu-notice,
body.cslop-standalone-page .cfsu-notice-success {padding:13px 16px!important;margin:0 0 18px!important;border-radius:9px!important;line-height:1.55}
body.cslop-standalone-page .cfsu-table-wrap,
body.cslop-standalone-page .cfsu-responsive-table,
body.cslop-standalone-page .table-responsive {max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.cslop-standalone-page table {max-width:100%;border-collapse:separate;border-spacing:0}
body.cslop-standalone-page th {color:#253244!important;background:#f1f4f7!important}
body.cslop-standalone-page td {color:#263548!important}
body.cslop-standalone-page a {overflow-wrap:anywhere}
body.cslop-standalone-page .cfsu-brand-footer {display:block!important;background:#111a23!important;color:#fff!important}
body.cslop-standalone-page .cfsu-brand-footer * {color:#fff!important}
@media(max-width:760px){
 body.cslop-standalone-page .cfsu-app-brand {align-items:flex-start!important;padding:16px!important;gap:12px!important;min-height:0}
 body.cslop-standalone-page .cfsu-app-brand img {width:54px!important;height:54px!important;flex-basis:54px}
 body.cslop-standalone-page .cfsu-app-brand h1 {font-size:clamp(18px,5vw,23px)!important}
 body.cslop-standalone-page .cfsu-app-brand small {font-size:12px}
 body.cslop-standalone-page .cfsu-app-shell>main {padding:10px!important}
 body.cslop-standalone-page .cfsu-app-card,
 body.cslop-standalone-page .cfsu-panel,
 body.cslop-standalone-page .cslop-registration-form {padding:14px!important}
 body.cslop-standalone-page .cfsu-tiles {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.cslop-standalone-page .cfsu-app-shell nav,
 body.cslop-standalone-page .cfsu-standalone nav {display:flex;flex-wrap:wrap;gap:7px;padding:10px}
 body.cslop-standalone-page .cfsu-app-shell nav a,
 body.cslop-standalone-page .cfsu-standalone nav a {flex:1 1 130px;text-align:center}
 body.cslop-standalone-page .cfsu-portal table,
 body.cslop-standalone-page .cfsu-registration-centre table,
 body.cslop-standalone-page .cfsu-standalone table {display:block;overflow-x:auto;white-space:nowrap}
 body.cslop-standalone-page button,
 body.cslop-standalone-page .button,
 body.cslop-standalone-page input[type=submit] {min-height:42px}
}
@media(max-width:420px){body.cslop-standalone-page .cfsu-tiles{grid-template-columns:1fr!important}body.cslop-standalone-page .cfsu-app-brand{gap:9px!important}}


/* CSLOP v1.3.0.27: readable portal identity header and self-service phone profile */
.cfsu-standalone>header{background:linear-gradient(115deg,#111820 0%,#202b36 68%,#38232b 100%)!important;color:#fff!important;min-height:150px}
.cfsu-standalone>header h1,.cfsu-standalone>header h2,.cfsu-standalone>header p,.cfsu-standalone>header small{color:#fff!important;opacity:1!important}
.cfsu-standalone>header h1{font-size:clamp(22px,3vw,30px)!important;line-height:1.25!important;font-weight:800!important}
.cfsu-standalone .cfsu-user{display:flex;flex-direction:column;align-items:flex-end;gap:9px;min-width:230px;color:#fff!important}
.cfsu-standalone .cfsu-user-identity{display:flex;align-items:center;justify-content:flex-end;gap:11px;color:#fff;font-weight:700}
.cfsu-standalone .cfsu-profile-avatar{width:48px!important;height:48px!important;border-radius:50%;object-fit:cover;border:2px solid #fff;display:block}
.cfsu-standalone .cfsu-self-profile{width:min(320px,90vw);color:#fff;text-align:left}
.cfsu-standalone .cfsu-self-profile summary{cursor:pointer;color:#fff;font-weight:700;text-align:right;padding:4px 0}
.cfsu-standalone .cfsu-self-profile form{display:grid;gap:9px;background:#fff;color:#17202a;padding:14px;border-radius:9px;margin-top:8px;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.cfsu-standalone .cfsu-self-profile label{display:grid;gap:5px;color:#17202a;font-weight:700}
.cfsu-standalone .cfsu-self-profile input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #b9c3cf;border-radius:6px;color:#17202a;background:#fff}
.cfsu-standalone .cfsu-self-profile button{min-height:40px;border:0;border-radius:6px;background:#174f83;color:#fff;font-weight:700;padding:8px 14px;cursor:pointer}
.cfsu-standalone .cfsu-self-profile>p{background:#fff;color:#263445;padding:10px;border-radius:7px;font-size:13px;line-height:1.5}
.cfsu-standalone .cfsu-self-profile>p a{color:#174f83;text-decoration:underline}
.cfsu-profile-feedback{padding:8px 10px;border-radius:6px;font-size:13px}
.cfsu-profile-feedback.success{background:#e9f7ef;color:#146c38}
.cfsu-profile-feedback.error{background:#fff0f0;color:#a61b1b}
.cfsu-standalone .cfsu-signout{color:#fff!important;text-decoration:underline}
@media(max-width:700px){
 .cfsu-standalone>header{align-items:flex-start!important;flex-direction:column!important;padding:18px!important;gap:14px!important}
 .cfsu-standalone .cfsu-user{align-items:flex-start;width:100%;min-width:0}
 .cfsu-standalone .cfsu-user-identity{justify-content:flex-start}
 .cfsu-standalone .cfsu-self-profile{width:100%;max-width:100%}
 .cfsu-standalone .cfsu-self-profile summary{text-align:left}
}

/* CSLOP v1.3.0.29 dedicated login endpoint */
.cfsu-native-login-form{display:grid;gap:10px;width:100%;max-width:560px;margin:18px 0}
.cfsu-native-login-form label{display:block;color:#17202a;font-weight:700;font-size:15px}
.cfsu-native-login-form input[type=text],.cfsu-native-login-form input[type=password]{box-sizing:border-box;width:100%;min-height:48px;padding:11px 14px;border:1px solid #c7d0dc;border-radius:9px;background:#fff;color:#17202a;font-size:16px}
.cfsu-native-login-form .cfsu-remember{display:flex;align-items:center;gap:8px;font-weight:500}
.cfsu-native-login-form .cfsu-remember input{width:17px;height:17px}
.cfsu-native-login-form button{min-height:48px;border:0;border-radius:9px;background:#174f83;color:#fff;font-weight:700;padding:10px 20px;cursor:pointer}
.cfsu-native-login-form button:hover{background:#103b64}
.cfsu-login-error{padding:11px 14px;border-left:4px solid #b42318;background:#fff1f0;color:#8a1c13;border-radius:5px}

/* CSLOP global branded-header contrast repair — applies across portal workspaces */
.cfsu-standalone > header,
.cfsu-portal > header,
.cfsu-app-shell > header.cfsu-app-brand,
.cfsu-login-card > header,
.cfsu-registration-centre > header,
.cfsu-standalone header:first-child,
.cfsu-app-brand {
  background: linear-gradient(115deg,#101820 0%,#202b36 72%,#3a2028 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.14) !important;
}
.cfsu-standalone > header *,
.cfsu-portal > header *,
.cfsu-app-shell > header.cfsu-app-brand *,
.cfsu-login-card > header *,
.cfsu-registration-centre > header *,
.cfsu-app-brand * {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}
.cfsu-standalone > header h1,
.cfsu-standalone > header h2,
.cfsu-portal > header h1,
.cfsu-portal > header h2,
.cfsu-app-shell > header.cfsu-app-brand h1,
.cfsu-app-shell > header.cfsu-app-brand h2,
.cfsu-app-brand h1,
.cfsu-app-brand h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.cfsu-standalone > header small,
.cfsu-app-brand span,
.cfsu-app-brand small {
  color: #f5c6ca !important;
  -webkit-text-fill-color: #f5c6ca !important;
  opacity: 1 !important;
}
.cfsu-standalone > header a,
.cfsu-portal > header a,
.cfsu-app-brand a { color:#ffffff !important; text-decoration-color:rgba(255,255,255,.7) !important; }
.cfsu-standalone .cfsu-user-identity { color:#fff !important; }
.cfsu-standalone .cfsu-user-identity img { border:2px solid #fff; border-radius:50%; }
@media(max-width:700px){
  .cfsu-standalone > header,
  .cfsu-portal > header,
  .cfsu-app-shell > header.cfsu-app-brand { padding:16px !important; gap:12px !important; }
  .cfsu-standalone > header h1,
  .cfsu-app-brand h1 { font-size:clamp(19px,5vw,26px) !important; overflow-wrap:anywhere; }
}

/* v1.3.0.31 role-specific workspace presentation */
.cfsu-role-dashboard{width:100%;max-width:1600px;margin:0 auto;border-radius:0}
.cfsu-role-dashboard>main{padding:clamp(16px,2.4vw,34px)}
.cfsu-role-dashboard>main>h2{font-size:clamp(25px,3vw,38px);line-height:1.2;color:#17202a!important;margin:0 0 8px}
.cfsu-role-dashboard>main>p{font-size:16px;line-height:1.6}
.cfsu-role-dashboard .cfsu-tiles{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px}
.cfsu-role-dashboard .cfsu-tile{min-width:0;min-height:105px;padding:18px;background:#fff;border:1px solid #dbe2ea;border-radius:14px;color:#17202a;box-shadow:0 5px 18px rgba(20,35,55,.045)}
.cfsu-role-dashboard .cfsu-tile strong{color:#b51f2b;font-size:25px;overflow-wrap:anywhere}
.cfsu-role-dashboard section{margin:24px 0;padding:20px 0;border-top:1px solid #dce2e9}
.cfsu-role-dashboard section h3{font-size:20px;margin:0 0 14px;color:#17202a}
.cfsu-role-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e0e5eb;border-radius:10px;background:#fff}
.cfsu-role-table{width:100%;border-collapse:collapse;min-width:600px}
.cfsu-role-table th,.cfsu-role-table td{padding:12px 14px;text-align:left;border-bottom:1px solid #e8edf2;vertical-align:top;line-height:1.45}
.cfsu-role-table th{background:#f3f6f9;font-weight:700;color:#26384b}
.cfsu-role-table tr:last-child td{border-bottom:0}
.cfsu-role-note{padding:12px 15px;background:#f5f7fa;border-left:4px solid #8795a5;border-radius:4px;font-size:14px}
.cfsu-role-success{padding:12px 15px;background:#edf8f0;border-left:4px solid #238447;color:#175c32}
.cfsu-attendance-action button{border:0;border-radius:8px;background:#176044;color:#fff;padding:13px 20px;font-weight:700;cursor:pointer;min-height:46px}
.cfsu-role-dashboard .cfsu-user-identity{display:flex;align-items:center;gap:10px}
.cfsu-role-dashboard .cfsu-profile-avatar{width:48px;height:48px;object-fit:cover;border-radius:50%;border:2px solid #fff}
@media(max-width:640px){.cfsu-role-dashboard>header{align-items:flex-start;flex-direction:column}.cfsu-role-dashboard .cfsu-user{width:100%;align-items:flex-start!important;text-align:left!important}.cfsu-role-dashboard .cfsu-user-identity{justify-content:flex-start!important}.cfsu-role-dashboard .cfsu-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.cfsu-role-dashboard .cfsu-tile{padding:13px;min-height:90px}.cfsu-role-dashboard>main{padding:14px}.cfsu-role-dashboard section{margin:18px 0;padding-top:15px}}
@media(max-width:380px){.cfsu-role-dashboard .cfsu-tiles{grid-template-columns:1fr}}
.cfsu-role-dashboard>header h1,.cfsu-role-dashboard>header h2,.cfsu-role-dashboard>header p,.cfsu-role-dashboard>header small{color:#fff!important;opacity:1!important}
.cfsu-role-dashboard>header h1{font-weight:800!important;letter-spacing:.01em}

/* v1.3.0.34 registration consent, draft notice and mobile controls */
body.cslop-standalone-page .cslop-registration-form .cslop-single-confirm{
 display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;
 box-sizing:border-box!important;padding:12px 14px!important;line-height:1.55!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
}
body.cslop-standalone-page .cslop-registration-form .cslop-single-confirm input[type=checkbox]{
 flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0!important;
}
body.cslop-standalone-page .cslop-registration-form .cslop-consent-copy{
 display:block!important;flex:1 1 auto!important;min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;
}
body.cslop-standalone-page .cslop-registration-form .cslop-consent-copy a{
 display:inline!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;color:#b51f2b!important;font-weight:700!important;text-decoration:underline!important;
}
body.cslop-standalone-page .cslop-autosave-status{display:none!important}
body.cslop-standalone-page .cslop-registration-form textarea{min-height:90px!important;height:auto!important;resize:vertical!important;overflow:auto!important;line-height:1.45!important}
body.cslop-standalone-page .cslop-registration-form button[type=submit]{max-width:100%!important;box-sizing:border-box!important}
@media(max-width:600px){
 body.cslop-standalone-page .cslop-registration-form .cslop-single-confirm{padding:11px!important;gap:9px!important;font-size:14px!important;}
 body.cslop-standalone-page .cslop-registration-form .cslop-consent-copy{font-size:14px!important;line-height:1.5!important;}
 body.cslop-standalone-page .cslop-registration-form .cslop-consent-copy a{white-space:nowrap!important;}
 body.cslop-standalone-page .cslop-registration-form button[type=submit]{width:100%!important;min-width:0!important;}
}
/* Hide unrelated floating theme chat/back-to-top controls on standalone registration only. */
body.cslop-standalone-page .joinchat,body.cslop-standalone-page #joinchat,
body.cslop-standalone-page .ast-scroll-to-top,body.cslop-standalone-page .scroll-to-top,
body.cslop-standalone-page .back-to-top,body.cslop-standalone-page .whatsapp-chat-widget{display:none!important}


/* v1.3.0.61 Personnel register filter layout */
.cfsu-personnel-filter{
 display:grid!important;grid-template-columns:minmax(240px,2fr) minmax(190px,1.35fr) minmax(190px,1.35fr) auto auto!important;
 align-items:stretch!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:12px 0 16px!important;box-sizing:border-box!important;
}
.cfsu-personnel-filter input[type="search"],.cfsu-personnel-filter select,.cfsu-personnel-filter button,.cfsu-personnel-filter a.button{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;margin:0!important;
}
.cfsu-personnel-filter input[type="search"]{padding:10px 13px!important;}
.cfsu-personnel-filter select{padding:10px 34px 10px 12px!important;background-position:right 10px center!important;background-size:14px 14px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;}
.cfsu-personnel-filter button,.cfsu-personnel-filter a.button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:9px 18px!important;}
@media(max-width:900px){.cfsu-personnel-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.cfsu-personnel-filter input[type="search"]{grid-column:1/-1!important;}}
@media(max-width:520px){.cfsu-personnel-filter{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}.cfsu-personnel-filter input[type="search"]{grid-column:auto!important;}.cfsu-personnel-filter select{min-height:46px!important;}.cfsu-personnel-filter button,.cfsu-personnel-filter a.button{width:100%!important;}}

.cfsu-personnel-id-tools{margin-top:14px!important;border-top:3px solid #dce3ee!important}
.cfsu-personnel-bulk-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}
.cfsu-personnel-bulk-filter label{display:flex;flex-direction:column;gap:6px;min-width:220px;font-weight:600}
.cfsu-personnel-bulk-filter select{min-height:42px;min-width:220px;padding:8px 32px 8px 10px}
@media(max-width:600px){.cfsu-personnel-bulk-filter,.cfsu-personnel-bulk-filter label,.cfsu-personnel-bulk-filter select,.cfsu-personnel-bulk-filter button{width:100%;min-width:0}}

/* v1.3.0.81 mobile-first guard dashboard and user tester */
.cfsu-guard-dashboard{max-width:1100px;margin:0 auto;padding:clamp(12px,3vw,28px);color:var(--cfsu-text,#172033)}
.cfsu-guard-identity{display:flex;align-items:center;gap:16px;padding:18px;background:#172f67;color:#fff;border-radius:16px;margin:12px 0 18px;min-width:0}
.cfsu-guard-identity h2{margin:0 0 6px;font-size:clamp(20px,4vw,28px);color:#fff}
.cfsu-guard-identity p{margin:0 0 8px;overflow-wrap:anywhere}
.cfsu-guard-avatar{width:104px;height:104px;min-width:104px;object-fit:cover;border-radius:50%;border:3px solid #fff;background:#e5e7eb}
.cfsu-avatar-placeholder{display:grid;place-items:center;font-size:42px;color:#334155}
.cfsu-status-pill{display:inline-block;background:#e0f2fe;color:#0c4a6e;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}
.cfsu-guard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cfsu-guard-dashboard section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;margin:14px 0;min-width:0}
.cfsu-guard-dashboard section h3{margin-top:0}
.cfsu-guard-dashboard .cfsu-table-wrap,.cfsu-guard-dashboard table{max-width:100%;overflow-x:auto}
.cfsu-guard-dashboard .cfsu-attendance-card{border:2px solid #315be8}
.cfsu-guard-dashboard .cfsu-attendance-action button{width:100%;min-height:48px}
.cfsu-guard-dashboard label{display:block;margin:10px 0}
.cfsu-guard-dashboard input[type=file]{display:block;width:100%;max-width:100%;padding:10px}
.cfsu-tester-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.cfsu-tester-filters label{display:flex;flex-direction:column;gap:6px;min-width:220px}
@media(max-width:760px){.cfsu-guard-identity{align-items:flex-start;padding:14px;gap:12px}.cfsu-guard-avatar{width:76px;height:76px;min-width:76px}.cfsu-guard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cfsu-guard-dashboard section{padding:12px;margin:10px 0}.cfsu-guard-dashboard .cfsu-table-wrap{overflow-x:auto}.cfsu-guard-dashboard table{min-width:620px}.cfsu-tester-filters label{width:100%;min-width:0}.cfsu-tester-filters input,.cfsu-tester-filters select{width:100%}}

/* v1.3.0.87 guard attendance, offline sync and communications */
.cfsu-guard-dashboard{max-width:1100px;margin:auto;padding:clamp(12px,3vw,24px)}
.cfsu-guard-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cfsu-guard-tools{display:flex;align-items:center;gap:10px}
.cfsu-notification-bell{display:inline-flex;align-items:center;gap:6px;text-decoration:none!important;font-size:22px;background:#eef2ff;border-radius:999px;padding:8px 13px}
.cfsu-notification-bell span{font-size:13px;font-weight:800}.cfsu-notification-bell .cfsu-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d71920;color:#fff!important;line-height:1;box-shadow:0 0 0 2px #fff}.cfsu-notification-bell:focus-visible{outline:3px solid #d71920;outline-offset:3px}
.cfsu-guard-action-panel{border:2px solid #315be8!important}
.cfsu-take-attendance,.cfsu-attendance-action button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;background:#315be8;color:#fff;border:0;border-radius:10px;font-weight:700;cursor:pointer}
.cfsu-guard-dashboard form label{display:block;margin:12px 0}
.cfsu-guard-dashboard input,.cfsu-guard-dashboard select,.cfsu-guard-dashboard textarea{max-width:100%;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px}
#cfsu-offline-sync-status{margin-top:10px;padding:10px;background:#eff6ff;border-radius:8px}
.cfsu-attendance-login-help{margin:16px 0;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}
.cfsu-guard-dashboard .cfsu-community{margin-top:8px}
@media(max-width:680px){.cfsu-guard-top{align-items:flex-start}.cfsu-guard-dashboard section{padding:12px!important}.cfsu-guard-dashboard table{min-width:600px}.cfsu-guard-dashboard .cfsu-table-wrap{overflow-x:auto}}

/* v1.3.0.88 personal attendance report */
.cfsu-print-personnel-report{display:inline-flex;padding:9px 14px;border-radius:8px;background:#173b70;color:#fff!important;text-decoration:none!important;font-weight:700}
@media(max-width:680px){.cfsu-print-personnel-report{width:100%;justify-content:center;box-sizing:border-box}}


/* CSLOP v1.3.0.95 — consistent mobile-first portal UI across all modules */
.cfsu-app-shell,.cfsu-standalone,.cfsu-portal,.cfsu-login-card,
.cfsu-registration,.cfsu-notice-center,.cfsu-alert-center,.cfsu-application-review,
.cfsu-guard-dashboard,.cfsu-pending-approval{
 box-sizing:border-box;max-width:100%;min-width:0;
}
.cfsu-app-shell *, .cfsu-standalone *, .cfsu-portal *, .cfsu-login-card *,
.cfsu-registration *, .cfsu-guard-dashboard *, .cfsu-pending-approval *{box-sizing:border-box}
.cfsu-app-shell input,.cfsu-app-shell select,.cfsu-app-shell textarea,
.cfsu-standalone input,.cfsu-standalone select,.cfsu-standalone textarea,
.cfsu-portal input,.cfsu-portal select,.cfsu-portal textarea,
.cfsu-login-card input,.cfsu-registration input,.cfsu-registration select,
.cfsu-registration textarea{
 max-width:100%;min-width:0;font:inherit;line-height:1.4
}
.cfsu-app-shell button,.cfsu-standalone button,.cfsu-portal button,
.cfsu-app-shell input[type=submit],.cfsu-standalone input[type=submit],
.cfsu-portal input[type=submit],.cfsu-login-card input[type=submit]{
 min-height:44px;max-width:100%;white-space:normal;touch-action:manipulation
}
.cfsu-app-shell img,.cfsu-standalone img,.cfsu-portal img{max-width:100%;height:auto}
.cfsu-app-shell table,.cfsu-standalone table,.cfsu-portal table{max-width:100%}
.cfsu-app-shell .cfsu-table-wrap,.cfsu-standalone .cfsu-table-wrap,
.cfsu-portal .cfsu-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cfsu-app-shell form,.cfsu-standalone form,.cfsu-portal form{min-width:0;max-width:100%}
.cfsu-app-shell .cfsu-app-tabs,.cfsu-standalone nav{
 overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:thin
}
.cfsu-app-shell .cfsu-app-tabs a,.cfsu-standalone nav a{flex:0 0 auto}
@media(max-width:760px){
 .cfsu-app-shell{width:100%!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important}
 .cfsu-app-brand{padding:14px!important;gap:11px!important;align-items:center!important}
 .cfsu-app-brand img{width:48px!important;height:48px!important}
 .cfsu-app-brand span{font-size:10px!important;letter-spacing:1px!important}
 .cfsu-app-brand h1{font-size:20px!important;line-height:1.25!important}
 .cfsu-app-brand small{font-size:11px!important;line-height:1.4}
 .cfsu-app-tabs{padding:9px 12px!important;gap:7px!important}
 .cfsu-app-tabs a{padding:10px 13px!important;font-size:13px!important}
 .cfsu-app-columns{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:10px!important}
 .cfsu-app-card{padding:13px!important;border-radius:12px!important}
 .cfsu-app-card h2,.cfsu-standalone h2{font-size:20px!important;line-height:1.3}
 .cfsu-app-card .cfsu-registration-centre form{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-login-card{width:100%!important;max-width:none!important;margin:0!important;padding:16px!important;border-radius:12px!important}
 .cfsu-login-card h2{font-size:23px!important;line-height:1.25}
 .cfsu-login-card label{font-size:14px!important;line-height:1.4}
 .cfsu-login-card input:not([type=checkbox]):not([type=submit]){
   width:100%!important;min-height:48px!important;padding:12px!important;font-size:16px!important
 }
 .cfsu-login-card input[type=submit]{width:100%!important;min-height:48px!important}
 .cfsu-standalone{width:100%!important;margin:0!important;border-radius:0!important;border:0!important}
 .cfsu-standalone header{padding:14px!important;gap:10px!important}
 .cfsu-standalone header h1{font-size:21px!important}
 .cfsu-standalone nav{padding:9px 12px!important;gap:8px!important}
 .cfsu-standalone nav a{font-size:13px!important;padding:9px 11px!important}
 .cfsu-standalone main{padding:12px!important}
 .cfsu-standalone section{margin:14px 0!important;padding:12px 0!important}
 .cfsu-standalone .cfsu-tiles,.cfsu-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .cfsu-standalone .cfsu-tile,.cfsu-tiles a{padding:13px!important;min-height:76px!important}
 .cfsu-search-form{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:9px!important}
 .cfsu-search-form label{min-width:0!important}
 .cfsu-search-form button{width:100%!important}
 .cfsu-directory-results{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-registration,.cfsu-notice-center,.cfsu-alert-center,.cfsu-application-review{
   width:100%!important;margin:10px 0!important;padding:13px!important;border-radius:10px!important
 }
 .cfsu-registration form{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-registration label{min-width:0!important}
 .cfsu-registration input,.cfsu-registration select,.cfsu-registration textarea{font-size:16px!important;min-height:46px!important}
 .cfsu-registration button{width:100%!important}
 .cfsu-guard-dashboard{padding:10px!important}
 .cfsu-guard-identity{display:flex!important;flex-wrap:wrap!important}
 .cfsu-guard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .cfsu-guard-dashboard section{padding:12px!important;border-radius:12px!important}
 .cfsu-guard-dashboard table{min-width:640px!important}
 .cfsu-personnel-filter{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-personnel-filter>*{grid-column:auto!important;width:100%!important}
 .cfsu-personnel-bulk-filter{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .cfsu-personnel-bulk-filter label,.cfsu-personnel-bulk-filter select{width:100%!important;min-width:0!important}
 .cfsu-app-shell .button,.cfsu-standalone .button{display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:420px){
 .cfsu-app-brand img{width:42px!important;height:42px!important}
 .cfsu-app-brand h1{font-size:18px!important}
 .cfsu-app-card{padding:11px!important}
 .cfsu-guard-kpis{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-standalone .cfsu-tiles,.cfsu-tiles{grid-template-columns:minmax(0,1fr)!important}
}
/* WordPress admin workspaces: fit tables and controls to phone widths. */
@media(max-width:782px){
 body.wp-admin .wrap{margin:10px 10px 0!important}
 body.wp-admin .wrap h1{font-size:22px!important;line-height:1.25}
 body.wp-admin .wrap .form-table th{width:auto!important;padding-bottom:5px}
 body.wp-admin .wrap .form-table td{padding:5px 0 12px}
 body.wp-admin .wrap input[type=text],body.wp-admin .wrap input[type=email],
 body.wp-admin .wrap input[type=number],body.wp-admin .wrap input[type=search],
 body.wp-admin .wrap input[type=password],body.wp-admin .wrap select,
 body.wp-admin .wrap textarea{max-width:100%!important;width:100%!important;min-height:42px}
 body.wp-admin .wrap .tablenav{height:auto;white-space:normal}
 body.wp-admin .wrap .tablenav .actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
 body.wp-admin .wrap .wp-list-table{min-width:760px}
 body.wp-admin .wrap .cfsu-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}


/* CSLOP v1.3.0.96 — unified personnel edit and guarantor workspace */
.cfsu-personnel-edit-panel{margin:18px 0 22px;padding:18px;background:#fff;border:1px solid #d8e0eb;border-radius:12px}
.cfsu-personnel-edit-form .cfsu-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cfsu-personnel-edit-form label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:650}
.cfsu-personnel-edit-form input:not([type=file]),.cfsu-personnel-edit-form select,.cfsu-personnel-edit-form textarea{width:100%;max-width:100%;min-height:42px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:7px}
.cfsu-personnel-edit-form textarea{min-height:90px}
.cfsu-personnel-edit-form .cfsu-photo-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.cfsu-personnel-edit-form .cfsu-photo-edit img{width:100px;height:120px;object-fit:cover;border-radius:8px;border:1px solid #d5dce5}
.cfsu-personnel-edit-form .cfsu-guarantor-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;padding:14px;border:1px solid #dce3ed;border-radius:10px}
.cfsu-personnel-edit-form .cfsu-guarantor-edit legend{font-weight:750;padding:0 7px}
.cfsu-personnel-edit-form button{min-height:44px;margin-top:12px}
@media(max-width:680px){
 .cfsu-personnel-edit-panel{padding:12px;margin:12px 0}
 .cfsu-personnel-edit-form .cfsu-edit-grid,.cfsu-personnel-edit-form .cfsu-photo-edit,.cfsu-personnel-edit-form .cfsu-guarantor-edit{grid-template-columns:minmax(0,1fr)}
 .cfsu-personnel-edit-form input:not([type=file]),.cfsu-personnel-edit-form select,.cfsu-personnel-edit-form textarea{font-size:16px;min-height:46px}
 .cfsu-personnel-edit-form button,.cfsu-personnel-edit-form a.button{width:100%;display:flex;justify-content:center;margin:8px 0}
}


/* CSLOP v1.3.0.99 — focused personnel edit screen and corrected form layout */
.cfsu-personnel-edit-panel{width:100%;max-width:1180px;margin:18px auto;padding:clamp(14px,2.2vw,26px)}
.cfsu-personnel-edit-panel~.cfsu-personnel-workspace{display:none!important}
.cfsu-personnel-edit-panel .cfsu-personnel-edit-form{display:block!important;width:100%;max-width:100%;min-width:0}
.cfsu-personnel-edit-panel .cfsu-edit-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 16px!important;
 align-items:start;width:100%;margin:16px 0
}
.cfsu-personnel-edit-panel .cfsu-edit-grid>label,
.cfsu-personnel-edit-panel .cfsu-photo-edit>label,
.cfsu-personnel-edit-panel .cfsu-guarantor-edit>label{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;
 width:100%!important;min-width:0!important;font-size:14px;font-weight:650;line-height:1.35
}
.cfsu-personnel-edit-panel .cfsu-edit-grid input,
.cfsu-personnel-edit-panel .cfsu-edit-grid select,
.cfsu-personnel-edit-panel .cfsu-edit-grid textarea,
.cfsu-personnel-edit-panel .cfsu-photo-edit input,
.cfsu-personnel-edit-panel .cfsu-guarantor-edit input{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:44px!important;padding:10px 12px!important;border:1px solid #cbd5e1!important;
 border-radius:9px!important;background:#fff!important;font-size:15px!important;line-height:1.4!important
}
.cfsu-personnel-edit-panel .cfsu-edit-grid textarea{min-height:92px!important;resize:vertical}
.cfsu-personnel-edit-panel .cfsu-photo-edit{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;
 padding:14px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:12px;margin:16px 0
}
.cfsu-personnel-edit-panel .cfsu-photo-edit>div{grid-column:1/-1}
.cfsu-personnel-edit-panel .cfsu-photo-edit img{width:110px!important;height:130px!important;object-fit:cover;border-radius:10px}
.cfsu-personnel-edit-panel .cfsu-guarantor-edit{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;
 margin:14px 0!important;padding:16px!important;border:1px solid #dce3ed!important;border-radius:12px!important;
 min-width:0!important
}
.cfsu-personnel-edit-panel .cfsu-guarantor-edit legend{font-size:15px;font-weight:750;padding:0 8px}
.cfsu-personnel-edit-panel .cfsu-guarantor-edit input[type=file],
.cfsu-personnel-edit-panel .cfsu-photo-edit input[type=file]{padding:8px!important;font-size:13px!important}
.cfsu-personnel-edit-panel .cfsu-personnel-edit-form small{display:block;color:#64748b;font-size:12px;line-height:1.45}
.cfsu-personnel-edit-panel .cfsu-personnel-edit-form>button,
.cfsu-personnel-edit-panel .cfsu-personnel-edit-form>a.button{min-height:44px!important;padding:10px 18px!important}
@media(max-width:1050px){
 .cfsu-personnel-edit-panel .cfsu-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .cfsu-personnel-edit-panel .cfsu-guarantor-edit{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 .cfsu-personnel-edit-panel{margin:10px 0;padding:13px;border-radius:12px}
 .cfsu-personnel-edit-panel .cfsu-edit-grid,
 .cfsu-personnel-edit-panel .cfsu-photo-edit,
 .cfsu-personnel-edit-panel .cfsu-guarantor-edit{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-personnel-edit-panel .cfsu-photo-edit>div{grid-column:auto}
 .cfsu-personnel-edit-panel .cfsu-personnel-edit-form>button,
 .cfsu-personnel-edit-panel .cfsu-personnel-edit-form>a.button{width:100%;display:flex;justify-content:center;margin:8px 0}
}

/* CSLOP v1.3.1.00 — Estate register filters */
.cfsu-estate-register-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;align-items:end;padding:14px;margin:14px 0;background:#f7f9fc;border:1px solid #dfe6ef;border-radius:12px}
.cfsu-estate-register-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:650;font-size:13px}
.cfsu-estate-register-filters input,.cfsu-estate-register-filters select{width:100%;max-width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}
.cfsu-estate-register-filters button,.cfsu-estate-register-filters a{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:900px){.cfsu-estate-register-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cfsu-estate-register-filters{grid-template-columns:minmax(0,1fr);padding:11px}.cfsu-estate-register-filters button,.cfsu-estate-register-filters a{width:100%}}

/* Notices and announcements form */
.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-personnel-workspace .cfsu-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-form>label{display:flex;flex-direction:column;gap:7px;min-width:0}
.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-form input,.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-form select,.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-form textarea{width:100%;max-width:100%;min-height:44px}
.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-form textarea{min-height:120px}
@media(max-width:700px){.cfsu-admin:has(input[name="module"][value="announcements"]) .cfsu-personnel-workspace .cfsu-form{grid-template-columns:minmax(0,1fr)}}


/* CSLOP v1.3.1.02 — saved-record registers and leadership forms */
.cfsu-generic-register,.cfsu-panel{min-width:0}
.cfsu-generic-register .cfsu-table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.cfsu-generic-register table{min-width:760px}
.cfsu-generic-register details{max-width:320px}
.cfsu-generic-register form{margin:5px 0}
.cfsu-estate-leadership-form select{width:100%}
@media(max-width:782px){
 .cfsu-generic-register{padding:12px!important}
 .cfsu-generic-register table{min-width:720px}
 .cfsu-generic-register button{min-height:42px}
}


/* CSLOP v1.3.1.10 — unified responsive role dashboards, network and sync controls */
.cfsu-standalone,.cfsu-role-dashboard,.cfsu-client-portal,.cfsu-supervisor-visit{box-sizing:border-box;max-width:100%;min-width:0}
.cfsu-standalone *,.cfsu-role-dashboard *,.cfsu-client-portal *,.cfsu-supervisor-visit *{box-sizing:border-box}
.cfsu-role-dashboard>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:clamp(14px,3vw,24px);background:#fff;border-bottom:1px solid #e2e8f0}
.cfsu-role-dashboard>header h1{font-size:clamp(18px,3vw,26px);line-height:1.2;margin:4px 0}
.cfsu-role-dashboard main{width:100%;max-width:1440px;margin:0 auto;padding:clamp(12px,2.5vw,26px)}
.cfsu-role-dashboard main section,.cfsu-role-dashboard main>section,.cfsu-client-portal .cp-card{min-width:0;max-width:100%;overflow-wrap:anywhere}
.cfsu-network-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px clamp(12px,2.5vw,26px);padding:12px 14px;background:#f7f9fc;border:1px solid #dbe3ef;border-radius:12px;font-size:13px}
.cfsu-network-panel>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:160px}
.cfsu-network-panel small{color:#64748b}
.cfsu-network-panel #cfsu-network-state.is-online{color:#087443;font-weight:700}
.cfsu-network-panel #cfsu-network-state.is-offline{color:#b42318;font-weight:700}
.cfsu-network-bars{display:flex;align-items:end;gap:3px;height:22px;margin:0 4px}
.cfsu-network-bars i{display:block;width:5px;border-radius:3px;background:#cbd5e1;height:6px}
.cfsu-network-bars i:nth-child(2){height:10px}.cfsu-network-bars i:nth-child(3){height:15px}.cfsu-network-bars i:nth-child(4){height:21px}
.cfsu-network-bars[data-level="1"] i:nth-child(-n+1),.cfsu-network-bars[data-level="2"] i:nth-child(-n+2),.cfsu-network-bars[data-level="3"] i:nth-child(-n+3),.cfsu-network-bars[data-level="4"] i{background:#15945b}
.cfsu-network-panel button{min-height:38px;border:0;border-radius:8px;padding:8px 14px;background:#19345d;color:#fff}
.cfsu-network-panel button:disabled{opacity:.55}
.cfsu-network-panel #cfsu-global-sync-status{flex:1 1 180px;color:#475569}
.cfsu-supervisor-guard-photo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:10px 0}
.cfsu-supervisor-guard-photo{padding:12px;border:1px solid #dbe3ef;border-radius:10px;background:#f8fafc;min-width:0}
.cfsu-supervisor-guard-photo label{display:block;margin-top:8px;font-size:13px}
.cfsu-supervisor-guard-photo input[type=file]{display:block;width:100%;max-width:100%;margin-top:5px}
.cfsu-role-dashboard button,.cfsu-role-dashboard input,.cfsu-role-dashboard select,.cfsu-role-dashboard textarea{max-width:100%}
.cfsu-role-table-wrap,.cfsu-client-portal table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cfsu-role-table{min-width:640px}
@media(max-width:782px){
 .cfsu-role-dashboard>header{align-items:flex-start}
 .cfsu-role-dashboard .cfsu-user{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
 .cfsu-role-dashboard main{padding:12px}
 .cfsu-role-dashboard .cfsu-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 .cfsu-role-dashboard .cfsu-tile{min-width:0;padding:12px}
 .cfsu-network-panel{margin:8px 10px;gap:9px}
 .cfsu-network-panel #cfsu-global-sync-status{flex-basis:100%}
 .cfsu-client-portal .cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .cfsu-role-dashboard .cfsu-tiles,.cfsu-client-portal .cp-grid{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-role-dashboard main section{padding:12px!important}
 .cfsu-role-dashboard form label{display:block;width:100%;margin:8px 0}
 .cfsu-role-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),.cfsu-role-dashboard select,.cfsu-role-dashboard textarea{width:100%;min-height:42px}
 .cfsu-network-panel{align-items:flex-start}
 .cfsu-network-panel button{width:100%}
 .cfsu-role-dashboard .cfsu-take-attendance,.cfsu-role-dashboard form button{width:100%;min-height:44px}
}

/* CSLOP v1.3.1.11 — branch manager scoped command workspace */
.cfsu-branch-manager-dashboard{max-width:1200px;margin:0 auto}
.cfsu-branch-manager-dashboard section{background:#fff;border:1px solid #dfe6ef;border-radius:12px;padding:16px;margin:14px 0;min-width:0}
.cfsu-branch-manager-dashboard form label{display:block;margin:9px 0;font-weight:600}
.cfsu-branch-manager-dashboard input,.cfsu-branch-manager-dashboard select,.cfsu-branch-manager-dashboard textarea{display:block;width:100%;max-width:100%;min-height:42px;margin-top:5px;padding:8px;border:1px solid #cbd5e1;border-radius:7px}
.cfsu-branch-manager-dashboard button{min-height:40px;padding:8px 14px;border:0;border-radius:7px;background:#173b67;color:#fff}
.cfsu-branch-manager-dashboard .cfsu-role-table-wrap{overflow-x:auto}
.cfsu-branch-manager-dashboard .cfsu-role-table{min-width:780px}
@media(max-width:600px){.cfsu-branch-manager-dashboard section{padding:12px}.cfsu-branch-manager-dashboard form button{width:100%}}

/* CSLOP v1.3.1.12 audit refinements */
.cfsu-branch-manager-dashboard .cfsu-profile-feedback{padding:10px 12px;border-radius:8px;background:#edf8f0;border:1px solid #a8d8b4;color:#14532d}
.cfsu-branch-manager-dashboard .cfsu-role-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cfsu-branch-manager-dashboard .cfsu-role-table td form{display:inline-block;margin:3px}

/* CSLOP action hierarchy and responsive forms */
.cfsu-standalone .button:not(.button-primary),.cfsu-standalone button.cfsu-action,.cfsu-standalone a.cfsu-action{border-color:#b42318!important;color:#b42318!important}
.cfsu-standalone .button:not(.button-primary):hover,.cfsu-standalone button.cfsu-action:hover,.cfsu-standalone a.cfsu-action:hover{background:#b42318!important;color:#fff!important}
.cfsu-standalone input,.cfsu-standalone select,.cfsu-standalone textarea{max-width:100%;box-sizing:border-box}
@media(max-width:760px){.cfsu-standalone .cfsu-form{grid-template-columns:1fr!important}.cfsu-standalone table{display:block;max-width:100%;overflow-x:auto}.cfsu-standalone .cfsu-panel{padding:14px!important}}

.cfsu-panel .button:not(.button-primary),.cfsu-admin-wrap .button:not(.button-primary),.cfsu-panel button.cfsu-action,.cfsu-admin-wrap button.cfsu-action{border-color:#b42318!important;color:#b42318!important}
.cfsu-panel .button:not(.button-primary):hover,.cfsu-admin-wrap .button:not(.button-primary):hover{background:#b42318!important;color:#fff!important}

/* CSLOP usability pass v1.3.1.51 */
.cfsu-standalone form .cfsu-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;align-items:end}
.cfsu-standalone form .cfsu-form>label{display:flex;flex-direction:column;gap:5px;min-width:0}
.cfsu-standalone form select[multiple]{max-height:190px;overflow-y:auto}
.cfsu-standalone .cfsu-table-page-size select{width:auto;min-width:75px}
.cfsu-standalone table{max-width:100%}
.cfsu-standalone .cfsu-chat-layout aside{min-width:0}
@media(max-width:700px){.cfsu-standalone form .cfsu-form{grid-template-columns:1fr}.cfsu-standalone .cfsu-main-dashboard-header{display:flex;flex-direction:column;align-items:flex-start}}


/* CSLOP v1.3.1.57 — classic responsive guard workspace polish */
.cfsu-role-dashboard,
.cfsu-guard-dashboard,
.cfsu-chat-workspace{box-sizing:border-box}
.cfsu-role-dashboard *,
.cfsu-guard-dashboard *,
.cfsu-chat-workspace *{box-sizing:border-box}
.cfsu-guard-dashboard{width:100%;max-width:1180px;margin:0 auto;padding:clamp(12px,2vw,24px);color:#1f2937}
.cfsu-guard-dashboard section{min-width:0;margin:18px 0;padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 3px 12px rgba(15,23,42,.035)}
.cfsu-guard-dashboard h2,.cfsu-guard-dashboard h3{color:#172b45;letter-spacing:-.02em}
.cfsu-guard-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-guard-dashboard select,.cfsu-guard-dashboard textarea,
.cfsu-chat-workspace input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-chat-workspace select,.cfsu-chat-workspace textarea{
 display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:11px 13px;
 border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172033;
 font:inherit;line-height:1.4;box-shadow:inset 0 1px 1px rgba(15,23,42,.025)
}
.cfsu-guard-dashboard textarea,.cfsu-chat-workspace textarea{min-height:96px;resize:vertical}
.cfsu-guard-dashboard input:focus,.cfsu-guard-dashboard select:focus,.cfsu-guard-dashboard textarea:focus,
.cfsu-chat-workspace input:focus,.cfsu-chat-workspace select:focus,.cfsu-chat-workspace textarea:focus{
 outline:3px solid rgba(37,99,235,.14);border-color:#5276a8
}
.cfsu-role-dashboard button,.cfsu-guard-dashboard button,.cfsu-chat-workspace button{
 width:auto;min-height:40px;padding:9px 16px;border:1px solid #cbd5e1;border-radius:8px;
 background:#fff;color:#24364b;font-family:inherit;font-size:14px;font-weight:600;line-height:1.25;box-shadow:0 1px 2px rgba(15,23,42,.05);
 cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s
}
.cfsu-role-dashboard button:hover,.cfsu-guard-dashboard button:hover,.cfsu-chat-workspace button:hover{
 background:#f5f7fa;border-color:#94a3b8
}
.cfsu-role-dashboard button[type=submit],.cfsu-guard-dashboard button[type=submit],.cfsu-chat-workspace button[type=submit]{
 background:#243b5a;color:#fff;border-color:#243b5a
}
.cfsu-role-dashboard button[type=submit]:hover,.cfsu-guard-dashboard button[type=submit]:hover,.cfsu-chat-workspace button[type=submit]:hover{background:#172b45}
.cfsu-role-dashboard button:disabled,.cfsu-guard-dashboard button:disabled{opacity:.48;cursor:not-allowed}
.cfsu-guard-dashboard .cfsu-role-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:10px}
.cfsu-guard-dashboard .cfsu-role-table{width:100%;min-width:0;table-layout:fixed}
.cfsu-guard-dashboard .cfsu-role-table th,.cfsu-guard-dashboard .cfsu-role-table td{
 padding:11px 10px;white-space:normal;overflow-wrap:anywhere;word-break:normal
}
.cfsu-chat-workspace{max-width:1200px;margin:0 auto;padding:clamp(12px,2vw,24px);color:#1f2937}
.cfsu-chat-workspace .cfsu-chat-layout{grid-template-columns:minmax(0,280px) minmax(0,1fr)!important;gap:16px!important}
.cfsu-chat-workspace .cfsu-chat-layout>aside,.cfsu-chat-workspace .cfsu-chat-layout>section{
 min-width:0;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:14px
}
.cfsu-chat-workspace .cfsu-chat-messages{max-height:430px;overflow:auto;overscroll-behavior:contain}
.cfsu-chat-workspace .cslop-emoji-bar{
 display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:10px 0;padding:8px;
 border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc
}
.cfsu-chat-workspace .cslop-emoji-bar button{
 display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px!important;
 width:42px!important;min-width:42px;min-height:40px;padding:5px!important;
 border:1px solid #dbe2ea;border-radius:8px;background:#fff;font-size:21px;line-height:1
}
.cfsu-chat-workspace .cslop-emoji-bar button:hover{background:#eef3f9;border-color:#aebdce}
.cfsu-chat-workspace textarea#cslop-chat-message{min-height:88px;resize:vertical}
.cfsu-chat-workspace .cslop-season-row>div{background:#f8fafc;border-color:#e2e8f0;border-radius:10px}
.cfsu-chat-workspace form>label{display:block;margin:12px 0}
.cfsu-chat-workspace form>button[type=submit]{min-width:120px}
@media(max-width:700px){
 .cfsu-guard-dashboard{padding:10px}
 .cfsu-guard-dashboard section{padding:13px;margin:12px 0;border-radius:12px}
 .cfsu-guard-dashboard .cfsu-role-table{min-width:0}
 .cfsu-guard-dashboard .cfsu-role-table th,.cfsu-guard-dashboard .cfsu-role-table td{padding:9px 7px;font-size:13px}
 .cfsu-chat-workspace .cfsu-chat-layout{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-chat-workspace .cfsu-chat-layout>aside,.cfsu-chat-workspace .cfsu-chat-layout>section{padding:13px}
 .cfsu-chat-workspace .cslop-emoji-bar button{flex-basis:40px!important;width:40px!important;min-width:40px}
 .cfsu-chat-workspace button[type=submit]{width:auto;max-width:100%}
}
@media(max-width:420px){
 .cfsu-guard-dashboard .cfsu-role-table th,.cfsu-guard-dashboard .cfsu-role-table td{font-size:12px;padding:8px 5px}
 .cfsu-chat-workspace .cslop-season-row{grid-template-columns:1fr}
}

/* Classic pagination controls for long mobile tables */
.cfsu-standalone .cfsu-table-page-size{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
 flex-wrap:wrap!important;margin:10px 0 14px!important;padding:10px!important;
 border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc
}
.cfsu-standalone .cfsu-table-page-size label{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;font-size:13px;font-weight:600;color:#334155}
.cfsu-standalone .cfsu-table-page-size select{width:auto!important;min-width:66px;min-height:38px;padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}
.cfsu-standalone .cfsu-table-page-size .cfsu-page-count{flex:1 1 130px;font-size:13px;color:#475569}
.cfsu-standalone .cfsu-table-page-size button{flex:0 0 auto!important;width:auto!important;min-width:74px;min-height:38px;padding:8px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#24364b!important}
.cfsu-standalone .cfsu-table-page-size button:disabled{opacity:.4}
@media(max-width:520px){
 .cfsu-standalone .cfsu-table-page-size{display:grid!important;grid-template-columns:auto 1fr 1fr;align-items:center!important;gap:8px!important}
 .cfsu-standalone .cfsu-table-page-size label{grid-column:1/-1}
 .cfsu-standalone .cfsu-table-page-size .cfsu-page-count{grid-column:1/-1;flex:auto}
 .cfsu-standalone .cfsu-table-page-size button{width:100%!important}
}


/* CSLOP 1.3.1.63 — shared usability and responsive consistency layer */
.cfsu-standalone,
.cfsu-dashboard-shell,
.cfsu-role-dashboard,
.cfsu-guard-dashboard,
.cfsu-chat-workspace,
.cfsu-community {
  box-sizing:border-box;
  color:#172b45;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.cfsu-standalone *,
.cfsu-dashboard-shell *,
.cfsu-role-dashboard *,
.cfsu-guard-dashboard *,
.cfsu-chat-workspace *,
.cfsu-community * { box-sizing:border-box; }
.cfsu-standalone input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-standalone select,
.cfsu-standalone textarea,
.cfsu-dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-dashboard-shell select,
.cfsu-dashboard-shell textarea,
.cfsu-role-dashboard input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-role-dashboard select,
.cfsu-role-dashboard textarea,
.cfsu-guard-dashboard input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-guard-dashboard select,
.cfsu-guard-dashboard textarea,
.cfsu-chat-workspace input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-chat-workspace select,
.cfsu-chat-workspace textarea {
  max-width:100%;
  min-height:40px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  padding:8px 10px;
  background:#fff;
  color:#172b45;
  font:inherit;
}
.cfsu-standalone input:focus,
.cfsu-standalone select:focus,
.cfsu-standalone textarea:focus,
.cfsu-dashboard-shell input:focus,
.cfsu-dashboard-shell select:focus,
.cfsu-dashboard-shell textarea:focus,
.cfsu-role-dashboard input:focus,
.cfsu-role-dashboard select:focus,
.cfsu-role-dashboard textarea:focus,
.cfsu-guard-dashboard input:focus,
.cfsu-guard-dashboard select:focus,
.cfsu-guard-dashboard textarea:focus,
.cfsu-chat-workspace input:focus,
.cfsu-chat-workspace select:focus,
.cfsu-chat-workspace textarea:focus {
  outline:2px solid #7aa7e8;
  outline-offset:1px;
  border-color:#3764a8;
}
.cfsu-standalone table,
.cfsu-dashboard-shell table,
.cfsu-role-dashboard table,
.cfsu-guard-dashboard table {
  width:100%;
  border-collapse:collapse;
}
.cfsu-standalone .cfsu-table-wrap,
.cfsu-dashboard-shell .cfsu-table-wrap,
.cfsu-role-dashboard .cfsu-table-wrap,
.cfsu-guard-dashboard .cfsu-table-wrap { max-width:100%; overflow-x:auto; }
.cfsu-standalone button,
.cfsu-dashboard-shell button,
.cfsu-role-dashboard button,
.cfsu-guard-dashboard button,
.cfsu-chat-workspace button {
  max-width:100%;
  border-radius:8px;
}
.cfsu-standalone img,
.cfsu-dashboard-shell img,
.cfsu-role-dashboard img,
.cfsu-guard-dashboard img { max-width:100%; height:auto; }
@media(max-width:760px) {
  .cfsu-standalone { margin:8px auto; border-radius:10px; }
  .cfsu-standalone header { padding:16px; align-items:flex-start; }
  .cfsu-standalone main { padding:14px; }
  .cfsu-standalone nav { gap:10px; padding:10px 14px; }
  .cfsu-dashboard-shell { padding:10px!important; }
  .cfsu-dashboard-shell section { padding:14px!important; }
  .cfsu-standalone form,
  .cfsu-dashboard-shell form,
  .cfsu-role-dashboard form,
  .cfsu-guard-dashboard form { max-width:100%; }
  .cfsu-standalone table { min-width:680px; }
}
@media(prefers-reduced-motion:reduce) {
  .cfsu-standalone *,
  .cfsu-dashboard-shell *,
  .cfsu-role-dashboard *,
  .cfsu-guard-dashboard *,
  .cfsu-chat-workspace * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* Digital Station Diary workspace */
.cfsu-digital-diary-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 16px;margin:12px 0 18px;border:1px solid #cbd8ec;border-left:4px solid #3659e8;border-radius:12px;background:#f5f8ff;color:#172b4d}
.cfsu-digital-diary-banner strong{font-size:16px}.cfsu-digital-diary-banner span{font-size:13px}.cfsu-digital-diary-banner .cfsu-diary-clock{font-weight:600;font-variant-numeric:tabular-nums}
.cfsu-personnel-workspace .cfsu-form textarea[name=entry]{min-height:150px;line-height:1.55}
.cfsu-personnel-workspace .cfsu-form select[name=branch_id],.cfsu-personnel-workspace .cfsu-form select[name=beat_id]{min-width:220px}
@media(max-width:782px){.cfsu-digital-diary-banner{display:grid;grid-template-columns:1fr}.cfsu-personnel-workspace .cfsu-form select[name=branch_id],.cfsu-personnel-workspace .cfsu-form select[name=beat_id]{width:100%;min-width:0}}


/* CSLOP guard-booking form: responsive, aligned controls and no overlapping fields. */
.cfsu-booking-panel{box-sizing:border-box;max-width:100%;padding:22px!important;border:1px solid #dbe2ea!important;border-radius:14px!important;background:#fff!important;color:#172b42}
.cfsu-booking-panel h3{margin:0 0 10px;font-size:22px;line-height:1.25;color:#172b42}
.cfsu-booking-panel>p{line-height:1.65;color:#475569}
.cfsu-booking-panel form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 20px;align-items:start}
.cfsu-booking-panel form>input[type=hidden]{display:none}
.cfsu-booking-panel form label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-weight:700;line-height:1.4;color:#172b42}
.cfsu-booking-panel form label input:not([type=file]),.cfsu-booking-panel form label select,.cfsu-booking-panel form label textarea{box-sizing:border-box;width:100%;max-width:none!important;min-height:46px;padding:11px 13px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172b42;font:inherit;line-height:1.4}
.cfsu-booking-panel form label select[multiple]{min-height:220px;max-height:280px;padding:8px}
.cfsu-booking-panel form label select[multiple] option{padding:6px 8px;white-space:normal}
.cfsu-booking-panel form label textarea{min-height:115px;resize:vertical}
.cfsu-booking-panel form label input[type=file]{box-sizing:border-box;width:100%;max-width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}
.cfsu-booking-search-field{grid-column:1}.cfsu-booking-category-field{grid-column:2;grid-row:1}
.cfsu-booking-amount-field{grid-column:2}.cfsu-booking-guidance{grid-column:1/-1;margin:0;padding:12px 14px;border-left:3px solid #d9a441;background:#fffaf0;color:#475569;line-height:1.65}
.cfsu-booking-subject-field{grid-column:1}.cfsu-booking-details-field{grid-column:1}.cfsu-booking-evidence-field{grid-column:2}
.cfsu-booking-submit{grid-column:1/-1;margin:4px 0 0}.cfsu-booking-submit button{min-height:48px;padding:12px 20px!important;border-radius:9px!important;font-weight:700;cursor:pointer}
.cfsu-booking-panel form input:focus,.cfsu-booking-panel form select:focus,.cfsu-booking-panel form textarea:focus{outline:2px solid rgba(36,78,232,.2);border-color:#244ee8}
@media(max-width:700px){.cfsu-booking-panel{padding:16px!important}.cfsu-booking-panel form{grid-template-columns:minmax(0,1fr);gap:14px}.cfsu-booking-panel form label,.cfsu-booking-search-field,.cfsu-booking-category-field,.cfsu-booking-amount-field,.cfsu-booking-guidance,.cfsu-booking-subject-field,.cfsu-booking-details-field,.cfsu-booking-evidence-field,.cfsu-booking-submit{grid-column:1;grid-row:auto}.cfsu-booking-panel form label select[multiple]{min-height:190px}}


/* Cyforce brand system: logo red, black and white with navy, blue and green utility accents */
:root{
 --cfsu-accent:#ed1c24;--cfsu-ink:#111111;--cfsu-border:#d9dee5;--cfsu-soft:#f5f6f8;
 --cslop-ink:#111111;--cslop-muted:#5b6470;--cslop-border:#dfe3e8;--cslop-surface:#ffffff;
 --cslop-page:#f4f5f7;--cslop-accent:#ed1c24;--cslop-red:#ed1c24;--cslop-black:#111111;
 --cslop-white:#ffffff;--cslop-navy:#142c43;--cslop-blue:#3156d8;--cslop-green:#18864b;
}
.cfsu-portal,.cfsu-standalone,.cfsu-login-card,.cfsu-community,.cfsu-chat-workspace,.cslop-isolated-app{
 color:var(--cslop-ink);font-family:Arial,Helvetica,sans-serif;
}
.cfsu-portal header,.cfsu-standalone header{background:var(--cslop-black);color:#fff;border-bottom:4px solid var(--cslop-red)}
.cfsu-standalone header small{color:#ffb7ba}
.cfsu-standalone nav{background:#202020;border-bottom:2px solid var(--cslop-red)}
.cfsu-portal a,.cfsu-standalone main a,.cfsu-community a{color:var(--cslop-blue)}
.cfsu-portal button,.cfsu-portal input[type=submit],.cfsu-standalone button,.cfsu-standalone input[type=submit],.cfsu-community button,.cslop-isolated-app button{
 accent-color:var(--cslop-red);
}
.cfsu-portal button[type=submit],.cfsu-portal input[type=submit],.cfsu-standalone button[type=submit],.cfsu-standalone input[type=submit],.cfsu-community .cslop-send{
 background:var(--cslop-red);border-color:var(--cslop-red);color:#fff;
}
.cfsu-tiles a,.cfsu-standalone .cfsu-tile,.cfsu-login-card,.cfsu-community section{
 background:#fff;border-color:var(--cslop-border);
}
.cfsu-standalone .cfsu-tile strong,.cfsu-standalone .cfsu-tile .count{color:var(--cslop-red)}
.cfsu-portal input:focus,.cfsu-portal select:focus,.cfsu-portal textarea:focus,
.cfsu-standalone input:focus,.cfsu-standalone select:focus,.cfsu-standalone textarea:focus,
.cfsu-community input:focus,.cfsu-community select:focus,.cfsu-community textarea:focus{
 outline:2px solid rgba(237,28,36,.22);border-color:var(--cslop-red);
}
.cfsu-portal .is-success,.cfsu-standalone .is-success,.cfsu-community .is-success{color:var(--cslop-green)}
.cfsu-portal .is-danger,.cfsu-standalone .is-danger,.cfsu-community .is-danger{color:var(--cslop-red)}
.cfsu-portal .is-info,.cfsu-standalone .is-info{color:var(--cslop-blue)}
.cfsu-portal table th,.cfsu-standalone table th{background:#f0f1f3;color:#111}
.cfsu-portal .button-secondary,.cfsu-standalone .button-secondary{background:#fff;color:var(--cslop-red);border:1px solid var(--cslop-red)}
@media(max-width:700px){
 .cfsu-portal,.cfsu-standalone,.cfsu-community{max-width:100%;margin:0;border-radius:0}
 .cfsu-portal section,.cfsu-standalone main{padding:14px}
}

/* Shared Cyforce print identity for browser-generated reports */
@media print{
 :root{color-scheme:light}
 body{background:#fff!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 h1,h2,h3{color:#111}
 thead th{background:#f0f1f3!important;color:#111!important;border-bottom:2px solid #ed1c24!important}
 a{color:#111;text-decoration:none}
 .cfsu-print-header,.report-header{border-bottom:2px solid #ed1c24}
 .cfsu-print-footer,.report-footer{border-top:1px solid #111}
 .no-print,.print-actions,button{display:none!important}
}

/* CSLOP estate and staff workspace refinements */
.cfsu-estate-management{color:#172b40;font-family:Arial,Helvetica,sans-serif;line-height:1.5}
.cfsu-estate-management h2,.cfsu-estate-management h3,.cfsu-estate-management h4{color:#142c43;line-height:1.25;margin:18px 0 10px}
.cfsu-estate-management .cfsu-table-wrap{width:100%;overflow-x:auto;border:1px solid #d8dee6;border-radius:10px;background:#fff;margin:10px 0 20px}
.cfsu-estate-management table{width:100%;min-width:760px;border-collapse:collapse}
.cfsu-estate-management th{background:#142c43!important;color:#fff!important;font-weight:700;padding:11px 10px!important;text-align:left}
.cfsu-estate-management td{padding:10px!important;border-bottom:1px solid #e2e7ed;vertical-align:middle}
.cfsu-estate-management tr:nth-child(even) td{background:#f7f8fa}
.cfsu-estate-management form label{display:inline-flex;flex-direction:column;gap:5px;margin:5px 8px 8px 0;font-weight:600;vertical-align:bottom}
.cfsu-estate-management input,.cfsu-estate-management select,.cfsu-estate-management textarea{max-width:100%;min-height:40px;border:1px solid #cbd5df;border-radius:7px;padding:8px 10px;background:#fff;color:#142c43}
.cfsu-estate-management textarea{min-height:90px}
.cfsu-estate-management .button,.cfsu-estate-management button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 11px!important;margin:2px;border:1px solid #142c43!important;border-radius:6px!important;background:#fff!important;color:#142c43!important;font-size:12px!important;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer}
.cfsu-estate-management .button-primary,.cfsu-estate-management button.button-primary{background:#ed1c24!important;border-color:#ed1c24!important;color:#fff!important}
.cfsu-estate-management .cfsu-resident-actions{min-width:190px}
.cfsu-estate-management .cfsu-resident-actions form{display:inline-block!important;margin:1px!important}
.cfsu-estate-management .cfsu-resident-actions .button{min-height:29px;padding:5px 8px!important;font-size:11px!important}
.cfsu-estate-management .cfsu-resident-more{margin-top:4px;font-size:11px}
.cfsu-estate-management .cfsu-resident-more summary{color:#b5121b;cursor:pointer;font-weight:700}
.cfsu-estate-management .cfsu-resident-more small{display:block;padding:6px 8px;background:#f5f7fa;border-left:2px solid #ed1c24;margin-top:5px}
.cfsu-estate-management .cfsu-resident-avatar{display:inline-flex;width:34px;height:40px;align-items:center;justify-content:center;background:#142c43;color:#fff;border-radius:4px;font-weight:700;vertical-align:middle}
.cfsu-estate-management .cfsu-estate-message-form{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px;padding:16px;border:1px solid #dce2e9;border-radius:10px;background:#fff}
.cfsu-estate-management .cfsu-estate-message-form label{display:flex;min-width:0;margin:0}
.cfsu-estate-management .cfsu-estate-message-form label:nth-of-type(4){grid-column:1/-1}
.cfsu-estate-management .cfsu-estate-message-form label:nth-of-type(5){grid-column:1/-1}
.cfsu-estate-management .cfsu-estate-message-form button{justify-self:start}
.cfsu-estate-management .cfsu-estate-inbox-message{padding:12px;margin:8px 0;border:1px solid #dce2e9;border-left:3px solid #ed1c24;border-radius:7px;background:#fff}
.cfsu-estate-management .cfsu-estate-inbox-message small{display:block;color:#64748b}
.cfsu-app-shell .cfsu-workspace-actions a,.cfsu-dashboard .cfsu-workspace-actions a{border-radius:7px}
@media(max-width:700px){.cfsu-estate-management .cfsu-estate-message-form{grid-template-columns:1fr}.cfsu-estate-management .cfsu-estate-message-form label:nth-of-type(n){grid-column:1}.cfsu-estate-management .cfsu-resident-actions{min-width:160px}}


/* Registration form: honour conditional visibility for the country-specific state field. */
.cslop-registration-form [hidden],
.cslop-registration-form label[hidden],
#cslop-state-select-wrap[hidden],
#cslop-state-text-wrap[hidden]{
    display:none !important;
}


/* CSLOP v1.3.1.98 — shared login and dashboard layout repair.
   Scoped to CSLOP components so the WordPress admin/theme is not restyled. */
body.cslop,
body.cslop #page,
body.cslop .site,
body.cslop .site-content {
    background:#f3f5f8 !important;
}
.cfsu-app-shell,
.cfsu-standalone,
.cfsu-portal,
.cfsu-login-card,
.cfsu-dashboard-shell,
.cfsu-role-dashboard,
.cfsu-guard-dashboard,
.cfsu-pending-approval,
.cfsu-chat-workspace,
.cfsu-community {
    box-sizing:border-box !important;
    min-width:0 !important;
    max-width:100% !important;
}
.cfsu-app-shell *,
.cfsu-standalone *,
.cfsu-portal *,
.cfsu-login-card *,
.cfsu-dashboard-shell *,
.cfsu-role-dashboard *,
.cfsu-guard-dashboard *,
.cfsu-pending-approval *,
.cfsu-chat-workspace *,
.cfsu-community * {
    box-sizing:border-box !important;
}
.cfsu-pending-approval {
    width:100% !important;
    max-width:1180px !important;
    margin:24px auto !important;
    padding:0 22px 28px !important;
}
.cfsu-pending-approval .cfsu-app-card {
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:clamp(20px,3vw,34px) !important;
    border:1px solid #dce3ec !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 8px 28px rgba(24,42,65,.06) !important;
    overflow-wrap:anywhere !important;
}
.cfsu-pending-approval .cfsu-app-card h2 {
    margin:0 0 14px !important;
    color:#172b45 !important;
    font-size:clamp(25px,3vw,36px) !important;
    line-height:1.2 !important;
    font-weight:750 !important;
}
.cfsu-pending-approval .cfsu-app-card p {
    margin:0 0 16px !important;
    color:#26384d !important;
    font-size:clamp(15px,1.35vw,18px) !important;
    line-height:1.65 !important;
    overflow-wrap:anywhere !important;
}
.cfsu-pending-approval .cfsu-app-card p:last-child {margin-bottom:0 !important}
.cfsu-network-panel {
    display:grid !important;
    grid-template-columns:minmax(180px,1fr) auto auto minmax(180px,1fr) !important;
    align-items:center !important;
    gap:12px 18px !important;
    width:calc(100% - 44px) !important;
    max-width:1180px !important;
    margin:18px auto 22px !important;
    padding:18px 20px !important;
    border:1px solid #d9e2ef !important;
    border-radius:14px !important;
    background:#f8fafc !important;
    color:#172b45 !important;
}
.cfsu-network-panel > div:first-child {min-width:0 !important;display:grid !important;gap:6px !important}
.cfsu-network-panel > div:first-child strong {font-size:15px !important}
.cfsu-network-panel #cfsu-network-state {font-weight:750 !important}
.cfsu-network-panel #cfsu-network-detail {font-size:13px !important;line-height:1.45 !important;color:#53657b !important;overflow-wrap:anywhere !important}
.cfsu-network-panel #cfsu-global-sync-status {font-size:14px !important;line-height:1.45 !important;color:#53657b !important}
.cfsu-network-panel #cfsu-global-sync {
    min-height:44px !important;
    padding:10px 18px !important;
    border:1px solid #cbd7e5 !important;
    border-radius:9px !important;
    background:#fff !important;
    color:#172b45 !important;
    font-weight:700 !important;
    white-space:nowrap !important;
}
.cfsu-network-panel #cfsu-global-sync:disabled {opacity:.55 !important;cursor:not-allowed !important}
.cfsu-network-bars {white-space:nowrap !important;align-self:center !important}
.cfsu-network-bars i {width:7px !important;border-radius:4px 4px 2px 2px !important;vertical-align:bottom !important}
.cfsu-app-shell,
.cfsu-standalone,
.cfsu-dashboard-shell,
.cfsu-role-dashboard,
.cfsu-guard-dashboard,
.cfsu-chat-workspace,
.cfsu-community {
    width:100% !important;
}
.cfsu-dashboard-shell,
.cfsu-role-dashboard,
.cfsu-guard-dashboard,
.cfsu-chat-workspace,
.cfsu-community {
    margin-left:auto !important;
    margin-right:auto !important;
    overflow-x:clip !important;
}
.cfsu-dashboard-shell section,
.cfsu-role-dashboard section,
.cfsu-guard-dashboard section,
.cfsu-chat-workspace section,
.cfsu-community section {
    min-width:0 !important;
    max-width:100% !important;
}
.cfsu-dashboard-shell h1,
.cfsu-dashboard-shell h2,
.cfsu-dashboard-shell h3,
.cfsu-role-dashboard h1,
.cfsu-role-dashboard h2,
.cfsu-role-dashboard h3,
.cfsu-guard-dashboard h1,
.cfsu-guard-dashboard h2,
.cfsu-guard-dashboard h3 {
    line-height:1.25 !important;
    overflow-wrap:anywhere !important;
}
.cfsu-dashboard-shell .cfsu-card,
.cfsu-role-dashboard .cfsu-card,
.cfsu-guard-dashboard .cfsu-card,
.cfsu-dashboard-shell .cfsu-panel,
.cfsu-role-dashboard .cfsu-panel,
.cfsu-guard-dashboard .cfsu-panel {
    min-width:0 !important;
    max-width:100% !important;
}
.cfsu-dashboard-shell .cfsu-table-wrap,
.cfsu-role-dashboard .cfsu-table-wrap,
.cfsu-guard-dashboard .cfsu-table-wrap,
.cfsu-chat-workspace .cfsu-table-wrap {
    max-width:100% !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
}
.cfsu-dashboard-shell img,
.cfsu-role-dashboard img,
.cfsu-guard-dashboard img,
.cfsu-chat-workspace img,
.cfsu-community img {max-width:100% !important;height:auto}
.cfsu-login-card {
    width:min(100% - 32px,480px) !important;
    margin:clamp(18px,5vh,56px) auto !important;
    padding:clamp(20px,4vw,32px) !important;
    border:1px solid #dce3ec !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 12px 34px rgba(24,42,65,.08) !important;
}
.cfsu-login-card form {display:grid !important;gap:14px !important;min-width:0 !important}
.cfsu-login-card label {display:grid !important;gap:6px !important;min-width:0 !important;line-height:1.4 !important}
.cfsu-login-card input:not([type=checkbox]):not([type=submit]),
.cfsu-login-card select {
    width:100% !important;
    max-width:100% !important;
    min-height:46px !important;
    padding:10px 12px !important;
    border:1px solid #cbd5e1 !important;
    border-radius:9px !important;
    background:#fff !important;
}
.cfsu-login-card input[type=submit],
.cfsu-login-card button {
    min-height:46px !important;
    border-radius:9px !important;
    font-weight:700 !important;
}
@media(max-width:760px) {
    .cfsu-pending-approval {margin:12px auto !important;padding:0 12px 20px !important}
    .cfsu-pending-approval .cfsu-app-card {padding:18px !important;border-radius:12px !important}
    .cfsu-network-panel {
        width:calc(100% - 24px) !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        gap:10px 12px !important;
        margin:12px auto 16px !important;
        padding:14px !important;
    }
    .cfsu-network-panel > div:first-child {grid-column:1/-1 !important}
    .cfsu-network-panel .cfsu-network-bars {grid-column:1 !important;grid-row:2 !important}
    .cfsu-network-panel #cfsu-global-sync {grid-column:2 !important;grid-row:2 !important;justify-self:end !important}
    .cfsu-network-panel #cfsu-global-sync-status {grid-column:1/-1 !important}
    .cfsu-app-shell {border-radius:0 !important}
    .cfsu-dashboard-shell,
    .cfsu-role-dashboard,
    .cfsu-guard-dashboard,
    .cfsu-chat-workspace,
    .cfsu-community {padding:12px !important}
    .cfsu-login-card {width:calc(100% - 24px) !important;margin:14px auto !important;padding:18px !important}
}
@media(max-width:420px) {
    .cfsu-network-panel {grid-template-columns:1fr !important}
    .cfsu-network-panel > div:first-child,
    .cfsu-network-panel .cfsu-network-bars,
    .cfsu-network-panel #cfsu-global-sync,
    .cfsu-network-panel #cfsu-global-sync-status {grid-column:1 !important;grid-row:auto !important}
    .cfsu-network-panel #cfsu-global-sync {justify-self:stretch !important;width:100% !important}
}


/* CSLOP v1.3.1.112 — scoped vehicle registration grid and admin client type */
.cslop-vehicle-registration{width:100%;max-width:1120px;margin:24px auto;padding:clamp(16px,2.5vw,30px);box-sizing:border-box;border:1px solid #dce3eb;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.07)}
.cslop-vehicle-registration *{box-sizing:border-box}
.cslop-vehicle-registration .cslop-vehicle-registration-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start;width:100%;margin:0}
.cslop-vehicle-registration .cslop-vehicle-registration-form>label,.cslop-vehicle-registration .cslop-vehicle-camera-field{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%;margin:0;font-size:14px;font-weight:650;line-height:1.45}
.cslop-vehicle-registration .cslop-vehicle-registration-form h4{grid-column:1/-1;margin:22px 0 2px;padding:12px 14px;border-left:4px solid #b5121b;border-radius:6px;background:#f5f7fa;font-size:17px}
.cslop-vehicle-registration .cslop-vehicle-registration-form input:not([type=checkbox]),.cslop-vehicle-registration .cslop-vehicle-registration-form select{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#17212b;font:inherit}
.cslop-vehicle-registration .cslop-driver-id-card-field{grid-column:1/-1;padding:15px;border:2px solid #b5121b;border-radius:10px;background:#fff8f8}
.cslop-vehicle-registration .cslop-vehicle-camera-field{padding:14px;border:1px solid #d8e0e8;border-radius:10px;background:#f8fafc}
.cslop-vehicle-registration .cslop-vehicle-camera-actions{display:flex;gap:8px;flex-wrap:wrap}
.cslop-vehicle-registration .cslop-vehicle-camera-actions button{width:auto;min-height:40px;padding:8px 13px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17212b;font-weight:650;cursor:pointer}
.cslop-vehicle-registration .cslop-vehicle-camera-actions .cslop-start-camera{background:#17212b;border-color:#17212b;color:#fff}
.cslop-vehicle-registration video,.cslop-vehicle-registration img{display:block;width:min(100%,360px);max-height:420px;margin:8px 0;object-fit:contain;border-radius:9px;background:#111}
.cslop-vehicle-registration .cslop-vehicle-registration-form>label:has(input[type=checkbox]){grid-column:1/-1;display:flex;flex-direction:row;align-items:flex-start;gap:10px}
.cslop-vehicle-registration input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0}
.cslop-vehicle-registration .cslop-vehicle-registration-form button[type=submit]{grid-column:1/-1;width:100%;min-height:52px;margin:8px 0 0;padding:13px 18px;border:0;border-radius:10px;background:#c90018;color:#fff;font-weight:750;font-size:15px;cursor:pointer}
.cslop-vehicle-registration .description,.cslop-vehicle-registration small{display:block;color:#536273;font-size:12px;font-weight:400;line-height:1.5}
@media(max-width:760px){.cslop-vehicle-registration{padding:15px;margin:14px auto}.cslop-vehicle-registration .cslop-vehicle-registration-form{grid-template-columns:minmax(0,1fr)}.cslop-vehicle-registration .cslop-vehicle-registration-form h4,.cslop-vehicle-registration .cslop-driver-id-card-field,.cslop-vehicle-registration .cslop-vehicle-registration-form>label:has(input[type=checkbox]),.cslop-vehicle-registration .cslop-vehicle-registration-form button[type=submit]{grid-column:1}.cslop-vehicle-registration .cslop-vehicle-camera-actions{display:grid;grid-template-columns:1fr}.cslop-vehicle-registration .cslop-vehicle-camera-actions button{width:100%}}


/* CSLOP v1.3.1.118 — audited baseline styling for portal forms that lacked dedicated CSS.
   Scoped to CSLOP containers so unrelated website forms remain untouched. */
.cfsu-portal form,.cfsu-standalone form,.cfsu-registration form,
.cfsu-dashboard-shell form,.cfsu-client-portal form,.cfsu-notice-center form,
.cfsu-alert-center form,.cfsu-application-review form,
.cslop-registration-form,.cslop-vehicle-form,[class*="cslop-"] form,[class*="cfsu-"] form {
  box-sizing:border-box;max-width:100%;
}
.cfsu-portal form label,.cfsu-standalone form label,.cfsu-registration form label,
.cfsu-dashboard-shell form label,.cfsu-client-portal form label,
.cfsu-notice-center form label,.cfsu-alert-center form label,
.cfsu-application-review form label,.cslop-registration-form label,
.cslop-vehicle-form label,[class*="cslop-"] form label,[class*="cfsu-"] form label {
  display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;
  color:#172b45;font-weight:650;line-height:1.45;
}
.cfsu-portal form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-portal form select,.cfsu-portal form textarea,
.cfsu-standalone form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-standalone form select,.cfsu-standalone form textarea,
.cfsu-registration form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-registration form select,.cfsu-registration form textarea,
.cfsu-dashboard-shell form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-dashboard-shell form select,.cfsu-dashboard-shell form textarea,
.cfsu-client-portal form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-client-portal form select,.cfsu-client-portal form textarea,
.cfsu-notice-center form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-notice-center form select,.cfsu-notice-center form textarea,
.cfsu-alert-center form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-alert-center form select,.cfsu-alert-center form textarea,
.cfsu-application-review form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cfsu-application-review form select,.cfsu-application-review form textarea,
.cslop-registration-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cslop-registration-form select,.cslop-registration-form textarea,
.cslop-vehicle-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.cslop-vehicle-form select,.cslop-vehicle-form textarea,
[class*="cslop-"] form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
[class*="cslop-"] form select,[class*="cslop-"] form textarea,
[class*="cfsu-"] form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
[class*="cfsu-"] form select,[class*="cfsu-"] form textarea {
  box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px 12px;
  border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172b45;
  font:inherit;line-height:1.4;
}
.cfsu-portal form textarea,.cfsu-standalone form textarea,.cfsu-registration form textarea,
.cfsu-dashboard-shell form textarea,.cfsu-client-portal form textarea,
.cslop-registration-form textarea,.cslop-vehicle-form textarea,
[class*="cslop-"] form textarea,[class*="cfsu-"] form textarea {min-height:110px;resize:vertical}
.cfsu-portal form input:focus,.cfsu-portal form select:focus,.cfsu-portal form textarea:focus,
.cfsu-standalone form input:focus,.cfsu-standalone form select:focus,.cfsu-standalone form textarea:focus,
.cfsu-registration form input:focus,.cfsu-registration form select:focus,.cfsu-registration form textarea:focus,
.cfsu-dashboard-shell form input:focus,.cfsu-dashboard-shell form select:focus,.cfsu-dashboard-shell form textarea:focus,
[class*="cslop-"] form input:focus,[class*="cslop-"] form select:focus,[class*="cslop-"] form textarea:focus,
[class*="cfsu-"] form input:focus,[class*="cfsu-"] form select:focus,[class*="cfsu-"] form textarea:focus {
  outline:3px solid rgba(185,31,43,.14);border-color:#b91f2b;
}
.cfsu-portal form button,.cfsu-portal form input[type=submit],
.cfsu-standalone form button,.cfsu-standalone form input[type=submit],
.cfsu-registration form button,.cfsu-registration form input[type=submit],
.cfsu-dashboard-shell form button,.cfsu-dashboard-shell form input[type=submit],
.cfsu-client-portal form button,.cfsu-client-portal form input[type=submit],
.cslop-registration-form button,.cslop-registration-form input[type=submit],
.cslop-vehicle-form button,.cslop-vehicle-form input[type=submit],
[class*="cslop-"] form button,[class*="cslop-"] form input[type=submit],
[class*="cfsu-"] form button,[class*="cfsu-"] form input[type=submit] {
  min-height:44px;max-width:100%;border:1px solid #a91625;border-radius:9px;
  padding:10px 16px;background:#b91f2b;color:#fff;font:inherit;font-weight:700;cursor:pointer;
}
.cfsu-portal form input[type=checkbox],.cfsu-portal form input[type=radio],
.cfsu-standalone form input[type=checkbox],.cfsu-standalone form input[type=radio],
.cfsu-registration form input[type=checkbox],.cfsu-registration form input[type=radio],
.cfsu-dashboard-shell form input[type=checkbox],.cfsu-dashboard-shell form input[type=radio],
[class*="cslop-"] form input[type=checkbox],[class*="cslop-"] form input[type=radio],
[class*="cfsu-"] form input[type=checkbox],[class*="cfsu-"] form input[type=radio] {
  width:18px;min-width:18px;min-height:18px;accent-color:#b91f2b;
}
@media(max-width:680px){
  .cfsu-portal form,.cfsu-standalone form,.cfsu-registration form,
  .cfsu-dashboard-shell form,.cfsu-client-portal form,
  [class*="cslop-"] form,[class*="cfsu-"] form {grid-template-columns:minmax(0,1fr)!important}
  .cfsu-portal form button,.cfsu-standalone form button,.cfsu-registration form button,
  .cfsu-dashboard-shell form button,[class*="cslop-"] form button,[class*="cfsu-"] form button {width:100%}
}


/* Cover forms that carry a CSLOP class on the form element itself (not just a wrapper). */
form[class*="cfsu-"],form[class*="cslop-"] {box-sizing:border-box;max-width:100%}
form[class*="cfsu-"] label,form[class*="cslop-"] label {
  display:flex;flex-direction:column;gap:7px;min-width:0;color:#172b45;font-weight:650;line-height:1.45
}
form[class*="cfsu-"] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
form[class*="cfsu-"] select,form[class*="cfsu-"] textarea,
form[class*="cslop-"] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
form[class*="cslop-"] select,form[class*="cslop-"] textarea {
  box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px 12px;
  border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172b45;font:inherit
}
form[class*="cfsu-"] button,form[class*="cfsu-"] input[type=submit],
form[class*="cslop-"] button,form[class*="cslop-"] input[type=submit] {
  min-height:44px;border:1px solid #a91625;border-radius:9px;padding:10px 16px;
  background:#b91f2b;color:#fff;font:inherit;font-weight:700;cursor:pointer
}


/* v1.3.1.124 — compact, centred estate community chat */
.cslop-estate-management-chat,
.cfsu-community.cfsu-chat-workspace[data-chat-scope="estate"]{
  box-sizing:border-box;width:100%;max-width:1080px;margin:18px auto!important;
  padding:16px!important;border:1px solid #dbe2ea;border-radius:14px;
  background:#fff;box-shadow:0 5px 18px rgba(15,35,60,.06);
}
.cslop-estate-management-chat .cslop-chat-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid #e5eaf0;
}
.cslop-estate-management-chat .cslop-chat-head h2{font-size:20px!important;line-height:1.3;margin:0 0 4px}
.cslop-estate-management-chat .cslop-chat-head p{font-size:13px;margin:0;color:#64748b}
.cslop-estate-management-chat .cslop-chat-lock{font-size:12px;white-space:normal}
.cslop-estate-management-chat .cfsu-chat-layout{
  display:grid;grid-template-columns:minmax(190px,250px) minmax(0,1fr);
  gap:14px;align-items:start;min-width:0;
}
.cslop-estate-management-chat .cfsu-chat-layout>aside{
  min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;
}
.cslop-estate-management-chat .cfsu-chat-layout>aside h3{font-size:14px;margin:0 0 9px}
.cslop-estate-management-chat .cfsu-chat-group-list{max-height:120px;overflow:auto}
.cslop-estate-management-chat .cfsu-chat-messages,
.cslop-estate-management-chat .cslop-chat-messages,
.cslop-estate-management-chat .cfsu-chat-thread{
  box-sizing:border-box;max-height:340px;min-height:220px;overflow-y:auto;
  padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;
}
.cslop-estate-management-chat .cslop-chat-compose,
.cslop-estate-management-chat .cfsu-chat-compose{
  display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:10px;
  padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;
}
.cslop-estate-management-chat .cslop-chat-compose textarea,
.cslop-estate-management-chat .cfsu-chat-compose textarea{
  flex:1 1 260px;min-height:42px;max-height:100px;resize:vertical;
}
.cslop-estate-management-chat .cslop-chat-compose button,
.cslop-estate-management-chat .cfsu-chat-compose button{width:auto;min-width:105px}
@media(max-width:720px){
 .cslop-estate-management-chat,.cfsu-community.cfsu-chat-workspace[data-chat-scope="estate"]{padding:10px!important;margin:12px auto!important}
 .cslop-estate-management-chat .cslop-chat-head{align-items:flex-start;flex-direction:column}
 .cslop-estate-management-chat .cfsu-chat-layout{grid-template-columns:minmax(0,1fr)}
 .cslop-estate-management-chat .cfsu-chat-layout>aside{order:2}
 .cslop-estate-management-chat .cfsu-chat-messages,
 .cslop-estate-management-chat .cslop-chat-messages,
 .cslop-estate-management-chat .cfsu-chat-thread{max-height:280px;min-height:180px}
}

/* CSLOP v1.3.1.129 — estate navigation, spacing and legible workspace */
.cfsu-estate-management{max-width:100%;min-width:0;box-sizing:border-box;padding:14px 16px;color:#172b40!important;line-height:1.55}
.cfsu-estate-management *{box-sizing:border-box}
.cfsu-estate-management .cfsu-estate-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;margin:0 0 18px;background:#fff;border:1px solid #d9e1e9;border-radius:10px;box-shadow:0 2px 8px rgba(15,35,55,.05)}
.cfsu-estate-management .cfsu-estate-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #d4dde7;border-radius:7px;background:#f8fafc;color:#16324c!important;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;white-space:normal}
.cfsu-estate-management .cfsu-estate-nav a:hover,.cfsu-estate-management .cfsu-estate-nav a:focus{background:#eaf2f8;color:#0b2740!important}
.cfsu-estate-management .cfsu-estate-nav .cfsu-estate-nav-back{background:#075e54;color:#fff!important;border-color:#075e54}
.cfsu-estate-management h2{font-size:clamp(22px,2.2vw,30px);margin:12px 0 18px!important;color:#142c43!important}
.cfsu-estate-management h3{font-size:clamp(19px,1.8vw,24px);margin:18px 0 12px!important;color:#142c43!important}
.cfsu-estate-management h4{font-size:18px;margin:20px 0 12px!important;color:#142c43!important}
.cfsu-estate-management .cfsu-tiles{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px!important;margin:12px 0 14px!important}
.cfsu-estate-management .cfsu-tile{display:flex!important;align-items:center;gap:12px!important;min-height:58px;padding:12px 15px!important;border:1px solid #d8e1eb!important;border-radius:12px!important;background:#fff!important;color:#142c43!important;line-height:1.4!important}
.cfsu-estate-management .cfsu-tile strong{display:inline-block;flex:0 0 auto;font-size:22px!important;line-height:1.1!important;margin:0!important;color:#075e54!important}
.cfsu-estate-management .cfsu-tile span{display:inline-block;font-size:14px!important;line-height:1.35!important;margin:0!important;color:#263b50!important}
.cfsu-estate-management section{min-width:0;margin:0 0 22px}
.cfsu-estate-management p{line-height:1.55;margin:10px 0 14px}
.cfsu-estate-management .cfsu-table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:680px){
 .cfsu-estate-management{padding:10px 8px}
 .cfsu-estate-management .cfsu-estate-nav{gap:6px;padding:8px}
 .cfsu-estate-management .cfsu-estate-nav a{flex:1 1 calc(50% - 6px);font-size:12px}
 .cfsu-estate-management .cfsu-estate-nav .cfsu-estate-nav-back{flex-basis:100%}
 .cfsu-estate-management .cfsu-tiles{grid-template-columns:1fr}
 .cfsu-estate-management .cfsu-tile{min-height:52px}
}

/* CSLOP v1.3.1.130 — role-correct management workspaces */
.cfsu-manager-dashboard,.cfsu-hr-dashboard,.cfsu-general-staff-dashboard{max-width:100%;padding:14px 16px;color:#172b40;line-height:1.55}
.cfsu-manager-nav{display:flex;flex-wrap:wrap;gap:8px;padding:10px;margin:0 0 18px;background:#fff;border:1px solid #d8e1eb;border-radius:10px}
.cfsu-manager-nav a{display:inline-flex;padding:8px 11px;border:1px solid #d5dfe8;border-radius:7px;background:#f8fafc;color:#17324b!important;font-weight:700;text-decoration:none}
.cfsu-manager-dashboard h2,.cfsu-hr-dashboard h2,.cfsu-general-staff-dashboard h2{color:#142c43;font-size:clamp(22px,2.2vw,30px);margin:10px 0 14px}
.cfsu-manager-dashboard .cfsu-tiles,.cfsu-hr-dashboard .cfsu-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}
.cfsu-manager-dashboard section,.cfsu-hr-dashboard section,.cfsu-general-staff-dashboard section{background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:14px;margin:14px 0;min-width:0}
.cfsu-manager-dashboard form label{display:inline-flex;flex-direction:column;gap:5px;margin:6px 10px 6px 0;min-width:190px;font-weight:600}
.cfsu-manager-dashboard form select{min-height:42px;max-width:100%;padding:8px;border:1px solid #cbd5df;border-radius:7px;background:#fff}
.cfsu-manager-dashboard .cfsu-table-wrap,.cfsu-manager-dashboard .cfsu-role-table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:680px){.cfsu-manager-dashboard,.cfsu-hr-dashboard,.cfsu-general-staff-dashboard{padding:8px}.cfsu-manager-nav a{flex:1 1 44%}.cfsu-manager-dashboard form label{display:flex;width:100%}}


/* CSLOP v1.3.1.148 — unified role dashboard presentation.
   Scoped to CSLOP dashboard roots; does not restyle unrelated WordPress pages. */
.cfsu-role-dashboard,
.cfsu-supervisor-dashboard,
.cfsu-manager-dashboard,
.cfsu-branch-manager-dashboard,
.cfsu-hr-dashboard,
.cfsu-general-staff-dashboard,
.cfsu-cso-dashboard,
.cfsu-estate-dashboard,
.cfsu-entity-dashboard {
  color:#172b45;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.55;
  width:100%;
  max-width:1600px;
  min-width:0;
  margin:0 auto;
}
.cfsu-role-dashboard main,
.cfsu-supervisor-dashboard,
.cfsu-manager-dashboard,
.cfsu-branch-manager-dashboard,
.cfsu-hr-dashboard,
.cfsu-general-staff-dashboard,
.cfsu-cso-dashboard,
.cfsu-estate-dashboard,
.cfsu-entity-dashboard { padding:clamp(12px,2vw,26px); }
.cfsu-role-dashboard h1,.cfsu-role-dashboard h2,
.cfsu-supervisor-dashboard h1,.cfsu-supervisor-dashboard h2,
.cfsu-manager-dashboard h1,.cfsu-manager-dashboard h2,
.cfsu-branch-manager-dashboard h1,.cfsu-branch-manager-dashboard h2,
.cfsu-hr-dashboard h1,.cfsu-hr-dashboard h2,
.cfsu-general-staff-dashboard h1,.cfsu-general-staff-dashboard h2 {
  color:#142b43;line-height:1.25;overflow-wrap:anywhere;
}
.cfsu-role-dashboard .cfsu-tiles,
.cfsu-supervisor-dashboard .cfsu-tiles,
.cfsu-manager-dashboard .cfsu-tiles,
.cfsu-branch-manager-dashboard .cfsu-bm-tiles,
.cfsu-hr-dashboard .cfsu-tiles {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));
  gap:14px;margin:16px 0;min-width:0;
}
.cfsu-role-dashboard .cfsu-tile,
.cfsu-supervisor-dashboard .cfsu-tile,
.cfsu-manager-dashboard .cfsu-tile,
.cfsu-branch-manager-dashboard .cfsu-bm-tile,
.cfsu-hr-dashboard .cfsu-tile {
  display:flex;flex-direction:column;justify-content:space-between;gap:8px;
  min-width:0;min-height:104px;padding:16px;background:#fff;color:#172b45;
  border:1px solid #dce4ed;border-radius:13px;text-decoration:none;
  box-shadow:0 4px 14px rgba(15,35,60,.045);overflow-wrap:anywhere;
}
.cfsu-role-dashboard .cfsu-tile:hover,
.cfsu-supervisor-dashboard .cfsu-tile:hover,
.cfsu-manager-dashboard .cfsu-tile:hover,
.cfsu-branch-manager-dashboard .cfsu-bm-tile:hover,
.cfsu-hr-dashboard .cfsu-tile:hover {
  border-color:#315be8;box-shadow:0 7px 20px rgba(49,91,232,.10);transform:translateY(-1px);
}
.cfsu-role-dashboard .cfsu-tile strong,
.cfsu-supervisor-dashboard .cfsu-tile strong,
.cfsu-manager-dashboard .cfsu-tile strong,
.cfsu-branch-manager-dashboard .cfsu-bm-tile strong {font-size:clamp(21px,2.4vw,28px);color:#b51f2b;overflow-wrap:anywhere}
.cfsu-supervisor-dashboard section,
.cfsu-manager-dashboard section,
.cfsu-branch-manager-dashboard .cfsu-bm-panel,
.cfsu-branch-manager-dashboard section,
.cfsu-hr-dashboard section,
.cfsu-general-staff-dashboard section {
  background:#fff;border:1px solid #dce4ed;border-radius:14px;
  padding:clamp(12px,1.8vw,20px);margin:14px 0;min-width:0;
  box-shadow:0 3px 12px rgba(15,35,60,.035);
}
.cfsu-supervisor-dashboard .cfsu-role-table-wrap,
.cfsu-manager-dashboard .cfsu-table-wrap,
.cfsu-branch-manager-dashboard .cfsu-bm-table-wrap,
.cfsu-branch-manager-dashboard .cfsu-role-table-wrap,
.cfsu-hr-dashboard .cfsu-table-wrap {
  width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid #e1e7ef;border-radius:10px;background:#fff;
}
.cfsu-supervisor-dashboard table,
.cfsu-manager-dashboard table,
.cfsu-branch-manager-dashboard table,
.cfsu-hr-dashboard table {width:100%;border-collapse:collapse;}
.cfsu-supervisor-dashboard th,.cfsu-supervisor-dashboard td,
.cfsu-manager-dashboard th,.cfsu-manager-dashboard td,
.cfsu-branch-manager-dashboard th,.cfsu-branch-manager-dashboard td,
.cfsu-hr-dashboard th,.cfsu-hr-dashboard td {
  padding:10px 12px;border-bottom:1px solid #e7ecf2;text-align:left;vertical-align:top;
}
.cfsu-supervisor-dashboard th,.cfsu-manager-dashboard th,
.cfsu-branch-manager-dashboard th,.cfsu-hr-dashboard th {
  background:#f2f5f9;color:#25364a;font-weight:750;white-space:nowrap;
}
.cfsu-supervisor-dashboard form label,
.cfsu-manager-dashboard form label,
.cfsu-branch-manager-dashboard form label,
.cfsu-hr-dashboard form label {display:block;min-width:0;margin:8px 0;font-weight:650;}
.cfsu-supervisor-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-supervisor-dashboard select,.cfsu-supervisor-dashboard textarea,
.cfsu-manager-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-manager-dashboard select,.cfsu-manager-dashboard textarea,
.cfsu-branch-manager-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-branch-manager-dashboard select,.cfsu-branch-manager-dashboard textarea,
.cfsu-hr-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-hr-dashboard select,.cfsu-hr-dashboard textarea {
  width:100%;max-width:100%;min-height:42px;padding:9px 11px;
  border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b45;
}
.cfsu-supervisor-dashboard button,.cfsu-manager-dashboard button,
.cfsu-branch-manager-dashboard button,.cfsu-hr-dashboard button,
.cfsu-general-staff-dashboard button {
  max-width:100%;min-height:40px;padding:9px 14px;border:1px solid #cbd5e1;
  border-radius:8px;font:inherit;font-weight:650;cursor:pointer;
}
.cfsu-supervisor-dashboard img,.cfsu-manager-dashboard img,
.cfsu-branch-manager-dashboard img,.cfsu-hr-dashboard img {max-width:100%;height:auto;object-fit:cover;}
.cfsu-role-dashboard .cfsu-user,
.cfsu-role-dashboard .cfsu-user-identity {min-width:0;max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere;}
.cfsu-role-dashboard .cfsu-profile-avatar,
.cfsu-branch-manager-dashboard .cfsu-bm-photo {width:48px;height:48px;object-fit:cover;border-radius:50%;}
.cfsu-role-dashboard .cfsu-notice,
.cfsu-supervisor-dashboard .cfsu-empty-note,
.cfsu-branch-manager-dashboard .cfsu-bm-empty,
.cfsu-branch-manager-dashboard .cfsu-bm-notice {padding:12px 14px;border-radius:10px;background:#f4f7fb;border:1px solid #dce5ef;color:#33465d;}
.cfsu-branch-manager-dashboard .cfsu-bm-nav,
.cfsu-manager-dashboard .cfsu-manager-nav {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.cfsu-branch-manager-dashboard .cfsu-bm-actions {display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.cfsu-branch-manager-dashboard .cfsu-bm-btn {display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#2449d8;color:#fff;border:1px solid #2449d8;}
.cfsu-branch-manager-dashboard .cfsu-bm-danger {background:#bd2434;color:#fff;border-color:#bd2434;}
.cfsu-branch-manager-dashboard .cfsu-bm-zone-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;}
.cfsu-dashboard-shell .cfsu-main-dashboard-header {min-width:0;max-width:100%;overflow-wrap:anywhere;}
.cfsu-dashboard-shell .cfsu-network-panel,
.cfsu-dashboard-shell .cfsu-panel {min-width:0;max-width:100%;overflow-wrap:anywhere;}
@media(max-width:782px) {
  .cfsu-role-dashboard main,.cfsu-supervisor-dashboard,.cfsu-manager-dashboard,
  .cfsu-branch-manager-dashboard,.cfsu-hr-dashboard,.cfsu-general-staff-dashboard {padding:10px;}
  .cfsu-role-dashboard .cfsu-tiles,.cfsu-supervisor-dashboard .cfsu-tiles,
  .cfsu-manager-dashboard .cfsu-tiles,.cfsu-branch-manager-dashboard .cfsu-bm-tiles,
  .cfsu-hr-dashboard .cfsu-tiles {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .cfsu-role-dashboard .cfsu-tile,.cfsu-supervisor-dashboard .cfsu-tile,
  .cfsu-manager-dashboard .cfsu-tile,.cfsu-branch-manager-dashboard .cfsu-bm-tile,
  .cfsu-hr-dashboard .cfsu-tile {padding:12px;min-height:88px;}
  .cfsu-supervisor-dashboard section,.cfsu-manager-dashboard section,
  .cfsu-branch-manager-dashboard section,.cfsu-hr-dashboard section {padding:12px;margin:10px 0;}
  .cfsu-supervisor-dashboard table,.cfsu-manager-dashboard table,
  .cfsu-branch-manager-dashboard table,.cfsu-hr-dashboard table {min-width:680px;}
  .cfsu-branch-manager-dashboard .cfsu-bm-actions {align-items:stretch;}
  .cfsu-branch-manager-dashboard .cfsu-bm-actions>* {flex:1 1 140px;}
}
@media(max-width:480px) {
  .cfsu-role-dashboard .cfsu-tiles,.cfsu-supervisor-dashboard .cfsu-tiles,
  .cfsu-manager-dashboard .cfsu-tiles,.cfsu-branch-manager-dashboard .cfsu-bm-tiles,
  .cfsu-hr-dashboard .cfsu-tiles {grid-template-columns:minmax(0,1fr);}
  .cfsu-role-dashboard .cfsu-tile,.cfsu-supervisor-dashboard .cfsu-tile,
  .cfsu-manager-dashboard .cfsu-tile,.cfsu-branch-manager-dashboard .cfsu-bm-tile,
  .cfsu-hr-dashboard .cfsu-tile {min-height:76px;}
}

/* CSLOP 1.3.1.152 — unified responsive usability layer */
:root{--cfsu-text:#172033;--cfsu-muted:#5b6678;--cfsu-border:#dce3ed;--cfsu-primary:#4057df;--cfsu-surface:#fff;--cfsu-radius:14px}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.cfsu-dashboard-shell,.cfsu-app-shell,.cfsu-personnel-workspace,.cfsu-community,.cfsu-client-portal,.cfsu-admin{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--cfsu-text);font-size:16px;line-height:1.55;max-width:100%;min-width:0}
.cfsu-dashboard-shell *, .cfsu-app-shell *, .cfsu-personnel-workspace *, .cfsu-community *, .cfsu-client-portal *, .cfsu-admin *{box-sizing:border-box}
.cfsu-dashboard-shell h1,.cfsu-app-shell h1,.cfsu-personnel-workspace h1{font-size:clamp(1.45rem,3vw,2rem);line-height:1.2;letter-spacing:-.025em}
.cfsu-dashboard-shell h2,.cfsu-app-shell h2,.cfsu-personnel-workspace h2{font-size:clamp(1.15rem,2.5vw,1.5rem);line-height:1.3}
.cfsu-dashboard-shell p,.cfsu-app-shell p,.cfsu-personnel-workspace p{line-height:1.6}
.cfsu-dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=submit]),.cfsu-dashboard-shell select,.cfsu-dashboard-shell textarea,.cfsu-app-shell input:not([type=checkbox]):not([type=radio]):not([type=submit]),.cfsu-app-shell select,.cfsu-app-shell textarea,.cfsu-personnel-workspace input:not([type=checkbox]):not([type=radio]):not([type=submit]),.cfsu-personnel-workspace select,.cfsu-personnel-workspace textarea{width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:inherit}
.cfsu-dashboard-shell button,.cfsu-dashboard-shell .button,.cfsu-app-shell button,.cfsu-app-shell .button,.cfsu-personnel-workspace button,.cfsu-personnel-workspace .button,.cfsu-community button,.cfsu-client-portal button{min-height:44px;padding:10px 16px;border-radius:10px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.25;touch-action:manipulation}
.cfsu-dashboard-shell a,.cfsu-app-shell a,.cfsu-personnel-workspace a{overflow-wrap:anywhere}
.cfsu-dashboard-shell .cfsu-panel,.cfsu-app-shell .cfsu-panel,.cfsu-personnel-workspace .cfsu-panel,.cfsu-community .cfsu-panel,.cfsu-client-portal .cp-card{min-width:0;border-radius:var(--cfsu-radius);box-shadow:0 3px 16px rgba(15,23,42,.045)}
.cfsu-dashboard-shell .cfsu-table-wrap,.cfsu-app-shell .cfsu-table-wrap,.cfsu-personnel-workspace .cfsu-table-wrap,.cfsu-community .cfsu-table-wrap,.cfsu-client-portal .cp-table-wrap,.cfsu-admin .cfsu-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.cfsu-dashboard-shell table,.cfsu-app-shell table,.cfsu-personnel-workspace table,.cfsu-community table,.cfsu-client-portal table{max-width:100%}
.cfsu-dashboard-shell th,.cfsu-dashboard-shell td,.cfsu-app-shell th,.cfsu-app-shell td,.cfsu-personnel-workspace th,.cfsu-personnel-workspace td{overflow-wrap:anywhere;vertical-align:middle}
.cfsu-dashboard-shell img,.cfsu-app-shell img,.cfsu-personnel-workspace img{max-width:100%;height:auto}
.cfsu-dashboard-shell :focus-visible,.cfsu-app-shell :focus-visible,.cfsu-personnel-workspace :focus-visible{outline:3px solid rgba(64,87,223,.35);outline-offset:2px}
@media(max-width:782px){
 .cfsu-dashboard-shell,.cfsu-app-shell,.cfsu-personnel-workspace,.cfsu-community,.cfsu-client-portal{padding:10px!important;margin:0!important;width:100%!important;max-width:100%!important}
 .cfsu-dashboard-shell .cfsu-panel,.cfsu-app-shell .cfsu-panel,.cfsu-personnel-workspace .cfsu-panel,.cfsu-client-portal .cp-card{padding:14px!important;margin:12px 0!important}
 .cfsu-dashboard-shell .cfsu-grid,.cfsu-dashboard-shell .cfsu-card-grid,.cfsu-app-shell .cfsu-grid,.cfsu-app-shell .cfsu-card-grid{grid-template-columns:minmax(0,1fr)!important}
 .cfsu-dashboard-shell form,.cfsu-app-shell form,.cfsu-personnel-workspace form{max-width:100%;min-width:0}
 .cfsu-dashboard-shell .form-row,.cfsu-app-shell .form-row,.cfsu-personnel-workspace .form-row{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px}
 .cfsu-dashboard-shell button,.cfsu-dashboard-shell .button,.cfsu-app-shell button,.cfsu-app-shell .button,.cfsu-personnel-workspace button{max-width:100%;white-space:normal}
 .cfsu-dashboard-shell table,.cfsu-app-shell table,.cfsu-personnel-workspace table{min-width:680px}
}
@media(max-width:480px){
 .cfsu-dashboard-shell,.cfsu-app-shell,.cfsu-personnel-workspace,.cfsu-community,.cfsu-client-portal{font-size:15px}
 .cfsu-dashboard-shell .cfsu-panel,.cfsu-app-shell .cfsu-panel,.cfsu-personnel-workspace .cfsu-panel{border-radius:12px;padding:12px!important}
 .cfsu-dashboard-shell h1,.cfsu-app-shell h1{font-size:1.45rem}
 .cfsu-dashboard-shell input:not([type=checkbox]):not([type=radio]),.cfsu-dashboard-shell select,.cfsu-dashboard-shell textarea,.cfsu-app-shell input:not([type=checkbox]):not([type=radio]),.cfsu-app-shell select,.cfsu-app-shell textarea{font-size:16px}
 .cfsu-dashboard-shell .button,.cfsu-dashboard-shell button,.cfsu-app-shell .button,.cfsu-app-shell button{width:100%;min-height:46px}
 .cfsu-dashboard-shell .cfsu-table-wrap:after,.cfsu-app-shell .cfsu-table-wrap:after{content:"Swipe horizontally to view more columns";display:block;padding:6px 2px;color:#64748b;font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cfsu-dashboard-shell *,.cfsu-app-shell *{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* CSLOP 1.3.1.163 — manager workspace layout hardening */
.cfsu-manager-dashboard,
.cfsu-branch-manager-dashboard{
  display:block;width:100%;max-width:100%;min-width:0;margin:0 auto;
  padding:clamp(12px,2vw,24px);color:#172b43;line-height:1.55;
  overflow-wrap:anywhere;
}
.cfsu-manager-dashboard *,
.cfsu-branch-manager-dashboard *{box-sizing:border-box;min-width:0}
.cfsu-manager-dashboard h2,.cfsu-branch-manager-dashboard h2{
  margin:0 0 8px;font-size:clamp(1.35rem,2.6vw,1.85rem);line-height:1.25;
}
.cfsu-manager-dashboard h3,.cfsu-branch-manager-dashboard h3{
  margin:0 0 12px;font-size:clamp(1.05rem,2vw,1.3rem);line-height:1.35;
}
.cfsu-manager-dashboard .cfsu-manager-nav,
.cfsu-branch-manager-dashboard .cfsu-bm-nav{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  padding:10px;margin:0 0 18px;border:1px solid #dce4ed;
  border-radius:12px;background:#fff;
}
.cfsu-manager-dashboard .cfsu-manager-nav a,
.cfsu-branch-manager-dashboard .cfsu-bm-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:9px 13px;border-radius:8px;
  background:#eef2ff;color:#243da8!important;text-decoration:none;
  font-weight:650;line-height:1.3;overflow-wrap:anywhere;
}
.cfsu-manager-dashboard .cfsu-manager-nav a:hover,
.cfsu-branch-manager-dashboard .cfsu-bm-nav a:hover{
  background:#dfe6ff;text-decoration:underline;
}
.cfsu-manager-dashboard .cfsu-tiles,
.cfsu-branch-manager-dashboard .cfsu-bm-tiles{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));
  gap:12px;width:100%;margin:16px 0 22px;
}
.cfsu-manager-dashboard .cfsu-tile,
.cfsu-branch-manager-dashboard .cfsu-bm-tile{
  min-width:0;min-height:96px;padding:15px;border:1px solid #dce4ed;
  border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(15,35,60,.045);
  overflow-wrap:anywhere;
}
.cfsu-manager-dashboard section,
.cfsu-branch-manager-dashboard section,
.cfsu-branch-manager-dashboard .cfsu-bm-panel{
  display:block;width:100%;max-width:100%;min-width:0;margin:14px 0;
  padding:clamp(12px,1.8vw,20px);border:1px solid #dce4ed;
  border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(15,35,60,.035);
}
.cfsu-manager-dashboard .cfsu-table-wrap,
.cfsu-manager-dashboard .cfsu-role-table-wrap,
.cfsu-branch-manager-dashboard .cfsu-bm-table-wrap,
.cfsu-branch-manager-dashboard .cfsu-role-table-wrap{
  display:block;width:100%;max-width:100%;overflow-x:auto;
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  border:1px solid #e1e7ef;border-radius:10px;background:#fff;
}
.cfsu-manager-dashboard table,
.cfsu-branch-manager-dashboard table{
  width:100%;max-width:100%;border-collapse:collapse;
}
.cfsu-manager-dashboard th,.cfsu-manager-dashboard td,
.cfsu-branch-manager-dashboard th,.cfsu-branch-manager-dashboard td{
  padding:10px 12px;border-bottom:1px solid #e7ecf2;
  text-align:left;vertical-align:middle;overflow-wrap:anywhere;
}
.cfsu-manager-dashboard th,.cfsu-branch-manager-dashboard th{
  background:#f2f5f9;color:#25364a;font-weight:750;white-space:nowrap;
}
.cfsu-manager-dashboard form,.cfsu-branch-manager-dashboard form{max-width:100%;min-width:0}
.cfsu-manager-dashboard form label,.cfsu-branch-manager-dashboard form label{
  display:block;min-width:0;margin:8px 0;font-weight:650;
}
.cfsu-manager-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-manager-dashboard select,.cfsu-manager-dashboard textarea,
.cfsu-branch-manager-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cfsu-branch-manager-dashboard select,.cfsu-branch-manager-dashboard textarea{
  width:100%;max-width:100%;min-width:0;min-height:42px;padding:9px 11px;
  border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b45;
}
.cfsu-manager-dashboard button,.cfsu-branch-manager-dashboard button{
  max-width:100%;min-height:40px;padding:9px 14px;border-radius:8px;
  font:inherit;font-weight:650;white-space:normal;overflow-wrap:anywhere;
}
.cfsu-manager-dashboard img,.cfsu-branch-manager-dashboard img{max-width:100%;height:auto}
@media(max-width:782px){
 .cfsu-manager-dashboard,.cfsu-branch-manager-dashboard{padding:10px!important}
 .cfsu-manager-dashboard .cfsu-tiles,
 .cfsu-branch-manager-dashboard .cfsu-bm-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cfsu-manager-dashboard section,.cfsu-branch-manager-dashboard section,
 .cfsu-branch-manager-dashboard .cfsu-bm-panel{padding:12px;margin:10px 0}
 .cfsu-manager-dashboard table,.cfsu-branch-manager-dashboard table{min-width:680px}
 .cfsu-manager-dashboard .cfsu-manager-nav a,
 .cfsu-branch-manager-dashboard .cfsu-bm-nav a{flex:1 1 145px}
}
@media(max-width:480px){
 .cfsu-manager-dashboard .cfsu-tiles,
 .cfsu-branch-manager-dashboard .cfsu-bm-tiles{grid-template-columns:minmax(0,1fr)}
 .cfsu-manager-dashboard .cfsu-tile,
 .cfsu-branch-manager-dashboard .cfsu-bm-tile{min-height:76px}
 .cfsu-manager-dashboard table,.cfsu-branch-manager-dashboard table{min-width:640px}
}


/* CSLOP v1.3.1.165 — vehicle owner dashboard */
.cfsu-vehicle-owner{width:100%;max-width:1200px;margin:18px auto;padding:clamp(14px,2vw,24px);color:#172b43;line-height:1.55;box-sizing:border-box}
.cfsu-vehicle-owner *{box-sizing:border-box;min-width:0}
.cfsu-vehicle-owner .cfsu-vo-head{padding:18px 20px;border:1px solid #dbe3ed;border-left:4px solid #b5121b;border-radius:12px;background:#f7f9fc;margin-bottom:18px}
.cfsu-vehicle-owner h2{font-size:clamp(1.35rem,2.5vw,1.9rem);margin:0 0 6px;line-height:1.25}
.cfsu-vehicle-owner h3{font-size:1.15rem;margin:24px 0 12px}
.cfsu-vehicle-owner .cfsu-vo-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}
.cfsu-vehicle-owner .cfsu-vo-stats article{padding:16px;border:1px solid #dce4ed;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(15,35,60,.04)}
.cfsu-vehicle-owner .cfsu-vo-stats span{display:block;color:#5b6b7e;font-size:.9rem}
.cfsu-vehicle-owner .cfsu-vo-stats strong{display:block;font-size:1.35rem;margin-top:5px}
.cfsu-vehicle-owner .cfsu-vo-table{width:100%;overflow-x:auto;border:1px solid #dce4ed;border-radius:10px;background:#fff;-webkit-overflow-scrolling:touch}
.cfsu-vehicle-owner table{width:100%;border-collapse:collapse}
.cfsu-vehicle-owner th,.cfsu-vehicle-owner td{padding:11px 12px;border-bottom:1px solid #e6ebf1;text-align:left;vertical-align:middle;overflow-wrap:anywhere}
.cfsu-vehicle-owner th{background:#f1f4f8;font-weight:700;white-space:nowrap}
.cfsu-vehicle-owner .cfsu-vo-status{display:inline-block;padding:4px 9px;border-radius:20px;background:#edf1f5;color:#34465a;font-size:.85rem}
.cfsu-vehicle-owner .cfsu-vo-paid{background:#e7f5eb;color:#176b35}
.cfsu-vehicle-owner .cfsu-vo-pending{background:#fff4d8;color:#805500}
.cfsu-vehicle-owner .button{display:inline-block;white-space:nowrap}
.cfsu-vehicle-owner .cfsu-vo-note{color:#5b6b7e;font-size:.9rem;margin-top:12px}
@media(max-width:700px){.cfsu-vehicle-owner .cfsu-vo-stats{grid-template-columns:1fr 1fr}.cfsu-vehicle-owner table{min-width:680px}}
@media(max-width:420px){.cfsu-vehicle-owner .cfsu-vo-stats{grid-template-columns:1fr}}

/* CSLOP v1.3.1.175 — consolidated final responsive layout safeguards */
.cfsu-standalone,
.cfsu-role-dashboard,
.cfsu-client-portal,
.cfsu-registration-centre,
.cslop-registration-form,
.cslop-vehicle-registration-form,
.cfsu-manager-dashboard,
.cfsu-branch-manager-dashboard,
.cfsu-vehicle-owner,
.cfsu-supervisor-dashboard,
.cfsu-guard-dashboard,
.cfsu-cso-dashboard,
.cfsu-hr-dashboard,
.cfsu-general-staff-dashboard {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cfsu-standalone *,
.cfsu-role-dashboard *,
.cfsu-client-portal *,
.cfsu-registration-centre *,
.cslop-registration-form *,
.cslop-vehicle-registration-form *,
.cfsu-manager-dashboard *,
.cfsu-branch-manager-dashboard *,
.cfsu-vehicle-owner *,
.cfsu-supervisor-dashboard *,
.cfsu-guard-dashboard *,
.cfsu-cso-dashboard *,
.cfsu-hr-dashboard *,
.cfsu-general-staff-dashboard * {
  box-sizing: border-box;
  min-width: 0;
}

.cfsu-role-dashboard img,
.cfsu-client-portal img,
.cfsu-registration-centre img,
.cslop-registration-form img,
.cslop-vehicle-registration-form img {
  max-width: 100%;
  height: auto;
}

.cfsu-role-dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.cfsu-role-dashboard select,
.cfsu-role-dashboard textarea,
.cfsu-client-portal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.cfsu-client-portal select,
.cfsu-client-portal textarea,
.cfsu-registration-centre input:not([type="checkbox"]):not([type="radio"]),
.cfsu-registration-centre select,
.cfsu-registration-centre textarea,
.cslop-registration-form input:not([type="checkbox"]):not([type="radio"]),
.cslop-registration-form select,
.cslop-registration-form textarea,
.cslop-vehicle-registration-form input:not([type="checkbox"]):not([type="radio"]),
.cslop-vehicle-registration-form select,
.cslop-vehicle-registration-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cfsu-role-dashboard input[type="file"],
.cfsu-client-portal input[type="file"],
.cfsu-registration-centre input[type="file"],
.cslop-registration-form input[type="file"],
.cslop-vehicle-registration-form input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cfsu-role-dashboard table,
.cfsu-client-portal table,
.cfsu-registration-centre table,
.cslop-registration-form table,
.cslop-vehicle-registration-form table {
  max-width: 100%;
  border-collapse: collapse;
}

.cfsu-role-dashboard table,
.cfsu-client-portal table,
.cfsu-registration-centre table,
.cslop-registration-form table,
.cslop-vehicle-registration-form table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cfsu-role-dashboard th,
.cfsu-role-dashboard td,
.cfsu-client-portal th,
.cfsu-client-portal td,
.cfsu-registration-centre th,
.cfsu-registration-centre td,
.cslop-registration-form th,
.cslop-registration-form td,
.cslop-vehicle-registration-form th,
.cslop-vehicle-registration-form td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.cfsu-role-dashboard button,
.cfsu-role-dashboard .button,
.cfsu-client-portal button,
.cfsu-client-portal .button,
.cfsu-registration-centre button,
.cslop-registration-form button,
.cslop-vehicle-registration-form button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cfsu-user-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
.cfsu-user-identity .cfsu-profile-avatar { width: 52px; height: 52px; min-width: 52px; max-width: 52px; object-fit: cover; border-radius: 50%; }

@media (max-width: 782px) {
  .cfsu-standalone { width: calc(100% - 16px); margin: 8px auto; border-radius: 10px; }
  .cfsu-standalone main { padding: 12px; }
  .cfsu-standalone header { flex-wrap: wrap; gap: 10px; }
  .cfsu-standalone nav { gap: 8px; padding: 10px; }
  .cfsu-standalone nav a { flex: 1 1 130px; min-width: 0; overflow-wrap: anywhere; }
  .cfsu-role-dashboard .cfsu-main-dashboard-header { align-items: flex-start; flex-wrap: wrap; }
  .cfsu-role-dashboard .cfsu-tiles,
  .cfsu-role-dashboard .cfsu-app-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfsu-registration-centre,
  .cslop-registration-form,
  .cslop-vehicle-registration-form { padding: 12px; }
}

@media (max-width: 520px) {
  .cfsu-role-dashboard .cfsu-tiles,
  .cfsu-role-dashboard .cfsu-app-columns,
  .cfsu-registration-centre form,
  .cslop-registration-form form,
  .cslop-vehicle-registration-form form { grid-template-columns: minmax(0, 1fr); }
  .cfsu-user-identity .cfsu-profile-avatar { width: 42px; height: 42px; min-width: 42px; max-width: 42px; }
  .cfsu-role-dashboard h1 { font-size: clamp(1.25rem, 6vw, 1.8rem); }
  .cfsu-role-dashboard h2 { font-size: clamp(1.1rem, 5vw, 1.45rem); }
  .cfsu-role-dashboard .cfsu-tile { min-width: 0; overflow-wrap: anywhere; }
}

@media print {
  .cfsu-role-dashboard table,
  .cfsu-client-portal table,
  .cfsu-registration-centre table,
  .cslop-registration-form table,
  .cslop-vehicle-registration-form table { display: table; overflow: visible; }
}


/* CSLOP v1.3.1.220 — consistent form controls and responsive admin workspaces */
.cfsu-panel form:not(.search-form),.cfsu-workspace form:not(.search-form),.cfsu-vehicle-admin form,.cfsu-gate-admin form{
  box-sizing:border-box;max-width:100%;
}
.cfsu-panel form label,.cfsu-workspace form label,.cfsu-vehicle-admin form label,.cfsu-gate-admin form label{
  min-width:0;max-width:100%;box-sizing:border-box;line-height:1.45;
}
.cfsu-panel form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-panel form select,.cfsu-panel form textarea,
.cfsu-workspace form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-workspace form select,.cfsu-workspace form textarea,
.cfsu-vehicle-admin form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-vehicle-admin form select,.cfsu-vehicle-admin form textarea,
.cfsu-gate-admin form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cfsu-gate-admin form select,.cfsu-gate-admin form textarea{
  max-width:100%;min-width:0;box-sizing:border-box;
}
@media(max-width:782px){
  .cfsu-vehicle-admin,.cfsu-gate-admin{margin-right:10px!important}
  .cfsu-vehicle-admin .cfsu-vr-card{padding:12px!important;margin:12px 0!important}
  .cfsu-vehicle-admin .cfsu-vr-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .cfsu-vehicle-admin .cfsu-vr-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .cfsu-vehicle-admin .cfsu-vr-actions form,.cfsu-vehicle-admin .cfsu-vr-actions .button{width:100%!important;max-width:100%!important}
  .cfsu-vehicle-admin .cfsu-vr-actions form select{width:100%!important;min-height:44px}
  .cfsu-vehicle-admin details.cfsu-vr-panel{padding:10px!important}
  .cfsu-vehicle-admin .cfsu-vr-panel input:not([type=checkbox]),.cfsu-vehicle-admin .cfsu-vr-panel select,.cfsu-vehicle-admin .cfsu-vr-panel textarea{width:100%!important}
  .cfsu-panel form:not(.search-form) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
  .cfsu-panel form:not(.search-form) select,.cfsu-panel form:not(.search-form) textarea,
  .cfsu-workspace form:not(.search-form) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
  .cfsu-workspace form:not(.search-form) select,.cfsu-workspace form:not(.search-form) textarea{width:100%;min-height:44px;font-size:16px;line-height:1.4}
  .cfsu-panel form:not(.search-form) input[type=file],.cfsu-workspace form:not(.search-form) input[type=file]{width:100%;max-width:100%;font-size:14px}
  .cfsu-panel form:not(.search-form) button,.cfsu-workspace form:not(.search-form) button{min-height:44px;max-width:100%;white-space:normal}
  .cfsu-panel table,.cfsu-workspace table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}


/* CSLOP 1.3.1.230 — consolidated responsive safety layer.
   Scoped overrides preserve legacy component rules while normalising the final cascade. */
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin,.cfsu-app-shell,.cslop-registration){box-sizing:border-box;min-width:0}
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin,.cfsu-app-shell,.cslop-registration) :where(*, *::before, *::after){box-sizing:border-box}
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin,.cfsu-app-shell,.cslop-registration) :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){max-width:100%;min-width:0}
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin,.cfsu-app-shell,.cslop-registration) :where(img,video,canvas,svg){max-width:100%;height:auto}
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin) :where(table){width:100%;border-collapse:collapse}
:where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin) .cfsu-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:782px){
 :where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin,.cfsu-app-shell,.cslop-registration){width:100%;max-width:100%;margin-left:0;margin-right:0}
 :where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin) :where(.button,button,input[type=submit]){min-height:42px;max-width:100%;white-space:normal}
 :where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin) :where(table){display:block;overflow-x:auto;white-space:normal}
 :where(.cfsu-workspace,.cfsu-vehicle-admin,.cfsu-gate-admin) :where(th,td){min-width:110px;overflow-wrap:anywhere}
 .cslop-registration-form>.cslop-form-grid,.cslop-registration-form .cslop-form-grid{grid-template-columns:minmax(0,1fr)}
}
@media print{.cfsu-workspace,.cfsu-vehicle-admin .notice,.cfsu-gate-admin .notice{box-shadow:none!important}}

/* v1.3.1.278 — persistent offline attendance queue status */
.cfsu-offline-sync-status{display:block;box-sizing:border-box;width:100%;margin:10px 0;padding:11px 14px;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:9px;background:#eff6ff;color:#1e3a8a;font-size:14px;line-height:1.5;overflow-wrap:anywhere}


/* v1.3.1.281: enforce readable white text on blue Branch Manager action controls. */
.cfsu-branch-manager-dashboard .cfsu-bm-btn,
.cfsu-branch-manager-dashboard .cfsu-bm-btn:link,
.cfsu-branch-manager-dashboard .cfsu-bm-btn:visited,
.cfsu-branch-manager-dashboard .cfsu-bm-btn:hover,
.cfsu-branch-manager-dashboard .cfsu-bm-btn:focus,
.cfsu-branch-manager-dashboard summary.cfsu-bm-btn,
.cfsu-branch-manager-dashboard button.cfsu-bm-btn,
.cfsu-branch-manager-dashboard a.cfsu-bm-btn {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-decoration:none !important;
}
.cfsu-branch-manager-dashboard .cfsu-bm-btn * {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.cfsu-branch-manager-dashboard .cfsu-bm-btn:focus-visible {
  outline:3px solid #fbbf24 !important;
  outline-offset:2px !important;
}


/* CSLOP v1.3.1.335 — gate-pass login navigation and responsive layout */
.cslop-gate-card-login{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:100vh!important;margin:0!important;padding:clamp(16px,3vw,34px)!important;background:linear-gradient(145deg,#f2f5fa 0%,#e8eef6 100%)!important;color:#172b43!important}
.cslop-gate-card-login *{box-sizing:border-box}
.cslop-gate-login-header,.cslop-gate-login-main,.cslop-gate-login-footer{width:min(100%,760px)!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
.cslop-gate-login-header{overflow:hidden;background:#fff;border:1px solid #dce4ee;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 12px 36px rgba(20,43,69,.07)}
.cslop-gate-login-brand{display:flex;align-items:center;justify-content:center;gap:14px;padding:22px 24px 16px;text-align:left}
.cslop-gate-login-brand img{display:block;width:72px!important;height:72px!important;max-width:72px!important;object-fit:contain;flex:0 0 72px}
.cslop-gate-login-brand div{display:flex;flex-direction:column;gap:5px;min-width:0}
.cslop-gate-login-brand strong{font-size:clamp(17px,2vw,21px);line-height:1.2;color:#b5121b;letter-spacing:.02em}
.cslop-gate-login-brand span{font-size:12px;color:#607086;font-weight:600;letter-spacing:.04em}
.cslop-gate-login-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:12px 16px;background:#172b43}
.cslop-gate-login-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;line-height:1.25;transition:background .18s ease,border-color .18s ease}
.cslop-gate-login-nav a:hover,.cslop-gate-login-nav a:focus{background:#b5121b;border-color:#b5121b;color:#fff!important;outline:2px solid #fff;outline-offset:2px}
.cslop-gate-login-main{padding:clamp(20px,4vw,34px)!important;background:#fff!important;border:1px solid #dce4ee;border-top:0;border-bottom:0;box-shadow:0 12px 36px rgba(20,43,69,.07)}
.cslop-gate-login-heading{margin:0 0 22px}
.cslop-gate-login-kicker{display:inline-block;margin-bottom:8px;color:#b5121b;font-size:11px;font-weight:800;letter-spacing:.12em}
.cslop-gate-login-heading h1{margin:0 0 8px;color:#172b43;font-size:clamp(22px,3vw,28px);line-height:1.2}
.cslop-gate-login-heading p,.cslop-gate-login-help{margin:0;color:#607086;font-size:14px;line-height:1.6}
.cslop-gate-login-main .cfsu-native-login-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;max-width:100%}
.cslop-gate-login-main .cfsu-native-login-form label{margin-top:8px;color:#24364d;font-weight:700}
.cslop-gate-login-main .cfsu-native-login-form input[type=text],.cslop-gate-login-main .cfsu-native-login-form input[type=password]{width:100%!important;max-width:100%!important;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #cbd6e4;border-radius:9px;background:#f8fafd;color:#172b43;font-size:16px}
.cslop-gate-login-main .cfsu-native-login-form input:focus{outline:3px solid rgba(181,18,27,.14);border-color:#b5121b}
.cslop-gate-login-main .cfsu-native-login-form button{width:100%;min-height:49px;margin-top:10px;border:0;border-radius:9px;background:#b5121b;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.cslop-gate-login-main .cfsu-native-login-form button:hover{background:#94101a}
.cslop-gate-login-help{margin-top:20px!important;padding-top:16px;border-top:1px solid #e8edf3}
.cslop-gate-login-help a{color:#b5121b;font-weight:700}
.cslop-gate-login-footer{display:flex;flex-direction:column;align-items:center;gap:7px;padding:18px 20px 20px;background:#172b43;border-radius:0 0 18px 18px;color:#fff;text-align:center;box-shadow:0 12px 36px rgba(20,43,69,.07)}
.cslop-gate-login-footer strong{font-size:14px;letter-spacing:.04em}
.cslop-gate-login-footer span{font-size:11px;color:#d3dce8}
.cslop-gate-login-footer div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:4px}
.cslop-gate-login-footer a{color:#fff!important;font-size:12px;text-decoration:underline}
@media(max-width:600px){.cslop-gate-card-login{padding:10px!important}.cslop-gate-login-brand{justify-content:flex-start;padding:16px}.cslop-gate-login-brand img{width:58px!important;height:58px!important;max-width:58px!important;flex-basis:58px}.cslop-gate-login-nav{display:grid;grid-template-columns:1fr;padding:10px}.cslop-gate-login-nav a{width:100%;min-height:42px}.cslop-gate-login-main{padding:20px 16px!important}.cslop-gate-login-footer div{flex-direction:column;gap:8px}}

/* CSLOP global workspace layout correction (v1.3.1.384) */
body .cfsu-role-table-wrap{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:auto!important}
body .cfsu-role-table-wrap>table.cfsu-role-table{display:table!important;width:100%!important;min-width:100%!important;max-width:100%!important;table-layout:auto!important;border-collapse:collapse!important;box-sizing:border-box!important}
body .cfsu-role-table-wrap>table.cfsu-role-table th,body .cfsu-role-table-wrap>table.cfsu-role-table td{white-space:normal;vertical-align:top}
body .cfsu-general-staff-dashboard .cfsu-role-table-wrap,body .cfsu-guard-dashboard .cfsu-role-table-wrap,body .cfsu-hr-dashboard .cfsu-role-table-wrap,body .cfsu-manager-dashboard .cfsu-role-table-wrap{width:100%!important;grid-column:1/-1!important}
body .cfsu-general-staff-dashboard form,body .cfsu-guard-dashboard form,body .cfsu-hr-dashboard form,body .cfsu-manager-dashboard form,body .cfsu-portal-workspace form{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
body .cfsu-general-staff-dashboard form label,body .cfsu-guard-dashboard form label,body .cfsu-hr-dashboard form label,body .cfsu-manager-dashboard form label,body .cfsu-portal-workspace form label{display:block;min-width:0;max-width:100%;box-sizing:border-box}
body .cfsu-general-staff-dashboard form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),body .cfsu-general-staff-dashboard form select,body .cfsu-general-staff-dashboard form textarea,body .cfsu-guard-dashboard form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),body .cfsu-guard-dashboard form select,body .cfsu-guard-dashboard form textarea,body .cfsu-hr-dashboard form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),body .cfsu-hr-dashboard form select,body .cfsu-hr-dashboard form textarea,body .cfsu-manager-dashboard form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),body .cfsu-manager-dashboard form select,body .cfsu-manager-dashboard form textarea,body .cfsu-portal-workspace form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),body .cfsu-portal-workspace form select,body .cfsu-portal-workspace form textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body .cfsu-general-staff-dashboard section,body .cfsu-guard-dashboard section,body .cfsu-hr-dashboard section,body .cfsu-manager-dashboard section{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:720px){body .cfsu-role-table-wrap>table.cfsu-role-table{min-width:680px!important}body .cfsu-general-staff-dashboard form input,body .cfsu-general-staff-dashboard form select,body .cfsu-general-staff-dashboard form textarea{font-size:16px}}


/* CSLOP v1.3.1.450 — final global contrast and visibility layer.
   Intentionally last in the stylesheet to override older component rules. */
body .cfsu-portal-workspace,
body .cfsu-portal-workspace *,
body .cfsu-general-staff-dashboard,
body .cfsu-general-staff-dashboard *,
body .cfsu-guard-dashboard,
body .cfsu-guard-dashboard *,
body .cfsu-hr-dashboard,
body .cfsu-hr-dashboard *,
body .cfsu-manager-dashboard,
body .cfsu-manager-dashboard *,
body .cfsu-supervisor-dashboard,
body .cfsu-supervisor-dashboard *,
body .cfsu-admin-dashboard,
body .cfsu-admin-dashboard * {
  text-shadow:none;
}
body .cfsu-portal-workspace,
body .cfsu-general-staff-dashboard,
body .cfsu-guard-dashboard,
body .cfsu-hr-dashboard,
body .cfsu-manager-dashboard,
body .cfsu-supervisor-dashboard,
body .cfsu-admin-dashboard { color:#172033; }
body .cfsu-portal-workspace p,
body .cfsu-portal-workspace label,
body .cfsu-portal-workspace li,
body .cfsu-portal-workspace td,
body .cfsu-portal-workspace th,
body .cfsu-portal-workspace small,
body .cfsu-general-staff-dashboard p,
body .cfsu-general-staff-dashboard label,
body .cfsu-general-staff-dashboard td,
body .cfsu-guard-dashboard p,
body .cfsu-guard-dashboard label,
body .cfsu-guard-dashboard td,
body .cfsu-hr-dashboard p,
body .cfsu-hr-dashboard label,
body .cfsu-hr-dashboard td,
body .cfsu-manager-dashboard p,
body .cfsu-manager-dashboard label,
body .cfsu-manager-dashboard td { color:#172033; }
body .cfsu-portal-workspace input,
body .cfsu-portal-workspace select,
body .cfsu-portal-workspace textarea,
body .cfsu-general-staff-dashboard input,
body .cfsu-general-staff-dashboard select,
body .cfsu-general-staff-dashboard textarea,
body .cfsu-guard-dashboard input,
body .cfsu-guard-dashboard select,
body .cfsu-guard-dashboard textarea,
body .cfsu-hr-dashboard input,
body .cfsu-hr-dashboard select,
body .cfsu-hr-dashboard textarea,
body .cfsu-manager-dashboard input,
body .cfsu-manager-dashboard select,
body .cfsu-manager-dashboard textarea {
  color:#172033!important; background-color:#fff!important; opacity:1;
}
body .cfsu-portal-workspace input::placeholder,
body .cfsu-portal-workspace textarea::placeholder,
body .cfsu-general-staff-dashboard input::placeholder,
body .cfsu-general-staff-dashboard textarea::placeholder,
body .cfsu-guard-dashboard input::placeholder,
body .cfsu-guard-dashboard textarea::placeholder,
body .cfsu-hr-dashboard input::placeholder,
body .cfsu-hr-dashboard textarea::placeholder,
body .cfsu-manager-dashboard input::placeholder,
body .cfsu-manager-dashboard textarea::placeholder { color:#64748b!important; opacity:1!important; }
/* Coloured action buttons always use white text. */
body .cfsu-portal-workspace button.button-primary,
body .cfsu-portal-workspace .button.button-primary,
body .cfsu-portal-workspace input[type=submit].button-primary,
body .cfsu-portal-workspace button[style*="background"],
body .cfsu-portal-workspace a.cfsu-btn-primary,
body .cfsu-general-staff-dashboard .button-primary,
body .cfsu-guard-dashboard .button-primary,
body .cfsu-hr-dashboard .button-primary,
body .cfsu-manager-dashboard .button-primary,
body .cfsu-portal-workspace .button-danger,
body .cfsu-portal-workspace .button-success,
body .cfsu-portal-workspace .cfsu-btn-danger,
body .cfsu-portal-workspace .cfsu-btn-success,
body .cfsu-portal-workspace .cfsu-status-action,
body .cfsu-portal-workspace .cfsu-action-primary { color:#fff!important; }
/* Neutral/white buttons always use dark text, including outline and secondary actions. */
body .cfsu-portal-workspace button:not(.button-primary):not(.button-danger):not(.button-success):not(.cfsu-btn-primary):not(.cfsu-btn-danger):not(.cfsu-btn-success),
body .cfsu-portal-workspace .button:not(.button-primary):not(.button-danger):not(.button-success),
body .cfsu-portal-workspace input[type=button]:not(.button-primary),
body .cfsu-general-staff-dashboard .button:not(.button-primary),
body .cfsu-guard-dashboard .button:not(.button-primary),
body .cfsu-hr-dashboard .button:not(.button-primary),
body .cfsu-manager-dashboard .button:not(.button-primary) { color:#172033!important; }
body .cfsu-portal-workspace .button-primary,
body .cfsu-general-staff-dashboard .button-primary,
body .cfsu-guard-dashboard .button-primary,
body .cfsu-hr-dashboard .button-primary,
body .cfsu-manager-dashboard .button-primary { background-color:#1d4ed8!important; border-color:#1d4ed8!important; color:#fff!important; }
body .cfsu-portal-workspace .button-danger,
body .cfsu-portal-workspace .cfsu-btn-danger { background-color:#b91c1c!important; border-color:#b91c1c!important; color:#fff!important; }
body .cfsu-portal-workspace .button-success,
body .cfsu-portal-workspace .cfsu-btn-success { background-color:#15803d!important; border-color:#15803d!important; color:#fff!important; }
body .cfsu-portal-workspace button:disabled,
body .cfsu-portal-workspace .button:disabled { opacity:.65; cursor:not-allowed; }
