/* PORTAL LFF · sports identity. Barlow Condensed, SIL Open Font License. */
@font-face{font-family:LFF Display;src:url('/brand/fonts/BarlowCondensed-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--lff-navy:#0a1d25;--lff-ink:#163039;--lff-teal:#9de4c4;--lff-muted:#526b73;--lff-line:#dce7e4;--lff-bg:#f3f7f5;--mint:#9de4c4;--mint-soft:#edf9f3;--green-ink:#19543e}
body{font-family:Arial,system-ui,sans-serif;background:var(--lff-bg);color:var(--lff-ink)}
h1,h2,h3,.brand-lff strong,.stat strong,.card strong,.team-category,.team-meta b,.donut strong{font-family:'LFF Display','Arial Narrow',sans-serif!important;font-weight:700!important;letter-spacing:0!important}
h1{font-size:clamp(32px,4vw,48px)!important;line-height:1.05}h2,.page-heading h2{font-size:30px!important;line-height:1.15}h3{font-size:23px!important}.panel h2{font-size:25px!important}.brand-lff strong{font-size:26px!important;line-height:1}.brand-lff small{letter-spacing:.12em!important;font-size:9px!important}.brand-lff img{width:48px;height:48px}.brand-lff{gap:10px}.admin-label{display:block;font-family:Arial,sans-serif;font-size:14px;letter-spacing:.04em;margin-top:10px;font-weight:400}
.sidebar,body:not(.delegate) header,.brand-page-head{background-color:var(--lff-navy);background-image:repeating-linear-gradient(125deg,transparent 0 90px,#ffffff03 90px 140px);border-color:var(--mint)}
.sidebar{border-right:1px solid #274039}.club-tile{background:#142d32;border-color:#2f4849}.main-nav button{font-size:14px;min-height:44px}.main-nav button[aria-current=page]{background:var(--mint);color:var(--lff-navy);box-shadow:none;font-weight:700}.main-nav button:hover{background:#25443f;color:#fff}.main-nav button[aria-current=page]:hover{background:#b0ecd1;color:var(--lff-navy)}
.hero{background:repeating-linear-gradient(125deg,#0a1d25 0 110px,#102c32 110px 175px);border-radius:14px;padding:30px}.hero h2{font-size:clamp(32px,4vw,48px)!important;text-transform:uppercase;max-width:650px}.hero .eyebrow{color:var(--mint)}.hero p{font-size:14px;color:#d3e5dd}.hero-crest{transform:none;box-shadow:none}.hero .btn-primary,.btn-primary,.auth-page form button{background:var(--mint);border-color:var(--mint);color:var(--lff-navy);font-weight:700}.btn-primary:hover{background:#b0ecd1}.btn{min-height:42px;font-size:13px}.btn-dark{background:var(--lff-navy)}a,body:not(.delegate) a{color:var(--green-ink)}header a,body:not(.delegate) header a{color:var(--mint)}
.stat{background:linear-gradient(120deg,#fff,var(--mint-soft));border-color:var(--lff-line)}.stat strong,.card strong{font-size:46px!important;line-height:1.2}.stat small,.stat .stat-note{font-size:12px}.stat .stat-symbol{background:#dff5e9;color:var(--green-ink)}.stat.warning{background:#fffcf5}.card{background:linear-gradient(120deg,#fff,#edf9f3)!important}.donut{background:conic-gradient(var(--mint) var(--coverage),#e4eeea 0)}.donut strong{font-size:35px}.bar i{background:var(--mint)}.dot{background:#36765a}.badge{background:#e3f5e9;color:#215d41}.nav-count{background:#194c37;color:#fff}.panel{box-shadow:0 4px 20px #0a1d2504}.info-note{background:var(--mint-soft);color:#305847}.team-card .team-category{color:var(--green-ink)}
.portal-top{height:auto;min-height:100px;padding:20px 0;flex-wrap:wrap}.portal-top h1{font-size:34px!important}.top-actions{flex-wrap:wrap;gap:8px}.portal-top .powered{display:none}.page-heading p,.panel p.subtitle{font-size:13px}.name-cell b,table.roster td{font-size:13px}.name-cell small,table.roster th{font-size:11px}.badge{font-size:11px}.pending-row b,.pending-row small{font-size:12px}.doc-tile{font-size:14px}.dialog-header{background:var(--lff-navy);border-bottom:3px solid var(--mint)}.dialog-content h2{font-size:32px!important}.dialog-content h3{font-size:25px}.dialog-content p{font-size:14px}.dialog-footer{align-items:center;gap:12px}.upload-fields{background:var(--mint-soft)}.upload-fields input::file-selector-button{background:var(--mint);color:var(--lff-navy)}.request-form label{font-size:14px}.filter-row input,.filter-row select{font-size:14px;min-height:44px}.brand-signature{gap:8px;z-index:8}.brand-signature img{width:100px;height:auto;display:block}.operia-logo{width:100px;height:auto;vertical-align:middle}.sidebar-bottom .operia-logo{background:white;padding:5px;border-radius:5px;width:120px;margin-top:8px}.portal-footer{align-items:center}.powered{display:inline-flex;gap:8px;align-items:center}.brand-page-head .powered{background:white;padding:7px 10px;border-radius:6px;color:#34524b!important}
.auth-page{min-height:100vh;background:repeating-linear-gradient(125deg,#0a1d25 0 160px,#102b31 160px 240px)}.auth-page main{width:calc(100% - 32px);max-width:500px;margin:40px auto 85px;padding:32px;border:1px solid #dae9e1;border-top:5px solid var(--mint);box-shadow:0 18px 60px #0003}.auth-page main h1{margin-top:0}.auth-page main p{font-size:15px;line-height:1.6}.auth-page label{font-size:14px;font-weight:600}.auth-page input{background:#f7faf8;border-color:#bccfc5;min-height:46px}.auth-page input[type=checkbox]{min-height:0;accent-color:#225c43}.auth-page button{min-height:46px}.auth-page #logout{background:white;color:var(--green-ink)}.auth-page #message{color:#a52c33}.auth-page header{display:flex;align-items:center;justify-content:space-between;gap:20px}.auth-page small{color:#526b63}
.admin-page header{align-items:center}.admin-page header nav{max-width:640px;line-height:2}.admin-page header button{background:var(--mint);color:var(--lff-navy);font-weight:700}.admin-page section{border-top:3px solid #d7eee2}.admin-page section h2{margin-top:0}.admin-page summary{font-family:'LFF Display',sans-serif;font-size:25px}.admin-page button{min-height:42px}.admin-page th{background:var(--mint-soft)}.admin-page tbody tr:hover{background:#f5faf7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2c7b56;outline-offset:3px}
@media(max-width:700px){.portal-top h1{font-size:30px!important}.portal-top{gap:12px;padding:16px 0}.top-actions{width:100%}.hero h2{font-size:32px!important}.hero p{font-size:13px}.hero .btn{font-size:12px}.hero-crest{width:58px}.sidebar .brand-lff strong{font-size:25px!important}.sidebar .brand-lff small{font-size:8px!important}.main-nav{padding-top:5px}.main-nav button{font-size:12px;min-height:44px}.stat strong{font-size:40px!important}.panel{padding:18px}.panel h2{font-size:25px!important}.brand-page-head .powered{display:none}.auth-page main{padding:24px;margin-top:24px}.auth-page header{padding:20px}.admin-page header{padding:20px}.admin-page header>div{align-items:flex-start!important}.admin-page header h1{font-size:36px!important}.admin-page header nav{font-size:13px;width:100%}.admin-page header select{max-width:100%}.admin-page .controls>*{max-width:100%}.admin-page main{padding:16px 12px 80px}.admin-page section{padding:16px}.dialog-footer{flex-wrap:wrap}.portal-footer{padding-bottom:18px}.sidebar-bottom{display:none}}

/* Administrator workspace shares the delegate's mint sports identity. */
.admin-sidebar{position:fixed;inset:0 auto 0 0;width:250px;z-index:9;padding:28px 18px;background:repeating-linear-gradient(125deg,#0a1d25 0 130px,#102b31 130px 210px);color:white;display:flex;flex-direction:column;overflow-y:auto}.admin-sidebar .brand-lff,.admin-sidebar a{color:white!important}.admin-role{margin:28px 8px 20px;font-size:10px;letter-spacing:.14em;color:#9de4c4}.admin-role b{display:block;font-size:13px;letter-spacing:0;color:#d5e8df;margin-top:8px}.admin-sidebar nav{display:flex;flex-direction:column;gap:5px}.admin-sidebar nav a{padding:12px;border-radius:8px;text-decoration:none;font-size:13px;min-height:44px}.admin-sidebar nav a:hover,.admin-sidebar nav a:focus-visible{background:#9de4c4;color:#0a1d25!important}.admin-sidebar nav a[aria-current="page"]{background:#9de4c4;color:#0a1d25!important;font-weight:700}.admin-sidebar nav small{display:inline-block;font-size:9px;background:#25483c;padding:2px 5px;border-radius:4px;color:#c6f1de}.admin-brand-footer{margin-top:auto;padding:26px 10px 0;color:#c4d9d0;font-size:11px}.admin-brand-footer img{display:block;width:120px;background:white;border-radius:5px;padding:6px;margin-top:8px}.admin-shell>header{margin-left:250px;background:#f3f7f5!important;color:#163039;border-bottom:1px solid #dce7e4!important;padding:24px 32px}.admin-shell>header>div>img{display:none}.admin-shell>header small{color:#526b73}.admin-shell>header h1{font-size:34px!important}.admin-shell>header .admin-label{display:inline;margin-left:10px}.admin-shell>header a{color:#19543e!important}.admin-shell>header nav{font-size:12px;max-width:600px}.admin-shell>main{margin-left:250px;max-width:none;padding:26px 32px 80px}.admin-welcome{padding:30px 34px;border-radius:14px;background:repeating-linear-gradient(125deg,#0a1d25 0 130px,#102b31 130px 200px);color:white}.admin-welcome>span{font-size:10px;letter-spacing:.18em;color:#9de4c4}.admin-welcome h2{font-size:42px!important;margin:12px 0;line-height:1.08}.admin-welcome p{color:#d0e2d9;font-size:14px}.admin-welcome a{display:inline-block;background:#9de4c4;color:#0a1d25!important;padding:10px 18px;border-radius:8px;text-decoration:none;font-weight:700;margin-top:8px}.admin-shell .registration-banner{background:#edf9f3;border-color:#cce5d8}.registration-banner h2{font-size:24px!important}.registration-banner p{font-size:13px}.admin-shell section{scroll-margin-top:20px}.admin-shell .cards{gap:12px}.admin-shell .card{padding:20px 16px}.admin-shell .controls input{flex:1;min-width:180px}.admin-shell table th{font-size:11px;letter-spacing:.04em}.admin-shell #accountSettings summary{padding:4px 0}.admin-shell .brand-signature{display:none}
@media(max-width:1050px){.admin-sidebar{width:215px;padding:22px 12px}.admin-shell>header,.admin-shell>main{margin-left:215px;padding-left:22px;padding-right:22px}.admin-sidebar .brand-lff strong{font-size:23px!important}.admin-sidebar .brand-lff img{width:40px;height:40px}}
@media(max-width:700px){.admin-sidebar{position:static;width:auto;padding:18px 16px 10px;display:block}.admin-role,.admin-brand-footer{display:none}.admin-sidebar nav{flex-direction:row;overflow-x:auto;margin-top:14px;gap:6px}.admin-sidebar nav a{white-space:nowrap;font-size:12px;padding:11px}.admin-sidebar nav small{display:none}.admin-shell>header,.admin-shell>main{margin-left:0;padding:18px 16px}.admin-shell>main{padding-bottom:60px}.admin-shell>header h1{font-size:28px!important}.admin-shell>header>div small{display:none}.admin-shell>header nav{line-height:2.5}.admin-welcome{padding:24px}.admin-welcome h2{font-size:34px!important}.admin-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .card:last-child{grid-column:1/-1}.admin-shell .card strong{font-size:40px!important}}

/* Visual league overview */
.admin-shell .admin-welcome{padding:24px 28px}.admin-shell .admin-welcome h2{font-size:36px;line-height:1;margin:10px 0}.admin-shell .registration-banner{padding:14px 20px}.admin-shell .registration-banner h2{font-size:22px;margin:0}.admin-shell .registration-banner p{font-size:13px;margin:6px 0}.league-charts{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,2fr);gap:20px}.league-charts section{margin:0;padding:24px}.completion-chart{text-align:center}.donut{width:160px;height:160px;margin:20px auto;border-radius:50%;background:conic-gradient(#9de4c4 var(--progress),#e4eaed 0);display:grid;place-items:center}.donut>div{width:126px;height:126px;border-radius:50%;background:white;display:flex;flex-direction:column;justify-content:center}.donut strong{font:48px 'Barlow Condensed',sans-serif;color:#0a1d25}.donut span{font-size:12px}.chart-legend{display:flex;justify-content:center;gap:16px;font-size:12px;margin-bottom:16px}.completion-chart>small,.category-chart>small{display:block;color:#60737b;font-size:12px;margin-top:14px}.category-bars{display:grid;gap:8px}.category-bar{display:grid!important;grid-template-columns:46px 1fr 40px;align-items:center;gap:10px;width:100%;border:1px solid transparent!important;padding:8px!important;background:transparent!important;text-align:left}.category-bar[aria-pressed=true],.category-bar:hover{border-color:#519f80!important;background:#eefaf4!important}.bar-track{height:18px;background:#f0f4f5;border-radius:5px;overflow:hidden}.bar-track>span{display:block;height:100%;background:#cbd5da;border-radius:5px;overflow:hidden}.bar-track i{display:block;height:100%;background:#9de4c4}.club-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px;margin:20px 0}.admin-shell .club-tile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 14px!important;border:1px solid #dde6e8!important;border-radius:16px!important;background:white!important;gap:10px;transition:box-shadow .15s}.admin-shell .club-tile:hover,.admin-shell .club-tile:focus-visible{box-shadow:0 0 0 3px #9de4c4}.club-tile img{width:58px;height:58px;object-fit:contain}.club-tile-name{font-weight:750;min-height:40px;font-size:14px}.club-total{font-size:28px;font-weight:750}.club-total small{font-size:12px;font-weight:400}.club-progress{height:6px;width:100%;background:#e4eaed;border-radius:5px;overflow:hidden}.club-progress i{display:block;height:100%;background:#74cba4}.club-caption{font-size:11px;color:#526a75}.admin-shell details>summary{cursor:pointer;padding:10px 0}.admin-shell .cards .card{border-top:4px solid #9de4c4}@media(max-width:720px){.league-charts{grid-template-columns:1fr}.club-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .admin-welcome h2{font-size:30px}.league-charts section{padding:16px}}

/* Consistent visual treatment across administration */
.admin-shell section>h2{border-left:5px solid #9de4c4;padding-left:12px}.admin-shell #teamSection .wrap{overflow:visible}.admin-shell #teamSection table,.admin-shell #teamSection tbody{display:block;white-space:normal}.admin-shell #teamSection thead{display:none}.admin-shell #teamSection tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:14px}.admin-shell #teamSection tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce7e4;border-radius:14px;padding:14px;background:linear-gradient(135deg,#f0faf5,white 65%)}.admin-shell #teamSection td{border:0;padding:6px;font-size:14px}.admin-shell #teamSection td:nth-child(-n+2){grid-column:1/-1}.admin-shell #teamSection td:nth-child(3){grid-column:1/-1;font-weight:750;color:#236f55}.admin-shell #teamSection td:nth-child(4):before{content:'Jugadores';display:block;font-size:11px;color:#60737b}.admin-shell #teamSection td:nth-child(5):before{content:'Completos';display:block;font-size:11px;color:#60737b}.row-crest{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:10px}.admin-shell #players td{vertical-align:middle}.admin-shell #players tr:nth-child(even){background:#f6faf8}.admin-shell #players tr:hover{background:#e8f7ef}.admin-shell #rosterPager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;font-size:13px}.admin-shell button:disabled{opacity:.45;cursor:default}.admin-shell #detail{border:2px solid #9de4c4;display:flex;flex-wrap:wrap;gap:12px;align-items:start}.admin-shell #detail[hidden]{display:none}.admin-shell #detail>h2,.admin-shell #detail>h3,.admin-shell #detail>p,.admin-shell #detail>small,.admin-shell #detail>div{flex-basis:100%;margin:4px 0}.admin-shell .document-tile{flex:1 1 210px;background:#f4f9f7;border:1px solid #dce7e4;border-radius:12px;padding:16px;min-height:155px;display:flex;flex-direction:column;gap:12px}.document-tile .badge{align-self:start}.document-tile div{font-size:13px}.admin-shell #replaceDocuments,.admin-shell #detail>div{padding:16px;border-top:1px solid #dce7e4}.admin-shell dialog{box-shadow:0 24px 100px #0a1d2540;border-top:6px solid #9de4c4!important}.admin-shell dialog::backdrop{background:#0a1d2599}.admin-shell dialog h2{font-size:30px}.admin-shell #requestList{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.request-card{padding:20px;border:1px solid #dce7e4;border-top:4px solid #e5b75e;border-radius:14px;background:#fbfdfc;overflow-wrap:anywhere}.request-card[data-status=resolved]{border-top-color:#74cba4}.request-card[data-status=in_review]{border-top-color:#83b3d2}.request-card h3{font-size:20px!important}.admin-shell #accountRows td{white-space:normal;vertical-align:middle}.admin-shell #accountRows td:first-child{min-width:180px}.admin-shell #accountRows td:last-child{min-width:210px}.admin-shell #accountRows button{margin:4px;font-size:13px}.admin-shell #accountRows tr:nth-child(even){background:#f2f8f5}.admin-shell #accountCount{padding:16px;background:#0a1d25;color:#9de4c4;border-radius:12px;font-weight:700}.admin-shell #createAccount{display:flex;gap:14px;flex-wrap:wrap;padding:20px 0}.admin-shell #createAccount label{display:grid;gap:8px;flex:1;min-width:180px}.admin-shell #accountManagementContent>button{margin:5px}.registration-workspace .row{border:1px solid #dce7e4;border-left:5px solid #9de4c4;border-radius:12px;margin:12px 0;padding:18px;background:#f8fcfa}.registration-workspace .tabs{position:sticky;top:0;background:#f1f6f3;z-index:2}.registration-workspace .tabs button{border-radius:24px}.registration-workspace section{box-shadow:0 6px 20px #0a1d2506}.registration-workspace form{padding:18px;background:#edf7f1;border-radius:12px}.registration-workspace h2{border-left:5px solid #9de4c4;padding-left:12px}@media(max-width:600px){.admin-shell #rosterPager{flex-wrap:wrap}.admin-shell #requestList{grid-template-columns:1fr}.admin-shell #teamSection tbody{grid-template-columns:1fr}.admin-shell #detail{padding:16px}.admin-shell .document-tile{flex-basis:100%}}

/* Delegate visual workspace: presentation only, existing scoped actions */
.delegate .page-heading{padding:20px 24px;border-left:5px solid #9de4c4;background:white;border-radius:14px;margin-bottom:20px}.delegate .page-heading h2{margin:0 0 8px}.delegate .team-card{position:relative;border-top:4px solid #9de4c4}.delegate .team-crest{width:62px;height:62px;object-fit:contain;margin-bottom:16px}.delegate .team-category{font-size:58px}.delegate .category-link{width:100%;background:transparent;border:1px solid transparent;border-radius:8px;text-align:left;cursor:pointer;padding:12px 8px;color:inherit;font:inherit}.delegate .category-link:hover,.delegate .category-link:focus-visible{background:#edf9f2;border-color:#9de4c4}.delegate .table-wrap{overflow:visible}.delegate .roster{display:block;white-space:normal}.delegate .roster thead{display:none}.delegate #rosterRows{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:12px}.delegate .roster tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:white;border:1px solid #dae6e1;border-radius:16px;padding:18px;box-shadow:0 4px 14px #0a1d2505}.delegate .roster td{padding:0;border:0;white-space:normal}.delegate .roster td:first-child,.delegate .roster td:nth-child(4),.delegate .roster td:last-child{grid-column:1/-1}.delegate .roster td:first-child{padding-bottom:12px}.delegate .roster .name-cell{align-items:flex-start}.delegate .roster .name-cell b{font-size:15px;line-height:1.4}.delegate .roster .name-cell small{overflow-wrap:anywhere;font-size:10px}.delegate .roster .optional{display:block!important;text-align:right}.delegate .shirt-label{font-size:11px;color:#617780}.delegate .roster td:last-child .btn{width:100%;margin-top:10px}.delegate .avatar{background:#e4f7ed;color:#17553c;flex-shrink:0}.delegate .delegate-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;font-size:13px}.delegate button:disabled{opacity:.45;cursor:default}.delegate .doc-summary{display:flex;flex-wrap:wrap;gap:12px}.delegate .doc-chip{border:1px solid #dce7e4;border-left:4px solid #9de4c4;border-radius:12px;background:white;padding:16px}.delegate .doc-tile{border-top:4px solid #9de4c4;background:#f5fbf8;gap:12px}.delegate .doc-tile.missing{border-top-color:#e3b461;background:#fffaf0}.delegate #uploadSection,.delegate #credentialSection{border:1px solid #dce7e4;padding:20px;border-radius:14px;margin:20px 0}.delegate .upload-fields label{padding:16px;background:#edf7f1;border-radius:12px}.delegate .request-item{padding:20px;margin:16px 0;border:1px solid #dae6e1;border-left:5px solid #e3b461;border-radius:12px;background:#fbfdfc}.delegate .request-resolved{border-left-color:#74cba4}.delegate .request-in_review{border-left-color:#83b3d2}.delegate .account-identity{border-top:5px solid #9de4c4}.delegate .account-line{padding:14px;border-radius:8px;margin:8px 0;background:#f2f8f5}.delegate .permission-list li{padding:12px;border-bottom:1px solid #e5ede8}.delegate .guide-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.delegate .step-number{font:40px 'Barlow Condensed',sans-serif;color:#31795a}.delegate .guide-steps h3{margin:10px 0}.delegate .guide-steps p{font-size:14px;line-height:1.6;color:#526b73}.delegate .player-dialog{border-top:6px solid #9de4c4}.delegate .filter-row{padding:16px;background:#edf6f1;border-radius:14px}.delegate .empty{grid-column:1/-1}@media(max-width:900px){.delegate .guide-steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.delegate #rosterRows{grid-template-columns:1fr;padding:8px}.delegate .guide-steps{grid-template-columns:1fr}.delegate .delegate-pager{padding:12px 4px}.delegate .page-heading{padding:16px}.delegate .doc-chip{flex:1 1 180px}}

#monitorEvents{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin-top:20px}#monitorBadge{color:#9de4c4}#monitorSection{scroll-margin-top:24px}

#monitorEvents{display:block}.monitor-row{border-bottom:1px solid #dce7e4;padding:10px 0}.monitor-row summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer;font-size:13px}.monitor-row summary b{flex:1;min-width:160px}.monitor-row p{margin:12px 0}.admin-shell #requestList{display:flex;flex-direction:column;gap:8px}.admin-shell #requestList .request-card{padding:12px 16px;border-top-width:1px;border-left:4px solid #9de4c4}.admin-shell #requestList h3{display:inline;margin:0 12px;font-size:17px!important}.admin-shell #requestList details summary{cursor:pointer;font-weight:600}.admin-shell #requestList p{margin:8px 0}

/* Club directory cards must remain in their grid on every viewport. */
.admin-shell .club-grid>.club-tile{position:static;inset:auto;min-width:0;width:100%;margin:0;box-sizing:border-box}.admin-shell .club-tile-name{overflow-wrap:anywhere}.admin-shell .club-grid>.club-tile img{width:58px;height:58px}
@media(max-width:700px){.delegate .sidebar>.club-tile{position:static;inset:auto;display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:8px;border:1px solid #2f4849;border-radius:8px}.delegate .sidebar>.club-tile div{display:block;min-width:0}.delegate .sidebar>.club-tile b{overflow-wrap:anywhere}.delegate .portal-top{height:auto;min-height:75px;flex-wrap:wrap;gap:12px;padding:16px 0}.delegate .top-actions{flex-wrap:wrap}.admin-shell>header nav{line-height:1.7;width:100%;min-width:0}.admin-shell>header nav p{line-height:1.5}.admin-shell>header>div{min-width:0;flex-wrap:wrap}.admin-shell>header select{max-width:100%}.admin-shell>header .admin-label{display:block;margin:4px 0;font-size:18px}.admin-shell .club-grid{gap:10px}.admin-shell .club-grid>.club-tile{padding:14px 10px!important}.admin-shell .admin-welcome h2{font-size:32px!important}}

/* Delegate mobile layout: keep content within its panel and dialog. */
.delegate .portal-main,.delegate #view,.delegate .hero>div,.delegate .section-head>div,.delegate .name-cell>div,.delegate .pending-row>div{min-width:0}
.delegate .donut{width:132px;height:132px;margin:0;background:conic-gradient(#9de4c4 var(--coverage),#e4eaed 0)}
.delegate .donut>div{width:104px;height:104px}
.delegate .player-dialog{max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}
.delegate:has(.player-dialog[open]){overflow:hidden}
.delegate .dialog-content{overflow-wrap:anywhere}
.delegate .dialog-content iframe{display:block;max-width:100%;height:55dvh}
.delegate .preview-image{height:auto;object-fit:contain}
@media(max-width:700px){
 .delegate .main-nav{scrollbar-width:thin;scrollbar-color:#9de4c4 #102b31}
 .delegate .main-nav button{flex-shrink:0}
 .delegate .section-head,.delegate .progress-wrap,.delegate .delegate-pager{flex-wrap:wrap}
 .delegate .section-head>.btn{flex-shrink:0}
 .delegate .progress-wrap{justify-content:center;gap:16px}
 .delegate .legend{flex:1 1 110px;min-width:0}
 .delegate .pending-row{flex-wrap:wrap}.delegate .pending-row>div{flex:1 1 120px}
 .delegate .filter-row input,.delegate .filter-row select{min-width:0;width:100%;flex:1 1 100%;font-size:16px}
 .delegate .request-form select,.delegate .request-form textarea,.delegate .upload-fields input{font-size:16px}
 .delegate .btn{min-height:44px;white-space:normal;max-width:100%}
 .delegate .hero{flex-wrap:wrap}.delegate .hero>div{flex:1 1 170px}
 .delegate .player-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .delegate .dialog-header{padding:12px;gap:8px;font-size:11px}.delegate .dialog-header>span{min-width:0;overflow-wrap:anywhere}.delegate .dialog-header .btn{flex-shrink:0}
 .delegate .dialog-content{padding:14px}.delegate .doc-grid{grid-template-columns:minmax(0,1fr)}
 .delegate #uploadSection,.delegate #credentialSection{padding:12px}
 .delegate .upload-fields{padding:8px}.delegate .upload-fields label{padding:8px}
 .delegate .upload-fields input{padding:8px;font-size:12px}
 .delegate .upload-fields input::file-selector-button{max-width:100%;white-space:normal}
 .delegate .request-item,.delegate .account-line,.delegate .team-card{overflow-wrap:anywhere}
 .delegate .brand-signature{position:static;width:fit-content;margin:0 16px 16px auto}
}
.delegate .dialog-content #document,.delegate .dialog-content #uploadSection,.delegate .dialog-content #credentialSection{scroll-margin-top:100px}
@media(max-width:700px){.delegate .portal-footer>span{display:block;margin-top:8px}}

/* Compact administrator requests and mobile panels. */
.admin-shell .request-card>small{display:block;margin-top:8px}
.admin-shell .request-card textarea{width:100%;min-height:100px;display:block;margin:12px 0;padding:12px;border:1px solid #d8e4e9;border-radius:8px;font:inherit}
.admin-shell #monitorSummary a{display:block;font-size:13px;margin-top:12px}
.admin-shell dialog{max-height:calc(100dvh - 24px)!important;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
.admin-shell:has(dialog[open]){overflow:hidden}
@media(max-width:700px){
 .admin-shell main,.admin-shell section,.admin-shell .controls>*{min-width:0}
 .admin-shell section,.admin-shell .card,.admin-shell footer{overflow-wrap:anywhere}
 .admin-shell .controls{gap:8px}.admin-shell .controls>*{max-width:100%}
 .admin-shell input,.admin-shell select,.admin-shell textarea{font-size:16px;min-width:0;max-width:100%}
 .admin-shell button{min-height:44px;white-space:normal;max-width:100%}
 .admin-shell .controls input,.admin-shell .controls select{width:100%;flex:1 1 100%}
 .admin-shell #monitorSummary{grid-template-columns:minmax(0,1fr)}
 .admin-shell .monitor-row summary{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
 .admin-shell .monitor-row summary b{min-width:0}.admin-shell .monitor-row .badge{justify-self:start}
 .admin-shell .request-controls>*{width:100%}.admin-shell #requestList h3{display:block;margin:10px 0}
 .admin-shell #playerSection table,.admin-shell #players,.admin-shell #accountManagement table,.admin-shell #accountRows{display:block;white-space:normal}
 .admin-shell #playerSection thead,.admin-shell #accountManagement thead{display:none}
 .admin-shell #players tr,.admin-shell #accountRows tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px;border:1px solid #dce7e4;border-radius:12px;margin:12px 0}
 .admin-shell #players td,.admin-shell #accountRows td{padding:8px 0;min-width:0!important;overflow-wrap:anywhere;white-space:normal}
 .admin-shell #players td:nth-child(3):before{content:'Categoría: ';font-weight:700}.admin-shell #players td:nth-child(4):before{content:'Playera: ';font-weight:700}
 .admin-shell #players td:nth-child(6):before{content:'Estado deportivo: ';font-weight:700}
 .admin-shell #accountRows td:nth-child(2):before{content:'Usuario: ';font-weight:700}.admin-shell #accountRows td:nth-child(3):before{content:'Estado: ';font-weight:700}
 .admin-shell #accountRows button{margin:4px 4px 4px 0}.admin-shell #createAccount{padding:12px 0}.admin-shell #createAccount label{min-width:0;flex-basis:100%}
 .admin-shell dialog{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;padding:16px!important}
 .admin-shell #editPlayerForm>div:first-child{grid-template-columns:minmax(0,1fr)!important}
 .admin-shell dialog .controls{position:sticky;bottom:-16px;background:white;padding:12px 0;border-top:1px solid #dce7e4}
 .admin-shell dialog .controls button{flex:1 1 100%}
 .admin-shell #detail>section{min-width:0;width:100%}
 .registration-workspace .tabs{position:static;display:flex;overflow-x:auto;max-width:100%}.registration-workspace .tabs button{flex-shrink:0}
}
@media(max-width:700px){.admin-shell>header #previewClub{display:block;width:100%;margin:10px 0}.admin-shell>header #enterDelegate{display:inline-block;margin:4px 0 12px}.admin-sidebar nav{scrollbar-width:thin;scrollbar-color:#9de4c4 #102b31}.registration-workspace form label,.registration-workspace .row>div{min-width:0}.registration-workspace section{overflow-wrap:anywhere}}
@media(max-width:360px){.admin-shell .club-grid{grid-template-columns:minmax(0,1fr)}}

.admin-shell #monitorSummary a.monitor-shortcut{display:block;margin-top:0;font-size:inherit;color:inherit;text-decoration:none;cursor:pointer;transition:box-shadow .15s,border-color .15s}
.admin-shell #monitorSummary a.monitor-shortcut span{display:block;font-size:13px;margin-top:12px;color:#176b57;font-weight:700}
.admin-shell #monitorSummary a.monitor-shortcut:hover{border-color:#5bbd9b;box-shadow:0 4px 14px #143e3420}
.admin-shell #monitorSummary a.monitor-shortcut:focus-visible{outline:3px solid #176b57;outline-offset:3px}

#playerBajaForm{display:grid;gap:16px}#playerBajaForm label{display:block;overflow-wrap:anywhere}#playerBajaForm input:not([type=checkbox]),#playerBajaForm select,#playerBajaForm textarea{display:block;width:100%;box-sizing:border-box;font:inherit;padding:12px;margin-top:8px}#playerBajaForm textarea{min-height:100px}
#playerBajaForm p{margin:4px 0;line-height:1.45}#playerBajaForm .controls{position:sticky;bottom:0;background:#fff;padding:10px 0;margin:0}
