/* NuzLabs v6.25.0 — Athlete Progress + Dashboard Simplification. UX-only. */

/* What matters now: keep the actionable layer visible and move context behind disclosure. */
.athlete-intelligence-v6232{padding:18px}
.athlete-intelligence-v6232 .athlete-intelligence-head p{max-width:700px}
.intel-now-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:11px;margin-top:15px}
.intel-now-grid>article{min-width:0;border:1px solid #dce6ed;border-radius:16px;background:#fff;padding:14px}
.intel-now-grid>article>span{display:block;color:#5f7285;font-size:8px;font-weight:900;letter-spacing:.07em}
.intel-now-grid h3{margin:4px 0 6px;color:var(--navy);font-family:"Barlow Condensed";font-size:24px;line-height:1.05;text-transform:uppercase}
.intel-now-grid p{margin:0;color:#63788b;font-size:9px;line-height:1.5}
.intel-now-grid .intel-priority{background:#08203f;border-color:#08203f}
.intel-now-grid .intel-priority>span,.intel-now-grid .intel-priority p{color:#c3d3e3}
.intel-now-grid .intel-priority h3{color:#fff;font-size:28px}
.intel-review-now ul{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:7px}
.intel-review-now li{display:grid;gap:2px;border-top:1px solid #edf1f4;padding-top:7px}
.intel-review-now li:first-child{border-top:0;padding-top:0}
.intel-review-now li b{color:#294963;font-size:9px}
.intel-review-now li span{color:#52697d;font-size:8px;line-height:1.45}
.intel-safety-now{grid-column:1/-1;background:#fff9f2!important;border-color:#e8d4b7!important}
.intel-safety-now small,.intel-safety-now>b{display:block;margin-top:7px;color:#786348;font-size:8px;line-height:1.45}
.intel-context-details{margin-top:11px;border:1px solid #dce6ed;border-radius:15px;background:#fff;overflow:hidden}
.intel-context-details>summary,.player-progress-history>summary,.staff-progress-history>summary,.player-progress-weekly-context>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px}
.intel-context-details>summary::-webkit-details-marker,.player-progress-history>summary::-webkit-details-marker,.staff-progress-history>summary::-webkit-details-marker,.player-progress-weekly-context>summary::-webkit-details-marker{display:none}
.intel-context-details>summary:after,.player-progress-history>summary:after,.staff-progress-history>summary:after,.player-progress-weekly-context>summary:after{content:"+";flex:none;color:#61788c;font-size:18px;font-weight:700}
.intel-context-details[open]>summary:after,.player-progress-history[open]>summary:after,.staff-progress-history[open]>summary:after,.player-progress-weekly-context[open]>summary:after{content:"−"}
.intel-context-details>summary>span,.player-progress-history>summary>span,.staff-progress-history>summary>span{color:var(--navy);font-family:"Barlow Condensed";font-size:20px;font-weight:800;text-transform:uppercase}
.intel-context-details>summary>small,.player-progress-history>summary>small,.staff-progress-history>summary>small{margin-left:auto;color:#52697d;font-size:8px;line-height:1.35;text-align:right}
.intel-context-details[open]>summary,.player-progress-history[open]>summary,.staff-progress-history[open]>summary{border-bottom:1px solid #e3eaf0;background:#f8fafc}
.intel-context-body{padding:0 14px 14px}
.intel-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
.intel-secondary-grid>article:only-child{grid-column:1/-1}
.intel-positive-only{grid-template-columns:1fr}

/* Player Progress: keep action, consistency and program cards above historical detail. */
.player-progress-next{margin:0 0 16px}
.player-progress-programs-v6232{margin-top:20px}
.clickable-progress-card{cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.clickable-progress-card:hover{transform:translateY(-1px);border-color:#b7ccda;box-shadow:0 12px 28px rgba(6,22,50,.08)}
.clickable-progress-card:focus-visible{outline:3px solid rgba(44,145,223,.32);outline-offset:2px}
.progress-card-open-hint{flex:none;color:#295f88;font-size:8px;white-space:nowrap}
.player-progress-module-foot,.staff-progress-program-foot{align-items:center}
.player-progress-history,.staff-progress-history{margin-top:16px;border:1px solid #dce5ed;border-radius:18px;background:#fff;overflow:hidden}
.player-progress-history-body,.staff-progress-history-body{padding:0 16px 16px}
.player-progress-history .player-progress-rhythm-card{margin-top:16px}
.player-progress-history .player-progress-trends{margin-top:18px}
.player-progress-methodology{margin-top:12px}

/* Weekly brief is secondary context rather than a second hero. */
.player-progress-weekly-context{margin:16px 0 0;padding:0;border-radius:18px;background:linear-gradient(145deg,#071a38 0,#0d315e 75%,#165486 100%)}
.player-progress-weekly-context:after{display:none}
.player-progress-weekly-context>summary{position:relative;z-index:1;color:#fff}
.player-progress-weekly-context>summary>div{display:grid;gap:2px;min-width:0}
.player-progress-weekly-context>summary .eyebrow{color:#72c4fb}
.player-progress-weekly-context>summary b{color:#fff;font-family:"Barlow Condensed";font-size:23px;line-height:1;text-transform:uppercase}
.player-progress-weekly-context>summary small{color:#b9cde0;font-size:8px}
.player-progress-weekly-context>summary:after{color:#d3e3ef}
.weekly-brief-body{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.12);padding:0 16px 16px}
.player-progress-weekly-context .weekly-brief-grid{margin-top:14px}
.player-progress-weekly-context .weekly-brief-grid>article.weekly-brief-wins{grid-row:auto}
.player-progress-weekly-context .weekly-brief-actions .button.ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.23);color:#fff}

/* Staff dashboard progress: program cards stay visible; history becomes one disclosure. */
.staff-progress-overview-v6232 .staff-progress-signal{margin-top:14px}
.staff-progress-overview-v6232 .staff-progress-kpis{margin-top:12px}
.staff-progress-overview-v6232 .staff-progress-programs{margin-top:18px}
.staff-progress-history{margin-top:18px}
.staff-progress-history .staff-progress-rhythm-head{margin-top:16px}
.staff-progress-history .staff-progress-trends{margin-top:18px}

/* Dashboard cards: whole-card navigation replaces duplicate buttons and chip walls. */
.coach-athlete-name{margin:2px 0 0;color:var(--navy);font-family:"Barlow Condensed";font-size:26px;line-height:1;text-transform:uppercase}
.coach-athlete-program-summary{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:7px 10px;margin-top:11px;padding:10px 11px;border:1px solid #e1e8ee;border-radius:12px;background:#f7f9fb}
.coach-athlete-program-summary>span{color:#5f7285;font-size:7px;font-weight:900;letter-spacing:.06em}
.coach-athlete-program-summary>b{color:#294963;font-size:9px}
.coach-athlete-program-summary>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#52697d;font-size:8px;text-align:right}
.coach-athlete-actions{justify-content:space-between}
.card-open-hint,.athlete-module-open-hint,.player-program-open-hint{color:#295f88;font-size:9px;font-weight:800}
.athlete-module-meta.compact{display:flex;flex-wrap:wrap;gap:7px 14px}
.athlete-module-open-hint{margin-top:12px;border-top:1px solid #e4ebf0;padding-top:10px}
.athlete-module-card.has-access{cursor:pointer}
.athlete-module-card.has-access:hover{border-color:#b8ccda;box-shadow:0 11px 26px rgba(6,22,50,.07)}
.player-program-card-v6232{grid-template-columns:auto minmax(0,1fr) auto;cursor:pointer}
.player-program-open-hint{align-self:center;white-space:nowrap}

/* Dark theme parity for new v6.25.0 surfaces. */
html[data-theme="dark"] .intel-now-grid>article,html[data-theme="dark"] .intel-context-details,html[data-theme="dark"] .player-progress-history,html[data-theme="dark"] .staff-progress-history{background:#101c29;border-color:#32485b}
html[data-theme="dark"] .intel-now-grid .intel-priority{background:#102b45;border-color:#3b6482}
html[data-theme="dark"] .intel-now-grid .intel-priority>span,html[data-theme="dark"] .intel-now-grid .intel-priority p{color:#c5d5e2}
html[data-theme="dark"] .intel-now-grid .intel-priority h3,html[data-theme="dark"] .intel-now-grid h3,html[data-theme="dark"] .intel-context-details>summary>span,html[data-theme="dark"] .player-progress-history>summary>span,html[data-theme="dark"] .staff-progress-history>summary>span,html[data-theme="dark"] .coach-athlete-name{color:#f3f7fa}
html[data-theme="dark"] .intel-now-grid p,html[data-theme="dark"] .intel-review-now li span,html[data-theme="dark"] .intel-context-details>summary>small,html[data-theme="dark"] .player-progress-history>summary>small,html[data-theme="dark"] .staff-progress-history>summary>small{color:#b7c7d5}
html[data-theme="dark"] .intel-review-now li{border-color:#2c3f51}
html[data-theme="dark"] .intel-review-now li b{color:#dce8f2}
html[data-theme="dark"] .intel-safety-now{background:#332a1d!important;border-color:#735a31!important}
html[data-theme="dark"] .intel-safety-now small,html[data-theme="dark"] .intel-safety-now>b{color:#ead7ad}
html[data-theme="dark"] .intel-context-details[open]>summary,html[data-theme="dark"] .player-progress-history[open]>summary,html[data-theme="dark"] .staff-progress-history[open]>summary{background:#142332;border-color:#32485b}
html[data-theme="dark"] .intel-context-details>summary:after,html[data-theme="dark"] .player-progress-history>summary:after,html[data-theme="dark"] .staff-progress-history>summary:after{color:#a9bdcd}
html[data-theme="dark"] .coach-athlete-program-summary{background:#142332;border-color:#32485b}
html[data-theme="dark"] .coach-athlete-program-summary>span,html[data-theme="dark"] .coach-athlete-program-summary>small{color:#b0c0ce}
html[data-theme="dark"] .coach-athlete-program-summary>b{color:#e5eef5}
html[data-theme="dark"] .card-open-hint,html[data-theme="dark"] .athlete-module-open-hint,html[data-theme="dark"] .player-program-open-hint,html[data-theme="dark"] .progress-card-open-hint{color:#80c8f6}
html[data-theme="dark"] .athlete-module-open-hint{border-color:#32485b}
html[data-theme="dark"] .clickable-progress-card:hover,html[data-theme="dark"] .athlete-module-card.has-access:hover{border-color:#4e708b;box-shadow:0 12px 30px rgba(0,0,0,.28)}

@media(max-width:820px){
  .intel-now-grid{grid-template-columns:1fr}
  .intel-safety-now{grid-column:auto}
  .intel-secondary-grid{grid-template-columns:1fr}
  .player-program-card-v6232{grid-template-columns:auto minmax(0,1fr)}
  .player-program-open-hint{grid-column:2;margin-top:3px;white-space:normal}
}
@media(max-width:620px){
  .athlete-intelligence-v6232{padding:14px}
  .intel-now-grid>article{padding:12px}
  .intel-now-grid .intel-priority h3{font-size:25px}
  .intel-context-details>summary,.player-progress-history>summary,.staff-progress-history>summary,.player-progress-weekly-context>summary{align-items:flex-start;padding:12px}
  .intel-context-details>summary>small,.player-progress-history>summary>small,.staff-progress-history>summary>small{display:none}
  .intel-context-body,.player-progress-history-body,.staff-progress-history-body{padding-left:12px;padding-right:12px;padding-bottom:12px}
  .player-progress-weekly-context>summary{align-items:center}
  .weekly-brief-body{padding:0 12px 12px}
  .progress-card-open-hint{white-space:normal;text-align:right}
  .coach-athlete-program-summary{grid-template-columns:auto 1fr}
  .coach-athlete-program-summary>small{grid-column:1/-1;text-align:left;white-space:normal}
  .coach-athlete-actions{align-items:center}
  .player-program-open-hint{font-size:8px}
}
.athlete-module-empty{grid-column:1/-1;display:grid;gap:4px;border:1px dashed #c8d4dd;border-radius:14px;padding:16px;background:#f8fafc;color:#52697d}
.athlete-module-empty b{color:var(--navy);font-family:"Barlow Condensed";font-size:21px;text-transform:uppercase}
.athlete-module-empty span{font-size:9px;line-height:1.45}
html[data-theme="dark"] .athlete-module-empty{background:#101c29;border-color:#40566a;color:#b7c7d5}
html[data-theme="dark"] .athlete-module-empty b{color:#f3f7fa}
