/* Autonomous extensions: reuse personal Coach style.css components and palette. */
.club-page .heading{flex-wrap:wrap}.club-page .heading button{flex-shrink:0;margin:0}.club-page .main-nav{align-items:center}.club-page .main-nav button,.club-page .main-nav a{margin:0;background:#fff;color:#275769;border-radius:30px;padding:10px 14px;font-size:.85rem;font-weight:700;box-shadow:0 1px 4px #cbd9dd;text-align:center;text-decoration:none;min-height:44px}.club-page .main-nav [aria-current=page]{background:#176576;color:#fff}.club-page .actions{gap:10px}.club-page .actions button{margin:0;min-height:44px;white-space:normal}.club-page a:not(nav a){color:#176576}.club-page input[type=checkbox]{width:auto;flex:none;margin:0}.club-page .confirm-label{align-items:flex-start;line-height:1.5}.club-page .stats,.club-page .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.club-page .metric{background:#eff6f5;border-radius:12px;padding:12px;min-width:0}.club-page .metric strong{display:block;font-size:1.12rem;overflow-wrap:anywhere}.club-page .metric small{display:block;font-size:.76rem;color:#506c76}.club-page .metric small.good,.club-page .good{color:#08763b}.club-page .warn{color:#a34b12;overflow-wrap:anywhere}.club-page .item{border:1px solid #d9e5eb;border-radius:12px;padding:14px;margin:12px 0;min-width:0;overflow-wrap:anywhere}.club-page .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px}.club-page .fields label{min-width:0}.club-page .report{background:#e8f5fa;color:#15546b;padding:16px;border-radius:12px}.club-page .scan-progress{border:1px solid #c9dce1;background:#f6fafb;border-radius:12px;padding:14px;margin:14px 0}.club-page progress{width:100%;height:12px;accent-color:#176576;margin:10px 0 0}.club-page #progressDetail{margin:8px 0 0;overflow-wrap:anywhere}.club-page .runner-history,.club-page .workout-detail{border:1px solid #c9dce1;border-radius:12px;background:#f6fafb;margin:12px 0;padding:0 12px}.club-page summary{cursor:pointer;color:#205b69;font-weight:700;padding:13px 0;overflow-wrap:anywhere;min-height:44px}.club-page summary:focus-visible,.club-page a:focus-visible{outline:3px solid #299e96;outline-offset:2px}.club-page .workout-detail{background:#fff}.club-page .workout-detail .item{border:0;padding:0;margin:0 0 12px}.club-page .runner-summary{margin:8px 0}.club-page #key{max-width:420px}.club-page #status{overflow-wrap:anywhere}.club-return{display:inline-block;color:#fff;text-decoration:underline;margin-top:8px;font-size:.85rem}
@media(max-width:800px){.club-page .main-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.club-page .main-nav button,.club-page .main-nav a{border-radius:10px;box-shadow:none;padding:10px 2px;font-size:.76rem;line-height:1.2;white-space:normal;display:flex;justify-content:center;align-items:center}.club-page .stats,.club-page .metrics{gap:6px}.club-page .metric{padding:9px}.club-page .metric strong{font-size:1rem}.club-page .actions button{flex:1 1 auto}.club-page .item{padding:12px}.club-page .report{padding:10px}}
.club-page .grouped-history>summary{display:list-item;list-style:revert}.club-page .grouped-history>.workout-detail{margin-left:4px}.club-page .grouped-history:not([open]){background:#f6fafb}

.club-page .fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));align-items:start}.club-page .fields label{display:grid;gap:6px;margin:0}.club-page .fields label :is(input,select){margin:0;min-width:0}.club-page .fields+button{margin-top:12px}
.club-page .batch-image{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px}
.club-page .batch-image img{display:block;width:64px;height:72px;object-fit:contain;background:#eff6f5;border-radius:6px}
.club-page .batch-image p{margin:4px 0}
.club-page #batchFollowUp:not([hidden]){margin-top:10px}
.club-page #mergeRunnerDialog{width:min(92vw,520px);max-height:90vh;overscroll-behavior:contain;border:1px solid #c9dce1;border-radius:14px;padding:20px;background:#f6fafb;color:#1b3441}
.club-page #mergeRunnerDialog::backdrop{background:#123c5470}
.club-page #mergeRunnerDialog h2{margin:0 0 12px}
.club-page #mergeRunnerDialog p:empty{display:none}

.club-page .overview-period{display:flex;flex-wrap:wrap;column-gap:16px;border:0;padding:0;margin:12px 0 6px}
.club-page .overview-period legend{font-weight:650}
.club-page .overview-period label{display:flex;align-items:center;gap:6px;min-height:44px;margin:0;cursor:pointer}
.club-page .overview-period input{width:auto;margin:0;accent-color:#176576}
.club-page #overviewRange,.club-page #overviewComparison{margin:6px 0 12px}
.club-page .metric .overview-change{margin-top:4px;font-weight:650}

.club-page .workout-comparison-line{display:block;margin-top:5px;font-size:.83rem;font-weight:500;color:#345e70}
.club-page .comparison-reference{margin:8px 0 0;font-weight:650}
.club-page .metric .comparison-delta{margin-top:4px;font-weight:650;color:#205b69}
.club-page .gold-image{display:block;width:100%;max-width:850px;height:auto;margin:12px auto;border-radius:12px}.club-page .runner-count{display:inline-block;margin-left:8px;font-size:.85rem;font-weight:700;background:#e8f5fa;color:#15546b;border-radius:12px;padding:5px 10px}.club-page #goldForm{margin-top:12px;border:1px solid #d9e5eb;border-radius:12px;padding:14px}.club-page #goldStatus{overflow-wrap:anywhere}
@media(max-width:800px){.club-page .main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.club-page{padding-bottom:calc(132px + env(safe-area-inset-bottom))}}
.gold-live{background:linear-gradient(120deg,#f3dc83,#c99731,#f6e6a2);border-radius:14px;padding:20px;color:#392500;text-align:center;margin:12px 0}.gold-live h3{font-size:1.35rem;margin:0 0 6px;color:#392500}.gold-live p{color:#513a13;margin:4px 0 16px}.gold-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}.gold-person{background:#fff9e9;border:1px solid #b88c35;border-radius:12px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.gold-person img,.gold-avatar-placeholder{width:76px;height:76px;border-radius:50%;object-fit:cover;border:3px solid #c49a39;background:#fff;display:grid;place-items:center;font-size:24px;font-weight:700}.gold-person strong{overflow-wrap:anywhere}.gold-person small{color:#654b20}.gold-original{margin:16px 0}.gold-original summary{cursor:pointer;color:#15546b;font-weight:700}.gold-person .gold-rank{font-weight:700;color:#81580e}.club-page footer #authNav{font-size:.8rem;margin:8px}.gold-person .gold-time{font-variant-numeric:tabular-nums;font-weight:700}
.gold-live h4{margin:24px 0 10px;padding:9px;border-top:1px solid #ad842e;letter-spacing:.04em;color:#392500}.gold-live .gold-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}#goldForm [hidden]{display:none!important}#goldPreview{grid-column:1/-1;margin:0}

.gold-live .gold-trail-grid{grid-template-columns:repeat(auto-fill,minmax(145px,180px));justify-content:center}.gold-trail-grid .gold-time{font-size:.9rem}

/* 3.1.7: compact, runner-grouped achievement history. */
.club-page .gold-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:16px 0 8px}
.club-page .gold-history-heading h4{margin:0;color:#205b69}
.club-page #goldHistoryCount{font-size:.82rem}
.club-page .gold-history-group{border:1px solid #c9dce1;border-radius:12px;background:#f6fafb;margin:8px 0;padding:0 12px;min-width:0}
.club-page .gold-history-group>summary{display:list-item;list-style-position:inside;padding:12px 0;min-height:44px;line-height:1.5;cursor:pointer}
.club-page .gold-history-count{font-weight:500;color:#506c76;margin-left:10px;font-size:.8rem;white-space:nowrap}
.club-page .gold-history-body{border-top:1px solid #d9e5eb;padding:0 0 4px}
.club-page .gold-history-record{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #d9e5eb;min-width:0}
.club-page .gold-history-record:last-child{border-bottom:0}
.club-page .gold-history-info{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.club-page .gold-history-info p{font-size:.82rem;color:#506c76;margin:4px 0 0}
.club-page .gold-history-record .actions{display:flex;flex-wrap:wrap;margin:0;gap:8px}
.club-page .gold-history-record button{flex:0 0 auto}

/* 3.1.8: summary counts the visible gold-board results, not history. */
.gold-live .gold-board-count{font-weight:700;font-variant-numeric:tabular-nums;color:#392500;margin:6px 0 16px}

/* ODR 3.2.0: weekly goal workspace. Scoped to avoid affecting the original tabs. */
.club-page #goals .goal-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.club-page #goals .goal-section-head h2,.club-page #goals .goal-section-head h3,.club-page #goals .goal-section-head h4{margin:0 0 5px}.club-page #goals .goal-section-head p{margin:4px 0 8px}.club-page #goals button{min-height:44px}.club-page #goals .goal-week-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0;padding:12px;background:#f0f7f9;border:1px solid #c9dce1;border-radius:12px}.club-page #goals .goal-week-bar .actions{margin:0;align-items:center;flex-wrap:wrap}.club-page #goalWeekLabel{font-size:.9rem;font-variant-numeric:tabular-nums}.club-page #goals .goal-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.club-page .goal-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:10px;margin:12px 0 16px}.club-page #goals .goal-group{border:1px solid #c7dce4;background:#f5fafb;color:#205b69;box-shadow:none;text-align:left;display:grid;gap:5px;min-width:0;overflow-wrap:anywhere;margin:0;padding:13px;border-radius:12px}.club-page #goals .goal-group strong{font-size:1rem}.club-page #goals .goal-group span,.club-page #goals .goal-group small{font-size:.8rem;font-weight:500}.club-page #goals .goal-group.selected{border:2px solid #176576;background:#e1f2f3;padding:12px}.club-page #goalWorkspace{margin-top:12px;min-width:0}.club-page .goal-banner{background:#eaf6f9;border:1px solid #bddbe4;padding:13px;border-radius:12px;margin:12px 0}.club-page .goal-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:14px 0}.club-page .goal-day{background:#f5f9fa;border:1px solid #d9e5eb;border-radius:10px;padding:10px;min-width:0;overflow-wrap:anywhere;display:grid;gap:5px}.club-page .goal-day strong{font-size:.86rem}.club-page .goal-day span,.club-page .goal-day small{font-size:.75rem;color:#506c76}.club-page .goal-day-today{border:2px solid #176576;padding:9px}.club-page .goal-person-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #d9e5eb;flex-wrap:wrap}.club-page .goal-person-row>div{flex:1 1 180px;display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.club-page .goal-person-row span,.club-page .goal-person-row small{font-size:.82rem;color:#506c76}.club-page .goal-person-row button{margin:0}.club-page .goal-progress{font-size:.86rem;font-weight:650;color:#176576}.club-page .goal-run-progress{margin:8px 0 14px}.club-page .goal-run-progress progress{margin:0}.club-page .goal-run-progress small{display:block;margin:5px 0;color:#506c76}.club-page .goal-session{border:1px solid #d9e5eb;border-radius:10px;background:#f9fbfc;margin:7px 0;padding:0 11px}.club-page .goal-session>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:10px 0;font-size:.9rem}.club-page .goal-session>summary::-webkit-details-marker{display:none}.club-page .goal-session>summary>span:first-child{display:grid;gap:3px;min-width:0}.club-page .goal-session>summary strong:before{content:'› ';color:#176576}.club-page .goal-session[open]>summary strong:before{content:'⌄ '}.club-page .goal-session>summary small{font-size:.78rem;font-weight:500;color:#506c76}.club-page .goal-session-content{border-top:1px solid #d9e5eb;font-size:.88rem;padding:8px 0}.club-page .goal-state{font-size:.75rem;padding:5px 8px;background:#e9eff2;color:#506c76;border-radius:14px;white-space:normal;text-align:center;flex:0 0 auto;max-width:110px}.club-page .goal-state.done{background:#e0f2e7;color:#12603a}.club-page .goal-state.review{background:#fff0d7;color:#8a4b10}.club-page .goal-advice{background:#eff6f5;color:#205b69;padding:10px;border-radius:9px;margin:12px 0 0;font-size:.86rem}.club-page .goal-waiting{margin-top:16px}.club-page .goal-footnote{border-top:1px solid #d9e5eb;padding-top:12px;font-size:.82rem;margin-top:20px}.club-page #goalDialog{width:min(94vw,650px);max-width:650px;max-height:88vh;overflow:auto;overscroll-behavior:contain;padding:20px}.club-page #goalDialog::backdrop{background:#123c5470}.club-page .goal-dialog-close{float:right;margin:0 0 8px 12px;min-height:44px;min-width:44px}.club-page #goalDialog h3{margin-top:0;overflow-wrap:anywhere}.club-page #goalDialog .goal-edit-row{border:1px solid #c9dce1;border-radius:10px;margin:10px 0;padding:10px;min-width:0}.club-page #goalDialog textarea{width:100%;resize:vertical}.club-page .goal-inline{display:flex;align-items:center;gap:8px;margin:10px 0}.club-page #goalDialogError:empty,.club-page #goalStatus:empty{display:none}.club-page #goalDialog .actions{flex-wrap:wrap}.club-page #goals button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:800px){.club-page .main-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.club-page .main-nav a,.club-page .main-nav button{overflow-wrap:anywhere;min-width:0}.club-page #goals .goal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.club-page .goal-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.club-page .goal-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.club-page #goals .goal-week-bar .actions{flex:1 1 100%}.club-page #goalWeekLabel{flex:1;text-align:center}.club-page #goals .goal-section-head>.actions{width:100%}.club-page #goalDialog{width:94vw;max-height:85vh;padding:14px}}
