:root{
  --workspace-header-bg:#171915;
  --workspace-header-border:#30332e;
  --workspace-header-text:#f5f6f2;
  --workspace-header-muted:#9da39a;
  --workspace-header-hover:#242721;
  --workspace-brand-accent:#d8ff64;
  --workspace-header-height:64px;
}

.workspace-appbar{
  position:sticky;
  top:0;
  z-index:70;
  display:grid;
  grid-template-columns:auto minmax(220px,1fr) auto;
  grid-template-areas:"brand navigation actions";
  align-items:center;
  width:100%;
  height:var(--workspace-header-height);
  min-height:0;
  padding:0 20px;
  gap:22px;
  border:0;
  border-bottom:1px solid var(--workspace-header-border);
  border-radius:0;
  background:var(--workspace-header-bg);
  color:var(--workspace-header-text);
  box-shadow:none;
  font-family:system-ui,-apple-system,"Helvetica Neue",sans-serif;
  flex-wrap:nowrap;
}

.workspace-appbar .workspace-brand{
  grid-area:brand;
  display:flex;
  align-items:center;
  min-width:0;
  min-height:0;
  gap:10px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--workspace-header-text);
  font-size:inherit;
  font-weight:inherit;
  letter-spacing:0;
  text-decoration:none;
}

.workspace-appbar .workspace-brand:hover{border:0;background:transparent;color:var(--workspace-header-text)}
.workspace-appbar .workspace-brand-logo{display:block;width:34px;height:34px;flex:0 0 auto;border-radius:7px;object-fit:contain}
.workspace-appbar .workspace-brand-copy{display:flex;min-width:0;flex-direction:column;line-height:1.15;white-space:nowrap}
.workspace-appbar .workspace-brand-copy b{display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font-size:14px;font-weight:750;letter-spacing:-.1px}
.workspace-appbar .workspace-brand-copy span{display:block;width:auto;height:auto;margin:3px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:var(--workspace-header-muted);font-size:9.5px;font-weight:600}

.workspace-appbar .workspace-nav-wrap{
  position:static;
  grid-area:navigation;
  min-width:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  background:transparent;
  box-shadow:none;
}

.workspace-appbar .workspace-nav{
  display:flex;
  align-items:stretch;
  width:100%;
  max-width:none;
  height:64px;
  margin:0;
  padding:0;
  gap:0;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  border:0;
  background:transparent;
  flex-wrap:nowrap;
}

.workspace-appbar .workspace-nav::-webkit-scrollbar{display:none}
.workspace-appbar .workspace-tab{
  position:relative;
  display:flex;
  align-items:center;
  flex:0 0 auto;
  height:64px;
  min-width:0;
  margin:0;
  padding:1px 12px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#b8bdb5;
  font-size:12px;
  font-weight:650;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:color .15s ease,background-color .15s ease;
}

