/* Profile component of the shared alliance template. */
html #report .prAccountDetails{margin:10px 16px;border:1px solid #426177;border-radius:9px;background:#182f3e}
html #report .prAccountDetails>summary{padding:12px 14px;cursor:pointer;color:#d8eaf3;min-height:44px}
html #report .prAccountDetails>summary h3{display:inline;font-size:14px;margin:0}
html #report .prAccountDetails>.paCard{margin:0;padding:14px;border:0;max-width:none}
html #report.profileHub{--pr-ink:#edf4fa;--pr-muted:#adc3cf;--pr-line:#3d5667;color:var(--pr-ink)!important;background:#101d27!important;border:1px solid var(--pr-line)!important;border-radius:16px;padding:0;overflow:visible;font-family:Arial,Helvetica,sans-serif}
html #report :is(h2,h3,h4,strong){font-family:inherit!important}
html #report :is(p,small,label){color:var(--pr-muted)}
html #report .eyebrow{color:#ffb66b;letter-spacing:.12em;font-size:10px}
html #report .profileHero{padding:18px 20px;gap:14px;background:linear-gradient(110deg,#263b4b,#17303b 70%,#1b4549)!important;border:0!important;border-radius:16px 16px 0 0;box-shadow:inset 4px 0 #6fded0}
html #report .profileIdentity{min-width:0;flex:1}
html #report .profileIdentity h2{font-size:25px;margin:3px 0 7px;font-weight:800;color:#fff}
html #report .profileIdentityMeta{gap:6px;flex-wrap:wrap}
html #report .profileIdentityMeta>span{background:#101e29!important;color:#d3e7f2;border:1px solid #486271;padding:4px 7px;border-radius:6px}
html #report .profileTabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;background:#101d27!important;border:0!important}
html #report .profileTabs button{flex:1 1 125px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 12px;border:1px solid #486171!important;border-radius:9px;background:#1d303e!important;color:#d9eaf4!important;box-shadow:0 3px 0 #040a10;font-weight:700;font-size:13px}
html #report .profileTabs button:is(.active,[aria-selected=true]){background:linear-gradient(135deg,#ffbf70,#ff913b)!important;color:#281706!important;border-color:#ffd49d!important;box-shadow:0 3px 0 #80471f}
html #report .profileTabs button[data-profile-tab=collector]:not(.active){background:#164139!important;color:#a2f2df!important;border-color:#458f80!important}
html #report .profileTabs button:hover{filter:brightness(1.13)}
html #report :is(button,summary,a,input,select):focus-visible{outline:3px solid #8ee7ff!important;outline-offset:3px}
html #report .profilePane{padding:8px 16px 16px}
html #report .profilePane[hidden]{display:none!important}
html #report :is(.profileSummaryGrid,.profileSquadGrid){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html #report .profileSummaryGrid{margin:0 0 14px}
html #report .profileSummaryGrid article{padding:14px;background:linear-gradient(135deg,#213744,#14232e)!important;border:1px solid var(--pr-line)!important;border-top:3px solid #6bcfe3!important;border-radius:10px;min-width:0}
html #report .profileSummaryGrid article:first-child{border-top-color:#ffab53!important;background:linear-gradient(135deg,#3a2d23,#1b252e)!important}
html #report .profileSummaryGrid article:nth-child(3){border-top-color:#ac99ff!important}
html #report .profileSummaryGrid article:nth-child(4){border-top-color:#60d9b1!important}
html #report .profileSummaryGrid strong{display:block;font-size:24px;color:#f4f9fc;margin:7px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html #report .profileSummaryGrid article:first-child strong{color:#ffc075}
html #report .profileSummaryGrid :is(small,span){font-size:11px;color:var(--pr-muted);line-height:1.45}
html #report .profileOverviewSection{margin:12px 0 0;padding:14px;background:#15232d!important;border:1px solid var(--pr-line)!important;border-radius:11px}
html #report .profileOverviewSection>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0;background:transparent!important;border:0}
html #report .profileOverviewSection h3{font-size:17px;margin:4px 0;color:#f2f7fb}
html #report .profileSquadGrid article{position:relative;min-width:0;padding:14px;background:linear-gradient(135deg,#273b49,#15232d)!important;border:1px solid #486171!important;border-top:3px solid #8da8b8!important;border-radius:10px}
html #report .profileSquadGrid article[data-squad-kind=tank]{background:linear-gradient(135deg,#3b3022,#19232a)!important;border-color:#775537!important;border-top-color:#efa34f!important}
html #report .profileSquadGrid article[data-squad-kind=air]{background:linear-gradient(135deg,#1b384d,#14232e)!important;border-color:#385e78!important;border-top-color:#64bbff!important}
html #report .profileSquadGrid article[data-squad-kind=missile]{background:linear-gradient(135deg,#332b4a,#1c2331)!important;border-color:#5c527c!important;border-top-color:#b09bff!important}
html #report .profileSquadGrid strong{display:block;font-size:27px;font-weight:800;margin:13px 0 7px;color:#fff;letter-spacing:-.5px}
html #report .profileSquadGrid :is(small,span){font-size:12px;color:#c7dce7}
html #report .profileSquadGrid .prSquadIcon{width:32px;height:32px;display:block;margin-bottom:10px;color:#ffc579}
html #report [data-squad-kind=air] .prSquadIcon{color:#83cbff}
html #report [data-squad-kind=missile] .prSquadIcon{color:#c1b3ff}
html #report .profileIconAction{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px!important;border:1px solid #7898af!important;border-radius:10px;background:#2c485b!important;color:#f2f8ff!important;flex:none}
html #report .profileIconActionOrange{background:linear-gradient(135deg,#ffc176,#ff933c)!important;border-color:#ffd49d!important;color:#281706!important}
html #report .profileIconAction svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html #report .profileIconAction:hover{filter:brightness(1.15)}
html #report .profileEditDetails{background:transparent!important;border:0;padding:0}
html #report .profileEditDetails summary{min-height:44px;padding:12px;border:1px solid #638298;border-radius:8px;background:#223c4d;color:#e3f3ff;cursor:pointer}
html #report .profileEditDetails[open] summary{margin-bottom:14px}
html #report :is(.profilePowerForm,.profileAvailabilityForm,.profileAbsenceCard,.personalProgress,.profileActivityNote){background:#15232d!important;border:1px solid var(--pr-line)!important;border-radius:11px;padding:16px}
html #report :is(.troop,.profileActivityGrid article,.growthSlots>div){background:#203340!important;border:1px solid #456073!important;color:#edf4fa;border-radius:10px;padding:14px;min-width:0}
html #report :is(input,select){background:#0b1822!important;border:1px solid #658195!important;color:#f0f6fa!important;min-height:44px;max-width:100%;box-sizing:border-box;border-radius:7px}
html #report :is(.profileCoreForm,.profileAvailabilityGrid,.troops){gap:12px}
html #report .profilePaneHead h3{font-size:22px;color:#fff}
html #report .profilePaneHead p{font-size:13px}
html #report .profileParticipationPreview>div>strong{color:#8ce6ba;font-size:28px}
html #report [data-profile-panel=collector]{border-top:3px solid #64ddc4}
html #report .prTabIcon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){html #report .profileSummaryGrid,html #report .profileSquadGrid{grid-template-columns:repeat(2,minmax(0,1fr))}html #report .profileHero{padding:14px 12px;gap:10px}html #report .profileIdentity h2{font-size:21px}html #report .profileTabs{padding:10px;gap:7px}html #report .profilePane{padding:6px 10px 10px}html #report .profileOverviewSection{padding:10px}html #report .profileSummaryGrid article,html #report .profileSquadGrid article{padding:11px}html #report .profileSummaryGrid strong{font-size:20px}html #report .profileSquadGrid strong{font-size:23px}html #report .profileAvailabilityGrid,html #report .profileCoreForm,html #report .troops{grid-template-columns:1fr}html #report .profileActivityGrid{grid-template-columns:repeat(2,minmax(0,1fr))}html #report .profileTabs button{flex-basis:120px}html #report .profileTabs button:last-child{flex-basis:100%}}
html #report .profileTabs{margin:0}
html #report .profileSummaryGrid article{display:block;min-height:0}
html #report .profileSummaryGrid small{overflow-wrap:anywhere;hyphens:auto}
html #report .profileSquadGrid .prSquadIcon{width:38px;height:38px;stroke-linecap:round;stroke-linejoin:round}
html #report .profileSquadGrid article{display:block;min-height:0}
html #report .profileParticipationPreview>div>strong{white-space:nowrap;flex:none}
html #report .prProfileEditor{position:relative}
html #report .prProfileEditor>header{padding-right:58px;min-height:44px;margin-bottom:0}
html #report .prProfileEditor summary{position:absolute;right:14px;top:14px;list-style:none}
html #report .prProfileEditor summary::-webkit-details-marker{display:none}
html #report .profileEditDetails[open]{padding-top:16px}
html #report .prAccessibleLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){html #report .profileSummaryGrid,html #report .profileSquadGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html #report .profileOverviewSection>header{flex-direction:row;align-items:center}html #report .profileSquadGrid strong{font-size:22px}html #report .prProfileEditor summary{top:10px;right:10px}}
@media(prefers-reduced-motion:no-preference){html #report .profileIconAction{transition:transform .15s,filter .15s}html #report .profileIconAction:hover{transform:translateY(-1px)}}

/* Wüstensturm: compact planning surfaces. Map geometry and export styles are untouched. */
html #desert{color:#edf4fa!important;background:#101d27!important;border:1px solid #3d5667!important;border-radius:14px;padding:20px}
html #desert :is(h2,h3,h4){font-family:Arial,sans-serif!important;color:#f1f7fb}
html #desert>.panelHead h2{font-size:23px;margin:0 0 6px}
html #desert>.panelHead p{font-size:13px;color:#abc4d3;margin:0}
html #desert>.panelHead{margin-bottom:16px}
html #desert :is(.eventToolbar,.desertTacticMode,.desertSelfExcuse,.desertExcuseManager,.autoAssign,.priorityManual,.priorityPhase,.priorityTacticIntro){padding:14px;border:1px solid #456171!important;border-radius:10px;background:#192d3a!important;color:#e5f1f8;margin:12px 0}
html #desert .desertSelfExcuse{border-left:4px solid #66d6bd!important;background:#173832!important;gap:12px}
html #desert .desertSelfExcuse small{color:#b0d9cf;line-height:1.5}
html #desert .desertExcuseManager summary{min-height:44px;cursor:pointer;font-weight:700;color:#c9dfed;display:list-item;padding:10px 0}
html #desert .desertExcuseManager:not([open]){padding-block:4px}
html #desert .desertExcuseManager p{font-size:12px;color:#aac4d4}
html #desert .desertExcusePlayer{background:#10212d;border:1px solid #3b596a;border-radius:8px;padding:10px;color:#e5f1f8}
html #desert .desertExcusePlayer .fixtureAvatar{width:28px;height:28px;font-size:10px}
html #desert .stormTeamTabs{display:flex;gap:10px;margin:16px 0}
html #desert .stormTeamTabs a{flex:1;min-height:46px;padding:13px 16px;border:1px solid #526f82!important;border-radius:9px;background:#203747!important;color:#cee3ee!important;text-align:center;font-weight:750}
html #desert .stormTeamTabs a.active{background:linear-gradient(135deg,#ffc176,#ff963f)!important;border-color:#ffd49d!important;color:#2b1808!important;box-shadow:0 3px 0 #704724}
html #desert .eventToolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:16px;align-items:end}
html #desert .eventToolbar form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:0;min-width:0}
html #desert .eventToolbar label{flex:1;min-width:130px;margin:0;color:#cce1ec;font-size:12px}
html #desert .eventToolbar label small{display:block;color:#a3bdce;font-size:10px}
html #desert :is(.eventToolbar,.desertTacticMode,.rosterAdd,.rosterPlayer,.priorityManual,.publicEventSelect) :is(input,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;background:#0c1c27!important;color:#edf5fb!important;border:1px solid #597b90!important;border-radius:7px;padding:9px;font-size:13px}
html #desert :is(.eventToolbar,.desertTacticMode,.rosterAdd,.rosterPlayer,.desertSelfExcuse,.eventHeading,.autoAssign,.priorityManual) button{min-height:44px;padding:10px 14px;border:1px solid #ffcd90;border-radius:8px;background:linear-gradient(135deg,#ffc176,#ff963f)!important;color:#2b1808!important;font-weight:750;line-height:1.3}
html #desert .eventHeading button.unpublish{background:#233b4b!important;border-color:#6c8ca0;color:#deecf5!important}
html #desert .desertTacticMode{display:flex;gap:16px;align-items:center;justify-content:space-between;border-left:4px solid #ac99ff!important}
html #desert .desertTacticMode>div{flex:1;min-width:0}
html #desert .desertTacticMode strong{display:block;font-size:20px;margin:4px 0;color:#e0d7ff}
html #desert .desertTacticMode small{font-size:12px;line-height:1.5;color:#afc6d6}
html #desert .desertTacticMode form{display:flex;gap:10px;align-items:end;flex:1;min-width:0}
html #desert .desertTacticMode label{flex:1;min-width:0;color:#c9dfed;font-size:12px}
html #desert .desertTacticHelp{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 18px}
html #desert .desertTacticHelp details{background:#152734!important;border:1px solid #3f5b6e!important;border-radius:9px;color:#d2e4ef;min-width:0}
html #desert .desertTacticHelp summary{min-height:52px;padding:12px;cursor:pointer}
html #desert .desertTacticHelp summary b{font-size:13px;color:#d8e9f3}
html #desert .desertTacticHelp summary small{display:none}
html #desert .desertTacticHelp summary em{font-size:10px;color:#a5c4d6}
html #desert .desertTacticHelp details.isActive{border-color:#ad9afa!important}
html #desert .desertTacticHelp details>div{font-size:13px;line-height:1.55;padding:12px;color:#c9dfed}
html #desert .eventHeading{margin:18px 0 10px;align-items:center;gap:12px}
html #desert .eventHeading h3{font-size:21px;margin:4px 0}
html #desert .eyebrow{font-size:10px;color:#ffb76a;letter-spacing:.12em}
html #desert .rosterStats{display:flex;gap:10px;margin-bottom:14px}
html #desert .rosterStats>strong{flex:1;padding:14px;background:linear-gradient(135deg,#3b3022,#1b2933)!important;color:#ffd094;border:1px solid #86613e;border-top:3px solid #ffa950;border-radius:9px;font:750 25px Arial}
html #desert .rosterStats>strong:nth-child(2){background:linear-gradient(135deg,#29324a,#172733)!important;color:#ccbdff;border-color:#625b88;border-top-color:#ac99ff}
html #desert .rosterStats small{font:600 12px Arial;margin-left:8px;color:#ccdce6}
html #desert .rosterAdd{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr) auto;gap:10px;padding:12px;background:#1b3240!important;border:1px solid #426173;border-radius:9px}
html #desert .rosterList{display:grid;gap:8px}
html #desert .rosterPlayer{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(90px,.6fr) minmax(140px,1fr) minmax(150px,1fr) 44px;gap:10px;align-items:center;padding:12px;border:1px solid #3d596c!important;border-radius:9px;background:#152936!important}
html #desert .rosterPlayer>div{min-width:0}
html #desert .rosterPlayer strong{font-size:14px;color:#edf6fc;overflow-wrap:anywhere}
html #desert .rosterPlayer small{display:block;font-size:11px;line-height:1.5;color:#acc8d9}
html #desert .rosterPlayer .remove{min-width:44px;width:44px;padding:10px;background:#402b32!important;border-color:#8c5666;color:#ffd3dc!important}
html #desert .publicRoster{display:grid;grid-template-columns:2fr 1fr;gap:12px}
html #desert .publicRoster>div{background:#152936!important;border:1px solid #3e5b6d;border-radius:10px;padding:14px}
html #desert .publicRoster h3{margin:0 0 10px;font-size:17px}
html #desert .publicRoster>div>span{display:block;padding:11px 0;border-top:1px solid #355063;font-weight:700;color:#e7f3fa}
html #desert .publicRoster small{display:block;color:#a9c6d8;font-size:12px;font-weight:400;line-height:1.6}
html #desert .autoAssign fieldset{border:1px solid #547185;border-radius:8px;padding:12px}
html #desert .autoAssign label{color:#c8deeb}
html #desert :is(button,a,input,select,summary):focus-visible{outline:3px solid #8ee7ff!important;outline-offset:3px}
@media(max-width:1150px){html #desert .rosterPlayer{grid-template-columns:repeat(3,minmax(0,1fr)) 44px}html #desert .rosterPlayer>div{grid-column:1/-1}html #desert .eventToolbar{grid-template-columns:1fr}html #desert .desertTacticMode{align-items:stretch;flex-direction:column}}
@media(max-width:700px){html #desert{padding:12px}html #desert .desertTacticHelp,html #desert .publicRoster{grid-template-columns:1fr}html #desert .rosterPlayer{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}html #desert .rosterPlayer [name=assignment]{grid-column:1/3;grid-row:3}html #desert .rosterPlayer .remove{grid-column:3;grid-row:2/4}html #desert .rosterPlayer [name=attendance]{grid-column:2}html #desert .rosterPlayer [name=role]{grid-column:1}html #desert .rosterAdd{grid-template-columns:1fr 1fr}html #desert .rosterAdd button{grid-column:1/-1}html #desert .desertTacticMode form{flex-direction:column;align-items:stretch}html #desert .eventHeading{flex-wrap:wrap}html #desert .desertSelfExcuse{flex-direction:column;align-items:stretch}html #desert .rosterStats>strong{font-size:22px;padding:12px}html #desert .rosterStats small{display:block;margin:5px 0 0}}
html #desert .prAccessibleLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html #desert button.desertRefreshIcon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:10px}
html #desert .desertRefreshIcon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:420px){html #desert .rosterPlayer{grid-template-columns:minmax(0,1fr) 44px}html #desert .rosterPlayer [name=role]{grid-column:1;grid-row:2}html #desert .rosterPlayer [name=attendance]{grid-column:1;grid-row:3}html #desert .rosterPlayer [name=assignment]{grid-column:1/-1;grid-row:4}html #desert .rosterPlayer .remove{grid-column:2;grid-row:2/4}}

/* Schluchtsturm: retains original rendering, filtering and submission logic. */
html #canyon-plan{--cp-accent:#69d9c4;--cp-on-accent:#082820;background:#101d27!important;color:#edf4fa!important;border:1px solid #3d5667!important;border-radius:14px;padding:20px}
html #canyon-plan :is(h2,h3,h4){font-family:Arial,sans-serif!important;color:#f0f7fb}
html #canyon-plan>.panelHead h2{font-size:23px;margin:0 0 6px}
html #canyon-plan p{color:#aec7d7;font-size:13px;line-height:1.55}
html #canyon-plan .cpToolbar{gap:10px;margin:14px 0}
html #canyon-plan :is(input:not([type=checkbox]),select){min-height:44px;padding:10px;background:#0c1c27!important;color:#edf5fb!important;border:1px solid #5a7b90!important;border-radius:8px;font-size:13px}
html #canyon-plan label{color:#bfd7e5;font-size:12px}
html #canyon-plan button{min-height:44px;border:1px solid #ffd09a;border-radius:8px;background:linear-gradient(135deg,#ffc176,#ff963f)!important;color:#2b1808!important;padding:10px 14px;font-size:13px;font-weight:750}
html #canyon-plan button.ghost{background:#203b4c!important;border-color:#5c7c91;color:#e1f0fa!important}
html #canyon-plan button:disabled{opacity:.45;cursor:not-allowed}
html #canyon-plan .cpTeams{gap:10px;margin:14px 0}
html #canyon-plan .cpTeams a{padding:14px;background:#1b3342!important;border:1px solid #53738a!important;border-radius:10px;color:#d5e9f4!important;gap:5px}
html #canyon-plan .cpTeams strong{font-size:19px}
html #canyon-plan .cpTeams span{font-size:12px}
html #canyon-plan .cpTeams a.active{background:linear-gradient(125deg,#ffc47c,#ff9a44)!important;border-color:#ffdaab!important;color:#2c1b0b!important;box-shadow:0 3px 0 #754622}
html #canyon-plan .cpCard{background:#162a37!important;border:1px solid #3f5d70!important;border-radius:10px;padding:16px;margin:14px 0}
html #canyon-plan .cpHeading{justify-content:space-between;margin:0 0 10px;gap:8px}
html #canyon-plan .cpHeading h3{font-size:20px;margin:0}
html #canyon-plan .cpHeading>span{padding:5px 9px;border:1px solid #658697;background:#223b47;color:#d5e8ef;border-radius:6px;font-size:11px}
html #canyon-plan .cpMatch{gap:10px}
html #canyon-plan .cpMatch>div{padding:14px;background:linear-gradient(130deg,#153e37,#17303e)!important;border:1px solid #528f83!important;border-left:4px solid #6ee0c6!important;gap:6px}
html #canyon-plan .cpMatch>div+div{background:linear-gradient(130deg,#342b43,#1d2e3b)!important;border-color:#72648c!important;border-left-color:#b39bff!important}
html #canyon-plan .cpMatch small{color:#aac9d8;font-size:11px}
html #canyon-plan .cpMatch strong{font-size:16px;color:#e3f5fc}
html #canyon-plan .cpMatch span{font-size:12px;color:#c5dce8}
html #canyon-plan summary{min-height:44px;padding:12px 0;color:#d6eaf5;cursor:pointer}
html #canyon-plan .cpCounters{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:10px 0}
html #canyon-plan .cpCounters>span{padding:12px;background:#1c3343;border:1px solid #486579;border-top:3px solid #7bc6e4;border-radius:9px;color:#c9dfec;font-size:12px;gap:10px}
html #canyon-plan .cpCounters b{font:750 25px Arial;color:#edf7ff}
html #canyon-plan .cpCounters+ .cpCounters>span:first-child{border-top-color:#ffac5b}
html #canyon-plan .cpCounters+ .cpCounters>span:nth-child(2){border-top-color:#b29afa}
html #canyon-plan .cpSourceTabs{background:#0e202c!important;border-color:#456176;gap:8px;padding:8px}
html #canyon-plan .cpSourceTabs button{background:#213c4d!important;border:1px solid #54768b;color:#d8ebf6!important}
html #canyon-plan .cpSourceTabs button[aria-selected=true]{background:linear-gradient(135deg,#ffc176,#ff963f)!important;color:#2c1b0b!important;border-color:#ffdcaa;box-shadow:none}
html #canyon-plan .cpSourceTabs button[data-cp-source-tab=collector]{border-color:#66d9c2}
html #canyon-plan .cpFilters{gap:7px;flex-wrap:wrap}
html #canyon-plan .cpFilters button{padding:9px 11px;min-height:44px;font-size:12px}
html #canyon-plan .cpFilters button[aria-pressed=true]{background:#70dbc5!important;color:#0b2927!important;border-color:#a4f6e3}
html #canyon-plan .cpFilters b{color:inherit}
html #canyon-plan .cpRosterToolbar{gap:12px;align-items:end}
html #canyon-plan .cpRosterList{display:grid;gap:8px}
html #canyon-plan .cpRosterList .cpRow{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1fr) minmax(140px,1fr) 44px 44px;gap:10px;padding:12px;margin:0;background:#10232f;border:1px solid #405f74;border-radius:9px}
html #canyon-plan .cpRosterList div.cpRow{grid-template-columns:2fr 1fr 1fr}
html #canyon-plan .cpRosterList .cpRow>strong{font-size:14px;color:#eff7fc}
html #canyon-plan .cpRosterList [data-role=Starter]>.cpRow{border-left:3px solid #ffad5f}
html #canyon-plan .cpRosterList [data-role=Ersatz]>.cpRow{border-left:3px solid #b09af6}
html #canyon-plan .cpRosterList [data-cp-roster-row][hidden]{display:none!important}
html #canyon-plan .cpRosterList select{font-size:12px}
html #canyon-plan .cpCandidates{background:#10232f;border-color:#476679}
html #canyon-plan .cpCandidate{color:#d8eaf4;border-color:#3e5c70}
html #canyon-plan .cpCandidate input{accent-color:#69d9c4}
html #canyon-plan .cpCandidate strong{color:#e7f2fa}
html #canyon-plan .cpBulkFooter{background:#203a48;color:#dceef8;border-color:#4a6b7e}
html #canyon-plan .cpAttendance{border-left:4px solid #8fcce4!important}
html #canyon-plan :is(button,a,input,select,summary):focus-visible{outline:3px solid #8ee7ff!important;outline-offset:3px}
html #canyon-plan .cpRefreshIcon{display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;min-width:44px;padding:10px}
html #canyon-plan .cpRefreshIcon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html #canyon-plan .cpRefreshIcon[value=cp_remove]{background:#422b34!important;color:#ffd8df!important;border-color:#926071}
html #canyon-plan .prAccessibleLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){html #canyon-plan .cpRosterList .cpRow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px}html #canyon-plan .cpRosterList .cpRow>strong{grid-column:1/-1}}
@media(max-width:600px){html #canyon-plan{padding:12px}html #canyon-plan .cpCard{padding:12px}html #canyon-plan .cpTeams{grid-template-columns:1fr 1fr}html #canyon-plan .cpTeams a{padding:12px}html #canyon-plan .cpCounters{grid-template-columns:1fr 1fr}html #canyon-plan .cpRosterList .cpRow{grid-template-columns:minmax(0,1fr) 44px 44px}html #canyon-plan .cpRosterList .cpRow>label{grid-column:1/-1}html #canyon-plan .cpRosterList .cpRow button{grid-row:4}html #canyon-plan .cpRosterList .cpRow button[value=cp_member]{grid-column:2}html #canyon-plan .cpRosterList .cpRow button[value=cp_remove]{grid-column:3}html #canyon-plan .cpRosterList div.cpRow{grid-template-columns:1fr}html #canyon-plan .cpSourceTabs button{font-size:12px;padding:9px 5px}}
html #canyon-plan summary.cpMetaEdit{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:12px 0 0 auto;padding:10px;border:1px solid #ffd49d;border-radius:9px;background:linear-gradient(135deg,#ffc176,#ff963f);color:#2b1808;list-style:none}
html #canyon-plan summary.cpMetaEdit::-webkit-details-marker{display:none}
html #canyon-plan>.panelHead{padding-bottom:10px;margin-bottom:10px}
html #canyon-plan .cpToolbar label{margin-bottom:0}

/* Event registration: existing signup windows and submitted roles stay authoritative. */
html #event-signup{background:#101d27!important;color:#edf4fa!important;border:1px solid #3f5c70!important;border-radius:14px;padding:20px}
html #event-signup :is(h2,h3){font-family:Arial,sans-serif!important;color:#edf6fc}
html #event-signup .weeklySignupHead{gap:16px;margin-bottom:14px;align-items:center}
html #event-signup .weeklySignupHead h2{font-size:23px;margin:4px 0}
html #event-signup .weeklySignupHead p{font-size:13px;color:#b0cbdc;line-height:1.5}
html #event-signup .eyebrow{color:#ffb66b;font-size:10px;letter-spacing:.12em}
html #event-signup .signupWeekNav{background:#1a3242!important;border:1px solid #54768c;border-radius:10px;padding:10px;gap:12px;min-width:0}
html #event-signup .signupWeekNav a{display:grid;place-items:center;min-width:44px;min-height:44px;padding:5px;border:1px solid #648da4;border-radius:8px;background:#29495c!important;color:#e8f5fc!important;font-size:25px;text-decoration:none}
html #event-signup .signupWeekNav :is(strong,small,span){color:#d6eaf6;font-family:Arial,sans-serif}
html #event-signup .signupWeekNav strong{font-size:15px}
html #event-signup .weeklySignupTimezone{margin:8px 0 12px;color:#aac4d5;font-size:11px}
html #event-signup .signupExcusePanel{padding:14px;background:#173a34!important;border:1px solid #478577!important;border-left:4px solid #6ee0c7!important;border-radius:10px;margin:12px 0;color:#d9f6ec}
html #event-signup .signupExcusePanel small{color:#b4dace;font-size:12px;line-height:1.5}
html #event-signup .signupExcuse{gap:10px;padding:12px;background:#142b31!important;border:1px solid #4a706e!important;border-radius:8px;color:#e2f3f2}
html #event-signup .signupExcuseManager{background:#1b3040!important;border:1px solid #46667c;border-radius:10px;margin:12px 0;padding:5px 14px}
html #event-signup .signupExcuseManager summary{cursor:pointer;min-height:44px;padding:12px 0;color:#d1e6f3}
html #event-signup .signupExcuseManager p{color:#adc9d9;font-size:12px;line-height:1.5}
html #event-signup .signupExcuseManager .fixtureAvatar{width:28px;height:28px;font-size:10px}
html #event-signup .weeklyEventDays{gap:16px}
html #event-signup .weeklyEventDay{background:transparent!important;border:0!important;padding:0;margin:18px 0}
html #event-signup .weeklyEventDay>header{padding:10px 0;background:transparent!important;border-bottom:1px solid #36566a;margin-bottom:12px;color:#d6e9f6}
html #event-signup .weeklyEventDay>header strong{font:750 19px Arial;color:#eaf5fc}
html #event-signup .weeklyEventDay>header :is(small,span){font-size:12px;color:#a9c8da}
html #event-signup .weeklyEventGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html #event-signup .weeklyEventCard{background:#172d3b!important;border:1px solid #53758b!important;border-top:3px solid #b69bff!important;border-radius:12px;padding:16px;min-width:0}
html #event-signup .weeklyEventCard.desert{border-top-color:#ffb261!important}
html #event-signup .weeklyEventCard.isInactive{opacity:1;background:#15232d!important;border-color:#4d6171!important;border-style:dashed!important}
html #event-signup .weeklyEventTitle{gap:10px;margin-bottom:14px;align-items:center}
html #event-signup .weeklyEventTitle h3{font-size:23px;margin:3px 0}
html #event-signup .weeklyEventTitle small{font-size:12px;color:#c1dbe9}
html #event-signup .weeklyEventTitle time{font:750 22px Arial;color:#f3f8fd}
html #event-signup .eventMark{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border-radius:10px;background:#44355f!important;color:#dbcaff!important;border:1px solid #9580bb}
html #event-signup .eventMark.desert{background:#4b3524!important;color:#ffd6a2!important;border-color:#a17b4c}
html #event-signup .signupChoices button{min-height:76px;padding:12px;border:1px solid #62879f!important;border-radius:9px;background:#213d50!important;color:#e0eff9!important;box-shadow:none}
html #event-signup .signupChoices button strong{color:inherit;font:750 16px Arial}
html #event-signup .signupChoices button small{color:inherit;font:12px Arial;opacity:.85}
html #event-signup .signupChoices button>span{font-size:22px;color:inherit}
html #event-signup .signupChoices .signupStarter.selected{background:linear-gradient(135deg,#ffc176,#ff9b48)!important;border-color:#ffe0b5!important;color:#2f1c0a!important;box-shadow:inset 0 0 0 1px #ffe0b5}
html #event-signup .signupChoices .signupReserve.selected{background:#c5b3ff!important;border-color:#e2d6ff!important;color:#23133f!important;box-shadow:inset 0 0 0 1px #e2d6ff}
html #event-signup .signupCancel button{min-height:44px;padding:10px;border:1px solid #748ba0;border-radius:8px;background:#213542!important;color:#dcecf5!important;font-size:12px}
html #event-signup :is(.signupState,.signupClosed,.signupUnavailable){padding:12px;background:#10212d!important;border:1px solid #466477;border-radius:8px;color:#bdd6e5;font-size:13px;line-height:1.5}
html #event-signup .signupCounts{display:flex;gap:10px;margin:12px 0;color:#bdd9e9}
html #event-signup .signupCounts span{flex:1;padding:9px;background:#112532;border:1px solid #35566d;border-radius:7px;font-size:12px}
html #event-signup .signupCounts b{font:750 20px Arial;color:#eef8ff;margin-right:5px}
html #event-signup .signupAdmin summary{cursor:pointer;min-height:44px;color:#bdd9eb;padding:12px 0;font-size:12px}
html #event-signup .signupAdmin a{color:#88dbef}
html #event-signup .signupExcuse button{min-height:44px;background:#254a49!important;color:#d3fff1!important;border:1px solid #63998b;border-radius:8px;padding:10px 13px}
html #event-signup .weeklySignupSummary{background:#152a37!important;border:1px solid #426378;border-radius:10px;padding:16px}
html #event-signup :is(.signupEventSummary,.signupEventRoles section){background:#10232f!important;border-color:#3f6074!important;color:#d9ebf6}
html #event-signup .signupEventSummary :is(strong,b,small,time){color:#c7deec}
html #event-signup .weeklySignupNote{font-size:12px;color:#abc7d8;line-height:1.6}
html #event-signup :is(button,a,summary):focus-visible{outline:3px solid #8ee7ff!important;outline-offset:3px}
html #event-signup .signupRefreshGlyph{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){html #event-signup .weeklySignupHead{flex-direction:column;align-items:stretch}html #event-signup .signupWeekNav{justify-content:space-between}}
@media(max-width:650px){html #event-signup{padding:12px}html #event-signup .weeklyEventGrid{grid-template-columns:1fr}html #event-signup .weeklyEventCard{padding:12px}html #event-signup .signupExcuse{flex-direction:column;align-items:stretch}html #event-signup .signupWeekNav{padding:8px;gap:7px}html #event-signup .signupWeekNav strong{font-size:13px}html #event-signup .weeklySignupSummary{padding:12px}html #event-signup .signupEventSummaryGrid{grid-template-columns:1fr}}
html #event-signup .signupChoices button>span{opacity:1!important}
html #event-signup .signupChoices .signupStarter.selected .signupRefreshGlyph{color:#43270e!important;opacity:1!important}
html #event-signup .signupChoices .signupReserve.selected .signupRefreshGlyph{color:#281447!important;opacity:1!important}
html #event-signup .signupAdmin summary.signupEditIcon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:10px 0 0 auto;padding:10px;border:1px solid #ffd49d;border-radius:8px;background:#ffb361;color:#321c09;list-style:none}
html #event-signup .signupEditIcon::-webkit-details-marker{display:none}
html #event-signup .prAccessibleLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Bonus event calendar: exact dates and times remain in the original template. */
html #event-calendar{background:#101d27!important;color:#edf4fa!important;border:1px solid #3f5d71!important;border-radius:14px;padding:20px;overflow:visible}
html #event-calendar :is(h2,h3){font-family:Arial,sans-serif!important;color:#edf6fc}
html #event-calendar .eventCalendarHead{gap:16px;margin-bottom:14px}
html #event-calendar .eventCalendarHead h2{font-size:23px;margin:4px 0}
html #event-calendar .eventCalendarHead p{font-size:13px;line-height:1.5;color:#b2cddd;margin:6px 0}
html #event-calendar .eyebrow{font-size:10px;color:#ffb970;letter-spacing:.12em}
html #event-calendar .eventTimezone{padding:12px 14px;background:#1c3545!important;border:1px solid #4d7189!important;border-radius:10px;min-width:180px}
html #event-calendar .eventTimezone strong{color:#ffce95;font:700 15px Arial}
html #event-calendar .eventTimezone small{color:#a8dced;font-size:11px}
html #event-calendar .eventTimezone>span{color:#bed9e8;font-size:10px}
html #event-calendar .eventCalendarLegend{margin:12px 0;gap:14px;flex-wrap:wrap;padding:10px 12px;background:#172d3b;border:1px solid #39596f;border-radius:8px;color:#c2dce9;font-size:12px}
html #event-calendar .eventCalendarLegend>small{color:#a9c7d8;font-size:11px}
html #event-calendar .eventDot.ger{background:#83d7ed}
html #event-calendar .eventDot.server{background:#ffbe78}
html #event-calendar .calendarDayShortcuts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:14px 0 18px}
html #event-calendar .calendarDayShortcuts button{display:grid;gap:5px;place-items:center;min-width:0;min-height:58px;padding:9px 5px;background:#1d3749!important;color:#dbeef9!important;border:1px solid #587b91!important;border-radius:9px;font-size:12px;line-height:1.3}
html #event-calendar .calendarDayShortcuts button small{color:#a6c7d9;font-size:10px}
html #event-calendar .calendarDayShortcuts button[aria-current=date]{background:linear-gradient(135deg,#ffc176,#ff9a44)!important;color:#2f1c0b!important;border-color:#ffdaa5!important;box-shadow:0 3px 0 #70451f}
html #event-calendar .calendarDayShortcuts button[aria-current=date] small{color:#503014}
html #event-calendar .eventWeek{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html #event-calendar .eventDay{min-width:0;border:1px solid #46667c!important;border-radius:11px;background:#162b39!important;overflow:hidden;scroll-margin-top:calc(var(--owner-header-height,80px) + 16px)}
html #event-calendar .eventDay.isToday{border:2px solid #ffb56b!important;box-shadow:0 0 0 3px #ffae5512}
html #event-calendar .eventDayHead{display:flex;justify-content:space-between;align-items:center;padding:13px;background:#203b4c!important;border-bottom:1px solid #456579}
html #event-calendar .eventDayHead h3{font-size:17px;margin:3px 0}
html #event-calendar .eventDayHead span{font-size:10px;color:#abc8d9}
html #event-calendar .eventDayHead time{font:700 14px Arial;color:#c2e3f3}
html #event-calendar .eventDay.isToday .eventDayHead{background:linear-gradient(120deg,#4a3425,#273b43)!important}
html #event-calendar .eventDay.isToday .eventDayHead h3,html #event-calendar .eventDay.isToday .eventDayHead time{color:#ffcc90}
html #event-calendar .eventRows{padding:0 10px}
html #event-calendar .eventRow{display:grid;grid-template-columns:46px 52px minmax(0,1fr);gap:8px;align-items:center;padding:12px 0;min-height:62px;border-bottom:1px solid #355166;background:transparent!important}
html #event-calendar .eventRow:last-child{border-bottom:0}
html #event-calendar .eventRowHeader{min-height:34px;padding:9px 0;font-size:9px;color:#90b2c8;letter-spacing:.04em}
html #event-calendar .eventRow strong{font:650 12px/1.5 Arial;color:#deedf6;overflow-wrap:anywhere}
html #event-calendar .eventRow .gerTime{font:750 13px Arial;color:#9bdef1}
html #event-calendar .eventRow .serverTime{font:750 13px Arial;color:#ffca8d}
html #event-calendar .eventRow .serverTime small{display:block;font:10px Arial;color:#ddae7a;margin-top:4px}
html #event-calendar .eventCalendarNote{color:#a7c4d6;font-size:12px;line-height:1.6;margin:16px 0 0}
html #event-calendar :is(button,[tabindex]):focus-visible{outline:3px solid #8ee7ff!important;outline-offset:3px}
@media(max-width:1150px){html #event-calendar .eventWeek{grid-template-columns:repeat(2,minmax(0,1fr))}html #event-calendar .calendarDayShortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){html #event-calendar{padding:12px}html #event-calendar .eventCalendarHead{flex-direction:column;align-items:stretch}html #event-calendar .eventTimezone{min-width:0}html #event-calendar .eventWeek{grid-template-columns:1fr}html #event-calendar .calendarDayShortcuts{gap:6px}html #event-calendar .calendarDayShortcuts button{font-size:10px;min-height:54px}html #event-calendar .eventRow{grid-template-columns:47px 55px minmax(0,1fr);padding:10px 0;min-height:54px}html #event-calendar .eventDayHead{padding:12px}html #event-calendar .eventCalendarLegend{gap:10px}}
html #event-calendar .eventRow .serverTime{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;font:750 13px Arial!important;white-space:normal}
html #event-calendar .eventRow .gerTime{font:750 13px Arial!important}
html #event-calendar .eventRow .serverTime small{display:block!important;position:static!important;font:10px Arial!important;margin:0;white-space:nowrap}

html body.allianceRefresh #report .prCollectorShortcut{display:flex;align-items:center;gap:14px;width:100%;min-height:70px;margin:12px 0;padding:13px 16px;text-align:left;background:linear-gradient(110deg,#173e49,#182f42);border:1px solid #66cdbd;border-left:4px solid #79e6c9;border-radius:10px;color:#d9fff4;box-shadow:none}
html body.allianceRefresh #report .prCollectorShortcut[hidden]{display:none}
html body.allianceRefresh #report .prCollectorShortcut>svg{width:36px;height:36px;flex:0 0 36px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body.allianceRefresh #report .prCollectorShortcut>span{flex:1;min-width:0}
html body.allianceRefresh #report .prCollectorShortcut strong{display:block;font-size:18px}
html body.allianceRefresh #report .prCollectorShortcut small{display:block;font-size:12px;color:#b9dcd8;margin-top:3px}
html body.allianceRefresh #report .prCollectorShortcut .prCollectorArrow{width:23px;height:23px;flex-basis:23px;color:#ffbf78}
html body.allianceRefresh #report .prCollectorShortcut:hover{background:#224957;border-color:#a2f7df}
html body.allianceRefresh #report .prCollectorShortcut:focus-visible{outline:3px solid #ffc079;outline-offset:3px}

html #report .profileSquadGrid article .prSyncNew{position:absolute;right:8px;top:8px;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:30px;padding:4px 7px;margin:0;background:#79e6c9;color:#092c25;border:1px solid #b1ffe6;border-radius:6px;font:800 10px/1 Arial;letter-spacing:.7px;box-shadow:0 2px 8px #0003;cursor:pointer}
html #report .profileSquadGrid article .prSyncNew:hover{background:#adffe5}
html #report .profileSquadGrid article .prSyncNew:focus-visible{outline:3px solid #ffc079;outline-offset:3px}

/* Four tactic explanations; real translated labels instead of generated text. */
html #desert .desertTacticHelp{grid-template-columns:repeat(4,minmax(0,1fr))}
html #desert .dtIcon{width:26px;height:26px;flex:0 0 26px;color:#ffb85c;vertical-align:middle}
html #desert .dtModeTitle{display:flex;align-items:center;gap:10px}
html #desert .desertTacticHelp summary{align-items:flex-start;flex-direction:column;gap:10px}
html #desert .desertTacticHelp summary .dtHelpTitle{display:flex;align-items:center;gap:9px;min-width:0}
html #desert .desertTacticHelp summary em,html #desert .desertTacticHelp details[open] summary em{font-size:11px;white-space:normal}
html #desert .desertTacticHelp details[open] summary em:after{content:none}
html #desert .desertTacticHelp .dtWhenOpen{display:none}
html #desert .desertTacticHelp details[open] .dtWhenClosed{display:none}
html #desert .desertTacticHelp details[open] .dtWhenOpen{display:inline}
@media(max-width:1100px){html #desert .desertTacticHelp{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html #desert .desertTacticHelp{grid-template-columns:1fr}}
