/* One navigation surface, scoped to authenticated staff pages only. */
body[data-hr-workspace]{--hr-wm-width:232px;padding-left:var(--hr-wm-width)!important;margin:0!important;background:#f3f6fb!important;color:#233852;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;min-width:0}
#hr-workspace-menu{position:fixed;inset:0 auto 0 0;width:var(--hr-wm-width);z-index:45;background:#091f3e;color:#d7e3f5;display:flex;flex-direction:column;padding:12px 10px;box-sizing:border-box;font:13px/1.35 Arial,sans-serif;text-align:left}
#hr-workspace-menu *{box-sizing:border-box}#hr-workspace-menu a{text-decoration:none;color:inherit}#hr-workspace-menu .hr-wm-brand{font-size:21px;font-weight:700;padding:8px 10px 16px;color:#fff;letter-spacing:-.4px}
#hr-workspace-menu .hr-wm-caption{display:flex;align-items:center;justify-content:space-between;padding:0 9px 8px;font-size:11px;color:#a8bdd9}#hr-workspace-menu button{font:inherit;border:0;background:transparent;color:inherit;cursor:pointer;padding:5px;border-radius:5px;min-height:28px}
#hr-workspace-menu button:hover{background:#284668;color:#fff}#hr-workspace-menu nav{flex:1;min-height:0;display:flex}#hr-wm-list{list-style:none;padding:0;margin:0;overflow-y:auto;scrollbar-width:thin;flex:1}
#hr-wm-list>li{display:flex;align-items:center;border-radius:7px;margin:2px 0;min-height:36px}#hr-wm-list a{display:flex;align-items:center;gap:10px;padding:8px 10px;min-width:0;flex:1;border-radius:7px;line-height:1.35;font-size:13px;font-weight:400}#hr-wm-list svg{width:19px;height:19px;flex-shrink:0}#hr-wm-list a:hover{background:#17365c;color:#fff}#hr-wm-list a[aria-current=page]{background:#296acd;color:#fff;font-weight:600}
#hr-workspace-menu footer{padding:7px 5px 0;border-top:1px solid #29415f}#hr-workspace-menu footer p{margin:5px 0;font-size:11px;color:#b5c5db}#hr-wm-help,#hr-workspace-menu .hr-wm-reset,#hr-wm-list button{display:none}#hr-workspace-menu.hr-wm-editing #hr-wm-help,#hr-workspace-menu.hr-wm-editing .hr-wm-reset{display:block}#hr-workspace-menu.hr-wm-editing li button{display:block;flex:0 0 23px;width:23px;padding:3px}#hr-workspace-menu.hr-wm-editing li a{padding-left:5px;gap:6px;font-size:12px}#hr-workspace-menu.hr-wm-editing li svg{display:none}#hr-workspace-menu .hr-wm-handle{touch-action:none;cursor:grab}#hr-wm-list .hr-wm-dragging{background:#315680;outline:1px solid #9bbbec}
#hr-workspace-menu :focus-visible,#hr-wm-toggle:focus-visible{outline:3px solid #91b7ff;outline-offset:1px}#hr-wm-status:empty{display:none}
#hr-wm-toggle,#hr-wm-shade{display:none}
body[data-hr-workspace] #hr-sidebar,body[data-hr-workspace] #hr-shade,body[data-hr-workspace] #hr-menu-toggle,body[data-hr-workspace] .app-sidebar,body[data-hr-workspace] [data-slot=sidebar-gap],body[data-hr-workspace] [data-slot=sidebar-container],body[data-hr-workspace] .page-sidebar,body[data-hr-workspace] .st-sidebar,body[data-hr-workspace] .hr-staff-sidebar,body[data-hr-workspace] #system-sidebar{display:none!important}
body[data-hr-workspace] #hr-header{left:var(--hr-wm-width)!important}body[data-hr-workspace] .app-main,body[data-hr-workspace] .page-main,body[data-hr-workspace] .st-main{margin-left:0!important;min-width:0!important;width:100%!important}
body[data-hr-workspace=chat]{padding-top:0!important}body[data-hr-workspace=chat] .bar{background:#fff!important;color:#233852!important;height:56px!important;padding:0 18px!important;border-bottom:1px solid #dfe6ef!important;box-shadow:none!important;gap:12px!important}body[data-hr-workspace=chat] .bar .brand,body[data-hr-workspace=chat] #system-menu,body[data-hr-workspace=chat] .bar>a:last-child{display:none!important}body[data-hr-workspace=chat] .bar a,body[data-hr-workspace=chat] .bar button,body[data-hr-workspace=chat] #connection{color:#536985!important}body[data-hr-workspace=chat] .app-frame{display:block!important;height:calc(100dvh - 56px)!important;background:#f3f6fb!important}body[data-hr-workspace=chat] .chat-page{padding:12px!important;height:100%!important}body[data-hr-workspace=chat] .workspace{height:100%!important;max-width:none!important;border:1px solid #dfe6ef!important;border-radius:8px!important;box-shadow:none!important}body[data-hr-workspace=chat] .messages{background:#f4f7fb!important;background-image:none!important}body[data-hr-workspace=chat] .primary{background:#296acd!important;color:#fff!important}body[data-hr-workspace=chat] .chat-header{background:#fff!important;color:#233852!important}
body[data-hr-workspace=crm]{--desktop:#f3f6fb;--accent:#296acd;padding-top:0!important;background:#f3f6fb!important}body[data-hr-workspace=crm] .shell>.sidebar{display:none!important}body[data-hr-workspace=crm] .shell>main{padding:12px!important;min-width:0}body[data-hr-workspace=crm] .topbar{border:1px solid #dfe6ef!important;border-radius:8px!important;min-height:50px!important;height:auto!important;padding:6px 14px!important;display:flex;flex-wrap:wrap;justify-content:flex-start!important;box-shadow:none!important}body[data-hr-workspace=crm] .toolbar{color:#233852!important;padding:14px 4px!important;gap:10px!important;flex-wrap:wrap}body[data-hr-workspace=crm] .toolbar h1{font-size:21px!important;font-weight:600!important}body[data-hr-workspace=crm] .toolbar select{background:#fff!important;color:#233852!important;border-color:#dfe6ef!important}body[data-hr-workspace=crm] .viewbar,body[data-hr-workspace=crm] .view,body[data-hr-workspace=crm] .migration-help{color:#536985!important}body[data-hr-workspace=crm] .active-view{color:#296acd!important;border-color:#296acd!important}body[data-hr-workspace=crm] .primary,body[data-hr-workspace=crm] .primary-link{background:#296acd!important;color:white!important;border-radius:7px!important}body[data-hr-workspace=crm] .tab.selected{color:#296acd!important;border-color:#296acd!important}body[data-hr-workspace=crm] .ghost{background:#fff!important;color:#536985!important;border-color:#dfe6ef!important;border-radius:7px!important}body[data-hr-workspace=crm] .board{gap:12px!important}body[data-hr-workspace=crm] .contact-intro{color:#233852!important}
@media(max-width:800px){body[data-hr-workspace]{padding-left:0!important;padding-top:48px!important}body[data-hr-workspace][data-hr-shell]{padding-top:96px!important}body[data-hr-workspace] #hr-header{left:0!important;top:48px!important}#hr-workspace-menu{transform:translateX(-100%);width:260px;max-width:85vw;z-index:1002}body.hr-wm-open #hr-workspace-menu{transform:translateX(0)}#hr-wm-toggle{display:block;position:fixed;left:0;top:0;right:0;width:100%;height:48px;z-index:45;background:#091f3e;color:white;border:0;text-align:left;padding:0 16px;font-size:22px}#hr-wm-toggle::after{content:' HomeRent · разделы';font:14px Arial,sans-serif}#hr-wm-shade:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;z-index:1001;background:#07182c66;border:0}body[data-hr-workspace=chat] .app-frame{height:calc(100dvh - 104px)!important}body[data-hr-workspace=chat] .chat-page{padding:4px!important}body[data-hr-workspace=crm] .shell>main{padding:8px!important}body[data-hr-workspace=crm] .topbar{gap:6px!important}}

@media(max-width:800px){#hr-workspace-menu{visibility:hidden}body.hr-wm-open #hr-workspace-menu{visibility:visible}}

/* Outrank late-loaded legacy shell rules at intermediate tablet widths. */
body[data-hr-workspace][data-hr-workspace]{padding-left:var(--hr-wm-width)!important}
@media(max-width:800px){body[data-hr-workspace][data-hr-workspace]{padding-left:0!important}}

body[data-hr-workspace=crm] .stage-total,body[data-hr-workspace=crm] .empty{color:#536985!important}body[data-hr-workspace=crm] .empty{background:#eaf0f7!important}body[data-hr-workspace=crm] .board{scrollbar-color:#9bacc2 #e6edf5}


/* Direct drag works without entering edit mode; stable capture survives row movement. */
#hr-wm-list .hr-wm-handle{display:block;flex:0 0 27px;width:27px;min-height:34px;padding:3px;opacity:.8;touch-action:none}
#hr-wm-list a{user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:pan-y;cursor:grab}
#hr-workspace-menu.hr-wm-reordering,#hr-workspace-menu.hr-wm-reordering *{cursor:grabbing!important;user-select:none!important}
#hr-wm-list .hr-wm-dragging{background:#315680;outline:2px solid #9bbbec;box-shadow:0 4px 16px #0004}
@media(max-width:800px){#hr-wm-list .hr-wm-handle{flex-basis:36px;width:36px;min-height:42px}}


/* The shared sidebar owns the only desktop offset. Legacy staff pages must not
   add their old sidebar margin inside the already inset body. Keep wide tables
   scrollable within their own surface, without clipping page-level popovers. */
body[data-hr-workspace][data-hr-workspace] :is(.app-main,.page-main,.st-main,.hr-staff-main){
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}
body[data-hr-workspace] :is(#root,[data-slot=sidebar-wrapper]){
  min-width:0;
  max-width:100%;
}


#hr-calendar-more{display:none}
@media(max-width:800px){
 body.hr-mobile-calendar[data-hr-workspace],body.hr-mobile-calendar[data-hr-shell]{padding-top:0!important}
 body.hr-mobile-calendar #hr-wm-toggle{width:38px;height:40px;right:auto;background:#fff;color:#33415a;padding:0 10px;z-index:45}
 body.hr-mobile-calendar #hr-wm-toggle:after{content:none}
 body.hr-mobile-calendar #hr-calendar-more{display:block;position:fixed;top:0;right:0;width:38px;height:40px;z-index:45;border:0;background:#fff;color:#33415a;font-size:26px;line-height:1;border-radius:0}
 body.hr-mobile-calendar #hr-header,body.hr-mobile-calendar .topbar,body.hr-mobile-calendar .calendar-toolbar-actions,body.hr-mobile-calendar .hr-duty-banner{display:none!important}
 body.hr-mobile-calendar .app-main{padding:0!important;min-width:0!important}
 body.hr-mobile-calendar .dashboard-content{padding:0!important;gap:0!important}
 body.hr-mobile-calendar .calendar-panel{margin:0!important;border:0!important;border-radius:0!important;max-width:100%!important}
 body.hr-mobile-calendar .calendar-toolbar{display:block!important;min-height:0!important;width:100%!important;padding:0!important;gap:0!important;background:#fff}
 body.hr-mobile-calendar .calendar-date-navigation{display:flex!important;flex-direction:column;gap:0!important;width:100%;min-width:0}
 body.hr-mobile-calendar .calendar-date-segments{display:flex!important;flex-wrap:nowrap!important;justify-content:center;height:40px!important;min-height:40px;padding:3px 38px!important;gap:0!important;width:100%!important;border:0!important;border-radius:0;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none}
 body.hr-mobile-calendar .calendar-date-segments>button{padding:4px 5px!important;font-size:11px!important;min-width:0!important;height:32px!important;white-space:nowrap;flex:0 0 auto!important}
 body.hr-mobile-calendar .calendar-date-segments .calendar-month-trigger{width:30px;flex:0 0 30px;padding:5px!important}
 body.hr-mobile-calendar .calendar-period-caption{display:flex!important;justify-content:center!important;align-items:center;gap:8px;height:34px!important;min-height:34px;margin:0!important;padding:2px 6px!important;font-size:12px!important;border-top:1px solid #edf0f4}
 body.hr-mobile-calendar .calendar-period-caption button{height:30px!important;width:34px!important;padding:4px!important}
 body.hr-mobile-calendar.hr-calendar-tools-open{padding-top:40px!important}
 body.hr-mobile-calendar.hr-calendar-tools-open #hr-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;display:flex!important;width:100%!important;height:auto!important;min-height:44px;flex-wrap:wrap;background:#fff;padding:8px!important;border-bottom:1px solid #e7edf5}
 body.hr-mobile-calendar.hr-calendar-tools-open #hr-header .hr-section-back{display:none!important}
 body.hr-mobile-calendar.hr-calendar-tools-open #hr-header h1{min-width:0;flex:1}
 body.hr-mobile-calendar.hr-calendar-tools-open .topbar{display:flex!important;position:relative!important;min-height:0!important;height:auto!important;padding:8px!important;background:#fff;border-bottom:1px solid #e7edf5}
 body.hr-mobile-calendar.hr-calendar-tools-open .calendar-toolbar-actions{display:flex!important;flex-wrap:wrap;gap:6px;padding:10px!important;border-top:1px solid #e7edf5;box-shadow:0 6px 10px #19395312}
 body.hr-mobile-calendar.hr-calendar-tools-open .hr-duty-banner{display:block!important}
}

@media(max-width:800px){body.hr-mobile-calendar.hr-calendar-tools-open #hr-header h1{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;flex:1!important;min-width:0!important}body.hr-mobile-calendar.hr-calendar-tools-open .hr-cal-switch{width:100%!important;flex:none!important;min-width:0!important}body.hr-mobile-calendar.hr-calendar-tools-open .hr-cal-title{width:100%!important;min-width:140px!important;justify-content:space-between!important}body.hr-mobile-calendar.hr-calendar-tools-open .hr-cal-name{max-width:100%!important;min-width:0!important}body.hr-mobile-calendar .calendar-period-caption>span{white-space:nowrap!important;font-size:11px!important}}

/* Requested mobile navigation and calendar density. Native actions and sticky dates stay intact. */
#hr-mobile-tabs{display:none}
html body .hr-payroll-reminder{background:#fff7e6!important;color:#735b2d!important;border:1px solid #efdfb8!important;box-shadow:none!important}
html body .hr-payroll-reminder :is(strong,span){color:inherit!important}
@media(max-width:800px){
 body[data-hr-workspace]{--hr-mobile-bottom:calc(54px + env(safe-area-inset-bottom));padding-bottom:var(--hr-mobile-bottom)!important}
 #hr-mobile-tabs{position:fixed;inset:auto 0 0;z-index:90;display:flex;align-items:stretch;gap:2px;height:var(--hr-mobile-bottom);padding:3px 5px env(safe-area-inset-bottom);box-sizing:border-box;border-top:1px solid #dce5f0;background:#fff;box-shadow:0 -3px 14px #2338520a}
 #hr-mobile-tabs :is(a,button){flex:1;min-width:0;border:0;border-radius:8px;background:transparent;color:#61738c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;font:10px/1.2 Arial,sans-serif;padding:3px}
 #hr-mobile-tabs svg{width:21px;height:21px}#hr-mobile-tabs [aria-current=page]{color:#216bd3;background:#edf4ff}#hr-mobile-tabs :focus-visible{outline:2px solid #216bd3;outline-offset:-2px}
 html body[data-hr-workspace=chat] .app-frame{height:calc(100dvh - 44px - var(--hr-mobile-bottom))!important}
 html body.hr-mobile-calendar .calendar-scroll{--hr-personal-property:166px!important;--hr-property-width:166px!important;--hr-calendar-property-width:166px!important}
 html body.hr-mobile-calendar .calendar-grid{grid-template-columns:166px minmax(0,1fr)!important}
 html body.hr-mobile-calendar .calendar-scroll .property-cell{grid-template-columns:minmax(0,1fr) 24px 22px 20px!important;column-gap:1px!important;padding:3px 3px!important}
 html body.hr-mobile-calendar .property-name-button{padding:0 2px!important;font-size:11px!important;text-align:left;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html body.hr-mobile-calendar .calendar-scroll .property-cell>button:not(.property-name-button){width:22px!important;min-width:0!important;padding:2px!important}
 html body.hr-mobile-calendar .calendar-scroll .property-head{padding-left:5px!important;padding-right:3px!important;font-size:10px!important}
 html body.hr-mobile-calendar .calendar-period-caption{position:relative;padding-right:55px!important;padding-left:3px!important;gap:2px!important}
 html body.hr-mobile-calendar .calendar-period-caption>span{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px!important}
 html body.hr-mobile-calendar .calendar-period-caption>button:not(#hr-mobile-basket){width:24px!important;flex:0 0 24px;padding:2px!important}
 html body.hr-mobile-calendar #hr-mobile-basket{position:absolute;right:4px;top:2px;display:flex;align-items:center;justify-content:center;gap:3px;width:48px!important;height:30px!important;border:1px solid #c6d9f8;border-radius:6px;background:#edf4ff;color:#216bd3;font-size:12px!important;padding:2px!important}
 #hr-mobile-basket svg{width:18px;height:18px;flex:0 0 18px}
 html body.hr-mobile-calendar .calendar-viewport{max-height:calc(100dvh - 180px - var(--hr-mobile-bottom,0px))!important}
}

/* Keep the Messenger composer above the restored bottom navigation. */
@media(max-width:800px){
 html body[data-hr-workspace] .hr-messenger-center.hm-inbox{height:calc(var(--hm-workspace-height,calc(100dvh - 48px)) - var(--hr-mobile-bottom))!important;max-height:calc(var(--hm-workspace-height,calc(100dvh - 48px)) - var(--hr-mobile-bottom))!important;min-height:0!important}
}

/* Apartment column creates a boundary above all booking/request bars. */
html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .booking-lane{z-index:0!important;isolation:isolate}
#hr-calendar-range{display:none}
@media(max-width:800px){
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar]{padding-top:0!important;padding-bottom:var(--hr-mobile-bottom,0px)!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] [data-slot=sidebar-wrapper],html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .app-main{height:calc(100dvh - var(--hr-mobile-bottom,0px))!important;max-height:calc(100dvh - var(--hr-mobile-bottom,0px))!important;min-height:0!important;margin:0!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .dashboard-content{height:calc(100dvh - var(--hr-mobile-bottom,0px))!important;max-height:calc(100dvh - var(--hr-mobile-bottom,0px))!important;min-height:0!important;padding:0!important;gap:0!important;box-sizing:border-box}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-panel{height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;gap:0!important;border-radius:0!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-viewport{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;padding-bottom:0!important;position:relative;isolation:isolate}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-scroll{--hr-personal-property:126px!important;--hr-property-width:126px!important;--hr-calendar-property-width:126px!important;min-width:calc(126px + var(--hr-calendar-days,14)*46px)!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-grid{grid-template-columns:126px minmax(0,1fr)!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-scroll .property-cell{grid-template-columns:minmax(0,1fr) 24px!important;column-gap:0!important;padding:3px 2px!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-scroll .property-cell>button:nth-child(n+3){display:none!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-period-caption{min-height:38px!important;padding:0 49px 0 0!important;margin:0!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-period-caption>span,html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-period-caption>button:not(#hr-mobile-basket){display:none!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] #hr-calendar-range{display:flex;align-items:center;gap:4px;flex:1;min-width:0;margin:0;flex-wrap:wrap}
 #hr-calendar-range label{display:flex;align-items:center;gap:3px;flex:1;min-width:0;font:11px Arial,sans-serif;color:#415777}
 html body.hr-mobile-calendar #hr-calendar-range input{width:100%;min-width:0;max-width:125px;height:31px;padding:2px;border:1px solid #cbd8e7;border-radius:5px;background:#fff;color:#233852;font:11px Arial,sans-serif!important;box-sizing:border-box}
 #hr-calendar-range .hr-range-reset{flex:0 0 20px;width:20px;height:30px;border:0;background:transparent;color:#61738c;font-size:20px;padding:0}
 #hr-calendar-range output:empty{display:none}#hr-calendar-range output{width:100%;font:11px Arial,sans-serif;color:#b42318}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] #hr-mobile-basket{right:0;top:3px;width:46px!important}
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .hr-payroll-reminder{min-height:38px!important;padding-left:40px!important;padding-right:40px!important;box-sizing:border-box}
 html[data-hr-calendar-hosted] body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] #hr-calendar-more{display:none!important}
 html[data-hr-calendar-hosted] body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .hr-payroll-reminder{min-height:26px!important;padding-left:6px!important;padding-right:6px!important}
}

/* Outrank the late phone child stylesheet without changing desktop widths. */
@media(max-width:800px){html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-scroll .calendar-grid{grid-template-columns:126px minmax(0,1fr)!important}}

/* Native booking dialogs live inside the compacted topbar. A hidden ancestor
   suppresses even an open modal, leaving the calendar inert. Keep its layout
   boxes absent while allowing the native modal to render in the top layer. */
html[data-hr-phone] body .topbar:has(dialog[open]),
html[data-hr-phone] body .topbar:has(dialog[open]) > .top-actions {display:contents!important}
html[data-hr-phone] body .topbar:has(dialog[open]) > :not(.top-actions),
html[data-hr-phone] body .topbar:has(dialog[open]) > .top-actions > :not(dialog[open]) {display:none!important}
@media(max-width:800px){
 html body.hr-mobile-calendar .topbar:has(dialog[open]),
 html body.hr-mobile-calendar .topbar:has(dialog[open]) > .top-actions {display:contents!important}
 html body.hr-mobile-calendar .topbar:has(dialog[open]) > :not(.top-actions),
 html body.hr-mobile-calendar .topbar:has(dialog[open]) > .top-actions > :not(dialog[open]) {display:none!important}
 /* Both arrows stay within the phone viewport even after native horizontal
    scrolling reaches the end of the loaded dates. Swiping loads the next range. */
 html body.hr-mobile-calendar[data-hr-shell][data-hr-calendar] .calendar-pan-strip {
  position:sticky!important;left:126px!important;width:calc(100vw - 126px)!important;
  max-width:100%!important;min-height:44px!important;box-sizing:border-box;
  touch-action:pan-y!important;user-select:none;-webkit-user-select:none;gap:4px!important;padding:2px 4px!important;
 }
 html body.hr-mobile-calendar .calendar-pan-month {min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px!important}
 html body.hr-mobile-calendar .calendar-pan-hint {display:none!important}
 html body.hr-mobile-calendar .calendar-pan-buttons {display:flex!important;flex-shrink:0;gap:2px!important;margin-left:auto}
 html body.hr-mobile-calendar .calendar-pan-buttons button {min-width:40px!important;min-height:40px!important;touch-action:manipulation}
}

/* Two lines per mobile conversation; keep account and unanswered count visible. */
.hm-chat-mobile-source,.hm-chat-mobile-date{display:none}
@media(max-width:760px){
 .hr-messenger-center.hm-inbox .hm-chat-summary{display:block!important;min-width:0!important}
 .hr-messenger-center.hm-inbox .hm-chat-summary>span:first-child{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:5px!important;height:20px;line-height:20px}
 .hr-messenger-center.hm-inbox .hm-chat-summary>span:first-child>strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px!important;line-height:20px}
 .hr-messenger-center.hm-inbox .hm-chat-summary .hm-chat-mobile-source{display:block!important;flex:0 1 auto;max-width:92px;font-size:10px!important;color:#52647a!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:20px}
 .hr-messenger-center.hm-inbox .hm-chat-summary>small,.hr-messenger-center.hm-inbox .hm-chat-summary>.hm-chat-tags,.hr-messenger-center.hm-inbox .hm-chat-summary .hm-chat-desktop-date{display:none!important}
 .hr-messenger-center.hm-inbox .hm-chat-summary>p.hm-chat-preview{display:flex!important;align-items:baseline;gap:6px;margin:1px 0 0!important;line-height:18px!important;min-width:0;overflow:hidden}
 .hr-messenger-center.hm-inbox .hm-chat-preview-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important;color:#53657a}
 .hr-messenger-center.hm-inbox .hm-chat-mobile-date{display:block!important;flex:none;font-size:10px!important;line-height:18px;white-space:nowrap;color:#52647a;font-variant-numeric:tabular-nums}
 .hr-messenger-center.hm-inbox .hm-conversation-row .hm-open-chat{padding:8px 4px!important}
}

#hr-workspace-menu .hr-wm-brand{text-transform:none!important;font-variant:normal!important}
.hr-calendar-rates-link svg{width:16px;height:16px}

/* The same product heading on every internal page, independent of legacy shells. */
body[data-hr-workspace] #hr-workspace-menu .hr-wm-brand{
 display:block!important;flex:none!important;box-sizing:border-box!important;
 font:700 21px/28px Arial,Helvetica,sans-serif!important;letter-spacing:-.4px!important;
 color:#fff!important;background:transparent!important;text-transform:none!important;
 font-variant:normal!important;text-decoration:none!important;text-align:left!important;
 margin:0!important;padding:8px 10px 16px!important;border:0!important;white-space:nowrap!important;
}

/* Keep module-wide aside/nav rules out of the shared staff navigation. */
body[data-hr-workspace] #hr-workspace-menu{
 height:100dvh!important;min-height:0!important;max-height:none!important;
 margin:0!important;border:0!important;
}
body[data-hr-workspace] #hr-workspace-menu>nav{
 position:static!important;display:flex!important;flex:1 1 0%!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;gap:0!important;border:0!important;overflow:hidden!important;
}
body[data-hr-workspace] #hr-wm-list{
 min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;
}
body[data-hr-workspace] #hr-workspace-menu>footer{flex:none!important;margin:0!important}
