body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]){--muted:#b4c8c8;--emerald:#00b982;background:#061219;color:#e8f3ef}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) #workspace,body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .screen-content{background:transparent;color:#e8f3ef}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) #app-sidebar{background:linear-gradient(180deg,#081b21,#041116);border-right:1px solid #29424b}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .welcome h1,body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .section-title,body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .screen-heading h1{color:#f0f8f5}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) :is(.discovery-card,.featured-court,.map-panel,.action-card,.profile-links,.screen-content>article){background:#10242c;border-color:#29424b;color:#e8f3ef;box-shadow:none}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) :is(.court-copy h3,.card-copy h3,.card-copy p,.court-copy p,.court-rating,.screen-heading p){color:#c9ded9}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) :is(input,select,textarea){background:#132b34;color:#edf7f4;border-color:#3b565e;color-scheme:dark}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) :is(.discovery-search,.filter-chips button,.role-modes,.screen-tabs button){background:#10242c;color:#c9ded9;border-color:#29424b}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .role-modes button{color:#bed7cf}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .role-modes button[aria-pressed=true],body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .screen-tabs button[aria-pressed=true],body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .filter-chips button[aria-pressed=true]{background:#00d994;color:#05251c}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) :is(.muted,.version-stamp){color:#b4c8c8}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) a{color:#7ce7bf}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .bottom-nav{background:#081b21;border-color:#29424b}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .bottom-nav button{color:#c9ded9}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sport-banner{padding:24px;min-height:230px;border:1px solid #31504d;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sport-banner h2{font-size:clamp(26px,3vw,42px)}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sport-banner button{background:#00df98;color:#03291b;border:0;font-weight:700;padding:12px 20px}
.matchday-hero-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:18px}.matchday-next{background:#10242c;border:1px solid #29424b;border-radius:16px;padding:22px;min-width:0}.matchday-next h2{font-size:16px;margin:0 0 15px}.matchday-next .discovery-card{padding:0;border:0;margin:0}.matchday-next p{color:#b4c8c8;line-height:1.6}.matchday-next h3{font-size:21px;line-height:1.3}
.matchday-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.matchday-card{background:#10242c;border:1px solid #29424b;border-radius:15px;overflow:hidden}.matchday-card>img{width:100%;height:150px;object-fit:cover;display:block}.matchday-card>div{padding:18px}.matchday-card h3{margin:8px 0;font-size:18px}.matchday-card p{color:#b4c8c8;font-size:13px}.matchday-card strong{display:block;color:#5bebba;font-size:14px;margin:12px 0}.matchday-card button{background:#00d994;color:#05251c}.matchday-card .eyebrow{color:#64dcb4;font-size:10px}.matchday-matches{margin:28px 0}
body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .action-cards{gap:12px}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .action-card .card-icon{width:34px;height:34px}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .action-card .card-copy p{font-size:11px}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .card-arrow{background:#1c3c3d;color:#83e9c4}
@media(max-width:1100px){.matchday-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matchday-hero-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(max-width:650px){.matchday-hero-row,.matchday-grid{grid-template-columns:1fr}.matchday-next{padding:18px}body:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sport-banner{min-height:210px}.matchday-card>img{height:180px}}
body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .action-card{background:#10242c;border:1px solid #29424b}body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .action-card .card-link{min-height:108px}body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .featured-profiles{background:#10242c;border:1px solid #29424b;color:#e8f3ef}body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .featured-profiles p{color:#b4c8c8}body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sidebar-brand{color:white}body.has-app-shell:is([data-role-view=PLAYER],[data-role-view=ORGANIZER],[data-role-view=COURT_OWNER]) .sidebar-brand b{color:#00e79e}

body.has-app-shell[data-role-view=ORGANIZER] .role-heading{padding:10px 0 22px}body.has-app-shell[data-role-view=ORGANIZER] .role-heading h1{color:#eff8f5}body.has-app-shell[data-role-view=ORGANIZER] .role-heading>.discovery-actions>button:first-child{background:#00d994;color:#03251a}
.role-matchday-summary{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;margin:20px 0 28px}.role-matchday-summary .role-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:12px}.role-matchday-summary .role-metrics article{background:#10242c;border-color:#29424b;color:#e8f3ef;border-top:2px solid #00bf88}.role-matchday-summary .role-metrics p{color:#b4c8c8;font-size:12px}.role-matchday-summary .role-metrics strong{font-size:25px}
.role-matchday-summary .role-next{position:relative;isolation:isolate;margin:0;overflow:hidden;min-width:0;padding:26px;border:1px solid #29424b;border-radius:16px;background:#0d302e}.role-next>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25;z-index:-1}.role-next>button{background:#00dc96;color:#03251a}.role-next progress{display:block;width:100%;height:10px;accent-color:#00d994;margin:20px 0}.role-event-grid .matchday-photo{width:100%;height:150px;object-fit:cover;border-radius:10px}
body[data-role-view=ORGANIZER] .role-event-grid .discovery-card{background:#10242c;border-color:#29424b}body[data-role-view=ORGANIZER] .role-event-grid .eyebrow{color:#69e5ba}
@media(max-width:800px){.role-matchday-summary{grid-template-columns:1fr}.role-matchday-summary .role-next{min-height:220px}.role-matchday-summary .role-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

body.has-app-shell[data-role-view=COURT_OWNER] .role-heading h1{color:#eff8f5}body.has-app-shell[data-role-view=COURT_OWNER] .role-metrics article{background:#10242c;border-color:#29424b;color:#eff8f5}body.has-app-shell[data-role-view=COURT_OWNER] .role-metrics p{color:#b4c8c8}body.has-app-shell[data-role-view=COURT_OWNER] .owner-calendar{background:#10242c;border:1px solid #29424b;border-radius:16px;padding:22px;min-width:0}body.has-app-shell[data-role-view=COURT_OWNER] .role-heading>.discovery-actions>button:first-child{background:#00d994;color:#03251a}
.owner-overview-hero{position:relative;overflow:hidden;isolation:isolate;padding:26px;border-radius:16px;background:#0b302a;border:1px solid #29424b;min-height:170px;margin:18px 0}.owner-overview-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.24;z-index:-1}.owner-overview-hero h2{font-size:30px;margin:10px 0}.owner-overview-hero p{color:#c5ded4}.owner-multi-agenda{max-width:100%;overflow:auto;border:1px solid #36534d;border-radius:12px;margin:20px 0;background:#0a2026}.owner-multi-agenda table{border-collapse:collapse;min-width:1100px;width:100%;font-size:11px}.owner-multi-agenda th{padding:10px 4px;color:#c7dfd8;font-weight:500;white-space:nowrap}.owner-multi-agenda tbody th{position:sticky;left:0;background:#0a2026;max-width:180px;white-space:normal;min-width:150px;z-index:1;text-align:left;padding:12px}.owner-multi-agenda td{padding:2px}.owner-multi-agenda .agenda-cell{width:100%;min-width:15px;min-height:28px;border-radius:4px;padding:0;margin:0;border:1px solid #163f33;background:#087b51}.owner-multi-agenda .agenda-cell.pending{background:#d98020;border-color:#e9a544}.owner-multi-agenda .agenda-cell.confirmed{background:#c83b42;border-color:#e65b61}.owner-multi-agenda .agenda-cell.closed,.owner-multi-agenda .agenda-cell.occupied{background:#344953;border-color:#47606a}.owner-multi-agenda button:focus-visible{outline:3px solid #f4fff4;outline-offset:2px}
@media(max-width:650px){body.has-app-shell[data-role-view=COURT_OWNER] .owner-calendar{padding:12px}.owner-overview-hero{padding:20px}.owner-overview-hero h2{font-size:25px}}

/* CORR024: readable shared role submodules. */
body.has-app-shell #workspace :is(form,.screen-tabs,.profile-links){background:#10242c;color:#e8f3ef;border-color:#36515a;border-radius:14px}
body.has-app-shell #workspace form{padding:20px;margin:16px 0}
body.has-app-shell #workspace :is(label,legend,summary){color:#d4e7e1}
body.has-app-shell #workspace :is(.muted,.empty){color:#b4c8c8}
body.has-app-shell #workspace .profile-links button{background:#163b40;color:#e8f3ef;border:1px solid #36555c}
body.has-app-shell #workspace a{color:#76edc2}
body.has-app-shell #workspace .screen-tabs{padding:6px;gap:6px}
body.has-app-shell #workspace .screen-heading{border-bottom:1px solid #29424b}
body.has-app-shell #workspace .screen-heading button{color:#82e9c3}
.explore-layout.list-only{grid-template-columns:1fr}
.chat-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.chat-list article{padding:18px;background:#10242c;border:1px solid #36515a;border-radius:14px}
.chat-list article p{color:#b4c8c8;font-size:13px}.chat-list article button{margin:0}
@media(max-width:650px){body.has-app-shell #workspace form{padding:14px}.chat-list{grid-template-columns:1fr}}

body.has-app-shell #workspace .eyebrow{color:#7ce6bc}body.has-app-shell #workspace .itinerary div{background:#17333c;color:#dcefe7}body.has-app-shell #workspace .itinerary .available{background:#124839}body.has-app-shell #workspace .itinerary .occupied{background:#563b2c}

body.has-app-shell :is(#session,#account-security){background:#10242c;color:#d4e7e1;border-color:#36515a}body.has-app-shell #workspace .screen-content>p{color:#b4c8c8}

body.has-app-shell #workspace details{background:#10242c;border-color:#36515a;color:#d4e7e1}body.has-app-shell #workspace details>summary{color:#d4e7e1;min-height:30px}
