/* Current Northcote workspace illustration; all rules are scoped to the homepage figure. */
.product-workflow__app {
  --pw-ink: #22252b;
  --pw-muted: #6b7079;
  --pw-line: #e1e4e8;
  --pw-surface: #fff;
  --pw-purple: #7161a8;
  --pw-branch-gap: 14px;
  display: grid;
  grid-template-columns: 172px 304px minmax(0, 1fr);
  width: 100%;
  height: min(760px, 82vh);
  min-height: 620px;
  overflow: hidden;
  color: var(--pw-ink);
  background: var(--pw-surface);
  border: 1px solid #d9dde2;
  border-radius: 12px;
  box-shadow: 0 18px 52px #18212b0b;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
}
.product-workflow__app *, .product-workflow__app *::before, .product-workflow__app *::after { box-sizing: border-box; }
.product-workflow__sidebar {
  min-width: 0;
  padding: 20px 12px;
  background: #f1f2f4;
  border-right: 1px solid #e4e6e9;
}
.product-workflow__brand { display: flex; align-items: center; gap: 9px; padding: 0 5px 24px; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.product-workflow img.product-workflow__logo { display: block; width: 26px; height: 26px; flex: none; }
.product-workflow__sidebar-label { padding: 0 9px 8px; color: #777d86; font-size: 12px; font-weight: 600; }
.product-workflow__active-chat { padding: 10px 9px; border-radius: 7px; background: #fff; font-size: 14px; line-height: 1.35; }
.product-workflow__conversation { display: flex; min-width: 0; min-height: 0; flex-direction: column; padding: 0 18px 14px; background: #fff; border-right: 1px solid var(--pw-line); }
.product-workflow__conversation-head { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eceef1; }
.product-workflow__conversation-title { min-width: 0; }
.product-workflow__conversation-title strong { display: block; overflow: hidden; font-size: 15px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.product-workflow__conversation-title small { display: block; margin-top: 1px; color: var(--pw-muted); font-size: 12px; }
.product-workflow__views { flex: none; padding: 6px 9px; color: #555b65; border: 1px solid #e1e3e7; border-radius: 7px; font-size: 13px; white-space: nowrap; }
.product-workflow__messages { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 24px; padding: 23px 0; }
.product-workflow__message { max-width: 95%; margin: 0 0 0 auto; padding: 12px 14px; background: #f2f3f5; border-radius: 12px 12px 3px 12px; font-size: 14px; line-height: 1.5; }
.product-workflow__reply { display: flex; align-items: flex-start; gap: 9px; }
.product-workflow__reply-mark { display: grid; width: 23px; height: 23px; flex: none; place-items: center; border-radius: 50%; color: #fff; background: #343a43; font-size: 11px; font-weight: 700; }
.product-workflow__reply p { margin: 1px 0 0; font-size: 14px; line-height: 1.55; }
.product-workflow__composer { display: flex; min-height: 46px; align-items: center; gap: 10px; padding: 7px 8px 7px 12px; color: #777d86; border: 1px solid #dfe2e6; border-radius: 10px; font-size: 13px; }
.product-workflow__composer-placeholder { flex: 1; }
.product-workflow__model-choice { padding: 5px 7px; color: #505661; background: #f5f6f7; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.product-workflow__composer-mark { display: grid; width: 28px; height: 28px; flex: none; place-items: center; color: #fff; background: #343a43; border-radius: 7px; font-size: 17px; }
.product-workflow__pane { display: flex; min-width: 0; min-height: 0; flex-direction: column; background: #fafbfc; }
.product-workflow__pane-head { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--pw-line); }
.product-workflow__pane-head h3 { min-width: 0; margin: 0; font-size: 17px; font-weight: 620; line-height: 1.25; }
.product-workflow__mobile-brand { display: none; }
.product-workflow__mobile-brand img { display: block; width: 20px; height: 20px; }
.product-workflow__expand { flex: none; padding: 7px 10px; color: #464b54; background: #fff; border: 1px solid #d9dde2; border-radius: 7px; font: inherit; font-size: 12px; cursor: pointer; }
.product-workflow__expand:hover { background: #f2f3f5; }
.product-workflow__expand:focus-visible, .product-workflow__scroll:focus-visible { outline: 3px solid #8976bf; outline-offset: -3px; }
.product-workflow__scroll-note { margin: 0; padding: 9px 18px 6px; color: var(--pw-muted); font-size: 13px; }
.product-workflow__scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior-y: auto; padding: 2px 16px 22px; scrollbar-gutter: stable; }
.product-workflow__steps { margin: 0; padding: 0 0 4px; list-style: none; }
.product-workflow__step { position: relative; padding: 12px 0 26px; }
.product-workflow__step:not(.product-workflow__step--outcome)::after { position: absolute; bottom: 0; left: 50%; height: 19px; border-left: 1px solid #c9cdd4; content: ''; }
.product-workflow__action { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; background: #fff; border: 1px solid #e0e3e7; border-radius: 9px; }
.product-workflow__step-number { display: grid; width: 26px; height: 26px; flex: none; place-items: center; color: #666d77; background: #f2f3f5; border-radius: 50%; font-size: 12px; font-weight: 650; }
.product-workflow__action h4 { margin: 0; font-size: 16px; font-weight: 620; line-height: 1.3; }
.product-workflow__action p { margin: 4px 0 0; color: #555c66; font-size: 15px; line-height: 1.45; }
.product-workflow__decision { position: relative; padding: 0 0 0; }
.product-workflow__question { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; padding: 11px 17px; text-align: center; background: #f3f0f9; border: 1px solid #ddd5ee; border-radius: 12px; }
.product-workflow__question > span { display: block; margin-bottom: 2px; color: #66558e; font-size: 12px; font-weight: 650; }
.product-workflow__question h4 { margin: 0; font-size: 16px; font-weight: 620; line-height: 1.3; }
.product-workflow__question::after { position: absolute; top: 100%; left: 50%; height: 14px; border-left: 1px solid #c9cdd4; content: ''; }
.product-workflow__branches { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pw-branch-gap); padding-top: 28px; }
.product-workflow__branches::before { position: absolute; top: 14px; left: calc(25% - var(--pw-branch-gap) / 4); right: calc(25% - var(--pw-branch-gap) / 4); border-top: 1px solid #c9cdd4; content: ''; }
.product-workflow__branch { position: relative; min-width: 0; min-height: 76px; padding: 11px 12px; background: #fff; border: 1px solid #e0e3e7; border-radius: 8px; }
.product-workflow__branch::before { position: absolute; bottom: 100%; left: 50%; height: 14px; border-left: 1px solid #c9cdd4; content: ''; }
.product-workflow__branch-label { display: block; margin-bottom: 4px; color: #686f79; font-size: 13px; font-weight: 650; }
.product-workflow__branch p { margin: 0; color: #444b55; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.product-workflow__branch strong { font-weight: 650; }
.product-workflow__branch--exception { background: #fbf9ff; border-color: #ded7ee; }
.product-workflow__branch--exception .product-workflow__branch-label { color: var(--pw-purple); }
.product-workflow__merge { position: relative; display: grid; height: 34px; place-items: end center; color: #777d86; font-size: 19px; line-height: 1; }
.product-workflow__merge::before { position: absolute; top: 0; left: calc(25% - var(--pw-branch-gap) / 4); right: calc(25% - var(--pw-branch-gap) / 4); height: 14px; border: 1px solid #c9cdd4; border-top: 0; content: ''; }
.product-workflow__merge::after { position: absolute; top: 13px; left: 50%; height: 14px; border-left: 1px solid #c9cdd4; content: ''; }
.product-workflow__merge span { position: relative; z-index: 1; padding: 0 3px; background: #fafbfc; }
.product-workflow__step--outcome { padding-top: 14px; padding-bottom: 6px; }
.product-workflow__step--outcome .product-workflow__action { background: #f7f8fa; border-color: #cfd4db; }
.product-workflow__outcome-mark { display: grid; width: 26px; height: 26px; flex: none; place-items: center; color: #fff; background: #555d68; border-radius: 50%; font-size: 15px; }
.product-workflow__app.is-expanded { grid-template-columns: minmax(0, 1fr); }
.product-workflow__app.is-expanded .product-workflow__sidebar,
.product-workflow__app.is-expanded .product-workflow__conversation { display: none; }
.product-workflow__app.is-expanded .product-workflow__scroll { padding-inline: clamp(18px, 5vw, 72px); }
.product-workflow figcaption { margin-top: 10px; }
@media (max-width: 1000px) {
  .product-workflow__app { grid-template-columns: minmax(0, 1fr); }
  .product-workflow__sidebar, .product-workflow__conversation { display: none; }
  .product-workflow__expand { display: none; }
  .product-workflow__scroll { padding-inline: clamp(16px, 5vw, 52px); }
}
@media (max-width: 700px) {
  .product-workflow__app { --pw-branch-gap: 8px; height: min(760px, 78vh); min-height: 520px; border-radius: 10px; }
  .product-workflow__pane-head { min-height: 0; align-items: flex-start; flex-direction: column; gap: 4px; padding: 9px 14px; }
  .product-workflow__mobile-brand { display: flex; align-items: center; gap: 7px; color: #20242a; font-size: 13px; font-weight: 650; line-height: 1.2; }
  .product-workflow__pane-head h3 { font-size: 16px; }
  .product-workflow__expand { display: none; }
  .product-workflow__scroll-note { padding-inline: 14px; }
  .product-workflow__scroll { padding: 2px 14px 18px; }
  .product-workflow__branches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 28px; }
  .product-workflow__branch { min-height: 126px; padding: 10px 8px; }
  .product-workflow__merge { height: 34px; }
  .product-workflow__merge::before { top: 0; height: 14px; }
  .product-workflow__merge::after { top: 13px; height: 14px; }
  .product-workflow__step { padding-bottom: 23px; }
  .product-workflow__step:not(.product-workflow__step--outcome)::after { height: 16px; }
}
