/* V1452-62: invite controls and compact roster cards only. Original app theme and background retained. */
html.er-earth body #inviteResult .er54-invite-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html.er-earth body #inviteResult .er54-invite-actions button{min-width:0!important;width:100%!important;min-height:40px!important;white-space:normal!important;line-height:1.2!important;border-radius:9px!important;font-size:12px!important}
html.er-earth body #inviteResult .er54-invite-actions [data-er55-sendemail]{grid-column:auto!important;background:#285b40!important;color:#fff!important}
html.er-earth body #inviteResult .er54-invite-actions [data-er55-sendsms]{background:#e6efe4!important;color:#25543a!important;border:1px solid #cfdfd2!important}
html.er-earth body #inviteResult .er54-invite-result{border-radius:11px!important}
html.er-earth body .er55-invite-note{font:500 11px/1.5 system-ui!important;color:#577361!important;margin:7px 3px 0!important}
/* Fix crushed titles/status labels on the dashboard without altering actual shift data. */
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;grid-template-columns:clamp(54px,14vw,72px) minmax(0,1fr)!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-main{min-width:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:3px!important;grid-template-columns:none!important;grid-template-rows:none!important;padding:9px 11px!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-head{position:relative!important;display:flex!important;align-items:center!important;gap:6px!important;min-height:0!important;height:auto!important;max-width:100%!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-title{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;word-break:normal!important;font-size:13px!important;line-height:1.25!important;max-width:none!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-side{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:5px!important;max-width:48%!important;min-width:0!important;position:static!important;line-height:1!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-status{position:static!important;display:inline-flex!important;width:auto!important;height:auto!important;max-width:100%!important;min-height:19px!important;padding:2px 6px!important;white-space:nowrap!important;flex:0 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:9px!important;line-height:1.2!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-row{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;width:100%!important;height:auto!important;min-height:16px!important;white-space:nowrap!important;overflow:hidden!important;line-height:1.2!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-row span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-team{min-height:16px!important;height:auto!important;max-width:100%!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-team-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(min-width:1024px){
 html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card{grid-template-columns:56px minmax(0,1fr)!important;min-height:72px!important}
 html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-main{padding:6px 10px!important;gap:2px!important}
 /* Preserve the full Mon–Fri week grid: only shrink cards, never make day columns wider. */
 html.er-earth body.ww-app-visible.ww-roster-active #app #page .er14509-grid-wrap .er14509-card{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html.er-earth body.ww-app-visible.ww-roster-active #app #page .er14509-grid-wrap .er14509-card .er14509-client{font-size:12px!important;line-height:1.2!important;font-weight:750!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(max-width:420px){html.er-earth body.ww-app-visible #app #page .hm .home-roster-list .er952-home-roster-card .er952-status{max-width:80px!important;font-size:8.5px!important}}

@layer er-earth {
/* V1452-63: FOUR+ employees only. One outer frame, equal-height rows, and
   four independent alignment columns: initials | name | hours | status.
   These deliberately outrank V1452-54's older two-column/multi-line rules. */
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er50-assignees.er51-team-grid.er62-large-team{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:3px!important;align-items:stretch!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;padding:4px!important;margin:5px 0 0!important;
 border:1px solid #cfddd2!important;border-radius:9px!important;
 background:#f9fbf8!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-assignee,
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er51-team-grid.er62-large-team .er50-assignee{
 display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;
 align-items:center!important;column-gap:7px!important;
 height:27px!important;min-height:27px!important;max-height:27px!important;
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 margin:0!important;padding:2px 7px 2px 6px!important;
 border:1px solid #d7e8db!important;border-left:3px solid #4c9670!important;
 border-radius:5px!important;background:#ecf6ee!important;
 font:600 11px/1.25 system-ui,sans-serif!important;overflow:hidden!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-assignee.er62-declined{background:#fff0ed!important;border-color:#f1d4cf!important;border-left-color:#c56559!important}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-assignee.er62-awaiting{background:#fff9eb!important;border-color:#eee0c5!important;border-left-color:#b58e48!important}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er51-team-grid.er62-large-team .er50-person-avatar{
 display:grid!important;place-items:center!important;
 width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;
 margin:0!important;border-radius:50%!important;
 flex:0 0 19px!important;font:700 8px/1 system-ui,sans-serif!important;
 background:#558467!important;color:#fff!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er54-person-details{
 display:grid!important;grid-template-columns:minmax(0,1fr) 27px 18px!important;
 align-items:center!important;gap:5px!important;
 min-width:0!important;width:100%!important;height:100%!important;
 margin:0!important;padding:0!important;
 line-height:1.2!important;overflow:hidden!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er54-person-details .er50-person-name{
 display:block!important;grid-column:1!important;
 min-width:0!important;width:100%!important;max-width:100%!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
 font:650 11px/1.25 system-ui,sans-serif!important;
 margin:0!important;padding:0!important;color:#315445!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er54-person-hours{
 display:block!important;grid-column:2!important;
 width:27px!important;min-width:27px!important;
 padding:0!important;margin:0!important;text-align:right!important;
 font:500 10px/1.2 system-ui,sans-serif!important;
 color:#687e6f!important;white-space:nowrap!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-person-response{
 display:grid!important;grid-column:3!important;place-items:center!important;
 width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
 flex:0 0 17px!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:50%!important;
 background:#367f59!important;color:#fff!important;
 font:800 11px/1 system-ui,sans-serif!important;
}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-person-response.declined{background:#b34f4b!important;color:#fff!important}
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-person-response.er63-pending{background:#f2e0bc!important;color:#967032!important;font-size:16px!important;font-weight:700!important}
/* Prevent the older pseudo-element from duplicating the pending indicator. */
html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er62-awaiting .er54-person-details::after{content:none!important;display:none!important}
@media(max-width:350px){
 html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er50-assignee{padding-left:4px!important;padding-right:5px!important;column-gap:5px!important}
 html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er54-person-details{gap:3px!important}
 html.er-earth body.ww-app-visible #app #page article.rc-card.er50-card .er62-large-team .er54-person-details .er50-person-name{font-size:10.5px!important}
}
}
/* V1452-54 dashboard uses the shared .rc-card renderer on some routes.
   Keep the job name in a single readable line instead of letting pills make
   it wrap into a character-wide column. Do not alter the card click action. */
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-b{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:8px 10px!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-1{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:3px 7px!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:20px!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-1 h3{display:block!important;flex:1 1 48%!important;min-width:min(100%,140px)!important;max-width:100%!important;width:auto!important;font-size:13px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important;text-decoration-thickness:1px!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-1 .er43-card-state{position:static!important;flex:0 0 auto!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:10px!important;padding:2px 5px!important;line-height:1.3!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-2,
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-3{display:flex!important;align-items:center!important;gap:5px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
html.er-earth body.ww-app-visible #app #page .hm .home-roster-list > article.rc-card .rc-3 .rc-addr{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;word-break:normal!important}