.workspace-appbar .workspace-tab::after{position:absolute;right:12px;bottom:0;left:12px;height:2px;background:transparent;content:""}
.workspace-appbar .workspace-tab:hover{border:0;background:var(--workspace-header-hover);color:#fff}
.workspace-appbar .workspace-tab.active,.workspace-appbar .workspace-tab[aria-current="page"]{border:0;background:transparent;color:#fff}
.workspace-appbar .workspace-tab.active::after,.workspace-appbar .workspace-tab[aria-current="page"]::after{background:var(--workspace-brand-accent)}

.workspace-appbar .workspace-appbar-actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  min-width:0;
  margin:0;
  gap:8px;
  overflow:visible;
}

.workspace-appbar .workspace-header-legacy-user{display:none!important}
.workspace-appbar .workspace-message-slot:empty{display:none}
.workspace-appbar .workspace-utility{
  display:flex;
  align-items:center;
  height:32px;
  max-width:155px;
  padding:0 9px;
  overflow:hidden;
  border:1px solid #3a3e37;
  border-radius:5px;
  background:#20231e;
  color:#bfc4bb;
  font-size:9.5px;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.workspace-appbar .global-attendance{
  display:flex;
  align-items:center;
  height:36px;
  min-width:0;
  gap:7px;
  padding:3px 4px 3px 8px;
  border:1px solid #3d607d;
  border-radius:6px;
  background:#1d344b;
  color:#dce8f5;
  font-size:10px;
  font-weight:650;
  white-space:nowrap;
}

.workspace-appbar .global-attendance[hidden]{display:none!important}
.workspace-appbar .global-attendance-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#9aa9ba;box-shadow:0 0 0 3px rgba(255,255,255,.07)}
.workspace-appbar .global-attendance.checked-in{border-color:#34765f;background:#183b32}
.workspace-appbar .global-attendance.checked-in .global-attendance-dot{background:#51d39f;box-shadow:0 0 0 3px rgba(81,211,159,.15)}
.workspace-appbar .global-attendance-action{
  width:auto;
  height:28px;
  margin:0;
  padding:0 9px;
  border:1px solid #4788bd;
  border-radius:5px;
  background:#2d6fa6;
  color:#fff;
  font-size:10px;
  font-weight:700;
}
.workspace-appbar .global-attendance-action:hover{border-color:#5b99cb;background:#347db8;color:#fff}
.workspace-appbar .global-attendance.checked-in .global-attendance-action{border-color:#c15d65;background:#a7464e;color:#fff}
.workspace-appbar .global-attendance.checked-in .global-attendance-action:hover{border-color:#d06b72;background:#b64e56}

.workspace-appbar .account-menu-wrap{position:relative;flex:0 0 auto}
.workspace-appbar .account-menu-trigger{
  display:flex;
  align-items:center;
  width:auto;
  height:38px;
  max-width:230px;
  gap:8px;
  margin:0;
  padding:4px 8px 4px 5px;
  border:1px solid #3a3e37;
  border-radius:6px;
  background:transparent;
  color:var(--workspace-header-text);
  font-size:inherit;
  text-align:left;
}
.workspace-appbar .account-menu-trigger:hover,.workspace-appbar .account-menu-trigger[aria-expanded="true"]{border-color:#3a3e37;background:var(--workspace-header-hover);color:var(--workspace-header-text)}
.workspace-appbar .account-avatar{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;border-radius:5px;background:var(--workspace-brand-accent);color:#171915;font-size:11px;font-weight:850}
.workspace-appbar .app-user{display:flex;min-width:0;flex-direction:column;color:inherit;line-height:1.1}
.workspace-appbar .app-user b,.workspace-appbar .app-user span{display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-appbar .app-user b{color:#f6f7f3;font-size:10.5px;font-weight:700}
.workspace-appbar .app-user span{margin-top:3px;color:var(--workspace-header-muted);font-size:8.5px;font-weight:600}
.workspace-appbar .account-menu-trigger>svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:#8f968b;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease}
.workspace-appbar .account-menu-trigger[aria-expanded="true"]>svg{transform:rotate(180deg)}

.workspace-appbar .account-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:90;
  display:block;
  width:228px;
  overflow:hidden;
  padding:5px;
  border:1px solid #d8ddd5;
  border-radius:8px;
  background:#fff;
  color:#232720;
  box-shadow:0 6px 18px rgba(12,16,10,.16);
}
.workspace-appbar .account-menu[hidden]{display:none!important}
.workspace-appbar .account-menu-identity{display:flex;min-width:0;flex-direction:column;padding:8px 9px 10px;border-bottom:1px solid #e5e8e2;line-height:1.2}
.workspace-appbar .account-menu-identity b,.workspace-appbar .account-menu-identity span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-appbar .account-menu-identity b{font-size:12px;font-weight:750}
.workspace-appbar .account-menu-identity span{margin-top:3px;color:#6d7469;font-size:10px}
.workspace-appbar .account-menu-item{
  display:flex;
  align-items:center;
  width:100%;
  min-height:36px;
  gap:9px;
  margin:2px 0 0;
  padding:0 9px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#343930;
  font-size:11px;
  font-weight:650;
  line-height:1.2;
  text-align:left;
  text-decoration:none;
}
.workspace-appbar .account-menu-item:hover{border:0;background:#f0f2ed;color:#171915}
.workspace-appbar .account-menu-item[aria-current="page"]{background:#f4f6f1;color:#171915}
.workspace-appbar .account-menu-item svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.workspace-appbar .account-menu-item[data-workspace-destination="tools"] svg{fill:currentColor;stroke:none}
.workspace-appbar .account-menu-item[data-workspace-destination="browser"] svg{fill:none;stroke:currentColor;stroke-width:1.5}
.workspace-appbar .account-sign-out{margin-top:5px;border-top:1px solid #e5e8e2;border-radius:0 0 5px 5px;color:#a9343c}

.workspace-appbar .workspace-tab:focus-visible,.workspace-appbar .account-menu-trigger:focus-visible,.workspace-appbar .account-menu-item:focus-visible,.workspace-appbar .global-attendance-action:focus-visible{outline:2px solid var(--workspace-brand-accent);outline-offset:-2px}

body.tool-ui .workspace-appbar .workspace-nav-wrap{position:static;top:auto;z-index:auto;background:transparent;border:0;box-shadow:none}
body.tool-ui .workspace-appbar .workspace-nav,body.tool-ui .workspace-appbar .tabs.workspace-nav{width:100%;max-width:none;min-height:0;height:64px;margin:0;padding:0;gap:0}
body.tool-ui .workspace-appbar .workspace-tab,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab{height:64px;min-height:0;padding:1px 12px 0;color:#b8bdb5;font-size:12px;font-weight:650}
body.tool-ui .workspace-appbar .workspace-tab:hover,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab:hover{background:var(--workspace-header-hover);color:#fff}
body.tool-ui .workspace-appbar .workspace-tab.active,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab.active{background:transparent;color:#fff}
body.tool-ui .workspace-appbar .workspace-tab.active::after,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab.active::after{right:12px;bottom:0;left:12px;background:var(--workspace-brand-accent)}
body.tool-ui .workspace-appbar .app-user{margin-right:0}

@media(max-width:1180px){
  .workspace-appbar{grid-template-columns:auto minmax(180px,1fr) auto;gap:14px;padding:0 14px}
  .workspace-appbar .workspace-tab{padding-right:9px;padding-left:9px}
  .workspace-appbar .workspace-tab::after{right:9px;left:9px}
  .workspace-appbar .app-user span{display:none}
  .workspace-appbar .account-menu-trigger{max-width:155px}
}

@media(min-width:981px) and (max-width:1180px){
  body.campaign-ui{--workspace-header-height:100px}
  body.campaign-ui .workspace-appbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "navigation navigation";height:var(--workspace-header-height);gap:0 12px;padding:0 12px}
  body.campaign-ui .workspace-appbar .workspace-brand{height:56px}
  body.campaign-ui .workspace-appbar .workspace-nav-wrap{margin:0 -12px;border-top:1px solid var(--workspace-header-border)}
  body.campaign-ui .workspace-appbar .workspace-nav,body.campaign-ui .workspace-appbar .tabs.workspace-nav{height:44px;padding:0 8px;gap:0}
  body.campaign-ui .workspace-appbar .workspace-tab,body.campaign-ui .workspace-appbar .tabs.workspace-nav .tab{height:44px;padding-right:11px;padding-left:11px}
}

@media(max-width:980px){
  :root{--workspace-header-height:100px}
  .workspace-appbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "navigation navigation";height:var(--workspace-header-height);gap:0 12px;padding:0 12px}
  .workspace-appbar .workspace-brand{height:56px}
  .workspace-appbar .workspace-nav-wrap{margin:0 -12px;border-top:1px solid var(--workspace-header-border)}
  .workspace-appbar .workspace-nav{height:44px;padding:0 8px}
  .workspace-appbar .workspace-tab{height:44px;padding-right:11px;padding-left:11px}
  .workspace-appbar .workspace-tab::after{right:11px;left:11px}
  body.tool-ui .workspace-appbar .workspace-nav,body.tool-ui .workspace-appbar .tabs.workspace-nav{height:44px;padding:0 8px;gap:0}
  body.tool-ui .workspace-appbar .workspace-tab,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab{height:44px;padding-right:11px;padding-left:11px}
}

@media(max-width:620px){
  :root{--workspace-header-height:98px}
  .workspace-appbar{height:var(--workspace-header-height);padding:0 10px;gap:0 8px}
  .workspace-appbar .workspace-brand{height:54px;gap:8px}
  .workspace-appbar .workspace-brand-logo{width:30px;height:30px}
  .workspace-appbar .workspace-brand-copy b{font-size:13px}
  .workspace-appbar .workspace-brand-copy span{display:none}
  .workspace-appbar .workspace-appbar-actions{gap:6px;overflow:visible}
  .workspace-appbar .workspace-utility{display:none}
  .workspace-appbar .global-attendance{height:34px;padding-left:7px}
  .workspace-appbar .global-attendance-status{display:none}
  .workspace-appbar .global-attendance-action{height:26px;padding:0 7px}
  .workspace-appbar .account-menu-trigger{height:34px;padding:3px 5px}
  .workspace-appbar .account-avatar{width:26px;height:26px}
  .workspace-appbar .app-user,.workspace-appbar .account-menu-trigger>svg{display:none}
  .workspace-appbar .account-menu{position:fixed;top:50px;right:10px;width:min(250px,calc(100vw - 20px))}
  .workspace-appbar .workspace-nav-wrap{margin:0 -10px}
  .workspace-appbar .workspace-nav{height:44px;padding:0 4px}
  .workspace-appbar .workspace-tab{height:44px;padding-right:10px;padding-left:10px;font-size:11px}
  .workspace-appbar .workspace-tab::after{right:10px;left:10px}
  body.tool-ui .workspace-appbar .workspace-nav,body.tool-ui .workspace-appbar .tabs.workspace-nav{height:44px;padding:0 4px;gap:0}
  body.tool-ui .workspace-appbar .workspace-tab,body.tool-ui .workspace-appbar .tabs.workspace-nav .tab{height:44px;padding-right:10px;padding-left:10px;font-size:11px}
}
