:root {
  color-scheme: light;
  --paper: #f4f4f4;
  --surface: #ffffff;
  --ink: #161616;
  --sub: #525252;
  --muted: #606771;
  --rule: #d6d9dd;
  --blue: #0f62fe;
  --blue-ink: #0043ce;
  --blue-pale: #edf5ff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font:
    16px/1.4 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 7px 12px;
}
button:hover:enabled {
  background: #f0f4fb;
  border-color: #b2bdcf;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:disabled {
  cursor: default;
  color: #8d8d8d;
}
.shell {
  background: #161616;
  color: #fff;
}
.header-inner,
main {
  max-width: 1184px;
  width: calc(100% - clamp(32px, 8vw, 112px));
  margin: 0 auto;
}
.header-inner {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 630;
  letter-spacing: -0.6px;
}
.brand-mark {
  display: grid;
  grid-template-columns: 9px 9px;
  grid-template-rows: 9px 9px;
  gap: 2px;
  transform: skewY(-6deg);
}
.brand-mark i {
  background: #d0e2ff;
}
.brand-mark i:nth-child(2) {
  background: #4589ff;
}
.brand-mark i:nth-child(3) {
  background: #78a9ff;
}
nav {
  display: flex;
  align-self: stretch;
}
nav a {
  display: grid;
  place-items: center;
  font-size: 14px;
  padding: 0 17px;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  color: #c6c6c6;
}
nav a:hover,
nav a[aria-current] {
  color: white;
  background: #262626;
}
nav a[aria-current] {
  border-bottom-color: #78a9ff;
}
.demo-tag {
  margin-left: auto;
  font: 12px var(--mono);
  color: #e1e1e1;
  padding: 3px 8px;
  border: 1px solid #565656;
  border-radius: 3px;
  white-space: nowrap;
}
main {
  padding: 24px 0 16px;
}
.view-head,
.board-head,
.pager,
.clockbox,
.accounthead,
.accountfoot,
.dialogactions,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.view-head {
  margin-bottom: 18px;
}
.heading p {
  font: 12px/1.5 var(--mono);
  color: var(--muted);
}
h1 {
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -1.65px;
  line-height: 1.12;
  font-weight: 570;
}
h2 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
h3 {
  font-size: 16px;
}
.primary,
#preferaccount:enabled,
#commentform button[type="submit"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.primary:hover:enabled,
#preferaccount:hover:enabled,
#commentform button[type="submit"]:hover {
  background: #0043ce;
}
.primary {
  font-size: 14px;
  padding: 9px 15px;
}
.primary span {
  font: 18px/1 var(--mono);
  margin-right: 5px;
}
.capacity,
.board {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
.capacity > h2 {
  padding: 12px 18px 0;
}
#accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px 0;
}
.account {
  border: 0;
  border-radius: 0;
  padding: 2px 18px 4px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account + .account {
  border-left: 1px solid var(--rule);
}
.account:focus-visible,
.task:focus-visible {
  outline-offset: -2px;
}
.accountname {
  font-weight: 650;
  font-size: 16px;
}
.role,
.pill {
  font-size: 12px;
  color: #474d56;
  background: #e9ebee;
  border-radius: 10px;
  padding: 2px 8px;
  white-space: nowrap;
  width: fit-content;
}
.accounthead {
  margin-bottom: 2px;
}
.usage {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 9px;
}
.usage .window,
.accountfoot {
  font-size: 13px;
  color: var(--sub);
}
.usage strong,
.progress,
.event time,
.pager,
.clockbox time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.usage strong {
  text-align: right;
  font-size: 13px;
  font-weight: 550;
}
.bar {
  display: block;
  position: relative;
  height: 6px;
  background: #e6e9ee;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: #4589ff;
}
.usage .bar:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    transparent 0 calc(10% - 1px),
    white calc(10% - 1px) 10%
  );
}
.accountfoot {
  margin-top: 3px;
}
.routing {
  background: #edf3fc;
  border-top: 1px solid #d5e2f4;
  padding: 7px 18px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 13px;
  color: #313f55;
}
.routing strong {
  color: #183868;
  white-space: nowrap;
}
.route-symbol {
  font-size: 16px;
  line-height: 1;
  color: #0043ce;
}
.board {
  margin-top: 16px;
}
.board-head {
  padding: 10px 18px;
  justify-content: flex-start;
}
.counts {
  display: flex;
  gap: 14px;
  color: var(--sub);
  font-size: 13px;
}
.counts b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.counts span + span {
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.filter {
  margin-left: auto;
}
select,
input {
  border: 1px solid #bfc3c9;
  background: white;
  border-radius: 3px;
  padding: 6px 9px;
  font-size: 14px;
}
.tablehead,
.task {
  display: grid;
  grid-template-columns:
    minmax(0, 2.1fr) minmax(85px, 0.85fr) minmax(85px, 0.85fr)
    minmax(102px, 0.85fr);
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}
.tablehead {
  min-height: 29px;
  font-size: 12px;
  color: var(--sub);
  background: #f0f1f3;
  border-block: 1px solid var(--rule);
  font-weight: 560;
}
.task {
  border: 0;
  width: 100%;
  border-radius: 0;
  text-align: left;
  min-height: 44px;
  font-size: 14px;
}
.task + .task,
.event + .event {
  border-top: 1px solid #e4e5e7;
}
.taskname {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.taskname strong {
  font-size: 14px;
  font-weight: 570;
  overflow-wrap: anywhere;
}
.taskname small {
  order: -1;
  flex-shrink: 0;
  font: 12px var(--mono);
}
.muted,
.owner {
  color: var(--sub);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 520;
}
.pill:before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.pill.running {
  background: #e5efff;
  color: #0043ce;
}
.pill.queued {
  background: #fff1d2;
  color: #764d00;
}
.pill.completed {
  background: #eaecf0;
  color: #474e59;
}
.progress {
  font-size: 12px;
  max-width: 110px;
}
.progress .bar {
  height: 3px;
  margin-top: 3px;
}
#tasks > p {
  padding: 12px 18px;
}
.pager {
  padding: 5px 14px 5px 18px;
  font-size: 12px;
  color: var(--sub);
  border-top: 1px solid var(--rule);
}
.pager > div,
.clockbox > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pager button {
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  font: 21px/1 sans-serif;
  padding: 0;
}
.pager button:disabled {
  background: #fafafa;
  color: #9a9a9a;
}
.eventhead,
.event {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) 4fr;
  align-items: baseline;
  gap: 20px;
}
.eventhead {
  align-items: center;
  border-top: 0;
}
.event {
  font-size: 14px;
  padding: 15px 18px;
  overflow-wrap: anywhere;
}
.event time,
.clockbox time {
  font-size: 12px;
  color: var(--sub);
}
.clockbox {
  justify-content: flex-end;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}
