/* Shared flat surfaces, typography and controls for both roles. */
body#ctm-premium#ctm-premium#ctm-premium :is(button,.panel,.player-day-card,.flow-activity-preview,.workflow-notice-group,.center-compact-card,.activity-summary-header,.activity-quicklook,.home-level-badge,.chat-message,.live-chat-heading){box-shadow:none!important;text-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium button{font-family:inherit!important;letter-spacing:normal!important;line-height:1.35}
body#ctm-premium#ctm-premium#ctm-premium :is(button.outline,.notice-compact-chat,.flow-notice-open){border-radius:10px!important;min-height:40px;padding:9px 14px!important;font-size:14px!important;font-weight:600!important;transform:none!important}
body#ctm-premium#ctm-premium#ctm-premium :is(.player-day-card,.workflow-notice-group,.center-compact-card){border-radius:14px!important;overflow:hidden}
body#ctm-premium#ctm-premium#ctm-premium .player-day-card>.flow-activity-preview{border:0!important;margin:0!important;border-radius:0!important}
body#ctm-premium#ctm-premium#ctm-premium :is(h1,h2,h3){text-shadow:none!important;letter-spacing:-.015em;line-height:1.25}
body#ctm-premium#ctm-premium#ctm-premium :is(button,a,input,select,textarea):focus-visible{outline:2px solid #405c80!important;outline-offset:3px!important}
.player-proposals{margin-bottom:28px}.proposal-settings,.proposal-section-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.proposal-settings{padding:14px 0;border-bottom:1px solid #dfe5eb}.proposal-settings p,.proposal-section-heading h2{margin:0;flex:1;min-width:180px}.proposal-settings p{line-height:1.5;color:#415268}.proposal-section-heading h2{font-size:20px}.proposal-section-heading h2 span{color:#56677b;font-size:14px;font-weight:500}.proposal-list{display:grid;gap:10px}
body#ctm-premium#ctm-premium#ctm-premium .proposal-row{border:1px solid #dce4e9;border-left:4px solid #66cdb2;border-radius:12px;background:#fff;overflow:hidden;box-shadow:none}
body#ctm-premium#ctm-premium#ctm-premium .proposal-row[data-activity-family="tournament"]{border-left-color:#a38ae1}
body#ctm-premium#ctm-premium#ctm-premium .proposal-open{width:100%;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:7px;padding:16px!important;background:#fff!important;color:#131b26!important;border:0!important;border-radius:0!important;white-space:normal}
.proposal-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px;line-height:1.4}.proposal-title .battle-symbol{width:22px;height:22px}.proposal-meta{font-size:14px;line-height:1.5;color:#415268;overflow-wrap:anywhere}.proposal-action{font-size:14px;font-weight:600;margin-top:3px}.proposal-action span{margin-left:6px}
@media(max-width:600px){.proposal-settings{gap:8px}.proposal-settings p{flex-basis:100%}.proposal-settings button{flex:1}.proposal-section-heading h2{font-size:18px}}
body#ctm-premium#ctm-premium#ctm-premium button::before,body#ctm-premium#ctm-premium#ctm-premium button::after{box-shadow:none!important;text-shadow:none!important;filter:none!important}
body#ctm-premium#ctm-premium#ctm-premium .workspace>header.ctm-shared-header{filter:none!important;border-bottom:1px solid #e2e7ec!important}
body#ctm-premium#ctm-premium#ctm-premium :is(.player-notice-section,.my-activities-page){padding-inline:16px!important}
body#ctm-premium#ctm-premium#ctm-premium .player-proposals .proposal-open{box-shadow:none!important;filter:none!important;background-image:none!important}
/* Shared design contract for the complete player and center journeys. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.center-published-detail .center-compact-card,.center-published-detail .center-activity-card,.center-published-detail .flow-activity-preview){border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.center-activity-group,.center-published-item,.center-office-package,.player-identity-document,.home-habitual-tile,.availability-package,.habitual-availability,.chat-category-card,.dashboard-chat-item,.notice-disclosure){box-shadow:none!important;border-width:1px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(#playerRegistrationForm,#centerAccountRegistrationForm,#centerRegistrationForm,.player-identity-editor,#standardPreferencesForm,#clubForm){color:#131b26!important;--ui-radius:10px}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,.daily-center-step,.habitual-step-body,.habitual-setting-block,.tournament-search-days,.tournament-search-time,.habitual-location-settings,.habitual-area-controls,.habitual-radius-controls){background:#f5f6f8!important;color:#131b26!important;box-shadow:none!important;border:1px solid #dce3e9!important;border-radius:12px!important;padding:14px!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,.habitual-step-body) :is(h3,h4,legend){color:#131b26!important;font-size:16px!important;line-height:1.4!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .habitual-setting-block>h4{background:#d8faf0!important;margin:-14px -14px 12px!important;padding:10px 14px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.tournament-search-days,.tournament-search-time)>h4{background:#eee5ff!important;margin:-14px -14px 12px!important;padding:10px 14px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(#playerRegistrationForm,#centerAccountRegistrationForm,#centerRegistrationForm,#standardPreferencesForm,#clubForm) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){background:#fff!important;color:#131b26!important;border:1px solid #cbd5df!important;border-radius:10px!important;box-shadow:none!important;min-height:42px;font-family:inherit;font-size:15px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(#playerRegistrationForm,#centerAccountRegistrationForm,#centerRegistrationForm,#standardPreferencesForm,#clubForm) :is(input[type=checkbox],input[type=radio]){accent-color:#16866c}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,#centerAccountRegistrationForm,#centerRegistrationForm) .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,#centerAccountRegistrationForm,#centerRegistrationForm) .field{min-width:0!important;margin:0!important;font-size:14px!important;gap:6px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,.habitual-step-body) :is(.primary,.habitual-step-next){background:#a2efd8!important;color:#131b26!important;border:1px solid #78cbb2!important;border-radius:10px!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .habitual-match-days .availability-days input:checked+span{background:#a2efd8!important;border-color:#78cbb2!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.row-actions,.live-chat-toolbar,.friend-actions,.notice-compact-footer){display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.row-actions,.live-chat-toolbar,.friend-actions,.notice-compact-footer) button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:10px!important;box-shadow:none!important;line-height:1.35!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .proposal-row.is-unread{border-color:#d7c332!important;border-left-color:#e6cf21!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .proposal-row.is-unread .proposal-open{background:#fff9b5!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .workflow-notice-group.is-unread{border-color:#d7c332!important;background:#fffce0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .workflow-notice-group.is-unread .notice-compact-context{background:#fff49a!important}
.notice-update-context{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px}.notice-update-context>div{display:grid;gap:4px;min-width:0}.notice-update-context strong{font-size:15px;line-height:1.4}.notice-update-context small{font-size:13px;color:#495568}.notice-update-context button{flex-shrink:0}.updates-explanation{font-size:13px;line-height:1.5;color:#526174;margin:4px 0 12px}
@media(min-width:900px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .summary-facts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}}
@media(max-width:440px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.registration-step,#centerAccountRegistrationForm,#centerRegistrationForm) .form-grid{grid-template-columns:minmax(0,1fr)!important}.notice-update-context{align-items:flex-start;flex-wrap:wrap}}

/* Final shared surface: one flat edge for every action, including legacy navigation. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium button{box-shadow:none!important;text-shadow:none!important;background-image:none!important;filter:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium button::before,body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium button::after{box-shadow:none!important;filter:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .habitual-edit-toolbar{background:#f3f5f7!important;background-image:none!important;color:#131b26!important;border:1px solid #dce3e9!important;box-shadow:none!important;min-height:48px!important;padding:8px 12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .habitual-edit-toolbar :is(button,span){color:#131b26!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .habitual-system-guide{background:#f5f6f8!important;border:1px solid #dce3e9!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .player-nav-button.active{border:1px solid currentColor!important}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .sidebar,body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .ctm-shared-header>:is(.location,.interaction-bar-actions,.account-tools){display:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.daily-action,.daily-icon,.center-home-profile-group,.center-home-card,.access-role-tabs,.access-mode-tabs,.habitual-system-guide,.habitual-system-steps>div){box-shadow:none!important}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .proposal-open{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 14px!important;padding:12px 14px!important}
.proposal-open>.proposal-title,.proposal-open>.proposal-meta{grid-column:1}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .proposal-controls>.notice-gender-badge{justify-self:stretch;text-align:center;margin-top:0!important}
.proposal-controls{grid-column:2;grid-row:1/4;align-self:start;display:grid;gap:5px;justify-items:stretch}.proposal-controls>.proposal-action{display:block;text-align:center;white-space:nowrap;margin:0;padding:8px 10px;background:#f3f5f7;border:1px solid #dce3e9;border-radius:10px}
@media(max-width:440px){.proposal-title{font-size:14px}.proposal-controls>.proposal-action{font-size:12px;padding:7px}.proposal-meta{font-size:13px}.proposal-open>.proposal-meta{grid-column:1/-1}.proposal-controls{grid-row:1}}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.publish-package-content,.publish-package>.ctm-panel-page-body,#clubForm){border:0!important;border-radius:0!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .publication-section{border:0!important;border-bottom:1px solid #dce3e9!important;border-radius:0!important;box-shadow:none!important;padding:12px 0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .publication-section>h3{background:#f1f4f6!important;color:#131b26!important;padding:10px 12px!important;margin-bottom:12px!important}
/* Expanded center activities use the available page, not a narrow dashboard tile. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-day-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-day-groups>.center-activity-group[open]{grid-column:1/-1!important;width:100%!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-published-detail{padding:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body{display:block!important;padding:14px!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .summary-facts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;gap:12px!important;margin:0 0 14px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .summary-facts>div{grid-column:auto!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body :is(.center-compact-management,.center-compact-extra,.center-management,.published-double-controls,.center-engagement){width:auto!important;max-width:100%!important;box-shadow:none!important;border:1px solid #dce3e9!important;border-radius:10px!important;margin:10px 0!important;background:#fff!important;clear:both!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body details>summary{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:11px 12px!important;background:#f3f5f7!important;color:#131b26!important;min-height:42px!important;border:0!important;border-radius:0!important;font-size:14px!important;line-height:1.4!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body details>summary>:is(span,strong){width:auto!important;max-width:100%!important;padding:0!important;float:none!important;font-size:14px!important;white-space:normal!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .form-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body :is(.field,input,select,textarea){min-width:0!important;max-width:100%!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .row-actions{display:flex!important;align-items:stretch!important;flex-wrap:wrap!important;gap:8px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .row-actions>button{flex:1 1 160px!important;width:auto!important;min-height:40px!important;margin:0!important;font-size:14px!important;line-height:1.4!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-engagement{padding:12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-engagement .center-status-bars{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:8px 0!important}
.center-engagement .center-status-bars>div{background:#f5f6f8}.center-engagement small{display:block;font-size:12px;font-weight:400;margin-top:3px}.center-engagement h4{font-size:15px;margin:0}
.center-onboarding-progress{margin:0 0 18px}.center-onboarding-progress .registration-progress-track{display:flex;gap:6px}.center-onboarding-progress .registration-progress-track i{flex:1}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .service-presence .center-service-choice{display:flex;align-items:center;gap:10px;margin:0;border:0;padding:0;background:transparent}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .service-presence legend{font-size:15px;font-weight:650;margin:0 0 8px}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-services-fields .center-service-item{background:#fff;border:1px solid #dce3e9;border-radius:10px;padding:12px;margin:0 0 10px;box-shadow:none}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-services-fields .changing-room-details{margin-top:12px;padding:12px;background:#f5f6f8;border:0;border-radius:8px}
.service-description{margin-bottom:12px!important}.center-services-fields [hidden]{display:none!important}
@media(max-width:540px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-engagement .center-status-bars{grid-template-columns:1fr!important}body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-day-groups{grid-template-columns:minmax(0,1fr)!important}}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-management :is(.center-resource,.center-action-group,.participant-list){border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;background:transparent!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-management .center-management{border:0!important;border-top:1px solid #dce3e9!important;border-radius:0!important;margin:10px 0 0!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-registration-package{background:#fff!important;border:1px solid #dce3e9!important;border-radius:12px!important;padding:0!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-registration-package>summary{padding:12px 16px!important;background:#f3f5f7!important;color:#131b26!important;box-shadow:none!important;border:0!important;font-size:16px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-registration-content{padding:16px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium #centerRegistrationForm :is(.center-public-email,.center-court-facilities,.court-category){border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 14px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium #centerRegistrationForm .center-court-facilities{grid-column:1/-1!important;width:100%!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-services-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-services-fields>.center-service-item{margin:0!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-service-item:has([data-service-details]:not([hidden])){grid-column:1/-1!important}
@media(max-width:600px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-services-fields{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:540px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .ctm-shared-header .player-app-bar{width:100%!important;min-width:0!important;max-width:100%!important}body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .ctm-shared-header :is(.player-brand-row,.player-icon-nav,.referral-strip){min-width:0!important;width:100%!important;max-width:100%!important}}

/* Compact, flat informational blocks inside center activities. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body :is(.flow-center-delivery,.published-double-controls){border:1px solid #dce3e9!important;border-radius:10px!important;padding:12px!important;margin:10px 0!important;background:#f5f6f8!important;box-shadow:none!important;filter:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body :is(.flow-center-delivery,.published-double-controls) p{font-size:13px!important;line-height:1.5!important;margin:6px 0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .double-option-line{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .double-option-line>strong{flex:1;min-width:0;font-size:15px!important;line-height:1.35!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .double-info{flex:0 0 28px!important;margin:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium#ctm-premium .center-compact-body .double-info>summary{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:1px solid #cbd5df!important;border-radius:50%!important;background:#fff!important;box-shadow:none!important}
