/* One responsive header, inside the scrolling document frame. */
.axis-persistent-shell body{overflow:hidden!important}
.axis-persistent-shell #axis-content-host{position:fixed;top:var(--axis-content-top,280px);inset-inline:28px;bottom:28px;z-index:1;min-width:0;background:#fff;border-radius:12px;overflow:hidden}
/* The shell frame fills its host. The shared media height cap applies to embeds. */
.axis-persistent-shell #axis-content{display:block;width:100%;height:100%;max-height:none;border:0;visibility:hidden;background:#fff}
.axis-persistent-shell #axis-loading{position:absolute;z-index:3;top:0;inset-inline:0;margin:0;padding:10px 18px;background:#f2efff;color:#4732df;font-size:13px;pointer-events:none}
.axis-persistent-shell #axis-loading[hidden],.axis-persistent-shell #axis-load-error[hidden]{display:none!important}
.axis-persistent-shell #axis-load-error{position:absolute;z-index:4;top:0;inset-inline:0;padding:16px;background:#fff4dc;color:#624600}
@media(max-width:800px){.axis-persistent-shell #axis-content-host{inset-inline:12px;bottom:12px}}
.ycc-shared-shell body{padding:36px 28px 32px!important;box-sizing:border-box;margin:0}
.ycc-shared-shell .navbar,.ycc-shared-shell .web-footer{display:none!important}
.ycc-shared-shell .page-content-wrapper>main.container{max-width:1600px;width:100%;padding-inline:0}
.ycc-shared-shell .ycc{width:100%;max-width:1600px;margin:0 auto;min-height:calc(100vh - 68px)}
#ycc-shell-header{box-sizing:border-box;position:relative;inset:auto;z-index:50;display:block;width:100%;max-width:1600px;height:auto;min-height:0;margin:0 auto 20px;padding:16px 28px 8px;overflow:visible;background:#fff;color:#24202d;border:1px solid #e9e7ed;border-radius:14px;box-shadow:none;font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#ycc-shell-header *{box-sizing:border-box}
#ycc-shell-header .ycc-header-top,#ycc-shell-header .ycc-shared-top{display:flex;flex-wrap:wrap;align-items:center;gap:20px;min-height:72px;padding:8px 0 16px}
#ycc-shell-header .ycc-brand-row,#ycc-shell-header .ycc-shared-brand{display:flex;align-items:center;flex:0 0 152px;width:152px;min-width:0;min-height:48px;margin:0;padding:0;border:0}
#ycc-shell-header .ycc-brand-logo,#ycc-shell-header .ycc-shared-brand img{display:block;width:148px;height:44px;max-width:100%;object-fit:contain;object-position:left center;margin:0}
#ycc-shell-header .ycc-topbar{display:flex;flex:1 1 500px;align-items:center;gap:14px;min-width:0;height:auto;min-height:44px;margin:0;padding:0;background:none;border:0;position:static}
#ycc-shell-header .global-search-wrap{flex:1 1 220px;width:auto;max-width:none;min-width:0;height:42px}
#ycc-shell-header .ycc-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
#ycc-shell-header .ycc-nav-row{display:block;min-height:0;margin:0;padding:0;border:0}
#ycc-shell-header[data-navigation-ready="true"] [data-native-navigation],.ycc-shared-navigation[hidden]{display:none!important}
#ycc-shell-header .ycc-shared-navigation{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:3px 7px;width:100%;min-width:0;padding:9px 0 3px;border-top:1px solid #ece9f2}
.ycc-shared-group{flex:0 1 auto;min-width:0;margin:0}
.ycc-shared-group summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;min-height:40px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:650;white-space:nowrap}
.ycc-shared-group summary::-webkit-details-marker,.ycc-shared-account summary::-webkit-details-marker{display:none}
.ycc-shared-group[open]>summary,.ycc-shared-group summary:hover{color:#4732df;background:#f2efff}
.ycc-shared-links{position:fixed;z-index:1100;width:min(280px,calc(100vw - 40px));max-height:min(65vh,540px);overflow:auto;padding:7px;background:#fff;border:1px solid #e5e0ef;border-radius:10px;box-shadow:0 12px 32px #231b3c22}
.ycc-shared-links button{display:block;width:100%;min-height:40px;margin:0;padding:9px 11px;border:0;border-radius:7px;background:#fff;color:#24202d;text-align:left;white-space:normal;font:inherit;font-size:13px;cursor:pointer}
.ycc-shared-links button:hover{background:#f2efff;color:#4732df}
.ycc-shared-search{display:flex;align-items:center;flex:1 1 400px;gap:8px;min-width:0;margin:0}
.ycc-shared-search input{box-sizing:border-box;flex:1;min-width:0;width:100%;height:42px;margin:0;padding:10px 12px;border:1px solid #e5e0ef;border-radius:9px;background:#f8f8fa;color:#24202d;font:inherit;font-size:13px}
.ycc-shared-search button,.ycc-shared-actions>button{height:42px;padding:8px 12px;border:1px solid #e5e0ef;border-radius:9px;background:#fff;color:#4732df;font:inherit;cursor:pointer}
.ycc-shared-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}
.ycc-shared-account{position:relative}
.ycc-shared-account summary{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:50%;list-style:none;background:#5b42ff;color:#fff;font-weight:700;cursor:pointer}
.ycc-shared-account summary img{width:100%;height:100%;object-fit:cover}
.ycc-shared-account [hidden],.ycc-shell-status[hidden]{display:none!important}
.ycc-shared-account>div{position:absolute;right:0;top:48px;z-index:1100;width:180px;padding:7px;background:#fff;border:1px solid #e5e0ef;border-radius:10px;box-shadow:0 12px 32px #231b3c22}
.ycc-shared-account a,.ycc-shared-account button{display:block;width:100%;padding:10px;border:0;background:#fff;color:#24202d;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.ycc-shell-status{margin:8px 0;color:#a62a46}
.ycc-shell-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ycc-local-brand,.ycc-empty-brand-header{display:none!important}
.ycc-shared-shell :is(.ppl-brand,.hire-brand,.relationship-brand,.ac-brand)>img{display:none!important}
.ycc-shared-shell .engagement-workspace{max-width:1600px;border:0!important;margin-top:0}
.ycc-shared-shell .relationship-ycc{max-width:1600px;width:100%;margin:auto;min-height:0}
.ycc-shared-shell .relationship-sidebar{position:static!important;inset:auto!important;height:auto;min-height:0;width:auto;grid-column:1}
.ycc-shared-shell .relationship-topbar{position:static;height:auto;min-height:0;padding-block:12px}
@media(max-width:760px){.ycc-shared-shell .relationship-ycc{display:block}.ycc-shared-shell .relationship-sidebar{margin-bottom:18px;border:1px solid #e9e7ed;border-radius:10px;padding:12px}.ycc-shared-shell .relationship-nav{display:flex;flex-direction:row;flex-wrap:wrap}.ycc-shared-shell .relationship-brand,.ycc-shared-shell .relationship-sidebar-foot{display:none}.ycc-shared-shell .relationship-main{padding-inline:0}.ycc-shared-shell .relationship-topbar{padding-inline:16px}}
#ycc-shell-header :is(button,a,summary,input,select):focus-visible{outline:3px solid #c6bdff;outline-offset:3px}
@media(max-width:760px){.ycc-shared-shell body{padding:28px 16px 24px!important}#ycc-shell-header{padding:12px 18px 7px}#ycc-shell-header .ycc-header-top,#ycc-shell-header .ycc-shared-top{gap:12px;min-height:0;padding:4px 0 12px}#ycc-shell-header .ycc-topbar{flex-basis:100%;flex-wrap:wrap;gap:10px}#ycc-shell-header .global-search-wrap{flex-basis:100%;width:100%}#ycc-shell-header .ycc-actions{margin-left:auto}.ycc-shared-search{flex-basis:100%;order:3}.ycc-shared-actions{margin-left:auto}.ycc-shared-navigation{gap:2px}.ycc-shared-group summary{white-space:normal;font-size:12px}.ycc-shared-shell .engagement-workspace{margin:0;padding:20px 16px}}
@media(max-width:420px){.ycc-shared-shell body{padding:24px 14px 20px!important}#ycc-shell-header{padding:10px 12px 6px}#ycc-shell-header .ycc-brand-row,#ycc-shell-header .ycc-shared-brand{flex-basis:128px;width:128px}#ycc-shell-header .ycc-brand-logo,#ycc-shell-header .ycc-shared-brand img{width:128px;height:38px}.ycc-shared-group{flex-basis:calc(50% - 4px)}.ycc-shared-search button{padding-inline:9px}}
@media print{#ycc-shell-header{display:none!important}.ycc-shared-shell body{padding:0!important}}
/* All authenticated workspaces use one width and one header/navigation stack. */
.ycc-shared-shell .ycc,.ycc-shared-shell #ycc-shell-header,.ycc-shared-shell .page-content-wrapper>main.container{max-width:none!important;width:100%!important}
.ycc-shared-shell #ycc-wayfinding{width:100%!important;max-width:none!important;margin:0 0 24px!important;box-sizing:border-box;clear:both}
.ycc-shared-shell :is(.ppl-header,.relationship-topbar){display:none!important}
.ycc-shared-shell .relationship-sidebar{display:none!important}
.ycc-shared-shell .relationship-ycc{display:block!important;max-width:none!important}
.ycc-shared-shell :is(.relationship-main,.ppl,.hire,.ac-wrap,.ycrm,.engagement-workspace){width:100%;max-width:none!important;box-sizing:border-box}
#ycc-shell-header .ycc-shared-navigation{justify-content:space-between}
#ycc-shell-header .ycc-shared-search{height:42px;border-radius:10px;background:#f8f8fa;padding:0 12px}
#ycc-shell-header .ycc-shared-search input{border:0;background:transparent;padding-left:0}
#ycc-shell-header .ycc-shared-search kbd{font:12px inherit;color:#8b8594;border:1px solid #e5e0ef;border-radius:5px;padding:2px 5px;background:white}
#ycc-shell-header .ycc-shared-actions select{height:36px;max-width:140px;border:1px solid #e5e0ef;border-radius:8px;background:white;padding:4px 9px;color:#5d5669}
@media(max-width:620px){#ycc-shell-header .ycc-shared-navigation{justify-content:flex-start}#ycc-shell-header .ycc-shared-actions select{max-width:95px}}

.ycc-shared-shell .ycc-local-workspace-header,.ycc-shared-shell .hire>header>img{display:none!important}

#ycc-shell-header :is(.ycc-actions select,.ycc-shared-actions select){height:36px;max-width:140px;border:1px solid #e5e0ef;border-radius:8px;background:white;padding:4px 9px;color:#5d5669;font:inherit}
#ycc-shell-header :is(.icon-btn,.ycc-shared-actions>button){display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #e5e0ef;border-radius:8px;background:white;color:#706979;font:inherit}
#ycc-shell-header :is(.ycc-profile-trigger,.ycc-shared-account summary){width:40px;height:40px;min-width:40px;border:0;border-radius:50%;background:#5b42ff;color:white;font-size:14px}

/* Compact staff workspaces: preserve readable records and useful control sizes.
   Scoped to the authenticated shell; public website and document printouts retain their scale. */
@media screen {
  .ycc-shared-shell body{padding:24px 22px 24px!important}
  .ycc-shared-shell #ycc-shell-header{margin-bottom:12px;padding:10px 20px 6px}
  .ycc-shared-shell #ycc-shell-header :is(.ycc-header-top,.ycc-shared-top){min-height:56px;gap:16px;padding:4px 0 10px}
  .ycc-shared-shell #ycc-shell-header .ycc-shared-navigation{padding:5px 0 1px}
  .ycc-shared-shell #ycc-shell-header .ycc-shared-group summary{min-height:36px;padding:6px 9px}
  .ycc-shared-shell #ycc-wayfinding{padding:8px 20px;margin:0 0 12px!important;gap:8px;font-size:12px}
  .ycc-shared-shell :is(.ycc-pagehead,.relationship-pagehead){padding:16px 24px 14px}
  .ycc-shared-shell :is(.ycc-pagehead,.relationship-pagehead) h1,
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace) h1,
  .ycc-shared-shell :is(.ppl-intro,.hire-intro,.ac-head,.ycrm-head) h1,
  .ycc-shared-shell .hire>header h1{font-size:26px!important;line-height:1.2;letter-spacing:-.6px;margin:4px 0 6px}
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace){font-size:14px;line-height:1.5;padding:18px 24px 32px;margin-top:0}
  .ycc-shared-shell :is(.ppl-intro,.hire-intro){padding:12px 0 16px}
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace) h2{font-size:19px;line-height:1.3;margin-block:0 10px}
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace) h3{font-size:16px;line-height:1.35}
  .ycc-shared-shell :is(.ycc-content,.relationship-content){padding-inline:24px}
  .ycc-shared-shell .module-shell{padding:22px}
  .ycc-shared-shell .module-shell h2{font-size:21px}
  .ycc-shared-shell .metric{min-height:86px;padding:14px 16px}
  .ycc-shared-shell .metric-value{font-size:25px;margin-top:6px}
  .ycc-shared-shell #ycc-feed.ycc-feed{padding:20px;margin-bottom:18px}
  .ycc-shared-shell #ycc-feed .ycc-feed-head{margin-bottom:12px;gap:16px}
  .ycc-shared-shell #ycc-feed .ycc-feed-head h2{font-size:21px;letter-spacing:-.4px}
  .ycc-shared-shell #ycc-feed-items{margin-top:12px;gap:12px}
  .ycc-shared-shell #ycc-feed .ycc-feed-item{padding:16px}
  .ycc-shared-shell #ycc-feed .ycc-post-meta{margin-bottom:10px}
  .ycc-shared-shell .ycc-footer{margin-top:24px;padding-block:12px}
}
@media screen and (max-width:760px){
  .ycc-shared-shell body{padding:18px 14px 20px!important}
  .ycc-shared-shell #ycc-shell-header{padding:10px 14px 6px}
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace){padding:16px}
  .ycc-shared-shell :is(.ycc-pagehead,.relationship-pagehead){padding:14px 16px 12px}
  .ycc-shared-shell :is(.ycc-content,.relationship-content){padding-inline:16px}
  .ycc-shared-shell #ycc-wayfinding{padding:8px 14px}
  /* Retain comfortable mobile controls and avoid browser zoom on input focus. */
  .ycc-shared-shell :is(.ppl,.hire,.staff-control,.ac-wrap,.ycrm,.engagement-workspace) :is(input,select,textarea){font-size:16px}
}

/* Keep the account at the far right, including dynamically added actions. */
#ycc-shell-header :is(.ycc-profile-control,.ycc-shared-account){order:100;flex-shrink:0}
#ycc-shell-header :is(.ycc-profile-trigger,.ycc-shared-account summary){width:42px;height:42px;min-width:42px;min-height:42px}
#ycc-shell-header #ycc-profile-menu:not([hidden]),#ycc-shell-header .ycc-shared-account>div{top:calc(100% + 10px)}
@media(max-width:760px){#ycc-shell-header :is(.ycc-profile-trigger,.ycc-shared-account summary){width:44px;height:44px;min-width:44px;min-height:44px}}

/* Availability belongs to the account menu; its ring follows server presence. */
[data-axis-presence]{--axis-presence-colour:#8a8691}
[data-axis-presence="available"]{--axis-presence-colour:#16854b}
[data-axis-presence="busy"]{--axis-presence-colour:#d33845}
[data-axis-presence="away"]{--axis-presence-colour:#d99a13}
[data-axis-presence="dnd"]{--axis-presence-colour:#7c4bc0}
#ycc-shell-header :is(#ycc-profile-trigger,.ycc-shared-account>summary)[data-axis-presence]{box-shadow:0 0 0 2px #fff,0 0 0 5px var(--axis-presence-colour)}
#ycc-shell-header :is(#ycc-profile-menu,.ycc-shared-account>div):has(.axis-availability-menu){width:240px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 140px);overflow-y:auto}
#ycc-shell-header .axis-availability-menu{padding:8px 4px 12px;margin:0 0 7px;border-bottom:1px solid #ece9f2}
#ycc-shell-header .axis-availability-heading{font-size:11px;font-weight:700;color:#716b7a;margin:0 8px 4px}
#ycc-shell-header .axis-availability-current{font-size:12px;color:#24202d;margin:0 8px 8px;line-height:1.5}
#ycc-shell-header .axis-availability-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:7px;background:white;color:#24202d;text-align:left;font:inherit;font-size:13px;cursor:pointer}
#ycc-shell-header .axis-availability-menu button:hover{background:#f6f4fc}
#ycc-shell-header .axis-availability-menu button[aria-pressed="true"]{background:#f0edff;font-weight:650}
#ycc-shell-header .axis-availability-menu button[aria-pressed="true"]::after{content:'✓';margin-inline-start:auto;color:#5940fa}
#ycc-shell-header .axis-availability-menu button:disabled{opacity:.55;cursor:default}
.axis-status-dot{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--axis-presence-colour)}
.axis-status-dot[data-axis-presence="automatic"]{background:transparent;border:2px solid #8a8691}
#ycc-shell-header .axis-availability-feedback{font-size:11px;color:#a62a46;margin:6px 8px 0;line-height:1.5}
#ycc-shell-header .axis-availability-feedback:empty{display:none}


[data-axis-presence="leave"]{--axis-presence-colour:#2776c5}

.axis-status-badge{display:inline-flex;align-items:center;gap:8px;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;line-height:1.4;background:#f7f7fa;color:#393441;white-space:nowrap}
.axis-status-badge .axis-status-dot{width:9px;height:9px;flex-basis:9px}


/* Trim the shared chrome while keeping navigation and account controls usable. */
@media screen and (min-width:761px){
 .ycc-shared-shell #ycc-shell-header{padding:10px 20px 3px;margin-bottom:8px}
 .ycc-shared-shell #ycc-shell-header :is(.ycc-header-top,.ycc-shared-top){min-height:48px;padding:3px 0 7px;gap:16px}
 .ycc-shared-shell #ycc-shell-header :is(.ycc-brand-row,.ycc-shared-brand){flex-basis:130px;width:130px;min-height:40px}
 .ycc-shared-shell #ycc-shell-header :is(.ycc-brand-logo,.ycc-shared-brand img){width:124px;height:34px}
 .ycc-shared-shell #ycc-shell-header .ycc-shared-navigation{padding:3px 0 0}
 .ycc-shared-shell #ycc-shell-header .ycc-shared-group summary{min-height:34px;padding:5px 8px}
 .ycc-shared-shell #ycc-wayfinding{padding:5px 20px;margin-bottom:8px!important}
}
