* {
  box-sizing: border-box;
}

:root {
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #172438;
  background: #f5f6f8;
  font-synthesis: none;
  --muted: #657186;
  --line: #e4e8ef;
  --blue: #315dd9;
  --navy: #162a48;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

button,input,select,textarea {
  font: inherit;
}

button,a,select,input {
  touch-action: manipulation;
}

button,select {
  cursor: pointer;
}

button:disabled,select:disabled {
  cursor: not-allowed;
  opacity: .62;
}

button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #89adff;
  outline-offset: 3px;
}

a {
  color: inherit;
}

button {
  border: 0;
}

h1,h2,h3,h4,p {
  margin: 0;
}

h2 {
  font-size: 27px;
  letter-spacing: -.6px;
}

h3 {
  font-size: 18px;
  letter-spacing: -.3px;
}

h4 {
  font-size: 14px;
  font-weight: 600;
}

select,textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #d8dfea;
  border-radius: 8px;
  padding: 9px 10px;
  color: inherit;
}

textarea {
  resize: vertical;
  min-height: 85px;
}

progress {
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  accent-color: var(--blue);
}

progress::-webkit-progress-bar {
  background: #edf0f6;
}

progress::-webkit-progress-value {
  background: var(--blue);
  border-radius: 20px;
}

progress::-moz-progress-bar {
  background: var(--blue);
  border-radius: 20px;
}

[hidden] {
  display: none!important;
}

