.center-activities-browser{max-width:940px;margin:0 auto 24px;min-width:0}
.center-activities-browser>.heading{margin-bottom:18px}
.center-activity-group{border:1px solid #bdcedb;border-radius:20px;overflow:hidden;margin:0 0 16px;background:#fff}
.center-activity-group>summary,.center-published-item>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;min-width:0}
.center-activities-browser summary::-webkit-details-marker{display:none}
.center-activities-browser summary::after{content:none!important}
.center-activity-group>summary{padding:16px;background:linear-gradient(135deg,#26303f,#191b22);color:#fff}
.center-activity-group.tournaments>summary{background:#e6f2fb;color:#254963}
.center-activity-group>summary>span,.center-published-item>summary>span{flex:1;min-width:0;float:none}
.center-activity-group>summary strong,.center-published-item>summary strong{display:block;font-size:17px;line-height:1.4}
.center-activity-group>summary small,.center-published-item>summary small{display:block;margin-top:4px;font-size:12px;line-height:1.5;font-weight:400}
.center-activities-browser summary svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.center-activities-browser details[open]>summary>svg{transform:rotate(180deg)}
.center-group-count{display:grid;place-items:center;min-width:32px;height:32px;border-radius:10px;background:#ffffff24;font-size:16px}
.tournaments .center-group-count{background:#fff}
.center-activity-group-body{padding:4px 14px 16px}
.center-activity-date{font-size:15px;margin:18px 0 10px;color:#254963;text-transform:capitalize}
.center-published-item{border:1px solid #d8e2e9;border-radius:12px;margin:0 0 10px;overflow:hidden;background:#fff}
.center-published-item>summary{padding:12px;background:#f5f8fa;color:#254963}
.center-published-item>summary time{font-size:19px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.center-published-item>summary strong{font-size:15px}
.center-published-detail{padding:10px;min-width:0}
.center-published-detail .center-activity-card{margin:0;max-width:100%;min-width:0}
.center-activities-browser .center-activity-group-body details>summary{position:static!important;top:auto!important}
.center-publication-status{padding:14px;margin:14px 0;border:1px solid #b34c37;border-radius:10px;background:#fff3ed;color:#812b1c;grid-column:1/-1;scroll-margin-top:180px}
.center-publication-status p{margin:0 0 10px;line-height:1.5;font-weight:650}
.center-publication-status p:last-child{margin:0}
.center-publication-status button{white-space:normal}

/* Publication is a sequence of readable blocks with a persistent centre-blue bar. */
body .publish-package{border:1px solid #7b91a4;border-radius:16px;background:#fff}
body .publish-package>summary,
body .publish-package.ctm-lockable-panel[open]>summary,
body .publish-package.ctm-lockable-panel.ctm-panel-page[open]>summary{
 display:flex;align-items:center;gap:14px;min-height:48px;padding:14px 20px!important;
 background:#f3f5f7!important;color:#131b26!important;
 border:0;border-radius:15px 15px 0 0;box-shadow:none;
}
body .publish-package:not([open])>summary{border-radius:15px}
body .publish-package>summary .publication-heading{display:grid;gap:4px;min-width:0;margin:0;color:#131b26}
body .publish-package>summary .publication-heading strong{font-size:22px;line-height:1.35;font-weight:750;color:#131b26}
body .publish-package>summary .publication-heading small{font-size:14px;line-height:1.4;font-weight:400;color:#526174}
body .publish-package>summary .ctm-panel-lock-action{color:#131b26!important}
body .publish-package .publish-package-content{padding:0}
body .publish-package>.ctm-panel-page-body{padding:16px}
body #clubForm{display:grid;gap:18px;padding:0;min-width:0;color:#203f53}
body #clubForm .publication-form-guide{margin:0;padding:12px 14px;border-left:4px solid #547b9b;background:#eef4f9;border-radius:0 8px 8px 0;font-size:14px;line-height:1.6}
body #clubForm .publication-section,
body #clubForm>#clubEventFields,
body #clubForm>#clubPosterField{
 margin:0;padding:18px;border:1px solid #8199ad;border-radius:12px;background:#f7fafc;min-width:0;box-sizing:border-box;
}
body #clubForm .publication-section>h3,
body #clubForm>#clubEventFields>h3{margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid #aebfcd;color:#263f55;font-size:19px!important}
body #clubForm .publication-section .form-grid{margin:0;gap:18px}
body #clubForm .publication-tournament-section:has(#tournamentOriginFields[hidden]){display:none!important}
body #clubForm .publication-tournament-section #tournamentOriginFields{margin:0 0 16px;padding:0;border:0;background:none}
body #clubForm .publication-tournament-section #tournamentOriginFields>h3{display:none}
body #clubForm .publication-tournament-section #tournamentOriginFields>.field+.field{margin-top:16px}
body #clubForm .field{color:#233e53}
body #clubForm :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){
 border:1px solid #71899d;border-radius:8px;background:#fff;color:#203f53;box-shadow:none;
}
body #clubForm :is(input,select,textarea):required:not(:disabled):not([type=hidden]){border-left:1px solid #71899d}
body #clubForm :is(input,select,textarea):focus-visible{outline:3px solid #72b8e850;outline-offset:2px;border-color:#244f74}
body #clubForm :is(input,select,textarea):disabled{background:#e9eef2;color:#627384;border-color:#b9c6d0;box-shadow:none}
body #clubForm .field:has(>input[type=hidden]){padding:10px 12px;border:1px solid #c1ced9;border-radius:8px;background:#eaf0f5}
body #clubForm .guided-field-hint{align-self:flex-start;margin-top:8px;padding:2px 8px;border-radius:5px;background:#edf1f5;color:#596b7c;font-size:12px!important}
body #clubForm .field:has(:required:not(:disabled))>.guided-field-hint{background:#dceaf5;color:#244f74;font-weight:700}
body #clubForm .field[hidden],body #clubForm [hidden]{display:none!important}
body #clubForm .level-field-note{margin:0}
body #clubForm>[data-center-publish]{min-height:52px;margin:0;border:1px solid #a99000;font-size:17px;font-weight:750}
@media(max-width:600px){
 body .publish-package>.ctm-panel-page-body{padding:10px}
 body .publish-package>summary .publication-heading strong{font-size:20px}
 body #clubForm .publication-section,body #clubForm>#clubEventFields,body #clubForm>#clubPosterField{padding:14px}
 body #clubForm .publication-section .form-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
 body #clubForm{gap:14px}
}
body #clubForm .activity-time-fields{margin:0;padding:0;border:0;background:transparent;border-radius:0}
body #clubForm .activity-time-fields>h3{display:none}
body #clubForm .activity-time-fields .activity-schedule-grid{margin:0 0 16px}
body #clubForm .activity-time-fields>[data-activity-end]:not([hidden]){margin-top:16px}
body #clubForm .activity-time-fields>[data-activity-clock-note]{margin:12px 0 0;font-size:13px}


/* Compact inline activity levels: Open first, bands only on explicit request. */
body form .activity-level-compact{padding:10px 12px;border:1px solid #8da7bb;background:#fff;border-radius:10px}
body form .activity-level-compact>.level-field-heading{margin-bottom:8px;font-size:15px}
body form .activity-level-inline{display:grid;gap:8px;min-width:0}
body form .activity-open-choice{display:flex;align-items:center;gap:10px;min-height:48px;margin:0;padding:8px 12px;border:1px solid #b7c5d1;border-radius:8px;background:#eef1f4;color:#536574;opacity:.52;cursor:pointer;transition:opacity .15s,background .15s}
body form .activity-open-choice.is-active{background:#e6f2fc;border-color:#4c83aa;color:#203f53;opacity:1;box-shadow:inset 3px 0 #4c83aa}
body form .activity-open-choice:hover,body form .activity-open-choice:focus-within{opacity:1}
body form .activity-open-choice>strong{flex:0 0 auto;font-size:22px;font-weight:850;line-height:1.1;letter-spacing:.4px}
body form .activity-open-choice>span{font-size:14px;font-weight:700;line-height:1.35}
body form .activity-open-choice small{display:block;font-size:12px;line-height:1.4;font-weight:400;margin-top:2px}
body form .activity-level-compact :is(.activity-open-choice,.activity-bands-toggle) input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#315e80}
body form .activity-bands-toggle{display:flex;align-items:center;gap:9px;margin:0;padding:7px 12px;border:1px solid #bdcbd6;border-radius:8px;background:#fff;font-size:14px;font-weight:700;cursor:pointer}
body form .activity-bands-toggle:has(input:checked){background:#edf5fc;border-color:#4c83aa}
body form .activity-inline-bands{padding-top:4px;border-top:1px solid #c6d5e0;min-width:0}
body form .activity-band-instruction{margin:6px 0;font-size:13px;line-height:1.4;color:#526b7c}
body form .activity-level-compact [hidden]{display:none!important}
body form .activity-level-compact .activity-band-scroll{margin:6px 0;overflow-x:auto}
body form .activity-level-compact .activity-band-table{width:100%;min-width:0!important}
body form .activity-level-compact .activity-band-table :is(.player-band-option,.band-reference-heading){grid-template-columns:18px 10px minmax(0,1fr) 104px!important;column-gap:7px!important}
body form .activity-level-compact .activity-band-table.has-reference :is(.player-band-option,.band-reference-heading){grid-template-columns:18px 10px minmax(0,1fr) 92px 90px!important}
body form .activity-level-compact .reference-gap{display:none}
body form .activity-level-compact .activity-band-table .player-band-option{min-height:36px;padding:6px 8px!important;margin:4px 0;font-size:13px;line-height:1.35}
body form .activity-level-compact .player-band-option strong{font-size:13px;overflow-wrap:break-word}
body form .activity-level-compact .battle-range{font-size:13px;white-space:nowrap}
body form .activity-level-compact .reference-value{font-size:12px;white-space:normal}
body form .activity-level-compact .consult-platform-choices{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12px}
body form .activity-level-compact .consult-platform-choices label{padding:5px 7px;font-size:12px}
body form .activity-level-compact .activity-level-current{margin:8px 0 0;padding:7px 9px;font-size:13px;background:#edf5fc}
@media(max-width:420px){
 body form .activity-level-compact{padding:9px}
 body form .activity-open-choice{gap:8px;padding:8px}
 body form .activity-level-compact .activity-band-table.has-reference :is(.player-band-option,.band-reference-heading){grid-template-columns:17px 8px minmax(0,1fr) 76px 64px!important;column-gap:4px!important}
 body form .activity-level-compact .activity-band-table.has-reference .battle-range{font-size:12px}
 body form .activity-level-compact .activity-band-table.has-reference .reference-value{font-size:11px}
}
