.ws-header .measure-account-tools {display:flex;align-items:center;gap:8px;margin-inline-start:auto;min-width:0}
.ws-header:has(.measure-account-tools) #new-project {flex:none;white-space:nowrap}
.ws-header:has(.measure-account-tools) .ws-project-picker {min-width:0;flex-shrink:2}
.ws-header:has(.measure-account-tools) .ws-project-picker select {max-width:100%}
.measure-account-dialog button {min-height:44px}
.ws-header .measure-profile {display:inline-flex;align-items:baseline;gap:.35em;max-width:19rem;min-width:0;white-space:nowrap}
.measure-profile-name {min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.measure-profile-role {padding-inline-start:.45rem;border-inline-start:1px solid currentColor}
.measure-account-tools :focus-visible,.measure-account-dialog :focus-visible {outline:3px solid var(--ws-focus,#6450a0);outline-offset:2px}
.measure-account-dialog {width:min(28rem,90vw);max-height:80dvh;overflow:auto;padding:20px;border:1px solid var(--ws-line,#e4ddd7);border-radius:10px;background:white;color:var(--ws-ink,#262536)}
.measure-account-dialog::backdrop {background:rgb(32 26 35 / 42%)}
.measure-account-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.measure-account-dialog-head h2,.measure-account-dialog h3 {margin:.4em 0}
.measure-admin-links {list-style:none;margin:0;padding:0;border-top:1px solid var(--ws-line,#e4ddd7)}
.measure-admin-links li {border-bottom:1px solid var(--ws-line,#e4ddd7)}
.measure-admin-links a,.measure-logout {display:flex;align-items:center;min-height:44px;color:#47356e}
.measure-logout {margin-top:12px}
body[data-measure-role="Reader"] #new-project {display:none}
@media (max-width:1350px) {
  .ws-header:has(.measure-account-tools) {column-gap:10px}
}
@media (min-width:801px) and (max-width:1050px) {
  .ws-header:has(.measure-account-tools) {height:100px;flex-wrap:wrap;gap:4px 12px;padding-block:5px}
  .ws-header:has(.measure-account-tools) nav {order:3;width:100%;height:42px}
  .ws-app:has(.measure-account-tools) .ws-main {height:calc(100dvh - 100px)}
}
@media(max-width:800px) {
  .ws-header:has(.measure-account-tools) {height:auto;min-height:100px}
  .ws-header .measure-account-tools button {min-height:44px;padding-inline:8px}
  .ws-header .measure-profile {max-width:14rem}
  .measure-profile-label {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
}
@media(max-width:540px) {
  .ws-header:has(.measure-account-tools) {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 6px}
  .ws-header .ws-logo {max-width:70px}
  .ws-header .measure-account-tools {grid-column:1/-1;justify-self:end}
  .ws-header:has(.measure-account-tools) nav {grid-column:1/-1;width:100%}
  .ws-app:has(.measure-account-tools) .ws-main {height:calc(100dvh - 140px)}
}

.measure-admin-job-list {list-style:none;padding:0}
.measure-admin-job-list>li {border-top:1px solid var(--ws-line,#e4ddd7);padding:12px 0;overflow-wrap:anywhere}
.measure-admin-job-list a {display:inline-flex;align-items:center;min-height:44px}
.measure-admin-job-list p {margin:6px 0}
.measure-job-warning {display:block}
.measure-jobs-badge.warn {border-color:#a3332b;color:#8a1f1f;font-weight:600}
.measure-jobs-panel {position:fixed;inset-block:0;inset-inline-end:0;z-index:110;width:min(28rem,100vw);overflow:auto;box-sizing:border-box;padding:16px 20px;border-inline-start:1px solid var(--ws-line,#e4ddd7);background:white;color:var(--ws-ink,#262536);box-shadow:-8px 0 24px rgb(32 26 35 / 18%)}
.measure-jobs-panel-head {display:flex;align-items:center;gap:8px}
.measure-jobs-panel-head h2 {margin:.4em auto .4em 0;font-size:1.15rem}
.measure-jobs-panel button {min-height:44px}
.measure-jobs-panel :focus-visible {outline:3px solid var(--ws-focus,#6450a0);outline-offset:2px}
.measure-admin-job-list>li[aria-current] {background:#f6f2fb}