.topbar {
  height: 82px;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--navy);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.demo-pill,.synthetic-label,.small-label,.eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.demo-pill {
  background: #edf2ff;
  color: var(--blue);
  padding: 4px 7px;
  border-radius: 5px;
  margin-left: 4px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.local-label,.muted {
  color: var(--muted);
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eaa80;
  margin-right: 6px;
}

.shell {
  max-width: 1450px;
  margin: 0 auto;
  padding: 48px 5% 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 65px;
  align-items: center;
  margin-bottom: 35px;
}

.eyebrow {
  color: var(--blue);
  margin-bottom: 10px;
}

h1 {
  font-size: 43px;
  line-height: 1.12;
  font-weight: 640;
  letter-spacing: -1.7px;
}

.lead {
  color: #5d6a7e;
  max-width: 510px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.demo-note {
  padding: 22px 25px;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  background: #fff;
  max-width: 390px;
  justify-self: end;
}

.small-label {
  color: #7c889c;
}

.demo-note p {
  margin-top: 9px;
  font-size: 13px;
}

.demo-note .muted {
  font-size: 12px;
  margin-top: 13px;
}

.walkthrough {
  display: grid;
  grid-template-columns: .65fr 1fr 1.05fr 1.4fr;
  border: 1px solid #dce3ed;
  border-radius: 11px;
  background: #eef2f9;
  align-items: center;
  gap: 25px;
  padding: 20px 25px;
  margin-bottom: 28px;
  font-size: 11px;
  color: #52627c;
}

.walk-title {
  font-size: 12px;
  line-height: 1.4;
}

.walkthrough p {
  position: relative;
  padding-left: 34px;
}

.walkthrough p span {
  position: absolute;
  left: 0;
  top: 0;
  color: #8597b4;
  font-size: 15px;
  font-weight: 650;
}

.walkthrough strong {
  font-weight: 600;
  color: #1f3455;
}

.workspace {
  display: grid;
  grid-template-columns: 235px minmax(0,1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px #20365b06;
  scroll-margin-top: 20px;
}

.sidebar {
  background: #fafbfd;
  border-right: 1px solid var(--line);
  padding: 27px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar select {
  font-size: 11px;
  padding: 9px 6px;
  background: #fff;
}

.role-note {
  font-size: 11px;
  color: #7d899b;
  line-height: 1.5;
  min-height: 33px;
}

.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 0 5px;
}

.sidebar-heading h2 {
  font-size: 12px;
  letter-spacing: 0;
}

.count {
  background: #e8edf5;
  color: #6a7890;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 5px;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  color: #66758b;
  background: transparent;
  border-radius: 8px;
  padding: 12px 9px;
  font-size: 12px;
  margin-bottom: 3px;
  min-height: 44px;
}

.project-link[aria-current=page] {
  color: var(--blue);
  background: #eaf0ff;
  font-weight: 650;
}

.project-number {
  font-size: 10px;
  color: #8d9bb1;
  font-variant-numeric: tabular-nums;
}

.project-link[aria-current=page] .project-number {
  color: #7292ee;
}

.sidebar-foot {
  margin-top: auto;
  padding: 70px 6px 0;
  display: flex;
  align-items: baseline;
  color: #8993a4;
  font-size: 10px;
  line-height: 1.8;
}

.sidebar-foot strong {
  color: #6a778a;
  font-weight: 600;
}

.project-workspace {
  padding: 30px;
  min-width: 0;
}

.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.project-heading .eyebrow {
  font-size: 9px;
  margin: 0 0 3px;
  letter-spacing: 1.2px;
}

.project-heading .muted {
  max-width: 440px;
  margin-top: 7px;
}

.synthetic-label {
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  padding: 5px 7px;
  border-radius: 5px;
  color: #8190a4;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-bottom: 25px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  color: #627088;
  font-size: 11px;
}

.stat strong {
  font-size: 26px;
  line-height: 1.45;
  font-weight: 620;
  letter-spacing: -.8px;
}

.stat .muted {
  font-size: 10px;
}

.stat.warning {
  background: #fffaf3;
  border-color: #f1e0bf;
}

.stat.warning strong {
  color: #b97c25;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(240px,1fr);
  gap: 20px;
  align-items: start;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}

.card-heading {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.card-heading .small-label {
  font-size: 8px;
  letter-spacing: 1.1px;
}

.card-heading h3 {
  font-size: 16px;
  margin-top: 3px;
}

.card-heading>.muted {
  font-size: 10px;
  white-space: nowrap;
}

.task {
  padding: 18px 20px;
  border-bottom: 1px solid #edf0f5;
}

.task:last-child {
  border: 0;
}

.task-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-main h4 {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -.1px;
}

.task-main select {
  font-size: 11px;
  width: 140px;
  padding: 6px 9px;
  align-self: flex-start;
}

.task-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 9px;
  color: #8b96a7;
  margin-top: 7px;
  flex-wrap: wrap;
}

.side-tag {
  font-size: 9px;
  border-radius: 4px;
  padding: 2px 5px;
  color: #6982ab;
  background: #eef2fa;
}

.side-tag.client {
  color: #a17a37;
  background: #faf3e7;
}

.overdue {
  color: #bc764b;
}

.is-done h4 {
  color: #94a1b1;
}

.task-actions {
  display: flex;
  gap: 16px;
  margin-top: 13px;
  flex-wrap: wrap;
}

.text-button {
  background: transparent;
  color: #73849f;
  font-size: 10px;
  padding: 3px 0;
  min-height: 30px;
}

.text-button:hover {
  color: var(--blue);
}

.metric {
  padding: 18px 20px;
}

.metric h4 {
  font-size: 12px;
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 9px;
}

.metric-value strong {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 600;
}

.metric .muted {
  font-size: 10px;
}

.metric .button {
  margin-top: 15px;
  width: 100%;
  font-size: 11px;
}

.field-help {
  font-size: 10px;
  color: #8a97aa;
  line-height: 1.6;
  margin-top: 6px;
}

.button {
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 36px;
}

.button.quiet {
  background: #fff;
  color: #566c8e;
  border: 1px solid #dce3ed;
}

.button.quiet:hover {
  background: #f4f7fe;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  width: 100%;
  margin-top: 13px;
}

.button.primary:hover {
  background: #254cc3;
}

.conversation>select,.conversation>label {
  margin: 14px 20px 0;
  width: calc(100% - 40px);
}

.conversation>select {
  font-size: 10px;
  margin-top: 5px;
}

.field-label {
  display: block;
  font-size: 10px;
  color: #71819a;
  margin-bottom: 5px;
}

.comments {
  max-height: 220px;
  overflow: auto;
  padding: 14px 20px 0;
}

.comment {
  background: #f5f7fb;
  border-radius: 7px;
  padding: 11px 12px;
  margin-bottom: 9px;
}

.comment strong {
  font-size: 10px;
  font-weight: 650;
  color: #5d7498;
}

.comment p {
  font-size: 11px;
  color: #63738a;
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.conversation form {
  padding: 14px 20px 20px;
}

.conversation textarea {
  font-size: 11px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 9px;
  color: #7b899e;
  line-height: 1.6;
  margin-top: 13px;
}

.check-label input {
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.outbox {
  margin-top: 20px;
}

.outbox>.muted {
  padding: 14px 20px 0;
  font-size: 11px;
}

.simulation-pill {
  color: #90703b;
  background: #faf4e7;
  border: 1px solid #eee2c9;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 9px;
  white-space: nowrap;
}

.empty {
  margin: 15px 20px 20px;
  color: #8b97aa;
  font-size: 11px;
  line-height: 1.8;
}

.comments .empty {
  margin: 4px 0 10px;
}

.outbox-row {
  margin: 15px 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.outbox-row strong {
  font-size: 11px;
  font-weight: 600;
}

.outbox-row .muted {
  font-size: 10px;
  margin-top: 3px;
}

.architecture {
  margin: 25px 0 45px;
  color: #728198;
  font-size: 12px;
}

.architecture summary {
  cursor: pointer;
  padding: 10px 0;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding: 20px 0;
}

.architecture h3 {
  font-size: 12px;
  color: #4a5e7d;
  margin-bottom: 7px;
}

.architecture p {
  font-size: 11px;
  line-height: 1.8;
}

code {
  font-size: 11px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 5%;
  color: #8b96a6;
  font-size: 10px;
}

footer>span:first-child {
  margin-left: auto;
}

#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 35px);
  padding: 13px 20px;
  background: #1c3559;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px #1c355930;
  font-size: 12px;
  z-index: 10;
}

.skip {
  position: absolute;
  top: -60px;
  left: 15px;
  background: white;
  padding: 10px;
  z-index: 20;
}

.skip:focus {
  top: 10px;
}

.noscript {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 20px;
  border: 1px solid var(--line);
}

@media(min-width:1500px) {
  .task-main {
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
  }
  .task-main select {
    flex: 0 0 125px;
    align-self: center;
  }
  .task-main>div {
    max-width: 255px;
  }
}

@media(max-width:1150px) {
  .shell {
    padding-left: 3%;
    padding-right: 3%;
  }
  .workspace {
    grid-template-columns: 200px minmax(0,1fr);
  }
  .project-workspace {
    padding: 22px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .walkthrough {
    gap: 15px;
  }
  .synthetic-label {
    display: none;
  }
  .topbar {
    padding: 0 3%;
  }
  .intro {
    gap: 35px;
  }
}

@media(max-width:780px) {
  .shell {
    padding: 28px 4% 0;
  }
  .topbar {
    padding: 15px 4%;
    height: auto;
  }
  .brand {
    font-size: 13px;
    gap: 7px;
  }
  .brand-mark {
    height: 30px;
    width: 30px;
    font-size: 21px;
  }
  .local-label {
    display: none;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .demo-note {
    max-width: none;
    justify-self: stretch;
  }
  .intro h1 {
    font-size: 37px;
  }
  .lead {
    font-size: 14px;
  }
  .walkthrough {
    grid-template-columns: 1fr;
    padding: 18px 20px;
    gap: 16px;
  }
  .walk-title br {
    display: none;
  }
  .walk-title strong {
    margin-left: 5px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .sidebar-foot,.role-note {
    display: none;
  }
  .sidebar-heading {
    margin-top: 6px;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .project-link {
    width: auto;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
    display: inline-flex;
  }
  .project-number {
    display: none;
  }
  .project-workspace {
    padding: 20px 15px;
  }
  .project-heading {
    margin-bottom: 18px;
  }
  .project-heading h2 {
    font-size: 24px;
  }
  .stats {
    gap: 7px;
  }
  .stat {
    padding: 12px 9px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat .muted {
    font-size: 8px;
  }
  .right-column {
    display: flex;
  }
  .work-grid {
    gap: 15px;
  }
  .top-actions {
    gap: 0;
  }
  .top-actions .button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .card-heading {
    padding: 15px 17px;
  }
  .task {
    padding: 17px;
  }
  .task-main {
    flex-direction: row;
    align-items: center;
  }
  .task-main>div {
    flex: 1;
  }
  .task-main select {
    width: 125px;
    align-self: center;
    flex-shrink: 0;
  }
  .outbox .card-heading {
    align-items: flex-start;
  }
  .outbox .simulation-pill {
    white-space: normal;
    text-align: center;
  }
  .outbox-row {
    display: block;
  }
  .outbox-row>.simulation-pill {
    display: inline-block;
    margin-top: 7px;
  }
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  footer {
    padding: 20px 4%;
    display: block;
    line-height: 1.9;
  }
  footer span {
    display: block;
  }
  footer>span:first-child {
    margin: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
  }
}
