/* coach-onboarding.css */
.ccl-verify-help{margin:.8rem 0;padding:.75rem;border:1px solid rgba(204,181,122,.22);border-radius:10px}.ccl-verify-help button{width:100%}.ccl-onboarding{margin:1rem 0;padding:1.2rem;border:1px solid rgba(206,179,106,.35);border-radius:12px;background:rgba(19,29,24,.7)}.ccl-onboarding ol{margin:.7rem 0;padding-left:1.35rem}.ccl-onboarding li{margin:.5rem 0}.ccl-onboarding .done{opacity:.7}.ccl-onboarding .done:before{content:'✓ ';color:#92ca9b}.ccl-onboarding .actions{display:flex;gap:.6rem;flex-wrap:wrap}.ccl-onboarding button{padding:.65rem 1rem}.ccl-coach-directory-search{width:100%;max-width:24rem;margin:.45rem 0 1rem}.ccl-coach-access-actions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.ccl-coach-access-status{min-width:110px}
/* Compact dashboard league tools — membership logic continues to live in app.js. */
.ccl-dashboard-league-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1rem;margin:.65rem 0 1.1rem;}
.ccl-dashboard-league-tools #cclActiveLeagueWrap{margin:0!important;padding:0!important;flex:0 1 auto;min-width:0;}
.ccl-dashboard-league-tools #cclActiveLeagueWrap>div:first-child{gap:.65rem!important;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure{margin:0;padding:0;border:0;background:transparent;min-width:0;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure>summary{display:inline-flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-height:42px;padding:.65rem 1rem;background:transparent;color:#f0e1bd;border:1px solid #60705c;border-radius:3px;font-weight:700;font-size:.78rem;font-family:inherit;text-transform:uppercase;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure>summary::-webkit-details-marker{display:none;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure>summary:hover,.ccl-dashboard-league-tools .ccl-join-league-disclosure>summary:focus-visible{border-color:#d3a963;color:#ffd48b;outline-offset:3px;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure[open]{flex:1 0 100%;margin-top:.25rem;}
.ccl-dashboard-league-tools .ccl-join-league-disclosure[open]>summary{margin-bottom:.75rem;}
.ccl-dashboard-league-tools #joinArea{width:100%;padding:1rem;border:1px solid rgba(206,179,106,.32);border-radius:9px;background:rgba(19,29,24,.6);}
.ccl-dashboard-league-tools #joinArea[hidden]{display:none;}
@media(max-width:560px){.ccl-dashboard-league-tools{align-items:stretch}.ccl-dashboard-league-tools #cclActiveLeagueWrap{flex:1 0 100%;}.ccl-dashboard-league-tools .ccl-join-league-disclosure{flex:1 0 auto;}}

/* v1.1: keep beginner setup available without occupying the Coach HQ dashboard. */
.ccl-onboarding{padding:0;margin:.55rem 0;border-radius:10px}
.ccl-onboarding-details>summary{list-style:none;cursor:pointer;min-height:46px;display:flex;align-items:center;padding:10px 15px;color:#e9cd92;font-weight:850;letter-spacing:.04em}
.ccl-onboarding-details>summary::-webkit-details-marker{display:none}
.ccl-onboarding-details>summary:after{content:'+';margin-left:auto;font-size:20px}
.ccl-onboarding-details[open]>summary:after{content:'−'}
.ccl-onboarding-content{padding:0 15px 17px}
.ccl-onboarding-details>summary:focus-visible{outline:2px solid #e9cd92;outline-offset:2px}


/* portal-nav.css */
/* CCL v1.1: scoped navigation upgrade; existing controls and element IDs unchanged */
#portal .portal-layout{grid-template-columns:minmax(0,1fr)}#portal .portal-layout>.sidebar{display:none}#portal .portal-layout>.panel{min-width:0}#portal .content{max-width:1250px}
.ccl-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:24px;margin-top:20px}.ccl-section-sidebar{background:#151c17;border:1px solid #394438;align-self:start;position:sticky;top:14px;padding:10px}.ccl-section-nav{display:flex;flex-direction:column;gap:4px}.ccl-nav-link{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:#bfc8b9;border:0;padding:13px 12px;border-radius:5px;font-size:13px;font-weight:700}.ccl-nav-link:hover,.ccl-nav-link.selected{background:#35402f;color:#edcd8e}.ccl-nav-link.selected{box-shadow:inset 3px 0 #d1a65b}.ccl-nav-icon{font-size:19px;width:23px;display:inline-block;text-align:center}.ccl-section-main,.ccl-view{min-width:0}.ccl-view[hidden],.ccl-nav-link[hidden]{display:none!important}.ccl-view-heading{border-bottom:1px solid #435040;margin-bottom:24px;padding-bottom:12px}.ccl-view-heading h3{font-size:34px;margin:0}.ccl-view-heading p{margin:4px 0 0}.ccl-view>.panel,.ccl-view>.roster-manager{margin-top:16px}.ccl-view .panel{max-width:100%}.ccl-dashboard-hero{background:linear-gradient(135deg,#303825,#18231b);padding:28px;border:1px solid #5c6044}.ccl-dashboard-hero h2{font-size:clamp(37px,5vw,64px);margin:14px 0}.ccl-dashboard-hero h2 em{color:#dfb56b;font-style:normal}.ccl-dashboard-hero p{color:#bec6b7}.ccl-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.ccl-quick-card{background:#242f25;border:1px solid #445040;color:#ebe5d5;padding:20px;display:flex;flex-direction:column;align-items:start;text-align:left;gap:12px;min-height:155px}.ccl-quick-card:hover{border-color:#dfb56b}.ccl-quick-card b{font-size:17px}.ccl-quick-card small{color:#aab8a9;line-height:1.5}.ccl-quick-card span{font-size:11px;font-weight:800;color:#eac47d;margin-top:auto}.ccl-external-link{display:inline-block;margin-top:16px}#ccl-section-menu{display:none}#myTeamsPanel{min-width:0}#portal .panel{overflow-wrap:anywhere}
@media(max-width:850px){.ccl-workspace{display:block}.ccl-section-sidebar{display:none}#ccl-section-menu{display:block;background:#202b22;border:1px solid #596648;margin:8px 0 18px}#ccl-section-menu>summary{padding:16px;cursor:pointer;color:#f0cd8a;font-weight:800}#ccl-section-menu .ccl-section-nav{padding:6px 10px 12px;border-top:1px solid #465140}.ccl-quick-grid{grid-template-columns:1fr}.ccl-quick-card{min-height:114px}.ccl-view-heading h3{font-size:28px}#portal .portal-layout>.panel{padding:16px}}

/* Recruitment Office occupies a dedicated workspace, not the landing page. */
.ccl-recruitment-directory{padding:0!important;max-width:none!important;margin:14px 0!important;}
.ccl-recruitment-directory .roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr));gap:12px;}
.ccl-recruitment-directory .section-heading{margin-bottom:16px;}
.ccl-recruitment-directory .roster-card{min-width:0;}
#ccl-view-recruitment .ccl-recruitment-register{margin:12px 0 22px;}

/* v1.2 Post-Match Office */
.ccl-postmatch-card{margin:14px 0;padding:18px!important}.ccl-postmatch-card h4{margin:0 0 5px;font-size:20px}.ccl-postmatch-card h5{margin:14px 0 8px}.ccl-winnings-preview{margin:15px 0;border:1px solid #596648;padding:12px}.ccl-winnings-preview summary{cursor:pointer;font-weight:700;color:#f0cd8a}.ccl-winning-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:15px 0}.ccl-winning-inputs label{display:flex;flex-direction:column;gap:7px}.ccl-winning-inputs input,.ccl-winning-inputs select{width:100%;min-width:0}.ccl-winning-result{font-weight:800;color:#e9c784}.ccl-postmatch-rules{margin-top:22px;padding:14px;border:1px solid #435040}.ccl-postmatch-rules summary{cursor:pointer}

/* v1.9.30–32 · Lean coach-facing team management */
.ccl-team-home-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0 18px}
.ccl-team-home-bar h3{margin:0}.ccl-team-home-bar p{margin:3px 0 0}
#ccl-team-home .application-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
#ccl-team-home .application-item{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px;background:#202b22;border:1px solid #46523c}
#ccl-team-home .application-item .application-actions{display:flex;gap:8px;flex-wrap:wrap}
#ccl-team-home .application-item strong{font-size:19px;display:block}
#ccl-team-creation{margin:18px 0}#ccl-team-creation .ccl-compact-templates{display:none!important}
#ccl-view-teams .roster-manager{padding:0;border:0;background:transparent}
#ccl-hire-first{border-color:#c6a062;margin:18px 0 22px;padding:20px}
#ccl-hire-first h3{margin-top:0;font-size:25px}
#ccl-hire-first form{display:grid;grid-template-columns:minmax(180px,1fr) 120px;align-items:end;gap:10px}
#ccl-hire-first form label{grid-column:1 / -1;margin:0}
#ccl-hire-first form select{grid-column:1}
#ccl-hire-first form input{grid-column:2}
#ccl-hire-first form button,#ccl-hire-first form .hint{grid-column:1/-1}
.ccl-players-heading{margin:22px 0 12px}
#ccl-player-detail{border-color:#b59a62;margin:18px 0;padding:20px}
#ccl-player-detail #advancementPanel{margin:16px 0 0}
#ccl-player-detail #advancePlayer{display:none}
#ccl-player-detail label[for="advancePlayer"]{display:none}
.ccl-secondary-controls{margin:14px 0;border:1px solid #455443;padding:12px 16px}
.ccl-secondary-controls>summary{cursor:pointer;color:#e9c47f;font-weight:700}
.ccl-secondary-controls>.panel{margin-top:12px}
#ccl-view-statistics .application-item .hint{margin:2px 0}
#ccl-view-statistics #careerSummary{font-weight:700;color:#eed195;line-height:1.8;padding:12px;background:#202b22}
@media(max-width:640px){#ccl-hire-first form{grid-template-columns:1fr}#ccl-hire-first form select,#ccl-hire-first form input{grid-column:1}}

/* Hall v1.9.37: compact coach portal cards */
.ccl-hall-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:20px 0}
.ccl-hall-card{border:1px solid #536348;border-radius:10px;background:#1a251c;padding:16px;min-width:0;align-self:start}
.ccl-hall-card h4{margin:0 0 16px;font-size:18px;color:#ecca8a}
.ccl-hall-record-list{display:grid;gap:8px}
.ccl-hall-record-list .application-item{margin:0;overflow-wrap:anywhere}
.ccl-hall-record-list .ccl-hall-extra[hidden]{display:none!important}
.ccl-hall-expand{width:100%;margin-top:14px}
@media(max-width:700px){.ccl-hall-cards{grid-template-columns:1fr}}

/* CCL v1.9.130 — condensed, readable career-record search tools */
#ccl-view-statistics #careerPanel{border:1px solid #53634c;border-radius:12px;background:linear-gradient(160deg,#1c281f,#142018);overflow:hidden}
#ccl-view-statistics #careerPanel>h3{color:#eccc8f;font-size:clamp(1.2rem,2.5vw,1.7rem);line-height:1.25;margin:8px 0}
#ccl-view-statistics #careerPanel>.hint{max-width:74ch;line-height:1.55;color:#c4c9b9}
#ccl-view-statistics #careerPanel>label{display:block;margin:12px 0 6px;font-size:.8rem;font-weight:800;color:#e2c48d}
#ccl-view-statistics #careerSearch,#ccl-view-statistics #careerSort{width:100%;max-width:650px;min-height:42px;background:#101c15;border:1px solid #738064;border-radius:8px;color:#f2e5ca;padding:9px 11px}
#ccl-view-statistics #careerRefresh{margin:12px 0 8px;border-radius:7px}
#ccl-view-statistics #careerSearch:focus-visible,#ccl-view-statistics #careerSort:focus-visible,#ccl-view-statistics #careerRefresh:focus-visible{outline:2px solid #dfbb7c;outline-offset:2px}
#ccl-view-statistics #careerList{display:grid;gap:8px;min-width:0;margin-top:12px}
#ccl-view-statistics #careerList .application-item{background:#17241b;border:1px solid #52614c;border-radius:8px;padding:11px 13px;min-width:0;overflow-wrap:anywhere}
#ccl-view-statistics .ccl-golden-boot{border:1px solid #69583d;background:#22271e;border-radius:9px;padding:13px;margin-top:15px}
#ccl-view-statistics .ccl-golden-boot summary{cursor:pointer;color:#edc883;font-weight:800}
#ccl-view-statistics #careerSummary{border-left:3px solid #d6b36f;border-radius:4px;line-height:1.5}
@media(max-width:700px){#ccl-view-statistics #careerPanel{padding:12px!important}#ccl-view-statistics #careerSearch,#ccl-view-statistics #careerSort{max-width:100%}}

/* v1.9.159 — keep the active team navigation near its roster */
.ccl-team-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 8px;padding:11px;background:#19261d;border:1px solid #4e684b;border-radius:10px}
.ccl-team-tools button,.ccl-team-tools a{min-width:0;padding:10px 13px;border:1px solid #6b7959;border-radius:7px;color:#e8d9af;background:#26352a;font-size:.82rem;font-weight:750;text-decoration:none;white-space:normal;cursor:pointer}
.ccl-team-tools button:hover,.ccl-team-tools a:hover{border-color:#dfba76}
.ccl-team-tools button:focus-visible,.ccl-team-tools a:focus-visible{outline:2px solid #e4c589;outline-offset:2px}
@media(max-width:650px){.ccl-team-tools>*{flex:1 1 140px;text-align:center}}

/* Coach portal cleanup — acquisition controls only inside a selected team's view */
.ccl-team-purchase-tools{margin:14px 0;border:1px solid #52684e;border-radius:10px;background:#19271e;padding:13px 17px}
.ccl-team-purchase-tools>summary{cursor:pointer;font-weight:800;color:#edcf91;padding:4px 0}
.ccl-team-purchase-tools>summary:focus-visible{outline:2px solid #efcf91;outline-offset:3px}
.ccl-team-purchase-tools[open]>summary{margin-bottom:16px}
.ccl-team-purchase-tools #assetShop{margin-top:0!important}
.ccl-team-purchase-tools #hireForm{margin-top:16px}
.ccl-team-purchase-tools #hireMessage{margin:12px 0}
@media(max-width:650px){.ccl-team-purchase-tools{padding:11px 13px}}

/* Support Desk: moved report forms retain original DOM IDs and submit handlers. */
.ccl-support-intro{border:1px solid #687f5a;padding:18px;border-radius:10px;background:#1c2a20}
.ccl-support-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.ccl-support-actions button{white-space:normal}
.ccl-support-emergency{background:#9a402f!important;border-color:#c77960!important;color:#fff!important}
.ccl-support-urgent{border-left:3px solid #da9a68;background:#34291f;padding:13px 15px;line-height:1.6;border-radius:4px}
.ccl-support-shortcut{margin:0 0 14px}
.ccl-support-report-panel{scroll-margin-top:20px}
@media(max-width:600px){.ccl-support-actions{display:grid;grid-template-columns:1fr}.ccl-support-actions button{width:100%}}

/* Secondary coach tools: closed by default on all viewports. */
.ccl-secondary-coach-tools{margin-top:9px;border-top:1px solid #465641;padding-top:9px}
.ccl-secondary-coach-tools>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;min-height:48px;padding:11px 12px;border:1px solid #5b694e;border-radius:7px;background:#253427;color:#e2c991;font-size:13px;font-weight:850}
.ccl-secondary-coach-tools>summary::-webkit-details-marker{display:none}
.ccl-secondary-coach-tools>summary::after{content:'▾';font-size:16px}
.ccl-secondary-coach-tools[open]>summary::after{content:'▴'}
.ccl-secondary-coach-tools>.ccl-nav-link{padding-left:17px}
.ccl-secondary-coach-tools>summary:focus-visible{outline:3px solid #e7bf7c;outline-offset:2px}
@media(max-width:850px){#ccl-section-menu .ccl-secondary-coach-tools{margin:8px 0 0}#ccl-section-menu .ccl-secondary-coach-tools>summary{font-size:15px;min-height:48px}}

