.srfc{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#111317;color:#f9f9fb;min-height:80vh;line-height:1.45}.srfc *{box-sizing:border-box}.srfc-head{background:linear-gradient(115deg,#08090b,#19191d 75%,#9e1024);border-bottom:5px solid #efc327;padding:22px max(20px,calc((100vw - 1080px)/2));display:flex;align-items:center;gap:22px}.srfc-head img{width:83px;height:105px;object-fit:contain}.srfc-head small{font-weight:800;letter-spacing:2px;color:#eec831}.srfc-head h1{font-size:clamp(24px,4vw,42px);margin:0;color:white}.srfc-head span,.srfc-muted{color:#b9bac2}.srfc-main{max-width:1100px;margin:auto;padding:22px 15px 55px}.srfc-auth{display:grid;grid-template-columns:1fr 1fr;gap:20px}.srfc-card{background:#1e2026;border:1px solid #3c3d45;border-radius:14px;padding:24px;margin:15px 0}.srfc-card h2{color:white;margin:0 0 16px;font-size:23px}.srfc-card label{display:block;font-size:14px;font-weight:700;margin:15px 0}.srfc-card input,.srfc-card select{display:block;width:100%;margin-top:7px;background:#101116;border:1px solid #61616a;color:white;border-radius:8px;padding:12px;font:inherit}.srfc button,.srfc-login-button{border:0;border-radius:8px;background:#cf1936;color:white;font:inherit;font-weight:750;padding:11px 15px;cursor:pointer;text-decoration:none;display:inline-block}.srfc button:hover,.srfc-login-button:hover{filter:brightness(1.15)}.srfc button:disabled{opacity:.45;cursor:default}.srfc button.secondary{background:#383b44}.srfc a{color:#f1cf50}.srfc-notice,.srfc-error{border:1px solid #d5ac29;padding:12px;border-radius:9px;margin:10px 0}.srfc-error{border-color:#d83b52}.srfc-bar,.srfc-between{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.srfc-bar{padding:12px 0}.srfc-tabs{display:flex;gap:8px}.srfc-tabs button{background:#34363d}.srfc-tabs button.selected{background:#cf1936}.srfc-meter{height:9px;border-radius:9px;background:#393b42;overflow:hidden;margin:12px 0 20px}.srfc-meter div{height:100%;background:linear-gradient(90deg,#c71734,#efc327);transition:width .2s}.srfc-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px}.srfc-layout aside{max-height:650px;overflow:auto;display:flex;flex-direction:column;gap:4px}.srfc-layout aside button{text-align:left;background:#292b32;padding:9px}.srfc-layout aside button.active{background:#bd1c33}.srfc-rating{border:1px solid #41434b;background:#16171c;border-radius:10px;padding:12px;margin:12px 0}.srfc-choices{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:4px;margin-top:10px}.srfc-choices button{padding:10px 0;background:#33363d;font-size:13px}.srfc-choices button.chosen{background:#d61d3c}.srfc-actions{margin:20px 0}.srfc-submit{background:#e7be29!important;color:#171717!important}.srfc-table-wrap{overflow:auto;margin:20px 0}.srfc-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.srfc-table-wrap th,.srfc-table-wrap td{padding:10px;border-bottom:1px solid #42434b;text-align:left}.srfc-table-wrap th{color:#eac438}.srfc [hidden]{display:none!important}@media(max-width:750px){.srfc-auth,.srfc-layout{grid-template-columns:1fr}.srfc-layout aside{max-height:145px;display:grid;grid-template-columns:repeat(3,1fr)}.srfc-layout aside button{font-size:12px}.srfc-card{padding:15px}.srfc-choices{gap:2px}.srfc-choices button{font-size:11px;padding:10px 0}.srfc-head img{width:56px;height:75px}}

/* V2 public-facing club administration */
.srfc-admin-panel{background:linear-gradient(135deg,#23252c,#131419);border:1px solid #55515b;border-top:4px solid #efc327;border-radius:16px;padding:24px;margin:12px 0 28px}.srfc-admin-panel h2{font-size:28px;color:#fff;margin:4px 0}.srfc-kicker{color:#efc327;font-weight:800;letter-spacing:1.6px}.srfc-admin-badge{background:#352b13;color:#ffda63;padding:8px 12px;border-radius:30px;font-weight:700}.srfc-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:22px 0}.srfc-team-tile{display:flex;flex-direction:column;gap:7px;background:#2b2c34;border:1px solid #494b54;border-radius:12px;padding:18px;color:#fff!important;text-decoration:none!important;min-height:155px}.srfc-team-tile:hover,.srfc-team-tile.is-active{border-color:#e5bd27;background:#3b3032}.srfc-team-tile strong{font-size:20px}.srfc-team-tile span:not(.srfc-tile-icon){font-size:13px;color:#c5c5cc}.srfc-team-tile em{font-style:normal;font-size:13px;color:#f3ce50;margin-top:auto}.srfc-tile-icon{font-size:25px}.srfc-admin-details{background:#1b1d23;border:1px solid #464851;border-radius:12px;margin-top:12px;padding:15px}.srfc-admin-details summary{cursor:pointer;font-weight:800;font-size:17px}.srfc-admin-forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px;margin-top:15px}.srfc-admin-forms form{padding:14px;border-radius:10px;background:#292b32}.srfc-admin-forms h3{margin:0 0 8px;color:#fff}.srfc-admin-forms label{display:block;margin:9px 0}.srfc-admin-forms input,.srfc-admin-forms select{display:block;width:100%;background:#111216;color:#fff;border:1px solid #60616b;border-radius:8px;padding:10px;margin-top:5px}.srfc-coach-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #42434b}.srfc-coach-row small{color:#b9bac2}.srfc-small-button{display:inline-block;background:#b71935;color:white!important;padding:8px 11px;border-radius:8px;text-decoration:none!important;font-weight:700}.srfc-small-button.muted{background:#494b54}@media(max-width:650px){.srfc-admin-panel{padding:15px}.srfc-coach-row{flex-direction:column;align-items:flex-start}}

/* V3: polished front-end presentation */
.srfc{--red:#d71938;--gold:#f3c532;--ink:#11131a;background:#f3f4f6;color:#1d2230;border-radius:14px;overflow:hidden;box-shadow:0 18px 65px rgba(10,12,20,.12)}
.srfc-head{max-width:none;padding:24px max(24px,calc((100vw - 1190px)/2));background:linear-gradient(110deg,#111318 0%,#1e2229 65%,#831124 100%);border-bottom:5px solid #efc327}
.srfc-head img{width:80px;height:96px}.srfc-head h1{font-size:32px}.srfc-main{max-width:1210px;padding:26px 22px 65px}.srfc-card{background:#fff;color:#20232c;border:1px solid #e4e6eb;box-shadow:0 4px 24px rgba(10,20,40,.045);border-radius:16px}.srfc-card h2{color:#171b22}.srfc-muted{color:#646b77}.srfc-card label{color:#252936}.srfc-card input,.srfc-card select{background:#fff;border:1px solid #d1d5de;color:#1d2430}.srfc a{color:#b51633}.srfc-overview{margin:14px 0 24px}.srfc-overview-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.srfc-overview-top h2{font-size:clamp(25px,3vw,36px);font-weight:850;letter-spacing:-.8px;margin:5px 0;color:#181b23}.srfc-overview-top p{margin:0;color:#68707c}.srfc-eyebrow{font-size:11px;letter-spacing:2px;font-weight:850;color:#be1b34}.srfc-season{font-size:12px;font-weight:750;color:#7a808c;background:#fff;border:1px solid #e0e3e8;border-radius:9px;padding:12px}.srfc-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.srfc-stat{padding:22px;background:#fff;border:1px solid #e5e7eb;border-radius:15px;box-shadow:0 6px 20px rgba(0,0,0,.035);display:flex;flex-direction:column;gap:6px}.srfc-stat span{font-size:11px;font-weight:800;letter-spacing:1px;color:#747b86}.srfc-stat strong{font-size:34px;line-height:1.2;color:#171a21}.srfc-stat small{font-size:12px;color:#777e89}.srfc-tabs{gap:10px;margin:20px 0}.srfc-tabs button{background:#fff;color:#222;border:1px solid #e1e4ea;padding:13px 18px}.srfc-tabs button.selected{background:#d71938;color:#fff;border-color:#d71938}.srfc-bar{background:#fff;border:1px solid #e2e5eb;padding:12px 18px;border-radius:12px;color:#222}.srfc-layout aside button{background:#f2f3f6;color:#333;border:1px solid #e5e7eb}.srfc-layout aside button.active{background:#d71938;color:#fff}.srfc-rating{background:#f8f9fb;border:1px solid #e8e9ed;padding:15px}.srfc-choices button{background:#fff;color:#222;border:1px solid #d9dce2}.srfc-choices button.chosen{background:#d71938;color:#fff}.srfc-choices button:hover{background:#f7e1e6}.srfc-choices button.chosen:hover{background:#bd1731}.srfc-meter{background:#e4e7ec}.srfc-table-wrap table{font-size:12px}.srfc-table-wrap th{background:#17191f;color:#fff;font-weight:700;white-space:nowrap}.srfc-table-wrap td{border-bottom:1px solid #e9eaf0;color:#292d36}.srfc-table-wrap tbody tr:nth-child(even){background:#f8f9fa}.srfc-rank-num{display:inline-flex;width:26px;height:26px;border-radius:7px;background:#ffe6a1;color:#3c2d0a;align-items:center;justify-content:center;font-weight:850}.srfc-heat{display:inline-block;min-width:43px;text-align:center;border-radius:6px;padding:5px 7px;background:color-mix(in srgb,#5cad66 var(--heat),#f5d5ca);font-weight:750;color:#111}.srfc-reference-note{padding:12px 15px;background:#fff7e2;color:#6c4a0c;border:1px solid #eed58c;border-radius:10px;margin:12px 0;font-size:13px;font-weight:700}.srfc-admin-panel{background:#17191f;color:#fff}.srfc-demo-box{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#292c34;border:1px solid #454a54;border-radius:12px;padding:14px 18px;margin:15px 0}.srfc-demo-box p{margin:5px 0 0;font-size:12px;color:#c6c8ce;max-width:700px}.srfc-demo-box button{white-space:nowrap}.srfc-admin-details{color:#fff}.srfc-auth .srfc-card{background:#fff}.srfc-notice{color:#292929;background:#fff8dc}.srfc-error{color:#831124;background:#fff1f1}
@media(max-width:850px){.srfc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.srfc-overview-top{align-items:flex-start}.srfc-season{display:none}}
@media(max-width:580px){.srfc-stat-grid{gap:8px}.srfc-stat{padding:14px}.srfc-stat strong{font-size:25px}.srfc-main{padding:16px 10px 40px}.srfc-head{padding:18px 14px}.srfc-head h1{font-size:25px}.srfc-demo-box{flex-direction:column;align-items:flex-start}.srfc-tabs button{font-size:13px;padding:10px}.srfc-choices{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* V4 — standalone full-viewport app. No theme header, no page title, no boxed page. */
html,body.srfc-standalone{margin:0!important;padding:0!important;min-height:100%;background:#0c1118!important}body.srfc-standalone #wpadminbar{position:fixed}body.srfc-standalone .srfc{margin:0!important;max-width:none!important;min-height:100vh;border-radius:0!important;box-shadow:none!important;background:#0d131b!important;color:#e9edf4!important;display:flex;align-items:stretch;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}body.srfc-standalone .srfc-sidebar{width:235px;min-width:235px;background:linear-gradient(180deg,#131c27,#0c121b);border-right:1px solid #273240;min-height:100vh;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 12px 18px;z-index:4}body.admin-bar.srfc-standalone .srfc-sidebar{top:32px;height:calc(100vh - 32px)}.srfc-brand{display:flex;align-items:center;flex-direction:column;text-align:center;padding:4px 4px 34px;gap:7px}.srfc-brand img{height:92px;width:90px;object-fit:contain}.srfc-brand small{color:#ffd43b;font-weight:900;letter-spacing:1.5px}.srfc-brand strong{font-size:19px;color:#fff}.srfc-side-links{display:flex;flex-direction:column;gap:7px}.srfc .srfc-side-links a,.srfc .srfc-side-links button{width:100%;display:block;text-align:left;border:0;background:transparent;color:#d3dae5!important;text-decoration:none!important;font-weight:650;padding:14px 15px;border-radius:10px;font-size:14px}.srfc .srfc-side-links .is-active,.srfc .srfc-side-links a:hover,.srfc .srfc-side-links button:hover{background:#cf1237;color:white!important}.srfc-side-bottom{margin-top:auto;border-top:1px solid #303a48;padding:17px 10px;display:flex;flex-direction:column;gap:5px}.srfc-side-bottom strong{color:white}.srfc-side-bottom small{color:#a6b1c1}.srfc-side-bottom a{margin-top:10px;font-size:13px;color:#fbd44c!important}.srfc-workspace{flex:1;min-width:0;background:#0e151e}.srfc-standalone .srfc-head{min-height:208px;display:flex;justify-content:space-between;align-items:center;padding:37px 40px;background:linear-gradient(90deg,rgba(10,15,21,.98) 2%,rgba(12,17,22,.93) 55%,rgba(30,18,18,.65)),url('rugby-bg.jpg') center 44%/cover no-repeat;border-bottom:1px solid #38404c}.srfc-standalone .srfc-head h1{font-size:clamp(30px,3.6vw,52px);letter-spacing:-1.5px;font-weight:850;line-height:1.15;color:#fff}.srfc-standalone .srfc-head small{font-size:12px;color:#ffcf29}.srfc-standalone .srfc-head span{font-size:14px;color:#c7ced9}.srfc-standalone .srfc-head img{height:125px;width:110px;object-fit:contain;opacity:.95}.srfc-standalone .srfc-main{max-width:none;width:100%;padding:26px clamp(18px,3vw,46px) 80px;display:flex;flex-direction:column;gap:12px}.srfc-standalone .srfc-overview{order:0;margin:0 0 12px}.srfc-standalone .srfc-bar{order:0;background:#18232e;border:1px solid #2c3947;color:#f5f6f8}.srfc-standalone .srfc-tabs{order:1}.srfc-standalone #srfc-assessment,.srfc-standalone #srfc-rankings{order:2}.srfc-standalone .srfc-admin-panel{order:4;margin-top:25px}.srfc-standalone .srfc-main>.srfc-card:not(#srfc-assessment):not(#srfc-rankings),.srfc-standalone .srfc-main>.srfc-auth{order:2}.srfc-standalone .srfc-overview-top h2{color:#fff}.srfc-standalone .srfc-overview-top p{color:#aab6c5}.srfc-standalone .srfc-stat{background:linear-gradient(145deg,#192530,#131e28);border:1px solid #2b3846;box-shadow:none;min-height:135px}.srfc-standalone .srfc-stat strong{color:white}.srfc-standalone .srfc-stat span{color:#f9c92b}.srfc-standalone .srfc-stat small{color:#acb9c8}.srfc-standalone .srfc-season{background:#18242f;border-color:#334354;color:#e7ecf4}.srfc-standalone .srfc-card{background:#18232d;color:#eef2f6;border:1px solid #33404d;box-shadow:none}.srfc-standalone .srfc-card h2{color:#fff}.srfc-standalone .srfc-muted{color:#aebccc}.srfc-standalone .srfc-tabs button{background:#19242e;border:1px solid #364454;color:#e7edf4}.srfc-standalone .srfc-tabs button.selected{background:#d30e34;border-color:#d30e34;color:white}.srfc-standalone .srfc-layout aside button{background:#222e3a;color:#dce5f1;border-color:#344251}.srfc-standalone .srfc-layout aside button.active{background:#cc1638;color:white}.srfc-standalone .srfc-rating{background:#111b25;border-color:#344353}.srfc-standalone .srfc-choices button{background:#273440;color:white;border-color:#3e4b58}.srfc-standalone .srfc-choices button.chosen{background:#d6173d}.srfc-standalone .srfc-table-wrap td{color:#e6eaf0;border-bottom-color:#334150}.srfc-standalone .srfc-table-wrap tbody tr:nth-child(even){background:#1d2a36}.srfc-standalone .srfc-table-wrap th{background:#0c141c}.srfc-standalone .srfc-admin-panel{background:#151f29;border-color:#f4c92b}.srfc-standalone .srfc-auth .srfc-card{background:#1b2732}.srfc-standalone .srfc-auth .srfc-card label{color:#f1f4f8}.srfc-standalone .srfc-auth .srfc-card input,.srfc-standalone .srfc-auth .srfc-card select{background:#101923;color:#fff;border-color:#4b5a69}.srfc-standalone .srfc-reference-note{background:#352d1b;color:#ffe4a0;border-color:#81652d}.srfc-standalone .srfc-stat-grid{gap:14px}.srfc-standalone .srfc-admin-details{background:#1a2632}.srfc-standalone .srfc-team-tile{background:#24313d}.srfc-standalone .srfc-demo-box{background:#25323e}
@media(max-width:800px){body.srfc-standalone .srfc-sidebar{width:74px;min-width:74px;padding:16px 6px}.srfc-brand strong,.srfc-brand small,.srfc-side-links a,.srfc-side-bottom strong,.srfc-side-bottom small,.srfc-side-bottom a{font-size:11px!important}.srfc-brand img{width:54px;height:64px}.srfc .srfc-side-links a,.srfc .srfc-side-links button{font-size:10px;padding:10px 5px;overflow-wrap:anywhere}.srfc-standalone .srfc-head{padding:24px;min-height:180px}.srfc-standalone .srfc-head img{width:75px;height:90px}.srfc-standalone .srfc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body.srfc-standalone .srfc-sidebar{width:59px;min-width:59px}.srfc-brand img{width:45px;height:56px}.srfc-brand strong{font-size:10px!important}.srfc-standalone .srfc-head{padding:20px 14px}.srfc-standalone .srfc-head h1{font-size:27px}.srfc-standalone .srfc-head img{display:none}.srfc-standalone .srfc-main{padding:14px 10px 50px}.srfc-standalone .srfc-stat{padding:13px;min-height:110px}.srfc-standalone .srfc-stat strong{font-size:24px}.srfc-standalone .srfc-stat span{font-size:9px}.srfc-standalone .srfc-tabs{flex-wrap:wrap}}

.srfc-report-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.srfc-report-actions button{width:auto;min-width:245px}.srfc-report-actions button:disabled{opacity:.55;cursor:wait}

/* v5.2 coach management */
.srfc-coach-management{margin-top:24px;padding:22px;border:1px solid #d9b64b;border-radius:14px;background:#fff}
.srfc-coach-management h3{margin:0 0 8px;color:#181818}
.srfc-coach-editor{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:14px 0;border-bottom:1px solid #ddd}
.srfc-coach-identity{flex:1 1 220px;display:flex;flex-direction:column;gap:3px;min-width:0}
.srfc-coach-identity small{overflow-wrap:anywhere}
.srfc-coach-editor label{flex:1 1 180px;display:flex;flex-direction:column;gap:4px}
.srfc-coach-editor select{width:100%;max-width:300px;padding:8px;color:#111;background:white;border:1px solid #bbb;border-radius:6px}
.srfc-coach-buttons{display:flex;gap:8px;flex-wrap:wrap}
.srfc-coach-buttons button{cursor:pointer}

.srfc-coach-login{display:flex;flex-direction:column;gap:12px;margin:15px 0}.srfc-coach-login label{display:block}.srfc-coach-login input{display:block;width:100%;margin-top:6px;padding:12px;border-radius:8px}.srfc-coach-login button{width:100%;cursor:pointer}.srfc-admin-panel{scroll-margin-top:55px}.srfc-admin-focused{outline:3px solid #ffd43b;outline-offset:4px;transition:outline .2s}

/* V5.5: full-width mobile workspace, off-canvas navigation and touch-friendly scoring. */
.srfc-mobile-menu,.srfc-nav-backdrop{display:none!important}
@media(max-width:800px){
 body.srfc-standalone .srfc{display:block!important;min-width:0;width:100%}
 body.srfc-standalone .srfc-workspace{width:100%;min-width:0;padding-top:56px}
 body.srfc-standalone .srfc-mobile-menu{display:flex!important;position:fixed;top:0;left:0;right:0;height:56px;z-index:1100;align-items:center;gap:12px;padding:0 17px;border:0;border-bottom:2px solid #efc327;border-radius:0;background:#121b26;color:#fff;font-size:16px;text-align:left;box-shadow:0 2px 15px #0005}
 body.admin-bar.srfc-standalone .srfc-mobile-menu{top:46px}
 body.srfc-standalone .srfc-mobile-menu span:first-child{font-size:25px;line-height:1}
 body.srfc-standalone .srfc-sidebar{position:fixed!important;top:0!important;left:0;bottom:0;width:min(310px,85vw)!important;min-width:0!important;height:100dvh!important;max-height:100dvh;z-index:1202;transform:translateX(-105%);transition:transform .23s ease;box-shadow:8px 0 28px #0006;padding:20px 14px!important;overflow-y:auto}
 body.admin-bar.srfc-standalone .srfc-sidebar{top:46px!important;height:calc(100dvh - 46px)!important}
 body.srfc-standalone.srfc-menu-open .srfc-sidebar{transform:translateX(0)}
 body.srfc-standalone .srfc-nav-backdrop:not([hidden]){display:block!important;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:1201}
 body.srfc-standalone .srfc-brand img{height:80px;width:80px}
 body.srfc-standalone .srfc-brand strong{font-size:18px!important}
 body.srfc-standalone .srfc-brand small{font-size:12px!important}
 body.srfc-standalone .srfc-side-links a,body.srfc-standalone .srfc-side-links button{font-size:15px!important;padding:14px!important;overflow-wrap:normal}
 body.srfc-standalone .srfc-side-bottom strong,body.srfc-standalone .srfc-side-bottom small,body.srfc-standalone .srfc-side-bottom a{font-size:13px!important}
 body.srfc-standalone .srfc-head{min-height:145px;padding:20px 16px}
 body.srfc-standalone .srfc-head h1{font-size:clamp(23px,6vw,34px)}
 body.srfc-standalone .srfc-main{padding:16px 12px 55px;width:100%;min-width:0}
 body.srfc-standalone .srfc-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 body.srfc-standalone .srfc-layout aside{max-height:unset;display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:7px;scrollbar-width:thin;padding-bottom:8px}
 body.srfc-standalone .srfc-layout aside button{flex:0 0 auto;min-width:84px;font-size:13px;padding:10px 12px;white-space:nowrap}
 body.srfc-standalone .srfc-layout>div{min-width:0}
 body.srfc-standalone .srfc-choices{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
 body.srfc-standalone .srfc-choices button{font-size:14px;min-height:44px;padding:8px 0}
 body.srfc-standalone .srfc-report-actions button{width:100%;min-width:0}
 body.srfc-standalone .srfc-card{padding:16px;max-width:100%;min-width:0}
 body.srfc-standalone .srfc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.srfc-standalone .srfc-stat{padding:13px;min-height:105px}
 body.srfc-standalone .srfc-stat strong{font-size:26px}
 body.srfc-standalone .srfc-tabs{flex-wrap:wrap}
 body.srfc-standalone .srfc-tabs button{flex:1 1 160px}
 body.srfc-standalone .srfc-admin-forms{grid-template-columns:minmax(0,1fr)}
 body.srfc-standalone .srfc-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.srfc-standalone .srfc-auth{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:370px){body.srfc-standalone .srfc-main{padding:12px 8px 45px}body.srfc-standalone .srfc-stat strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){body.srfc-standalone .srfc-sidebar{transition:none}}
/* V6: touch-friendly, coach-only proof-of-concept screens */
.srfc-v6{margin-top:26px;min-width:0}.srfc-v6[hidden],.srfc-v6 [hidden]{display:none!important}.srfc-v6-head{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;padding:22px;border-radius:14px;background:linear-gradient(115deg,#18191d,#6c121b);color:white}.srfc-v6-head h2{color:white;margin:7px 0}.srfc-v6-head p{color:#f0dede;margin:0}.srfc-v6-badge{border:1px solid #e8c26b;border-radius:20px;color:#ffdc8a;padding:8px 12px;font-weight:700;font-size:12px}.srfc-v6-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.srfc-v6-tabs button{background:#202026;color:#fff;border:1px solid #4d4d52;border-radius:9px;padding:13px 16px;min-height:46px;flex:1 1 140px}.srfc-v6-tabs button.active{background:#ad1927;border-color:#ad1927}.srfc-v6-rulegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.srfc-v6-rulegrid>div{background:#f7f7f8;border:1px solid #e0e0e3;border-radius:10px;padding:16px;min-width:0}.srfc-v6-rulegrid a{font-weight:700;color:#9e1420;overflow-wrap:anywhere}.srfc-v6-warning{background:#fff7df;border-left:4px solid #b88c22;color:#4b3b18;padding:14px;margin-top:14px;border-radius:4px}.srfc-v6-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.srfc-v6 label{display:block;font-weight:700;margin:10px 0;min-width:0}.srfc-v6 input:not([type=checkbox]),.srfc-v6 select,.srfc-v6 textarea{display:block;width:100%;min-width:0;max-width:100%;margin-top:7px;font-size:16px;padding:11px;border:1px solid #c9c9cd;border-radius:8px;background:white;color:#222}.srfc-v6 button{cursor:pointer;min-height:44px}.srfc-v6-squad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 12px}.srfc-v6-squad label{font-weight:500;padding:8px;border:1px solid #ddd;border-radius:8px}.srfc-v6-squad input{width:18px;height:18px;vertical-align:middle}.srfc-v6-match-item{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0;padding:13px;border-radius:8px;background:#f6f6f7;border:1px solid #ddd;color:#222;text-align:left}.srfc-v6-match-item span{font-size:13px}.srfc-v6 #srfc-v6-lineup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.srfc-v6 #srfc-v6-notes article{border-bottom:1px solid #ddd;padding:12px 0}.srfc-v6 #srfc-v6-notes small{display:block;color:#666;margin-top:4px}.srfc-v6-footer{font-size:13px;color:#555;line-height:1.6;margin-top:14px}
@media(max-width:650px){.srfc-v6-rulegrid,.srfc-v6-form,.srfc-v6 #srfc-v6-lineup{grid-template-columns:minmax(0,1fr)}.srfc-v6-squad{grid-template-columns:repeat(2,minmax(0,1fr))}.srfc-v6-head{padding:17px}.srfc-v6-tabs button{flex:1 1 100%;text-align:left}}

/* V6.1: explicit dark-theme contrast for all match-day fields. */
body.srfc-standalone .srfc-v6 .srfc-v6-squad label{color:#f5f7fb!important;background:#22313e;border:1px solid #526375;display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 14px;font-size:15px;line-height:1.4;cursor:pointer}
body.srfc-standalone .srfc-v6 .srfc-v6-squad label:has(input:checked){border-color:#f3c54b;background:#293643}
body.srfc-standalone .srfc-v6 label,body.srfc-standalone .srfc-v6 h3,body.srfc-standalone .srfc-v6 h4{color:#f5f7fb!important}
body.srfc-standalone .srfc-v6 .srfc-v6-form label{color:#f5f7fb!important}
body.srfc-standalone .srfc-v6 .srfc-v6-rulegrid>div{color:#20242a}
body.srfc-standalone .srfc-v6 .srfc-v6-warning{color:#4b3b18}
body.srfc-standalone .srfc-v6 .srfc-v6-footer{color:#b7c6d5}
body.srfc-standalone .srfc-v6 .srfc-v6-match-item{color:#20242a}
body.srfc-standalone .srfc-v6 .srfc-v6-squad input[type=checkbox]{flex:0 0 20px;accent-color:#e6b82f}
body.srfc-standalone .srfc-v6 .srfc-v6-squad label:focus-within{outline:2px solid #f3c54b;outline-offset:2px}
@media(max-width:800px){body.srfc-standalone .srfc-mobile-menu .srfc-mobile-match{margin-left:auto;font-size:12px;font-weight:800;padding:9px 11px;border-radius:8px;background:#a9162b;color:#fff;white-space:nowrap}body.srfc-standalone .srfc-sidebar{visibility:hidden}body.srfc-standalone.srfc-menu-open .srfc-sidebar{visibility:visible}}
@media(max-width:400px){.srfc-v6-squad{grid-template-columns:minmax(0,1fr)!important}body.srfc-standalone .srfc-mobile-menu .srfc-mobile-match{font-size:11px;padding:8px}}

.srfc-mobile-match-shortcut{display:none!important}
@media(max-width:800px){body.srfc-standalone .srfc-mobile-menu{right:auto!important;width:115px!important;padding:0 12px!important;box-shadow:none!important}body.srfc-standalone .srfc-mobile-match-shortcut{display:block!important;position:fixed;top:6px;right:10px;z-index:1101;height:44px;max-width:calc(100vw - 132px);padding:0 12px;border-radius:8px;background:#ad1927;color:white;border:1px solid #e0b748;font-size:13px;font-weight:750}body.admin-bar.srfc-standalone .srfc-mobile-match-shortcut{top:52px}body.srfc-standalone .srfc-workspace{padding-top:0}}

/* V6.2: in-document native mobile navigation, avoids iOS Safari fixed header overlap. */
.srfc-mobile-toolbar{display:none}
@media(max-width:800px){
 body.srfc-standalone .srfc-mobile-menu,body.srfc-standalone .srfc-mobile-match-shortcut{display:none!important}
 body.srfc-standalone .srfc-mobile-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:50;padding:10px 14px;min-height:64px;background:#111b25;border-bottom:2px solid #edc333;color:#f7f8fb}
 body.srfc-standalone .srfc-mobile-toolbar>strong{font-size:13px;color:#f2cf45;letter-spacing:.4px}
 body.srfc-standalone .srfc-mobile-toolbar details{position:relative;min-width:0}
 body.srfc-standalone .srfc-mobile-toolbar summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;min-width:132px;border:1px solid #647486;border-radius:9px;background:#263443;padding:10px 13px;color:#fff;font-size:16px;font-weight:750;cursor:pointer}
 body.srfc-standalone .srfc-mobile-toolbar summary::-webkit-details-marker{display:none}
 body.srfc-standalone .srfc-mobile-links{position:absolute;top:calc(100% + 6px);left:0;z-index:55;width:min(300px,calc(100vw - 28px));padding:8px;background:#1b2835;border:1px solid #607185;border-radius:11px;box-shadow:0 12px 25px #0009;display:flex;flex-direction:column;gap:4px}
 body.srfc-standalone .srfc-mobile-links a,body.srfc-standalone .srfc-mobile-links button{display:block;width:100%;min-height:48px;padding:12px 13px;border:0;border-radius:7px;background:transparent;text-align:left;color:#fff!important;text-decoration:none!important;font-size:16px;font-weight:650;cursor:pointer}
 body.srfc-standalone .srfc-mobile-links a:focus-visible,body.srfc-standalone .srfc-mobile-links button:focus-visible{outline:2px solid #ffd448}
 body.srfc-standalone .srfc-mobile-links a:active,body.srfc-standalone .srfc-mobile-links button:active{background:#a9162b}
 body.srfc-standalone .srfc-workspace{padding-top:0!important}
 body.srfc-standalone .srfc-head{padding-top:22px!important;min-height:125px!important}
 body.srfc-standalone .srfc-head .srfc-hero-copy{min-width:0}
 body.srfc-standalone .srfc-head h1{font-size:clamp(22px,5.7vw,30px)!important;overflow-wrap:break-word}
 body.srfc-standalone .srfc-head span{font-size:12px!important;line-height:1.5}
 body.srfc-standalone .srfc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.srfc-standalone .srfc-stat{min-width:0}
}
@media(max-width:370px){body.srfc-standalone .srfc-mobile-toolbar>strong{font-size:11px}body.srfc-standalone .srfc-mobile-toolbar summary{min-width:110px}}

/* V6.3: full-screen standalone portal with clean iPhone header. */
body.srfc-standalone #wpadminbar{display:none!important}
html:has(body.srfc-standalone){margin-top:0!important}
body.srfc-standalone{margin-top:0!important;padding-top:0!important}
.srfc-mobile-identity{display:flex;align-items:center;gap:9px;min-width:0}
.srfc-mobile-identity img{width:42px;height:46px;object-fit:contain;flex-shrink:0}
.srfc-mobile-identity strong{color:#f6d042;font-size:13px;letter-spacing:.3px;white-space:nowrap}
.srfc-v6-match-row{display:flex;align-items:stretch;gap:9px;margin:8px 0;min-width:0}
.srfc-v6-match-row .srfc-v6-match-item{flex:1;min-width:0;margin:0}
.srfc-v6-delete{flex-shrink:0;min-width:78px;padding:9px;border:1px solid #d5747b;border-radius:9px;background:#3b2028;color:#fff;font-weight:750;cursor:pointer}
.srfc-v6-delete:focus-visible{outline:3px solid #ffd43b;outline-offset:2px}
.srfc-v6-delete:disabled{opacity:.5}
@media(max-width:800px){
 body.srfc-standalone .srfc-mobile-toolbar{padding:10px 14px!important;min-height:74px!important;gap:8px!important}
 body.srfc-standalone .srfc-mobile-toolbar>strong{display:none!important}
 body.srfc-standalone .srfc-mobile-toolbar summary{min-width:112px!important;gap:7px!important;padding:9px!important}
 body.srfc-standalone .srfc-head{padding:20px 18px!important;min-height:0!important;gap:10px!important}
 body.srfc-standalone .srfc-head img{display:none!important}
 body.srfc-standalone .srfc-head h1{font-size:clamp(22px,5.6vw,31px)!important;line-height:1.18!important;margin:6px 0!important}
 body.srfc-standalone .srfc-head small{font-size:10px!important;letter-spacing:1.2px!important}
 body.srfc-standalone .srfc-head span{font-size:12px!important}
 body.srfc-standalone .srfc-main{padding:18px 14px 55px!important}
 .srfc-v6-delete{min-width:54px;font-size:13px}
 .srfc-v6-delete span{display:none}
}
@media(min-width:801px){.srfc-mobile-identity{display:none}}

/* V6.5 player directory and controlled data requests */
.srfc-profiles-page{background:#14202b;color:#f5f8fc;border:1px solid #35485a;border-radius:15px;padding:22px;margin:20px 0}.srfc-profiles-page[hidden],.srfc-profile-detail[hidden],.srfc-profile-directory[hidden],.srfc-profile-add[hidden],.srfc-profile-row[hidden]{display:none!important}.srfc-profiles-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.srfc-profiles-heading h2{font-size:29px;margin:7px 0}.srfc-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.srfc-profile-stats>div{background:#1c2c3a;border:1px solid #3c5164;border-radius:10px;padding:15px;display:flex;flex-direction:column;gap:5px}.srfc-profile-stats strong{font-size:23px;color:#f6d044}.srfc-profile-stats span{color:#c2cbd6}.srfc-profile-search{display:block;max-width:620px;margin-bottom:14px}.srfc-profiles-page label{color:#e2e8f1;display:flex;flex-direction:column;gap:7px;font-size:14px}.srfc-profiles-page input,.srfc-profiles-page select,.srfc-profiles-page textarea{display:block;width:100%;max-width:100%;min-height:44px;padding:10px 12px;background:#fff!important;color:#15202c!important;border:1px solid #9daebb;border-radius:8px;font-size:16px}.srfc-profile-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.srfc-profile-row{display:flex;align-items:center;gap:12px;text-align:left;min-height:65px;padding:12px;background:#1b2b39;color:#fff;border:1px solid #425569;border-radius:10px;cursor:pointer}.srfc-profile-row>span:last-child{margin-left:auto;color:#f6d044;font-size:12px}.srfc-profile-avatar{display:grid;place-items:center;min-width:38px;height:38px;border-radius:50%;background:#486783;font-weight:800}.srfc-profile-detail,.srfc-profile-add,.srfc-request-admin{margin-top:22px;padding:17px;background:#1b2b39;border:1px solid #425569;border-radius:12px}.srfc-profile-edit,.srfc-profile-request form,.srfc-profile-add form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.srfc-profile-edit button,.srfc-profile-add button,.srfc-profile-request button{align-self:end}.srfc-profile-request{border-top:1px solid #425569;margin-top:22px;padding-top:16px}.srfc-profile-request form label:nth-child(2){grid-column:1/-1}.srfc-request-item{border-top:1px solid #405364;padding:15px 0;display:grid;gap:10px}.srfc-request-item small{display:block;color:#b7c7d5;margin-top:5px}.srfc-profiles-page button{min-height:44px}.srfc-profile-back{background:transparent!important;color:#f7d14a!important;border:1px solid #63778c!important}.srfc-profiles-page .secondary{background:#334454!important;color:#fff!important}@media(max-width:650px){.srfc-profiles-page{padding:14px}.srfc-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.srfc-profile-stats>div:last-child{grid-column:1/-1}.srfc-profile-directory,.srfc-profile-edit,.srfc-profile-request form,.srfc-profile-add form{grid-template-columns:minmax(0,1fr)}.srfc-profile-request form label:nth-child(2){grid-column:auto}.srfc-profile-row{min-width:0}.srfc-profiles-heading h2{font-size:25px}}

/* V6.5.1: compact, consistent player directory. Override generic button styling. */
body.srfc-standalone .srfc .srfc-profile-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.srfc-standalone .srfc button.srfc-profile-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-width:0!important;min-height:66px!important;width:100%!important;padding:15px 18px!important;margin:0!important;border:1px solid #34495a!important;border-left:4px solid #e7bc29!important;border-radius:10px!important;background:#1b2a36!important;color:#f5f7fa!important;text-align:left!important;box-shadow:none!important;line-height:1.35!important;transition:background .15s,border-color .15s}
body.srfc-standalone .srfc button.srfc-profile-row:hover,body.srfc-standalone .srfc button.srfc-profile-row:focus-visible{background:#253747!important;border-color:#efca42!important;outline-offset:2px}
body.srfc-standalone .srfc .srfc-profile-name{display:block;flex:1 1 auto;min-width:0;font-size:17px;font-weight:750;overflow-wrap:anywhere;color:#fff!important}
body.srfc-standalone .srfc .srfc-profile-action{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;margin-left:auto!important;font-size:13px;font-weight:750;color:#f5ce43!important;white-space:nowrap}
body.srfc-standalone .srfc .srfc-profile-action span{font-size:19px;line-height:1}
@media(max-width:850px){body.srfc-standalone .srfc .srfc-profile-directory{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){body.srfc-standalone .srfc button.srfc-profile-row{min-height:62px!important;padding:12px 14px!important}body.srfc-standalone .srfc .srfc-profile-name{font-size:17px}body.srfc-standalone .srfc .srfc-profile-action{font-size:12px}}

/* V6.6 coach roles */
.srfc-roles-admin[hidden]{display:none!important}.srfc-role-card{padding:20px;margin:18px 0;border:1px solid #415366;border-radius:12px;background:#13202b}.srfc-role-card h3{margin:0}.srfc-role-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:12px 0 22px}.srfc-role-checks label{display:flex;align-items:center;gap:10px;color:#eaf1f6;background:#1c2b38;border:1px solid #344859;padding:12px;border-radius:8px;line-height:1.3}.srfc-role-checks input{width:20px;height:20px;flex:none}.srfc-roles-admin{scroll-margin-top:20px}.srfc-role-card button{margin-top:15px}@media(max-width:600px){.srfc-role-card{padding:14px}.srfc-role-checks{grid-template-columns:1fr}}

.srfc-team-switch{display:inline-flex;align-items:center;margin:0 10px}.srfc-team-switch label{font-size:13px;color:#e9f0f7}.srfc-team-switch select{margin-left:7px;max-width:200px}.srfc-diagnostic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;padding:14px}.srfc-diagnostic-grid .srfc-stat strong{font-size:18px}.srfc-diagnostic-grid .srfc-stat small{display:block;line-height:1.6}@media(max-width:600px){.srfc-team-switch{display:block;margin:12px 0}}

/* Confirmed match-day squad planning */
.srfc-plan-row{display:grid;grid-template-columns:minmax(125px,1.4fr) repeat(3,minmax(110px,1fr));gap:10px;align-items:center;border-bottom:1px solid #d7e1eb;padding:12px 4px}.srfc-plan-row label{font-size:12px}.srfc-plan-row input,.srfc-plan-row select{width:100%;max-width:100%;box-sizing:border-box}.srfc-plan-restriction{grid-column:1/-1}@media(max-width:800px){.srfc-plan-row{grid-template-columns:1fr 1fr}.srfc-plan-row>strong{grid-column:1/-1}}

/* 6.7.8 interactive rugby pitch */
.srfc-v6-pitch{position:relative;max-width:650px;height:680px;margin:16px auto 24px;background:repeating-linear-gradient(to bottom,#1a673f 0,#1a673f 66px,#206e46 66px,#206e46 132px);border:5px solid #f7f7f7;border-radius:12px;box-shadow:inset 0 0 0 12px #ffffff1c;overflow:hidden;color:#fff}
.srfc-v6-pitch:before{content:'';position:absolute;inset:9% 8%;border:2px solid #ffffff9c;pointer-events:none;background:linear-gradient(to bottom,transparent 49.7%,#ffffff9c 49.7%,#ffffff9c 50.1%,transparent 50.1%)}
.srfc-pitch-header{position:absolute;z-index:1;top:8px;left:0;right:0;text-align:center;font-weight:800;color:#fff;letter-spacing:.08em;text-shadow:0 2px 3px #000}
.srfc-pitch-shirt{position:absolute!important;transform:translate(-50%,-50%);width:90px;min-height:54px;padding:4px!important;border:2px solid #f4c746!important;border-radius:10px!important;background:linear-gradient(145deg,#c51635,#850b25)!important;color:white!important;cursor:grab;z-index:2;box-shadow:0 3px 8px #0008;touch-action:manipulation}
.srfc-pitch-shirt:focus,.srfc-pitch-picked{outline:4px solid #fff!important}.srfc-shirt-number{display:block;font-weight:900;font-size:18px}.srfc-shirt-name{display:block;font-size:11px;line-height:1.2;overflow-wrap:anywhere}.srfc-pitch-help{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:12px;text-shadow:0 1px 3px #000}
@media(max-width:600px){.srfc-v6-pitch{height:560px}.srfc-pitch-shirt{width:65px;min-height:48px}.srfc-shirt-name{font-size:10px}}

/* v6.7.13: dual-half rugby formation */
.srfc-v6-pitch{max-width:100%;height:auto;min-height:0;overflow:visible;border:0;background:none;box-shadow:none;color:#fff}
.srfc-v6-pitch:before{display:none}
.srfc-two-halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.srfc-half-panel{min-width:0;background:#155b38;border:3px solid #f2f2f2;border-radius:10px;overflow:hidden}
.srfc-half-title{padding:12px 4px;background:linear-gradient(115deg,#970922,#e41436 65%,#13151a);font-weight:900;text-align:center;letter-spacing:.05em;font-size:clamp(13px,2vw,22px)}
.srfc-half-average{background:#f7c84a;color:#181818;text-align:center;font-weight:800;padding:6px;font-size:clamp(10px,1.4vw,15px)}
.srfc-half-field{height:540px;position:relative;background:repeating-linear-gradient(to bottom,#18663b 0,#18663b 60px,#207244 60px,#207244 120px)}
.srfc-half-field:before{content:'';position:absolute;inset:6% 7%;border:2px solid #ffffffaa;background:linear-gradient(to bottom,transparent 49.8%,#ffffff88 49.8%,#ffffff88 50.2%,transparent 50.2%);pointer-events:none}
.srfc-half-field .srfc-pitch-shirt{width:clamp(54px,7vw,90px);min-height:48px}
.srfc-pitch-instructions{color:#fff;padding:8px}.srfc-pitch-bench{display:flex;gap:5px;flex-wrap:wrap;padding:10px}.srfc-bench-player{font-size:12px!important;padding:5px 9px!important;background:#23394d!important;color:#fff!important}
#srfc-v6-participation{padding:10px;color:#fff}
@media(max-width:850px){.srfc-two-halves{grid-template-columns:1fr}.srfc-half-field{height:570px}.srfc-half-field .srfc-pitch-shirt{width:80px}}

/* v6.7.15 match-specific selection preferences */
.srfc-selection-controls{padding:18px;margin:14px 0;background:#223448;border:1px solid #64758a;border-radius:10px;color:white;display:grid;gap:12px}.srfc-selection-controls select{display:block;width:100%;margin-top:7px;padding:10px}.srfc-selection-help{font-size:13px;opacity:.85;margin:6px 0}.srfc-preferred-list{display:flex;flex-wrap:wrap;gap:7px 15px;margin-top:9px}.srfc-preferred-list label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.srfc-selection-controls button{max-width:320px;background:#c8102e;color:white;padding:12px;border-radius:7px}.srfc-selection-controls input[type=checkbox]{width:auto;min-width:16px;height:16px}

/* v6.7.19: Southport rugby pitch visual refinement, coaching-only fit markers. */
.srfc-half-panel{background:#114d32;border:3px solid #e9e6da;box-shadow:0 9px 24px #0006;}
.srfc-half-title{background:linear-gradient(110deg,#570a1c 0%,#cf1236 35%,#8f0928 72%,#161616 100%);text-shadow:0 2px 3px #0009;letter-spacing:.075em;border-bottom:2px solid #f8c947;}
.srfc-half-average{background:linear-gradient(90deg,#dca725,#ffe071,#dca725);border-bottom:2px solid #39280b;}
.srfc-half-field{isolation:isolate;background-color:#155c37;background-image:radial-gradient(ellipse at 20% 20%,#d4ed9b18,transparent 52%),radial-gradient(ellipse at 85% 70%,#0c1c0c88,transparent 60%),repeating-linear-gradient(0deg,#ffffff08 0px,#ffffff08 2px,transparent 3px,transparent 7px),repeating-linear-gradient(to bottom,#1e7143 0,#1e7143 58px,#165d39 58px,#165d39 116px);}
.srfc-half-field:before{inset:5% 7%;border:2px solid #fff9;background:linear-gradient(to bottom,transparent 49.8%,#ffffffa8 49.8%,#ffffffa8 50.2%,transparent 50.2%);}
.srfc-half-field:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 48%,#0005 100%);}
.srfc-half-field .srfc-pitch-shirt{width:clamp(58px,7.5vw,102px);min-height:76px;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;overflow:visible;}
.srfc-half-field .srfc-shirt-jersey{position:relative;display:flex;align-items:center;justify-content:center;width:54px;height:47px;clip-path:polygon(22% 0,36% 6%,64% 6%,78% 0,100% 19%,89% 42%,79% 35%,79% 100%,21% 100%,21% 35%,11% 42%,0 19%);background:linear-gradient(to bottom,#e9ba3c 0 11%,#c41134 11% 25%,#0a0b0d 25% 100%);filter:drop-shadow(0 3px 2px #0008);}
.srfc-half-field .srfc-shirt-jersey:before{content:'';position:absolute;inset:5px 4px 0;background:linear-gradient(90deg,#f2b93e 0 14%,transparent 14% 86%,#f2b93e 86%);opacity:.85;pointer-events:none;}
.srfc-half-field .srfc-shirt-number{position:relative;z-index:1;color:#fff;font-size:19px;text-shadow:0 2px 2px #000;}
.srfc-half-field .srfc-shirt-name{position:relative;margin-top:-2px;display:block;background:#090b0e;border:1px solid #e7e7e7;border-radius:3px;padding:3px 4px;min-width:70px;max-width:112px;line-height:1.1;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 1px #000;box-shadow:0 3px 6px #0008;}
.srfc-half-field .srfc-fit-marker{position:absolute;right:2px;top:0;min-width:18px;min-height:18px;font-size:13px;font-weight:900;border-radius:50%;background:#f8c947;color:#161616;display:grid;place-items:center;}
.srfc-half-field .srfc-fit-marker:empty{display:none;}
.srfc-half-field .srfc-fit-unlisted .srfc-shirt-name{border-color:#ff786b;box-shadow:0 0 0 2px #ef4c35a0,0 3px 6px #0008;}
.srfc-half-field .srfc-fit-development .srfc-shirt-name{border-color:#e7c05a;}
.srfc-legend-warning{color:#ffc1b4;font-weight:700}.srfc-legend-dev{color:#f4d981;font-weight:700}
@media(max-width:600px){.srfc-half-field .srfc-pitch-shirt{width:72px;min-height:72px}.srfc-half-field .srfc-shirt-jersey{width:46px;height:42px}.srfc-half-field .srfc-shirt-name{min-width:56px;max-width:75px;font-size:9px}}

/* v6.7.20: approved two-panel rugby team-sheet layout; live shirts remain interactive. */
.srfc-half-panel{border:2px solid #e5ded0;border-radius:11px;overflow:hidden;background:#114d32;box-shadow:0 8px 24px #0008}
.srfc-half-title{min-height:67px;display:flex;align-items:center;gap:10px;padding:7px 12px;background:linear-gradient(120deg,#420c17,#b20c2c 48%,#290c15);border-bottom:2px solid #e6ae31;text-align:left;letter-spacing:normal}
.srfc-half-crest{width:36px;height:48px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 2px #0008)}
.srfc-half-club{display:flex;flex-direction:column;white-space:nowrap;font-size:clamp(10px,1.05vw,15px);font-weight:900;line-height:1.1}
.srfc-half-club small{color:#ffd14b;font-size:12px}
.srfc-half-heading{flex:1;text-align:center;font-weight:900;font-size:clamp(13px,1.5vw,22px);letter-spacing:.03em}
.srfc-half-average{padding:7px 4px;background:#f6c84b;border:0;font-size:clamp(11px,1vw,15px)}
.srfc-half-field{height:580px;background-color:#155b32;background-image:linear-gradient(90deg,#07150a38,#0000 12%,#0000 88%,#07150a38),repeating-linear-gradient(0deg,#fff1 0px,#fff1 1px,transparent 2px,transparent 5px),repeating-linear-gradient(to bottom,#23713e 0px,#23713e 76px,#176337 76px,#176337 152px)}
.srfc-half-field:before{inset:4% 6%;border:2px solid #ffffffbb;background:linear-gradient(to bottom,transparent 34%,#ffffffaa 34%,#ffffffaa 34.35%,transparent 34.35%,transparent 67%,#ffffffaa 67%,#ffffffaa 67.35%,transparent 67.35%)}
.srfc-half-field .srfc-pitch-shirt{width:clamp(68px,7vw,104px);min-height:73px}
.srfc-half-field .srfc-shirt-jersey{width:64px;height:53px;clip-path:polygon(23% 0,36% 6%,64% 6%,77% 0,100% 18%,89% 41%,79% 34%,79% 100%,21% 100%,21% 34%,11% 41%,0 18%);background:linear-gradient(to bottom,#eab940 0 12%,#c90e31 12% 30%,#0a0b0d 30% 64%,#b90e30 64% 80%,#0b0b0c 80%)}
.srfc-half-field .srfc-shirt-name{border:1px solid #f3c94c;min-width:78px;font-size:11px;box-shadow:0 3px 4px #0009}
.srfc-half-field .srfc-fit-marker{z-index:5}
@media(max-width:600px){.srfc-half-title{gap:7px}.srfc-half-club{font-size:11px}.srfc-half-heading{font-size:13px}.srfc-half-field{height:550px}.srfc-half-field .srfc-pitch-shirt{width:70px}.srfc-half-field .srfc-shirt-jersey{width:49px;height:43px}.srfc-half-field .srfc-shirt-name{min-width:58px;font-size:9px}}

/* 6.7.21 - full page navigation, retains original desktop sidebar */
.srfc .srfc-page-navigation{display:flex;flex-direction:column;gap:5px;padding:8px 10px 18px}
.srfc .srfc-page-navigation a{display:block;text-decoration:none;color:#e6edf4;border-radius:9px;padding:12px 13px;font-weight:700;font-size:14px;line-height:1.3}
.srfc .srfc-page-navigation a:hover,.srfc .srfc-page-navigation a:focus-visible{background:#293e51;color:#fff;outline:2px solid #f5c43c;outline-offset:1px}
.srfc .srfc-page-navigation a.is-active{background:#c91237;color:#fff}
.srfc .srfc-side-links[hidden],.srfc #srfc-mobile-match-shortcut[hidden]{display:none!important}
.srfc .srfc-mobile-links a{display:block;padding:10px 12px;color:inherit;text-decoration:none}
.srfc[data-page="matches"] .srfc-v6-tabs,.srfc[data-page="rules"] .srfc-v6-tabs{display:none!important}
.srfc[data-page="matches"] .srfc-v6-head h2{font-size:1.45rem}
.srfc[data-page="matches"] .srfc-v6-head .srfc-eyebrow{display:none}
@media(max-width:900px){.srfc .srfc-page-navigation{display:none}.srfc .srfc-mobile-links a.is-active{background:#c91237;color:#fff}}

/* v6.7.22: clean branded hero; remove historic handwritten team-sheet photo. */
body.srfc-standalone .srfc-head{background:linear-gradient(110deg,#0e1824 0%,#172637 56%,#451b28 100%)!important;background-image:linear-gradient(110deg,#0e1824 0%,#172637 56%,#451b28 100%)!important;}
body.srfc-standalone .srfc-head::before{content:none!important;}
/* 6.7.23 named whole-squad assessment sessions */
.srfc-session-panel{margin-bottom:26px}.srfc-session-create{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#223449;padding:14px;border-radius:10px}.srfc-session-create label{flex:1;min-width:190px;color:#fff}.srfc-session-create input{display:block;width:100%;margin-top:5px}.srfc-session-list{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.srfc-session-list button{display:flex;flex-direction:column;gap:5px;text-align:left;background:#203348;border:1px solid #64748b;color:#fff;border-radius:8px;padding:10px 14px}.srfc-session-list button.selected{border-color:#f4c645;box-shadow:0 0 0 2px #f4c64555}.srfc-session-list small{color:#cbd5e1}.srfc-session-detail{background:#172737;border:1px solid #43556a;border-radius:10px;padding:16px}.srfc-session-grid{display:grid;grid-template-columns:minmax(160px,230px) 1fr;gap:16px}.srfc-session-roster{display:flex;flex-direction:column;gap:5px;max-height:500px;overflow:auto}.srfc-session-roster button{display:flex;justify-content:space-between;padding:8px 12px;background:#263e56;color:#fff;border-radius:5px}.srfc-session-roster button.selected{background:#b20d30}.srfc-session-ratings{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:9px;margin:14px 0}.srfc-session-ratings label,.srfc-session-reason label{display:block}.srfc-session-ratings select,.srfc-session-reason select,.srfc-session-reason input{display:block;width:100%;margin:5px 0 10px}.srfc-session-divider{margin:26px 0;border-color:#475569}@media(max-width:650px){.srfc-session-grid{grid-template-columns:1fr}.srfc-session-roster{max-height:180px}}

/* v6.7.24: named session usability and contrast */
.srfc-session-detail{padding:22px!important}.srfc-session-detail h3{font-size:1.4rem;margin:0 0 10px;color:#fff}.srfc-session-detail>p{color:#dce7f1!important}
.srfc-session-grid{grid-template-columns:minmax(185px,260px) minmax(0,1fr)!important;gap:24px!important;align-items:start}
.srfc-session-roster{background:#102130;padding:10px;border:1px solid #3d566d;border-radius:10px;max-height:560px}
.srfc-session-roster button{width:100%;text-align:left;border:1px solid transparent;min-height:43px;align-items:center;gap:12px}
.srfc-session-roster button.selected{border-color:#ffd04d;background:#9e0c2a}
#srfc-session-response{min-width:0;background:#203348;border:1px solid #45617b;border-radius:10px;padding:22px;color:#fff}
#srfc-session-response h4{font-size:1.35rem;color:#fff;margin:0 0 18px}
#srfc-session-response>label{display:flex!important;align-items:center;gap:12px;margin:0 0 10px;padding:12px;background:#142739;border:1px solid #50677d;border-radius:8px;color:#fff!important;font-weight:650;cursor:pointer}
#srfc-session-response>label input[type=radio]{appearance:auto!important;opacity:1!important;visibility:visible!important;position:static!important;display:inline-block!important;flex:0 0 auto;width:19px!important;height:19px!important;accent-color:#f5c43c!important;margin:0!important}
#srfc-session-response .srfc-session-ratings label,#srfc-session-response .srfc-session-reason label{color:#fff!important;font-weight:600}
#srfc-session-response select,#srfc-session-response input[type=text]{color:#152335;background:#fff;min-height:40px;border-radius:5px}
#srfc-session-response [hidden]{display:none!important}
@media(max-width:760px){.srfc-session-grid{grid-template-columns:1fr!important;gap:14px!important}.srfc-session-roster{max-height:220px}#srfc-session-response{padding:15px}}

/* 6.7.25: accessible administrator controls and session-only formal assessments */
.srfc-standalone .srfc-coach-management{background:#192735;color:#edf4fb;border-color:#506377}
.srfc-standalone .srfc-coach-management h3,.srfc-standalone .srfc-coach-management strong{color:#fff}
.srfc-standalone .srfc-coach-management .srfc-muted,.srfc-standalone .srfc-coach-management small{color:#d0dce8}
.srfc-standalone .srfc-coach-management label{color:#edf4fb;font-weight:650}
.srfc-standalone .srfc-coach-management select{color:#142130;background:#fff;border:1px solid #a5b5c5;border-radius:7px;padding:10px;min-width:160px}
.srfc-standalone .srfc-coach-management .srfc-coach-row{border-bottom-color:#415367;flex-wrap:wrap}
.srfc-legacy-assessment,.srfc-legacy-assessment[hidden]{display:none!important}

/* v6.7.27: sign-in link contrast, including hover/visited */
.srfc a.srfc-login-button,.srfc a.srfc-login-button:link,.srfc a.srfc-login-button:visited,.srfc a.srfc-login-button:hover,.srfc a.srfc-login-button:focus{color:#fff!important;background:#cf1936!important;font-weight:750!important;text-decoration:none!important;}
.srfc-auth .srfc-card a:not(.srfc-login-button){color:#f5ce4d!important;}

/* v6.7.28 MFA enrolment: isolate Wordfence account UI */
.srfc-mfa-setup{max-width:960px;margin:48px auto;padding:16px;color:#f7f9fc}
.srfc-mfa-setup .srfc-security-panel{background:#1c2b3a;color:#fff;border:1px solid #526476;padding:28px;border-radius:12px}
.srfc-mfa-setup .srfc-security-panel h2{color:#f7c945}
.srfc-mfa-setup .srfc-wfls-enrol{background:#fff;color:#17212b;padding:20px;border-radius:10px;overflow-wrap:anywhere}
.srfc-mfa-setup .srfc-wfls-enrol label,.srfc-mfa-setup .srfc-wfls-enrol p{color:#17212b}

/* v6.7.29 enrolment success and recovery settings */
.srfc-mfa-setup .srfc-security-success{text-align:center;padding:22px 10px;color:#fff}
.srfc-mfa-setup .srfc-security-success>span{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#176a48;color:#fff;font-size:38px;margin-bottom:12px}
.srfc-mfa-setup .srfc-security-success h2{color:#f7c945;margin:8px 0 12px}
.srfc-mfa-setup .srfc-security-continue{display:inline-block;background:#c91237;color:#fff!important;font-weight:800;text-decoration:none;padding:15px 22px;border-radius:8px;margin:18px auto 6px}
.srfc-mfa-setup .srfc-security-continue:hover{background:#a50e2e}
.srfc-mfa-setup .srfc-security-manage{border-top:1px solid #526476;margin-top:24px;padding-top:20px}
.srfc-mfa-setup .srfc-security-manage summary{cursor:pointer;color:#f7c945;font-weight:700}
.srfc-mfa-setup .srfc-security-signout{text-align:center;margin-top:25px}
.srfc-mfa-setup .srfc-security-signout a{color:#f7d46c!important}

/* V6.7.30: User account is a dedicated navigation view, not a header link. */
.srfc-account-page[hidden]{display:none!important}
.srfc-account-page{color:#f4f7fb;padding:0 0 32px}
.srfc-account-intro{padding:18px 24px 8px}
.srfc-account-intro h2{color:#fff;font-size:28px;margin:5px 0 9px}
.srfc-account-intro p{color:#d0dbe5;margin:0 0 20px}
.srfc-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;padding:0 24px 30px}
.srfc-account-details,.srfc-account-security .srfc-security-panel{height:auto;background:#1b2b39!important;border:1px solid #42566a!important;color:#edf4fa!important;border-radius:12px;padding:22px!important;margin:0!important}
.srfc-account-details h3,.srfc-account-security h3{color:#f7cb48!important;font-size:20px;margin:0 0 14px}
.srfc-account-details dl{display:grid;grid-template-columns:minmax(115px,.7fr) minmax(0,1.5fr);gap:10px 12px;margin:15px 0 20px}
.srfc-account-details dt{font-size:13px;font-weight:700;color:#a9c0d1}
.srfc-account-details dd{font-size:15px;color:#fff;margin:0;overflow-wrap:anywhere}
.srfc-account-page .srfc-muted{color:#c0cfdd!important}
.srfc-account-action,.srfc-account-security a{color:#f7cd4b!important}
.srfc-account-mfa-status{padding:15px;background:#183e34;border:1px solid #397961;border-radius:9px}
.srfc-account-mfa-status strong{display:block;color:#d4ffe8;font-size:17px}
.srfc-account-mfa-status p{color:#eefaf3;margin:6px 0 0}
.srfc-account-page details.srfc-security-manage{border:1px solid #526679;border-radius:9px;margin-top:16px;padding:14px}
.srfc-account-page details.srfc-security-manage summary{color:#f7cd4b;cursor:pointer;font-weight:700}
.srfc-account-page .srfc-wfls-enrol{margin-top:18px}
.srfc-account-page .srfc-security-panel h2{color:#f7cd4b}
@media(max-width:1000px){.srfc-account-grid{grid-template-columns:1fr}}
@media(max-width:650px){.srfc-account-grid{padding:0 14px 25px}.srfc-account-intro{padding:12px 14px 8px}.srfc-account-details dl{grid-template-columns:1fr;gap:5px}.srfc-account-details dt:not(:first-child){margin-top:10px}}

/* v6.7.31: compact scalable user directory; JS filters are view-only, never permissions. */
.srfc-user-directory{margin-top:18px}
.srfc-directory-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;align-items:end}
.srfc-directory-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#e4edf6}
.srfc-directory-controls input,.srfc-directory-controls select{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;padding:9px 10px;background:#fff;color:#152235;border:1px solid #a4b5c5;border-radius:6px;font-size:13px}
.srfc-directory-count{font-size:13px;color:#cfdae5;margin:13px 0}
.srfc-directory-scroll{width:100%;overflow-x:auto;border:1px solid #45576b;border-radius:9px}
.srfc-directory-table{width:100%;border-collapse:collapse;min-width:720px;color:#edf4fa;text-align:left;font-size:13px}
.srfc-directory-table th{padding:12px;background:#263748;color:#f7cf49;text-transform:uppercase;letter-spacing:.04em;font-size:11px}
.srfc-directory-table td{vertical-align:middle;border-top:1px solid #3b4c5d;padding:11px 12px}
.srfc-directory-table tbody tr:nth-child(even){background:#1e3041}
.srfc-directory-table tbody tr:nth-child(odd){background:#192a39}
.srfc-directory-table td:first-child strong{display:block;color:#fff;font-size:13px}
.srfc-directory-table td:first-child small{display:block;color:#d0dce8;overflow-wrap:anywhere;margin-top:3px}
.srfc-directory-table tr[hidden],.srfc-directory-empty[hidden]{display:none!important}
.srfc-user-status{display:inline-block;border-radius:100px;padding:5px 9px;font-weight:750;font-size:11px;white-space:nowrap;background:#34485a;color:#fff}
.srfc-user-status--approved{background:#15543f;color:#d9ffeb}
.srfc-user-status--pending{background:#655022;color:#ffeba9}
.srfc-user-status--rejected{background:#5a3340;color:#ffe1e8}
.srfc-user-status--archived{background:#35404b;color:#d0dae3}
.srfc-user-edit{min-width:110px}
.srfc-user-edit summary{cursor:pointer;padding:7px 10px;text-align:center;border:1px solid #73869b;border-radius:6px;color:#fff;font-weight:750;list-style-position:inside}
.srfc-user-edit[open] summary{margin-bottom:12px;background:#263748}
.srfc-user-edit form{display:flex;flex-direction:column;gap:12px;min-width:255px;max-width:345px}
.srfc-user-edit form label{display:flex;flex-direction:column;gap:5px;font-weight:650;font-size:12px}
.srfc-user-edit form select{width:100%;min-width:0!important;max-width:none!important;padding:9px}
.srfc-directory-actions{display:flex;flex-wrap:wrap;gap:6px}
.srfc-directory-actions button,.srfc-user-edit button{font-size:12px;padding:10px;border-radius:6px;cursor:pointer}
.srfc-user-edit button.srfc-user-archive{background:#60414b;color:#fff;border:1px solid #ab7f8d}
.srfc-user-edit button.srfc-user-restore{background:#236346;color:#fff;border:1px solid #509774}
.srfc-user-archived-note{font-size:12px;color:#d4dce5;line-height:1.5}
.srfc-directory-empty{padding:18px;color:#f4d274}
@media(max-width:760px){.srfc-coach-management{padding:15px!important}.srfc-directory-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.srfc-directory-controls label:first-child{grid-column:1 / -1}}


/* v6.7.32: Wordfence account-management shortcode contrast repair.
   The standalone portal uses light text on dark panels, while Wordfence renders
   white authentication/recovery panels. Keep the shortcode in a light, readable
   island, including its own nested headings and recovery-code controls. */
.srfc .srfc-account-security .srfc-wfls-enrol,
.srfc-mfa-setup .srfc-wfls-enrol{
  box-sizing:border-box;background:#f6f8fb!important;color:#192839!important;
  border:1px solid #b8c6d3;border-radius:10px;padding:20px!important;
  overflow-wrap:anywhere;line-height:1.55
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(p,span,small,em,strong,b,label,h2,h3,h4,h5,h6,div,li,th,td),
.srfc-mfa-setup .srfc-wfls-enrol :is(p,span,small,em,strong,b,label,h2,h3,h4,h5,h6,div,li,th,td){
  color:#192839!important
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(h2,h3,h4,strong),
.srfc-mfa-setup .srfc-wfls-enrol :is(h2,h3,h4,strong){font-weight:700}
.srfc .srfc-account-security .srfc-wfls-enrol a:not(.button):not([role=button]),
.srfc-mfa-setup .srfc-wfls-enrol a:not(.button):not([role=button]){
  color:#9a1030!important;text-decoration:underline;text-underline-offset:2px
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(input[type=text],input[type=password],input[type=number],input[type=tel],input[type=email],textarea),
.srfc-mfa-setup .srfc-wfls-enrol :is(input[type=text],input[type=password],input[type=number],input[type=tel],input[type=email],textarea){
  background:#fff!important;color:#192839!important;border:1px solid #8799aa!important;
  border-radius:6px;min-height:42px;max-width:100%;box-sizing:border-box
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(button,input[type=button],input[type=submit],a.button),
.srfc-mfa-setup .srfc-wfls-enrol :is(button,input[type=button],input[type=submit],a.button){
  background:#c91237!important;color:#fff!important;border:1px solid #a8102e!important;
  border-radius:6px!important;min-height:41px!important;padding:9px 16px!important;
  font-weight:750!important;opacity:1!important;box-shadow:none!important;cursor:pointer
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(button,input[type=button],input[type=submit],a.button):hover,
.srfc-mfa-setup .srfc-wfls-enrol :is(button,input[type=button],input[type=submit],a.button):hover{
  background:#a60e2c!important;color:#fff!important
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(button,input,a,summary):focus-visible,
.srfc-mfa-setup .srfc-wfls-enrol :is(button,input,a,summary):focus-visible{
  outline:3px solid #dda922!important;outline-offset:3px
}
/* Inner Wordfence cards may be supplied with their own white backgrounds. */
.srfc .srfc-account-security .srfc-wfls-enrol :is(.wfls-block,.wfls-card,.wfls-panel),
.srfc-mfa-setup .srfc-wfls-enrol :is(.wfls-block,.wfls-card,.wfls-panel){
  background:#fff!important;border-color:#c2ced9!important;color:#192839!important;
  margin-bottom:12px
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(.wfls-error,.notice-error),
.srfc-mfa-setup .srfc-wfls-enrol :is(.wfls-error,.notice-error){
  background:#fff1f2!important;border-color:#c01d40!important;color:#7e1230!important
}
.srfc .srfc-account-security .srfc-wfls-enrol :is(.wfls-success,.notice-success),
.srfc-mfa-setup .srfc-wfls-enrol :is(.wfls-success,.notice-success){
  background:#e6f5eb!important;border-color:#307653!important;color:#164a31!important
}
@media(max-width:650px){
 .srfc .srfc-account-security .srfc-wfls-enrol,
 .srfc-mfa-setup .srfc-wfls-enrol{padding:13px!important}
}

/* 6.7.33: Wordfence management copy is useful during enrolment, not after activation.
   Scope to the active account's embedded shortcode; leave security alerts visible. */
.srfc .srfc-account-security .srfc-wfls-enrol[data-srfc-mfa-active="1"] .srfc-wfls-intro-hidden,
.srfc-mfa-setup .srfc-wfls-enrol[data-srfc-mfa-active="1"] .srfc-wfls-intro-hidden{display:none!important}

/* v6.7.34 — public sign-in / registration page. Scoped to guests; no MFA/login form changes. */
body.srfc-standalone .srfc-public-home{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch;
}
body.srfc-standalone .srfc-public-home .srfc-card{
 min-width:0;margin:8px 0;padding:30px 32px;border:1px solid #3c5366;
 border-radius:15px;background:#1b2a38;color:#f4f7fb;box-shadow:0 14px 34px rgba(0,0,0,.10);
}
body.srfc-standalone .srfc-public-home .srfc-public-signin{
 display:flex;flex-direction:column;min-height:460px;
 background:linear-gradient(145deg,#1d2d3c 0%,#172534 100%);
 border-top:3px solid #f0c746;
}
body.srfc-standalone .srfc-public-home .srfc-public-register{
 border-top:3px solid #d01638;
}
body.srfc-standalone .srfc-public-home .srfc-public-kicker{
 display:block;margin:0 0 13px;font-size:11px;line-height:1.3;
 font-weight:800;letter-spacing:1.7px;color:#f3cf55;
}
body.srfc-standalone .srfc-public-home .srfc-card h2{
 margin:0 0 12px;font-size:clamp(25px,2.5vw,31px);line-height:1.2;
 letter-spacing:-.55px;font-weight:800;color:#fff;
}
body.srfc-standalone .srfc-public-home .srfc-card p{
 margin:0;color:#d6e0eb;font-size:16px;line-height:1.65;
}
body.srfc-standalone .srfc-public-home .srfc-public-signin-actions{
 display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin:52px 0 28px;
}
body.srfc-standalone .srfc-public-home a.srfc-public-signin-cta{
 display:inline-flex;align-items:center;justify-content:space-between;gap:48px;
 min-width:210px;min-height:50px;padding:12px 20px;border-radius:9px;
 font-size:17px;font-weight:800;color:#fff!important;background:#ce1236!important;
 text-decoration:none!important;box-shadow:0 9px 20px rgba(0,0,0,.15);
}
body.srfc-standalone .srfc-public-home a.srfc-public-signin-cta span{font-size:22px;line-height:1}
body.srfc-standalone .srfc-public-home .srfc-public-reset{
 font-size:14px;color:#f4d66e!important;text-decoration:underline;text-underline-offset:4px;
}
body.srfc-standalone .srfc-public-home .srfc-public-signin p.srfc-public-access-note{
 margin-top:auto;padding:18px 0 0;border-top:1px solid #3c5062;
 font-size:13px;line-height:1.5;color:#b5c7d8;
}
body.srfc-standalone .srfc-public-home .srfc-public-register-intro{
 margin-bottom:15px!important;
}
body.srfc-standalone .srfc-public-home .srfc-public-register form{
 display:grid;gap:12px;margin-top:22px;
}
body.srfc-standalone .srfc-public-home .srfc-public-register label{
 display:block;margin:0;font-size:13px;font-weight:750;line-height:1.4;color:#f5f8fb;
}
body.srfc-standalone .srfc-public-home .srfc-public-register input,
body.srfc-standalone .srfc-public-home .srfc-public-register select{
 margin-top:7px;display:block;width:100%;min-width:0;min-height:45px;
 border:1px solid #617387;border-radius:8px;background:#101c29;color:#fff;
 font-size:15px;padding:10px 12px;
}
body.srfc-standalone .srfc-public-home .srfc-public-register input:focus,
body.srfc-standalone .srfc-public-home .srfc-public-register select:focus,
body.srfc-standalone .srfc-public-home .srfc-public-signin-cta:focus-visible,
body.srfc-standalone .srfc-public-home .srfc-public-reset:focus-visible{
 outline:3px solid #f4d35d;outline-offset:3px;
}
body.srfc-standalone .srfc-public-home .srfc-public-input-hint{
 font-weight:450;color:#c3d2df;
}
body.srfc-standalone .srfc-public-home button.srfc-public-register-cta{
 display:flex;justify-content:space-between;align-items:center;gap:18px;
 min-height:50px;margin-top:4px;padding:12px 18px;
 background:#ce1236;color:#fff;font-size:16px;font-weight:800;border-radius:9px;
}
body.srfc-standalone .srfc-public-home button.srfc-public-register-cta span{font-size:21px;line-height:1}
@media(max-width:850px){
 body.srfc-standalone .srfc-public-home{grid-template-columns:minmax(0,1fr)}
 body.srfc-standalone .srfc-public-home .srfc-public-signin{min-height:0}
 body.srfc-standalone .srfc-public-home .srfc-public-signin-actions{margin:26px 0}
}
@media(max-width:520px){
 body.srfc-standalone .srfc-public-home .srfc-card{padding:22px 20px}
 body.srfc-standalone .srfc-public-home .srfc-card h2{font-size:26px}
 body.srfc-standalone .srfc-public-home .srfc-public-signin-actions{gap:16px}
 body.srfc-standalone .srfc-public-home a.srfc-public-signin-cta{width:100%}
}
