.monitor-screen-status{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border-radius:8px;font-weight:800;background:#b42318;color:#fff;white-space:nowrap}
.monitor-screen-status.connected{background:#15803d}.monitor-screen-status.disconnected{background:#b42318}
#monitorBackgroundBtn{background:#15803d!important;color:#fff!important}#monitorBackgroundBtn:disabled{opacity:1!important;background:#15803d!important}

#loginScreen input,#recoveryScreen input{pointer-events:auto!important;touch-action:manipulation!important;-webkit-user-select:text!important;user-select:text!important;font-size:16px!important}
#loginScreen input[type="email"],#loginScreen input[type="password"],#recoveryScreen input[type="password"]{-webkit-appearance:none;appearance:none;position:relative;z-index:1}
#rememberMe{display:inline-block!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;vertical-align:middle!important;-webkit-appearance:checkbox!important;appearance:auto!important}
.rotary-remember-row{display:flex!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;font-weight:600!important}
#rotaryCanonicalLoginVersionV32{text-align:center;font-size:11px;color:#8792a5;font-weight:700;margin-top:2px}

.gps-v10-permanent-tooltip{background:rgba(255,255,255,.97)!important;border:1px solid #cbd5e1!important;border-radius:9px!important;box-shadow:0 4px 14px rgba(15,23,42,.18)!important;padding:6px 8px!important;color:#172033!important;white-space:nowrap!important}
.gps-v10-permanent-tooltip:before{display:none!important}.gps-v10-label b{display:block;font-size:11px;line-height:1.2}.gps-v10-label span{display:block;font-size:9px;color:#64748b;margin-top:2px}.gps-v10-label strong{display:block;font-size:10px;line-height:1.25;margin-top:3px;color:#172033;font-weight:700}
@media(max-width:700px){.gps-v10-permanent-tooltip{padding:4px 6px!important}.gps-v10-label b{font-size:10px}.gps-v10-label strong{font-size:9px}}

html,body{width:100%;max-width:100%;margin-left:0;margin-right:0}body{overflow-x:hidden}#loginScreen,#app{max-width:100vw}
html,body{min-width:100%!important;min-height:100%!important}
body.auth-pending{min-height:100vh!important;min-height:100dvh!important}
#loginScreen.auth-screen,#recoveryScreen.auth-screen{
position:fixed!important;
inset:0!important;
width:100vw!important;
max-width:none!important;
height:100vh!important;
min-height:100vh!important;
height:100dvh!important;
min-height:100dvh!important;
margin:0!important;
padding:20px!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
overflow:auto!important;
background:#f4f6f9!important;
z-index:2147483000!important;
}
#loginScreen.auth-screen.hide,#recoveryScreen.auth-screen.hide{display:none!important}
#loginScreen .auth-box,#recoveryScreen .auth-box{
flex:0 0 auto!important;
width:min(420px,calc(100vw - 40px))!important;
max-width:420px!important;
margin:auto!important;
}
body>button.no-print{display:none!important}

@media(max-width:640px){
#dailyTilesBoard .v1961-project-actions,
#dailyTilesBoard .v1963-inline-actions,
#dailyTilesBoard .v1963-team-menu,
#dailyTilesBoard .v1965-project-actions,
#dailyTilesBoard .dynamic-plan-btn,
#dailyTilesBoard .copy-crew-btn,
#dailyTilesBoard .v152-new-team,
#dailyTilesBoard .v152-add-team-card,
#dailyTilesBoard .v152-delete-team-card,
#dailyTilesBoard .v19244-open-centre{display:none!important}
#dailyTilesBoard .v1967-project-actions{display:grid!important;grid-template-columns:1fr 1fr 44px;gap:5px;margin:6px 0;padding:5px;border:1px solid #dbe4ef;border-radius:9px;background:#f8fafc}
#dailyTilesBoard .v1967-project-actions button{min-height:40px!important;padding:6px 5px!important;font-size:10px!important;line-height:1.1!important}
#dailyTilesBoard .v1967-project-actions .v1967-tech{background:#dbeafe!important;border:1px solid #93c5fd!important;color:#1d4ed8!important}
#dailyTilesBoard .v1967-project-actions .v1967-van{background:#ffedd5!important;border:1px solid #fdba74!important;color:#c2410c!important}
#dailyTilesBoard .v1967-project-actions .v1967-more{min-width:44px!important;font-size:19px!important;padding:0!important}
#dailyTilesBoard .daily-add-resource-drop{cursor:pointer!important}
#dailyTilesBoard .daily-add-resource-drop b{font-size:11px!important}
}

/* Local isolation: when Planning is the visible section, Notifications must stay hidden. */
main:has(#planning:not(.hide)) #notifications{display:none!important}