.clockbox button {
  font-size: 12px;
  padding: 4px 8px;
}
.sr {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
dialog {
  border: 1px solid #aeb6c3;
  border-radius: 6px;
  box-shadow: 0 12px 48px #101c3030;
  width: min(445px, calc(100% - 28px));
  color: var(--ink);
  padding: 24px;
  max-height: 88dvh;
}
dialog::backdrop {
  background: #161b2466;
}
dialog h2 {
  font-size: 25px;
  margin: 4px 0 12px;
}
dialog p,
dialog h3 {
  margin: 12px 0;
  overflow-wrap: anywhere;
}
dialog label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin: 12px 0 4px;
}
dialog input,
dialog select {
  display: block;
  width: 100%;
  padding: 9px;
  margin-top: 5px;
}
.actions,
.dialogactions {
  justify-content: flex-end;
  margin-top: 18px;
}
.simulation {
  border-top: 1px solid var(--rule);
  margin-top: 15px;
  padding-top: 12px;
}
.simulation button {
  font-size: 13px;
}
.metricline {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 12px 0 4px;
}
.metric small {
  display: block;
  margin-top: 4px;
}
@media (max-width: 820px) {
  .taskname {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .taskname small {
    order: 0;
  }
  .task {
    min-height: 46px;
  }
  .counts {
    gap: 6px;
  }
  .counts span + span {
    padding-left: 6px;
  }
}
@media (max-width: 620px) {
  .header-inner,
  main {
    width: calc(100% - 24px);
  }
  .header-inner {
    gap: 12px;
    height: 45px;
  }
  .brand {
    font-size: 16px;
    gap: 6px;
  }
  nav a {
    font-size: 13px;
    padding-inline: 8px;
  }
  .demo-tag {
    font-size: 10px;
    padding: 3px 5px;
  }
  main {
    padding-top: 15px;
  }
  .view-head {
    margin-bottom: 12px;
  }
  .heading p {
    font-size: 11px;
  }
  h1 {
    font-size: 29px;
  }
  .primary {
    padding: 7px 10px;
  }
  .capacity > h2 {
    padding: 10px 10px 0;
  }
  .account {
    padding-inline: 10px;
  }
  .accounthead {
    align-items: flex-start;
    gap: 3px;
    flex-wrap: wrap;
  }
  .accountname {
    font-size: 14px;
  }
  .role {
    font-size: 11px;
    padding: 1px 5px;
  }
  .usage {
    grid-template-columns: 43px minmax(0, 1fr) 30px;
    gap: 4px;
  }
  .usage strong,
  .usage .window {
    font-size: 12px;
  }
  .accountfoot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 12px;
  }
  .routing {
    padding: 6px 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1px 6px;
  }
  .routing #routeSummary {
    grid-column: 2;
  }
  .board {
    margin-top: 12px;
  }
  .board-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px;
    padding: 8px 10px;
  }
  .counts {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .filter {
    grid-row: 1;
    grid-column: 2;
  }
  .filter select {
    padding: 4px;
    font-size: 13px;
  }
  .tablehead:not(.eventhead) {
    display: none;
  }
  .task {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 55px;
    gap: 1px 8px;
    padding: 6px 10px;
    border-top: 1px solid #e4e5e7;
  }
  .task .taskname {
    grid-row: 1;
    grid-column: 1;
  }
  .task .pill {
    justify-self: end;
  }
  .taskname small {
    display: none;
  }
  .owner,
  .progress {
    font-size: 12px;
  }
  .progress {
    text-align: right;
    justify-self: end;
  }
  .progress .bar {
    display: none;
  }
  .pager {
    padding: 4px 8px;
  }
  .eventhead,
  .event {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .eventhead {
    display: none;
  }
  .event {
    padding: 10px 12px;
  }
  .clockbox {
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
  }
  .clockbox > div {
    gap: 5px;
  }
  .clockbox time {
    font-size: 11px;
  }
}

.usage .window {
  white-space: nowrap;
}

@media (max-width: 350px) {
  .header-inner {
    gap: 6px;
  }
  nav a {
    padding-inline: 5px;
  }
  .view-head {
    gap: 5px;
  }
  .clockbox > div {
    flex-wrap: wrap;
  }
  .progress {
    max-width: 90px;
    white-space: normal;
  }
  .routing {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.taskname {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.taskname .taskmeta {
  order: 0;
  display: block;
  font: 12px/1.3 var(--mono);
  white-space: normal;
}
.task {
  padding-block: 7px;
}
#presetSummary {
  font-size: 13px;
  margin: 7px 0 14px;
}
#detail:has(.runfacts) {
  width: min(590px, calc(100% - 24px));
}
#detail:has(#dismissRun) h2 {
  padding-right: 30px;
}
#dismissRun {
  float: right;
  position: sticky;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font: 21px/1 sans-serif;
  padding: 0;
}
#detail a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.runfacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  column-gap: 14px;
  background: #f5f6f8;
  padding: 10px 12px;
  margin: 12px 0;
  border-left: 2px solid #a6c8ff;
}
.runfacts dt {
  color: var(--sub);
  font-size: 12px;
}
.runfacts dd {
  margin: 3px 0 0;
  font: 13px/1.45 var(--mono);
}
.runsection {
  border-block-start: 1px solid var(--rule);
  padding: 9px 0;
}
.runsection summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.runsection p {
  font-size: 14px;
  margin: 7px 0;
}
.stages {
  list-style: none;
  padding: 0;
  margin: 7px 0;
}
.stages li {
  padding: 6px 10px;
  border-left: 2px solid #b4c9e7;
}
.stages strong,
.stages span {
  display: block;
  font-size: 14px;
}
.stages span {
  color: var(--sub);
}
#detail .scope {
  font-size: 15px;
}

.sessions {
  max-height: 9rem;
  overflow-y: auto;
  margin: 6px 0 12px;
  padding-left: 1.25rem;
  font-size: 14px;
}
.sessions li + li {
  margin-top: 4px;
}
