/* Poly HUD — presentation only; original selectors and application hooks remain. */
:root{--hud-purple:#60279b;--hud-blue:#009fdf;--hud-warning:#f59c1e;--hud-highlight:#501d83;--hud-grid:rgba(80,29,131,.045);--hud-shadow:4px 4px 0 rgba(0,0,0,.12);--hud-bracket:var(--hud-highlight);font-family:'Bai Jamjuree',sans-serif}
:root[data-theme=dark]{--bg:var(--hud-bg,#0a0a0b)!important;--surface:var(--hud-panel,#121214)!important;--border:var(--hud-border,#34343a)!important;--ink:#f2f0f6;--muted:#aaa8b4;--hud-highlight:#bd94ed;--hud-grid:rgba(189,148,237,.035);--hud-shadow:4px 4px 0 #000;--accent-bg:#21182d!important}
:root[data-preset=white]{--bg:#f0edf5!important;--surface:#fff!important;--surface-alt:#eae5f0!important;--border:#c6bfce!important;--ink:#18131e;--muted:#60586b;--hud-highlight:#501d83;--accent-bg:#e9dff4!important}
:root[data-preset=charcoal]{--surface-alt:#1b1b20!important}:root[data-preset=cyber]{--surface-alt:#1d1726!important}:root[data-preset=overwatch]{--surface-alt:#241f18!important}
:root{--poly-button:var(--hud-purple)!important;--poly-button-hover:#501d83!important;--poly-purple:var(--hud-purple)!important;--poly-blue:var(--hud-blue)!important;--blue-ink:var(--hud-blue)!important;--blue-border:var(--hud-blue)!important;--blue-soft:color-mix(in srgb,var(--hud-blue) 12%,var(--surface))!important;--accent:var(--hud-highlight)!important;--red:var(--hud-warning)!important;--red-bg:color-mix(in srgb,var(--hud-warning) 10%,var(--surface))!important;--shadow:var(--hud-shadow)!important}
html,body,button,input,select,textarea,kbd,code,pre,.brand strong,.brand-mark,.eh-login-page,.eh-pd,.eh-document{font-family:'Bai Jamjuree',sans-serif!important}body{font-weight:400;background-color:var(--bg);background-image:linear-gradient(var(--hud-grid) 1px,transparent 1px),linear-gradient(90deg,var(--hud-grid) 1px,transparent 1px);background-size:28px 28px;color:var(--ink)}
h1,h2,h3,h4,.eh-kicker,.nav-label,.nav-section-label,.eh-stat-value,.eh-dashboard-summary strong,.eh-season-metrics strong,.eh-availability-summary strong{font-family:'Bai Jamjuree',sans-serif!important;font-weight:700!important;text-transform:uppercase;letter-spacing:-.02em!important;line-height:.95!important}p,li,td,th,label,input,textarea,select,.eh-rich-notes{line-height:1.55}button{font-weight:600}a{color:inherit}.eh-result-loss,.eh-result-status,.eh-pending{color:var(--hud-warning)!important}.sch-type,.eh-report-type,.eh-pd-role{color:var(--hud-blue)!important}.eh-btn{background:var(--hud-purple)!important;color:#fff!important}.eh-btn:hover{background:var(--poly-button-hover)!important}
.eh-panel,.sidebar,.topbar,.eh-login-header,.eh-login-footer,.eh-login-page{background-color:var(--surface)}.eh-login-page{background-color:transparent}.eh-main,.eh-page-content,.eh-login-main{background-color:transparent!important}
*,*::before,*::after{text-shadow:none!important}.eh-login-page::before,.eh-login-page::after,.eh-login-copy::before,.eh-login-copy::after{display:none!important}*[style*="blur"]{filter:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[contenteditable]:focus-visible{outline:2px solid var(--hud-blue)!important;outline-offset:4px!important}
/* HUD component frames retain the original layout and selectors. */
:where(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal,.eh-theme-choice,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li){position:relative}
#dashboardShell #pageContent :is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal),body :is(dialog.eh-panel,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li),#loginPage .eh-panel{border:1px solid var(--border)!important;border-radius:0!important;background-color:var(--surface)!important;box-shadow:var(--hud-shadow)!important;overflow:visible}
:is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li)::before,:is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li)::after{content:''!important;position:absolute!important;display:block!important;width:11px!important;height:11px!important;background:none!important;transform:none!important;filter:none!important;pointer-events:none;z-index:2;border-radius:0!important}
:is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li)::before{top:-1px!important;left:-1px!important;bottom:auto!important;right:auto!important;border:0!important;border-top:2px solid var(--hud-bracket)!important;border-left:2px solid var(--hud-bracket)!important}
:is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.sch-card,.eh-map-photo-card,.eh-practice-window,.eh-practice-proposal,.eh-landing-demo,.eh-landing-feature-grid article,.eh-landing-role-grid article,.eh-landing-steps li)::after{bottom:-1px!important;right:-1px!important;top:auto!important;left:auto!important;border:0!important;border-bottom:2px solid var(--hud-bracket)!important;border-right:2px solid var(--hud-bracket)!important}
button,.eh-btn,[role=button],.eh-result-link{border-radius:0!important}button:not(.cell):not(.nav-link),a.eh-btn,.eh-result-link{clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}button:focus-visible,a.eh-btn:focus-visible{outline-offset:-4px!important;box-shadow:inset 0 0 0 2px var(--hud-blue)!important}.eh-btn{border:1px solid transparent!important;min-height:36px;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center;gap:8px}.eh-btn:disabled{opacity:.45}.eh-btn.tiny{min-height:32px}
input,select,textarea,.eh-word-processor,.eh-document,.eh-word-toolbar,.eh-settings-nav,.eh-studio-tabs,.eh-profile-edit-group,.eh-slot-info,.eh-period,.eh-week-wrap,.eh-event-context,.eh-readiness-summary,.eh-rsvp-form,.eh-event-player,.eh-account-dropup{border-radius:0!important;box-shadow:none!important}input,textarea,select{border-color:var(--border)!important;background-color:var(--surface-alt)!important;color:var(--ink)}
.sidebar{border-radius:0!important;border-right:1px solid var(--border)!important;box-shadow:none!important;background:var(--surface)!important}.nav-heading{font-weight:700!important;text-transform:uppercase;letter-spacing:-.02em}.nav-link{border-radius:0!important;border-left:3px solid transparent!important;margin:2px 0;padding:12px 14px!important}.nav-link.active{border-left-color:var(--hud-highlight)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 13%,transparent),transparent)!important;color:var(--hud-highlight)!important;box-shadow:none!important}.nav-link.active::after{display:none!important}
:is(.eh-next-date,.eh-upcoming-date,.sch-date,.avatar,.eh-roster-avatar,.eh-pd-avatar,.eh-coordination-avatar){border-radius:0!important;clip-path:polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%)}.eh-roster-avatar img,.avatar img,.eh-pd-avatar img{border-radius:0!important;object-fit:cover}.eh-next-date{border:1px solid var(--border)!important;color:var(--hud-highlight);background:var(--surface-alt)!important}
svg{width:24px;height:24px;stroke-width:1.5!important;flex-shrink:0}.eh-overview-section-icon,.eh-login-feature-icon{background:transparent!important;border-radius:0!important;color:var(--hud-blue)!important;border:0!important}.eh-overview-heading-copy strong{line-height:1.1;text-transform:uppercase;font-weight:700}.eh-overview-heading-copy small{text-transform:none;font-weight:400;line-height:1.5}.eh-dashboard-summary>div{border-top:1px solid var(--border)!important}.eh-dashboard-summary strong{font-size:38px!important}.eh-next-session{border-top-color:var(--hud-highlight)!important}.eh-next-title{font-size:clamp(24px,3vw,36px)!important}.eh-next-meta>span,.sch-type,.eh-report-type{border-radius:0!important}.eh-result-loss{color:var(--hud-warning)!important}.eh-result-win{color:var(--hud-blue)!important}
.hud-segments{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;width:100%;margin:12px 0 16px}.hud-segments>i{display:block;height:12px;background:var(--surface-alt);border:1px solid var(--border)}.hud-segments>i.filled{background:var(--hud-blue);border-color:var(--hud-blue)}progress.hud-native-progress{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);margin:0!important}.hud-sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.eh-week-grid button.cell{clip-path:none!important;border-radius:0!important}.eh-week-grid button.eh-heat{background:color-mix(in srgb,var(--hud-blue) calc(var(--heat,.5)*100%),var(--surface))!important}.eh-week-grid button.selected,.eh-week-grid button.cell[aria-pressed=true]{background:var(--hud-blue)!important;color:#fff!important}.eh-legend-low{background:color-mix(in srgb,var(--hud-blue) 20%,var(--surface))!important}.eh-legend-high{background:var(--hud-blue)!important}.eh-theme-swatch{border-radius:0!important}.eh-theme-choice{border-radius:0!important;box-shadow:none!important}
.eh-account-dropup{box-shadow:var(--hud-shadow)!important}.eh-pd,.eh-mini-profile,.eh-profile-preview{box-shadow:var(--hud-shadow)!important;filter:none!important}.eh-pd::before,.eh-mini-profile::before{filter:none!important}.eh-profile-full .eh-pd-banner,.eh-banner{filter:none!important}.sch-create,.sch-filters,.sch-bar{min-width:0}.eh-main,.main-column,#pageContent,.eh-panel{min-width:0}.eh-dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);overflow-y:auto!important}button[data-close] svg,#pdClose svg,#closeMobileNav svg{pointer-events:none}
@media(min-width:901px){#sidebar{position:sticky!important;top:0!important;width:250px!important;height:100dvh!important;transform:none!important}.mobile-menu,#closeMobileNav{display:none!important}}
@media(max-width:900px){#sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(100vw,400px)!important;height:100dvh!important;transform:translateX(-102%)!important;z-index:100}.sidebar.open,#sidebar.open{transform:translateX(0)!important;width:100vw!important}.mobile-menu{display:inline-flex!important}#closeMobileNav{display:flex!important;position:absolute;top:18px;right:18px}#dashboardShell{grid-template-columns:minmax(0,1fr)!important;display:block!important}.main-column{margin-left:0!important;width:100%!important}.page-container{padding:24px 18px!important}.topbar{padding:14px 18px!important}.eh-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.eh-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}.eh-dashboard-summary{gap:8px!important}.eh-dashboard-summary>div{padding:14px 10px!important}.eh-dashboard-summary strong{font-size:28px!important}.eh-heading h1{font-size:32px!important}.eh-grid.two,.eh-grid.three{grid-template-columns:minmax(0,1fr)!important}#notificationsButton{min-width:36px}#notificationsButton .eh-notification-label{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Signed-out team operations landing page. */
#loginPage{background:transparent!important}#loginPage .eh-login-header{background:var(--surface)!important;border-bottom:1px solid var(--border);box-shadow:none!important}.eh-login-main{width:min(1500px,100%);grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;gap:clamp(28px,6vw,90px)!important;padding:60px clamp(22px,5vw,80px)!important;align-items:start!important}.eh-login-copy{min-width:0!important}.eh-login-copy .hud-hero-title{font-size:clamp(58px,7vw,110px)!important;line-height:.87!important;letter-spacing:-.055em!important;margin:20px 0 30px!important}.hud-hero-title>span{display:block;white-space:nowrap}.hud-hero-title .hud-offset{color:var(--hud-highlight);padding-left:clamp(22px,4vw,70px)}.hud-hero-title .hud-outline{color:transparent;-webkit-text-stroke:1px var(--ink)}.eh-login-copy .eh-login-intro{font-size:16px;line-height:1.6;max-width:420px}.hud-hero-capabilities{display:flex!important;gap:12px!important;flex-wrap:wrap;margin:22px 0!important;font-size:10px;font-weight:600;letter-spacing:.04em;color:var(--muted)}.eh-login-form{position:sticky;top:26px;margin-top:22px}.eh-login-form .eh-panel{padding:26px!important}.eh-login-form .eh-grid.two{grid-template-columns:minmax(0,1fr)!important}.eh-login-form .eh-panel h2{font-size:24px;max-width:330px;line-height:1.05!important}.eh-login-form .eh-auth-tabs{border-radius:0!important;border-bottom:1px solid var(--border);background:transparent!important;padding:0 0 12px!important}.eh-login-form .eh-auth-tabs button[aria-pressed=false]{background:var(--surface-alt)!important;color:var(--muted)!important}.eh-login-form .eh-muted{font-size:12px}.eh-login-caption{font-size:11px;margin-top:20px!important}
.hud-countdown-panel{margin:28px 0 0;padding:18px!important}.hud-countdown-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hud-live-tag{font-size:9px;font-weight:700;letter-spacing:.08em;color:var(--hud-blue)}.hud-match-map{height:130px;position:relative;overflow:hidden;background:var(--bg);margin:16px 0;border:1px solid var(--border);perspective:250px}.hud-wireframe{position:absolute;width:140%;height:200%;left:-20%;top:-25%;transform:rotateX(55deg) rotateZ(-25deg);background-image:linear-gradient(color-mix(in srgb,var(--hud-blue) 24%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--hud-blue) 24%,transparent) 1px,transparent 1px);background-size:28px 28px}.hud-wireframe::before,.hud-wireframe::after{content:'';position:absolute;left:25%;top:35%;width:36%;height:30%;border:2px solid var(--hud-blue)}.hud-wireframe::after{left:38%;top:22%;width:18%;height:54%;border-color:var(--hud-highlight)}.hud-crosshair{position:absolute;top:50%;left:50%;width:34px;height:34px;transform:translate(-50%,-50%);border:1px solid var(--hud-highlight);border-radius:50%}.hud-crosshair::before{content:'';position:absolute;width:48px;height:1px;background:var(--hud-highlight);left:-8px;top:16px}.hud-crosshair::after{content:'';position:absolute;height:48px;width:1px;background:var(--hud-highlight);top:-8px;left:16px}.hud-match-map>span{position:absolute;left:10px;bottom:8px;font-size:8px;letter-spacing:.12em;color:var(--hud-blue)}.hud-countdown-copy{display:flex;align-items:center;justify-content:space-between;gap:15px}.hud-countdown-copy h2{font-size:16px;margin:0 0 8px}.hud-countdown-copy p,.hud-demo-note{font-size:10px!important;line-height:1.5!important;color:var(--muted);margin:0}.hud-demo-note{margin-top:12px}.hud-countdown{display:flex;align-items:center;gap:6px;flex:none}.hud-countdown>span{text-align:center}.hud-countdown strong{font-size:30px;line-height:.95;font-weight:700;display:block;letter-spacing:-.02em}.hud-countdown small{font-size:8px;color:var(--muted);display:block;margin-top:5px}.hud-countdown b{color:var(--hud-blue);font-size:20px}
.hud-scrim-feed{display:flex;align-items:stretch;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);margin:20px 0 60px;overflow:hidden}.hud-feed-label{display:flex;align-items:center;position:relative;z-index:1;padding:15px clamp(18px,3vw,45px);font-size:11px;font-weight:700;color:#fff;background:var(--hud-purple);white-space:nowrap}.hud-feed-window{overflow:hidden;flex:1;display:flex}.hud-feed-track{display:flex;align-items:center;width:max-content;animation:hud-feed 35s linear infinite;gap:36px;padding:15px 24px}.hud-feed-track span{white-space:nowrap;font-size:11px;font-weight:600;color:var(--muted)}.hud-feed-track span::before{content:'+';color:var(--hud-blue);margin-right:12px}.hud-scrim-feed:hover .hud-feed-track{animation-play-state:paused}@keyframes hud-feed{to{transform:translateX(-50%)}}
#loginPage .eh-landing-section{max-width:1300px;padding:55px clamp(22px,5vw,70px);margin:0 auto}.eh-landing-section-heading h2{font-size:clamp(30px,4vw,48px)!important;line-height:1!important}.eh-landing-section-heading p{line-height:1.65;font-size:14px}.eh-landing-feature-grid{gap:16px!important}.eh-landing-feature-grid article{padding:22px!important}.eh-landing-feature-grid h3{font-size:21px!important;line-height:1.1!important}.eh-landing-feature-grid p{font-size:13px;line-height:1.7}.eh-landing-band{background:var(--surface-alt)!important;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.eh-landing-role-grid.hud-role-layout{display:grid!important;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr)!important;gap:30px!important}.hud-role-tabs{display:flex;flex-direction:column;gap:10px}.hud-role-tabs button{display:flex;align-items:center;gap:16px;padding:22px;background:transparent;border:1px solid var(--border);color:var(--muted);font-size:20px;font-weight:700;text-transform:uppercase;text-align:left}.hud-role-tabs button>span:first-child{font-size:11px;color:var(--hud-blue)}.hud-role-tabs button>span:last-child{margin-left:auto}.hud-role-tabs button[aria-selected=true]{background:var(--hud-purple)!important;color:#fff!important;border-color:var(--hud-purple)}.hud-role-tabs button[aria-selected=true]>span{color:#fff}.hud-role-focus{min-height:330px;padding:36px!important}.hud-role-focus h3{font-size:clamp(26px,3vw,42px)!important;line-height:1!important;margin:22px 0}.hud-role-focus p{line-height:1.75;font-size:14px;max-width:600px}.hud-role-focus ul{padding-left:18px;color:var(--muted);font-size:13px;line-height:1.8}.hud-role-focus .eh-btn{margin-top:15px}.hud-role-privacy{font-size:11px;line-height:1.65;color:var(--muted);margin-top:24px}
.hud-terminal-section{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);gap:45px;align-items:center}.hud-terminal-section h2{font-size:clamp(30px,4vw,46px);line-height:1!important}.hud-terminal-section>div p{font-size:14px;color:var(--muted);line-height:1.75}.hud-terminal{min-width:0;margin:0;padding:0!important}.hud-terminal figcaption{padding:13px 20px;border-bottom:1px solid var(--border);font-size:10px;letter-spacing:.1em;font-weight:700;color:var(--muted)}.hud-terminal pre{font-family:'Bai Jamjuree',sans-serif;overflow-x:auto;font-size:11px;line-height:2.3;padding:20px;margin:0;background:var(--bg)}.hud-terminal code{white-space:pre}.hud-log-time{color:var(--muted)}.hud-log-good{color:var(--hud-blue)}.hud-log-warning{color:var(--hud-warning)}.hud-log-prompt{color:var(--hud-highlight);font-weight:700}.eh-landing-steps li{padding:22px!important}.eh-landing-steps h3{line-height:1.15!important}.eh-landing-faq details{border-radius:0!important;border-color:var(--border)!important;background:var(--surface)!important}.eh-login-footer{background:var(--surface)!important}
@media(max-width:1050px){.eh-login-main{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr)!important;gap:30px!important;padding:35px 24px!important}.eh-login-copy .hud-hero-title{font-size:clamp(52px,7.5vw,85px)!important}.hud-countdown-copy{flex-wrap:wrap}.hud-countdown{margin-top:8px}.eh-login-form .eh-panel{padding:20px!important}}
@media(max-width:760px){.eh-login-main{grid-template-columns:minmax(0,1fr)!important;max-width:650px!important}.eh-login-copy .hud-hero-title{font-size:clamp(58px,13vw,88px)!important}.eh-login-form{position:static;margin-top:15px}.eh-login-copy .hud-offset{padding-left:40px}.hud-countdown-copy{flex-wrap:nowrap}.eh-landing-role-grid.hud-role-layout,.hud-terminal-section{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}.hud-role-tabs{gap:6px}.hud-role-tabs button{padding:16px 20px}.hud-role-focus{padding:24px!important}.hud-scrim-feed{margin-bottom:20px}.eh-login-header{gap:10px;flex-wrap:wrap;height:auto;min-height:76px;padding:18px!important}.eh-landing-nav{gap:12px!important;font-size:11px!important}.eh-login-header .eh-wordmark{max-width:155px!important}#loginPage .eh-landing-section{padding:38px 22px}.eh-landing-feature-grid{grid-template-columns:minmax(0,1fr)!important}.eh-landing-showcase{grid-template-columns:minmax(0,1fr)!important}.eh-landing-steps{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:400px){.eh-login-copy .hud-hero-title{font-size:54px!important}.hud-countdown-copy{flex-wrap:wrap}.hud-countdown-panel{padding:14px!important}.hud-role-tabs button{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hud-feed-track{animation:none!important;transform:none!important;flex-wrap:wrap;width:auto;gap:12px}.hud-feed-track [aria-hidden=true]{display:none}.hud-feed-window{overflow:visible}.hud-scrim-feed{align-items:start}}
#dashboardShell :is(.eh-personal-event-item,.eh-next-personal-item,.eh-match-personal-item,.eh-next-personal>div,.eh-event-plan-stat,.eh-season-metrics>div,.eh-dashboard-personal-stat,.eh-summary-stat,.eh-task-card){border-radius:0!important;box-shadow:none!important}#dashPersonalEvent>div:not(.eh-next-action-row){border-radius:0!important;box-shadow:none!important}.eh-landing-nav svg,.hud-role-tabs svg,.hud-role-focus .eh-btn svg{width:18px;height:18px}.hud-role-tabs button svg{margin-left:auto}.eh-account-dropup,.eh-account-dropup *:not(.eh-mini-status-dot):not(img){box-shadow:none!important}#profileDialog::backdrop,.eh-dialog::backdrop{backdrop-filter:none!important}
/* Keep the hero copy in document order; legacy mobile styles used display:contents. */
#loginPage .eh-login-copy{display:block!important}#loginPage .eh-login-copy>*{order:initial!important}.eh-login-header .eh-landing-nav button{display:inline-flex;align-items:center;gap:6px}.eh-login-header .eh-landing-nav button svg{flex:none}.hud-terminal pre{white-space:pre-wrap;overflow-wrap:anywhere}.hud-terminal code{white-space:pre-wrap}
/* Match the supplied “EsportsHub pages preview” visual language across all pages. */
:root{--hud-nav-soft:color-mix(in srgb,var(--hud-highlight) 14%,transparent);--hud-grid:rgba(255,255,255,.04);--hud-shadow:2px 2px 0 rgba(0,0,0,.22)}
:root[data-theme=dark]{--ink:#ededed!important;--muted:#8d8d95!important;--surface-alt:#0a0a0b!important;--hud-shadow:2px 2px 0 #000}
:root[data-preset=white]{--bg:#ecece8!important;--surface:#f8f8f5!important;--surface-alt:#ecece8!important;--border:#aaaab0!important;--ink:#0a0a0b!important;--muted:#55555c!important;--hud-grid:rgba(0,0,0,.05);--hud-nav-soft:rgba(80,29,131,.1);--hud-shadow:2px 2px 0 #1a1a1c1a}
#dashboardShell.hidden,#loginPage.hidden{display:none!important}
#dashboardShell .sidebar{padding:18px 0 14px!important}#dashboardShell .sidebar .brand{padding:0 20px 18px!important;margin:0 0 14px!important;border-bottom:1px solid var(--border)}#dashboardShell .sidebar .brand img{width:185px!important;max-width:100%}#dashboardShell .nav-heading{padding:0 20px 6px!important;font-size:11px;font-weight:600!important;color:var(--muted);letter-spacing:0!important}
#dashboardShell .nav-link{font-size:14px;line-height:1.5;font-weight:500;gap:12px;margin:0!important;padding:9px 20px!important;border:0!important;border-left:3px solid transparent!important;color:var(--muted)!important;background:none!important;box-shadow:none!important;clip-path:none!important}
#dashboardShell .nav-link svg{width:18px;height:18px;color:inherit!important}#dashboardShell .nav-link:hover{color:var(--ink)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 7%,transparent),transparent)!important}#dashboardShell .nav-link.active{color:var(--ink)!important;border-left:3px solid var(--hud-highlight)!important;background:linear-gradient(90deg,var(--hud-nav-soft),transparent)!important}#dashboardShell .nav-link.active svg{color:var(--hud-highlight)!important}#dashboardShell .second-heading{margin-top:18px!important}.eh-account-area{margin:12px 14px 0}.eh-selfprofile{border:1px solid var(--border)!important;background:transparent!important}.eh-selfprofile strong{font-size:12px}.eh-selfprofile small{font-size:10px;line-height:1.5}
#dashboardShell #pageContent{padding:26px!important}.eh-heading{margin:0 0 20px!important;gap:14px;align-items:flex-end}.eh-heading h1{font-size:clamp(34px,4.5vw,60px)!important;line-height:.95!important;margin:8px 0!important}.eh-heading p{font-size:14px!important;line-height:1.5!important;margin-top:6px!important;color:var(--muted)}.eh-dashboard-grid,.eh-grid.two,.eh-grid.three,.eh-settings-layout,.eh-concerns-layout,.eh-member-management-layout{gap:18px!important}
#dashboardShell #pageContent :is(.eh-panel,.eh-report-card,.eh-concern-card,.eh-roster-group,.eh-practice-window,.eh-practice-proposal){padding:18px!important}.eh-panel>.eh-row:first-child,.eh-roster-toolbar,.eh-practice-heading,.eh-map-pool-heading,.eh-report-card>.eh-row{padding-bottom:12px!important;margin-bottom:12px!important;border-bottom:1px solid var(--border)}.eh-panel h2,.eh-roster-group h3{font-size:17px!important;margin-top:0;line-height:1.1!important}.eh-panel p{font-size:13px;line-height:1.6}.eh-roster-member,.eh-item,.eh-contact,.eh-availability-person{padding:11px 0!important;border-bottom:1px solid var(--border)!important;gap:12px}.eh-roster-member:last-child,.eh-contact:last-child{border-bottom:0!important}.eh-roster-member strong{font-size:14px}.eh-roster-member small,.eh-inline-username{font-size:12px!important;color:var(--muted)}
button:not(.cell):not(.nav-link),a.eh-btn,.eh-result-link{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}.eh-btn{padding:9px 16px!important;font-size:13px;font-weight:600;line-height:1.4;min-height:36px}.eh-btn.tiny{padding:7px 12px!important;font-size:12px}.eh-word-toolbar button,.eh-settings-nav button,.eh-studio-tabs button,.eh-management-tabs button{clip-path:none!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important;border:0!important;border-bottom:3px solid transparent!important;padding:9px 16px!important}.eh-word-toolbar button{padding:6px!important;border:1px solid transparent!important}.eh-word-toolbar button:hover{border-color:var(--hud-highlight)!important;color:var(--ink)!important}.eh-settings-nav button[aria-current=page],.eh-studio-tabs button[aria-selected=true],.eh-management-tabs button[aria-selected=true]{border-bottom-color:var(--hud-highlight)!important;color:var(--ink)!important;background:var(--hud-nav-soft)!important}.eh-period .eh-btn[aria-pressed=false],.sch-view-toggle button[aria-pressed=false]{background:none!important;color:var(--muted)!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important}
input,select,textarea,.eh-document{background:var(--bg)!important;color:var(--ink);border:1px solid var(--border)!important;padding:9px 11px!important;font-size:14px}.eh-document[contenteditable]{padding:16px!important;min-height:230px}.eh-word-toolbar{padding:8px!important;background:var(--bg)!important;border:1px solid var(--border)!important;border-bottom:0!important}.eh-word-toolbar svg{width:18px;height:18px}.eh-week-grid .cell{border-radius:0!important}.eh-week-grid .head,.eh-week-grid .time{background:var(--bg)!important}.eh-week-grid .head{font-size:11px!important}.eh-week-grid .time{font-size:10px!important}.eh-week-grid button.cell{min-height:22px!important;clip-path:none!important}.eh-week-grid button.cell:focus-visible{outline-offset:-2px!important}.eh-overview-section-icon{color:var(--hud-highlight)!important}.eh-overview-section-icon svg{width:21px;height:21px}.eh-next-meta .sch-type,.eh-report-type{background:var(--hud-blue)!important;color:#06141c!important;padding:1px 8px!important;font-size:11px!important;font-weight:700}.eh-next-meta .sch-type{border-radius:0!important}.eh-next-date{width:46px!important;min-width:46px!important;padding:5px 0!important}.eh-next-date strong{font-size:26px!important}.eh-next-date span{color:var(--hud-highlight)!important}.eh-next-date small{font-size:10px}
:is(.avatar,.eh-roster-avatar,.eh-pd-avatar,.eh-coordination-avatar){clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}.eh-availability-summary>div,.eh-season-metrics>div{border:1px solid var(--border);padding:10px 12px}.eh-theme-choice{background:var(--surface)!important}.eh-theme-choice:has(input:checked){border-color:var(--hud-highlight)!important}.eh-readiness-summary,.eh-rsvp-form{background:var(--bg)!important;border:1px solid var(--border)!important}.eh-mini-menu-group{border-radius:0!important;background:var(--bg)!important}.eh-mini-menu-group button{clip-path:none!important;border-radius:0!important}.eh-pd-section{border-radius:0!important}.eh-dialog .eh-row{flex-wrap:wrap}.eh-notification,.eh-event-player,.eh-attendance-row{border-radius:0!important;box-shadow:none!important}
@media(min-width:901px){#dashboardShell #sidebar{width:230px!important}#dashboardShell .topbar{padding:18px 26px!important}}
@media(max-width:900px){#dashboardShell #pageContent{padding:20px 16px!important}.eh-heading h1{font-size:clamp(34px,6vw,48px)!important}#dashboardShell #sidebar .brand{padding-top:4px!important;padding-bottom:20px!important}.eh-account-area{margin-top:auto}}
@media(max-width:600px){.eh-dashboard-summary>div{padding:10px 8px!important}.eh-dashboard-summary strong{font-size:26px!important}.eh-heading h1{font-size:34px!important}.eh-panel .eh-row{flex-wrap:wrap}.eh-panel .eh-row h2{flex:1;min-width:150px}.eh-roster-actions{flex-wrap:wrap}.eh-roster-member{align-items:flex-start}.eh-roster-identity{min-width:0!important;flex:1}.eh-roster-actions{max-width:100%}.eh-overview-heading-copy small{font-size:10px}.eh-availability-summary{gap:8px!important}.eh-availability-summary>div{padding:8px}.eh-availability-summary strong{font-size:21px!important}}

/* Compact data cells share the reference’s square frame treatment. */
#dashboardShell .eh-next-personal-metric{border-radius:0!important;box-shadow:none!important;background:var(--surface)!important}

/* Reference layouts, not just reference borders: compact rows and paired panels. */
#dashboardShell #pageContent [data-panel]{min-width:0}
#dashboardShell #pageContent .eh-heading:not(.eh-dashboard-heading){display:block!important;margin-bottom:18px!important}
#dashboardShell #pageContent .eh-heading:not(.eh-dashboard-heading) h1{margin:6px 0!important}
#dashboardShell #pageContent .eh-heading:not(.eh-dashboard-heading) .eh-kicker{font-size:10px}
#dashboardShell #pageContent .eh-heading:not(.eh-dashboard-heading) p{max-width:720px;margin-bottom:0!important}
#dashboardShell #pageContent .eh-heading:not(.eh-dashboard-heading)>.eh-btn{float:right;margin-top:-40px}
/* Team switcher is a segmented toolbar; resources sit beside the roster. */
#dashboardShell #pageContent [data-panel=teams]>.hud-team-switcher-wrap{display:block;margin:0 0 18px!important}
#dashboardShell #pageContent .hud-team-switcher{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.hud-team-switcher::before,.hud-team-switcher::after{display:none!important}
#dashboardShell .hud-team-switcher>h2{font-size:11px!important;color:var(--muted);margin:0 0 8px!important}
#dashboardShell .hud-team-switcher #teamsMirror{display:flex;flex-direction:row;flex-wrap:wrap;gap:0}
#dashboardShell .hud-team-switcher .eh-pick{flex:0 1 auto;min-width:120px;width:auto;margin:0!important;padding:9px 16px!important;clip-path:none!important;border:1px solid var(--border)!important;border-right:0!important;background:var(--bg)!important;box-shadow:none!important}
#dashboardShell .hud-team-switcher .eh-pick:last-child{border-right:1px solid var(--border)!important}
#dashboardShell .hud-team-switcher .eh-pick.active{background:var(--hud-nav-soft)!important;border-bottom:3px solid var(--hud-highlight)!important}
#dashboardShell .hud-team-switcher .eh-pick small{margin:0;font-size:10px}
.hud-team-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start;gap:18px}
#dashboardShell .hud-team-layout>#selected,#dashboardShell .hud-team-layout>#teamResources{margin:0!important;min-width:0}
#dashboardShell #pageContent .eh-team-hero{gap:16px;padding-bottom:12px;margin-bottom:12px}
#dashboardShell #pageContent .eh-team-hero h2{font-size:20px!important}
#dashboardShell #pageContent .eh-roster-summary{gap:14px}
#dashboardShell #pageContent .eh-roster-summary strong{font-size:22px}
#dashboardShell #pageContent .eh-roster-group,#dashboardShell #pageContent .eh-roster-group:not(:has(.eh-roster-member)){padding:0!important;border:0!important;border-radius:0!important;background:none!important;margin:16px 0 0!important;box-shadow:none!important}
#dashboardShell #pageContent .eh-roster-group::before,#dashboardShell #pageContent .eh-roster-group::after{display:none!important}
#dashboardShell #pageContent .eh-roster-group>h3{padding:7px 0!important;margin:0!important;font-size:11px!important;color:var(--hud-highlight);border-bottom:1px solid var(--border);line-height:1.4!important}
#dashboardShell #pageContent .eh-roster-member{padding:11px 0!important;gap:10px;align-items:center}
#dashboardShell .eh-roster-member .eh-roster-avatar{width:34px;height:34px;flex-basis:34px}
#dashboardShell .eh-roster-identity{gap:10px;min-width:0;flex:1}
#dashboardShell .eh-roster-identity>div{min-width:0;overflow-wrap:anywhere}
#dashboardShell .eh-roster-actions{gap:6px;justify-content:flex-end;max-width:48%}
#dashboardShell .eh-roster-actions .eh-btn{font-size:11px!important;padding:6px 9px!important;min-height:32px}
#dashboardShell .eh-roster-actions select{font-size:11px!important;min-width:90px!important;min-height:32px}
#dashboardShell .eh-roster-toolbar{flex-wrap:wrap;gap:8px;padding-bottom:12px!important;margin-bottom:12px!important}
#dashboardShell .eh-roster-toolbar input{flex-basis:180px}
#teamResourcesBody>a{display:flex;padding:11px 0;border-bottom:1px solid var(--border);font-size:13px;text-decoration:none;overflow-wrap:anywhere}
/* Calendar and planning form a work area with one adjacent sidebar. */
.hud-availability-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);align-items:start;gap:18px}
.hud-availability-sidebar{display:grid;gap:18px;min-width:0}
#dashboardShell #pageContent .hud-availability-sidebar .eh-panel{margin:0!important}
#dashboardShell #pageContent .hud-availability-players>h2,#dashboardShell #pageContent #practiceSuggestions>h2{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border)}
#dashboardShell .eh-availability-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
#dashboardShell .eh-availability-summary>div{border-radius:0!important;background:none!important;min-height:0;padding:10px!important}
#dashboardShell .eh-availability-summary strong{font-size:24px!important}
#dashboardShell .eh-availability-person{font-size:12px;align-items:flex-start}
#dashboardShell .eh-availability-person>span{font-size:11px;text-align:right}
#dashboardShell .eh-week-wrap{margin-top:12px!important;border:0!important;max-height:none}
#dashboardShell .eh-week-grid{min-width:0!important;gap:2px!important;grid-template-columns:54px repeat(7,minmax(0,1fr))!important}
#dashboardShell .eh-week-grid .cell{min-height:18px!important;height:18px!important;padding:0!important;border:0!important}
#dashboardShell .eh-week-grid .time{padding:0 5px 0 0!important;font-size:9px!important}
#dashboardShell .eh-week-grid .head{font-size:10px!important;padding:4px 0!important}
#dashboardShell #practiceSuggestions>p{font-size:12px;line-height:1.5}
#dashboardShell .eh-practice-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#dashboardShell .eh-practice-filters label{font-size:11px;min-width:0}
#dashboardShell #pageContent .eh-practice-window{position:relative;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--border)!important;box-shadow:none!important;background:none!important;margin:0!important;border-radius:0!important}
.eh-practice-window::before,.eh-practice-window::after{display:none!important}
#dashboardShell .eh-practice-window>strong{font-size:13px}
#dashboardShell .eh-practice-window p{font-size:11px;line-height:1.5;margin:6px 0}
#dashboardShell .eh-practice-window .hud-segments{margin-bottom:8px}
/* Reports use the HTML's library/detail arrangement without duplicating documents. */
.hud-report-layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2fr);gap:18px;align-items:start}
.hud-report-index{border:1px solid var(--border);padding:18px;background:var(--surface);min-width:0}
#dashboardShell .hud-report-index>h2{font-size:17px!important;padding-bottom:12px;border-bottom:1px solid var(--border);margin:0 0 8px!important}
#dashboardShell button.hud-report-choice{display:block;width:100%;padding:12px!important;text-align:left;white-space:normal;background:none!important;color:var(--ink)!important;border:0!important;border-bottom:1px solid var(--border)!important;clip-path:none!important;border-radius:0!important;box-shadow:none!important}
#dashboardShell button.hud-report-choice[aria-current=true]{background:var(--hud-nav-soft)!important;box-shadow:inset 3px 0 var(--hud-highlight)!important}
.hud-report-choice strong{display:block;font-size:13px;line-height:1.5}.hud-report-choice small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px}
#dashboardShell .hud-report-layout .eh-report-library{display:block;min-width:0}
#dashboardShell .hud-report-layout .eh-report-card{margin:0!important;background:var(--surface)!important}
#dashboardShell .hud-report-layout .eh-report-card[hidden]{display:none!important}
#dashboardShell .eh-report-card .eh-document:not([contenteditable]){min-height:0!important;background:none!important;border:0!important;padding:0!important;line-height:1.7}
#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:minmax(0,1fr) minmax(130px,.4fr) minmax(140px,.4fr);margin-bottom:10px!important;padding-bottom:12px!important}
#dashboardShell .eh-reports-total{margin:0 0 14px}
/* Conversation, directory and organization use rows rather than nested floating cards. */
#dashboardShell .eh-concerns-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}
#dashboardShell #pageContent .eh-concern-card{padding:12px 0!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;background:none!important;box-shadow:none!important;margin-top:8px}
.eh-concern-card::before,.eh-concern-card::after{display:none!important}
#dashboardShell .eh-concern-card>.eh-rich-notes{font-size:13px;line-height:1.6}
#dashboardShell .eh-member-management-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start}
#dashboardShell #pageContent .eh-admin-member{padding:12px 0!important;border:0!important;border-bottom:1px solid var(--border)!important;background:none!important;box-shadow:none!important;border-radius:0!important;min-height:0}
#dashboardShell .eh-assignment-editor{position:static}
#dashboardShell .eh-admin-stats>div{padding:12px!important;border-radius:0!important;background:var(--surface)!important}
#dashboardShell .eh-org-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:18px;align-items:start}
#dashboardShell .eh-org-team-row,#dashboardShell .eh-org-game-row{padding:11px 0!important;border:0!important;border-bottom:1px solid var(--border)!important;background:none!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
#dashboardShell .eh-org-team-row small,#dashboardShell .eh-org-game-row small{display:block;font-size:11px}
#dashboardShell .eh-org-team-identity{min-width:0;flex:1}
#dashboardShell .eh-org-trash{grid-column:1/-1}
#dashboardShell .eh-settings-layout{grid-template-columns:180px minmax(0,1fr);align-items:start}
#dashboardShell .eh-settings-nav{position:static!important;padding:0!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:0!important}
#dashboardShell .eh-settings-nav button{display:block;width:100%;text-align:left;padding:12px!important;border-bottom:1px solid var(--border)!important;font-size:12px}
#dashboardShell .eh-settings-nav button[aria-current=page]{box-shadow:inset 3px 0 var(--hud-highlight)!important}
#dashboardShell .eh-studio-intro{padding:0 0 12px;margin-bottom:16px}
#dashboardShell .eh-studio-intro h3{font-size:22px!important}
#dashboardShell .eh-studio-intro p{font-size:12px!important}
#dashboardShell .eh-studio-layout{grid-template-columns:minmax(0,1fr);gap:18px}
#dashboardShell .eh-studio-tabs{padding:0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;gap:0;margin-bottom:16px}
#dashboardShell .eh-studio-tabs button{font-size:11px;flex:1 1 auto;padding:9px!important}
#dashboardShell .eh-studio-tabs svg{width:16px;height:16px}
#dashboardShell .eh-studio-section-heading{margin-bottom:16px}
#dashboardShell .eh-studio-panels label{font-size:12px;margin-bottom:12px!important}
#dashboardShell .eh-studio-preview{position:static;max-width:360px;padding:14px;border-radius:0;background:var(--surface)}
#dashboardShell [data-panel=analysis]>article>label:has(#workshopFile){display:grid;gap:12px;justify-items:center;text-align:center;padding:28px 18px;border:1px dashed var(--hud-highlight);background:var(--bg);margin:18px 0;font-size:13px}
#dashboardShell #workshopFile{max-width:420px;font-size:12px}
/* Small actions stay outlined like the reference; primary submit actions stay purple. */
#dashboardShell :is(.eh-roster-actions,.eh-roster-toolbar,.eh-report-card,.eh-upcoming-row,.eh-contact,.eh-org-team-row,.eh-org-game-row) .eh-btn{background:transparent!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important;border:0!important}
@media(max-width:1100px){.hud-team-layout,.hud-availability-layout{grid-template-columns:minmax(0,1fr)}.hud-availability-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell .eh-member-management-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){#dashboardShell .eh-concerns-layout,#dashboardShell .eh-org-layout{grid-template-columns:minmax(0,1fr)}#dashboardShell .eh-settings-layout{grid-template-columns:minmax(0,1fr)}#dashboardShell .eh-settings-nav{display:flex;flex-wrap:wrap}#dashboardShell .eh-settings-nav button{width:auto;flex:1 1 auto}.hud-report-layout{grid-template-columns:minmax(160px,1fr) minmax(0,2fr)}}
@media(max-width:600px){.hud-availability-sidebar,.hud-report-layout{grid-template-columns:minmax(0,1fr)}#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:minmax(0,1fr)}#dashboardShell .eh-team-hero{flex-wrap:wrap}#dashboardShell .eh-roster-actions{max-width:100%}#dashboardShell .eh-roster-member{flex-wrap:wrap}#dashboardShell .eh-roster-actions select{max-width:120px}#dashboardShell .eh-week-grid .time{font-size:8px!important}#dashboardShell .eh-heading:not(.eh-dashboard-heading)>.eh-btn{float:none!important;margin:10px 0 0!important}.hud-report-index{max-height:260px;overflow-y:auto}#dashboardShell .eh-studio-tabs button{flex-basis:33%}}
/* Remove leftover frames from elements now used as rows/toolbars. */
#dashboardShell #pageContent :is(.hud-team-switcher,.eh-practice-window,.eh-roster-group,.eh-concern-card)::before,#dashboardShell #pageContent :is(.hud-team-switcher,.eh-practice-window,.eh-roster-group,.eh-concern-card)::after{display:none!important}
#dashboardShell .eh-period .eh-btn[aria-pressed=false],#dashboardShell .sch-view-toggle .eh-btn[aria-pressed=false]{background:transparent!important;color:var(--muted)!important;clip-path:none!important;box-shadow:none!important;border:0!important}
#dashboardShell .eh-period .eh-btn[aria-pressed=true],#dashboardShell .sch-view-toggle .eh-btn[aria-pressed=true]{clip-path:none!important}
#dashboardShell .eh-period,#dashboardShell .sch-view-toggle{border:1px solid var(--border)!important;border-radius:0!important;padding:0!important;gap:0!important;background:var(--bg)!important}
#dashboardShell #teamResourcesBody a.eh-resource-link{background:none!important;color:var(--ink)!important;box-shadow:none!important;clip-path:none!important;border:0!important;border-bottom:1px solid var(--border)!important;text-align:left;justify-content:space-between;padding:11px 0!important;min-height:0}
#dashboardShell .eh-management-tabs{padding:0!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;background:none!important;gap:0;margin-bottom:18px}
#dashboardShell .eh-organization-directory{align-items:start!important;gap:18px!important}
#dashboardShell .eh-org-management{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#dashboardShell .eh-org-management form{margin:0!important;padding:0!important;border:0!important}
#dashboardShell .eh-word-processor,#dashboardShell .eh-report-composer,#dashboardShell .sch-overview>div,#dashboardShell .sch-card,#dashboardShell .sch-filters,#dashboardShell .eh-member-filters,#dashboardShell .eh-assignment-preview{border-radius:0!important;box-shadow:none!important}
#dashboardShell #pageContent .sch-card{background:var(--surface)!important;padding:14px!important;margin:8px 0!important;min-height:0;grid-template-columns:80px minmax(0,1fr)}
#dashboardShell .sch-card h3{font-size:17px!important;line-height:1.2!important}
#dashboardShell .sch-card-actions{gap:8px;padding-top:12px!important;margin-top:12px!important;border-top:1px solid var(--border)}
#dashboardShell .sch-card-actions .eh-btn{font-size:12px!important;min-height:32px}
#dashboardShell .sch-overview>div{background:var(--surface)!important;border:1px solid var(--border)!important;padding:10px 12px!important;min-height:0}
#dashboardShell .sch-overview strong{font-size:26px!important;line-height:1.1}
#dashboardShell #pageContent [data-panel=reports]>.eh-panel{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#dashboardShell #pageContent [data-panel=reports]>.eh-panel::before,#dashboardShell #pageContent [data-panel=reports]>.eh-panel::after{display:none!important}
#dashboardShell [data-panel=reports]>.eh-heading{position:relative;padding-right:165px}
#dashboardShell [data-panel=reports]>.eh-heading>#reportComposer{position:absolute;right:0;bottom:0;margin:0;padding:0;border:0;background:none;box-shadow:none}
#dashboardShell .hud-report-index{position:relative}
#dashboardShell .hud-report-index::before,#dashboardShell .hud-report-index::after{content:'';position:absolute;width:11px;height:11px;border:2px solid var(--hud-highlight);pointer-events:none}
#dashboardShell .hud-report-index::before{top:-2px;left:-2px;border-right:0;border-bottom:0}#dashboardShell .hud-report-index::after{bottom:-2px;right:-2px;border-left:0;border-top:0}
@media(max-width:600px){#dashboardShell .eh-org-management{grid-template-columns:minmax(0,1fr)}#dashboardShell #pageContent .sch-card{grid-template-columns:minmax(0,1fr)}#dashboardShell [data-panel=reports]>.eh-heading{padding-right:0}#dashboardShell [data-panel=reports]>.eh-heading>#reportComposer{position:static;margin-top:14px}}
#dashboardShell #teamResourcesBody a.eh-btn{display:flex;background:none!important;color:var(--ink)!important;box-shadow:none!important;clip-path:none!important;border:0!important;border-bottom:1px solid var(--border)!important;text-align:left;justify-content:space-between;padding:11px 0!important;min-height:0;font-size:13px}
#dashboardShell .eh-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media(max-width:600px){#dashboardShell .eh-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell [data-panel=members]{overflow-x:clip;padding:2px;margin:-2px}}
#dashboardShell .eh-assignment-editor{position:relative!important;top:auto!important}
#dashboardShell #pageContent [data-panel=members]>.eh-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:6px;align-items:center}
#dashboardShell [data-panel=members]>.eh-heading>:is(.eh-kicker,h1,p){grid-column:1;margin:0!important}
#dashboardShell #pageContent [data-panel=members]>.eh-heading>.eh-btn{float:none;margin:0!important;grid-column:2;justify-self:end}
#dashboardShell [data-panel=members] #openInvitations{grid-row:2}
#dashboardShell [data-panel=members] #accountModeration{grid-row:3}
@media(max-width:600px){#dashboardShell #pageContent [data-panel=members]>.eh-heading{grid-template-columns:minmax(0,1fr)}#dashboardShell #pageContent [data-panel=members]>.eh-heading>.eh-btn{grid-column:1;grid-row:auto;justify-self:start;margin-top:6px!important}#dashboardShell [data-panel=members]>.eh-heading>p{grid-row:3}}
/* Squad segments are one person each, including substitutes. */
.hud-segments{grid-template-columns:repeat(var(--hud-segment-count,1),minmax(0,1fr))}.hud-segments[hidden]{display:none!important}
/* The role view belongs to the global toolbar, beside notifications. */
#dashboardShell .topbar{min-height:74px;padding:12px 26px!important;background:var(--surface)!important;border-bottom:1px solid var(--border)!important;box-shadow:0 2px 0 var(--bg)!important;gap:16px}
#dashboardShell .top-left{gap:12px;min-width:0}
#dashboardShell #breadcrumbCurrent{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
#dashboardShell .breadcrumb,#dashboardShell .breadcrumb-slash{font-size:11px;color:var(--muted)}
#dashboardShell .top-actions{display:flex;align-items:center;gap:14px;min-width:0}
#dashboardShell .top-actions .eh-role-view{display:flex;align-items:center;gap:9px;padding:0 14px 0 0;margin:0;border:0;border-right:1px solid var(--border);min-width:0}
#dashboardShell .top-actions .eh-role-view.hidden{display:none!important}
#dashboardShell .eh-role-view label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);white-space:nowrap;margin:0}
#dashboardShell #roleViewSelect{width:170px;max-width:100%;height:36px;margin:0!important;padding:7px 28px 7px 10px!important;font-size:12px!important;background:var(--bg)!important;border-color:var(--border)!important;clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,0 100%)}
#dashboardShell #notificationsButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 11px!important;background:transparent!important;color:var(--ink)!important;clip-path:none!important;border:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;font-size:11px;line-height:18px}
#dashboardShell #notificationsButton:hover,#dashboardShell #notificationsButton[aria-expanded=true]{border-color:var(--hud-highlight)!important;background:var(--hud-nav-soft)!important}
#dashboardShell #notificationsButton svg{width:18px;height:18px;color:var(--hud-highlight)}
#dashboardShell .eh-notification-badge{background:var(--hud-blue)!important;color:#06141c!important;border-radius:0!important;min-width:18px;padding:0 4px;font-size:10px;line-height:18px}
#dashboardShell .eh-account-area{padding-top:12px;border-top:1px solid var(--border)}
@media(max-width:1100px){#dashboardShell .eh-role-view label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#dashboardShell #roleViewSelect{width:155px}}
@media(max-width:900px){#dashboardShell .topbar{padding:10px 16px!important;gap:10px;flex-wrap:wrap}#dashboardShell .top-actions{margin-left:auto;gap:8px}#dashboardShell .top-actions .eh-role-view{padding-right:8px}#dashboardShell #roleViewSelect{width:140px;font-size:11px!important}#dashboardShell .eh-notification-label{display:none!important}#dashboardShell #notificationsButton{width:36px;padding:8px!important;position:relative}#dashboardShell .eh-notification-badge{position:absolute;right:-5px;top:-6px;font-size:9px;min-width:14px;line-height:14px}#dashboardShell .top-left{gap:8px}#dashboardShell #breadcrumbCurrent{font-size:11px}}
@media(max-width:400px){#dashboardShell .topbar{gap:6px;padding:10px 12px!important}#dashboardShell #roleViewSelect{width:125px}#dashboardShell .top-left{gap:6px}#dashboardShell .mobile-menu{padding:5px!important;width:28px;min-width:28px}#dashboardShell #breadcrumbCurrent{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* Full-width map rotation: keep the existing gallery, editor and save behavior. */
#dashboardShell .hud-team-layout{grid-template-columns:minmax(0,1fr)}
#dashboardShell .hud-team-layout #members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start}
#dashboardShell .hud-team-layout .eh-roster-toolbar{grid-column:1/-1}
#dashboardShell .hud-team-layout>#teamResources{margin-top:0!important}
#dashboardShell #teamResources>h2{padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:14px}
#teamResourcesBody{display:flex;flex-wrap:wrap;gap:12px 18px;min-width:0}
#dashboardShell #teamResourcesBody>a.eh-btn{flex:1 1 200px;justify-content:flex-start;padding:10px 14px!important;border:1px solid var(--border)!important;min-height:40px}
#teamResourcesBody>.eh-map-pool-gallery,#teamResourcesBody>details{flex-basis:100%;min-width:0}
#dashboardShell .eh-map-pool-gallery{margin:6px 0 0;padding-top:18px;border-top:1px solid var(--border);width:100%}
#dashboardShell .eh-map-pool-heading{margin-bottom:16px;align-items:center;flex-wrap:wrap}
#dashboardShell .eh-map-pool-heading h3{font-size:23px!important}
#dashboardShell .eh-map-pool-gallery .eh-map-gallery-groups{max-width:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:18px}
#dashboardShell .eh-map-pool-gallery .eh-map-gallery-category{display:block;background:var(--bg);border:1px solid var(--border);padding:14px;border-radius:0}
#dashboardShell .eh-map-pool-gallery .eh-map-gallery-category h4{font-size:12px;margin:0 0 12px;color:var(--hud-highlight);padding-bottom:10px;border-bottom:1px solid var(--border)}
#dashboardShell .eh-map-pool-gallery .eh-map-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#dashboardShell .eh-map-pool-gallery .eh-map-photo-card{position:relative;border:1px solid var(--border);border-radius:0;min-width:0;overflow:hidden!important;box-shadow:none!important}
#dashboardShell .eh-map-pool-gallery .eh-map-photo-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
#dashboardShell .eh-map-pool-gallery .eh-map-photo-card figcaption{font-size:12px;padding:9px 10px;line-height:1.4;color:var(--ink);background:var(--surface);border-top:1px solid var(--border);min-height:36px}
#dashboardShell .eh-map-pool-gallery .eh-map-restriction{display:block;padding:6px 9px;font-size:10px;color:var(--hud-warning);background:var(--bg)}
body dialog.eh-map-pool-editor{position:fixed!important;inset:0!important;margin:auto!important;width:min(1240px,calc(100vw - 32px))!important;max-width:1240px!important;max-height:calc(100dvh - 32px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:22px!important}
.eh-map-pool-editor>header{border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:18px}
.eh-map-pool-editor>header>.eh-row{align-items:center;justify-content:space-between}
.eh-map-pool-editor header h2{font-size:28px!important;margin:6px 0!important}
.eh-map-pool-editor header p{font-size:12px;margin:6px 0;color:var(--muted)}
.eh-map-pool-editor .eh-map-tier-board{gap:12px;margin:0 0 22px}
.eh-map-pool-editor .eh-map-tier-row{grid-template-columns:120px minmax(0,1fr);background:var(--bg);border:1px solid var(--border);border-radius:0}
.eh-map-pool-editor .eh-map-tier-row>h3{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:16px;text-align:left;font-size:13px!important;line-height:1.2!important;background:var(--surface);color:var(--hud-highlight);border-right:1px solid var(--border)}
.eh-map-mode-count{font-size:11px;color:var(--hud-blue);border:1px solid var(--border);padding:4px 8px;line-height:1}
.eh-map-pool-editor .eh-map-tier-zone{padding:12px;gap:12px;align-items:start;min-height:80px}
.eh-map-pool-editor .eh-map-tile{width:156px;flex-basis:156px;border-radius:0;border:1px solid var(--border);background:var(--surface)}
.eh-map-pool-editor .eh-map-tile img{height:auto;aspect-ratio:16/9;object-fit:cover}
.eh-map-pool-editor .eh-map-tile-select{clip-path:none!important;box-shadow:none!important}
.eh-map-pool-editor .eh-map-tile strong{font-size:12px;line-height:1.4;padding:9px 10px;min-height:36px}
.eh-map-pool-editor .eh-map-grip{border-radius:0;clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,0 100%);background:var(--bg);border:1px solid var(--hud-highlight);color:var(--hud-highlight);width:28px;height:28px}
.eh-map-pool-editor .eh-map-date-label{display:block;font-size:10px;color:var(--muted);padding:8px;border-top:1px solid var(--border);line-height:1.4}
.eh-map-pool-editor .eh-map-date-label input{font-size:11px!important;padding:6px!important;width:100%;margin:5px 0 0}
.eh-map-pool-editor .eh-map-library{padding:16px;border:1px solid var(--border);border-radius:0;background:var(--bg)}
.eh-map-library-filters{display:flex;gap:10px;align-items:center;min-width:0}
.eh-map-library-filters select{width:155px}.eh-map-pool-editor .eh-map-library-heading input{width:220px;max-width:100%;margin:0!important}
.eh-map-pool-editor .eh-map-bank{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;padding:0}
.eh-map-pool-editor .eh-map-bank .eh-map-tile{width:100%;min-width:0}
.eh-map-pool-editor>footer{bottom:-22px;padding:14px 0;margin-top:18px;background:var(--surface);border-top:1px solid var(--border)}
.eh-map-pool-editor [data-count]{font-size:12px;font-weight:600;color:var(--hud-highlight)}
@media(max-width:700px){#dashboardShell .hud-team-layout #members{grid-template-columns:minmax(0,1fr)}#dashboardShell .eh-map-pool-gallery .eh-map-gallery-groups{grid-template-columns:minmax(0,1fr)}.eh-map-library-heading{align-items:stretch;flex-direction:column}.eh-map-library-filters{flex-wrap:wrap}.eh-map-library-filters select,.eh-map-pool-editor .eh-map-library-heading input{flex:1;min-width:120px;width:100%}}
@media(max-width:480px){#dashboardShell .eh-map-pool-gallery .eh-map-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell .eh-map-pool-gallery .eh-map-gallery-category{padding:12px}body dialog.eh-map-pool-editor{width:calc(100vw - 20px)!important;padding:14px!important}.eh-map-pool-editor .eh-map-tier-row{grid-template-columns:minmax(0,1fr)}.eh-map-pool-editor .eh-map-tier-row>h3{flex-direction:row;justify-content:space-between;align-items:center;border-right:0;border-bottom:1px solid var(--border);padding:10px 12px}.eh-map-pool-editor .eh-map-tier-zone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.eh-map-pool-editor .eh-map-tile{width:100%;min-width:0}.eh-map-pool-editor>footer{bottom:-14px}.eh-map-pool-editor .eh-map-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-map-pool-editor header h2{font-size:23px!important}}
#dashboardShell .eh-map-pool-gallery .eh-map-gallery-category:last-child:nth-child(odd){grid-column:1/-1}
.eh-map-pool-editor .eh-map-tier-board{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.eh-map-pool-editor .eh-map-tier-row{display:block;min-width:0}
.eh-map-pool-editor .eh-map-tier-row>h3{flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border);padding:10px 12px}
.eh-map-pool-editor .eh-map-tier-zone{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.eh-map-pool-editor .eh-map-tier-zone .eh-map-tile{width:100%;min-width:0}
.eh-map-pool-editor .eh-map-drop-hint{grid-column:1/-1}
@media(max-width:1050px){.eh-map-pool-editor .eh-map-tier-board{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.eh-map-pool-editor .eh-map-tier-zone{grid-template-columns:repeat(2,minmax(0,1fr))}}

body dialog.eh-map-pool-editor::before{top:0!important;left:0!important}body dialog.eh-map-pool-editor::after{right:0!important;bottom:0!important}
/* Dashboard proportions and row treatments from esportshub-pages-preview.html. */
#dashboardShell #pageContent .eh-dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px!important;align-items:start}
#dashboardShell .eh-dashboard-grid>.eh-panel{grid-column:span 6;min-width:0;order:0!important;padding:18px!important;min-height:0!important;height:auto!important}
#dashboardShell .eh-dashboard-grid>.eh-panel:has(#dashEvents){grid-column:span 7}
#dashboardShell .eh-dashboard-grid>#hudDashboardAvailability{grid-column:span 5}
#dashboardShell .eh-dashboard-grid>.eh-panel:has(#dashRoleTools){grid-column:1/-1}
#dashboardShell .eh-dashboard-grid .eh-panel>.eh-row{align-items:center!important;gap:10px;padding-bottom:12px!important;margin-bottom:12px!important;border-bottom:1px solid var(--border);flex-wrap:nowrap}
#dashboardShell .eh-dashboard-grid h2{display:flex;align-items:center;gap:10px;font-size:17px!important;line-height:1.1!important;margin:0!important}
#dashboardShell .eh-overview-heading-copy strong{font-size:17px!important;line-height:1.1;font-weight:700;text-transform:uppercase;letter-spacing:-.02em}
#dashboardShell .eh-overview-heading-copy small{display:none}
#dashboardShell .eh-overview-section-icon{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;border-radius:0;color:var(--hud-highlight);flex-shrink:0}
#dashboardShell .eh-overview-section-icon svg{width:21px;height:21px}
#dashboardShell .eh-dashboard-grid .eh-row>.eh-btn{padding:7px 12px!important;min-height:32px!important;font-size:12px!important;white-space:nowrap;background:none!important;color:var(--ink)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important}
#dashboardShell #hudDashboardAvailability h2{font-size:17px!important}
#dashboardShell #hudDashboardAvailability .eh-row>.eh-btn{font-size:11px!important}
#dashboardShell .eh-hud-percent{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;line-height:1;margin:4px 0 0}
#dashboardShell .eh-hud-percent strong{font-size:60px;line-height:.95;color:var(--hud-highlight);letter-spacing:-.02em}
#dashboardShell .eh-hud-percent small{font-size:13px;color:var(--muted);font-weight:500}
#dashboardShell .eh-hud-availability-count{font-size:11px;margin:8px 0 0;color:var(--muted)}
#dashboardShell #dashAvailability .hud-segments{margin:10px 0 14px;gap:4px}
#dashboardShell #dashAvailability .hud-segments>i{height:12px;background:var(--border);border:0}
#dashboardShell #dashAvailability .hud-segments>i.filled{background:var(--hud-blue)}
#dashboardShell #dashAvailability .eh-hud-availability-status{font-weight:600;margin:0 0 6px;font-size:14px}
#dashboardShell #dashAvailability>.eh-muted{margin:0;font-size:13px;line-height:1.5}
#dashboardShell .eh-hud-result-row,#dashboardShell .eh-hud-note-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--border);font-size:14px;line-height:1.5}
#dashboardShell .eh-hud-result-row:last-child,#dashboardShell .eh-hud-note-row:last-child{border:0}
#dashboardShell .eh-hud-row-main,#dashboardShell .eh-hud-note-link{flex:1;min-width:0;overflow-wrap:anywhere}
#dashboardShell .eh-hud-win{color:var(--hud-blue);font-weight:700;white-space:nowrap}
#dashboardShell .eh-hud-loss{color:var(--hud-warning);font-weight:700;white-space:nowrap}
#dashboardShell button.eh-hud-note-link{background:none!important;color:var(--ink)!important;border:0!important;padding:0!important;clip-path:none!important;text-align:left;font:400 14px/1.5 'Bai Jamjuree',sans-serif;box-shadow:none!important}
#dashboardShell .eh-hud-note-link:hover{text-decoration:underline;text-underline-offset:3px}
#dashboardShell .eh-hud-note-row>.eh-muted{font-size:12px;white-space:nowrap}
#dashboardShell .eh-upcoming-row{display:flex;align-items:center;gap:12px;padding:11px 0!important;border-bottom:1px solid var(--border);background:none!important}
#dashboardShell .eh-upcoming-row:last-child{border:0}
#dashboardShell .eh-upcoming-date{width:46px;min-width:46px;border:1px solid var(--border);border-radius:0;background:none;padding:3px 0;text-align:center;line-height:1.1}
#dashboardShell .eh-upcoming-date strong{font-size:18px;line-height:1.1}.eh-upcoming-date small{font-size:10px;color:var(--hud-highlight)}
#dashboardShell .eh-upcoming-info{flex:1;min-width:0}.eh-upcoming-info>strong{font-size:14px!important}.eh-upcoming-info>small{display:block;font-size:12px!important;margin-top:2px}
#dashboardShell .eh-dashboard-open{background:none!important;color:var(--ink)!important;border:1px solid var(--border)!important;padding:7px 12px!important;font-size:12px;clip-path:none!important;border-radius:0}
/* A calmer featured event, with preparation details available on demand. */
#dashboardShell #welcome{display:block;color:var(--hud-highlight)}
#dashboardShell #pageContent .eh-next-session{padding:24px!important;margin:0 0 18px!important}
#dashboardShell .eh-next-session>.eh-row{display:none!important}
#dashboardShell .eh-next-session #dashNext{display:grid;grid-template-columns:92px minmax(0,1fr);gap:24px;align-items:start;margin:0!important}
#dashboardShell .eh-next-session .eh-next-date{width:92px!important;min-width:92px!important;flex-basis:92px;padding:12px 0!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:none;min-height:116px;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)}
#dashboardShell .eh-next-date strong{font-size:44px!important;line-height:1!important}.eh-next-date small{font-size:12px!important}
#dashboardShell .eh-next-content{display:flex;flex-direction:column;min-width:0;align-items:flex-start}
#dashboardShell .eh-next-content .eh-next-meta{order:0;font-size:13px;gap:8px;margin:0 0 8px!important}
#dashboardShell .eh-next-content .eh-next-title{order:1;font-size:42px!important;line-height:.95!important;margin:0 0 6px!important}
#dashboardShell .eh-next-content .eh-next-time{order:2;font-size:15px!important;line-height:1.5!important;margin:0 0 6px!important}
#dashboardShell .eh-next-content .eh-next-note{order:3;font-size:14px;color:var(--muted);line-height:1.5;margin:0 0 14px!important}
#dashboardShell .eh-next-content>.eh-hero-schedule{order:4}
#dashboardShell .eh-hero-schedule{background:none!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important}
#dashboardShell #dashNext #dashPersonalEvent{order:4;grid-column:2;display:flex;flex-direction:column;gap:12px;margin:0!important;padding:0!important;border:0;width:100%}
#dashboardShell #dashPersonalEvent .eh-next-actions{display:flex!important;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-start;padding:0!important;min-height:0}
#dashboardShell #dashPersonalEvent .eh-next-actions>.eh-btn{width:auto!important;min-height:36px!important;margin:0!important;padding:9px 16px!important;font-size:13px;flex:none}
#dashboardShell #dashPersonalEvent>.eh-hero-details{width:100%;font-size:12px;margin-top:2px;border-top:1px solid var(--border);padding-top:10px}
#dashboardShell .eh-hero-details>summary{cursor:pointer;color:var(--muted);font-size:12px}
#dashboardShell .eh-hero-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-top:12px}
#dashboardShell .eh-hero-metrics .eh-next-personal-metric{padding:10px!important;gap:5px}
/* Compact dashboard map pool: five equal mode strips, sized to its card. */
#dashboardShell #dashMapPool{display:grid;gap:9px}
#dashboardShell #dashMapPool .eh-dashboard-map-mode{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;padding:0 0 9px;border-bottom:1px solid var(--border)}
#dashboardShell #dashMapPool .eh-dashboard-map-mode:last-of-type{border:0;padding-bottom:0}
#dashboardShell #dashMapPool .eh-dashboard-map-mode h3{font-size:10px!important;padding:0;margin:0!important;color:var(--hud-highlight);line-height:1.3!important}
#dashboardShell #dashMapPool .eh-dashboard-map-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#dashboardShell #dashMapPool .eh-dashboard-map{margin:0;border:1px solid var(--border);border-radius:0;background:var(--bg);overflow:hidden}
#dashboardShell #dashMapPool .eh-dashboard-map img{width:100%;height:38px;object-fit:cover;display:block}
#dashboardShell #dashMapPool .eh-dashboard-map figcaption{font-size:9px;line-height:1.3;padding:4px 5px;color:var(--ink)}
#dashboardShell #dashMapPool>small{font-size:10px;color:var(--muted)}
#dashboardShell #dashMapPool .eh-map-restriction{font-size:9px;color:var(--hud-warning);padding:3px 5px;border-top:1px solid var(--border)}
#dashboardShell .eh-dashboard-grid #dashRoleTools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
#dashboardShell #dashRoleTools>.eh-overview-scope{grid-column:1/-1}
#dashboardShell .eh-dashboard-grid .eh-overview-task{padding:12px 0;margin:0;border-bottom:1px solid var(--border)}
#dashboardShell .eh-dashboard-grid .eh-overview-task p{font-size:12px;line-height:1.6;margin:6px 0 10px}
/* Equal tiles in every mode, including the last odd-numbered group. */
#dashboardShell .eh-map-pool-gallery .eh-map-gallery-category:last-child:nth-child(odd){grid-column:auto}
@media(max-width:1100px){#dashboardShell .eh-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell .eh-next-content .eh-next-title{font-size:34px!important}}
@media(max-width:900px){#dashboardShell #pageContent .eh-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}#dashboardShell .eh-dashboard-grid>.eh-panel,#dashboardShell .eh-dashboard-grid>.eh-panel:has(#dashEvents),#dashboardShell .eh-dashboard-grid>#hudDashboardAvailability{grid-column:1!important}#dashboardShell .eh-next-session #dashNext{grid-template-columns:68px minmax(0,1fr);gap:16px}#dashboardShell .eh-next-session .eh-next-date{width:68px!important;min-width:68px!important;min-height:100px}}
@media(max-width:600px){#dashboardShell #pageContent .eh-next-session{padding:18px!important}#dashboardShell .eh-next-session #dashNext{grid-template-columns:minmax(0,1fr)}#dashboardShell #dashNext #dashPersonalEvent{grid-column:1}#dashboardShell .eh-next-session .eh-next-date{display:none}#dashboardShell .eh-next-content .eh-next-title{font-size:30px!important}#dashboardShell .eh-dashboard-grid #dashRoleTools{grid-template-columns:minmax(0,1fr)}#dashboardShell .eh-dashboard-grid h2,#dashboardShell .eh-overview-heading-copy strong{font-size:15px!important}#dashboardShell .eh-hud-percent strong{font-size:54px}#dashboardShell .eh-hud-percent small{font-size:12px}#dashboardShell .eh-dashboard-grid .eh-panel>.eh-row{flex-wrap:wrap}#dashboardShell .eh-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell #dashPersonalEvent .eh-next-actions>.eh-btn{padding:8px 12px!important;font-size:12px}}
#dashboardShell #pageContent .eh-dashboard-grid{align-items:start!important;grid-auto-rows:auto!important}
#dashboardShell #pageContent .eh-dashboard-grid>.eh-panel{align-self:start!important;min-height:0!important}
#dashboardShell #pageContent #dashRoleTools .eh-overview-task{background:none!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;padding:12px 0!important;box-shadow:none!important}
#dashboardShell #dashMapPool .eh-dashboard-map img{height:28px}
#dashboardShell #dashMapPool .eh-dashboard-map figcaption{font-size:9px;padding:3px 4px;line-height:1.25}
#dashboardShell #dashMapPool .eh-dashboard-map-mode{padding-bottom:7px}
/* Roster labels and one-click lineup controls from the reference roster. */
#dashboardShell .hud-lineup-source{display:none!important}
#dashboardShell .eh-roster-role-tag{display:inline-block;padding:2px 8px;font-size:10px;line-height:1.4;font-weight:700;text-transform:uppercase;white-space:nowrap;letter-spacing:.02em;background:var(--hud-purple);color:#fff}
#dashboardShell .eh-roster-role-tag.is-starter{background:var(--hud-blue);color:#06141c}
#dashboardShell .eh-roster-role-tag.is-sub{background:none;color:var(--muted);box-shadow:inset 0 0 0 1px var(--border)}
#dashboardShell .eh-roster-actions .eh-lineup-toggle{padding:7px 12px!important;min-width:62px;min-height:32px;clip-path:none!important}
#dashboardShell .eh-roster-actions>[data-profile]{font-size:10px!important;padding:5px 7px!important;color:var(--muted)!important;min-height:28px}
#dashboardShell .eh-roster-actions{max-width:58%;align-items:center}
/* Practice windows are compact rows, with scheduling and detail actions retained. */
#dashboardShell #pageContent .eh-practice-window{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;padding:12px 0!important}
.eh-practice-row-info{grid-column:1;grid-row:1;min-width:0}.eh-practice-row-info strong{display:block;font-size:13px;font-weight:600;line-height:1.5}.eh-practice-row-info small{display:block;font-size:11px;line-height:1.5;margin-top:2px}
#dashboardShell .eh-practice-window>.eh-practice-create{grid-column:2;grid-row:1;align-self:center;background:none!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important;padding:7px 12px!important;min-height:32px}
.eh-practice-people{grid-column:1/-1;font-size:11px}.eh-practice-people summary{cursor:pointer;color:var(--muted);font-size:10px}.eh-practice-people p{font-size:11px;margin:6px 0}.eh-practice-people .hud-segments{margin:8px 0}
.eh-practice-options{margin:10px 0;border-bottom:1px solid var(--border);padding-bottom:10px}.eh-practice-options>summary{font-size:11px;color:var(--hud-highlight);cursor:pointer}.eh-practice-options .eh-practice-filters{margin:12px 0 0}
/* Three clear priorities replace the wall of dashboard task cards. */
#dashboardShell .eh-dashboard-grid #dashRoleTools{display:block}
#dashboardShell #pageContent #dashRoleTools .eh-overview-task{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;align-items:center;padding:12px 0!important}
#dashRoleTools .eh-overview-task>strong{grid-column:1;font-size:13px;line-height:1.5}#dashRoleTools .eh-overview-task>p{grid-column:1;margin:0!important;font-size:12px!important;line-height:1.6!important;max-width:760px}
#dashboardShell #dashRoleTools .eh-overview-task>.eh-btn{grid-column:2;grid-row:1/3;font-size:11px!important;min-height:32px;padding:7px 12px!important;background:none!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--border)!important;clip-path:none!important}
.hud-more-tasks{margin-top:12px;border:1px solid var(--border);padding:10px 12px}.hud-more-tasks>summary{cursor:pointer;color:var(--hud-highlight);font-size:12px;font-weight:600}.hud-more-tasks[hidden]{display:none!important}.hud-more-tasks .eh-overview-scope{margin-top:12px;padding-top:12px}
#dashboardShell #dashMapPool{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#dashboardShell #dashMapPool .eh-dashboard-map-mode{display:block;padding:0;border:0}
#dashboardShell #dashMapPool .eh-dashboard-map-mode h3{margin:0 0 6px!important}
#dashboardShell #dashMapPool>small{grid-column:1/-1}
/* Keep global navigation within reach while reading a page. */
#dashboardShell .topbar{position:sticky!important;top:0!important;z-index:40}
@media(max-width:600px){#dashboardShell #pageContent #dashRoleTools .eh-overview-task{grid-template-columns:minmax(0,1fr);gap:6px}#dashboardShell #dashRoleTools .eh-overview-task>.eh-btn{grid-column:1;grid-row:auto;justify-self:start}#dashboardShell .eh-roster-actions{max-width:100%}#dashboardShell .eh-roster-actions>[data-profile]{order:3}}
#dashboardShell .eh-map-pool-gallery .eh-map-photo-card figcaption{height:52px;min-height:52px;display:flex;align-items:center;overflow-wrap:anywhere}
/* Event creation uses the same focused modal pattern as reports and news. */
body dialog.eh-event-editor-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:calc(100dvh - 32px)!important;padding:22px!important;overflow-y:auto!important;overflow-x:hidden!important}
.eh-event-editor-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:12px}
.eh-event-editor-dialog h2{font-size:26px!important;margin:0!important}.eh-event-editor-dialog>p{font-size:12px;margin:0 0 18px}
.eh-event-editor-dialog #scheduleCreate{margin:0!important;padding:0!important;border:0!important;background:none!important}
.eh-event-editor-dialog #scheduleCreate>summary{display:none!important}
.eh-event-editor-dialog label{display:block;font-size:12px;color:var(--muted);margin:0 0 12px}
.eh-event-editor-dialog label>input,.eh-event-editor-dialog label>select,.eh-event-editor-dialog label>textarea{display:block;width:100%;margin:5px 0 0!important}
.eh-event-editor-dialog textarea{min-height:130px;resize:vertical}
.eh-event-composer-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--border);padding-top:16px;margin-top:16px}
.eh-event-editor-dialog #eventComposerStatus{font-size:12px;color:var(--hud-warning);margin:8px 0 0}
.eh-event-editor-dialog::before{top:0!important;left:0!important}.eh-event-editor-dialog::after{bottom:0!important;right:0!important}
@media(max-width:600px){body dialog.eh-event-editor-dialog{width:calc(100vw - 20px)!important;padding:16px!important}.eh-event-composer-actions button{flex:1}}
@media(max-width:900px){#dashboardShell #pageContent .eh-dashboard-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;text-align:left!important;gap:16px}#dashboardShell .eh-dashboard-heading>div{width:100%;min-width:0;text-align:left!important}#dashboardShell .eh-dashboard-heading :is(h1,p,.eh-kicker,#welcome){text-align:left!important;margin-left:0!important;margin-right:0!important}#dashboardShell .eh-dashboard-heading .eh-team-picker{align-self:stretch!important;min-width:0!important;width:100%!important;max-width:none!important;text-align:left!important}#dashboardShell .eh-dashboard-heading select{width:100%!important;margin:5px 0 0!important}}
html{scroll-padding-top:90px}
body .eh-event-editor-dialog>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;text-align:left!important}
body .eh-event-editor-dialog>header h2{margin:0!important;text-align:left!important;justify-self:start!important}
.eh-event-editor-dialog #eventForm{padding:0!important;border:0!important}
.eh-event-editor-dialog .eh-insert-vod{display:inline-flex;margin:8px 0 0;font-size:11px!important}
.eh-event-editor-dialog .eh-event-composer-actions{position:sticky;bottom:-22px;background:var(--surface);z-index:3;padding:12px 0}
@media(max-width:600px){.eh-event-editor-dialog .eh-event-composer-actions{bottom:-16px}}
#eventComposerDialog #scheduleCreate{width:100%;min-width:0;box-sizing:border-box;overflow-x:clip}
#eventComposerDialog :is(form,label,.eh-grid){min-width:0;box-sizing:border-box}
#eventComposerDialog :is(input,select,textarea){max-width:100%;box-sizing:border-box}
/* Dashboard map pool scales to the card's width, including narrow split views. */
#dashboardShell #dashMapPoolCard{container-type:inline-size;container-name:dashboard-map-pool}
#dashboardShell #dashMapPool{min-width:0;align-items:start}
#dashboardShell #dashMapPool .eh-dashboard-map-mode{min-width:0}
#dashboardShell #dashMapPool .eh-dashboard-map-tiles{align-items:stretch;min-width:0}
#dashboardShell #dashMapPool .eh-dashboard-map{display:flex;flex-direction:column;min-width:0}
#dashboardShell #dashMapPool .eh-dashboard-map img{width:100%;height:auto;aspect-ratio:16/9;max-height:62px;object-fit:cover;flex-shrink:0}
#dashboardShell #dashMapPool .eh-dashboard-map figcaption{flex:1;min-width:0;overflow-wrap:anywhere;font-size:10px;line-height:1.35;padding:4px 5px}
@container dashboard-map-pool (max-width:420px){
 #dashboardShell #dashMapPool{grid-template-columns:minmax(0,1fr);gap:14px}
 #dashboardShell #dashMapPool .eh-dashboard-map-mode{padding-bottom:12px;border-bottom:1px solid var(--border)}
 #dashboardShell #dashMapPool .eh-dashboard-map-mode:last-of-type{padding-bottom:0;border-bottom:0}
 #dashboardShell #dashMapPool .eh-dashboard-map-mode h3{font-size:11px!important;line-height:1.4!important;margin-bottom:7px!important}
 #dashboardShell #dashMapPool .eh-dashboard-map-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #dashboardShell #dashMapPool .eh-dashboard-map img{max-height:70px;min-height:42px}
 #dashboardShell #dashMapPool .eh-dashboard-map figcaption{font-size:11px;line-height:1.35;padding:5px 6px;min-height:40px}
 #dashboardShell #dashMapPool .eh-map-restriction{font-size:10px;line-height:1.4;padding:4px 6px;overflow-wrap:anywhere}
 #dashboardShell #dashMapPool>small{font-size:11px;line-height:1.5}
}
@supports not (container-type:inline-size){@media(max-width:600px){#dashboardShell #dashMapPool{grid-template-columns:minmax(0,1fr);gap:14px}#dashboardShell #dashMapPool .eh-dashboard-map img{height:auto;aspect-ratio:16/9;max-height:70px}#dashboardShell #dashMapPool .eh-dashboard-map figcaption{font-size:11px;padding:5px 6px;min-height:40px}}}
@media(max-width:600px){#dashboardShell #dashMapPoolCard>.eh-row{align-items:center!important;gap:8px}#dashboardShell #dashMapPoolCard>.eh-row>.eh-btn{min-height:40px!important;padding:9px 12px!important}}

/* Unified HUD controls and responsive page composition. */
:root{--surface-alt:var(--hud-alt)!important;--accent-bg:color-mix(in srgb,var(--hud-highlight) 12%,var(--surface))!important;--hud-nav-soft:color-mix(in srgb,var(--hud-highlight) 12%,transparent);--poly-button-hover:color-mix(in srgb,var(--hud-purple) 83%,white)!important;--hud-grid:color-mix(in srgb,var(--hud-highlight) 4%,transparent)}
:root[data-preset=white]{--bg:var(--hud-bg)!important;--surface:var(--hud-panel)!important;--border:var(--hud-border)!important}
body .eh-btn,body .eh-btn.tiny{background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;box-shadow:none!important;clip-path:none!important;border-radius:0!important}
body .eh-btn:hover{border-color:var(--hud-highlight)!important;background:var(--surface-alt)!important}
body .eh-btn.hud-primary,body .eh-btn[type=submit]{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border-color:var(--hud-purple)!important;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))!important}
body .eh-btn[disabled]{opacity:.45;cursor:not-allowed}.eh-roster-role-tag,.hud-role-chip{display:inline-flex!important;align-items:center;min-height:23px;padding:3px 8px!important;font-size:10px!important;line-height:1.2!important;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border:1px solid color-mix(in srgb,var(--hud-highlight) 40%,transparent);color:var(--hud-highlight)!important;background:color-mix(in srgb,var(--hud-highlight) 12%,var(--surface))!important;border-radius:0!important}
.hud-role-chip.is-starter,.eh-roster-role-tag.is-starter{color:var(--hud-blue)!important;border-color:color-mix(in srgb,var(--hud-blue) 40%,transparent);background:color-mix(in srgb,var(--hud-blue) 12%,var(--surface))!important}
#sidebar{background:var(--bg)!important}.eh-settings-nav,.eh-management-tabs,.eh-studio-tabs{background:var(--bg)!important}.eh-nav-link.active{background:linear-gradient(90deg,var(--hud-nav-soft),transparent)!important}
.hud-season-card{width:100%;margin:0 0 18px!important}.hud-season-card .eh-season-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hud-season-card h2{font-size:17px!important}.hud-season-card .eh-season-metrics>div{background:var(--bg);padding:12px 16px}.hud-season-card .eh-season-metrics strong{font-size:32px!important}
.eh-dashboard-grid{grid-auto-flow:row dense!important}.eh-dashboard-grid>article{min-height:0!important;align-self:start!important}.eh-contact{padding:10px 0!important;gap:10px;display:flex;align-items:center}.eh-contact .eh-roster-identity{min-width:0;flex:1}.eh-contact strong{overflow-wrap:anywhere}.eh-contact>.eh-btn{flex-shrink:0}.eh-overview-heading-copy small{display:none!important}
@media(min-width:1001px){.eh-dashboard-grid>[data-overview-card=dashEvents],#hudDashboardAvailability{align-self:stretch!important;height:320px!important;overflow:hidden!important}.eh-dashboard-grid>[data-overview-card=dashEvents]{display:flex;flex-direction:column}.eh-dashboard-grid #dashEvents{overflow:auto;min-height:0;flex:1;padding-right:6px}.hud-dashboard-column{display:flex;flex-direction:column;gap:18px;min-width:0;grid-column:span 6}.hud-dashboard-column>article{width:100%;margin:0!important}}
.eh-next-content{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important}.eh-next-content>.eh-next-personal{order:20!important;width:100%}.eh-next-content>h2,.eh-next-content>h3{order:0}.eh-next-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;align-items:center!important;justify-content:flex-start!important}.eh-next-actions>.eh-btn{min-height:38px!important;margin:0!important;flex:0 1 auto!important}.eh-hero-details{margin-top:12px}
.hud-order-actions{display:flex;gap:4px}.eh-org-team-row{display:flex;gap:10px;padding:14px 0!important;border-bottom:1px solid var(--border)}.eh-org-team-identity{flex:1;min-width:0}.eh-org-team-identity small{display:block}.eh-org-teams>.eh-row{align-items:center;gap:12px}.eh-org-teams select{max-width:230px}.eh-org-game-row{padding:14px 0!important}.eh-org-games small{display:block}.eh-org-trash{grid-column:1/-1}
.hud-attendance-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none;clip-path:inset(50%)}.hud-attendance-choices{display:flex;flex-wrap:wrap;gap:0}.hud-attendance-choices .eh-btn{font-size:11px!important;min-height:32px!important;padding:6px 10px!important}.hud-attendance-choices .eh-btn[aria-pressed=true]{background:var(--accent-bg)!important;border-color:var(--hud-highlight)!important;color:var(--hud-highlight)!important}.eh-attendance-dialog{max-width:1000px!important}.eh-attendance-row{display:flex!important;justify-content:space-between;gap:12px!important;padding:14px 0!important;border-bottom:1px solid var(--border)!important}.eh-attendance-group{margin-top:22px}.eh-attendance-group>h3{font-size:14px;color:var(--hud-highlight)}.hud-attendance-history{max-width:920px!important}.hud-attendance-history [data-summary]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hud-attendance-history .eh-attendance-group{border:1px solid var(--border);padding:16px;margin:0}.hud-attendance-history [data-summary]>.eh-item{grid-column:1/-1;margin:0!important;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--border);padding:10px 0}.hud-attendance-history [data-summary]>.eh-item strong{flex:1}.hud-attendance-history .eh-item p{font-size:12px}
#weekGrid button.chosen{background:var(--hud-blue)!important}
.hud-slot-popover{position:fixed;z-index:5000;pointer-events:none;width:300px;max-width:calc(100vw - 24px);padding:16px;background:var(--surface);border:1px solid var(--hud-highlight);box-shadow:var(--hud-shadow);font-size:12px}.hud-slot-popover h3{font-size:14px!important;margin:0 0 12px;color:var(--hud-highlight)}.hud-slot-popover p{margin:8px 0}.hud-slot-popover strong{display:block;color:var(--ink)}
.hud-drop-zone{border:1px dashed var(--hud-highlight)!important;background:var(--bg)!important;text-align:center;padding:36px!important;display:grid;justify-items:center;gap:12px;margin:20px 0}.hud-drop-zone.is-over{background:var(--accent-bg)!important;border-style:solid!important}.hud-drop-zone svg{width:36px;height:36px;color:var(--hud-highlight)}.hud-drop-zone>strong{font-size:20px}.hud-drop-zone input{max-width:100%;width:auto!important}.hud-drop-zone small{color:var(--muted)}
.eh-settings-layout{display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;gap:20px!important;align-items:start}.eh-settings-nav{display:flex!important;flex-direction:column!important;padding:10px!important;border:1px solid var(--border)!important;gap:4px!important;position:sticky;top:20px}.eh-settings-nav button{text-align:left!important;width:100%;border:0!important;border-left:3px solid transparent!important;padding:13px!important;min-height:46px}.eh-settings-nav button[aria-current=page]{border-left-color:var(--hud-highlight)!important;background:linear-gradient(90deg,var(--hud-nav-soft),transparent)!important;border-bottom:0!important}.eh-settings-content{min-width:0}.eh-settings-content>.eh-panel{padding:24px!important}.eh-studio-header{border-bottom:1px solid var(--border);padding-bottom:16px!important;margin-bottom:20px!important}.eh-studio-header h2{font-size:28px!important}.eh-studio-tabs{display:flex!important;flex-wrap:wrap!important;gap:0!important;padding:0!important;border:1px solid var(--border)!important;margin-bottom:20px!important}.eh-studio-tabs button{flex:1 1 140px;min-height:45px;padding:10px!important}.eh-studio-panel{padding:18px!important;border:1px solid var(--border);background:var(--bg)}.eh-studio-panel h3{font-size:19px!important;margin:0 0 18px!important}.eh-studio-panel label{font-size:12px;font-weight:600}.eh-profile-custom-grid{gap:22px!important}.eh-profile-preview{max-width:360px;width:100%}.eh-theme-options{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:12px!important}.eh-theme-choice{min-height:155px!important;padding:14px!important;width:100%;height:100%}.eh-theme-choice strong{font-size:14px!important}
#profileDialog{border:1px solid var(--border)!important;box-shadow:var(--hud-shadow)!important;border-radius:0!important}.eh-pd-section{border:1px solid color-mix(in srgb,currentColor 18%,transparent)!important;padding:16px!important}.eh-profile-tabs{border-bottom:1px solid var(--border)}.eh-profile-tabs button{clip-path:none!important;border-bottom:2px solid transparent!important}.eh-profile-tabs button[aria-selected=true]{border-bottom-color:var(--hud-highlight)!important}.eh-mini-profile .hud-role-chips,.eh-profile-badges .hud-role-chips{display:flex;flex-wrap:wrap;gap:4px}.eh-mini-menu-group{border:1px solid color-mix(in srgb,currentColor 15%,transparent)}.hud-role-chips{display:flex;flex-wrap:wrap;gap:4px}#sidebarRole{font-size:9px!important;line-height:1.4!important}.hud-role-chip{font-size:9px!important;padding:2px 5px!important;min-height:20px}
.hud-top-search{display:flex;align-items:center;gap:12px;min-width:190px;justify-content:space-between;padding:8px 12px!important}.hud-top-search svg{width:18px;height:18px}.hud-top-search kbd{font-size:11px;color:var(--muted);padding:1px 5px;border:1px solid var(--border)}#dashboardShell .topbar{background:var(--bg)!important;border-bottom:1px solid var(--border)!important}.top-actions{gap:10px!important}#notificationsButton{min-width:38px;background:transparent!important;border-color:var(--border)!important}.hud-search-dialog{width:min(640px,calc(100vw - 24px));padding:0!important;max-height:75vh}.hud-search-head{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid var(--border)}.hud-search-head input{flex:1;min-width:0}.hud-search-results{padding:10px;overflow:auto;max-height:55vh}.hud-search-result{display:flex;width:100%;padding:14px!important;align-items:center;justify-content:space-between;gap:12px;text-align:left;clip-path:none!important;background:transparent!important;color:var(--ink);border:0;border-bottom:1px solid var(--border)}.hud-search-result:hover,.hud-search-result:focus{background:var(--accent-bg)!important}.hud-search-result small{color:var(--muted)}.hud-search-results h3{font-size:12px!important;color:var(--hud-highlight);padding:8px}.eh-inbox-dialog{width:min(540px,calc(100vw - 24px))!important;max-height:80vh!important}.eh-inbox-dialog .eh-notification{padding:16px!important;border:1px solid var(--border);border-left:3px solid transparent;margin:10px 0;background:var(--bg)!important}.eh-inbox-dialog .eh-unread{border-left-color:var(--hud-blue)}.eh-inbox-filters{display:flex;gap:6px;margin:16px 0}.eh-inbox-filters [aria-pressed=true]{border-color:var(--hud-highlight)!important;color:var(--hud-highlight)!important}
.hud-news-publish{margin-left:auto!important;width:32px!important;min-height:32px!important;padding:4px!important;font-size:22px!important}.hud-news-more{width:100%;margin-top:12px}.hud-news-item{padding:14px 0!important;border-bottom:1px solid var(--border)}
.sch-agenda .sch-card{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;gap:16px!important;padding:18px!important}.sch-card .sch-time-rail{border-right:1px solid var(--border);padding-right:12px}.sch-card .sch-event-title{font-size:21px!important;line-height:1.15!important}.sch-card-actions{grid-column:2;justify-content:flex-start!important;gap:8px!important;margin-top:8px!important}.sch-card .sch-top{margin-bottom:8px}.sch-event-notes{margin-top:10px}.sch-manage{margin-left:auto}.sch-card .sch-time{font-size:14px!important;color:var(--hud-highlight)}
@media(max-width:900px){#dashboardShell #sidebar{width:85vw!important;max-width:85vw!important;right:auto!important;left:0!important;min-width:245px!important}.sidebar .sidebar-close{position:absolute;right:8px;top:14px}#openSelfProfile.hud-mobile-profile{display:flex!important;width:38px!important;height:38px!important;min-width:38px!important;padding:2px!important;margin:0!important;justify-content:center;border:1px solid var(--border)!important;background:var(--surface)!important;clip-path:none!important}#openSelfProfile.hud-mobile-profile>.eh-account-copy,#openSelfProfile.hud-mobile-profile .eh-account-chevron,#openSelfProfile.hud-mobile-profile>svg,#openSelfProfile.hud-mobile-profile>span:not(.avatar){display:none!important}#openSelfProfile.hud-mobile-profile .avatar{width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important}#sidebar .eh-account-area{display:none!important}.hud-top-search{min-width:36px;width:36px;padding:8px!important}.hud-top-search span,.hud-top-search kbd{display:none}.top-actions{gap:6px!important}.eh-role-view label{display:none}.eh-role-view select{width:100px!important;font-size:10px!important}.eh-settings-layout{grid-template-columns:1fr!important}.eh-settings-nav{position:static;flex-direction:row!important;flex-wrap:wrap}.eh-settings-nav button{width:auto;flex:1 1 120px;border-left:0!important;border-bottom:2px solid transparent!important}.eh-settings-nav button[aria-current=page]{border-bottom-color:var(--hud-highlight)!important}.eh-settings-content>.eh-panel{padding:16px!important}}
@media(max-width:600px){.hud-season-card .eh-season-metrics{gap:6px}.hud-season-card .eh-season-metrics>div{padding:10px}.hud-season-card .eh-season-metrics strong{font-size:26px!important}.eh-attendance-row{flex-wrap:wrap}.hud-attendance-choices{width:100%}.hud-attendance-choices .eh-btn{flex:1;padding:6px!important;font-size:10px!important}.hud-attendance-history [data-summary]{grid-template-columns:1fr}.hud-attendance-history [data-summary]>.eh-item{display:block}.eh-org-team-row{flex-wrap:wrap}.eh-org-team-identity{flex-basis:45%}.eh-org-team-row>.eh-org-delete{margin-left:auto}.sch-card-actions{grid-column:1/-1}.eh-studio-tabs button{flex-basis:40%}.eh-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eh-theme-choice{min-height:150px!important}.eh-role-view select{max-width:84px}.breadcrumb{display:none}.breadcrumb-slash{display:none}.top-left strong{font-size:12px!important}.hud-drop-zone{padding:22px 12px!important}}

@media(max-width:900px){#openSelfProfile.hud-mobile-profile>div:not(.avatar),#openSelfProfile.hud-mobile-profile>.eh-profile-chevron{display:none!important}.hud-dashboard-column:empty{display:none}}
/* Override legacy per-screen button fills with a single shared action hierarchy. */
#dashboardShell .eh-btn:not(.hud-primary),#accountDropup .eh-btn:not(.hud-primary),dialog .eh-btn:not(.hud-primary):not([type=submit]){background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;box-shadow:none!important;clip-path:none!important}
#dashboardShell .eh-btn.hud-primary,dialog .eh-btn.hud-primary{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border-color:var(--hud-purple)!important}
#dashboardShell #dashNext .eh-next-actions .eh-btn:not(.hud-primary){background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important}
#dashboardShell #dashNext .eh-next-actions .eh-btn.hud-primary{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border-color:var(--hud-purple)!important}
article:has(>#dashNews)>h2{padding-right:45px!important}article:has(>#dashNews)>.hud-news-publish{position:absolute;right:18px;top:13px}
@media(min-width:1001px){.hud-dashboard-column>[data-overview-card],.hud-dashboard-column>#dashMapPoolCard{grid-column:auto!important}.eh-dashboard-grid>.hud-dashboard-column{align-self:start!important}}
.hud-agenda-layout{display:grid;grid-template-columns:minmax(250px,.95fr) minmax(0,1.3fr);gap:18px;align-items:start}.hud-agenda-index{border:1px solid var(--border);background:var(--surface);padding:8px;min-width:0}.hud-agenda-choice{display:flex;align-items:center;gap:12px;width:100%;text-align:left;clip-path:none!important;background:transparent!important;color:var(--ink);border:0!important;border-bottom:1px solid var(--border)!important;padding:14px 8px;min-height:86px}.hud-agenda-choice[aria-current=true]{background:var(--accent-bg)!important;box-shadow:inset 3px 0 var(--hud-highlight)}.hud-agenda-copy{flex:1;min-width:0}.hud-agenda-copy strong{display:block;font-size:14px;line-height:1.3}.hud-agenda-copy small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.hud-agenda-date{width:45px;flex:0 0 45px;border:1px solid var(--border);padding:5px;text-align:center}.hud-agenda-date strong{display:block;color:var(--hud-highlight);font-size:25px;line-height:1}.hud-agenda-date small{display:block;text-transform:uppercase;font-size:10px}.hud-agenda-choice .sch-type{font-size:9px;flex-shrink:0}.hud-agenda-detail .sch-card{display:block!important;margin:0!important;padding:20px!important}.hud-agenda-detail .sch-time-rail{display:flex;gap:5px;align-items:center;border:0;margin-bottom:14px}.hud-agenda-detail .sch-event-title{font-size:26px!important;line-height:1.05!important;margin:12px 0!important}.hud-agenda-detail .sch-card-actions{padding-top:16px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap}.hud-agenda-detail .sch-manage{width:100%;margin:8px 0 0!important}.hud-agenda-detail .sch-manage-actions{padding:12px 0 0;display:flex;flex-wrap:wrap;gap:8px}.eh-inbox-dialog{margin:80px 18px 18px auto!important;max-height:calc(100vh - 110px)!important}label{ text-transform:capitalize}label input,label select,label textarea,label small{ text-transform:none}.eh-studio-layout{grid-template-columns:minmax(0,1fr)!important}.eh-studio-layout>aside{max-width:none!important;width:100%;border-top:1px solid var(--border);padding-top:18px}.eh-profile-preview{margin:0!important}.eh-studio-panel .eh-grid{gap:16px!important}
@media(min-width:1250px){.eh-studio-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:22px!important}.eh-studio-layout>aside{border-top:0;border-left:1px solid var(--border);padding:0 0 0 20px!important;position:sticky;top:20px}.eh-studio-tabs button{flex-basis:120px}}
@media(max-width:650px){.hud-agenda-layout{grid-template-columns:1fr}.hud-agenda-index{max-height:300px;overflow:auto}.hud-agenda-detail .sch-card{padding:16px!important}.eh-inbox-dialog{margin:70px auto 12px!important;max-height:calc(100vh - 85px)!important}.hud-agenda-copy strong{font-size:13px}}

.eh-org-teams>.eh-row h2,.eh-org-games>.eh-row h2{flex:1}.eh-org-teams>.eh-row{flex-wrap:wrap}.eh-org-teams>.eh-row select{flex:1 1 130px}.hud-organization-composer{width:min(560px,calc(100vw - 24px))!important}.hud-organization-composer>article{border:0!important;box-shadow:none!important;padding:0!important;margin-top:18px}.hud-organization-composer>article::before,.hud-organization-composer>article::after{display:none!important}#profileForm [role=tabpanel]{padding:18px!important;border:1px solid var(--border)!important;background:var(--bg)!important}#profileForm .eh-studio-section-heading h3{font-size:20px!important;margin-bottom:8px!important}.eh-assignment-badges>span{border-radius:0!important;background:var(--accent-bg)!important;color:var(--hud-highlight)!important;border:1px solid color-mix(in srgb,var(--hud-highlight) 40%,transparent)!important;font-size:10px!important;text-transform:uppercase;padding:3px 8px!important}.hud-attendance-source[hidden]{display:none!important}@media(max-width:900px){#sidebar .brand img{width:155px!important;max-width:calc(100% - 50px)!important}}
.hud-dashboard-column:empty{display:none!important}
.hud-history-records{grid-column:1/-1;border-top:1px solid var(--border);padding-top:12px}.hud-history-records>summary{color:var(--hud-highlight);font-weight:600;font-size:13px;cursor:pointer}.hud-history-records .eh-item{padding:10px 0!important;border-bottom:1px solid var(--border);margin:0!important}.hud-attendance-history input[type=search]{margin-bottom:16px;width:100%}
#dashNews>.hud-news-item .eh-rich-notes{max-height:130px;overflow:hidden}.hud-news-reader{width:min(760px,calc(100vw - 24px))!important}.hud-news-reader>.hud-news-item{padding:20px 0!important}.hud-news-reader small{display:block;margin:5px 0 16px;color:var(--muted)}
.hud-heat-legend{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0;font-size:10px;color:var(--muted)}.hud-heat-legend span{display:flex;gap:5px;align-items:center}.hud-heat-legend span::before{content:'';width:9px;height:9px;background:var(--hud-blue)}.hud-heat-legend [data-coverage=medium]::before{background:var(--hud-blue)}.hud-heat-legend [data-coverage=high]::before{background:var(--hud-highlight)}.hud-heat-legend [data-coverage=full]::before{background:#27794e}.eh-availability-editing .hud-heat-legend{display:none}
@media(min-width:1001px){#dashboardShell #pageContent .eh-dashboard-grid>article:has(#dashEvents),#dashboardShell #pageContent #hudDashboardAvailability{height:300px!important;min-height:300px!important;max-height:300px!important;align-self:stretch!important;flex-shrink:0!important}#dashboardShell #pageContent .eh-dashboard-grid>article:has(#dashEvents){grid-column:span 7!important;display:flex!important;flex-direction:column!important}#dashboardShell #pageContent #hudDashboardAvailability{grid-column:span 5!important}#dashboardShell #pageContent .eh-dashboard-grid>.hud-dashboard-column{grid-column:span 6!important;height:auto!important}.hud-dashboard-column>article{flex-shrink:0}}
#dashboardShell #dashRoleTools .eh-overview-task>.eh-btn.hud-primary{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border-color:var(--hud-purple)!important}
/* Compact header inbox from the Base44 testing layout, skinned with HUD tokens. */
.top-actions{position:relative}.hud-notification-popover{position:absolute;right:0;top:calc(100% + 12px);width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow:auto;background:var(--surface);border:1px solid var(--border);box-shadow:var(--hud-shadow);color:var(--ink);z-index:400}.hud-notification-popover>header{display:flex;align-items:center;gap:10px;padding:15px 16px;border-bottom:1px solid var(--border)}.hud-notification-popover>header>strong{font-size:14px;text-transform:uppercase;flex:1}.hud-notification-popover>header>small{font-size:11px;font-weight:600;color:var(--hud-highlight);background:var(--accent-bg);padding:3px 7px}.hud-notification-popover .hud-inbox-close{clip-path:none!important;background:transparent!important;color:var(--muted);border:0;padding:0;font-size:22px;line-height:1;width:22px;height:22px}.hud-notification-item{display:block;position:relative;width:100%;padding:16px;text-align:left;clip-path:none!important;border:0;border-bottom:1px solid var(--border);background:transparent!important;color:var(--ink);font:inherit}.hud-notification-item.is-unread{background:color-mix(in srgb,var(--hud-highlight) 8%,var(--surface))!important}.hud-notification-item.is-unread strong::before{content:'';display:inline-block;width:6px;height:6px;background:var(--hud-blue);margin-right:8px}.hud-notification-item strong{display:block;font-size:13px;font-weight:600}.hud-notification-item>span{display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5}.hud-notification-item time{display:block;font-size:10px;color:var(--muted);margin-top:8px}.hud-notification-item:hover{background:var(--surface-alt)!important}.hud-inbox-status{margin:0;padding:16px;color:var(--muted);font-size:12px}.hud-inbox-status:empty{display:none}.hud-notification-popover>footer{padding:12px 16px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border)}.hud-notification-popover>footer>button{background:transparent!important;color:var(--muted);border:0;clip-path:none!important;padding:0;font-size:11px}.hud-notification-popover>footer>button:hover{color:var(--hud-highlight)}
@media(max-width:900px){.hud-notification-popover{position:fixed;top:76px;right:12px;max-height:calc(100dvh - 90px)}}
.hud-global-search{position:relative;display:flex;align-items:center;gap:8px;width:260px;height:38px;padding:0 10px;background:var(--surface);border:1px solid var(--border)}.hud-global-search:focus-within{border-color:var(--hud-highlight)}.hud-global-search-icon{display:flex;color:var(--muted)}.hud-global-search-icon svg,.hud-search-toggle svg{width:17px;height:17px}.hud-global-search input#hudGlobalSearch{flex:1;min-width:0;width:100%;height:34px;background:transparent!important;padding:0!important;border:0!important;outline:none!important;font-size:12px;box-shadow:none!important}.hud-global-search kbd{white-space:nowrap;color:var(--muted);font-size:10px;border:1px solid var(--border);padding:2px 4px}.hud-search-toggle{display:none}.hud-global-search-results{position:absolute;top:calc(100% + 10px);left:0;width:350px;max-width:calc(100vw - 24px);max-height:400px;overflow-y:auto;z-index:400;background:var(--surface);border:1px solid var(--border);box-shadow:var(--hud-shadow);padding:6px}.hud-search-category{padding:9px 10px 5px;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--hud-highlight)}.hud-search-option{display:block;width:100%;text-align:left;padding:10px;clip-path:none!important;border:0!important;background:transparent!important;color:var(--ink);font:inherit}.hud-search-option:hover,.hud-search-option[aria-selected=true]{background:var(--accent-bg)!important}.hud-search-option strong{display:block;font-size:12px;font-weight:600}.hud-search-option small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.hud-search-status{margin:0;padding:12px;color:var(--muted);font-size:12px}.hud-global-search-results[hidden]{display:none!important}
@media(max-width:1100px) and (min-width:901px){.hud-global-search{width:210px}.hud-global-search kbd{display:none}}
@media(max-width:900px){.hud-global-search{width:36px;padding:0;flex:0 0 36px;justify-content:center;background:transparent}.hud-global-search-icon,.hud-global-search input#hudGlobalSearch,.hud-global-search kbd{display:none}.hud-search-toggle{display:flex;align-items:center;justify-content:center;width:34px;height:36px;padding:0!important;clip-path:none!important;border:0;background:transparent!important;color:var(--ink)}.hud-global-search.is-searching input#hudGlobalSearch{display:block;position:fixed;left:12px;right:12px;top:76px;width:calc(100vw - 24px);height:42px;z-index:410;background:var(--surface)!important;border:1px solid var(--hud-highlight)!important;padding:10px 12px!important}.hud-global-search-results{position:fixed;top:120px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 135px)}}
.hud-inbox-close svg{width:20px;height:20px}
/* Shared compact roster controls: roles, Profile, and Start/Bench align exactly. */
:root{--hud-roster-control-height:24px}
#dashboardShell .eh-roster-actions :is(.eh-btn,[data-profile],.eh-lineup-toggle,.eh-roster-role-tag),body [data-profile],body .hud-role-chip,body .eh-roster-role-tag,body .eh-assignment-badges>span{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:var(--hud-roster-control-height)!important;min-height:var(--hud-roster-control-height)!important;max-height:var(--hud-roster-control-height)!important;padding:0 9px!important;line-height:1!important;font-size:10px!important;white-space:nowrap;vertical-align:middle}
#dashboardShell .eh-roster-actions{align-items:center!important}
#profileDialog #pdRole.eh-pd-role,#accountDropup .eh-mini-roles{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
#profileDialog .eh-profile-badges{align-items:center;gap:8px}
#dashboardShell #pageContent .eh-dashboard-heading h1{white-space:nowrap!important;line-height:1.05!important;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-bottom:8px!important}
#dashboardShell #pageContent .eh-dashboard-heading h1 #welcome{display:inline!important;white-space:nowrap!important}
#dashboardShell .eh-dashboard-heading>div:first-child{min-width:0;flex:1}
/* Five shades of one hue: light means fewer available players; green is all starters. */
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-slot]{background:#0a0a0b!important;border-color:var(--border)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=level1]{background:color-mix(in srgb,var(--hud-blue) 20%,#fff)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=level2]{background:color-mix(in srgb,var(--hud-blue) 40%,#fff)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=level3]{background:color-mix(in srgb,var(--hud-blue) 65%,#fff)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=level4]{background:var(--hud-blue)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=level5]{background:color-mix(in srgb,var(--hud-blue) 62%,#000)!important}
#dashboardShell [data-panel=availability]:not(.eh-availability-editing) #weekGrid button[data-coverage=full]{background:#27794e!important;border-color:#5fbf8a!important}
.hud-heat-legend [data-coverage=none]::before{background:#0a0a0b;border:1px solid var(--border)}.hud-heat-legend [data-coverage=level1]::before{background:color-mix(in srgb,var(--hud-blue) 20%,#fff)}.hud-heat-legend [data-coverage=level2]::before{background:color-mix(in srgb,var(--hud-blue) 40%,#fff)}.hud-heat-legend [data-coverage=level3]::before{background:color-mix(in srgb,var(--hud-blue) 65%,#fff)}.hud-heat-legend [data-coverage=level4]::before{background:var(--hud-blue)}.hud-heat-legend [data-coverage=level5]::before{background:color-mix(in srgb,var(--hud-blue) 62%,#000)}
@media(min-width:901px){#sidebarRole{display:block!important}#sidebarRole .hud-role-chip{justify-content:flex-start!important}.eh-selfprofile>div:not(.avatar){min-width:0;flex:1}}

.eh-availability-legend>span:has(i){display:none!important}
/* Role assignments use the same shared badge component in Members and profiles. */
.eh-assignment-badges{display:flex;flex-wrap:wrap;gap:8px!important;align-items:center}.eh-member-assignment{display:flex;align-items:center;gap:6px;min-width:0}.eh-member-assignment>small{font-size:10px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .eh-assignment-badges .eh-roster-role-tag.is-starter{color:var(--hud-blue)!important;background:color-mix(in srgb,var(--hud-blue) 12%,var(--surface))!important;border-color:color-mix(in srgb,var(--hud-blue) 40%,transparent)!important}body .eh-roster-role-tag.is-sub{background:transparent!important;color:var(--muted)!important;border-color:var(--border)!important}
#pdRole{display:flex!important;flex-wrap:wrap;gap:5px!important}#profileDialog .eh-profile-badges{flex-wrap:wrap}
/* Keep the original heading size; reserve the entire header width for its single line. */
#dashboardShell #pageContent .eh-dashboard-heading{display:block!important}
#dashboardShell #pageContent .eh-dashboard-heading>div:first-child{width:100%!important}
#dashboardShell #pageContent .eh-dashboard-heading h1{font-size:clamp(34px,4.5vw,60px)!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
#dashboardShell #pageContent .eh-dashboard-heading .eh-team-picker{display:block;margin:12px 0 0 auto;width:250px;max-width:100%}
@media(max-width:900px){#dashboardShell #pageContent .eh-dashboard-heading h1{font-size:clamp(34px,6vw,48px)!important}}
@media(max-width:600px){#dashboardShell #pageContent .eh-dashboard-heading h1{font-size:34px!important}}
/* Match details must never inherit the old four-column action wrapper. */
#dashboardShell #dashPersonalEvent>.eh-personal-preparation{display:block!important;width:100%!important;min-width:0;grid-template-columns:none!important}
#dashboardShell #dashPersonalEvent .eh-hero-details{width:100%;margin:14px 0 0!important;padding:0!important;border:1px solid var(--border);background:var(--bg)}
#dashboardShell #dashPersonalEvent .eh-match-details-summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:12px 14px;color:var(--ink);font-size:12px;font-weight:600;cursor:pointer}
.eh-match-details-summary::-webkit-details-marker{display:none}.eh-match-details-summary svg{width:17px;height:17px;color:var(--hud-highlight);transition:transform .15s}
.eh-hero-details[open] .eh-match-details-summary svg{transform:rotate(180deg)}
#dashboardShell #dashPersonalEvent .eh-hero-details:not([open])>.eh-hero-metrics{display:none!important}
#dashboardShell #dashPersonalEvent .eh-hero-details[open]>.eh-hero-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:14px!important;gap:12px!important;border-top:1px solid var(--border)}
#dashboardShell #dashPersonalEvent .eh-hero-metrics>.eh-next-personal-metric{grid-column:auto!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px!important;padding:0!important;background:transparent!important;border:0!important;border-right:1px solid var(--border)!important;box-shadow:none!important}
#dashboardShell #dashPersonalEvent .eh-hero-metrics>.eh-next-personal-metric:last-child{border-right:0!important}.eh-hero-metrics .eh-next-personal-metric>strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:900px){#dashboardShell #dashPersonalEvent .eh-hero-details[open]>.eh-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:18px!important}#dashboardShell #dashPersonalEvent .eh-hero-metrics>.eh-next-personal-metric:nth-child(2){border-right:0!important}}
/* Team news uses the same square HUD frame and rows as the rest of the dashboard. */
#dashboardShell article:has(>#dashNews),#dashNews,#dashNews>.eh-item,.hud-news-reader,.hud-news-reader>.eh-item{border-radius:0!important;box-shadow:none!important}
#dashNews>.eh-item,.hud-news-reader>.eh-item{border:0!important;border-bottom:1px solid var(--border)!important;background:transparent!important;padding-left:0!important;padding-right:0!important}
/* Base44-style profile customization header and overview, retaining every setting. */
#profileForm.hud-profile-editor .eh-studio-intro{display:none!important}
.hud-profile-editor-header{border:1px solid var(--border);margin-bottom:22px;background:var(--surface);min-width:0}
.hud-editor-banner{height:150px;background-size:cover;background-position:center;position:relative;display:flex;justify-content:flex-end;align-items:flex-end;padding:14px}
.hud-editor-banner>.eh-btn{background:#0a0a0bcc!important;color:#fff!important;border-color:#ffffff50!important}
.hud-editor-identity{display:flex;gap:16px;align-items:center;padding:0 20px 18px;min-width:0}
.hud-editor-avatar{margin-top:-30px;width:80px;height:80px;flex:0 0 80px;display:grid;place-items:center;border:4px solid var(--surface);background:var(--profile-primary,var(--hud-purple));color:#fff;font-size:26px;font-weight:700;border-radius:0!important;position:relative;z-index:1;overflow:hidden;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
.hud-editor-avatar img{width:100%;height:100%;object-fit:cover}.hud-editor-identity-copy{flex:1;min-width:0;padding-top:12px}.hud-editor-identity-copy strong{display:block;font-size:22px;line-height:1.2;overflow-wrap:anywhere}.hud-editor-identity-copy small{display:block;margin-top:5px;font-size:12px}.hud-editor-identity>#pfSave{margin-top:10px;flex-shrink:0}
#dashboardShell .hud-profile-editor .eh-studio-layout{display:block!important}.hud-profile-editor .eh-studio-tabs{display:flex;flex-wrap:wrap;background:var(--bg)!important;border:0!important;border-bottom:1px solid var(--border)!important;margin-bottom:0!important}.hud-profile-editor .eh-studio-tabs button{flex:1 1 115px!important;padding:12px 9px!important;min-height:48px;border-bottom-width:2px!important;font-size:12px}.hud-profile-editor .eh-studio-tabs button svg{width:17px;height:17px}
#profileForm.hud-profile-editor [role=tabpanel]{padding:22px!important;border-top:0!important;background:var(--surface)!important}.hud-profile-basics>label{display:block;margin:16px 0}.hud-profile-basics textarea{min-height:125px!important}.hud-account-identity{border-top:1px solid var(--border);margin-top:22px;padding-top:16px}.hud-account-identity>summary,.hud-full-profile-preview>summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--hud-highlight);padding:4px 0}.hud-account-identity[open]>.eh-grid,.hud-account-identity[open]>label{margin-top:14px}
.hud-editor-presence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}.hud-editor-presence>button{clip-path:none!important;border:1px solid var(--border);background:var(--bg)!important;color:var(--muted);padding:10px 6px;font-size:11px;font-weight:600;line-height:1.3;min-height:40px}.hud-editor-presence>button[aria-pressed=true]{background:var(--accent-bg)!important;border-color:var(--hud-highlight);color:var(--hud-highlight)}.hud-editor-presence>button::before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;background:#40ad75;border-radius:50%}.hud-editor-presence>[data-presence=idle]::before{background:#e8b33b}.hud-editor-presence>[data-presence=dnd]::before{background:#e36870}.hud-editor-presence>[data-presence=invisible]::before{background:var(--muted)}
.hud-full-profile-preview{border:1px solid var(--border);padding:16px 20px;margin-top:18px}.hud-full-profile-preview>.eh-studio-preview{position:static!important;max-width:360px!important;border:0!important;padding:18px 0 0!important;margin:0!important}.hud-profile-editor .eh-studio-actions{border-top:0!important;padding:14px 0!important}
@media(max-width:600px){.hud-editor-banner{height:110px;padding:10px}.hud-editor-identity{padding:0 12px 14px;gap:10px;flex-wrap:wrap}.hud-editor-avatar{width:64px;height:64px;flex-basis:64px;margin-top:-22px}.hud-editor-identity-copy strong{font-size:19px}.hud-editor-identity>#pfSave{margin:0 0 0 auto}.hud-editor-presence{grid-template-columns:repeat(2,minmax(0,1fr))}.hud-profile-editor .eh-studio-tabs button{flex-basis:40%!important}#profileForm.hud-profile-editor [role=tabpanel]{padding:16px!important}.eh-member-assignment>small{max-width:100px}}
@media(prefers-reduced-motion:reduce){.eh-match-details-summary svg{transition:none}}
/* Supplied wordmark, tinted through its original alpha mask without altering the artwork. */
.eh-wordmark.eh-theme-wordmark{position:relative;display:block;aspect-ratio:563/118;height:auto!important;filter:none!important;flex-shrink:0}
.eh-theme-wordmark>span{position:absolute;inset:0;display:block;background:var(--ink);-webkit-mask-image:url('../assets/esportshub-wordmark-mask.svg?v=20261019-vector');mask-image:url('../assets/esportshub-wordmark-mask.svg?v=20261019-vector');-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.eh-theme-wordmark>.eh-wordmark-base{clip-path:inset(0 30.88% 0 0)}.eh-theme-wordmark>.eh-wordmark-hub{clip-path:inset(0 0 0 69.12%);background:var(--hud-highlight)}
/* The sidebar divider and toolbar share one header baseline. */
#dashboardShell{--hud-header-height:76px;--hud-control-height:38px}
#dashboardShell #sidebar{padding-top:0!important}
#dashboardShell #sidebar .brand{height:var(--hud-header-height)!important;min-height:var(--hud-header-height)!important;box-sizing:border-box;margin-top:0!important;padding:0 20px!important;align-items:center!important;border-bottom:1px solid var(--border)!important}
#dashboardShell #sidebar .brand .eh-theme-wordmark{width:190px!important;max-width:100%!important}
#dashboardShell .topbar{height:var(--hud-header-height)!important;min-height:var(--hud-header-height)!important;box-sizing:border-box;box-shadow:none!important;padding-block:0!important;align-items:center!important}
#dashboardShell .top-actions{align-items:center!important}
#dashboardShell :is(#roleViewControls,#roleViewSelect,.hud-global-search,#notificationsButton,.hud-search-toggle){height:var(--hud-control-height)!important;min-height:var(--hud-control-height)!important;max-height:var(--hud-control-height)!important;box-sizing:border-box!important;margin-block:0!important}
#dashboardShell #roleViewSelect{padding-block:0!important;line-height:normal!important}
#dashboardShell #notificationsButton{padding-block:0!important;white-space:nowrap}
#dashboardShell .hud-global-search input#hudGlobalSearch{height:calc(var(--hud-control-height) - 2px)!important}
@media(max-width:900px){#dashboardShell .topbar{flex-wrap:nowrap!important;gap:8px!important}#dashboardShell .top-actions{gap:6px!important}#dashboardShell .top-actions .eh-role-view{padding-right:0!important;border-right:0!important}#dashboardShell #roleViewSelect{width:110px!important}#dashboardShell .top-left{flex:0 0 auto}#dashboardShell #breadcrumbCurrent{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dashboardShell #sidebar .brand{padding-inline:54px!important}#dashboardShell .hud-global-search.is-searching input#hudGlobalSearch{height:42px!important}#dashboardShell .hud-search-toggle{width:34px!important}#dashboardShell .top-actions>#openSelfProfile{height:var(--hud-control-height)!important;width:var(--hud-control-height)!important}}
@media(max-width:400px){#dashboardShell .topbar{padding-inline:10px!important;gap:5px!important}#dashboardShell #roleViewSelect{width:100px!important}#dashboardShell #breadcrumbCurrent{display:none!important}#dashboardShell .top-actions{gap:5px!important}}

/* The current page title belongs only to the mobile header. */
#dashboardShell .topbar .breadcrumb,#dashboardShell .topbar .breadcrumb-slash{display:none!important}
#dashboardShell .topbar .top-left{display:none!important}
#dashboardShell .topbar .top-actions{margin-left:auto!important}
@media(max-width:900px){#dashboardShell .topbar .top-left{display:flex!important;align-items:center}#dashboardShell .topbar #breadcrumbCurrent{display:block!important;max-width:90px;font-size:11px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:360px){#dashboardShell .topbar #roleViewSelect{width:60px!important}#dashboardShell .topbar #breadcrumbCurrent{max-width:66px;font-size:10px!important}}
/* Desktop account launcher: clean surface, with a themed hover and open state. */
@media(min-width:901px){#dashboardShell #openSelfProfile{border:0!important;clip-path:none!important;box-shadow:none!important;border-radius:0!important;transition:background-color .15s ease,color .15s ease}#dashboardShell #openSelfProfile::before,#dashboardShell #openSelfProfile::after{display:none!important}#dashboardShell #openSelfProfile:hover,#dashboardShell #openSelfProfile[aria-expanded=true]{background:color-mix(in srgb,var(--hud-highlight) 12%,var(--surface))!important;color:var(--ink)!important}#dashboardShell #openSelfProfile:hover .eh-account-chevron{color:var(--hud-highlight)!important}}
@media(prefers-reduced-motion:reduce){#dashboardShell #openSelfProfile{transition:none!important}}
/* Event and mobile reliability pass. */
#dashboardShell .eh-upcoming-row[hidden]{display:none!important}
@media(min-width:1001px){#dashboardShell .eh-dashboard-grid #dashEvents{overflow:hidden!important}}
#dashboardShell .eh-next-content>.eh-next-actions{order:10!important;position:static!important;float:none!important;clear:both;width:100%;margin-top:12px!important;min-width:0}
#dashboardShell .eh-next-content>.eh-next-personal{order:20!important}
#dashboardShell .eh-next-content>.eh-next-actions>.eh-btn{max-width:100%;height:auto!important;white-space:normal;overflow-wrap:normal;min-width:0}
#dashboardShell .eh-roster-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;min-width:0}
#dashboardShell .eh-roster-toolbar input[type=search]{height:40px!important;min-height:40px!important;max-height:40px!important;flex:none!important;flex-basis:auto!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:8px 12px!important}
#dashboardShell .eh-roster-toolbar:not(:has(button)) input[type=search]{grid-column:1/-1}
#dashboardShell .hud-season-card .eh-season-metrics strong{font-size:clamp(20px,2vw,28px)!important;line-height:1.1!important;letter-spacing:-.01em!important;max-width:100%;white-space:nowrap}
#dashboardShell .hud-season-card .eh-season-metrics>div{min-width:0;padding:12px!important}
#weekGrid.eh-editing{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#weekGrid:not(.eh-editing){touch-action:pan-y}
.eh-vod-insert{width:min(850px,calc(100vw - 24px))!important;padding:22px!important;box-sizing:border-box}
.eh-vod-insert form{margin:0}.eh-vod-insert header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.eh-vod-insert h2{font-size:24px!important;margin:8px 0 0!important}
.eh-vod-map-entry{min-width:0;margin:16px 0;padding:16px;border:1px solid var(--border)}.eh-vod-map-entry legend{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--hud-highlight);padding:0 6px}
.eh-vod-code-grid{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(160px,1.3fr) minmax(110px,.8fr) auto;gap:12px;align-items:end}
.eh-vod-code-grid label{font-size:11px;min-width:0;margin:0}.eh-vod-code-grid :is(input,select){width:100%;height:40px;min-width:0;box-sizing:border-box;margin:6px 0 0!important}
.eh-vod-mode-select{position:relative;display:block}.eh-vod-mode-select select{padding-left:34px!important}.eh-vod-mode-select [data-mode-icon]{position:absolute;left:10px;top:17px;width:17px;height:17px;pointer-events:none;color:var(--hud-highlight)}.eh-vod-mode-select svg{display:block;width:17px;height:17px}
.eh-vod-code-grid [data-remove]{height:40px!important;min-height:40px!important}.eh-vod-code-grid [data-remove][hidden]{display:none!important}.eh-vod-insert footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--border);padding-top:16px;margin-top:20px}
@media(max-width:900px){
 #dashboardShell .hud-team-switcher #teamsMirror{gap:8px!important}
 #dashboardShell .hud-team-switcher .eh-pick,#dashboardShell .eh-pick{border:1px solid var(--border)!important;box-sizing:border-box;min-width:0;max-width:100%}
 #dashboardShell .hud-team-switcher .eh-pick.active{border-color:var(--hud-highlight)!important;border-bottom-width:3px!important}
 #dashboardShell #sidebar .brand{padding-inline:48px!important}
 #dashboardShell #sidebar .brand .eh-theme-wordmark{width:180px!important;max-width:100%!important;aspect-ratio:563/118!important;height:auto!important;flex:0 1 auto!important}
 #dashboardShell #closeMobileNav{position:absolute!important;right:10px!important;top:22px!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;margin:0!important;z-index:2}
 #dashboardShell #closeMobileNav svg{width:20px;height:20px;display:block}
 .eh-vod-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-vod-code-grid label:nth-child(2){grid-column:auto}
}
@media(max-width:600px){
 #dashboardShell #hudDashboardAvailability{display:flex!important;flex-direction:column;min-width:0;height:auto!important}
 #dashboardShell #hudDashboardAvailability>.eh-row{display:contents!important}
 #dashboardShell #hudDashboardAvailability h2{order:0;display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding-bottom:12px;margin-bottom:14px!important;border-bottom:1px solid var(--border);line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important}
 #dashboardShell #hudDashboardAvailability h2>span:last-child{min-width:0;white-space:normal;word-break:normal!important;overflow-wrap:normal!important}
 #dashboardShell #hudDashboardAvailability #dashAvailability{order:1}
 #dashboardShell #hudDashboardAvailability>.eh-row>.eh-btn{order:2;display:block;align-self:stretch;width:100%;margin:14px 0 0!important}
 #dashboardShell .hud-season-card .eh-season-metrics strong{font-size:20px!important}
 #dashboardShell .hud-season-card .eh-season-metrics>div{padding:10px 8px!important}
 #dashboardShell .eh-roster-toolbar{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 #dashboardShell .eh-roster-toolbar .eh-btn{justify-self:start}
 :is(.eh-event-context,.eh-guest-event,.eh-readiness-dialog,.eh-attendance-dialog,.eh-editor) :is(h2,h3,p,label){min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
 :is(.eh-coordination,.eh-editor,.eh-guest-event) :is(form,.eh-grid,.eh-row){min-width:0;max-width:100%}
 :is(.eh-coordination,.eh-editor) input:is([type=date],[type=time],[type=datetime-local]){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;min-inline-size:0}
 .eh-event-context [data-date],#dashboardShell .eh-next-time,.sch-event-date,.sch-event-time,.sch-time{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;line-height:1.5!important}
 #dashboardShell [data-panel=analysis],#dashboardShell [data-panel=analysis]>article,#workshopResult{min-width:0!important;width:100%;max-width:100%;box-sizing:border-box}
 #dashboardShell [data-panel=analysis] h1{font-size:clamp(26px,7vw,34px)!important;white-space:normal!important;line-height:1.05!important;overflow-wrap:normal!important}
 .hud-drop-zone{min-width:0!important;max-width:100%!important;width:100%;box-sizing:border-box;padding:22px 14px!important}
 .hud-drop-zone>strong{font-size:18px!important;white-space:normal!important;line-height:1.3!important;overflow-wrap:normal}
 #dashboardShell #workshopFile{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;font-size:11px!important}
 #workshopResult .table-wrap{width:100%;max-width:100%;overflow-x:auto}
 .eh-vod-insert{padding:16px!important}.eh-vod-code-grid{grid-template-columns:minmax(0,1fr)}.eh-vod-code-grid [data-remove]{justify-self:start}.eh-vod-map-entry{padding:12px}.eh-vod-insert footer{flex-wrap:wrap}
}
@media(min-width:1001px){#dashboardShell #pageContent .eh-dashboard-grid #dashEvents{flex:1 1 0!important;min-height:0!important;overflow:hidden!important}}
dialog.eh-guest-event{width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;overflow-y:auto;overflow-wrap:anywhere;color:var(--ink);background:var(--surface)}
dialog.eh-vod-insert.eh-panel .eh-btn:not([type=submit]){background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;box-shadow:none!important}

/* One dashboard structure across teams and public/member views. */
#dashboardShell #dashNext>.eh-next-content{grid-column:2;align-self:start;width:100%;box-sizing:border-box}
#dashboardShell #dashNext:not(:has(>.eh-next-date))>.eh-next-content{grid-column:1/-1}
#dashboardShell #dashNext .eh-next-content>:is(h2,h3,.eh-next-time,.eh-next-meta,.eh-next-note){order:0!important;position:static!important}
#dashboardShell #dashNext .eh-next-content>.eh-next-actions{order:1!important;display:flex!important;flex-direction:row!important;position:static!important;margin:14px 0 0!important;gap:8px!important}
#dashboardShell #dashNext .eh-next-content>.eh-next-personal{order:2!important}
#dashboardShell #dashMapPoolCard>.eh-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:10px;margin-bottom:14px}
#dashboardShell #dashMapPoolCard>.eh-row>h2{flex:1 1 140px;min-width:0;margin:0!important}
#dashboardShell #dashMapPoolCard>.eh-row>.eh-btn{flex:0 0 auto;margin:0!important;position:static!important;min-height:36px}
.eh-dashboard-maps-dialog{width:min(1050px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box}
.eh-dashboard-maps-dialog>header{margin-bottom:18px;gap:16px}
.eh-dashboard-maps-dialog .eh-map-gallery-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.eh-dashboard-maps-dialog .eh-map-gallery-category{min-width:0}
/* The icon and native select share a single grid cell, including its margin. */
.eh-vod-mode-select{display:grid;align-items:center}
.eh-vod-mode-select select,.eh-vod-mode-select [data-mode-icon]{grid-area:1/1}
.eh-vod-mode-select [data-mode-icon]{position:relative;inset:auto;align-self:center;justify-self:start;margin:6px 0 0 11px;width:17px;height:17px;z-index:1;transform:none}
.eh-rich-notes .eh-vod-replay-block{display:flex;align-items:center;gap:14px;padding:16px;margin:12px 0;border:1px solid var(--border);border-left:3px solid var(--hud-highlight);background:var(--surface-alt);color:var(--ink);box-sizing:border-box;max-width:100%;clear:both}
.eh-vod-replay-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:var(--surface);color:var(--hud-highlight);border:1px solid var(--border)}
.eh-vod-replay-icon svg{width:24px;height:24px}
.eh-vod-replay-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.eh-vod-replay-info small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.eh-vod-replay-info strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.eh-vod-replay-block code{font-family:inherit;font-size:15px;font-weight:700;letter-spacing:.06em;background:var(--bg);border:1px solid var(--border);padding:9px 12px;overflow-wrap:anywhere;max-width:50%;box-sizing:border-box;user-select:all}
@media(max-width:600px){
 #dashboardShell #dashNext>.eh-next-content{grid-column:1/-1}
 .eh-dashboard-maps-dialog .eh-map-gallery-groups{grid-template-columns:minmax(0,1fr)}
 .eh-rich-notes .eh-vod-replay-block{gap:10px;padding:12px;flex-wrap:wrap}
 .eh-vod-replay-block code{max-width:100%;margin-left:48px}
}
/* Square avatar decorations: draw inside the clipped frame so borders never disappear. */
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame]{--avatar-cut:9px;position:relative;isolation:isolate;border-radius:0!important;outline:0!important;clip-path:polygon(0 0,calc(100% - var(--avatar-cut)) 0,100% var(--avatar-cut),100% 100%,0 100%)!important;overflow:hidden!important;box-sizing:border-box;border:0!important;box-shadow:none!important;background:var(--profile-primary)!important}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame] img{border-radius:0!important;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame]::before{content:'';position:absolute;inset:0;border:3px solid var(--profile-accent);z-index:2;pointer-events:none;box-sizing:border-box}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=none]::before{border-color:var(--profile-surface,var(--surface))}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame]::after{content:none;pointer-events:none}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=double]::before{border:6px double var(--profile-accent)}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=dashed]::before{border-style:dashed}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=neon]::before{border-width:2px;box-shadow:inset 0 0 10px var(--profile-accent)}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=gradient]::before{border-image:linear-gradient(135deg,var(--profile-primary),var(--profile-accent)) 1;border-width:5px}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=hex]::before{border-width:5px;border-color:var(--profile-accent) var(--profile-primary)}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=diamond]::before{border-width:4px;border-image:repeating-linear-gradient(45deg,var(--profile-accent) 0 6px,var(--profile-primary) 6px 12px) 1}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=shield]::before{border-width:2px 2px 7px}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=pixel]::before{border:5px dotted var(--profile-accent)}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=orbit]::before{border:2px solid var(--profile-accent);inset:3px;box-shadow:inset 0 0 0 2px var(--profile-primary)}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar):is([data-frame=sparkle],[data-frame=crown])::after{content:'✦';position:absolute;display:grid;place-items:center;right:2px;bottom:2px;top:auto;left:auto;width:22px;height:22px;line-height:1;font-size:18px;background:var(--profile-primary);border:1px solid var(--profile-accent);border-radius:0;transform:none;color:var(--profile-accent);z-index:3}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar)[data-frame=crown]::after{content:'♛';right:auto;left:2px;top:2px;bottom:auto}

/* Updated pages preview: shared card, header, button and list geometry. */
#dashboardShell #pageContent{padding:26px!important}
#dashboardShell #pageContent [data-panel]>.eh-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 18px;flex-wrap:wrap;margin:0 0 18px!important}
#dashboardShell #pageContent [data-panel]>.eh-heading>.eh-kicker{flex:0 0 100%}
#dashboardShell #pageContent [data-panel]>.eh-heading>h1{margin:0!important}
#dashboardShell #pageContent [data-panel]>.eh-heading>p{order:5;flex-basis:100%;margin:0!important}
#dashboardShell #pageContent [data-panel]>.eh-heading>.eh-btn{margin-left:auto}
#dashboardShell #pageContent .eh-panel{padding:18px!important}
#dashboardShell #pageContent .eh-panel>.eh-row:first-child{gap:10px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}
#dashboardShell #pageContent .eh-panel>.eh-row:first-child h2{font-size:17px!important;line-height:1.15!important;margin:0!important}
#dashboardShell .eh-btn:not(.hud-primary):not([type=submit]){clip-path:none!important;background:transparent!important;box-shadow:inset 0 0 0 1px var(--border)!important;color:var(--ink)!important;border:0!important}
#dashboardShell .eh-btn.hud-primary,dialog .eh-btn[type=submit]{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))!important}
#dashboardShell .eh-btn:focus-visible,dialog .eh-btn:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:3px}
#dashboardShell .eh-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
.hud-dashboard-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;min-width:0}
.hud-dashboard-pair.is-main{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:stretch}
.hud-dashboard-pair>.eh-panel{min-width:0;max-width:100%;margin:0!important;width:auto!important}
.hud-dashboard-pair>.eh-panel:only-child{grid-column:1/-1}
.hud-dashboard-pair>.eh-panel:not(.hidden):not([hidden]):not(:has(~.eh-panel:not(.hidden):not([hidden]))):first-child{min-width:0}
#dashboardShell #pageContent .eh-next-session{padding:24px!important}
#dashboardShell .eh-next-session #dashNext{grid-template-columns:92px minmax(0,1fr)!important;gap:24px!important}
#dashboardShell .eh-next-date{width:92px;padding:10px 0!important;box-sizing:border-box}
#dashboardShell .eh-next-date strong{font-size:44px!important;line-height:1!important}
#dashboardShell .eh-next-content .eh-next-title{font-size:clamp(26px,3vw,42px)!important;line-height:.98!important;margin:0 0 8px!important}
#dashboardShell .eh-next-content .eh-next-meta{order:-1!important;margin:0 0 10px!important}
#dashboardShell #pageContent .hud-team-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)!important;gap:18px;align-items:start}
#dashboardShell .hud-team-layout #members{display:block!important}
#dashboardShell .hud-team-layout .eh-roster-member{flex-wrap:wrap}
#dashboardShell .hud-team-layout .eh-roster-actions{max-width:100%;margin-left:auto}
#dashboardShell .hud-team-layout .eh-map-gallery-groups{grid-template-columns:minmax(0,1fr)!important}
#dashboardShell .hud-team-layout .eh-map-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#dashboardShell .hud-team-layout .eh-map-photo-card img{aspect-ratio:16/9!important;min-height:0!important;height:auto!important}
#dashboardShell .hud-team-layout .eh-map-photo-card figcaption{font-size:10px!important;padding:6px!important}
#dashboardShell .hud-agenda-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:18px}
#dashboardShell .hud-agenda-index{padding:7px 18px!important;background:var(--surface);border:1px solid var(--border)}
#dashboardShell .hud-agenda-choice{padding:12px 0!important;border-bottom:1px solid var(--border)!important;gap:12px}
#dashboardShell .hud-agenda-choice[aria-current=true]{background:var(--hud-nav-soft)!important;box-shadow:inset 3px 0 var(--hud-highlight)!important;padding-left:12px!important}
#dashboardShell .hud-agenda-detail>.sch-event{margin:0!important;padding:18px!important}
#dashboardShell .eh-concerns-layout{display:block!important}
#dashboardShell .eh-concerns-layout>#review{margin:0!important}
#dashboardShell #review> .eh-row{display:none!important}
.hud-concern-workspace{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:18px;align-items:start}
.hud-concern-library,.hud-concern-detail{min-width:0}
.hud-concern-library{padding-right:18px;border-right:1px solid var(--border)}
.hud-concern-tabs{display:flex;margin:12px 0;border:1px solid var(--border)}
.hud-concern-tabs button{flex:1;clip-path:none!important;padding:6px 12px;background:none;color:var(--muted);border:0;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}
.hud-concern-tabs button[aria-pressed=true]{background:var(--hud-purple);color:var(--game-button-ink,#fff)}
.hud-concern-choice{display:flex;flex-wrap:wrap;gap:6px;align-items:center;text-align:left;width:100%;padding:12px;border:0;border-bottom:1px solid var(--border);background:none;color:var(--ink);clip-path:none!important;cursor:pointer;font:inherit}
.hud-concern-choice strong,.hud-concern-choice small{flex:0 0 100%;overflow-wrap:anywhere}
.hud-concern-choice[aria-current=true]{background:var(--hud-nav-soft);box-shadow:inset 3px 0 var(--hud-highlight)}
.eh-conversation-thread>[data-thread]>.eh-concern-card{border:0;border-left:3px solid var(--border);background:none;padding:6px 0 6px 12px;margin:14px 0;border-radius:0}
.eh-conversation-thread>[data-thread]>.eh-concern-card:has(strong){border-left-color:var(--hud-highlight)}
.eh-conversation-thread>.eh-row{padding-bottom:12px;border-bottom:1px solid var(--border)}
.eh-conversation-thread>.eh-row h2{font-size:20px!important}
.eh-conversation-thread .eh-document{min-height:120px!important}
.eh-concern-composer{width:min(850px,calc(100vw - 24px));padding:18px!important}
.eh-concern-composer>.eh-concern-compose{border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important}
.eh-concern-composer>.eh-concern-compose::before,.eh-concern-composer>.eh-concern-compose::after{display:none}
.hud-page-actions{display:flex;gap:10px;flex-wrap:wrap}
#dashboardShell .hud-drop-zone{padding:30px!important;border:1px dashed var(--hud-highlight)!important;background:var(--bg)!important;margin:18px 0!important}
#dashboardShell .eh-report-library .eh-report-card{padding:18px!important;border:1px solid var(--border)!important;background:var(--surface)!important}
#dashboardShell .hud-report-layout{grid-template-columns:minmax(220px,1fr) minmax(0,2fr)!important;gap:18px!important}
#dashboardShell .hud-report-choice{border-bottom:1px solid var(--border)!important;padding:12px!important}
#dashboardShell .eh-word-toolbar{padding:8px!important;gap:4px!important;background:var(--bg)!important}
#dashboardShell .eh-document,dialog .eh-document{padding:16px!important;border:1px solid var(--border)!important;background:var(--bg)!important}
#dashboardShell .eh-organization-directory{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:18px!important}
#dashboardShell .eh-org-team-row,#dashboardShell .eh-org-game-row{padding:11px 0!important;border:0;border-bottom:1px solid var(--border);background:none!important}
#dashboardShell .eh-settings-layout{grid-template-columns:230px minmax(0,1fr)!important;gap:18px!important}
#dashboardShell .hud-profile-editor-header{display:none!important}
#dashboardShell .hud-profile-editor .eh-studio-layout{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:18px;align-items:start}
#dashboardShell .hud-profile-editor .eh-studio-tabs{display:flex!important;flex-direction:column!important;padding:0!important;border:1px solid var(--border)!important;gap:0!important}
#dashboardShell .hud-profile-editor .eh-studio-tabs>button{width:100%!important;flex:none!important;text-align:left!important;justify-content:flex-start!important;padding:12px!important;border-bottom:1px solid var(--border)!important}
#dashboardShell .hud-profile-editor .eh-studio-tabs>button[aria-selected=true]{background:var(--hud-nav-soft)!important;box-shadow:inset 3px 0 var(--hud-highlight)!important}
#dashboardShell .hud-profile-editor [role=tabpanel]{padding:18px!important;border:1px solid var(--border);background:var(--surface)!important}
@media(max-width:1100px){#dashboardShell #pageContent .hud-team-layout{grid-template-columns:minmax(0,1fr)!important}.hud-concern-workspace{grid-template-columns:minmax(180px,1fr) minmax(0,1.6fr)}#dashboardShell .hud-profile-editor .eh-studio-layout{grid-template-columns:minmax(0,1fr)!important}#dashboardShell .hud-profile-editor .eh-studio-tabs{flex-direction:row!important;flex-wrap:wrap}#dashboardShell .hud-profile-editor .eh-studio-tabs>button{width:auto!important;flex:1 1 140px!important}}
@media(max-width:900px){#dashboardShell .hud-agenda-layout,#dashboardShell .eh-organization-directory,#dashboardShell .hud-report-layout,#dashboardShell .eh-settings-layout{grid-template-columns:minmax(0,1fr)!important}.hud-dashboard-pair,.hud-dashboard-pair.is-main{grid-template-columns:minmax(0,1fr)}#dashboardShell #pageContent{padding:16px!important}.hud-concern-workspace{grid-template-columns:minmax(0,1fr)}.hud-concern-library{border-right:0;padding-right:0;border-bottom:1px solid var(--border);padding-bottom:18px}.hud-concern-library .eh-concern-list{max-height:240px;overflow:auto}}
@media(max-width:600px){#dashboardShell .eh-next-session #dashNext{grid-template-columns:minmax(0,1fr)!important;gap:0!important}#dashboardShell #pageContent .eh-next-session{padding:18px!important}#dashboardShell .hud-team-layout .eh-roster-summary{flex-wrap:wrap}.hud-page-actions{width:100%}#dashboardShell .hud-profile-editor .eh-studio-tabs>button{flex-basis:40%!important}}

/* Final reference alignment, preserving the compact single-line greeting. */
#dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:18px!important}
#dashboardShell .eh-dashboard-heading>div{min-width:0}
#dashboardShell .eh-dashboard-heading h1{max-width:100%;font-size:var(--welcome-font-size,34px)!important;white-space:nowrap!important;line-height:1.05!important}
#dashboardShell .eh-dashboard-heading>.eh-team-picker{width:220px;min-width:0;margin:0!important}
#dashboardShell #dashNext .eh-next-content>.eh-next-meta{order:-1!important}
#dashboardShell .hud-dashboard-pair>article:is(.hidden,[hidden]){display:none!important}
#dashboardShell .hud-dashboard-pair>article:not(.hidden):not([hidden]):only-of-type{grid-column:1/-1}
.hud-analysis-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:18px;align-items:start;margin-top:18px}
.hud-analysis-stats,.hud-analysis-summary{min-width:0}
.hud-analysis-stats{padding:18px;border:1px solid var(--border);background:var(--surface)}
.hud-analysis-summary{display:grid;gap:18px}
.hud-analysis-layout h3{margin:0 0 14px!important;font-size:17px!important;border-bottom:1px solid var(--border);padding-bottom:12px}
.hud-analysis-hero{display:grid;grid-template-columns:minmax(80px,1fr) minmax(50px,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:10px 0;font-size:12px}
.hud-analysis-hero progress{height:10px;max-width:100%;width:100%;border-radius:0;accent-color:var(--hud-blue)}
.hud-analysis-hero progress::-webkit-progress-bar{background:var(--border)}.hud-analysis-hero progress::-webkit-progress-value{background:var(--hud-blue)}
#dashboardShell #memberDirectory>.eh-admin-member{display:grid!important;grid-template-columns:minmax(150px,1.2fr) minmax(150px,1fr) auto!important;gap:12px!important;padding:14px 8px!important;border:0!important;border-bottom:1px solid var(--border)!important;background:transparent!important;border-radius:0!important}
#dashboardShell #memberDirectory>.eh-admin-member.eh-selected-member{background:var(--hud-nav-soft)!important;box-shadow:inset 3px 0 var(--hud-highlight)}
#dashboardShell .eh-assignment-badges{display:flex;flex-wrap:wrap;gap:6px!important}
#dashboardShell #memberDirectory>.eh-admin-member .eh-assignment-badges{min-width:0}
#dashboardShell .eh-member-management-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)!important;gap:18px!important}
@media(max-width:1100px){.hud-analysis-layout,#dashboardShell .eh-member-management-layout{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:900px){#dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading{grid-template-columns:minmax(0,1fr)!important}#dashboardShell .eh-dashboard-heading>.eh-team-picker{width:100%}#dashboardShell #memberDirectory>.eh-admin-member{grid-template-columns:minmax(0,1fr) auto!important}#dashboardShell #memberDirectory>.eh-admin-member .eh-assignment-badges{grid-column:1;grid-row:2}#dashboardShell #memberDirectory>.eh-admin-member>.eh-btn{grid-column:2;grid-row:1/3}}
/* The existing studio nests its tabs and panels inside .eh-studio-main. */
#dashboardShell .hud-profile-editor .eh-studio-layout{grid-template-columns:minmax(0,1fr)!important}
#dashboardShell .hud-profile-editor .eh-studio-main{display:grid!important;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start;min-width:0}
#dashboardShell .hud-profile-editor .eh-studio-tabs{grid-column:1}
#dashboardShell .hud-profile-editor .eh-studio-panels{grid-column:2;min-width:0}
@media(max-width:1100px){#dashboardShell .hud-profile-editor .eh-studio-main{grid-template-columns:minmax(0,1fr)!important}#dashboardShell .hud-profile-editor .eh-studio-tabs,#dashboardShell .hud-profile-editor .eh-studio-panels{grid-column:1}}
#dashboardShell #pageContent .eh-heading>.hud-team-header-selector{padding:0!important;border:0!important;background:none!important;margin:0 0 0 auto!important;box-shadow:none!important}
.hud-team-header-selector::before,.hud-team-header-selector::after,.hud-team-header-selector>h2{display:none!important}
#dashboardShell .hud-team-switcher-wrap:empty{display:none!important}
@media(max-width:600px){#dashboardShell #pageContent .eh-heading>.hud-team-header-selector{width:100%;margin:0!important}.hud-team-header-selector #teamsMirror{width:100%}.hud-team-header-selector #teamsMirror .eh-pick{flex:1;min-width:0!important;padding:9px!important}}
.hud-dashboard-pair:has(>article.hidden,>article[hidden])>article:not(.hidden):not([hidden]){grid-column:1/-1}
.eh-dashboard-maps-dialog .eh-map-gallery-category{display:block;padding:14px;border:1px solid var(--border);background:var(--surface)}
.eh-dashboard-maps-dialog .eh-map-gallery-category h4{font-size:12px;margin:0 0 12px;color:var(--hud-highlight);border-bottom:1px solid var(--border);padding-bottom:10px}
.eh-dashboard-maps-dialog .eh-map-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.eh-dashboard-maps-dialog .eh-map-photo-card{min-width:0;max-width:none;margin:0;border:1px solid var(--border);background:var(--bg);border-radius:0;overflow:hidden}
.eh-dashboard-maps-dialog .eh-map-photo-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.eh-dashboard-maps-dialog .eh-map-photo-card figcaption{font-size:11px;padding:7px;overflow-wrap:anywhere}
.eh-dashboard-maps-dialog>header .eh-btn{background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;clip-path:none!important}
#dashboardShell #pageContent .hud-dashboard-pair>article{grid-column:auto!important}
#dashboardShell #pageContent .hud-dashboard-pair:has(>article.hidden,>article[hidden])>article:not(.hidden):not([hidden]){grid-column:1/-1!important}
@media(min-width:1001px){
 #dashboardShell #pageContent .hud-dashboard-pair.is-main>article{height:300px!important;min-height:300px!important;max-height:300px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;align-self:stretch!important}
 #dashboardShell #pageContent .hud-dashboard-pair.is-main>article>#dashEvents{flex:1;min-height:0;overflow:hidden!important}
}
@media(max-width:1000px){#dashboardShell #pageContent .hud-dashboard-pair.is-main>article{height:auto!important;min-height:0!important;max-height:none!important}}
/* Override the legacy twelve-column dashboard only at its root. */
#dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
#dashboardShell #pageContent .hud-dashboard-pair{grid-column:1/-1!important;width:100%;min-width:0}
#dashboardShell #pageContent .hud-dashboard-pair>#hudDashboardAvailability{grid-column:auto!important}
/* Dense auto packing and optional per-user saved card columns. */
#dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
#dashboardShell #pageContent .eh-dashboard-grid>.hud-dashboard-column{grid-column:auto!important;display:flex;flex-direction:column;gap:18px;min-width:0;height:auto!important}
#dashboardShell .hud-dashboard-column>article{min-width:0!important;width:100%!important;box-sizing:border-box;margin:0!important;flex-shrink:0}
.hud-layout-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;width:100%;margin-top:0}
.hud-layout-toolbar>span{font-size:11px;margin-right:auto}
.hud-layout-toolbar .eh-btn{font-size:11px!important;min-height:32px;padding:6px 10px!important}
.hud-card-layout-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px dashed var(--hud-highlight)}
.hud-card-layout-controls[hidden]{display:none!important}
.hud-card-layout-controls button{display:grid;place-items:center;width:28px;height:28px;background:var(--bg);border:1px solid var(--border);color:var(--ink);clip-path:none!important;cursor:pointer;font:600 16px inherit}
.hud-card-layout-controls button:hover{border-color:var(--hud-highlight);color:var(--hud-highlight)}
.hud-layout-grip{margin-right:auto;font-size:22px;cursor:grab;color:var(--hud-highlight)}
.hud-layout-editing{outline:1px dashed var(--hud-highlight);outline-offset:2px}
@media(min-width:1001px){
 #dashboardShell #pageContent .hud-dashboard-column>article:has(>#dashEvents),#dashboardShell #pageContent .hud-dashboard-column>#hudDashboardAvailability{height:300px!important;min-height:300px!important;max-height:300px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 #dashboardShell #pageContent .hud-dashboard-column>article>#dashEvents{flex:1;min-height:0;overflow:hidden!important}
}
@media(max-width:1000px){#dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}#dashboardShell #pageContent .hud-dashboard-column>#hudDashboardAvailability{height:auto!important;min-height:0!important;max-height:none!important}}
/* EsportsHub UI Kit v1: shared object tokens and component states. */
:root{--kit-space-1:4px;--kit-space-2:8px;--kit-space-3:12px;--kit-gap:18px;--kit-page:26px;--kit-focus:var(--hud-highlight)}
:root[data-preset=cyber]{--ink:#ededed!important;--muted:#8d8d95!important;--hud-grid:rgba(255,255,255,.04)}
:root[data-preset=white]{--hud-grid:rgba(0,0,0,.05)}
#dashboardShell #pageContent [data-panel]:not([data-panel=dashboard])>.eh-heading h1{font-size:clamp(32px,4vw,44px)!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[contenteditable]:focus-visible,#dashboardShell .eh-btn:focus-visible,dialog .eh-btn:focus-visible{outline:2px solid var(--kit-focus)!important;outline-offset:2px!important}
#dashboardShell :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),dialog :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]){background:var(--bg)!important;border:1px solid var(--border)!important;border-radius:0!important;padding:9px 11px;font:400 14px/1.5 'Bai Jamjuree',sans-serif;min-width:0}
#dashboardShell .eh-btn,dialog .eh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:'Bai Jamjuree',sans-serif;font-weight:600;line-height:1.5}
#dashboardShell .eh-btn:not(.hud-primary):not([type=submit]),dialog .eh-btn:not(.hud-primary):not([type=submit]){border-radius:0!important;background:transparent!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--border)!important;border:0!important;clip-path:none!important}
#dashboardShell .eh-btn.hud-primary,#dashboardShell .eh-btn[type=submit],dialog .eh-btn.hud-primary,dialog .eh-btn[type=submit]{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))!important}
#dashboardShell .eh-btn:not(:disabled):hover,dialog .eh-btn:not(:disabled):hover{filter:brightness(1.12);box-shadow:inset 0 0 0 1px var(--hud-highlight)!important}
#dashboardShell .eh-overview-section-icon svg{width:21px;height:21px;stroke-width:1.5}
#dashboardShell :is(.sch-type,.eh-report-type),body :is(.eh-roster-role-tag,.hud-role-chip){display:inline-flex;align-items:center;justify-content:center;border-radius:0!important;padding:1px 8px!important;background:var(--hud-blue)!important;color:#06141c!important;border:0!important;font-size:11px!important;font-weight:700;line-height:1.5;letter-spacing:0;text-transform:uppercase}
body .eh-roster-role-tag.is-staff,body .hud-role-chip:not(.is-starter):not(.is-sub),#dashboardShell .eh-report-card .eh-report-type,#dashboardShell .eh-concern-compose .eh-report-type{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;border-color:var(--hud-purple)!important}
body .eh-roster-role-tag.is-starter,body .hud-role-chip.is-starter{background:var(--hud-blue)!important;color:#06141c!important;border-color:var(--hud-blue)!important}
body .eh-roster-role-tag.is-sub,body .hud-role-chip[data-role=guest],#sidebarRole[data-primary-role=guest] .hud-role-chip{background:transparent!important;color:var(--muted)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--border)!important}
#dashboardShell :is(.eh-roster-role-tag,.hud-role-chip){height:var(--hud-roster-control-height)!important;min-height:var(--hud-roster-control-height)!important}
#dashboardShell .eh-result-win{color:var(--hud-blue)!important;font-weight:700}
#dashboardShell .eh-result-loss,#dashboardShell .eh-pending{color:var(--hud-warning)!important;font-weight:700}
.eh-notification-badge,.hud-notification-popover header>small{background:var(--hud-warning)!important;color:#1a1000!important;border-radius:0!important;font-size:10px!important;font-weight:700;padding:0 6px!important}
:is(.eh-management-tabs,.eh-profile-tabs,.eh-studio-tabs){border-bottom:1px solid var(--border)}
:is(.eh-management-tabs,.eh-profile-tabs) button{clip-path:none!important;padding:9px 16px!important;border:0!important;border-bottom:3px solid transparent!important;background:none!important;color:var(--muted)!important;font-weight:600}
:is(.eh-management-tabs,.eh-profile-tabs) button[aria-selected=true]{border-bottom-color:var(--hud-highlight)!important;color:var(--ink)!important}
.hud-attendance-choices,.eh-rsvp-choices,.sch-view-toggle{display:flex;gap:0!important;flex-wrap:wrap;box-shadow:inset 0 0 0 1px var(--border)}
body :is(.hud-attendance-choices,.eh-rsvp-choices,.sch-view-toggle)>button{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:var(--muted)!important;clip-path:none!important;padding:6px 12px!important;font-weight:600;min-height:32px}
body :is(.hud-attendance-choices,.eh-rsvp-choices,.sch-view-toggle)>button[aria-pressed=true]{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important}
body :is(.eh-pd,.eh-mini-profile,.eh-profile-preview){border-radius:0!important}
.hud-layout-grip svg,.hud-card-layout-controls svg{display:block;width:18px;height:18px;stroke-width:1.5}
.hud-card-layout-controls button:disabled{opacity:.3;cursor:default}
.hud-concern-choice small,.eh-upcoming-info small,.eh-roster-identity .eh-muted{font-size:12px;line-height:1.5}
/* Composite top-bar controls own their border; avoid nested field frames. */
#dashboardShell .hud-global-search input#hudGlobalSearch{border:0!important;background:transparent!important;padding:0!important;font-size:12px!important;box-shadow:none!important}
#dashboardShell #roleViewSelect{font-size:12px!important}
@media(max-width:900px){#dashboardShell #roleViewSelect{font-size:10px!important}}

/* Map names use player badges; mode headers retain the normal accent treatment. */
#dashboardShell #dashMapPool .eh-dashboard-map-heading{display:flex;align-items:center;gap:7px;margin:0 0 10px!important;min-width:0;color:var(--hud-highlight)!important;background:none!important;border:0!important;padding:0!important;font-size:11px!important;line-height:1.4!important}
#dashboardShell #dashMapPool .eh-map-mode-icon{display:flex;align-items:center;flex:0 0 17px;color:var(--hud-highlight)}
#dashboardShell #dashMapPool .eh-map-mode-icon svg{display:block;width:17px;height:17px;stroke-width:1.5}
#dashboardShell #dashMapPool .eh-dashboard-map-tiles{display:flex!important;flex-wrap:wrap;gap:6px!important;align-items:flex-start}
#dashboardShell #dashMapPool .eh-dashboard-map-entry{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%}
#dashboardShell #dashMapPool .eh-dashboard-map-label{font-size:10px!important;max-width:100%;white-space:nowrap}
#dashboardShell #dashMapPool .eh-dashboard-map-entry>small{position:static!important;max-width:100%;font-size:10px;line-height:1.4;overflow-wrap:anywhere}

/* Icon-only publishing/editing controls retain accessible click targets. */
body #dashboardShell :is(#dashMapPoolCard,#teamResources,#teamMapPoolCard,#dashNews,article:has(>#dashNews)) button.eh-icon-action:is(.eh-btn,.eh-news-edit){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;clip-path:none!important;border-radius:0!important;color:var(--muted)!important;filter:none!important}
body #dashboardShell :is(#dashMapPoolCard,#teamResources,#teamMapPoolCard,#dashNews,article:has(>#dashNews)) button.eh-icon-action:is(.eh-btn,.eh-news-edit):hover{background:transparent!important;color:var(--hud-highlight)!important;box-shadow:none!important}
.eh-icon-action svg{display:block;width:21px;height:21px;flex:none;stroke-width:1.5}

.eh-news-article-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.eh-news-article-heading>div{min-width:0;flex:1}
.eh-news-article-heading strong{overflow-wrap:anywhere}
.eh-news-article-heading .eh-news-edit{position:static!important;float:none!important;flex:none}
.eh-news-reader-actions{display:flex;align-items:center;gap:8px}
.hud-news-reader .eh-news-reader-body>.hud-news-item{padding:18px 0!important;border-bottom:1px solid var(--border)}
:root[data-preset] body dialog.hud-news-reader button.eh-icon-action:is(.eh-btn,.eh-news-edit){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;clip-path:none!important;border-radius:0!important;color:var(--muted)!important;filter:none!important}
:root[data-preset] body dialog.hud-news-reader button.eh-icon-action:is(.eh-btn,.eh-news-edit):hover{color:var(--hud-highlight)!important;background:transparent!important;box-shadow:none!important}

/* Compact team map tiles; restriction markers never add a caption row. */
#dashboardShell .hud-team-layout .eh-map-gallery-groups{gap:10px!important}
#dashboardShell .hud-team-layout .eh-map-gallery-category{padding:10px!important}
#dashboardShell .hud-team-layout .eh-map-gallery-category h4{margin:0 0 7px!important;padding-bottom:6px!important}
#dashboardShell .hud-team-layout .eh-map-photo-grid{gap:7px!important}
#dashboardShell .hud-team-layout .eh-map-photo-card{margin:0!important}
#dashboardShell .hud-team-layout .eh-map-photo-card img{aspect-ratio:2/1!important}
#dashboardShell .hud-team-layout .eh-map-photo-card figcaption{padding:5px 6px!important;min-height:28px!important;font-size:10px!important;line-height:1.4!important}
body :is(#dashboardShell,.eh-dashboard-maps-dialog) button.eh-map-restriction-marker{position:absolute!important;top:3px;right:3px;width:26px!important;height:26px!important;min-width:26px!important;padding:4px!important;border:0!important;background:var(--bg)!important;color:var(--hud-warning)!important;box-shadow:none!important;clip-path:none!important;cursor:pointer;z-index:3}
.eh-map-restriction-marker svg{width:18px;height:18px}
.eh-map-restriction-tooltip{position:fixed;inset:auto;margin:0;padding:10px 12px;max-width:min(280px,calc(100vw - 16px));background:var(--surface);color:var(--ink);border:1px solid var(--hud-warning);font:500 12px/1.5 'Bai Jamjuree',sans-serif;z-index:10000;pointer-events:none;box-shadow:3px 3px 0 var(--bg)}
.eh-news-article-heading>button{flex:none!important}
body :is(#dashboardShell,dialog.hud-news-reader) button.eh-news-delete:hover{color:var(--hud-warning)!important}
#dashboardShell #pageContent #practiceSuggestions .eh-practice-window{padding:8px 0!important}
#dashboardShell #practiceSuggestions>p{margin:6px 0!important}
@media(min-width:1101px){.hud-availability-layout{align-items:stretch}.hud-availability-sidebar{grid-template-rows:auto minmax(0,1fr);align-content:stretch}.hud-availability-sidebar>#practiceSuggestions{min-height:0}.hud-availability-sidebar>.hud-availability-players{min-height:0;overflow:auto}}
@media(min-width:1101px){
 .hud-availability-layout{align-items:start}
 .hud-availability-sidebar{contain:size;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto}
 #dashboardShell #pageContent .hud-availability-sidebar>#practiceSuggestions{display:flex;flex-direction:column;overflow:auto;padding:14px!important}
 #dashboardShell #practiceSuggestions>[data-windows]{min-height:0;overflow:auto}
 #dashboardShell #pageContent .hud-availability-sidebar>.hud-availability-players{padding:14px!important;overflow:auto;max-height:240px}
 #dashboardShell .hud-availability-players .eh-availability-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important}
 #dashboardShell .hud-availability-players .eh-availability-summary>div{padding:7px!important}
 #dashboardShell .hud-availability-players .eh-availability-summary strong{font-size:20px!important}
}
@media(min-width:1101px){
 #dashboardShell #pageContent .hud-availability-players #availabilitySummary{padding:0!important;margin:0 0 8px!important}
 #dashboardShell .hud-availability-players>.eh-availability-roster{margin:0!important}
 #dashboardShell #practiceSuggestions .eh-practice-row-info strong{font-size:12px!important}
 #dashboardShell #practiceSuggestions .eh-practice-people{margin:0!important}
 #dashboardShell #practiceSuggestions .eh-practice-window{padding:6px 0!important;gap:2px 8px!important}
 #dashboardShell #practiceSuggestions>.eh-muted{font-size:11px!important;line-height:1.4!important}
}
@media(min-width:1101px){
 #dashboardShell #practiceSuggestions .eh-practice-window{padding:4px 0!important}
 #dashboardShell #practiceSuggestions .eh-practice-options{margin:6px 0!important;padding-bottom:6px!important}
}
@media(min-width:1101px){#dashboardShell #pageContent #practiceSuggestions .eh-practice-window{padding:4px 0!important;gap:2px 8px!important}}
/* Mobile team choices use full-width rows rather than compressed equal tabs. */
@media(max-width:600px){
 #dashboardShell #pageContent #teamsMirror{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;width:100%;min-width:0}
 #dashboardShell #pageContent #teamsMirror .eh-pick{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex:none!important;width:100%!important;min-width:0!important;max-width:100%;padding:11px 12px!important;text-align:left;border:1px solid var(--border)!important;box-sizing:border-box}
 #dashboardShell #pageContent #teamsMirror .eh-pick strong{flex:1;min-width:0;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;font-size:13px;line-height:1.4!important}
 #dashboardShell #pageContent #teamsMirror .eh-pick small{flex:0 1 40%;margin:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:right;font-size:11px;line-height:1.4!important}
 #dashboardShell #pageContent #teamsMirror .eh-pick.active{border-color:var(--hud-highlight)!important;border-left-width:3px!important}
}
/* Team roster and its independent resources/map column share a desktop edge. */
#dashboardShell #pageContent .hud-team-layout{align-items:stretch!important}
#dashboardShell #pageContent .hud-team-layout>#selected{margin-top:0!important;align-self:stretch}
.hud-team-resources-column{display:flex;flex-direction:column;gap:18px;min-width:0}
#dashboardShell #pageContent .hud-team-resources-column>:is(#teamResources,#teamMapPoolCard){margin:0!important}
#dashboardShell #teamMapPoolCard .eh-map-pool-gallery{margin:0!important;padding:0!important;border:0!important}
#dashboardShell #teamMapPoolCard .eh-map-pool-heading h2{font-size:17px!important}
@media(max-width:1100px){.hud-team-resources-column{display:grid;grid-template-columns:minmax(0,1fr)}#dashboardShell #pageContent .hud-team-layout>#selected{height:auto!important}}
/* Public product website, shared with the signed-out home. */
.eh-product-header{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1240px,calc(100% - 64px));margin:auto;min-height:92px;border-bottom:1px solid var(--border)}
.eh-product-brand{display:block;flex:0 0 198px}.eh-product-header nav{display:flex;align-items:center;gap:28px}.eh-product-header a{text-decoration:none;color:var(--muted);font-size:13px;font-weight:600}.eh-product-header a:hover,.eh-product-header a[aria-current=page]{color:var(--hud-highlight)}
.eh-product-header .eh-product-signin{padding:10px 17px;border:1px solid var(--border);color:var(--ink)}
.eh-product-hero,.eh-product-content,.eh-product-paths{width:min(1200px,calc(100% - 64px));margin:auto}
.eh-product-hero{padding:86px 0 72px;display:grid;grid-template-columns:1fr 1.1fr;gap:54px;align-items:center}
.eh-product-eyebrow{display:block;color:var(--hud-highlight);font-size:11px;font-weight:600;letter-spacing:.1em;line-height:1.5;margin-bottom:20px}
.eh-product-hero h1,.eh-product-page-heading h1{font-size:clamp(42px,5.6vw,76px)!important;line-height:1.02!important;letter-spacing:-.04em!important;text-transform:none!important;margin:0 0 26px!important;max-width:none!important;white-space:normal!important}
.eh-product-hero h1 em,.eh-product-page-heading h1 em{font-style:normal;color:var(--hud-highlight)}
.eh-product-hero p,.eh-product-page-heading>p{font-size:17px;line-height:1.7;color:var(--muted);max-width:600px;margin:0 0 26px}
.eh-product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:32px 0 18px}.eh-product-actions>a{color:var(--ink);font-size:13px;text-decoration:none}.eh-product-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:14px 20px;background:var(--hud-purple);color:var(--game-button-ink,#fff)!important;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));font-size:14px;font-weight:600;text-decoration:none}.eh-product-cta:hover{filter:brightness(1.15)}
.eh-product-hero small{font-size:11px;color:var(--muted);line-height:1.5}.eh-product-preview{min-width:0;margin:0;border:1px solid var(--border);background:var(--surface);box-shadow:8px 8px 0 var(--bg)}.eh-product-preview>div{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border);color:var(--hud-highlight);font-size:9px;letter-spacing:.08em}.eh-product-preview img{display:block;width:100%;height:auto}.eh-product-preview figcaption{padding:13px 14px;font-size:11px;color:var(--muted)}
.eh-product-paths{padding:54px 0 74px;border-top:1px solid var(--border)}.eh-product-paths header{display:grid;grid-template-columns:1fr 1fr;gap:16px 50px;margin-bottom:36px}.eh-product-paths header>span{grid-column:1/-1;margin:0}.eh-product-paths h2,.eh-product-content h2,.eh-product-auth-heading h2{font-size:clamp(25px,3vw,36px)!important;line-height:1.15!important;text-transform:none!important;margin:0 0 18px!important}.eh-product-paths header p{align-self:end;line-height:1.7;color:var(--muted);margin:0 0 18px}.eh-product-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.eh-product-card-grid>a{display:flex;flex-direction:column;border:1px solid var(--border);background:var(--surface);padding:26px;text-decoration:none;color:var(--ink)}.eh-product-card-grid>a:hover{border-color:var(--hud-highlight)}.eh-product-card-grid span{font-size:10px;color:var(--hud-highlight);margin-bottom:24px}.eh-product-card-grid h3{font-size:22px!important;text-transform:none!important;line-height:1.2!important;margin:0 0 14px}.eh-product-card-grid p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 28px}.eh-product-card-grid b{font-size:12px;margin-top:auto;color:var(--hud-highlight)}
#loginPage .eh-product-auth{display:grid;grid-template-columns:minmax(0,1fr);max-width:900px;padding:60px 0 80px;width:calc(100% - 64px);border-top:1px solid var(--border);gap:24px}#loginPage .eh-product-auth>.eh-login-copy{display:none!important}.eh-product-auth-heading{text-align:center}.eh-product-auth-heading p{color:var(--muted);font-size:14px;line-height:1.6}.eh-product-auth .eh-login-form{min-width:0;width:100%}
#loginPage>.eh-landing-section,#loginPage>.hud-scrim-feed{display:none!important}
.eh-product-footer{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;width:min(1240px,calc(100% - 64px));margin:auto;padding:32px 0;border-top:1px solid var(--border);font-size:12px}.eh-product-footer>a{font-size:17px;font-weight:700;text-decoration:none;color:var(--ink)}.eh-product-footer p{color:var(--muted);font-size:12px;margin:0}.eh-product-footer nav{display:flex;gap:20px}.eh-product-footer nav a{color:var(--muted);text-decoration:none}.eh-product-footer a:hover{color:var(--hud-highlight)}
.eh-product-content{padding:72px 0}.eh-product-page-heading{padding:10px 0 62px;border-bottom:1px solid var(--border)}.eh-product-detail{display:grid;grid-template-columns:1fr 2fr;gap:48px;padding:42px 0;border-bottom:1px solid var(--border)}.eh-product-detail p,.eh-product-role-grid p,.eh-product-faq p{color:var(--muted);font-size:15px;line-height:1.8}.eh-product-detail ul,.eh-product-role-grid ul,.eh-product-detail ol{padding-left:20px;font-size:14px;line-height:1.8;color:var(--ink)}.eh-product-detail li,.eh-product-role-grid li{margin:8px 0}.eh-product-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}.eh-product-role-grid article{padding:28px;border:1px solid var(--border);background:var(--surface)}.eh-product-role-grid h2{font-size:25px!important}.eh-product-footnote{color:var(--muted);font-size:12px;line-height:1.7;margin:24px 0}.eh-product-faq{padding:48px 0}.eh-product-faq details{border-bottom:1px solid var(--border);padding:18px 0}.eh-product-faq summary{font-weight:600;cursor:pointer}.eh-product-faq details p{max-width:800px;font-size:14px}.eh-product-final{margin-top:48px;border:1px solid var(--border);padding:40px;background:var(--surface)}.eh-product-final p{color:var(--muted);margin:0 0 24px;line-height:1.7}.eh-product-skip{position:fixed;top:-100px;left:12px;padding:12px;background:var(--surface);color:var(--ink);z-index:10000}.eh-product-skip:focus{top:12px}
@media(max-width:900px){.eh-product-hero{grid-template-columns:1fr;gap:32px;padding:48px 0}.eh-product-preview{max-width:700px}.eh-product-header{width:calc(100% - 40px);gap:18px;flex-wrap:wrap;padding:20px 0}.eh-product-brand{flex-basis:175px}.eh-product-header nav{gap:18px;flex-wrap:wrap}.eh-product-header nav a{font-size:12px}.eh-product-card-grid{grid-template-columns:1fr}.eh-product-paths header{grid-template-columns:1fr;gap:12px}.eh-product-footer{grid-template-columns:1fr 1fr}.eh-product-footer p{grid-column:1/-1;grid-row:2}.eh-product-footer nav{justify-content:flex-end;gap:12px}.eh-product-detail{grid-template-columns:1fr;gap:0}.eh-product-content{padding:40px 0}.eh-product-role-grid{grid-template-columns:1fr}}
@media(max-width:600px){.eh-product-hero,.eh-product-content,.eh-product-paths{width:calc(100% - 36px)}.eh-product-header{display:block;width:calc(100% - 36px);min-height:0}.eh-product-brand{width:180px;margin-bottom:22px}.eh-product-header nav{justify-content:space-between;gap:12px}.eh-product-header .eh-product-signin{padding:7px 10px}.eh-product-hero h1,.eh-product-page-heading h1{font-size:43px!important}.eh-product-hero p,.eh-product-page-heading>p{font-size:15px}.eh-product-actions{gap:16px}.eh-product-hero{padding:38px 0 44px}.eh-product-paths{padding:36px 0 44px}.eh-product-preview>div{font-size:8px}.eh-product-footer{width:calc(100% - 36px);grid-template-columns:1fr;gap:18px}.eh-product-footer nav{justify-content:flex-start;flex-wrap:wrap}.eh-product-footer p{grid-row:auto}.eh-product-final{padding:24px}.eh-product-card-grid>a{padding:22px}#loginPage .eh-product-auth{width:calc(100% - 36px);padding:38px 0 48px}.eh-product-page-heading{padding-bottom:30px}.eh-product-detail{padding:30px 0}}
#loginPage>.eh-landing-band{display:none!important}
/* Sign-in lives on its own page; retain hidden hooks on home for session recovery. */
body[data-public-page=home] #loginPage>.eh-product-auth{display:none!important}
body[data-public-page=home] #loginPage.eh-auth-recovery>.eh-product-auth{display:block!important}
body[data-public-page=home] #loginPage #guest{display:none!important}
body[data-public-page=signin] #loginPage>.eh-product-auth{padding:64px 0!important;max-width:680px;min-height:calc(100vh - 230px);border:0}
body[data-public-page=signin] .eh-product-auth-heading h1{font-size:clamp(30px,4vw,46px)!important;line-height:1.1!important;text-transform:none!important;margin:0 0 16px}
@media(max-width:600px){body[data-public-page=signin] #loginPage>.eh-product-auth{padding:32px 0!important}}
body[data-public-page=signin] #loginPage main.eh-product-auth{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important;width:min(520px,calc(100% - 36px))!important;max-width:520px!important;margin-inline:auto!important}
body[data-public-page=signin] .eh-product-auth-heading h1{font-size:36px!important;max-width:none!important}
body[data-public-page=signin] .eh-product-auth .eh-login-form,body[data-public-page=signin] .eh-product-auth .eh-auth{width:100%!important;max-width:none!important;margin:0!important}
@media(max-width:600px){body[data-public-page=signin] .eh-product-auth-heading h1{font-size:30px!important}}
/* Spreadsheet-style selection outlines do not alter grid-cell dimensions. */
#dashboardShell #weekGrid.eh-editing button.eh-range-cell{position:relative;outline:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--hud-highlight) 35%,transparent)!important}
#dashboardShell #weekGrid.eh-editing button.eh-range-cell::after{content:'';position:absolute;inset:0;pointer-events:none;border:0 solid var(--hud-highlight);z-index:2}
#dashboardShell #weekGrid.eh-editing button.eh-range-top::after{border-top-width:2px}
#dashboardShell #weekGrid.eh-editing button.eh-range-bottom::after{border-bottom-width:2px}
#dashboardShell #weekGrid.eh-editing button.eh-range-left::after{border-left-width:2px}
#dashboardShell #weekGrid.eh-editing button.eh-range-right::after{border-right-width:2px}
/* Profile banners stay rectangular across full, mini, and editing surfaces. */
body #profileDialog.eh-profile-full #pdBanner,
body #accountDropup .eh-mini-banner,
body .eh-profile-preview .eh-preview-banner,
body #profileForm #pfBannerPreview,
body .hud-profile-editor-header,
body .hud-profile-editor-header .hud-editor-banner{border-radius:0!important;clip-path:none!important}

/* Profile display-name fonts, served locally with their OFL notices. */
@font-face{font-family:'EH Arcade';src:url('../assets/fonts/block.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'EH Circuit';src:url('../assets/fonts/future.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'EH Handwritten';src:url('../assets/fonts/script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'EH Gothic';src:url('../assets/fonts/gothic.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'EH Pixel';src:url('../assets/fonts/pixel.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
body .eh-profile-name{font-family:var(--profile-name-font,'Bai Jamjuree',sans-serif)!important;font-weight:var(--profile-name-weight,700)!important;text-transform:none!important;letter-spacing:normal!important;line-height:1.3!important;overflow-wrap:anywhere}
.eh-name-font-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.eh-name-font-choice{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:12px;background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;border-radius:0!important;text-align:left;clip-path:none!important;cursor:pointer}.eh-name-font-choice[aria-checked=true]{border-color:var(--hud-highlight)!important;background:var(--hud-nav-soft)!important}.eh-name-font-choice small{font:500 10px/1.4 'Bai Jamjuree',sans-serif!important;color:var(--muted)}.eh-name-font-choice strong{font-size:17px!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eh-name-font-choice[data-name-font=pixel] strong{font-size:12px!important;line-height:1.8!important}
#sidebarAvatar,#pfAvatarPreview{position:relative!important;overflow:hidden;flex-shrink:0!important}#sidebarAvatar{display:grid!important;place-items:center!important;visibility:visible!important;opacity:1!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}#sidebarAvatar img,#pfAvatarPreview img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important}.eh-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center;line-height:1;font-family:'Bai Jamjuree',sans-serif;font-weight:700}.eh-avatar-fallback[hidden]{display:none!important}
@media(max-width:600px){.eh-name-font-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The editor card shares the full-profile selectors and proportions. */
#profileEditorCard.eh-profile-full{width:min(680px,calc(100vw - 28px))!important;max-width:680px!important;max-height:88dvh;padding:0;overflow-y:auto;overflow-x:clip;position:fixed;border-radius:16px;scrollbar-width:thin}
#profileEditorCard .eh-profile-topbar{position:sticky;top:12px;display:flex;justify-content:flex-end;height:0;z-index:5;padding:0 12px}
#profileEditorCard.eh-profile-full .eh-pd-banner{height:145px;border-radius:14px 14px 0 0}
#profileEditorCard.eh-profile-full .eh-pd-avatar{width:86px;height:86px;margin:-38px 0 0 24px;border-width:5px;font-size:26px;flex-shrink:0;z-index:2}
#profileEditorCard.eh-profile-full .eh-pd-body{display:block!important;padding:16px 24px 22px}
#profileEditorCard .eh-profile-identity{padding-bottom:18px;margin-bottom:16px;border-bottom:1px solid #ffffff25}
#profileEditorCard #editor-pdName{font-size:25px!important;line-height:1.2;margin:0 0 6px!important;font-weight:800}
#profileEditorCard .eh-profile-handles{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin-bottom:10px}
#profileEditorCard .eh-profile-handles p{font-size:12px;line-height:1.5;margin:0!important}
#profileEditorCard .eh-profile-handles p+p:not(:empty):before{content:'·';margin-right:8px;opacity:.65}
#profileEditorCard .eh-profile-handles p:empty{display:none}
#profileEditorCard .eh-profile-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#profileEditorCard #editor-pdRole,#profileEditorCard #editor-pdPresence{font-size:11px;padding:3px 8px;border-color:#ffffff35;background:var(--profile-panel)}
#profileEditorCard #editor-pdStatus{font-size:13px;line-height:1.6;margin:10px 0 0;white-space:pre-wrap}
#profileEditorCard #editor-pdStatus:empty{display:none}
#profileEditorCard .eh-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#profileEditorCard .eh-profile-details .eh-pd-section{margin:0!important;padding:14px!important;border:1px solid #ffffff20!important;border-radius:10px;background:var(--profile-panel)}
#profileEditorCard .eh-profile-details h4{font-size:10px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 9px!important;opacity:.8}
#profileEditorCard #editor-pdBioWrap,#profileEditorCard .eh-profile-games{grid-column:1/-1}
#profileEditorCard #editor-pdBio{font-size:13px;line-height:1.65}
#profileEditorCard #editor-pdBio .eh-note-space{height:8px}
#profileEditorCard #editor-pdBio .eh-note-space br{display:none}
#profileEditorCard #editor-pdDiscord,#profileEditorCard #editor-pdMain,#profileEditorCard #editor-pdGames{font-size:12px;line-height:1.6}
#profileEditorCard .eh-ign{padding:7px 0;gap:12px;border-bottom:1px solid #ffffff20}
#profileEditorCard .eh-ign:last-child{border:0}
#profileEditorCard #editor-pdNote{font-size:12px;margin:10px 0}
#profileEditorCard #editor-pdNote:empty{display:none}
#profileEditorCard .eh-profile-footer{display:flex;justify-content:flex-end;margin-top:16px}
#profileEditorCard .eh-profile-footer .eh-btn{font-size:12px;border:1px solid #ffffff30;background:var(--profile-panel);color:var(--profile-text)}
#profileEditorCard .eh-profile-footer:has(.hidden){display:none}
@media(max-width:650px){#profileEditorCard.eh-profile-full .eh-pd-banner{height:115px}
#profileEditorCard.eh-profile-full .eh-pd-avatar{width:74px;height:74px;margin-left:18px;margin-top:-34px}
#profileEditorCard.eh-profile-full .eh-pd-body{padding:14px 18px 18px}
#profileEditorCard #editor-pdName{font-size:23px!important}}
#profileEditorCard #editor-pdClose{align-self:flex-start}
#profileEditorCard .eh-pd-avatar{background:var(--profile-primary);color:var(--profile-text)}
#profileEditorCard.eh-profile-full{width:min(720px,calc(100vw - 28px))!important;max-width:720px!important;border-radius:18px;padding-bottom:0;box-shadow:0 24px 100px #0008}
#profileEditorCard.eh-profile-full .eh-pd-banner{height:180px;border-radius:16px 16px 0 0;background-position:center;background-size:cover}
#profileEditorCard .eh-profile-avatar-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:0 28px;position:relative}
#profileEditorCard.eh-profile-full .eh-pd-avatar{margin:-48px 0 0;width:100px;height:100px;font-size:30px;border:6px solid var(--profile-primary);position:relative;overflow:visible}
#profileEditorCard .eh-pd-avatar img{border-radius:inherit;object-fit:cover}
#profileEditorCard .eh-profile-label{font-size:9px;letter-spacing:.15em;opacity:.7;padding-bottom:9px}
#profileEditorCard.eh-profile-full .eh-pd-body{padding:20px 28px 24px}
#profileEditorCard .eh-profile-identity{margin:0;padding:0 0 20px;border:0}
#profileEditorCard #editor-pdName{font-size:28px!important;line-height:1.2;letter-spacing:-.6px;margin-bottom:8px!important}
#profileEditorCard .eh-profile-handles{margin-bottom:12px;gap:4px 10px}
#profileEditorCard .eh-profile-handles p{font-size:13px;opacity:.85}
#profileEditorCard #editor-pdRole,#profileEditorCard #editor-pdPresence{border:1px solid #ffffff35;border-radius:20px;padding:4px 10px;font-size:10px}
#profileEditorCard #editor-pdStatus:not(:empty){padding:11px 14px;background:var(--profile-panel);border:1px solid #ffffff25;border-radius:10px;margin-top:16px;font-size:12px}
#profileEditorCard .eh-profile-tabs{display:flex;gap:22px;border-bottom:1px solid #ffffff30;margin:0 0 18px}
#profileEditorCard .eh-profile-tabs button{padding:10px 0 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--profile-text);opacity:.65;font-size:12px;font-weight:600;cursor:pointer}
#profileEditorCard .eh-profile-tabs button[aria-selected=true]{opacity:1;border-bottom-color:var(--profile-text)}
#profileEditorCard .eh-profile-tabs button:focus-visible{outline:2px solid var(--profile-text);outline-offset:3px}
#profileEditorCard .eh-profile-details{gap:12px}
#profileEditorCard .eh-profile-details .eh-pd-section,#profileEditorCard #editor-pdGamesPanel .eh-pd-section{background:var(--profile-panel);padding:18px!important;border:1px solid #ffffff20!important;border-radius:12px;margin:0}
#profileEditorCard .eh-profile-details h4,#profileEditorCard #editor-pdGamesPanel h4{font-size:10px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px!important;opacity:.65}
#profileEditorCard #editor-pdBio{font-size:13px;line-height:1.8}
#profileEditorCard .eh-profile-contact{display:flex;align-items:center;gap:12px;justify-content:space-between}
#profileEditorCard #editor-pdDiscord{overflow-wrap:anywhere;min-width:0}
#profileEditorCard .eh-ign{padding:12px 0;display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap}
#profileEditorCard .eh-ign span{opacity:.7;font-size:12px}
#profileEditorCard .eh-ign strong{font-size:13px}
#profileEditorCard .eh-profile-footer{margin-top:20px;padding-top:16px;border-top:1px solid #ffffff20}
#profileEditorCard .eh-profile-footer .eh-btn{padding:9px 16px;border-radius:8px}
@media(max-width:550px){#profileEditorCard.eh-profile-full{width:calc(100vw - 16px)!important;max-height:92dvh;border-radius:14px}
#profileEditorCard.eh-profile-full .eh-pd-banner{height:135px}
#profileEditorCard .eh-profile-avatar-row{padding:0 20px}
#profileEditorCard.eh-profile-full .eh-pd-avatar{width:80px;height:80px;margin-top:-35px}
#profileEditorCard.eh-profile-full .eh-pd-body{padding:18px 18px 20px}
#profileEditorCard #editor-pdName{font-size:24px!important}
#profileEditorCard .eh-profile-details{grid-template-columns:minmax(0,1fr)}
#profileEditorCard .eh-profile-label{font-size:8px}
#profileEditorCard .eh-profile-contact{flex-wrap:wrap}}
#profileEditorCard::backdrop{backdrop-filter:none!important}
#profileEditorCard{border:1px solid var(--border)!important;box-shadow:var(--hud-shadow)!important;border-radius:0!important}
#profileEditorCard #editor-pdRole.eh-pd-role{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
#profileEditorCard .eh-profile-badges{align-items:center;gap:8px}
#profileEditorCard .eh-profile-badges{flex-wrap:wrap}
body #profileEditorCard.eh-profile-full #editor-pdBanner{border-radius:0!important;clip-path:none!important}
/* Full-profile editor navigation and focused editing pages. */
#profileForm.eh-profile-card-editor>.eh-studio-intro,#profileForm.eh-profile-card-editor>.eh-studio-layout{display:none!important}
.eh-profile-editor-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:22px}.eh-profile-editor-toolbar h3{flex:1;margin:0!important;font-size:18px!important;line-height:1.4!important}.eh-profile-editor-toolbar [type=submit]{margin-left:auto}
body #profileEditorCard.eh-profile-full{position:relative!important;inset:auto!important;display:block;width:min(680px,100%)!important;max-width:100%!important;max-height:none!important;height:auto!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;border:1px solid var(--profile-accent,var(--border))!important;border-radius:0!important;box-sizing:border-box}
body #profileEditorCard[hidden],.eh-profile-editor-pages[hidden],.eh-profile-edit-page[hidden]{display:none!important}
#profileEditorCard [data-edit-section]{cursor:pointer;outline-offset:3px;transition:outline-color .15s}
#profileEditorCard [data-edit-section]:hover{outline:1px dashed var(--profile-accent)}
#profileEditorCard [data-edit-section]:focus-visible{outline:2px solid var(--profile-accent)!important}
#profileEditorCard .eh-profile-edit-appearance{margin-left:auto;background:var(--profile-panel)!important;color:var(--profile-text)!important;border:1px solid color-mix(in srgb,var(--profile-text) 25%,transparent)!important;clip-path:none!important}
#profileEditorCard #editor-pdName{width:fit-content;max-width:100%;line-height:1.35!important}
#profileEditorCard #editor-pdRole{display:flex;flex-wrap:wrap;gap:5px;border:0!important;padding:0!important;background:none!important}
#profileEditorCard #editor-pdBioGif img{max-width:100%;height:auto}
#profileEditorCard #editor-pdBanner{border-radius:0!important}
.eh-profile-editor-pages{width:min(760px,100%);margin:0 auto}.eh-profile-editor-pages>.eh-profile-edit-page{display:block;border:1px solid var(--border);background:var(--surface);padding:24px!important;min-width:0;margin:0!important}.eh-profile-editor-pages>.eh-profile-edit-page>summary{display:none!important}.eh-profile-edit-page>h3{margin:0 0 22px!important;font-size:24px!important;line-height:1.2!important}.eh-profile-edit-page>label{display:block;margin:16px 0}.eh-profile-edit-page .eh-grid{gap:16px}.eh-profile-edit-page small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:6px}.eh-profile-edit-page #pfAvatarPreview{width:88px;height:88px}.eh-profile-edit-page #pfBannerPreview{width:100%;height:150px;background-size:cover;background-position:center;border-radius:0!important}
body [data-nameplate=tint] :is(#pdName,#editor-pdName,.eh-mini-body>h3){display:table;padding:5px 10px!important;background:color-mix(in srgb,var(--profile-accent) 24%,transparent);border:1px solid color-mix(in srgb,var(--profile-accent) 60%,transparent)}
body [data-nameplate=stripe] :is(#pdName,#editor-pdName,.eh-mini-body>h3){display:table;padding:6px 15px!important;background:linear-gradient(120deg,var(--profile-accent) 0 5px,transparent 5px),var(--profile-panel);border-bottom:2px solid var(--profile-accent)}
body [data-nameplate=grid] :is(#pdName,#editor-pdName,.eh-mini-body>h3){display:table;padding:6px 12px!important;background-color:var(--profile-panel);background-image:linear-gradient(color-mix(in srgb,var(--profile-accent) 25%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--profile-accent) 25%,transparent) 1px,transparent 1px);background-size:10px 10px;border:1px solid var(--profile-accent)}
body [data-name-font=pixel] :is(#pdName,#editor-pdName){font-size:clamp(18px,3vw,25px)!important;line-height:1.6!important}
body [data-name-font=pixel] .eh-mini-body>h3{font-size:17px!important;line-height:1.6!important}
@media(max-width:600px){.eh-profile-editor-toolbar{flex-wrap:wrap;gap:8px}.eh-profile-editor-toolbar h3{font-size:15px!important}.eh-profile-editor-pages>.eh-profile-edit-page{padding:16px!important}#profileEditorCard .eh-profile-label{font-size:8px}#profileEditorCard .eh-profile-edit-appearance{font-size:10px;padding:5px 7px!important}}

/* Profile content inherits the personal theme instead of opaque black boxes. */
body #profileDialog .eh-pd-section,body #profileEditorCard .eh-pd-section,body #profileDialog .eh-profile-details .eh-pd-section,body #profileEditorCard .eh-profile-details .eh-pd-section,body #profileDialog #pdGamesPanel .eh-pd-section,body #profileEditorCard #editor-pdGamesPanel .eh-pd-section{background:transparent!important;border-color:color-mix(in srgb,var(--profile-text) 18%,transparent)!important}
[data-settings-tab="connection"][hidden]{display:none!important}
.eh-emoji-trigger{display:inline-flex!important;width:auto!important;margin-top:6px!important}
body .eh-emoji-picker,body .eh-custom-status{width:min(460px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:20px!important;box-sizing:border-box}
.eh-emoji-picker>.eh-row{justify-content:space-between;align-items:center}.eh-emoji-picker h2,.eh-custom-status h2{font-size:22px!important;margin:0 0 12px}
.eh-emoji-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;max-height:300px;overflow:auto;margin:12px 0;padding:3px}
.eh-emoji-choice{font:25px/1.2 system-ui!important;display:grid;place-items:center;min-height:42px;padding:4px;border:1px solid transparent;background:var(--surface);color:var(--text);cursor:pointer;clip-path:none!important;border-radius:0!important}
.eh-emoji-choice:hover,.eh-emoji-choice:focus-visible{background:var(--surface-2,var(--bg));border-color:var(--hud-highlight);outline:2px solid var(--hud-highlight);outline-offset:0}
.eh-emoji-grid>p{grid-column:1/-1}.eh-custom-status form{display:grid;gap:12px}.eh-custom-status label{display:grid;gap:5px}.eh-custom-status .eh-row{gap:8px;flex-wrap:wrap}
body #profileDialog.eh-profile-full{height:max-content!important;min-height:0!important;box-sizing:border-box}

/* Preserve readable native profile dimensions; scrolling is a safe fallback. */
body #profileDialog.eh-profile-full{zoom:1!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-x:hidden!important;margin:auto!important;inset:0!important;box-sizing:border-box}
body #profileEditorCard{zoom:1!important}
body #profileDialog .eh-profile-details,body #profileEditorCard .eh-profile-details{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body #availabilitySlotInfo{display:none!important}

/* Vector HUD decorations: distinctive geometry without covering the avatar. */
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame]::before{border:0!important;box-shadow:none!important;inset:0;background:var(--profile-accent);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame]::after{content:none!important}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=none]::before{background:none;mask-image:none;-webkit-mask-image:none}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=ring]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M14%203H80L97%2020V86H86M3%2072V14L14%203M14%2097H72%22%2F%3E%3Cpath%20d%3D%22M87%205V14H96M5%2087H14V96%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M14%203H80L97%2020V86H86M3%2072V14L14%203M14%2097H72%22%2F%3E%3Cpath%20d%3D%22M87%205V14H96M5%2087H14V96%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=double]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%2F%3E%3Cpath%20d%3D%22M10%2010H76L90%2024V90H10Z%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M3%2052H10M52%2090V97%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%2F%3E%3Cpath%20d%3D%22M10%2010H76L90%2024V90H10Z%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M3%2052H10M52%2090V97%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=hex]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2031V4H32M68%204H80L96%2020V32M96%2068V96H68M32%2096H4V68%22%20stroke-width%3D%227%22%2F%3E%3Cpath%20d%3D%22M4%2044V56M44%2096H56M96%2044V56M44%204H56%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2031V4H32M68%204H80L96%2020V32M96%2068V96H68M32%2096H4V68%22%20stroke-width%3D%227%22%2F%3E%3Cpath%20d%3D%22M4%2044V56M44%2096H56M96%2044V56M44%204H56%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=dashed]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%20stroke-dasharray%3D%2211%205%22%2F%3E%3Cpath%20d%3D%22M10%2010H26M74%2090H90%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%20stroke-dasharray%3D%2211%205%22%2F%3E%3Cpath%20d%3D%22M10%2010H26M74%2090H90%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=neon]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%20stroke-width%3D%226%22%20opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M5%205H79L95%2021V95H5Z%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2030V9H30M70%2091H91V70%22%20stroke-width%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%203H80L97%2020V97H3Z%22%20stroke-width%3D%226%22%20opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M5%205H79L95%2021V95H5Z%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2030V9H30M70%2091H91V70%22%20stroke-width%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=gradient]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V96H4Z%22%20stroke-width%3D%227%22%2F%3E%3Cpath%20d%3D%22M12%2012H37M88%2062V88H63%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V96H4Z%22%20stroke-width%3D%227%22%2F%3E%3Cpath%20d%3D%22M12%2012H37M88%2062V88H63%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=diamond]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%2025V3H75M97%2025V97H25M4%204L12%2012M88%2088L96%2096%22%2F%3E%3Cpath%20d%3D%22M4%2074L12%2082%204%2090M25%204L33%2012%2041%204M96%2035L88%2043%2096%2051%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M3%2025V3H75M97%2025V97H25M4%204L12%2012M88%2088L96%2096%22%2F%3E%3Cpath%20d%3D%22M4%2074L12%2082%204%2090M25%204L33%2012%2041%204M96%2035L88%2043%2096%2051%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=shield]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V78L83%2095H17L4%2078Z%22%20stroke-width%3D%225%22%2F%3E%3Cpath%20d%3D%22M14%2020V72L25%2086H75L86%2072V28M39%2095V86M61%2095V86%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V78L83%2095H17L4%2078Z%22%20stroke-width%3D%225%22%2F%3E%3Cpath%20d%3D%22M14%2020V72L25%2086H75L86%2072V28M39%2095V86M61%2095V86%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=pixel]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2028V4H28M68%204H80V16H92V28M96%2068V96H68M28%2096H4V68%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M10%2042V50H18V58H10M74%2088H82V80H90%22%20stroke-width%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2028V4H28M68%204H80V16H92V28M96%2068V96H68M28%2096H4V68%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M10%2042V50H18V58H10M74%2088H82V80H90%22%20stroke-width%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=orbit]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V96H4Z%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M10%2030V10H50M90%2070V90H50%22%20stroke-width%3D%224%22%2F%3E%3Cpath%20d%3D%22M5%2065H13M87%2035H95%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2265%22%20r%3D%224%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3Ccircle%20cx%3D%2291%22%20cy%3D%2235%22%20r%3D%224%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%204H79L96%2021V96H4Z%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M10%2030V10H50M90%2070V90H50%22%20stroke-width%3D%224%22%2F%3E%3Cpath%20d%3D%22M5%2065H13M87%2035H95%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2265%22%20r%3D%224%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3Ccircle%20cx%3D%2291%22%20cy%3D%2235%22%20r%3D%224%22%20fill%3D%22white%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=sparkle]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2028V4H48M96%2048V96H28M4%2070V96H17%22%2F%3E%3Cpath%20d%3D%22M77%204L81%2015%2093%2019%2081%2023%2077%2035%2073%2023%2061%2019%2073%2015Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M17%2070L20%2077%2027%2080%2020%2083%2017%2090%2014%2083%207%2080%2014%2077Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2028V4H48M96%2048V96H28M4%2070V96H17%22%2F%3E%3Cpath%20d%3D%22M77%204L81%2015%2093%2019%2081%2023%2077%2035%2073%2023%2061%2019%2073%2015Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M17%2070L20%2077%2027%2080%2020%2083%2017%2090%2014%2083%207%2080%2014%2077Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=crown]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2031V96H96V31M4%2031H20M80%2031H96%22%2F%3E%3Cpath%20d%3D%22M23%208L36%2017%2050%205%2064%2017%2077%208%2071%2030H29Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M32%2036H68M16%2088H31M69%2088H84%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2031V96H96V31M4%2031H20M80%2031H96%22%2F%3E%3Cpath%20d%3D%22M23%208L36%2017%2050%205%2064%2017%2077%208%2071%2030H29Z%22%20fill%3D%22white%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M32%2036H68M16%2088H31M69%2088H84%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body :is(.eh-pd-avatar,.eh-preview-avatar,.eh-mini-avatar,.hud-editor-avatar)[data-frame][data-frame=gradient]::before{background:linear-gradient(135deg,var(--profile-accent),color-mix(in srgb,var(--profile-primary) 50%,white),var(--profile-accent))}

.eh-decoration-native[hidden]{display:none!important}.eh-decoration-gallery{margin:20px 0 0;padding:0;border:0;min-width:0}.eh-decoration-gallery legend{font-weight:700;font-size:15px;margin-bottom:12px}.eh-decoration-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.eh-decoration-choice{display:grid;justify-items:center;gap:12px;padding:16px 8px!important;min-width:0;border:1px solid var(--border)!important;background:var(--bg)!important;color:var(--ink)!important;clip-path:none!important;border-radius:0!important;cursor:pointer;font-size:11px;line-height:1.3}.eh-decoration-choice:hover{border-color:var(--hud-highlight)!important;background:var(--surface)!important}.eh-decoration-choice[aria-checked=true]{border-color:var(--hud-highlight)!important;box-shadow:inset 0 -3px 0 var(--hud-highlight)}.eh-decoration-choice:focus-visible{outline:2px solid var(--hud-highlight);outline-offset:3px}.eh-decoration-choice .eh-decoration-sample{width:76px;height:76px;margin:0;font-size:23px;display:grid;place-items:center;color:white}.eh-decoration-choice>span:last-child{text-align:center}.eh-decoration-gallery{--profile-primary:#501d83;--profile-accent:#bd94ed}
@media(max-width:500px){.eh-decoration-options{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-decoration-choice{padding:14px 7px!important}}
body #pfAvatarPreview.eh-preview-avatar{margin:0 0 10px!important;width:96px!important;height:96px!important;flex-shrink:0}
/* Status editing uses neutral surfaces and theme focus, including browser autofill. */
body #customStatusDialog,body #emojiPickerDialog{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important}
body #customStatusDialog :is(input,select),body #emojiPickerDialog input{background:var(--bg)!important;color:var(--ink)!important;border-color:var(--border)!important;caret-color:var(--ink)}
body #customStatusDialog :is(input,select):focus-visible,body #emojiPickerDialog input:focus-visible{outline-color:var(--hud-highlight)!important;border-color:var(--hud-highlight)!important}
body #customStatusDialog input:-webkit-autofill,body #emojiPickerDialog input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bg) inset!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--ink)}
body #customStatusDialog button.eh-btn:not([type=submit]){background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--border)!important;box-shadow:none!important}
html.eh-modal-scroll-lock{overflow:hidden!important;overscroll-behavior:none;scrollbar-gutter:stable}
html.eh-modal-scroll-lock body{overflow:clip!important;overscroll-behavior:none}
html.eh-modal-scroll-lock :is(#pageContent,.eh-main,.main-column){overflow:hidden!important}
dialog[open]{overscroll-behavior:contain}
/* A lightweight anchored picker inside the current editor, without another modal. */
body #emojiPickerDialog.eh-emoji-popover{position:fixed;inset:auto;margin:0;padding:12px!important;box-sizing:border-box;background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--border)!important;box-shadow:var(--hud-shadow);border-radius:0;z-index:1000;display:flex;flex-direction:column;gap:9px;overflow:hidden}
body #emojiPickerDialog.eh-emoji-popover::backdrop{background:transparent;pointer-events:none}
.eh-emoji-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.eh-emoji-popover>header strong{font-size:12px;font-weight:700}.eh-emoji-popover .eh-emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr));max-height:none;min-height:0;overflow:auto;flex:1;margin:0;gap:3px;overscroll-behavior:contain}.eh-emoji-popover .eh-emoji-choice{min-height:34px;font-size:22px!important;padding:3px}
body #emojiPickerDialog :is(.eh-emoji-dismiss,.eh-emoji-remove){background:transparent!important;color:var(--muted)!important;border:0!important;box-shadow:none!important;clip-path:none!important;cursor:pointer}.eh-emoji-dismiss{font-size:21px;line-height:1;padding:0 3px}.eh-emoji-remove{font:inherit;font-size:11px;text-align:left;padding:6px 0 0;border-top:1px solid var(--border)!important}.eh-emoji-popover input{font-size:12px!important;padding:7px 9px!important;width:100%;box-sizing:border-box;min-height:34px;flex-shrink:0}.eh-emoji-popover button:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:-2px!important}.eh-emoji-popover>header,.eh-emoji-popover>.eh-emoji-remove{flex-shrink:0}
/* Practice suggestions keep the decision visible and details on demand. */
#dashboardShell #practiceSuggestions .eh-practice-row-info strong{font-size:12px!important;line-height:1.45}
#dashboardShell #practiceSuggestions .eh-practice-row-info small{font-size:10px!important;margin-top:1px}
#dashboardShell #practiceSuggestions .eh-practice-people summary{font-size:11px;color:var(--hud-highlight);font-weight:600;padding:2px 0}
.eh-practice-availability-detail{display:grid;gap:8px;padding:9px 10px;margin:6px 0;background:var(--bg);border:1px solid var(--border)}.eh-practice-availability-detail>div{display:grid;gap:2px}.eh-practice-availability-detail strong{font-size:10px;color:var(--muted)}.eh-practice-availability-detail span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#dashboardShell #pageContent #practiceSuggestions .eh-practice-window{padding:9px 0!important;gap:2px 8px!important;flex-shrink:0}
#dashboardShell #practiceSuggestions .eh-practice-window[hidden]{display:none!important}
@media(min-width:1101px){.hud-availability-sidebar{grid-template-rows:auto minmax(0,1fr)!important}#dashboardShell #pageContent .hud-availability-sidebar>#practiceSuggestions{overflow:hidden!important;min-height:0}#dashboardShell #practiceSuggestions>[data-windows]{flex:1;min-height:0;overflow:hidden!important;display:flex;flex-direction:column}}
.eh-emoji-categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;flex-shrink:0;padding-bottom:6px;border-bottom:1px solid var(--border)}
body #emojiPickerDialog .eh-emoji-categories button{display:grid;place-items:center;font-size:18px;padding:3px;min-height:30px;background:transparent!important;border:0!important;clip-path:none!important;color:var(--ink);cursor:pointer}.eh-emoji-categories button:hover{background:var(--accent-bg)!important}
body #emojiPickerDialog .eh-emoji-grid{display:block;position:relative}.eh-emoji-category{margin:0 0 12px}.eh-emoji-category h4{font-size:10px!important;letter-spacing:.05em!important;color:var(--muted);margin:4px 0 7px!important;line-height:1.4!important}.eh-emoji-category-choices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.eh-emoji-popover .eh-emoji-choice{width:100%;min-width:0}
.eh-join-team{width:min(460px,calc(100vw - 24px));box-sizing:border-box;padding:22px!important}.eh-join-team h2{font-size:23px!important}.eh-join-team form{display:grid;gap:14px}.eh-join-team label{display:grid;gap:6px}.eh-join-team .eh-row{gap:8px;justify-content:flex-start;flex-wrap:wrap}.eh-join-preview{padding:12px;border:1px solid var(--border);background:var(--bg)}.eh-join-preview p{margin:4px 0}.eh-invitation-code{font-family:monospace!important;letter-spacing:.12em;max-width:100%}.hud-join-team{margin-top:12px}
#dashboardShell #practiceSuggestions .eh-practice-count{font-size:11px;color:var(--hud-highlight);font-weight:600;margin:1px 0!important}.eh-practice-availability-detail{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px;margin:5px 0 0}.eh-practice-availability-detail>div{align-content:start}.eh-practice-availability-detail strong{font-size:9px}.eh-practice-availability-detail span{font-size:10px;line-height:1.45}@media(max-width:500px){.eh-practice-availability-detail{grid-template-columns:1fr}.eh-practice-availability-detail>div{grid-template-columns:100px minmax(0,1fr);align-items:baseline}}
#dashboardShell #practiceSuggestions .eh-practice-people .hud-segments{margin:5px 0!important;height:8px;min-height:8px}#dashboardShell #practiceSuggestions .eh-practice-people progress{width:100%}
#dashboardShell #pageContent #practiceSuggestions>.eh-practice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px!important;margin-bottom:8px!important;flex-shrink:0;border-bottom:1px solid var(--border)}#practiceSuggestions .eh-practice-heading h2{margin:0!important}body #practiceSuggestions button.eh-practice-filters-toggle{display:grid;place-items:center;width:28px;height:28px;min-height:28px;flex:none;padding:3px;background:transparent!important;border:0!important;color:var(--muted)!important;clip-path:none!important;box-shadow:none!important}#practiceSuggestions .eh-practice-filters-toggle:hover{color:var(--hud-highlight)!important}#practiceSuggestions .eh-practice-filters-toggle svg{width:18px;height:18px}#practiceSuggestions .eh-practice-options>summary[hidden]{display:none!important}#practiceSuggestions .eh-practice-options:not([open]){display:none!important}#practiceSuggestions .eh-practice-options[open]{flex-shrink:0}
/* Standard edit actions inherit the same geometry and hover as news editing. */
:root[data-preset] body #dashboardShell button.eh-standard-edit,:root[data-preset] body dialog button.eh-standard-edit{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;clip-path:none!important;border-radius:0!important;color:var(--muted)!important;filter:none!important;flex:none}
:root[data-preset] body #dashboardShell button.eh-standard-edit:hover,:root[data-preset] body dialog button.eh-standard-edit:hover{background:transparent!important;color:var(--hud-highlight)!important;box-shadow:none!important}
:root[data-preset] body #dashboardShell #pageContent #practiceSuggestions button.eh-standard-edit{width:32px!important;height:32px!important;min-height:32px!important;color:var(--muted)!important}:root[data-preset] body #dashboardShell #pageContent #practiceSuggestions button.eh-standard-edit:hover{color:var(--hud-highlight)!important}
body button.eh-standard-edit svg,body #practiceSuggestions button.eh-standard-edit svg{width:21px!important;height:21px!important;stroke-width:1.5!important;pointer-events:none}
body #accountDropup .eh-menu-edit-action{display:flex;align-items:center;gap:10px}body #accountDropup .eh-menu-edit-action svg{width:18px;height:18px;flex:none;stroke-width:1.5}

/* Schedule-first dashboard and team notebook. */
#dashboardShell #pageContent .hud-schedule-primary{width:100%;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 18px!important;overflow:visible!important}
#dashboardShell #pageContent .hud-schedule-primary #dashEvents{display:block;overflow:visible!important;max-height:none!important;flex:none!important}
#dashboardShell #pageContent .hud-schedule-primary .eh-upcoming-row{display:grid!important;grid-template-columns:52px minmax(0,1fr) minmax(180px,.6fr) auto;gap:18px;padding:16px 0!important;align-items:center}
.hud-schedule-primary .eh-upcoming-info{min-width:0}.hud-schedule-primary .eh-upcoming-info strong{font-size:16px}.hud-schedule-primary .eh-upcoming-info small{display:block;margin-top:5px}.hud-schedule-primary .eh-upcoming-info p{margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px}
.hud-schedule-detail{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted)}
#dashboardShell #pageContent .eh-reports-toolbar{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(130px,1fr));gap:10px}
.eh-note-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.eh-note-tactics{min-width:0;margin:10px 0 20px;border:1px solid var(--border);padding:16px;background:var(--surface)}.eh-note-tactics legend{padding:0 8px;color:var(--hud-highlight);font-weight:600}.eh-note-tactics label{display:flex;flex-direction:column;gap:7px}.eh-note-composition{margin-top:16px}.eh-note-hero-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.eh-note-hero-slots input{min-width:0;width:100%}
.eh-note-blueprint{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:center;padding:14px;margin:18px 0;border:1px solid var(--border);background:var(--surface)}.eh-note-blueprint>img{width:100px;height:66px;object-fit:cover;border:1px solid var(--border)}.eh-note-blueprint strong,.eh-note-blueprint small{display:block}.eh-note-blueprint strong{margin-top:5px}.eh-note-comp-preview{grid-column:1/-1;min-width:0}.eh-note-comp-preview h3{margin:0 0 12px;font-size:16px}.eh-note-comp-preview .hud-role-chips{display:flex;flex-wrap:wrap;gap:8px}
.eh-map-photo-card .eh-map-note-action{position:absolute;bottom:6px;right:6px;padding:5px 8px;font:600 11px 'Bai Jamjuree',sans-serif;border:1px solid var(--border);background:var(--surface);color:var(--ink);cursor:pointer}.eh-dashboard-map-label[role=button]{cursor:pointer}.eh-dashboard-map-label[role=button]:hover{outline:1px solid var(--hud-highlight)}
@media(max-width:900px){#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardShell #pageContent .hud-schedule-primary .eh-upcoming-row{grid-template-columns:44px minmax(0,1fr) auto;gap:12px}.hud-schedule-detail{grid-column:2/-1;grid-row:2}.hud-schedule-primary .eh-dashboard-open{grid-column:3;grid-row:1}.eh-note-hero-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:minmax(0,1fr)}.hud-schedule-primary .eh-upcoming-info strong{font-size:14px}.hud-schedule-primary .eh-upcoming-info small{font-size:12px}.hud-schedule-primary .eh-dashboard-open{font-size:11px!important;padding:7px!important}.eh-note-tactics{padding:12px}.eh-note-blueprint{padding:10px;grid-template-columns:70px minmax(0,1fr)}.eh-note-blueprint>img{width:70px;height:55px}}
#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:minmax(0,1fr) minmax(160px,.4fr)}
.eh-note-tabs{display:flex;gap:4px;overflow-x:auto;margin:0 0 18px;border-bottom:1px solid var(--border);padding-bottom:8px}.eh-note-tabs button{flex:none;padding:9px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:600 13px 'Bai Jamjuree',sans-serif;cursor:pointer}.eh-note-tabs button[aria-pressed=true]{border-bottom-color:var(--hud-highlight);color:var(--hud-highlight);background:color-mix(in srgb,var(--hud-highlight) 8%,transparent)}.eh-note-tabs button:hover{color:var(--ink)}
@media(max-width:600px){#dashboardShell #pageContent .eh-reports-toolbar{grid-template-columns:minmax(0,1fr)}}

/* Shared detail outlines. New detail groups use .hud-detail-frame (or
   data-detail-frame); joining rules use .hud-detail-connector. Both track
   the active theme highlight rather than a fixed purple/blue/gray. */
:root{--hud-detail-border:var(--hud-highlight);--hud-detail-connector:var(--hud-highlight)}
:root body :is(#dashboardShell,#loginPage,dialog,.eh-custom-status) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,[contenteditable=true],.eh-word-processor,.eh-word-toolbar,.eh-note-tactics,.eh-note-blueprint,.eh-join-preview,.eh-event-context,.eh-readiness-summary,.eh-rsvp-form,.eh-event-player,.eh-assignment-preview,.eh-practice-availability-detail,.hud-detail-frame,[data-detail-frame]),
:root body #dashboardShell #pageContent :is(.eh-next-date,.eh-upcoming-date,.sch-date,.eh-period,.eh-event-context,.eh-readiness-summary,.eh-rsvp-form,.eh-event-player,.eh-note-tactics,.eh-note-blueprint,.eh-upcoming-row,.eh-season-metrics>div,.eh-availability-summary>div),
:root body :is(.hud-detail-frame,[data-detail-frame]){border-color:var(--hud-detail-border)!important}
:root body :is(.hud-detail-connector,[data-detail-connector],.eh-note-tabs,.eh-rich-notes .eh-vod-replay-block,.eh-conversation-thread>[data-thread]>.eh-concern-card){border-color:var(--hud-detail-connector)!important}
:root body :is(.hud-detail-connector,[data-detail-connector])::before,:root body :is(.hud-detail-connector,[data-detail-connector])::after{border-color:var(--hud-detail-connector)!important}

/* One field edge: neutral at rest, theme accent on pointer or keyboard focus.
   Composite search/editor controls own the edge; their children never add one. */
:root{--hud-field-border:var(--border);--hud-field-focus:var(--hud-highlight);--hud-detail-border:var(--hud-field-border)}
:root body :is(#dashboardShell,#loginPage,dialog,.eh-custom-status) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,[contenteditable=true]){border:1px solid var(--hud-field-border)!important;outline:none!important;outline-offset:0!important;box-shadow:none!important}
:root body :is(#dashboardShell,#loginPage,dialog,.eh-custom-status) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,[contenteditable=true]):is(:focus,:focus-visible){border-color:var(--hud-field-focus)!important;outline:none!important;box-shadow:none!important}
:root body :is(.hud-global-search,.eh-word-processor){border:1px solid var(--hud-field-border)!important;outline:none!important;box-shadow:none!important}
:root body :is(.hud-global-search,.eh-word-processor):focus-within{border-color:var(--hud-field-focus)!important}
:root body #dashboardShell .hud-global-search input#hudGlobalSearch,:root body :is(#dashboardShell,#loginPage,dialog,.eh-custom-status) .eh-word-processor :is(.eh-document,.eh-word-toolbar){border:0!important;outline:none!important;box-shadow:none!important}
@media(max-width:900px){:root body #dashboardShell .hud-global-search.is-searching input#hudGlobalSearch{border:1px solid var(--hud-field-border)!important}:root body #dashboardShell .hud-global-search.is-searching input#hudGlobalSearch:focus{border-color:var(--hud-field-focus)!important}}

/* Search fields share the command bar's Heroicons magnifier without wrappers,
   so existing input IDs, labels, filtering, and DOM relationships stay intact. */
:root{--hud-search-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d8d95' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m21 21-4.35-4.35M19.5 10.5a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E")}
:root body :is(#dashboardShell,#loginPage,dialog,#emojiPickerDialog) input:is([type=search],[placeholder^="Search"],[placeholder^="Find"]):not(#hudGlobalSearch){background-image:var(--hud-search-icon)!important;background-repeat:no-repeat!important;background-position:11px center!important;background-size:18px 18px!important;padding-left:36px!important}
:root body input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
/* Command search uses the same field surface as the page search controls. */
:root body #dashboardShell .hud-global-search{background-color:var(--bg)!important}
@media(max-width:900px){:root body #dashboardShell .hud-global-search{background-color:transparent!important}:root body #dashboardShell .hud-global-search.is-searching input#hudGlobalSearch{background-color:var(--bg)!important}}
/* Role selection has one continuous edge, without a clipped corner or separator. */
:root body #dashboardShell .top-actions #roleViewControls{border:0!important;padding-right:0!important;box-shadow:none!important}
:root body #dashboardShell #roleViewSelect{clip-path:none!important;border:1px solid var(--hud-field-border)!important;border-radius:0!important;outline:none!important;box-shadow:none!important}
:root body #dashboardShell #roleViewSelect:is(:focus,:focus-visible){border-color:var(--hud-field-focus)!important;outline:none!important;box-shadow:none!important}
/* Mini-profile actions align their text with Log Out rather than auto margins. */
body #accountDropup :is(#miniEditProfile,#miniCustomStatus){justify-content:flex-start!important;text-align:left!important;padding-inline:6px!important;gap:10px!important}
body #accountDropup :is(#miniEditProfile,#miniCustomStatus)>span:last-child{margin-left:0!important;text-align:left!important}
body #accountDropup :is(#miniEditProfile,#miniCustomStatus)>svg{width:17px!important;height:17px!important;flex:none}
/* Status is a small anchored window, with the shared search/popover surface. */
:root body #customStatusDialog{position:fixed!important;inset:auto;margin:0!important;width:min(340px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:16px!important;box-sizing:border-box!important;overflow:auto!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:var(--hud-shadow)!important}
body #customStatusDialog::backdrop{background:transparent!important;backdrop-filter:none!important}
body #customStatusDialog>header{gap:10px;margin-bottom:14px}body #customStatusDialog h2{font-size:16px!important;line-height:1.2!important;margin:0!important}body #customStatusDialog form{display:grid;gap:12px}body #customStatusDialog label{display:grid;gap:5px;font-size:11px!important;margin:0}body #customStatusDialog .eh-status-fields{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px}body #customStatusDialog :is(input,select){width:100%;min-width:0;min-height:34px;font-size:12px!important;padding:7px 9px!important}body #customStatusDialog .eh-status-fields .eh-emoji-trigger{width:100%;font-size:10px}body #customStatusDialog form>.eh-row{justify-content:flex-end;gap:8px}body #customStatusDialog button.eh-btn{min-height:32px;font-size:11px!important;padding:6px 10px!important}body #customStatusDialog header .eh-icon-action{width:24px!important;height:24px!important;min-height:24px!important;padding:2px!important;background:transparent!important;border:0!important;box-shadow:none!important}body #customStatusDialog [role=status]{margin:0;font-size:11px}body #customStatusDialog [role=status]:empty{display:none}

body #customStatusDialog .eh-status-fields{align-items:start}body #customStatusDialog .eh-status-fields>label{align-content:start}body #customStatusDialog .eh-status-fields>label:first-child{position:relative}body #customStatusDialog .eh-status-fields input{height:34px!important}body #customStatusDialog .eh-status-fields>label:first-child input{padding-right:28px!important}body #customStatusDialog .eh-status-fields .eh-emoji-trigger{position:absolute!important;right:1px;bottom:1px;width:26px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:2px!important;font-size:19px!important;background:transparent!important;box-shadow:none!important;clip-path:none!important}

/* Popovers do not reparent or reposition the page, sidebar, or mini profile. */
html.eh-status-scroll-lock{overflow:hidden!important;overscroll-behavior:none;scrollbar-gutter:stable}html.eh-status-scroll-lock body{overflow:clip!important;overscroll-behavior:none}
body #customStatusDialog:not(:popover-open){display:none!important}body #customStatusDialog:popover-open{display:block!important;z-index:10000}
/* HUD popover frames keep the same square geometry as modal panels. */
:root body .eh-panel[popover],:root body #customStatusDialog{border-radius:0!important}
/* Align the picker to the input row, independent of the label height. */
body #customStatusDialog .eh-status-fields>label:first-child{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:5px 0}
body #customStatusDialog .eh-status-fields>label:first-child input{grid-column:1/-1;grid-row:2}
body #customStatusDialog .eh-status-fields .eh-emoji-trigger{position:static!important;grid-column:2;grid-row:2;align-self:center;justify-self:end;z-index:1;margin:0 1px 0 0!important;right:auto;bottom:auto}
body #customStatusDialog .eh-status-fields input{margin:0!important}

/* Notes-style filtering with one shared frame and an inline conversation pane. */
#dashboardShell #review>.eh-row,#dashboardShell #review>.eh-muted{display:none}
#dashboardShell .eh-concern-toolbar{grid-template-columns:minmax(0,1fr)}
#concerns .hud-concern-choice{padding:14px 10px;gap:8px}
#concerns .hud-concern-choice strong{line-height:1.4}
#concerns .hud-concern-detail .eh-conversation-thread{border:0;background:transparent;box-shadow:none;padding:0}
#concerns .hud-concern-detail .eh-conversation-thread::before,#concerns .hud-concern-detail .eh-conversation-thread::after{display:none}
#concerns .hud-concern-detail .eh-conversation-thread>.eh-row{gap:12px;align-items:center}
#concerns .hud-concern-detail .eh-conversation-thread h2{line-height:1.2}

/* Filters sit on the page; only the selector and conversation receive HUD frames. */
#dashboardShell #pageContent #review{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#dashboardShell #pageContent #review::before,#dashboardShell #pageContent #review::after{display:none!important}
#dashboardShell #pageContent #concerns .hud-concern-library,#dashboardShell #pageContent #concerns .hud-concern-detail{padding:18px!important;margin:0!important;border:1px solid var(--border)!important;min-width:0}
#concerns .hud-concern-workspace{gap:20px;align-items:start}
#concerns .eh-note-tabs{margin-bottom:14px}
#concerns .eh-concern-toolbar{margin-bottom:20px}
#concerns .hud-concern-library .eh-reports-total{margin-top:0}
@media(max-width:900px){#concerns .hud-concern-library .eh-concern-list{max-height:280px;overflow:auto}}

.eh-admin-export>p{max-width:850px;line-height:1.65}.eh-export-datasets{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:20px 0;padding:18px;border:1px solid var(--border)}.eh-export-datasets legend{padding:0 8px;font-weight:700}.eh-admin-export .eh-export-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5}.eh-export-check input{flex:0 0 auto;margin-top:3px;accent-color:var(--hud-highlight)}.eh-export-options{display:flex;gap:18px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.eh-export-options>label{display:grid;gap:6px;flex:1 1 200px}.eh-export-options>.eh-export-check{display:flex;align-self:center}.eh-admin-export>.eh-row{gap:10px;justify-content:flex-start;flex-wrap:wrap}.eh-admin-export [data-export-status]{min-height:24px;overflow-wrap:anywhere}

/* Embedded Clerk forms share the site's single HUD frame; keep verification and errors intact. */
#loginPage :is(#clerk-sign-in,#clerk-sign-up){width:100%;min-width:0;margin-top:22px}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) :is(.cl-rootBox,.cl-cardBox,.cl-card){width:100%!important;max-width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;min-width:0}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-card{padding:0!important;gap:20px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-main{gap:20px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-form{gap:18px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formField{gap:7px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formFieldInput{margin:0!important;min-height:44px!important;padding:10px 12px!important;font-family:'Bai Jamjuree',sans-serif!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formFieldInput:focus{border-color:var(--hud-highlight)!important;box-shadow:none!important;outline:none!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formFieldInput:focus-visible{outline:1px solid var(--hud-highlight)!important;outline-offset:-1px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-socialButtonsBlockButton{clip-path:none!important;border:1px solid var(--border)!important;border-radius:0!important;background:var(--bg)!important;min-height:44px!important;padding:10px 14px!important;overflow:visible!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-socialButtonsBlockButton:hover{border-color:var(--hud-highlight)!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-socialButtonsBlockButton :is(.cl-socialButtonsBlockButtonText,.cl-socialButtonsProviderIcon){flex-shrink:0}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formButtonPrimary{background:var(--hud-purple)!important;color:var(--game-button-ink,#fff)!important;min-height:44px!important;margin:0!important;box-shadow:none!important;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px))!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-headerTitle{font-size:18px!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-headerSubtitle{font-size:13px!important;line-height:1.6!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-footer{background:transparent!important;border:0!important;box-shadow:none!important;padding:16px 0 0!important;gap:12px!important}
#loginPage .eh-auth-tabs{display:flex!important;gap:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--border)!important;background:transparent!important}
#loginPage .eh-auth-tabs .eh-btn{flex:1;min-height:44px;background:transparent!important;color:var(--muted)!important;clip-path:none!important;border:0!important;border-bottom:2px solid transparent!important;box-shadow:none!important}
#loginPage .eh-auth-tabs .eh-btn[aria-pressed=true]{color:var(--hud-highlight)!important;border-bottom-color:var(--hud-highlight)!important;background:color-mix(in srgb,var(--hud-highlight) 8%,transparent)!important}

/* Transient notices use the top layer and never move page content. */
#notice,#guestNotice{display:none!important}
body #appToast{position:fixed;inset:18px 18px auto auto;margin:0;width:min(390px,calc(100vw - 28px));max-width:none;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:12px;padding:16px 16px 19px;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-left:3px solid var(--hud-highlight);border-radius:0;box-shadow:var(--hud-shadow);overflow:hidden;z-index:20000;animation:eh-toast-enter .18s ease-out}
body #appToast:not(:popover-open){display:none}
.eh-toast-content strong{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--hud-highlight)}.eh-toast-content p{margin:6px 0 0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
body #appToast .eh-icon-action{align-self:start;width:28px!important;height:28px!important;padding:4px!important;min-height:28px!important;background:transparent!important;border:0!important;color:var(--muted)!important;clip-path:none!important;cursor:pointer}
body #appToast .eh-icon-action:hover{color:var(--hud-highlight)!important}body #appToast .eh-icon-action:focus-visible{outline:1px solid var(--hud-highlight);outline-offset:1px}
.eh-toast-countdown{position:absolute;inset:auto 0 0;height:3px;background:var(--hud-highlight);transform-origin:left}
body #appToast[data-kind=error]{border-left-color:var(--warning,#f59c1e)}body #appToast[data-kind=error] .eh-toast-content strong{color:var(--warning,#f59c1e)}
@keyframes eh-toast-enter{from{opacity:0;translate:12px 0}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){body #appToast{animation:none}}
@media(max-width:600px){body #appToast{top:12px;right:12px;width:calc(100vw - 24px)}}
/* Clerk owns the step heading, avoiding two competing titles in one auth card. */
#loginPage :is(#authCard,#signUpCard)>h2,#loginPage :is(#authCard,#signUpCard)>p.eh-muted:not([role]){display:none}
body[data-public-page=signin] #loginPage main.eh-product-auth{padding-top:32px!important;gap:20px!important}
body[data-public-page=signin] .eh-product-auth-heading h1{font-size:30px!important;margin-bottom:10px!important}
/* Explicit four-sided edges prevent global HUD and Clerk inset styles clipping the left side. */
#loginPage :is(#clerk-sign-in,#clerk-sign-up) :is(.cl-formFieldInput,.cl-socialButtonsBlockButton){border:1px solid var(--border)!important;border-inline:1px solid var(--border)!important;border-block:1px solid var(--border)!important;clip-path:none!important;mask:none!important;box-shadow:none!important;box-sizing:border-box!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formButtonPrimary{border:1px solid var(--hud-purple)!important;border-inline:1px solid var(--hud-purple)!important;border-block:1px solid var(--hud-purple)!important;clip-path:none!important;mask:none!important;box-shadow:none!important;box-sizing:border-box!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formFieldInput:focus{border-color:var(--hud-highlight)!important}

/* First-time setup is a full-screen, account-scoped onboarding workspace. */
body #onboardingDialog.eh-onboarding-live{position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--bg)!important;overflow:hidden!important}
body #onboardingDialog.eh-onboarding-live::before,body #onboardingDialog.eh-onboarding-live::after{display:none!important}.eh-onboarding-frame{display:block;width:100%;height:100%;border:0;background:var(--bg)}body #onboardingDialog.eh-onboarding-live>#onboardingForm{display:none!important}
.eh-following-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:16px 0}.eh-following-choice{display:flex!important;align-items:center;gap:9px;font-size:12px}.eh-following-choice input{width:auto!important;min-height:0!important;margin:0!important;accent-color:var(--hud-highlight)}#followingTeamForm{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}

/* Public roster uses the same square portraits and role chips as team rosters. */
#dashPublicRoster{display:grid;gap:0}#dashPublicRoster .eh-public-roster-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border);background:transparent}#dashPublicRoster .eh-public-roster-row:last-child{border-bottom:0}#dashPublicRoster .eh-public-roster-picture{flex:0 0 42px;width:42px;height:42px}#dashPublicRoster .eh-roster-avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);background:var(--surface);color:var(--hud-highlight);overflow:hidden;border-radius:0;clip-path:none}#dashPublicRoster .eh-roster-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#dashPublicRoster .eh-public-roster-identity{flex:1;min-width:0;color:var(--ink);overflow-wrap:anywhere}#dashPublicRoster .hud-role-chip{flex-shrink:0}@media(max-width:480px){#dashPublicRoster .eh-public-roster-row{gap:9px}#dashPublicRoster .hud-role-chip{font-size:10px;padding-inline:7px}}

#dashboardShell #hudDashboardAvailability.hidden,#dashboardShell #hudDashboardAvailability[hidden],#dashboardShell #dashMapPoolCard.hidden{display:none!important}

/* Keep embedded identity controls rectangular and their full border inside the layout. */
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) :is(.cl-rootBox,.cl-cardBox,.cl-card,.cl-main,.cl-socialButtons,.cl-socialButtonsBlock,.cl-socialButtonsBlockButtonWrapper,.cl-form,.cl-formField,.cl-formFieldInputGroup){overflow:visible!important;clip-path:none!important;mask:none!important;min-width:0;box-sizing:border-box}
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) :is(.cl-formFieldInput,.cl-socialButtonsBlockButton){appearance:none!important;transform:none!important;clip-path:none!important;mask:none!important;border:1px solid var(--hud-highlight)!important;border-left:1px solid var(--hud-highlight)!important;border-right:1px solid var(--hud-highlight)!important;border-radius:0!important;box-shadow:none!important;outline:none!important;box-sizing:border-box!important;width:100%;max-width:100%!important;margin-inline:0!important}
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formFieldInput:focus-visible{outline:0!important;border-color:var(--hud-highlight)!important;box-shadow:none!important}
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-socialButtonsBlockButton{position:relative;overflow:visible!important;margin-top:10px!important}
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-socialButtonsBlockButtonWrapper{position:relative;padding-inline:1px}
:root body #loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-badge{white-space:nowrap!important;max-width:none!important;overflow:visible!important;clip-path:none!important;right:8px!important;z-index:2;background:var(--surface)!important;color:var(--muted)!important}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-photo-card button.eh-map-note-action{display:grid!important;place-items:center;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:5px!important;bottom:6px;right:6px;border:1px solid var(--border)!important;clip-path:none!important;background:var(--surface)!important;color:var(--hud-highlight)!important;box-shadow:none!important;border-radius:0!important;cursor:pointer}
.eh-map-note-action svg{width:17px;height:17px;pointer-events:none}.eh-map-note-action:hover{filter:brightness(1.25)}.eh-map-note-action:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:2px!important}

#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-form{display:flex!important;flex-direction:column!important;gap:14px!important}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .eh-auth-submit-help{display:block;flex:none;margin:4px 0 0!important;padding:0!important;color:var(--muted)!important;font-size:12px!important;line-height:1.55!important;font-weight:400;text-transform:none;letter-spacing:0}
#loginPage :is(#clerk-sign-in,#clerk-sign-up) .cl-formButtonPrimary{margin-top:0!important}

/* Collapsible sidebar prototype: reference framing with the app's theme tokens. */
#dashboardShell .eh-sidebar-header{display:flex;align-items:center;gap:8px;min-height:72px;padding:12px;border-bottom:1px solid var(--border);flex-shrink:0}
#dashboardShell #sidebar .eh-sidebar-header .brand{flex:1;min-width:0;height:auto!important;min-height:0!important;border:0!important;padding:0!important;margin:0!important}
#dashboardShell #sidebar .eh-sidebar-header .eh-theme-wordmark{width:158px!important;max-width:100%!important}
.eh-sidebar-mark{display:none;width:34px;height:34px;background:var(--hud-highlight);mask:url('../assets/favicon.svg') center/contain no-repeat}
:root body #dashboardShell .eh-sidebar-collapse{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:6px;border:0!important;background:transparent!important;color:var(--muted);clip-path:none!important;box-shadow:none!important}
.eh-sidebar-collapse svg{width:20px;height:20px;transition:transform .2s}.eh-sidebar-collapse:hover{color:var(--hud-highlight)!important}
#dashboardShell #sidebar .eh-sidebar-search{margin:14px 12px 2px!important;width:calc(100% - 24px)!important;max-width:none!important;height:42px!important;min-height:42px;flex-shrink:0;padding:0 10px!important;background:var(--bg)!important;box-sizing:border-box}
#dashboardShell #sidebar .eh-sidebar-search .hud-global-search-icon{display:flex!important}#dashboardShell #sidebar .eh-sidebar-search input#hudGlobalSearch{display:block!important;position:static!important;width:100%!important;min-width:0!important;flex:1!important;left:auto!important;right:auto!important;top:auto!important;padding:0!important;border:0!important;background:transparent!important}
#dashboardShell #sidebar .eh-sidebar-search kbd{display:none!important}#dashboardShell #sidebar .eh-sidebar-search .hud-search-toggle{display:none!important}
#dashboardShell #sidebar .eh-sidebar-search .hud-global-search-results{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:auto!important;width:min(370px,calc(85vw - 28px))!important;max-width:calc(100vw - 36px)!important;max-height:min(430px,calc(100dvh - 190px))!important;z-index:500}
#dashboardShell #sidebar .nav-link{height:42px;min-height:42px;white-space:nowrap;border-left:3px solid transparent!important;padding:0 18px!important;color:var(--muted)!important}
#dashboardShell #sidebar .nav-link:hover{background:color-mix(in srgb,var(--hud-highlight) 10%,transparent)!important;color:var(--ink)!important}
#dashboardShell #sidebar .nav-link.active{border-left-color:var(--hud-highlight)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 14%,transparent),transparent)!important;color:var(--ink)!important}
#dashboardShell #sidebar .nav-link.active svg{color:var(--hud-highlight)!important}#dashboardShell #sidebar .nav-link svg{width:20px;height:20px}
#dashboardShell #sidebar .nav-heading{font-size:10px!important;letter-spacing:.08em!important;padding:10px 18px 6px!important;margin:0!important}
#dashboardShell #sidebar .eh-account-area{padding:10px 12px!important;border-top:1px solid var(--border)}
body #sidebarTooltip{position:fixed;inset:auto;margin:0;padding:6px 11px;background:var(--ink);color:var(--bg);border:0;border-radius:0;box-shadow:var(--hud-shadow);font:600 12px/1.5 'Bai Jamjuree',sans-serif;white-space:nowrap;pointer-events:none;overflow:visible;animation:eh-sidebar-tip-in .12s ease-out}
@keyframes eh-sidebar-tip-in{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:none}}
@media(min-width:901px){
 #dashboardShell:not(.hidden){display:flex!important;gap:0!important;align-items:flex-start!important}
 #dashboardShell #sidebar{width:248px!important;min-width:248px!important;flex:0 0 248px!important;margin:12px!important;top:12px!important;height:calc(100dvh - 24px)!important;padding:0!important;background:var(--surface)!important;border:1px solid var(--border)!important;transition:width .25s ease,min-width .25s ease,flex-basis .25s ease}
 #dashboardShell #sidebar::before,#dashboardShell #sidebar::after{content:'';position:absolute;width:11px;height:11px;pointer-events:none;border:2px solid var(--hud-highlight)}#dashboardShell #sidebar::before{top:-2px;left:-2px;border-right:0;border-bottom:0}#dashboardShell #sidebar::after{bottom:-2px;right:-2px;border-left:0;border-top:0}
 #dashboardShell .main-column{flex:1;width:0!important;min-width:0;margin:0!important}
 #dashboardShell .topbar{display:contents!important}#dashboardShell .topbar>.top-left{display:none!important}
 #dashboardShell .top-actions{position:fixed;top:12px;right:24px;z-index:70;display:flex!important;align-items:center;gap:8px!important;padding:8px!important;background:var(--surface)!important;border:1px solid var(--border);box-shadow:var(--hud-shadow)}
 #dashboardShell #pageContent{padding-top:86px!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar{width:72px!important;min-width:72px!important;flex-basis:72px!important}
 #dashboardShell.eh-sidebar-collapsed .eh-sidebar-header{flex-direction:column;padding:14px 0 10px;gap:10px}
 #dashboardShell.eh-sidebar-collapsed #sidebar .brand{flex:none;justify-content:center!important}
 #dashboardShell.eh-sidebar-collapsed .eh-theme-wordmark{display:none!important}#dashboardShell.eh-sidebar-collapsed .eh-sidebar-mark{display:block}
 #dashboardShell.eh-sidebar-collapsed .eh-sidebar-collapse svg{transform:rotate(180deg)}
 #dashboardShell.eh-sidebar-collapsed #sidebar .nav-link{justify-content:center!important;padding:0!important;gap:0!important}#dashboardShell.eh-sidebar-collapsed #sidebar .nav-link>span{display:none!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar .nav-heading{font-size:0!important;height:1px!important;padding:0!important;margin:12px 16px!important;background:var(--border)}
 #dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search{width:44px!important;margin:12px auto 2px!important;padding:0!important;justify-content:center!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search :is(input#hudGlobalSearch,.hud-global-search-icon){display:none!important}#dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search .hud-search-toggle{display:grid!important;place-items:center;width:42px!important;height:40px!important;color:var(--muted)!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar .eh-account-area{padding:12px 8px!important}#dashboardShell.eh-sidebar-collapsed #openSelfProfile{justify-content:center!important;padding:0!important;gap:0!important}#dashboardShell.eh-sidebar-collapsed #openSelfProfile>div:not(.avatar),#dashboardShell.eh-sidebar-collapsed #openSelfProfile>.eh-profile-chevron{display:none!important}
}
@media(max-width:900px){
 #dashboardShell .eh-sidebar-collapse{display:none!important}#dashboardShell #sidebar .eh-sidebar-header{padding:0 46px!important;min-height:76px;justify-content:center}
 #dashboardShell #sidebar .eh-sidebar-header .brand{justify-content:center!important;flex:none;width:100%;max-width:190px}#dashboardShell #sidebar .eh-sidebar-header .eh-theme-wordmark{width:100%!important}
 #dashboardShell #sidebar{padding-top:0!important;background:var(--surface)!important;border-right:1px solid var(--border)!important}
 #dashboardShell .topbar{background:transparent!important;border:0!important;box-shadow:none!important}#dashboardShell .topbar::before,#dashboardShell .topbar::after{display:none!important}
 #dashboardShell .top-actions{background:var(--surface);padding:5px!important;border:1px solid var(--border)}
 #dashboardShell #sidebar .eh-sidebar-search input#hudGlobalSearch{font-size:16px!important;height:40px!important}
}
@media(prefers-reduced-motion:reduce){#dashboardShell #sidebar,.eh-sidebar-collapse svg{transition:none!important}body #sidebarTooltip{animation:none!important}}
/* Fit navigation to the usable viewport, keeping every permitted destination visible. */
#dashboardShell #sidebar .eh-sidebar-navigation{padding:6px 0!important;min-height:0;flex:1;overflow-y:auto}
#dashboardShell #sidebar .nav{gap:0!important;margin:0!important;padding:0!important}
#dashboardShell #sidebar .nav-link{height:var(--eh-nav-row,42px)!important;min-height:var(--eh-nav-row,42px)!important}
#dashboardShell #sidebar.eh-sidebar-dense .nav-link{font-size:11px!important}#dashboardShell #sidebar.eh-sidebar-dense .nav-link svg{width:17px!important;height:17px!important}
/* Floating tools fade from solid theme purple on the right to clear on the left. */
:root body #dashboardShell .top-actions{position:fixed!important;top:12px!important;right:16px!important;z-index:70;padding:8px 10px 8px 22px!important;border:0!important;box-shadow:none!important;background:linear-gradient(270deg,color-mix(in srgb,var(--hud-highlight) 22%,transparent),transparent)!important;gap:8px!important}
#dashboardShell .top-actions::before,#dashboardShell .top-actions::after{display:none!important}
#dashboardShell .top-actions .eh-role-view{position:relative;display:flex;align-items:center;border:0!important;padding:0!important;gap:8px!important;transition:width .22s ease}
#dashboardShell .top-actions .eh-role-view>label{max-width:90px;opacity:1;overflow:hidden;white-space:nowrap;transition:max-width .22s ease,opacity .16s ease}
#dashboardShell .eh-floating-role-icon{display:none;position:absolute;inset:0;align-items:center;justify-content:center;color:var(--hud-highlight);pointer-events:none}
#dashboardShell .eh-floating-role-icon svg{width:19px;height:19px}
#dashboardShell .top-actions #roleViewSelect{width:170px!important;transition:width .22s ease,color .16s ease;background:var(--bg)!important}
#dashboardShell .top-actions #notificationsButton{width:118px!important;transition:width .22s ease,padding .22s ease;overflow:hidden}
#dashboardShell .top-actions .eh-notification-label{max-width:90px;opacity:1;overflow:hidden;transition:max-width .22s ease,opacity .16s ease}
#dashboardShell.eh-floating-compact .top-actions .eh-role-view>label{max-width:0;opacity:0;margin:0;display:none!important}
:root body #dashboardShell.eh-floating-compact .top-actions #roleViewSelect{width:38px!important;min-width:38px!important;padding:0!important;color:transparent!important;appearance:none!important;background-image:none!important;cursor:pointer}
#dashboardShell.eh-floating-compact #roleViewSelect option{color:var(--ink)!important;background:var(--surface)!important}
#dashboardShell.eh-floating-compact .eh-floating-role-icon{display:flex}
#dashboardShell.eh-floating-compact .top-actions #notificationsButton{width:38px!important;min-width:38px!important;padding:8px!important;gap:0!important}
#dashboardShell.eh-floating-compact .eh-notification-label{max-width:0;opacity:0}
@media(max-width:900px){#dashboardShell .top-actions #roleViewSelect{width:100px!important}#dashboardShell .top-actions #notificationsButton{width:36px!important}#dashboardShell .topbar{min-height:66px!important}#dashboardShell .top-actions .eh-role-view>label{display:none!important}}
@media(prefers-reduced-motion:reduce){#dashboardShell .top-actions :is(.eh-role-view,label,#roleViewSelect,#notificationsButton,.eh-notification-label){transition:none!important}}
#dashboardShell .eh-floating-role-icon{z-index:1}
/* Match the floating notification control to the role selector surface. */
:root body #dashboardShell .top-actions #notificationsButton{background:var(--bg)!important}

/* Role viewing is a personal setting; the floating tools retain only notifications. */
:root body #dashboardShell [data-settings-panel=dashboard] .eh-settings-role-control:not(.hidden){display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;padding:0 0 20px!important;margin:0 0 20px!important;border:0!important;border-bottom:1px solid var(--border)!important;background:transparent!important}
:root body #dashboardShell .eh-settings-role-control>label{display:block!important;color:var(--ink)!important;font-size:14px!important;font-weight:600;letter-spacing:0;text-transform:none}
:root body #dashboardShell .eh-settings-role-control #roleViewSelect{width:100%!important;max-width:360px!important;min-width:0!important;margin:0!important;height:40px!important;font-size:13px!important;color:var(--ink)!important;background:var(--bg)!important}
#dashboardShell .eh-settings-role-control>p{margin:0;font-size:12px;line-height:1.5}
:root body #dashboardShell [data-settings-panel=dashboard] .eh-settings-role-control:not(.hidden){height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;max-width:none!important;position:static!important;overflow:visible!important;flex:none!important}
:root body #dashboardShell .eh-settings-role-control>label{height:auto!important;max-height:none!important;line-height:1.5!important;white-space:normal!important}
:root body #dashboardShell #roleViewControls.eh-settings-role-control:not(.hidden){height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;gap:9px!important;padding:0 0 20px!important;margin:0 0 20px!important;border-bottom:1px solid var(--border)!important}
:root body #dashboardShell #roleViewControls.eh-settings-role-control>label{display:block!important;position:static!important;max-width:none!important;opacity:1!important;font-size:14px!important;line-height:1.5!important;margin:0!important}

:root body #dashboardShell #roleViewControls.eh-settings-role-control:not(.hidden){margin:24px 0 0!important;padding:20px 0 0!important;border:0!important;border-top:1px solid var(--border)!important}
/* Compact map tiles keep a consistent footprint instead of stretching across each mode. */
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-grid{grid-template-columns:repeat(auto-fill,minmax(78px,92px))!important;gap:6px!important;justify-content:start}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card img{height:40px!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card figcaption{padding:4px 5px!important;min-height:26px!important;font-size:10px!important;line-height:1.3!important}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-photo-card button.eh-map-note-action{top:3px!important;left:3px!important;right:auto!important;bottom:auto!important}
@media(max-width:420px){:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card figcaption{height:auto!important;display:flex!important;align-items:center;box-sizing:border-box}
/* Use the available row width for photos, with a slim map-name strip. */
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:6px!important}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card{display:flex!important;flex-direction:column!important;grid-template-rows:none!important;width:100%!important}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card img{height:auto!important;aspect-ratio:16/10!important;min-height:48px!important;flex:none!important}
:root body :is(#dashboardShell,.eh-dashboard-maps-dialog) .eh-map-pool-gallery .eh-map-photo-card figcaption{height:auto!important;min-height:20px!important;padding:2px 4px!important;line-height:1.25!important;flex:1!important}

/* One existing sign-out control moves between the desktop footer and mobile mini profile. */
@media(min-width:901px){
 #dashboardShell #sidebar .eh-account-area{display:flex!important;align-items:center;gap:8px}
 #dashboardShell #sidebar #openSelfProfile{flex:1!important;width:0!important;min-width:0!important;margin:0!important;padding:4px!important;gap:8px!important}
 :root body #dashboardShell #sidebar #logout.eh-desktop-logout:not(.hidden){display:grid!important;place-items:center;width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;padding:6px!important;margin:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;clip-path:none!important;box-shadow:none!important;font-size:0!important;flex:none!important;cursor:pointer}
 #dashboardShell #sidebar #logout.eh-desktop-logout svg{width:20px;height:20px}#dashboardShell #sidebar #logout.eh-desktop-logout:hover{color:var(--hud-highlight)!important;background:var(--accent-bg)!important}
 #accountDropup .eh-mini-session{display:none!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar .eh-account-area{flex-direction:column;gap:8px}#dashboardShell.eh-sidebar-collapsed #sidebar #openSelfProfile{width:100%!important;flex:none!important}
}
/* Consistent square search and centered account controls in the icon rail. */
:root body #dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search .hud-search-toggle{border:0!important;border-radius:0!important;clip-path:none!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
@media(min-width:901px){
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar .eh-sidebar-search kbd{display:inline-block!important;flex:none;font:500 10px/1.5 'Bai Jamjuree',sans-serif;color:var(--muted);padding:1px 4px;border:1px solid var(--border)}
 :root body #dashboardShell.eh-sidebar-collapsed #sidebar #openSelfProfile{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0 auto!important;flex:none!important}
 #dashboardShell.eh-sidebar-collapsed #sidebar #openSelfProfile .avatar{margin:0!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important}
}
.eh-map-set-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px;min-width:0}
:root body :is(#dashboardShell,dialog) .eh-map-set-choice{min-height:28px;padding:4px 10px;border:1px solid var(--border)!important;border-radius:0!important;clip-path:none!important;background:var(--bg)!important;color:var(--muted)!important;font:600 11px/1.4 'Bai Jamjuree',sans-serif;max-width:100%;overflow-wrap:anywhere;cursor:pointer}
:root body :is(#dashboardShell,dialog) .eh-map-set-choice[aria-pressed=true]{color:var(--hud-highlight)!important;border-color:var(--hud-highlight)!important;background:var(--accent-bg)!important}
:root body :is(#dashboardShell,dialog) .eh-map-set-add{display:grid;place-items:center;width:28px;height:28px;padding:4px;border:0!important;clip-path:none!important;background:transparent!important;color:var(--muted)!important;cursor:pointer}
.eh-map-set-add svg{width:18px;height:18px}.eh-map-set-name{display:block;margin-top:16px}.eh-map-set-name input{max-width:360px;margin-top:6px}
#dashMapPoolCard>.eh-map-set-tabs{flex-shrink:0}
/* Staff unread concerns mirror the reference's yellow count and collapsed indicator. */
#dashboardShell #sidebar .nav-link>.eh-concern-unread:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;margin-left:auto;min-width:18px;height:18px;padding:0 5px;background:#f5c542;color:#211b08;font:700 10px/1 'Bai Jamjuree',sans-serif;border:0;flex:none}
#dashboardShell #sidebar .nav-link>.eh-concern-unread[hidden]{display:none!important}
@media(min-width:901px){#dashboardShell.eh-sidebar-collapsed #sidebar .nav-link>.eh-concern-unread:not([hidden]){position:absolute;top:5px;right:12px;width:7px;min-width:7px;height:7px;padding:0;font-size:0}}
/* Keep the account button on the actual centerline of the collapsed rail. */
@media(min-width:901px){:root body #dashboardShell.eh-sidebar-collapsed #sidebar .eh-account-area{width:100%!important;min-width:0!important;align-items:center!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}:root body #dashboardShell.eh-sidebar-collapsed #sidebar #openSelfProfile{align-self:center!important;margin-left:0!important;margin-right:0!important}}
/* The removed desktop top bar no longer reserves a blank strip above headings. */
@media(min-width:901px){:root body #dashboardShell #pageContent{padding-top:24px!important}:root body #dashboardShell #pageContent [data-panel]>.eh-heading{padding-right:150px!important;box-sizing:border-box}:root body #dashboardShell #pageContent [data-panel]>.eh-heading>#reportComposer{right:150px!important}}
@media(min-width:901px){:root body #dashboardShell.eh-sidebar-collapsed #sidebar .eh-account-area{margin-left:0!important;margin-right:0!important}}
/* Keep practice suggestions compact so roster and proposal controls stay in view. */
#dashboardShell #pageContent #practiceSuggestions{padding:12px!important}
#dashboardShell #pageContent #practiceSuggestions>.eh-practice-heading{padding-bottom:6px!important;margin-bottom:5px!important}
#dashboardShell #practiceSuggestions .eh-practice-heading h2{font-size:17px!important;line-height:1.15!important}
#dashboardShell #pageContent #practiceSuggestions .eh-practice-window{padding:5px 0!important;gap:2px 6px!important}
#dashboardShell #practiceSuggestions .eh-practice-row-info strong{font-size:11px!important;line-height:1.25!important}
#dashboardShell #practiceSuggestions .eh-practice-row-info small{font-size:9px!important;line-height:1.3!important}
#dashboardShell #practiceSuggestions .eh-practice-availability-detail{padding:4px 5px!important;margin:3px 0 0!important;gap:5px!important}
#dashboardShell #practiceSuggestions .eh-practice-availability-detail span{font-size:10px!important;line-height:1.3!important}
@media(min-width:1101px){#dashboardShell #pageContent .hud-availability-sidebar{grid-template-rows:minmax(0,360px) auto!important;align-content:start!important}#dashboardShell #pageContent .hud-availability-sidebar>#practiceSuggestions{max-height:360px!important;min-height:0!important}#dashboardShell #practiceSuggestions>[data-windows]{overflow:auto!important}#dashboardShell #pageContent .hud-availability-sidebar>.hud-availability-players{max-height:none!important;overflow:visible!important}}
@media(max-width:1100px){#dashboardShell #practiceSuggestions>[data-windows]{max-height:360px!important;overflow:auto!important}}
@media(min-width:901px){:root body #dashboardShell #pageContent [data-panel]>.eh-heading{padding-right:0!important}:root body #dashboardShell #pageContent [data-panel]>.eh-heading>#reportComposer{right:0!important}}
.eh-heading>.eh-float-clearance{transform:none!important;align-self:flex-start!important;margin-top:var(--eh-float-clearance,0px)!important}
@media(max-width:900px){
 :root body #dashboardShell .topbar>.top-left{position:fixed;top:12px;left:12px;z-index:70;display:flex!important;align-items:center;gap:8px!important;min-height:46px;padding:6px 12px 6px 8px!important;border:0!important;background:linear-gradient(270deg,color-mix(in srgb,var(--hud-highlight) 22%,transparent),transparent)!important;box-shadow:none!important}
 #dashboardShell .topbar>.top-left #menuButton{background:var(--bg)!important;border:1px solid var(--border)!important;clip-path:none!important;width:32px;height:32px;padding:5px!important}
}
@media(max-width:900px){
 :root body #dashboardShell .topbar>.top-left{background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 22%,transparent),transparent)!important}
 :root body #dashboardShell #sidebar{width:85vw!important;max-width:85vw!important;min-width:0!important;margin:0!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-sizing:border-box}
 #dashboardShell #sidebar::before,#dashboardShell #sidebar::after{content:'';position:absolute;width:11px;height:11px;border:2px solid var(--hud-highlight);pointer-events:none;z-index:2}
 #dashboardShell #sidebar::before{top:0;left:0;border-right:0;border-bottom:0}#dashboardShell #sidebar::after{bottom:0;right:0;border-left:0;border-top:0}
 :root body #dashboardShell #sidebar #closeMobileNav{display:grid!important;place-items:center;top:20px;right:10px;width:32px;height:32px;min-height:32px;padding:6px!important;clip-path:none!important;border-radius:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
 #dashboardShell #sidebar #closeMobileNav:hover{color:var(--hud-highlight)!important;background:var(--accent-bg)!important}
 #dashboardShell #sidebar .eh-sidebar-header{border-bottom:1px solid var(--border)!important}#dashboardShell #sidebar .eh-sidebar-search{border:1px solid var(--border)!important;border-radius:0!important;background:var(--bg)!important}
}
@media(max-width:900px){:root body #dashboardShell .topbar>.top-left{left:0!important;padding-left:max(8px,env(safe-area-inset-left))!important}:root body #dashboardShell .top-actions{right:0!important;padding-right:max(8px,env(safe-area-inset-right))!important}}

body #hudSlotPopover{opacity:0;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease;will-change:opacity;max-height:calc(100dvh - 24px);overflow:hidden}
body #hudSlotPopover.is-visible{opacity:1;transform:translateY(0);transition:opacity .14s ease,transform .14s ease,left .1s ease-out,top .1s ease-out}
@media(prefers-reduced-motion:reduce){body #hudSlotPopover,body #hudSlotPopover.is-visible{transition:none!important;transform:none!important}}
@media(max-width:900px){:root body #dashboardShell .topbar>.top-left,:root body #dashboardShell .top-actions{top:0!important;padding-top:max(6px,env(safe-area-inset-top))!important}:root body #dashboardShell .topbar{min-height:54px!important}:root body #dashboardShell #pageContent{padding-top:12px!important}}
/* A continuous mobile header keeps complete page titles on one shared gradient. */
@media(max-width:900px){
 :root body #dashboardShell .topbar{position:fixed!important;inset:0 0 auto!important;width:100%!important;min-height:54px!important;height:auto!important;display:flex!important;align-items:center!important;gap:8px!important;padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left))!important;z-index:70!important;background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 22%,var(--bg)),var(--bg) 42%,var(--bg) 58%,color-mix(in srgb,var(--hud-highlight) 22%,var(--bg)))!important;border:0!important;box-shadow:none!important;box-sizing:border-box}
 :root body #dashboardShell .topbar>.top-left{position:static!important;inset:auto!important;flex:1 1 auto!important;min-width:0!important;min-height:0!important;padding:0!important;gap:8px!important;background:transparent!important}
 :root body #dashboardShell .topbar .top-actions{position:static!important;inset:auto!important;flex:0 0 auto!important;padding:0!important;margin-left:auto!important;background:transparent!important}
 :root body #dashboardShell .topbar #breadcrumbCurrent{max-width:none!important;width:auto!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;font-size:11px!important;line-height:1.25!important;overflow-wrap:normal!important}
 :root body #dashboardShell #menuButton{flex:none!important}
 :root body #dashboardShell .main-column{padding-top:66px!important}
}
@media(max-width:900px){
 :root body #dashboardShell .topbar{background:linear-gradient(90deg,color-mix(in srgb,var(--hud-highlight) 22%,transparent),color-mix(in srgb,var(--bg) 25%,transparent) 42%,color-mix(in srgb,var(--bg) 25%,transparent) 58%,color-mix(in srgb,var(--hud-highlight) 22%,transparent))!important;backdrop-filter:blur(14px) saturate(1.1)!important;-webkit-backdrop-filter:blur(14px) saturate(1.1)!important}
 @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root body #dashboardShell .topbar{background:color-mix(in srgb,var(--surface) 94%,transparent)!important}}
}
@media(max-width:900px){:root body #dashboardShell .topbar>.top-left #menuButton{background:transparent!important;border:0!important;box-shadow:none!important;clip-path:none!important;color:var(--ink)!important}}
/* Give the mobile greeting two intentional lines instead of shrinking the full sentence. */
@media(max-width:900px){
 :root body #dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading h1{font-size:clamp(28px,8vw,40px)!important;white-space:normal!important;line-height:1.08!important}
 :root body #dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading h1 #welcome{display:block!important;white-space:nowrap!important;margin-top:3px!important;color:var(--hud-highlight)!important}
}

/* Main page titles share a desktop scale; section and dialog labels remain intact. */
#dashboardShell #pageContent [data-panel]>.eh-heading .eh-kicker{display:none!important}
@media(min-width:901px){
 :root body #dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading h1{font-size:clamp(32px,4vw,44px)!important}
}

@media(min-width:901px){
 #dashboardShell #pageContent [data-panel=dashboard]>.eh-dashboard-heading>.eh-team-picker{align-self:start!important;padding-top:40px!important;transform:none!important}
 #dashboardShell #pageContent .eh-dashboard-heading>#hudDashboardLayoutTools{grid-column:1/-1!important;margin:0!important}
}

@media(min-width:901px){
 #dashboardShell #sidebar .eh-footer-settings{display:grid!important;place-items:center!important;flex:none!important;width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;padding:6px!important;margin:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;clip-path:none!important;box-shadow:none!important}
 #dashboardShell #sidebar .eh-footer-settings>span,#dashboardShell #sidebar .eh-footer-settings::before,#dashboardShell #sidebar .eh-footer-settings::after{display:none!important}
 #dashboardShell #sidebar .eh-footer-settings svg{width:20px!important;height:20px!important;margin:0!important}
 #dashboardShell #sidebar .eh-footer-settings:hover,#dashboardShell #sidebar .eh-footer-settings.active{color:var(--hud-highlight)!important;background:var(--accent-bg)!important}
}
@media(min-width:901px){
 #dashboardShell #sidebar #openSelfProfile>div:not(.avatar){min-width:0!important;flex:1!important}
 #dashboardShell #sidebar #sidebarName{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #dashboardShell #sidebar #openSelfProfile>.eh-profile-chevron{display:none!important}
}
@media(min-width:901px){
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar .eh-account-area{padding:10px 8px!important;margin-left:0!important;margin-right:0!important;gap:2px!important;width:100%!important;box-sizing:border-box!important}
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar #openSelfProfile{padding:4px 0!important;gap:6px!important}
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar .eh-footer-settings,#dashboardShell:not(.eh-sidebar-collapsed) #sidebar #logout.eh-desktop-logout{width:28px!important;min-width:28px!important;padding:4px!important}
}
/* Keep Settings actions in the header's layout instead of floating over its panel. */
#dashboardShell #pageContent [data-panel=settings]>.eh-heading{display:flex!important;align-items:flex-start!important;height:auto!important;min-height:0!important;gap:16px!important}
#dashboardShell #pageContent [data-panel=settings]>.eh-heading>h1{flex:1!important;min-width:0!important}
#dashboardShell #pageContent [data-panel=settings]>.eh-heading>#pfSave{float:none!important;position:static!important;flex:none!important}
@media(min-width:901px){
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar #openSelfProfile{align-items:center!important;gap:8px!important}
 #dashboardShell:not(.eh-sidebar-collapsed) #sidebar #openSelfProfile>div:not(.avatar){display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important}
 #dashboardShell #sidebar #sidebarName{margin:0!important;padding:0!important;line-height:1.2!important;width:100%!important}
 #dashboardShell #sidebar #sidebarRole{margin:0!important;padding:0!important;line-height:1!important;gap:0!important}
}

#profileForm .eh-profile-editor-toolbar>#pfSave{margin:0 0 0 auto!important;flex:none!important;transform:none!important;position:static!important;float:none!important}

.eh-note-category-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;min-width:0}
.eh-note-category-row>.eh-note-tabs{flex:1;min-width:0;margin:0!important}
.eh-note-category-row>#reportComposer{position:static!important;transform:none!important;margin:0!important;flex:none;padding:0!important;border:0!important;background:none!important}
#dashboardShell .sch-type[data-event-type=practice]{background:#83c9a4!important;color:#10221a!important}
#dashboardShell .sch-type[data-event-type=match]{background:var(--hud-blue)!important;color:#061922!important}
#dashboardShell .sch-type[data-event-type=vod]{background:var(--hud-highlight)!important;color:var(--bg)!important}
#dashboardShell .sch-type[data-event-type=esports]{background:#f5bd63!important;color:#261700!important}
@media(max-width:600px){.eh-note-category-row{gap:8px}.eh-note-category-row .eh-note-tabs button{padding-inline:8px}.eh-note-category-row #newVodReport{padding:8px!important;font-size:11px!important}}

/* Header controls participate in layout at every scroll position. */
#dashboardShell #pageContent [data-panel]:not([data-panel=dashboard])>.eh-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:6px 18px!important;height:auto!important;min-height:0!important}
#dashboardShell #pageContent [data-panel]:not([data-panel=dashboard])>.eh-heading>:is(h1,p){grid-column:1!important;min-width:0!important}
#dashboardShell #pageContent .eh-heading>.eh-page-heading-actions{grid-column:2!important;grid-row:1 / span 3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;position:static!important;margin:40px 0 0!important;max-width:100%!important}
#dashboardShell #pageContent .eh-page-heading-actions>:is(button,a,.hud-page-actions,.eh-team-picker,.hud-team-header-selector,#reportComposer){position:static!important;inset:auto!important;transform:none!important;float:none!important;margin:0!important}
@media(max-width:900px){#dashboardShell #pageContent [data-panel]:not([data-panel=dashboard])>.eh-heading{grid-template-columns:minmax(0,1fr)!important}#dashboardShell #pageContent .eh-heading>.eh-page-heading-actions{grid-column:1!important;grid-row:auto!important;margin:8px 0 0!important}}

#dashboardShell .sch-event.sch-practice,#dashboardShell .sch-event.sch-scrim{border-left-color:#83c9a4!important}
#dashboardShell .sch-event.sch-vod{border-left-color:var(--hud-highlight)!important}
#dashboardShell .sch-event.sch-esports{border-left-color:#f5bd63!important}
#dashboardShell .sch-type[data-event-type=event]{background:var(--muted)!important;color:var(--bg)!important}
#dashboardShell .sch-chip.sch-practice,#dashboardShell .sch-chip.sch-scrim{border-left:3px solid #83c9a4!important;background:color-mix(in srgb,#83c9a4 14%,var(--surface))!important}
#dashboardShell .sch-chip.sch-match{border-left:3px solid var(--hud-blue)!important;background:color-mix(in srgb,var(--hud-blue) 14%,var(--surface))!important}
#dashboardShell .sch-chip.sch-vod{border-left:3px solid var(--hud-highlight)!important;background:color-mix(in srgb,var(--hud-highlight) 14%,var(--surface))!important}
#dashboardShell .sch-chip.sch-esports{border-left:3px solid #f5bd63!important;background:color-mix(in srgb,#f5bd63 14%,var(--surface))!important}
@media(min-width:901px){#dashboardShell:not(.eh-floating-compact) .top-actions #notificationsButton{width:154px!important}#dashboardShell:not(.eh-floating-compact) .top-actions .eh-notification-label{flex-shrink:0!important}}
#dashboardShell #pageContent .eh-heading>.eh-page-heading-actions:empty,#dashboardShell #pageContent .eh-heading>.eh-page-heading-actions:not(:has(>:not([hidden]):not(.hidden))){display:none!important}
/* Keep unread counts inside the compact control instead of clipping them. */
#dashboardShell .top-actions #notificationsButton>.eh-notification-badge{flex:none!important;box-sizing:border-box!important;white-space:nowrap!important}
#dashboardShell.eh-floating-compact .top-actions #notificationsButton>.eh-notification-label{display:none!important}
#dashboardShell.eh-floating-compact .top-actions #notificationsButton:has(>.eh-notification-badge:not([hidden])){width:max-content!important;min-width:64px!important;gap:8px!important;padding-inline:8px!important}
@media(max-width:900px){
 #dashboardShell .top-actions #notificationsButton:has(>.eh-notification-badge:not([hidden])){width:max-content!important;min-width:60px!important;gap:6px!important;padding-inline:8px!important}
 #dashboardShell .top-actions #notificationsButton>.eh-notification-badge{position:static!important;inset:auto!important;border:0!important;height:18px!important;min-width:18px!important;line-height:18px!important;padding:0 4px!important}
}

/* Every native modal is viewport-bound, even when opened far down a page. */
:root body dialog:modal:not(#onboardingDialog){position:fixed!important;inset:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;margin:auto!important;transform:none!important;height:fit-content!important;min-height:0!important;min-width:0!important;box-sizing:border-box!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;max-width:calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding-block:16px}
/* Mobile Teams: title and Join Team share a row; the team list spans the page. */
@media(max-width:900px){
 :root body #dashboardShell #pageContent [data-panel=teams]>.eh-heading{grid-template-columns:minmax(0,1fr) auto!important;gap:14px 12px!important;align-items:center!important}
 :root body #dashboardShell #pageContent [data-panel=teams]>.eh-heading>h1{grid-column:1!important;grid-row:1!important;align-self:center!important}
 :root body #dashboardShell #pageContent [data-panel=teams]>.eh-heading>p{grid-column:1/-1!important;grid-row:2!important;margin:0!important}
 :root body #dashboardShell #pageContent [data-panel=teams]>.eh-heading>.eh-page-heading-actions{display:contents!important;margin:0!important}
 :root body #dashboardShell #pageContent [data-panel=teams] .eh-page-heading-actions>.hud-join-team{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;margin:0!important;white-space:nowrap!important}
 :root body #dashboardShell #pageContent [data-panel=teams] .eh-page-heading-actions>.hud-team-header-selector{grid-column:1/-1!important;grid-row:3!important;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;box-sizing:border-box!important}
 :root body #dashboardShell #pageContent [data-panel=teams] .hud-team-header-selector #teamsMirror{width:100%!important;min-width:0!important}
}
/* Compact roster actions: role on the left, consistent text buttons on the right. */
#dashboardShell .eh-roster-actions>.eh-btn,body button[data-profile]{text-transform:uppercase!important;font-size:10px!important;font-weight:600!important;letter-spacing:.03em!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;padding:0 8px!important}
@media(max-width:900px){
 #dashboardShell .eh-roster-member .eh-roster-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;width:100%!important;max-width:100%!important;padding-left:0!important;margin:8px 0 0!important;gap:6px!important}
 #dashboardShell .eh-roster-actions>.eh-roster-role-tag{margin-right:auto!important;flex:none!important}
 #dashboardShell .eh-roster-actions>.eh-lineup-toggle{min-width:0!important}
}
.eh-note-category-row>button{flex:none!important;white-space:nowrap!important;margin:0!important}
.eh-week-insights{margin:0;padding:0;min-width:0}.eh-week-insights-heading{display:flex;flex-direction:column;gap:4px}.eh-week-insights-heading strong{font-size:12px}.eh-week-insights-heading small{font-size:10px}.eh-week-insights-best{font-size:12px;color:var(--hud-highlight);line-height:1.5;margin:10px 0}
.eh-week-insights-grid{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:4px 7px}.eh-week-insights-axis{display:flex;justify-content:space-between;font-size:8px;color:var(--muted)}.eh-week-insights-day{font-size:9px;color:var(--muted)}.eh-week-insights-hours{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:2px}
body button.eh-week-insights-cell{height:14px;min-height:14px;min-width:0;padding:0!important;border:0!important;border-radius:0;clip-path:none!important;background:color-mix(in srgb,var(--hud-blue) var(--eh-overlap),var(--surface))!important;cursor:pointer;box-shadow:none!important}body button.eh-week-insights-cell[data-coverage=none]{background:var(--bg)!important;box-shadow:inset 0 0 0 1px var(--border)!important}body button.eh-week-insights-cell.all-starters{background:#49b585!important}body button.eh-week-insights-cell:is(:focus-visible,[aria-pressed=true]){outline:2px solid var(--hud-highlight)!important;outline-offset:1px!important}
.eh-week-insights figcaption{font-size:10px;line-height:1.5;margin-top:10px}.eh-week-insights-legend{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:9px;color:var(--muted);margin-top:6px}
/* Public product tour: current screenshots, readable context, and full-size previews. */
.eh-product-tour{width:min(1200px,calc(100% - 64px));margin:auto;padding:56px 0 72px;border-top:1px solid var(--border)}.eh-product-tour>header{max-width:720px;margin-bottom:28px}.eh-product-tour h2{font-size:clamp(30px,4vw,48px)!important;line-height:1.08!important;text-transform:none!important;margin:0 0 18px}.eh-product-tour h2 em{color:var(--hud-highlight);font-style:normal}.eh-product-tour>header p{font-size:15px;color:var(--muted);line-height:1.7}
.eh-product-preview-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);overflow:auto;margin-bottom:28px;padding-bottom:8px}.eh-product-preview-tabs button{flex:none;padding:10px 14px;background:transparent;color:var(--muted);border:0;border-bottom:2px solid transparent;clip-path:none!important;font:600 12px 'Bai Jamjuree',sans-serif;cursor:pointer;white-space:nowrap}.eh-product-preview-tabs button[aria-selected=true]{color:var(--hud-highlight);border-bottom-color:var(--hud-highlight);background:var(--accent-bg)}.eh-product-preview-tabs button:focus-visible{outline:2px solid var(--hud-highlight);outline-offset:-2px}
.eh-product-preview-panel:not([hidden]){display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1.5fr);gap:34px;align-items:center}.eh-product-preview-panel h3{font-size:26px!important;line-height:1.18!important;text-transform:none!important;margin:0 0 16px}.eh-product-preview-panel p{font-size:14px;color:var(--muted);line-height:1.75}.eh-product-preview-panel a{color:var(--hud-highlight);font-size:12px;font-weight:600;text-decoration:none}.eh-product-preview-panel figure{margin:0;min-width:0;border:1px solid var(--border);background:var(--surface)}.eh-product-preview-panel figcaption{font-size:10px;color:var(--muted);padding:10px 12px}
body button.eh-product-image{display:block;width:100%;min-width:0;border:0!important;border-radius:0!important;clip-path:none!important;padding:0!important;margin:0;background:var(--surface)!important;box-shadow:none!important;cursor:zoom-in;overflow:hidden;text-align:left}button.eh-product-image img{display:block;width:100%;height:auto}button.eh-product-image:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:3px!important}
.eh-product-detail>.eh-product-story-photo{grid-column:2;margin:0;border:1px solid var(--border);min-width:0}.eh-product-role-preview{padding:48px 0;border-bottom:1px solid var(--border)}.eh-product-role-preview p{color:var(--muted);line-height:1.7}.eh-product-role-preview>div{display:grid;grid-template-columns:1fr 1fr;gap:18px}.eh-product-role-preview .eh-product-image{border:1px solid var(--border)!important}
.eh-product-lightbox{width:min(1240px,calc(100vw - 32px));padding:16px!important;background:var(--surface);color:var(--ink);border:1px solid var(--border)}.eh-product-lightbox::backdrop{background:#000c}.eh-product-lightbox>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.eh-product-lightbox h2{font-size:18px!important;margin:0}.eh-product-lightbox>header button{background:transparent;border:0;color:var(--hud-highlight);font-size:28px;cursor:pointer;padding:0 6px;clip-path:none!important}.eh-product-lightbox>img{display:block;width:100%;max-height:calc(100dvh - 135px);object-fit:contain}.eh-product-lightbox>p{font-size:11px;color:var(--muted);margin:12px 0 0}html.eh-product-preview-open{overflow:hidden}
@media(max-width:900px){.eh-product-preview-panel:not([hidden]){grid-template-columns:minmax(0,1fr);gap:20px}.eh-product-preview-panel>div{max-width:640px}.eh-product-detail>.eh-product-story-photo{grid-column:1/-1}}
@media(max-width:600px){.eh-product-tour{width:calc(100% - 36px);padding:36px 0 44px}.eh-product-tour h2{font-size:32px!important}.eh-product-preview-tabs{margin-bottom:22px}.eh-product-preview-tabs button{padding:9px 10px;font-size:11px}.eh-product-preview-panel h3{font-size:23px!important}.eh-product-role-preview>div{grid-template-columns:1fr}.eh-product-lightbox{padding:12px!important}.eh-product-detail>.eh-product-story-photo{margin-top:10px}}
#dashboardShell .eh-note-category-row>button,#dashboardShell .eh-note-category-row>#reportComposer>.eh-btn{height:36px!important;min-height:36px!important;padding:7px 12px!important;font-size:12px!important;line-height:1.3!important;font-weight:600!important;white-space:nowrap!important}
.hud-notification-preferences{display:grid;gap:18px;padding:16px}.hud-notification-preferences>p{font-size:12px;line-height:1.6;margin:0}.hud-notification-preferences fieldset{margin:0;padding:0;border:0;min-width:0}.hud-notification-preferences legend{font-size:12px;font-weight:700;margin-bottom:4px}.hud-notification-preferences fieldset>p{font-size:11px;margin:0 0 10px;line-height:1.5}
.hud-reminder-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hud-reminder-choices label{position:relative;cursor:pointer}.hud-reminder-choices input{position:absolute;width:1px;height:1px;opacity:0;min-height:0!important;padding:0!important}.hud-reminder-choices span{display:flex;justify-content:center;padding:9px 4px;border:1px solid var(--border);background:var(--bg);font-size:11px;font-weight:600}.hud-reminder-choices input:checked+span{border-color:var(--hud-highlight);background:var(--accent-bg);color:var(--hud-highlight)}.hud-reminder-choices input:focus-visible+span{outline:2px solid var(--hud-highlight);outline-offset:2px}
.hud-notification-update-toggle{display:flex;gap:16px;align-items:center;justify-content:space-between;padding-block:16px;border-block:1px solid var(--border);cursor:pointer}.hud-notification-update-toggle strong,.hud-notification-update-toggle small{display:block;line-height:1.5}.hud-notification-update-toggle strong{font-size:12px}.hud-notification-update-toggle small{font-size:11px;margin-top:4px}.hud-notification-update-toggle input{width:18px;height:18px;flex:none;accent-color:var(--hud-highlight)}
.hud-notification-preferences>.hud-inbox-status{padding:0;font-size:11px}.hud-notification-preferences>footer{display:flex;justify-content:flex-end}.hud-notification-preferences>footer>.eh-btn{font-size:11px;min-height:34px;padding:8px 12px}
.eh-product-detail.eh-product-feature-story{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);align-items:center;gap:40px}.eh-product-feature-story>.eh-product-story-photo{grid-column:1!important;grid-row:1;max-width:360px;width:100%;margin:0!important;justify-self:start}.eh-product-feature-story>div{grid-column:2;grid-row:1;min-width:0}.eh-product-feature-story>div>.eh-product-eyebrow{margin-bottom:12px}
@media(max-width:600px){.eh-product-detail.eh-product-feature-story{grid-template-columns:100px minmax(0,1fr);gap:18px;align-items:start}.eh-product-feature-story h2{font-size:22px!important}.eh-product-feature-story p,.eh-product-feature-story li{font-size:13px;line-height:1.65}.eh-product-feature-story>div>.eh-product-eyebrow{font-size:9px}.eh-product-feature-story ul{padding-left:16px}}
@media(min-width:901px){:root body #dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search{border:0!important;background:transparent!important;box-shadow:none!important}:root body #dashboardShell.eh-sidebar-collapsed #sidebar .eh-sidebar-search .hud-search-toggle:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:-4px!important}}
:root body #dashboardShell #pageContent #hudDashboardAvailability:has(.eh-week-insights){height:auto!important;min-height:300px!important;max-height:none!important;overflow:visible!important}

/* Public FAQ: grouped, keyboard-accessible answers. */
.eh-product-faq-group{margin-top:36px}.eh-product-faq-group h3{color:var(--hud-highlight);font-size:16px;line-height:1.3!important;margin:0 0 8px}.eh-product-faq summary{display:list-item;padding-right:24px;line-height:1.5}.eh-product-faq summary::marker{color:var(--hud-highlight)}.eh-product-faq summary:focus-visible{outline:2px solid var(--hud-highlight);outline-offset:5px}.eh-product-faq details[open] summary{color:var(--hud-highlight)}.eh-product-faq details p{margin:12px 0 2px}

/* Instant messenger preview: buddy list and private, persistent conversations. */
.im-layout{display:grid;grid-template-columns:265px minmax(0,1fr);height:calc(100dvh - 165px);min-height:480px;max-height:850px;padding:0!important;overflow:hidden;gap:0!important}
.im-buddies{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--border);background:var(--surface)}.im-buddies-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 10px}.im-buddies-heading h2{font-size:16px!important;margin:0!important}.im-contact-search{width:calc(100% - 32px)!important;margin:0 16px 12px!important;min-height:38px!important;font-size:12px!important}.im-buddy-list{overflow-y:auto;min-height:0;padding:0 8px 16px}.im-list-label{font-size:10px!important;line-height:1.3!important;letter-spacing:.08em!important;color:var(--muted);margin:16px 8px 8px!important}.im-list-empty{font-size:12px;line-height:1.7;padding:12px}
body #dashboardShell button.im-contact{display:flex!important;align-items:center;gap:10px;width:100%;padding:12px 8px!important;border:1px solid transparent!important;background:transparent!important;border-radius:0!important;clip-path:none!important;text-align:left!important;color:var(--ink);box-shadow:none!important;min-height:64px}.im-contact:hover,.im-contact.is-selected{background:var(--accent-bg)!important}.im-contact.is-selected{border-color:var(--hud-highlight)!important}.im-contact-copy{display:block;flex:1;min-width:0}.im-contact-copy strong{display:block;font-size:13px}.im-contact-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin-top:4px;line-height:1.4}.im-avatar{display:flex;align-items:center;justify-content:center;position:relative;flex:none;width:34px;height:34px;font-size:11px;font-weight:700;color:var(--hud-highlight);background:var(--accent-bg);border:1px solid var(--border)}.im-presence{position:absolute;bottom:-3px;right:-3px;width:9px;height:9px;border:2px solid var(--surface);border-radius:50%;background:var(--muted)}.im-presence.is-online{background:#49b585}.im-presence.is-idle{background:var(--hud-warning)}.im-presence.is-dnd{background:#e76c70}.im-count,.im-nav-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--hud-highlight);color:var(--bg);font-size:10px;font-weight:700;min-width:18px;height:18px;padding:0 4px}.im-nav-badge{margin-left:auto}.im-nav-badge[hidden]{display:none!important}.eh-sidebar-collapsed .im-nav-badge{position:absolute;top:1px;right:1px;min-width:13px;height:13px;font-size:8px}
.im-thread{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;min-width:0;min-height:0;position:relative;background:var(--bg)}.im-thread-heading{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border);min-height:68px;min-width:0}.im-thread-heading>.im-icon:first-child{display:none!important}.im-peer{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.im-peer>div{min-width:0}.im-peer h2{font-size:16px!important;line-height:1.2!important;margin:0!important;text-transform:none!important;overflow-wrap:anywhere}.im-peer p{font-size:11px;margin:5px 0 0;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.im-thread-actions{display:flex;align-items:center;gap:12px}.im-icon{width:24px!important;min-width:24px!important;height:28px!important;min-height:28px!important;padding:0!important;color:var(--muted)!important;flex:none}.im-icon:hover,.im-icon.is-on{color:var(--hud-highlight)!important}.im-icon svg{width:20px;height:20px}.im-history-search{width:calc(100% - 40px)!important;margin:12px 20px!important;min-height:34px!important;font-size:11px!important}
.im-transcript{min-height:0;overflow:auto;padding:0 22px 20px;overscroll-behavior:contain;scrollbar-gutter:stable}.im-date-divider{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:10px;margin:20px 0}.im-date-divider:before,.im-date-divider:after{content:'';height:1px;flex:1;background:var(--border)}.im-message{padding:10px 0;min-width:0}.im-message header{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}.im-message header strong{font-size:12px;color:var(--hud-highlight)}.im-message.is-mine header strong{color:var(--hud-blue)}.im-message time{font-size:10px}.im-message-content{margin:5px 0;line-height:1.65;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}.im-message-content a{color:var(--hud-highlight);text-decoration:underline}.im-message-state{font-size:9px;color:var(--muted)}.im-message .im-inline{background:transparent!important;border:0!important;color:var(--hud-highlight)!important;clip-path:none!important;padding:3px 8px!important;margin-left:6px;font-size:10px!important;min-height:24px!important}.im-empty-history{font-size:12px;line-height:1.7;padding:12px 0}
.im-status{padding:0 20px;margin:0 0 10px;min-height:15px;font-size:10px;color:var(--muted);line-height:1.6}.im-composer{padding:0 18px 14px}.im-composer textarea{resize:none;width:100%;height:70px!important;min-height:70px!important;font-family:inherit;font-size:13px!important;padding:12px!important}.im-composer-actions{display:flex;align-items:center;gap:10px;margin-top:8px}.im-composer-actions small{font-size:9px;line-height:1.5;flex:1}.im-composer-actions>.eh-btn{height:32px;min-height:32px;padding:5px 16px;font-size:11px}.im-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;background:var(--bg)}.im-empty h2{font-size:24px!important;line-height:1.2!important;max-width:400px}.im-empty p{max-width:330px;line-height:1.8;font-size:13px}.im-empty-symbol{font-size:40px;color:var(--hud-highlight)}.im-thread.has-conversation>.im-empty{display:none!important}.im-thread:not(.has-conversation)>:not(.im-empty){visibility:hidden}.im-test-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:12px 16px;border:1px dashed var(--border);font-size:11px;background:var(--surface)}.im-test-controls label{display:flex;align-items:center;gap:8px;font-size:11px}.im-test-controls select{width:auto;min-height:30px!important;padding:4px 26px 4px 8px!important;font-size:11px!important}.im-test-controls button{font-size:11px!important;padding:5px 10px!important;min-height:30px!important}.im-test-controls small{color:var(--muted)}
@media(max-width:900px){.im-layout{height:calc(100dvh - 175px);min-height:480px;grid-template-columns:210px minmax(0,1fr)}.im-thread-heading{padding:12px}.im-peer p{max-width:180px}.im-test-controls{margin-bottom:12px}}
@media(max-width:650px){.im-layout{display:block;height:calc(100dvh - 200px);min-height:440px}.im-buddies{height:100%;border-right:0}.im-thread{display:none;height:100%}.im-thread-open .im-buddies{display:none}.im-thread-open .im-thread{display:grid}.im-thread-heading>.im-icon:first-child{display:flex!important}.im-thread-heading{gap:8px;padding:10px 12px}.im-peer{gap:8px}.im-peer .im-avatar{width:28px;height:28px}.im-peer h2{font-size:14px!important}.im-peer p{max-width:160px;font-size:10px}.im-thread-actions{gap:8px}.im-history-search{width:calc(100% - 24px)!important;margin:10px 12px!important}.im-transcript{padding:0 14px 14px}.im-composer{padding:0 12px 12px}.im-status{padding:0 12px}.im-composer-actions small{font-size:8px}.im-composer textarea{font-size:16px!important}.im-message-content{font-size:14px}.im-test-controls small{display:block;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.im-layout *{scroll-behavior:auto!important;transition:none!important}}
:root body #dashboardShell #pageContent .im-layout{padding:0!important;height:var(--im-viewport-height,calc(100dvh - 215px))!important;min-height:400px!important;gap:0!important}
:root body #dashboardShell #pageContent .im-icon{background:transparent!important;border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center}
:root body #dashboardShell #pageContent .im-contact.is-selected{border-color:var(--hud-highlight)!important;background:var(--accent-bg)!important}
:root body #dashboardShell #pageContent .im-contact:hover{background:var(--accent-bg)!important}
.im-thread :is(button,input,textarea):focus-visible,.im-buddies :is(button,input):focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:2px!important}
:root body #dashboardShell #pageContent :is(.im-thread,.im-buddies) :is(input,textarea):focus-visible{outline:0!important;border-color:var(--hud-highlight)!important;box-shadow:none!important}
.im-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:0}
.im-empty-symbol{display:flex;align-items:center;justify-content:center;position:relative;width:72px;height:72px;color:var(--hud-highlight);background:var(--accent-bg);border:1px solid var(--border);margin-bottom:12px}.im-empty-symbol svg{width:36px;height:36px}.im-empty-symbol:before,.im-empty-symbol:after{content:'';position:absolute;width:10px;height:10px;border-color:var(--hud-highlight);border-style:solid}.im-empty-symbol:before{left:-1px;top:-1px;border-width:2px 0 0 2px}.im-empty-symbol:after{right:-1px;bottom:-1px;border-width:0 2px 2px 0}
:root body #profileDialog .eh-profile-friends{display:inline-flex;align-items:baseline;gap:6px;width:auto;min-height:26px;margin:7px 0 0;padding:2px 0!important;border:0!important;border-radius:0!important;clip-path:none!important;background:transparent!important;box-shadow:none!important;color:var(--ink);font:inherit;font-size:12px;text-transform:none;line-height:1.4}:root body #profileDialog button.eh-profile-friends{cursor:pointer}:root body #profileDialog button.eh-profile-friends:hover{color:var(--hud-highlight)!important}:root body #profileDialog button.eh-profile-friends:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:3px}.eh-profile-friends strong{font-weight:700;color:var(--hud-highlight)}.eh-profile-friends>span{color:var(--muted)}.eh-friends-dialog{width:min(460px,calc(100vw - 28px))!important}.eh-friends-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.eh-friends-dialog h2{font-size:20px!important}.eh-friends-dialog>p{font-size:12px;line-height:1.7}.eh-friend-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--border)}.eh-friend-row>div{flex:1;min-width:0}.eh-friend-row strong,.eh-friend-row small{display:block;overflow-wrap:anywhere}.eh-friend-row strong{font-size:13px}.eh-friend-row small{font-size:10px;margin-top:4px}.eh-friend-row>.eh-btn{font-size:11px;min-height:30px;padding:6px 12px}
.eh-profile-game-edit{display:grid;gap:10px;min-width:0;border-bottom:1px solid var(--border);padding:12px 0}.eh-player-game-extra{display:grid;gap:10px}.eh-profile-game-edit:has(input[data-game]:placeholder-shown) .eh-player-game-extra{display:none}.eh-player-game-extra label{font-size:11px}.eh-ign .eh-player-game-meta{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5}.eh-rank-symbol{display:inline-flex;align-items:center;flex:none;width:23px;height:26px;color:var(--hud-highlight)}.eh-rank-symbol:empty{display:none}.eh-rank-symbol svg{width:100%;height:100%;fill:none;stroke:currentColor}
:root body .eh-friends-dialog .eh-icon-action{display:inline-flex;align-items:center;justify-content:center;width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;color:var(--hud-highlight)!important}.eh-friends-dialog .eh-icon-action svg{width:21px;height:21px}

/* Primary-game rank badge shares the profile's role row and theme highlight. */
body .eh-profile-rank-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:2px;color:var(--profile-rank,var(--profile-text,var(--hud-highlight)));background:transparent;border:0;vertical-align:middle}body .eh-profile-rank-badge[hidden]{display:none!important}.eh-profile-rank-badge svg{display:block;width:100%;height:100%}

body :is(#profileDialog,#profileEditorCard) :is(.eh-profile-rank-badge,.eh-rank-symbol){color:var(--profile-rank,var(--profile-text))}body :is(#profileDialog,#profileEditorCard) :is(.eh-profile-rank-badge,.eh-rank-symbol) svg{stroke-width:4.2!important}

/* Conversation identity, private GIFs, and the expanded buddy directory. */
:root body :is(.im-profile-link){display:inline-flex!important;align-items:center;gap:9px;min-height:0!important;width:auto!important;max-width:100%;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;clip-path:none!important;border-radius:0!important;color:var(--ink)!important;font:inherit!important;text-transform:none!important;text-align:left!important;cursor:pointer}:root body .im-profile-link:hover{color:var(--hud-highlight)!important;text-decoration:underline}:root body .im-profile-link:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:4px!important}.im-peer>div>.im-profile-link{font-size:15px!important;font-weight:700!important}.im-message header{align-items:center}.im-message header .im-avatar{width:32px;height:32px}.im-message header .im-presence{display:none}.im-message-content{margin:2px 0 4px 41px}.im-message-state{display:inline-block;margin-left:41px;line-height:1.7}.im-message-gif{display:block;max-width:min(320px,calc(100% - 41px));max-height:250px;width:auto;height:auto;object-fit:contain;margin:8px 0 8px 41px;border:1px solid var(--border);background:var(--surface)}.im-gif-draft{display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}.im-gif-draft[hidden]{display:none}.im-gif-draft img{max-width:140px;max-height:80px;object-fit:contain}.im-gif-draft button{margin-top:2px}.im-insert-gif{font:700 11px/1 inherit!important;color:var(--hud-highlight)!important;min-width:30px!important;min-height:28px!important;padding:0!important;background:transparent!important;border:0!important;clip-path:none!important}.im-gif-dialog{width:min(480px,calc(100vw - 28px))!important}.im-gif-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.im-gif-dialog h2{font-size:20px!important}.im-gif-dialog p{font-size:12px;line-height:1.7}.im-gif-picker-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:16px auto}.im-gif-picker-preview[hidden]{display:none}.im-buddies-heading{gap:8px;flex-wrap:wrap}.im-buddies-heading h2{flex:1}.im-open-friends{font-size:10px!important;min-height:26px!important;padding:4px 8px!important}
:root body .eh-friends-dialog{width:min(820px,calc(100vw - 28px))!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto}.im-friends-summary{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--border);padding:16px 0;gap:16px;margin:16px 0}.im-friends-summary>div{display:grid;gap:5px}.im-friends-summary strong{color:var(--hud-highlight);font-size:25px;line-height:1}.im-friends-summary span{font-size:11px}.im-friends-tools{display:grid;grid-template-columns:minmax(0,1fr) 140px 130px;gap:10px;margin-bottom:12px}.im-friends-tools :is(input,select){min-width:0;width:100%;height:38px;font-size:12px!important}.eh-friend-row .im-friend-copy{flex:1;min-width:0}.eh-friend-row .im-friend-actions{display:flex;flex:none;gap:8px}.im-friend-status{margin:7px 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.im-friend-last{color:var(--muted);line-height:1.5}.eh-friend-row .im-avatar{width:44px;height:44px}.im-friend-actions .eh-btn{font-size:11px!important;padding:6px 10px!important;min-height:30px!important}
@media(max-width:650px){.im-friends-tools{grid-template-columns:1fr 1fr}.im-friends-tools input{grid-column:1/-1}.eh-friend-row{align-items:flex-start;gap:10px;flex-wrap:wrap}.eh-friend-row .im-friend-copy{flex-basis:calc(100% - 58px)}.eh-friend-row .im-friend-actions{margin-left:54px}.im-friends-summary{gap:10px}.im-message header{gap:8px}.im-peer>div>.im-profile-link{font-size:14px!important}.im-peer p{max-width:150px}.im-composer-actions{gap:8px}.im-composer-actions small{max-width:145px}.im-message-state{font-size:9px}.im-message-content{margin-left:41px}.im-thread-heading{min-height:64px}}

:root body .im-friend-actions .eh-btn{background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--ink)!important}:root body .im-friend-actions .eh-btn:last-child{background:var(--btn)!important;color:var(--btn-text,#fff)!important}.im-giphy-dialog{width:min(620px,calc(100vw - 24px))!important;max-height:calc(100dvh - 36px)!important;overflow-y:auto}.im-giphy-dialog>input{width:100%;margin:12px 0}.im-gif-categories{display:flex;gap:7px;overflow-x:auto;padding:0 0 8px}.im-gif-categories button{flex:none;background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--ink)!important}.im-gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;min-height:80px}.im-gif-grid button.im-gif-tile{padding:0!important;margin:0!important;height:120px;background:var(--surface)!important;border:1px solid var(--border)!important;clip-path:none!important;overflow:hidden;min-width:0}.im-gif-grid button.im-gif-tile:hover,.im-gif-grid button.im-gif-tile:focus-visible{border-color:var(--hud-highlight)!important;outline:2px solid var(--hud-highlight)!important;outline-offset:0!important}.im-gif-tile img{width:100%;height:100%;object-fit:cover;display:block}.im-giphy-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:11px}.im-giphy-dialog footer a{font-weight:700;color:var(--hud-highlight)}.im-giphy-dialog .im-inline{background:transparent!important;border:0!important;color:var(--muted)!important;font-size:11px!important;clip-path:none!important}.im-giphy-dialog>button{margin-top:12px}.im-gif-unavailable{display:block;margin:8px 0 8px 41px;font-size:11px}@media(max-width:500px){.im-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:45dvh}.im-gif-grid button.im-gif-tile{height:110px}.im-giphy-dialog footer{align-items:flex-start;flex-wrap:wrap}}

:root body .im-gif-dialog .eh-icon-action{display:inline-flex;align-items:center;justify-content:center;width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;color:var(--hud-highlight)!important}.im-gif-dialog .eh-icon-action svg{width:21px;height:21px}:root body .im-gif-category,:root body .im-friend-profile{background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--ink)!important;padding:6px 10px!important;font-size:11px!important;line-height:1.4!important;min-height:30px!important;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px));border-radius:0!important;cursor:pointer;flex:none}.im-gif-category:focus-visible,.im-friend-profile:focus-visible{outline:2px solid var(--hud-highlight)!important;outline-offset:2px}.im-gif-category:hover,.im-friend-profile:hover{color:var(--hud-highlight)!important;border-color:var(--hud-highlight)!important}
