/* Homepage prototype, second style. Page ground is plain white; colour and
   depth live inside the "stages" (a wallpaper with real-looking windows and
   papers on it). Everything scrolls natively. */

@font-face {
  font-family: "Rethink Sans";
  src: url("rethink-sans-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("rethink-sans-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("rethink-sans-extrabold-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Numeric";
  src: url("inter-numeric-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #f3f5f9;
  --ink: #141a26;
  --body: #3d4654;
  --quiet: #667085;
  --line: #dde2ea;
  --blue: #3c53b2;
  --blue-deep: #26357a;
  --coral: #c9544d;
  --coral-ink: #a3362f;
  --grey: #9aa3b2;
  --rail: #1c2738;
  --night: #0d1322;
  --sans: "Rethink Sans", system-ui, sans-serif;
  --num: "Inter Numeric", "Rethink Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --vh: 100vh;
}
@supports (height: 100svh) {
  :root {
    --vh: 100svh;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.num {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
}

/* ---- masthead -------------------------------------------------------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.mast.scrolled {
  border-bottom-color: var(--line);
}
.mast .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.mast .logo svg {
  display: block;
  height: 26px;
  width: auto;
}
.mast .wrap > nav {
  display: flex;
  gap: 28px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 500;
}
.mast .wrap > nav a,
.mast .signin {
  text-decoration: none;
  color: var(--body);
}
.mast .wrap > nav a:hover,
.mast .signin:hover {
  color: var(--ink);
}
.mast .signin {
  font-size: 15px;
  font-weight: 500;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--ink);
}
.btn.solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn.solid:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
.mast .btn {
  height: 40px;
  font-size: 15px;
  padding: 0 16px;
}
/* The compact menu, shown once the links no longer fit: the same pages as
   the footer, plus the demo. Sign in stays in the bar at every width. */
.mast .menu {
  display: none;
  border: 0;
}
/* Not the questions' rule and chevron further down. */
.mast .menu summary::after {
  content: none;
}
.mast .menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 10px;
  margin-right: -10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.mast .menu summary::-webkit-details-marker {
  display: none;
}
.mast .menu[open] summary {
  background: var(--mist);
}
.mast .sheet {
  position: absolute;
  top: calc(100% - 4px);
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  margin: 0;
  padding: 6px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(20, 26, 38, 0.28);
}
.mast .sheet a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.mast .sheet a + a {
  border-top: 1px solid var(--line);
}
.mast .sheet .sheet-demo {
  color: var(--blue-deep);
  font-weight: 600;
}
@media (max-width: 820px) {
  .mast .wrap {
    gap: 8px;
  }
  .mast .wrap > nav {
    display: none;
  }
  .mast .menu {
    display: block;
  }
  .mast .signin {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 10px;
    margin-left: auto;
  }
  .mast .btn {
    margin-left: 4px;
  }
}
/* On a phone the demo button gives its place to the menu, which carries it;
   the hero's own button is just below. */
@media (max-width: 560px) {
  .mast .btn {
    display: none;
  }
}

/* ---- hero ------------------------------------------------------------ */
.hero {
  padding-top: clamp(20px, 3vw, 40px);
}
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 7.7fr) minmax(0, 4.3fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(20px, 2.6vw, 34px);
}
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.3vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}
.deck {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  color: var(--body);
  max-width: 34em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) {
  .hero-head {
    grid-template-columns: 1fr;
  }
}

/* ---- stages and wallpapers ------------------------------------------- */
.stage {
  position: relative;
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  isolation: isolate;
}
.wall {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.wall::after {
  /* a little grain, so the gradients do not band */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.11;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wall .pulse {
  position: absolute;
  left: -10%;
  top: -20%;
  width: 120%;
  height: 140%;
  filter: blur(46px);
}
.wall.day {
  background:
    radial-gradient(70% 90% at 100% 0%, #aebcf3 0%, transparent 62%),
    radial-gradient(60% 80% at 0% 100%, #f3c6bd 0%, transparent 60%),
    linear-gradient(170deg, #eef1fc 0%, #dbe2f8 55%, #cfd8f5 100%);
}
.wall.day .pulse .up {
  stroke: #6f86e6;
  opacity: 0.55;
}
.wall.day .pulse .down {
  stroke: #ee9d8f;
  opacity: 0.55;
}
.wall.night {
  background:
    radial-gradient(70% 90% at 100% 0%, #26388a 0%, transparent 62%),
    radial-gradient(60% 80% at 0% 100%, #5d2630 0%, transparent 60%),
    linear-gradient(170deg, #131b31 0%, #0d1322 60%, #0a0f1b 100%);
}
.wall.night .pulse .up {
  stroke: #3f58c9;
  opacity: 0.5;
}
.wall.night .pulse .down {
  stroke: #b34a45;
  opacity: 0.45;
}
.sample {
  margin: 8px 6px 0;
  height: 20px;
  font-size: 12.5px;
  color: var(--quiet);
  text-align: right;
}

/* a scaled canvas: authored at a fixed size, fitted by script */
.fit {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.fit > .canvas {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  transform: translate(var(--tx, 0px), 0) scale(var(--k, 1));
}

/* ---- hero stage ------------------------------------------------------ */
.hero .stage {
  padding: clamp(16px, 2.6vw, 36px) clamp(12px, 3.2vw, 44px) 0;
}
.who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}
.who p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: #26304a;
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.roles button {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2a3350;
  cursor: pointer;
}
.roles button:hover {
  background: rgba(255, 255, 255, 0.7);
}
.roles button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}
.ask {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(14px, 2vw, 24px);
  min-height: 52px;
}
.ask .face {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.ask q {
  quotes: none;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #161d33;
}
.ask.swap q,
.ask.swap .face {
  animation: rise 0.35s ease both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.hero .fit {
  margin-bottom: -1px;
}

/* ---- the browser window ---------------------------------------------- */
.win {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(13, 19, 34, 0.14),
    0 2px 4px rgba(13, 19, 34, 0.08),
    0 18px 30px -12px rgba(13, 19, 34, 0.3),
    0 50px 80px -30px rgba(13, 19, 34, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.win .bar {
  flex: none;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(#f6f7f9, #eceef2);
  border-bottom: 1px solid #d5dae2;
}
.win .bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
}
.win .bar i:nth-child(2) {
  background: #febc2e;
}
.win .bar i:nth-child(3) {
  background: #28c840;
}
.win .bar .url {
  margin-inline: auto;
  width: 44%;
  height: 26px;
  border-radius: 7px;
  background: #e2e6ec;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: #4a5362;
  transform: translateX(-26px);
}
.win .bar .url svg {
  width: 10px;
  height: 10px;
}

/* the app inside the window */
.app {
  flex: 1;
  display: flex;
  min-height: 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #1b2230;
}
.app .rail {
  flex: none;
  width: 196px;
  background: var(--rail);
  color: #c9d3e3;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app .rail .lg {
  padding: 2px 8px 16px;
}
.app .rail .lg svg {
  height: 22px;
  width: auto;
  display: block;
}
.app .rail span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}
.app .rail .ic {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}
.app .rail span.here .ic {
  opacity: 1;
}
.app .rail .me::before,
.app .rail .askai::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-inline: 1px;
  border: 1.5px solid currentColor;
  opacity: 0.7;
}
.app .rail span.here {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 2px 0 0 #8ea0f0;
}
.app .rail .me {
  margin-top: auto;
  font-weight: 500;
  color: #9fb0c8;
}
.app .rail .me::before {
  border-radius: 50%;
}
.app main {
  flex: 1;
  min-width: 0;
  padding: 22px 28px 0;
  background: #fff;
  position: relative;
}
.app .crumb {
  display: flex;
  justify-content: space-between;
  color: #667085;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.app h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}
.app .sub {
  margin: 4px 0 16px;
  color: #525b69;
}
.kpis {
  display: flex;
  border-block: 1px solid #e3e7ee;
  margin-bottom: 14px;
}
.kpis div {
  flex: 1;
  padding: 10px 14px 12px;
  border-left: 1px solid #e3e7ee;
}
.kpis div:first-child {
  border-left: 0;
  padding-left: 0;
}
.kpis small {
  display: block;
  color: #525b69;
  font-size: 12.5px;
}
.kpis b {
  font-family: var(--num);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.kpis b.bad {
  color: var(--coral-ink);
}
.kpis em {
  font-style: normal;
  font-size: 12.5px;
  color: #525b69;
  margin-left: 6px;
}

table.t {
  width: 100%;
  border-collapse: collapse;
}
table.t th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: #667085;
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid #cfd6e0;
}
table.t td {
  padding: 9px 10px 9px 0;
  border-bottom: 1px solid #e9ecf1;
  white-space: nowrap;
}
table.t td:first-child {
  font-weight: 600;
}
table.t .r {
  text-align: right;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3cad5;
  margin-right: 8px;
}
.dot.bad {
  background: var(--coral);
}
.dot.blue {
  background: var(--blue);
}
.ok {
  color: #667085;
}
.spark {
  display: inline-block;
  height: 6px;
  border-radius: 3px;
  background: #c3cad5;
  vertical-align: middle;
  margin-left: 8px;
}
.app .btn-s {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid #cfd6e0;
  font-weight: 600;
  font-size: 12.5px;
  background: #fff;
}
.app .btn-s.go {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* look-ahead and other time grids */
.grid-t {
  position: relative;
  border-top: 1px solid #cfd6e0;
}
.grid-t .cols {
  display: grid;
  margin-left: 230px;
  border-bottom: 1px solid #e3e7ee;
}
.grid-t .cols span {
  padding: 6px 8px;
  font-size: 12px;
  color: #667085;
  border-left: 1px solid #e9ecf1;
}
.grid-t .row {
  position: relative;
  height: 38px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
}
.grid-t .row > b {
  width: 230px;
  flex: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}
.grid-t .row > b small {
  display: block;
  font-weight: 400;
  color: #667085;
  font-size: 11.5px;
}
.grid-t .lane {
  position: relative;
  flex: 1;
  height: 100%;
  background-image: linear-gradient(90deg, #eef0f4 1px, transparent 1px);
}
.bar-b {
  position: absolute;
  top: 12px;
  height: 14px;
  border-radius: 4px;
  background: var(--blue);
}
.bar-b.base {
  background: #c9d0dc;
}
.bar-b.over {
  background: var(--coral);
  border-radius: 0 4px 4px 0;
}
.bar-b.soft {
  background: #a9b6ea;
}
.ms {
  position: absolute;
  top: 11px;
  width: 15px;
  height: 15px;
  background: var(--ink);
  transform: rotate(45deg);
  border-radius: 2px;
}
.ms.permit {
  background: #fff;
  border: 2.5px solid var(--blue);
}
.tag {
  position: absolute;
  top: 9px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
}
.today::before {
  content: "Today";
  position: absolute;
  top: 1px;
  left: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
}

/* crews */
.crew {
  display: grid;
  grid-template-columns: 170px repeat(5, 1fr);
  gap: 4px;
  font-size: 12.5px;
}
.crew .h {
  color: #667085;
  font-weight: 600;
  padding: 2px 6px;
}
.crew .n {
  font-weight: 600;
  display: flex;
  align-items: center;
}
.crew .c {
  min-height: 38px;
  border-radius: 6px;
  background: #e6eaf1;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #3d4654;
  line-height: 1.2;
}
.crew .c.free {
  background: transparent;
  box-shadow: inset 0 0 0 1px #e3e7ee;
  color: #9aa3b2;
}
.crew .c.clash {
  background: var(--coral-ink);
  color: #fff;
  font-weight: 700;
}
.crew .c.clash small {
  font-weight: 500;
  opacity: 0.9;
}

/* cards in the app: decisions, approvals */
.cards {
  display: grid;
  gap: 12px;
}
.cards.two {
  grid-template-columns: 1fr 1fr;
}
.card {
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}
.card h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: #525b69;
  font-size: 12.5px;
}
.card .to {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: #1b2230;
  font-weight: 600;
  font-size: 13px;
}
.av {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.card .done {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #e9ecf1;
  color: #1b2230;
  font-weight: 600;
  display: flex;
  gap: 8px;
}
.card .done::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.total {
  margin: 10px 0 12px;
}
.total .track {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: #e6eaf1;
}
.total .track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background: #b9c2d0;
}
.total .track i + i {
  background: var(--coral);
}
.total .track u {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--ink);
}
.total small {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 6px;
  color: #525b69;
  font-size: 12px;
}
.total small b {
  color: var(--coral-ink);
}
.acts-row {
  display: flex;
  gap: 8px;
}

/* ---- papers and other people's software (the week as it runs today) --- */
.art {
  position: absolute;
  background: #fff;
  color: #222a38;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 14px 28px -10px rgba(0, 0, 0, 0.55),
    0 40px 60px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}
.art .cap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.art .cap::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}
.art.xl .cap {
  background: #2f6f4f;
}
.art.mail .cap {
  background: #2c5fa8;
}
.art.erp .cap {
  background: #5a6270;
}
.art.sched .cap {
  background: #6b4fa0;
}
.art.sms .cap {
  background: #3a4252;
}
.art.paper {
  border-radius: 3px;
  padding: 18px 20px;
}
.art.paper h5 {
  margin: 0 0 2px;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.art.paper .meta {
  color: #667085;
  font-size: 11px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #222a38;
}
.cells {
  display: grid;
  font-family: var(--num);
  font-size: 10.5px;
}
.cells span {
  padding: 3px 6px;
  border-right: 1px solid #e1e5ea;
  border-bottom: 1px solid #e1e5ea;
  white-space: nowrap;
  overflow: hidden;
}
.cells .hd {
  background: #eef1f4;
  color: #667085;
  text-align: center;
  font-weight: 600;
}
.cells .bad {
  background: #fbe3e0;
  color: #8f2c26;
  font-weight: 700;
}
.cells .hl {
  background: #fff6c9;
}
.mail .body,
.sms .body {
  padding: 10px 12px;
}
.mail .sj {
  font-weight: 700;
  font-size: 13px;
}
.mail .fr {
  color: #667085;
  font-size: 11px;
  margin-bottom: 8px;
}
.mail .q {
  border-left: 2px solid #c3cad5;
  padding-left: 8px;
  color: #667085;
  margin-top: 6px;
}
.erp .body {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10.5px;
  padding: 8px 10px;
  background: #f4f5f7;
  white-space: pre;
  color: #2a3342;
}
.sms .body {
  background: #eef1f5;
  display: grid;
  gap: 6px;
}
.sms p {
  margin: 0;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
  max-width: 88%;
  font-size: 12px;
}
.sms p.me {
  background: #3b6fe0;
  color: #fff;
  justify-self: end;
}
.sched .body {
  padding: 10px 12px;
  display: grid;
  gap: 7px;
}
.sched .ln {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.sched .ln i {
  position: relative;
  height: 9px;
  border-radius: 2px;
  background: #b9a6dd;
}
.sched .ln i::after {
  content: "";
  position: absolute;
  inset: 0;
  left: var(--o, 60%);
  right: auto;
  width: var(--w, 20%);
  background: var(--coral);
  border-radius: 0 2px 2px 0;
}
.lines {
  display: grid;
  gap: 2px;
}
.lines span {
  display: flex;
  gap: 8px;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
}
.lines span b {
  flex: none;
  width: 14px;
  color: #667085;
  font-weight: 500;
  font-family: var(--num);
}
.chk {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  font-size: 11.5px;
}
.chk span:nth-child(even) {
  font-weight: 700;
  color: #667085;
}
.chk span.f {
  color: var(--coral-ink);
}
.chk .fl {
  color: var(--coral-ink);
  font-weight: 700;
}

/* things written on the wallpaper itself */
.note {
  position: absolute;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.note b {
  display: block;
  font-family: var(--num);
  font-size: 54px;
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
}
.note.coral b {
  color: #ff9d92;
}
.note small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.day-ink .note {
  color: var(--ink);
}
.day-ink .note small {
  color: var(--body);
}
.kinds {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 34px;
}
.kinds .bar {
  display: flex;
  gap: 3px;
  height: 12px;
}
.kinds .bar i {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}
.kinds .lab {
  display: flex;
  gap: 3px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
}
.kinds .lab span {
  white-space: nowrap;
  overflow: visible;
}
.kinds .lab b {
  font-family: var(--num);
  font-weight: 700;
  color: #fff;
  margin-right: 4px;
}

/* system and people tiles in the "where it sits" picture */
.tile {
  position: absolute;
  width: 208px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px 10px 44px;
  box-shadow:
    0 0 0 1px rgba(13, 19, 34, 0.1),
    0 10px 20px -10px rgba(13, 19, 34, 0.35);
  font-size: 12px;
  color: #525b69;
  line-height: 1.3;
}
.tile b {
  display: block;
  color: #1b2230;
  font-size: 13.5px;
}
.tile::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c, #5a6270);
}
.tile.person::before {
  border-radius: 50%;
  background: var(--ink);
}
.tile.off {
  background: #e9ecf2;
  box-shadow: 0 0 0 1px rgba(13, 19, 34, 0.12);
}
svg.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
svg.wires path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
}
svg.wires .flow {
  stroke-dasharray: 3 9;
  animation: flow 1.6s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}
.way {
  position: absolute;
  padding: 4px 10px;
  border-radius: 6px;
  background: #2a3550;
  color: #dfe6f5;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}

/* ---- scenes: one at a time on a stage -------------------------------- */
.scenes {
  position: absolute;
  inset: 0;
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
}
.scene.on {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s ease,
    visibility 0s;
}
.scene .e {
  opacity: 0;
  transform: translate(var(--x0, 0px), var(--y0, 22px)) rotate(var(--r0, 0deg));
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scene.on .e {
  opacity: 1;
  transform: rotate(var(--r, 0deg));
  transition-delay: var(--d, 0ms);
}
.scene.on.dim .fade {
  opacity: 0.2;
  transform: rotate(var(--r, 0deg)) scale(0.97);
}
.scene .late {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scene.on.dim .late {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.grow {
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scene.on .grow,
.live .grow {
  transform: none;
  transition-delay: var(--d, 0ms);
}
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s ease;
}
.scene.on .draw {
  stroke-dashoffset: 0;
  transition-delay: var(--d, 0ms);
}

/* ---- the acts -------------------------------------------------------- */
.lead {
  padding-block: clamp(56px, 9vw, 128px) clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: end;
}
.lead h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 800;
  text-wrap: balance;
}
.lead .terms {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
}
.lead p.say {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  color: var(--body);
}
@media (max-width: 900px) {
  .lead {
    grid-template-columns: 1fr;
  }
}
.monday {
  padding-top: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(8px, 4vw, 64px);
}
.monday h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
}
.monday p {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  color: var(--body);
  max-width: 40em;
}
@media (max-width: 900px) {
  .monday {
    grid-template-columns: 1fr;
  }
}

.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3.5vw, 56px);
  align-items: start;
}
.scrolly .pin {
  position: sticky;
  top: calc(68px + (var(--vh) - 96px - var(--stage-h)) / 2);
  height: calc(var(--stage-h) + 28px);
  order: 2;
  --stage-h: min(calc(var(--vh) - 150px), 44vw);
}
.scrolly .pin .stage {
  height: var(--stage-h);
}
.scrolly .pin .fit {
  height: 100%;
}
.steps {
  order: 1;
  padding-bottom: 12vh;
}
.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.step.on {
  opacity: 1;
}
.step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
.step h3 small {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--body);
  max-width: 30em;
}
@media (max-width: 900px) {
  .scrolly {
    display: block;
  }
  .scrolly .pin {
    top: 68px;
    z-index: 2;
    --stage-h: min(46svh, 72vw);
    margin-inline: calc(var(--gutter) * -1);
    background: var(--paper);
    padding: 8px 8px 0;
    height: calc(var(--stage-h) + 36px);
  }
  .scrolly .pin::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 28px;
    background: linear-gradient(var(--paper), transparent);
    pointer-events: none;
  }
  .step {
    min-height: 64svh;
    justify-content: flex-start;
    padding-top: 44px;
  }
}

/* ---- how: today and with CiviTrac ------------------------------------ */
.how {
  position: relative;
}
.how .hold {
  height: calc(var(--vh) * 2.1);
}
.how .held {
  position: sticky;
  top: 68px;
  height: calc(var(--vh) - 68px);
  display: flex;
  flex-direction: column;
  padding-block: 14px 18px;
  gap: 12px;
}
.topics {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topics .tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--mist);
}
.topics .tabs button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color: var(--body);
}
.topics .tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}
.topics .sample {
  margin: 0 0 0 auto;
  height: auto;
}
.topics p {
  margin: 0;
  color: var(--quiet);
  font-size: 14.5px;
}
.cmp {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.cmp .side {
  position: absolute;
  inset: 0;
}
.cmp .side.b {
  clip-path: inset(0 0 0 calc(var(--p, 0.5) * 100%));
}
.cmp .fit {
  position: absolute;
  inset: 0;
  height: 100%;
}
.cmp .name {
  position: absolute;
  top: 14px;
  z-index: 6;
  border: 0;
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.cmp .name.a {
  left: 14px;
  background: #fff;
  color: var(--ink);
}
.cmp .name.b {
  right: 14px;
  background: var(--ink);
  color: #fff;
}
.cmp .div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p, 0.5) * 100%);
  width: 44px;
  margin-left: -22px;
  z-index: 5;
  cursor: ew-resize;
  touch-action: none;
  display: grid;
  place-items: center;
}
.cmp .div::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(13, 19, 34, 0.25);
}
.cmp .div span {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(13, 19, 34, 0.2),
    0 8px 18px -6px rgba(13, 19, 34, 0.5);
  display: grid;
  place-items: center;
}
.cmp .div span svg {
  width: 20px;
  height: 20px;
}
.how .texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 56px);
  flex: none;
}
.how .texts h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.how .texts p {
  margin: 0;
  color: var(--body);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.42;
}
.how .texts div.dimmed {
  opacity: 0.45;
}
.how .texts div {
  transition: opacity 0.25s;
}
@media (max-width: 700px) {
  .how .texts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .how .texts div.dimmed {
    display: none;
  }
}

/* ---- closing --------------------------------------------------------- */
.close {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--mist);
  padding-block: clamp(48px, 7vw, 96px);
}
.close .cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
}
.close h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
}
.close p {
  margin: 0 0 22px;
  color: var(--body);
  font-size: 1.1rem;
}
details {
  border-top: 1px solid #cfd6e0;
}
details:last-child {
  border-bottom: 1px solid #cfd6e0;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(-135deg) translate(-4px, -4px);
}
details p {
  margin: 0 0 18px;
  font-size: 1rem;
  max-width: 44em;
}
@media (max-width: 900px) {
  .close .cols {
    grid-template-columns: 1fr;
  }
}
footer {
  padding-block: 28px 40px;
  color: var(--quiet);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
footer svg {
  height: 24px;
  width: auto;
  margin-right: auto;
}
footer a {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .scene,
  .scene .e,
  .scene .late,
  .grow,
  .draw,
  .step {
    transition: none !important;
  }
  svg.wires .flow,
  .ask.swap q,
  .ask.swap .face {
    animation: none;
  }
}

/* ---- additions: app with a top bar, small parts ----------------------- */
.app.top {
  flex-direction: column;
}
.app .nav {
  flex: none;
  height: 42px;
  background: var(--rail);
  color: #c9d3e3;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 13px;
}
.app .nav svg {
  height: 20px;
  width: auto;
  margin-right: 8px;
}
.app .nav .here {
  color: #fff;
  box-shadow: 0 13px 0 -11px #8ea0f0;
}
.app .nav .when {
  margin-left: auto;
  font-weight: 500;
  color: #9fb0c8;
}
.app.top main {
  padding: 18px 24px 0;
}
.kinds .ttl {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}
.kinds .ttl b {
  font-family: var(--num);
  font-size: 30px;
  letter-spacing: -0.03em;
  margin-right: 6px;
}
.kinds .lab {
  flex-wrap: wrap;
  gap: 2px 18px;
}
.app .kinds {
  position: static;
  margin-bottom: 14px;
}
.app .kinds .bar i {
  background: #aab4c4;
}
.app .kinds .bar i.hot {
  background: var(--blue);
}
.app .kinds .lab,
.app .kinds .lab b {
  color: #3d4654;
}
.mini {
  padding: 16px 18px;
  font-size: 12.5px;
  color: #525b69;
}
.mini svg {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}
.mini .rw {
  display: grid;
  grid-template-columns: 1fr 22px 22px 22px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #e9ecf1;
  color: #1b2230;
  font-weight: 600;
  white-space: nowrap;
}
.mini .rw.hd {
  color: #667085;
  font-weight: 600;
  font-size: 11px;
  grid-template-columns: 1fr 66px;
}
.mini .rw .dot {
  margin: 0;
  justify-self: center;
}
.multi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.multi .card b {
  display: block;
  font-size: 14px;
}
.multi .card svg {
  display: block;
  width: 100%;
  height: 56px;
  margin: 6px 0 4px;
  overflow: visible;
}
.multi .card .v {
  font-family: var(--num);
  font-weight: 700;
  font-size: 15px;
  color: #1b2230;
}
.multi .card .v small {
  font-family: var(--sans);
  font-weight: 500;
  color: #667085;
  margin-left: 6px;
  font-size: 12px;
}
.rolegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.rolegrid .card {
  padding: 12px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}
.rolegrid .card b {
  font-size: 13.5px;
}
.rolegrid .card p {
  margin-top: 4px;
}
.rolegrid .card .done,
.rolegrid .card .plan {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e9ecf1;
  font-size: 12.5px;
}
.rolegrid .card .plan {
  color: #667085;
  font-weight: 500;
}
.ghost {
  opacity: 0.55;
}
.chartnote {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}
svg.chart {
  position: absolute;
  overflow: visible;
}
svg.chart text {
  font-family: var(--num);
  font-size: 13px;
  fill: #fff;
  font-weight: 600;
}
svg.chart .ax {
  fill: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-family: var(--sans);
}
.gl {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  height: 36px;
  border-bottom: 1px solid #eef0f4;
  font-size: 12.5px;
  font-weight: 600;
}
.gl .lane {
  position: relative;
  height: 100%;
}
.gl .lane .bar-b {
  top: 11px;
}
.gl .lane .tag {
  top: 8px;
  color: var(--coral-ink);
}
.gbody {
  position: relative;
  padding: 10px 20px 0;
}
.gbody .fin {
  position: absolute;
  top: 6px;
  bottom: 34px;
  width: 0;
  border-left: 2px dashed #222a38;
}
.gbody .fin::before {
  content: "Approved finish";
  position: absolute;
  top: 0;
  right: 8px;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
}
.gbody .foot {
  padding: 8px 0;
  color: #667085;
  font-size: 12px;
}

.total small span:first-child {
  white-space: nowrap;
}
.app h5 {
  margin: 18px 0 2px;
  font-size: 13px;
  font-weight: 700;
}

.win.auto {
  top: 50% !important;
  height: auto !important;
  transform: translateY(-50%);
}
.win.auto main {
  padding-bottom: 24px;
}

.lead {
  scroll-margin-top: 60px;
}
@media (max-width: 700px) {
  .roles {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .roles button {
    white-space: nowrap;
  }
}

/* ---- the five pages in the hero, each at its own level of detail ------- */
.app .rail .askai {
  margin-top: 14px;
  color: #fff;
  background: rgba(142, 160, 240, 0.16);
}
.app .rail .askai::before {
  border: 0;
  border-radius: 0;
  opacity: 1;
  background: #8ea0f0;
  clip-path: polygon(
    50% 0,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0 50%,
    38% 38%
  );
}
.app h5.first {
  margin-top: 4px;
}

/* director: three figures and a short list */
.big3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 38px;
}
.big3 div {
  padding-left: 32px;
  border-left: 1px solid #e3e7ee;
}
.big3 div:first-child {
  padding-left: 0;
  border-left: 0;
}
.big3 b {
  display: block;
  font-family: var(--num);
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.big3 strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.big3 span {
  color: #667085;
  font-size: 13.5px;
}
.short div {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 13px 0;
  border-top: 1px solid #e9ecf1;
  font-size: 15px;
}
.short span {
  color: #3d4654;
}
.app .sub.foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e9ecf1;
}

/* project manager: the schedule */
.facts4 {
  display: flex;
  border-block: 1px solid #e3e7ee;
  margin-bottom: 8px;
}
.facts4 div {
  flex: 1;
  padding: 6px 12px 7px;
  border-left: 1px solid #e3e7ee;
  white-space: nowrap;
}
.facts4 div:first-child {
  border-left: 0;
  padding-left: 0;
}
.facts4 div:last-child {
  flex: 1.9;
}
.facts4 small {
  display: block;
  color: #667085;
  font-size: 11.5px;
}
.facts4 b {
  font-family: var(--num);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.facts4 b.bad,
.facts4 em {
  color: var(--coral-ink);
}
.facts4 b.txt {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0;
}
.facts4 em {
  font-style: normal;
  font-size: 11.5px;
  margin-left: 6px;
}
.plan-t {
  position: relative;
  font-size: 11.5px;
}
.plan-t .hd,
.plan-t .rw {
  display: grid;
  grid-template-columns: 36px 212px 126px 46px 1fr;
  align-items: center;
  height: 23px;
  border-bottom: 1px solid #eef0f4;
}
.plan-t .hd {
  color: #667085;
  font-weight: 600;
  font-size: 11px;
  border-bottom-color: #cfd6e0;
}
.plan-t .wk {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 100%;
}
.plan-t .wk span {
  border-left: 1px solid #e9ecf1;
  padding: 5px 0 0 4px;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
}
.plan-t .rw > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-t .rw > span:nth-child(1) {
  color: #667085;
  font-family: var(--num);
}
.plan-t .rw > span:nth-child(2) {
  font-weight: 600;
  padding-right: 8px;
}
.plan-t .rw > span:nth-child(3) {
  color: #525b69;
}
.plan-t .r {
  text-align: right;
  padding-right: 10px;
  font-family: var(--num);
}
.plan-t .grp {
  background: #f3f5f9;
}
.plan-t .grp > span:nth-child(2) {
  font-weight: 700;
}
.plan-t .ln {
  position: relative;
  height: 100%;
  background-image: linear-gradient(90deg, #eef0f4 1px, transparent 1px);
  background-size: 8.3333% 100%;
}
.plan-t .ln .base {
  position: absolute;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: #c3cad5;
}
.plan-t .ln .bar-b {
  top: 5px;
  height: 10px;
  border-radius: 3px;
}
.plan-t .ln .bar-b:has(+ .over) {
  border-radius: 3px 0 0 3px;
}
.plan-t .ln .bar-b.done {
  background: #8f9bb3;
}
.plan-t .ln .bar-b.over {
  border-radius: 0 3px 3px 0;
}
.plan-t .ln .ms {
  top: 5px;
  width: 11px;
  height: 11px;
}
.plan-t .ln .ms.was {
  background: #fff;
  border: 2px solid #9aa3b2;
}
.plan-t .ln .ms.late {
  background: var(--coral);
}
.plan-t .now {
  position: absolute;
  top: 23px;
  bottom: 0;
  width: 2px;
  background: var(--blue);
}

/* project controls: the ledger */
table.t.ledger {
  font-size: 12px;
}
table.t.ledger th {
  padding: 5px 12px 5px 0;
  font-size: 11px;
}
table.t.ledger td {
  padding: 4px 12px 4px 0;
  font-weight: 400;
}
table.t.ledger td:nth-child(2) {
  font-weight: 600;
}
table.t .r,
table.t td.num {
  text-align: right;
}
table.t.ledger td.num:first-child {
  text-align: left;
}
table.t td.over {
  color: var(--coral-ink);
  font-weight: 600;
}
table.t.ledger tr.hot td {
  background: #eef1fb;
}
table.t.ledger tr.hot td:first-child {
  box-shadow: inset 3px 0 0 var(--blue);
  padding-left: 8px;
}
table.t.ledger tfoot td {
  border-top: 1.5px solid #1b2230;
  border-bottom: 0;
  font-weight: 700;
  padding-top: 6px;
}
table.t.ledger + h5 {
  margin-top: 12px;
}

/* engineer: the drawing */
.cad {
  display: grid;
  grid-template-columns: 178px 1fr 204px;
  gap: 12px;
  height: 452px;
}
.cad h5 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #667085;
  font-weight: 600;
}
.cad .sheets div {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.25;
}
.cad .sheets div.here {
  background: #eef1fb;
  box-shadow: inset 3px 0 0 var(--blue);
}
.cad .sheets b {
  font-family: var(--num);
  font-size: 12px;
}
.cad .sheets span {
  grid-column: 1;
  color: #525b69;
}
.cad .sheets em {
  grid-column: 2;
  grid-row: 1;
  font-style: normal;
  color: #667085;
  font-size: 11.5px;
}
.cad .sheets .dot {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  vertical-align: 1px;
}
.cad .sheets p {
  margin: 10px 8px 0;
  font-size: 11.5px;
  color: #667085;
}
.cad .view {
  position: relative;
  border-radius: 8px;
  background: #0f1728;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px
  );
  background-size: 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cad .tools {
  flex: none;
  display: flex;
  gap: 4px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  font-weight: 600;
  color: #aab8d4;
}
.cad .tools span {
  padding: 3px 8px;
  border-radius: 5px;
}
.cad .tools .on {
  background: #f0775f;
  color: #1a0d0a;
}
.cad .tools .z {
  margin-left: auto;
  font-weight: 500;
}
.cad .view svg {
  flex: 1;
  min-height: 0;
  width: 100%;
  fill: none;
  stroke: #b7c9f0;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.cad .view svg text {
  fill: #93a8d6;
  stroke: none;
  font-family: var(--num);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.cad .view svg .frame {
  stroke: #3a4868;
  stroke-width: 1;
}
.cad .view svg .bus {
  stroke-width: 3.2;
  stroke: #dfe8ff;
}
.cad .view svg .fill {
  fill: #b7c9f0;
}
.cad .view svg .new {
  stroke: #fff;
  stroke-width: 1.5;
}
.cad .view svg .new.fill {
  fill: #fff;
}
.cad .view svg .rev {
  stroke: #f0775f;
  stroke-width: 1.3;
}
.cad .view svg .revt {
  fill: #f0775f;
  font-weight: 700;
  font-size: 8px;
}
.cad .view svg .pin {
  fill: #f0775f;
  stroke: none;
}
.cad .view svg .pinn {
  fill: #1a0d0a;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0;
}
.cad .view svg .tb {
  stroke: #6b7ca3;
  stroke-width: 0.9;
}
.cad .view svg .tb text {
  font-size: 7px;
  fill: #b7c9f0;
}
.live .cad .draw {
  stroke-dashoffset: 0;
  transition-delay: calc(400ms + var(--d, 0ms));
}
.cad .key {
  position: absolute;
  left: 24px;
  bottom: 22px;
  margin: 0;
  font-size: 11px;
  color: #f0a394;
}
.cad .chg ol,
.cad .chg ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: n;
}
.cad .chg li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid #e9ecf1;
  font-size: 12px;
  color: #525b69;
  line-height: 1.3;
}
.cad .chg ul li {
  padding-left: 0;
}
.cad .chg li b {
  display: block;
  color: #1b2230;
  font-size: 12.5px;
}
.cad .chg ol li::before {
  counter-increment: n;
  content: counter(n);
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: var(--num);
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
}

/* ---- the agent --------------------------------------------------------- */
.agent .stage {
  padding: clamp(14px, 3.4vw, 52px) clamp(10px, 3.4vw, 52px);
}
.win.flow {
  position: relative;
  max-width: 1060px;
  margin-inline: auto;
}
.abody {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 560px;
}
.asks {
  background: var(--mist);
  border-right: 1px solid #dfe4ec;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asks > p {
  margin: 0 8px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--quiet);
}
.asks button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}
.asks button:hover {
  background: #e7ebf2;
}
.asks button[aria-selected="true"] {
  background: #fff;
  box-shadow:
    0 0 0 1px #dfe4ec,
    0 1px 2px rgba(13, 19, 34, 0.06);
}
.asks button i {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #cdd4e0;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.asks button[aria-selected="true"] i {
  background: var(--ink);
  color: #fff;
}
.asks button b {
  font-size: 15px;
}
.asks button span {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--body);
}
.talk {
  padding: clamp(16px, 2.6vw, 30px) clamp(14px, 2.8vw, 34px) 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.talk .scope {
  margin: 0;
  font-size: 13px;
  color: var(--quiet);
  font-weight: 600;
}
.talk .said {
  margin: 0;
  align-self: flex-end;
  max-width: 34em;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 11px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.talk .read {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--body);
}
.talk .read li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.talk .read li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transform: translateY(1px);
}
.talk .read b {
  flex: none;
  width: 8.5em;
  color: var(--ink);
  font-weight: 600;
}
.talk .reply {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}
.talk .reply > svg {
  width: 30px;
  height: 26px;
  margin-top: 2px;
}
.talk .reply p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: 38em;
}
.talk table {
  width: 100%;
  max-width: 38em;
  border-collapse: collapse;
  font-size: 14.5px;
}
.talk td {
  padding: 8px 12px 8px 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.talk td:first-child {
  font-weight: 600;
}
.talk td:nth-child(2) {
  font-family: var(--num);
  white-space: nowrap;
}
.talk td:last-child {
  color: var(--body);
  padding-right: 0;
}
.talk .next {
  margin-left: 42px;
  max-width: 38em;
  border: 1px solid #cfd6e0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.talk .next div {
  flex: 1 1 16em;
}
.talk .next small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--quiet);
}
.talk .next p {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.35;
}
.talk .next span {
  flex: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.talk .box {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #cfd6e0;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--quiet);
  font-size: 15px;
}
.talk .box::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #cdd4e0
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 18V8.5M8.8 12.4L13 8.2l4.2 4.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.talk .s {
  opacity: 0;
  transform: translateY(10px);
}
.talk.play .s {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease var(--d, 0ms),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.agent .after {
  margin: 18px 6px 0;
  max-width: 46em;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .abody {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .asks {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe4ec;
    padding: 10px;
    scrollbar-width: none;
  }
  .asks > p,
  .asks button span {
    display: none;
  }
  .asks button {
    flex: none;
    grid-template-columns: 28px auto;
    padding: 6px 12px 6px 6px;
    white-space: nowrap;
  }
  .asks button i {
    grid-row: auto;
    width: 28px;
    height: 28px;
    font-size: 10.5px;
  }
  .talk {
    min-height: 620px;
  }
  .talk .next {
    margin-left: 0;
  }
  .talk .reply {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .talk .reply > svg {
    width: 24px;
    height: 21px;
  }
  .talk td {
    padding-right: 8px;
  }
  .talk .read b {
    width: 7.5em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .talk .s {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/* director, second version: portfolio health under time, cost and quality */
.health,
.worst > div {
  display: grid;
  grid-template-columns: 190px repeat(3, 1fr);
  gap: 0 26px;
}
.health {
  margin: 12px 0 18px;
  padding: 18px 0 20px;
  border-block: 1px solid #e3e7ee;
}
.health .sum b {
  display: block;
  font-family: var(--num);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.health .sum span {
  display: block;
  margin: 4px 0 16px;
  font-size: 15px;
  font-weight: 600;
}
.health .sum p {
  margin: 0;
  color: #525b69;
  font-size: 13px;
  line-height: 1.55;
}
.health h4 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.health h4 + p {
  margin: 1px 0 11px;
  color: #667085;
  font-size: 12.5px;
}
.waffle {
  display: grid;
  grid-template-columns: repeat(13, 13px);
  gap: 3px;
  margin-bottom: 13px;
}
.waffle i {
  height: 13px;
  border-radius: 3px;
  background: #d5dbe5;
}
.waffle i.mid,
.health li.mid::before {
  background: #8f9bb3;
}
.waffle i.bad,
.health li.bad::before {
  background: var(--coral);
}
.health ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #3d4654;
}
.health li {
  display: flex;
  gap: 7px;
  align-items: baseline;
  padding: 2px 0;
}
.health li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #d5dbe5;
}
.health li b {
  min-width: 1.5em;
  text-align: right;
  font-family: var(--num);
  color: #1b2230;
}
.worst > div {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecf1;
  font-size: 14px;
}
.worst .hd {
  padding: 0 0 6px;
  border-bottom-color: #cfd6e0;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

/* ---- portfolio views, shown on a wall screen --------------------------- */
.views .stage {
  padding: clamp(16px, 2.6vw, 36px) clamp(12px, 3.2vw, 44px)
    clamp(16px, 3vw, 44px);
}
.vsay {
  margin: 0 0 clamp(14px, 2vw, 22px);
  min-height: 2.9em;
  max-width: 46em;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.45;
  color: #26304a;
}
.tv {
  position: absolute;
  inset: 0;
  padding: 9px;
  border-radius: 14px;
  background: #0b0f1a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 4px rgba(13, 19, 34, 0.2),
    0 24px 40px -14px rgba(13, 19, 34, 0.45),
    0 60px 90px -36px rgba(13, 19, 34, 0.5);
}
.tv .scr {
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  line-height: 1.35;
  color: #1b2230;
}
.vnav {
  flex: none;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  background: var(--rail);
  color: #c9d3e3;
  font-weight: 600;
  font-size: 13px;
}
.vnav svg {
  height: 20px;
  width: auto;
  margin-right: 10px;
}
.vnav .here {
  color: #fff;
  box-shadow: 0 14px 0 -12px #8ea0f0;
}
.vnav em {
  margin-left: auto;
  font-style: normal;
  font-weight: 500;
  color: #9fb0c8;
}
.vnav em b {
  color: #fff;
  font-family: var(--num);
  font-size: 16px;
  margin-right: 4px;
}
.vbody {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 838px 1fr;
  background: #f3f5f9;
}
.vbody aside {
  background: #fff;
  border-left: 1px solid #dfe4ec;
  padding: 18px 20px;
}
.vbody aside h5 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.vbody aside p {
  margin: 0 0 14px;
  color: #525b69;
  font-size: 13px;
}
.vbody aside h6 {
  margin: 18px 0 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #667085;
}
.vbody .li {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding: 7px 0;
  border-top: 1px solid #e9ecf1;
  font-size: 12.5px;
}
.vbody .li span {
  flex: 1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vbody .li b {
  font-family: var(--num);
  font-weight: 600;
}
.dot.mid {
  background: #8f9bb3;
}
.tally {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.tally div {
  padding-left: 10px;
  border-left: 3px solid #c9d0dc;
}
.tally .bad {
  border-color: var(--coral);
}
.tally .mid {
  border-color: #8f9bb3;
}
.tally small {
  display: block;
  font-size: 11.5px;
  color: #525b69;
}
.tally b {
  font-family: var(--num);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
/* board */
.board {
  position: relative;
  margin: 8px 0 0 8px;
}
.board .grp {
  position: absolute;
  background: #fff;
  border-radius: 4px;
}
.board h6 {
  margin: 0;
  height: 24px;
  padding: 5px 8px 0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.board h6 span {
  margin-left: 8px;
  font-weight: 500;
  font-size: 11px;
  color: #667085;
}
.board .tiles {
  position: relative;
  margin: 2px 0 0 4px;
}
.board .tiles i {
  position: absolute;
  box-sizing: border-box;
  border-top: 3px solid #b3bccb;
  background: #edf0f5;
  padding: 3px 6px;
  overflow: hidden;
  font-style: normal;
}
.board .tiles i.mid {
  border-top-color: #6f7c95;
  background: #dfe4ed;
}
.board .tiles i.bad {
  border-top-color: var(--coral);
  background: #f6dcd8;
}
.board .tiles u {
  display: block;
  text-decoration: none;
  font-size: 11px;
  color: #3d4654;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board .tiles b {
  font-family: var(--num);
  font-size: 19px;
  letter-spacing: -0.03em;
}
/* wall chart */
.wallc {
  position: relative;
  flex: 1;
  padding: 0 14px;
  background: #fff;
}
.wallc .ax,
.wallc .lane {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.wallc .ax > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.wallc .ax b {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 6px;
  border-left: 1px solid #cfd6e0;
  font-family: var(--num);
  font-size: 14px;
  text-indent: 6px;
}
.wallc .ax b i {
  grid-row: 2;
  font-style: normal;
  font-weight: 500;
  font-size: 10.5px;
  color: #667085;
  padding: 2px 0 4px;
  border-left: 1px solid #eef0f4;
}
.wallc .ax b i:first-of-type {
  border-left: 0;
}
.wallc .lane {
  border-top: 1px solid #dfe4ec;
}
.wallc .lane > span {
  padding: 7px 0;
  font-size: 11.5px;
  color: #667085;
}
.wallc .lane > span b {
  display: block;
  font-size: 13px;
  color: #1b2230;
}
.wallc .lane > div {
  position: relative;
  min-height: 42px;
  background-image: linear-gradient(90deg, #eef0f4 1px, transparent 1px);
  background-size: 6.25% 100%;
}
.wallc .lane i {
  position: absolute;
  height: 4px;
  border-radius: 2px;
  background: #9aa6bd;
}
.wallc .lane i.mid {
  background: #4f5c78;
  border-radius: 0 2px 2px 0;
}
.wallc .lane i.bad {
  background: var(--coral);
  border-radius: 0 2px 2px 0;
}
.wallc .now {
  position: absolute;
  top: 0;
  bottom: 30px;
  width: 2px;
  background: var(--blue);
}
.wallc .now span {
  position: absolute;
  top: 5px;
  right: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.wallc .key {
  position: absolute;
  left: 14px;
  bottom: 8px;
  margin: 0;
  font-size: 11.5px;
  color: #525b69;
}
.wallc .key i {
  display: inline-block;
  width: 22px;
  height: 5px;
  border-radius: 2px;
  background: #9aa6bd;
  margin: 0 7px 2px 18px;
}
.wallc .key i:first-child {
  margin-left: 0;
}
.wallc .key i.mid {
  background: #4f5c78;
}
.wallc .key i.bad {
  background: var(--coral);
}
/* atlas */
svg.atlas {
  width: 838px;
  height: 566px;
}
svg.atlas .land {
  fill: #fff;
  stroke: #b9c3d6;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
svg.atlas .river {
  fill: none;
  stroke: #cfdcf5;
  stroke-width: 7;
  stroke-linecap: round;
}
svg.atlas .route {
  fill: none;
  stroke: #9aa6bd;
  stroke-width: 1.4;
  stroke-dasharray: 5 4;
}
svg.atlas circle {
  fill: #aab4c6;
  fill-opacity: 0.8;
  stroke: #fff;
  stroke-width: 1.2;
}
svg.atlas circle.mid {
  fill: #5d6a86;
}
svg.atlas circle.bad {
  fill: var(--coral);
  fill-opacity: 0.92;
}
svg.atlas .town {
  fill: #1b2230;
}
svg.atlas text {
  font-size: 11.5px;
  font-weight: 600;
  fill: #1b2230;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
}
/* ledger */
.ledg {
  flex: 1;
  padding: 0 18px;
  background: #fff;
}
.ledg .strip {
  display: flex;
  gap: 26px;
  padding: 12px 0 10px;
  border-bottom: 1px solid #dfe4ec;
  color: #525b69;
  font-size: 12.5px;
}
.ledg .strip b {
  font-family: var(--num);
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #1b2230;
  margin-right: 6px;
}
.ledg .strip .bad b {
  color: var(--coral-ink);
}
.ledg table.t.ledger td {
  padding-block: 4.5px;
}
.ledg table.t.ledger td:first-child {
  font-weight: 400;
  padding-left: 18px;
}
.ledg table.t.ledger td:nth-child(2) {
  font-weight: 400;
}
.ledg tr.grp td {
  background: #f3f5f9;
  font-weight: 700 !important;
}
.ledg table.t.ledger tr.grp td:first-child {
  padding-left: 8px;
}
.ledg tr.grp small {
  margin-left: 8px;
  font-weight: 500;
  color: #667085;
}
.ledg .mix {
  display: inline-flex;
  width: 70px;
  height: 7px;
  border-radius: 2px;
  overflow: hidden;
  margin-right: 8px;
  vertical-align: 1px;
}
.ledg .mix i {
  background: #c9d0dc;
}
.ledg .mix i.mid {
  background: #8f9bb3;
}
.ledg .mix i.bad {
  background: var(--coral);
}
.ledg .bar {
  display: inline-block;
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: #e3e7ee;
  margin-right: 8px;
  vertical-align: 1px;
}
.ledg .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}

/* ---- documents, meetings and reviews ----------------------------------- */
.works {
  border-top: 1px solid var(--ink);
}
.works > div {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 8px clamp(16px, 3vw, 48px);
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.works h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.works p {
  margin: 0;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.45;
}
.works dl {
  margin: 0;
  font-size: 0.95rem;
}
.works dt {
  color: var(--quiet);
  font-size: 0.85rem;
  font-weight: 600;
}
.works dd {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 600;
}
.works dd.plan {
  color: var(--body);
  font-weight: 500;
}
@media (max-width: 860px) {
  .works > div {
    grid-template-columns: 1fr;
  }
  .works dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
  }
  .works dd {
    margin: 0;
  }
}

/* ---- resources view ---------------------------------------------------- */
.heat {
  padding: 14px 16px 0;
  background: #fff;
}
.heat .hr {
  display: grid;
  grid-template-columns: 178px repeat(12, 1fr);
  gap: 3px;
  margin-bottom: 3px;
  align-items: stretch;
}
.heat .hd {
  margin-bottom: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  align-items: end;
}
.heat .hd b {
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
}
.heat .hd small {
  display: block;
  min-height: 12px;
  font-size: 10.5px;
  font-weight: 500;
}
.heat .hr > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 11.5px;
  color: #667085;
}
.heat .hr > span b {
  font-size: 13px;
  color: #1b2230;
}
.heat .hr i {
  height: 44px;
  border-radius: 4px;
  background: #edf0f5;
  color: #667085;
  font-style: normal;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.heat i.busy {
  background: #cfd6e3;
  color: #2a3350;
}
.heat i.full {
  background: #f3c4bd;
  color: #7a231d;
}
.heat i.over {
  background: var(--coral-ink);
  color: #fff;
}
.heat .key {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: #525b69;
}
.heat .key i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #edf0f5;
  margin: 0 7px 0 18px;
  vertical-align: -3px;
}
.heat .key i:first-child {
  margin-left: 0;
}
.heat .key i.busy {
  background: #cfd6e3;
}
.heat .key i.full {
  background: #f3c4bd;
}
.heat .key i.over {
  background: var(--coral-ink);
}
.vbody aside p.case {
  margin: 0;
  color: #1b2230;
  font-size: 13px;
  line-height: 1.45;
}

/* ---- regulatory and audit ---------------------------------------------- */
.app.ext .nav {
  height: 46px;
}
.app.ext main,
.app.ext + main {
  padding: 24px 32px 0;
}
.app.ext table.t td {
  padding-block: 11px;
}
.app .notshown {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #e3e7ee;
  color: #667085;
  font-size: 12.5px;
}
.app .filters {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #525b69;
  font-weight: 600;
}
.app .filters b {
  font-family: var(--num);
  font-weight: 500;
  color: #667085;
  margin-left: 3px;
}
.app .filters .on {
  color: #1b2230;
  box-shadow: 0 7px 0 -5px var(--blue);
}
table.t.trail {
  font-size: 12.5px;
}
table.t.trail td {
  padding-block: 8px;
}
table.t.trail td:first-child {
  font-weight: 400;
  font-family: var(--num);
  font-size: 12px;
}
table.t.trail td:nth-child(2) {
  font-weight: 600;
}
.app tfoot td {
  border-top: 1.5px solid #1b2230;
  border-bottom: 0;
  font-weight: 700;
}
.track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 26px 0 30px;
}
.track div {
  position: relative;
  padding-top: 26px;
  font-size: 13px;
  color: #667085;
}
.track div::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 3px;
  background: #dfe4ec;
}
.track .done::before {
  background: var(--blue);
}
.track .now::before {
  background: linear-gradient(90deg, var(--blue) 45%, #dfe4ec 45%);
}
.track i {
  position: absolute;
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #c3cad5;
  box-sizing: border-box;
}
.track .done i,
.track .now i {
  border-color: var(--blue);
}
.track .done i {
  background: var(--blue);
}
.track b {
  display: block;
  color: #1b2230;
  font-size: 14.5px;
  padding-right: 12px;
}
.app .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.app .two h5 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #667085;
  font-weight: 600;
}
.li2 {
  padding: 12px 0;
  border-top: 1px solid #e9ecf1;
  font-size: 14px;
}
.li2 b {
  display: block;
}
.li2 span {
  color: #525b69;
  font-size: 13px;
}
.views .after {
  margin: 14px 6px 0;
  max-width: 46em;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.45;
}

/* ---- hero photograph: the work, at the top right of the stage ----------- */
.hero .stage {
  padding-top: clamp(20px, 3.6vw, 52px);
}
.hero .stage .wall::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  top: calc(var(--ph) * -0.07);
  --pw: max(78%, 560px);
  --ph: calc(var(--pw) / 3);
  width: var(--pw);
  aspect-ratio: 3 / 1;
  background: url("img/hero.jpg") right top / cover no-repeat;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 42%),
    linear-gradient(to bottom, #000 62%, transparent 96%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 42%),
    linear-gradient(to bottom, #000 62%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero .stage .wall::after {
  z-index: 2;
}
/* On narrow screens the tabs wrap across the stage, so the photograph gets
   its own space above them instead of sitting behind them. */
@media (max-width: 900px) {
  .hero .stage {
    padding-top: calc(max(78%, 560px) / 3 * 0.8);
  }
  .hero .stage .wall::before {
    top: 0;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 30%),
      linear-gradient(to bottom, #000 52%, transparent 92%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 30%),
      linear-gradient(to bottom, #000 52%, transparent 92%);
  }
}
/* the tabs can cross the photograph, so here they are a solid surface */
.hero .roles {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* the first tab stop: a way past the masthead for keyboard users */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ---- promo: the AI assistant, first thing under the masthead ------------ */
.promo {
  padding-top: clamp(20px, 3vw, 40px);
}
.promo-head {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(20px, 2.6vw, 34px);
}
.promo-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.024em;
  font-weight: 800;
  text-wrap: balance;
}
.promo-head .deck {
  margin: 0;
}
/* The wallpaper is drawn here in CSS, so the promo needs no script. */
.pstage {
  position: relative;
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(14px, 3.2vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  background:
    radial-gradient(70% 90% at 100% 0%, #aebcf3 0%, transparent 62%),
    radial-gradient(60% 80% at 0% 100%, #f3c6bd 0%, transparent 60%),
    linear-gradient(170deg, #eef1fc 0%, #dbe2f8 55%, #cfd8f5 100%);
}
.pstage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.11;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pwin {
  max-width: none;
  margin: 0;
}
.pbody {
  padding: clamp(16px, 2.2vw, 28px) clamp(16px, 2.4vw, 32px)
    clamp(16px, 2vw, 24px);
  display: grid;
  gap: 16px;
  color: #1b2230;
}
.pbody p {
  margin: 0;
}
.phead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.phead .crumb {
  font-size: 13px;
  color: var(--quiet);
}
.phead h3 {
  margin: 2px 0 0;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.phead .when {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--body);
  text-align: right;
}
.phead .when i {
  order: 2;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.pbody .lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--quiet);
}
.brief .lbl::before,
.pq .lbl::before {
  content: "";
  width: 16px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1 8.5L5 4.5l3 3L15 1' fill='none' stroke='%23225d9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1 13l4-3 3 2 7-5' fill='none' stroke='%23e85b42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.brief ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.brief li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.brief li:first-child {
  border-top: 0;
  padding-top: 2px;
}
.brief li p {
  font-size: 15px;
  line-height: 1.4;
}
.brief li small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--quiet);
}
.draft,
.pq {
  border: 1px solid #cfd6e0;
  border-radius: 12px;
  padding: 14px 16px;
}
.draft h4 {
  margin: -2px 0 6px;
  font-size: 1.05rem;
}
.draft p:not(.lbl),
.pq p:not(.lbl) {
  font-size: 15px;
  line-height: 1.42;
  max-width: 40em;
}
.pbody .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pbtn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #cfd6e0;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pbtn.go {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pbody .learned {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.learned span:first-child {
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(38, 53, 122, 0.35);
}
.learned span:last-child {
  color: var(--quiet);
}

/* the people around it */
.people {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.6vw, 22px);
}
.people img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(13, 19, 34, 0.08),
    0 14px 28px -16px rgba(13, 19, 34, 0.45);
}
.people p {
  margin: 10px 2px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: #26304a;
}
.people b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.pnote {
  margin: clamp(22px, 2.6vw, 34px) 2px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(38, 48, 74, 0.16);
  font-size: 15px;
  line-height: 1.45;
  color: #26304a;
}
@media (min-width: 1101px) {
  .people img {
    aspect-ratio: 1 / 1;
  }
  .people li:nth-child(1) img,
  .people li:nth-child(2) img {
    object-position: 72% 50%;
  }
  .people li:nth-child(3) img {
    object-position: 38% 50%;
  }
  .people li:nth-child(4) img {
    object-position: 78% 50%;
  }
}
.promo + .hero {
  padding-top: clamp(48px, 6vw, 88px);
}

/* One moment: on arrival, the morning's work appears in the window in the
   order CiviTrac prepared it. Without motion it is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .p-in {
    animation: p-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.35s + var(--i, 0) * 0.28s);
  }
}
@keyframes p-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 1100px) {
  .pstage {
    grid-template-columns: minmax(0, 1fr);
  }
  .people {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .promo-head {
    grid-template-columns: 1fr;
  }
  .people {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .pstage {
    padding: 12px 12px 16px;
  }
  .pbody {
    padding: 14px 14px 16px;
    gap: 14px;
  }
  .phead {
    flex-direction: column;
    align-items: flex-start;
  }
  .phead .when {
    text-align: left;
  }
  .phead .when i {
    order: 0;
  }
  .people {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 4px 2px 0;
  }
  .people li {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .people img {
    border-radius: 10px;
  }
  .people p {
    margin: 0;
    font-size: 14px;
  }
  .brief li:nth-child(3) {
    display: none;
  }
}
