:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #64686d;
  --soft: #f5f5f3;
  --panel: #fafaf8;
  --line: #c9cac7;
  --line-dark: #191b1d;
  --green: #139b28;
  --green-dark: #0d7d20;
  --green-soft: #e5f7e6;
  --red: #bf3e38;
  --red-soft: #fde8e5;
  --amber: #ad6800;
  --amber-soft: #fff9ea;
  --blue-grey: #8498aa;
  --page-width: 1760px;
  --header-height: 86px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.presentation,
.deck-track,
.slide {
  width: 100%;
  height: 100%;
}

.presentation {
  position: relative;
  overflow: hidden;
  background: #fff;
  touch-action: pan-x;
}

.deck-track {
  transition: transform 620ms cubic-bezier(.2, .72, .22, 1);
  will-change: transform;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(30, 30, 20, .015), transparent 48%),
    #fff;
  opacity: .15;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 280ms ease, transform 520ms ease, visibility 0s linear 620ms;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.slide-shell {
  width: min(var(--page-width), calc(100% - 92px));
  height: 100%;
  margin: 0 auto;
  padding: 22px 0 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Each approved desktop prototype uses its own safe canvas. Keeping those
   canvases explicit prevents dashboard content from being enlarged to fill
   an arbitrarily tall browser window. */
@media (min-width: 701px) and (min-height: 861px) {
  .page-header {
    position: relative;
  }

  .page-header span {
    position: absolute;
    top: calc(100% + 17px);
    right: 2px;
  }

  .slide-intro .slide-shell {
    width: min(1780px, calc(100% - 92px));
    padding-top: 76px;
  }

  .slide-intro .page-header {
    min-height: 76px;
  }

  .slide-intro .intro-main {
    flex-basis: 501px;
  }

  .slide-advantages-overview .slide-shell,
  .slide-responsive .slide-shell,
  .slide-collaboration .slide-shell,
  .slide-interaction .slide-shell,
  .slide-realtime .slide-shell,
  .slide-methods-overview .slide-shell {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .slide-advantages-overview .slide-shell,
  .slide-methods-overview .slide-shell {
    width: min(1620px, calc(100% - 92px));
    height: min(1080px, calc(100% - 48px));
    top: max(24px, calc((100% - 1088px) / 2));
    padding-block: 0;
  }

  .slide-responsive .slide-shell {
    width: min(1516px, calc(100% - 92px));
    height: min(970px, calc(100% - 48px));
    top: max(24px, calc((100% - 1012px) / 2));
    padding-block: 0;
  }

  .slide-collaboration .slide-shell {
    width: min(1516px, calc(100% - 92px));
    height: min(1035px, calc(100% - 48px));
    top: max(24px, calc((100% - 1012px) / 2));
    padding-block: 0;
  }

  .slide-interaction .slide-shell {
    width: min(1516px, calc(100% - 92px));
    height: min(1050px, calc(100% - 48px));
    top: max(24px, calc((100% - 1012px) / 2));
    padding-block: 0;
  }

  .slide-realtime .slide-shell {
    width: min(1620px, calc(100% - 92px));
    height: min(1080px, calc(100% - 48px));
    top: max(24px, calc((100% - 1088px) / 2));
    padding-block: 0;
  }

  .slide:not(.slide-intro) .feature-heading {
    min-height: 164px;
  }

  .slide-intro .roles {
    flex: 0 0 410px;
    padding-top: 60px;
  }

  .slide-intro .roles > h2 {
    margin-bottom: 38px;
  }

  .slide-intro .role-grid article {
    min-height: 150px;
  }

  .slide-intro .fact-note {
    margin-top: 30px;
  }

  .slide-interaction .metric-grid article {
    min-height: 86px;
  }

  .slide-interaction .budget-fields label {
    min-height: 60px;
  }

  .slide-interaction .budget-charts svg {
    height: 210px;
  }

  .slide-interaction .stacked-bar {
    height: 55px;
  }

  .slide-realtime .live-charts svg {
    height: 220px;
  }

  .slide-realtime .update-table-card th,
  .slide-realtime .update-table-card td {
    padding-block: 7px;
  }
}

.page-header {
  min-height: 64px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--line-dark);
  padding: 0 2px 15px;
}

.page-header strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.45px;
  font-weight: 740;
}

.page-header span {
  font-size: 15px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #2e3033;
}

.eyebrow {
  display: block;
  color: #4d5054;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 20px;
}

h1,
h2,
h3,
p,
dl,
dd,
dt,
pre {
  margin: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: -.8px;
  font-weight: 760;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 730;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
}

.page-footer {
  min-height: 54px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  border-top: 1.5px solid var(--line-dark);
  padding: 13px 2px 0;
  font-size: 13px;
  color: #303337;
}

.page-dots {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 2px;
}

.page-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #d0d0ce;
  padding: 0;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.page-dot:is(:hover, :focus-visible) {
  outline: 2px solid rgba(191, 62, 56, .22);
  outline-offset: 4px;
}

.page-dot.is-active {
  background: var(--red);
  transform: scale(1.05);
}

.gesture-hint {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  font-size: 13px;
}

.gesture-hint svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.gesture-hint b {
  font-weight: 520;
}

.mobile-only {
  display: none !important;
}

.muted {
  color: #74787d;
}

.green {
  color: var(--green) !important;
}

.red {
  color: var(--red) !important;
}

.warning-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #c78510;
  border-radius: 6px;
  padding: 7px 18px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 14px;
  font-weight: 660;
  white-space: nowrap;
}

.success-strip {
  min-height: 43px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 9px 18px;
  background: linear-gradient(90deg, #daf7dc, #effbef);
  color: #0f6f1f;
  font-size: 14px;
  font-weight: 650;
}

.feature-heading {
  min-height: 132px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 54px;
  border-bottom: 1.5px solid var(--line-dark);
  padding: 18px 0 20px;
}

.feature-heading > div {
  min-width: 440px;
  padding-right: 46px;
  border-right: 1px solid #9c9e9f;
}

.feature-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
}

.feature-heading h1 {
  font-size: 30px;
}

.feature-heading p {
  margin-top: 6px;
  color: #1f2225;
  font-size: 14px;
  line-height: 1.55;
}

.feature-heading > strong:not(.warning-chip) {
  border-radius: 5px;
  background: #f0f0ee;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 680;
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid #aeb0b1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.segmented button,
.demo-switch button {
  min-height: 43px;
  border: 0;
  border-right: 1px solid #aeb0b1;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.segmented button:last-child,
.demo-switch button:last-child {
  border-right: 0;
}

.segmented button.is-selected,
.demo-switch button.is-selected {
  background: #050505;
  color: #fff;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--range-progress, 35%), #d3d4d2 var(--range-progress, 35%));
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 7px 0;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.principle-strip {
  min-height: 84px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #aeb0b1;
  padding: 16px 24px 12px;
}

.principle-strip article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 50px;
  border-right: 1px solid #b9bbbc;
}

.principle-strip article:first-child {
  padding-left: 0;
}

.principle-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-strip article > b {
  min-width: 40px;
  border-radius: 5px;
  background: #ededeb;
  padding: 3px 8px;
  font-size: 13px;
  text-align: center;
}

.principle-strip strong,
.principle-strip span {
  display: block;
}

.principle-strip strong {
  font-size: 15px;
}

.principle-strip span {
  margin-top: 4px;
  color: #464a4d;
  font-size: 12px;
}

/* HTML introduction */
.intro-main {
  min-height: 0;
  flex: 0 0 565px;
  display: grid;
  grid-template-columns: minmax(310px, .68fr) minmax(760px, 1.45fr);
  align-items: center;
  gap: 54px;
  border-bottom: 1px solid #bfc1c2;
  padding: 44px 0 42px;
}

.intro-copy {
  min-height: 380px;
  border-right: 1px solid #aeb0b1;
  padding: 22px 54px 22px 8px;
}

.intro-copy h1 {
  margin-bottom: 36px;
}

.intro-copy p {
  max-width: 500px;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.75;
}

.html-demo h2 {
  margin-bottom: 38px;
  font-size: 22px;
}

.html-demo-panels {
  display: grid;
  grid-template-columns: minmax(410px, 1.05fr) 44px minmax(340px, .95fr);
  align-items: center;
  gap: 20px;
}

.code-window,
.browser-window {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #b8bab9;
  border-radius: 4px;
  background: #fff;
}

.code-window > header,
.browser-window > header {
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: linear-gradient(#f1f1ef, #e9e9e7);
  border-bottom: 1px solid #d1d2d0;
  color: #303336;
  font-size: 14px;
}

.code-window pre {
  display: grid;
  grid-template-columns: 52px 1fr;
  row-gap: 18px;
  padding: 40px 22px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 16px;
  line-height: 1.55;
}

.code-window .line-number {
  color: #7b7f84;
  text-align: center;
}

.code-window code b {
  color: var(--red);
  font-weight: 600;
}

.code-window code em {
  color: var(--green-dark);
  font-style: normal;
}

.demo-arrow {
  font-size: 30px;
  color: #3a3d40;
  text-align: center;
}

.browser-window > header {
  gap: 8px;
}

.browser-window > header span {
  margin-right: auto;
}

.browser-window > header i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c1c2c0;
}

.browser-window > div {
  padding: 42px 52px;
}

.browser-window h3 {
  margin-bottom: 18px;
  font-size: 29px;
  font-weight: 750;
}

.browser-window p {
  margin-bottom: 22px;
  font-size: 16px;
}

.browser-window a {
  color: var(--green-dark);
  font-size: 17px;
  text-underline-offset: 3px;
}

.roles {
  flex: 0 0 auto;
  padding: 28px 0 20px;
}

.roles > h2 {
  margin-bottom: 28px;
  font-size: 23px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.role-grid article {
  min-height: 125px;
  display: grid;
  grid-template-columns: 70px 1px 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid #bfc1c1;
  border-radius: 5px;
  padding: 22px 28px;
}

.role-grid article > svg {
  width: 50px;
  height: 50px;
  justify-self: center;
  fill: none;
  stroke: #101214;
  stroke-width: 1.5;
}

.role-grid article:first-child > svg path:last-child {
  stroke: var(--red);
}

.role-grid article:nth-child(2) > svg path:last-child,
.role-grid article:nth-child(3) > svg path:last-child {
  stroke: var(--green);
}

.role-grid article > i {
  height: 72px;
  background: #b8babb;
}

.role-grid h3 {
  display: inline;
  margin-right: 14px;
  font-size: 21px;
}

.role-grid span {
  font-size: 14px;
}

.role-grid p {
  margin-top: 12px;
  color: #272a2d;
  font-size: 14px;
}

.fact-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 14px;
}

.fact-note i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
}

/* Responsive demonstration */
.responsive-workspace {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 46px;
  padding: 24px 0 22px;
}

.control-panel {
  padding-right: 34px;
  border-right: 1px solid #aeb0b1;
}

.control-panel > h2,
.preview-panel > h2,
.editor-panel > h2,
.merge-panel > h2,
.budget-controls > h2,
.budget-dashboard > h2,
.source-panel > h2,
.live-dashboard > h2 {
  margin-bottom: 22px;
}

.slider-field {
  display: block;
  margin-top: 28px;
}

.slider-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 650;
}

.slider-field output {
  border: 1px solid #c8cac8;
  border-radius: 5px;
  padding: 6px 13px;
  background: #f8f8f7;
  font-weight: 500;
}

.slider-field small {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
  color: #74787c;
  font-size: 11px;
}

.slider-field small b {
  font-weight: 450;
}

.settings-list {
  margin-top: 28px;
}

.settings-list > div {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcdddb;
  font-size: 13px;
}

.settings-list dd {
  min-width: 116px;
  border: 1px solid #c8cac8;
  border-radius: 5px;
  padding: 7px 12px;
  background: #f8f8f7;
  text-align: center;
}

.preview-panel {
  min-width: 0;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 230px;
  align-items: center;
  gap: 34px;
}

.responsive-browser {
  width: 100%;
  max-width: 830px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #bfc1c1;
  border-radius: 5px;
  background: #fff;
  transition: max-width 320ms ease;
}

.responsive-browser[data-device="desktop"] {
  max-width: 830px;
}

.responsive-browser[data-device="tablet"] {
  max-width: 700px;
}

.responsive-browser[data-device="phone"] {
  max-width: 360px;
}

.responsive-browser > header {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ededeb;
  padding: 0 13px;
}

.responsive-browser > header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b2b4b4;
}

.responsive-browser > header span {
  width: 56%;
  height: 12px;
  margin-left: 20px;
  border-radius: 999px;
  background: #fff;
}

.mini-page {
  padding: 17px 24px 20px;
}

.mini-page > strong {
  display: block;
  border-bottom: 1px solid #292c2f;
  padding-bottom: 8px;
  font-size: 13px;
}

.mini-page > h3 {
  margin-top: 13px;
  font-size: 17px;
}

.mini-page > p {
  margin-top: 4px;
  font-size: 9px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(var(--preview-columns, 3), 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mini-stats article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-content: center;
  column-gap: 8px;
  border: 1px solid #cbcdcc;
  border-radius: 4px;
  padding: 8px 10px;
}

.mini-stats svg {
  width: 27px;
  height: 27px;
  grid-row: span 3;
  align-self: center;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
}

.mini-stats span {
  font-size: 8px;
}

.mini-stats b {
  font-size: 16px;
}

.mini-stats em {
  color: var(--green);
  font-size: 8px;
  font-style: normal;
}

.mini-stats .negative {
  color: #e02e2e;
}

.mini-chart-panel {
  margin-top: 10px;
  border: 1px solid #cbcdcc;
  border-radius: 4px;
  padding: 8px 10px;
}

.mini-chart-panel strong {
  font-size: 9px;
}

.mini-chart-panel svg {
  width: 100%;
  height: 82px;
  margin-top: 5px;
}

.mini-page ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.mini-page li {
  border-radius: 3px;
  background: #e9f8ea;
  padding: 6px;
  color: #1e4726;
  font-size: 8px;
}

.change-summary {
  border-left: 1px solid #aeb0b1;
  padding-left: 32px;
}

.change-summary > div {
  min-height: 77px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  border-bottom: 1px solid #d0d1cf;
}

.change-summary > div:last-child {
  border-bottom: 0;
}

.change-summary dt {
  font-size: 14px;
  font-weight: 700;
}

.change-summary dd {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 5px;
  background: #f0f0ee;
  padding: 8px 11px;
  font-size: 13px;
}

.change-summary b {
  color: var(--green);
  white-space: nowrap;
}

/* Collaboration */
.collaboration-workspace {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 46px;
  padding: 22px 0;
}

.editor-panel {
  border-right: 1px solid #aeb0b1;
  padding-right: 34px;
}

.file-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 270px;
  border: 1px solid #bfc1c1;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}

.file-tabs button {
  min-height: 39px;
  border: 0;
  background: #fff;
  font-size: 13px;
}

.file-tabs .is-selected {
  background: #050505;
  color: #fff;
}

.diff-editor {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  row-gap: 9px;
  min-height: 260px;
  border: 1px solid #bfc1c1;
  border-radius: 0 5px 5px 5px;
  padding: 14px 12px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden;
}

.diff-editor > span {
  color: #66717f;
  text-align: center;
}

.diff-editor code {
  white-space: pre;
}

.removed,
.added {
  display: block;
  border-radius: 3px;
  padding: 2px 5px;
}

.removed {
  background: var(--red-soft);
  color: #9f2924;
}

.added {
  background: var(--green-soft);
  color: #126a20;
}

.collaborators {
  margin-top: 12px;
  border: 1px solid #d1d2d0;
  border-radius: 5px;
}

.collaborators > span {
  min-height: 43px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e1e2e0;
  padding: 0 13px;
  font-size: 11px;
}

.collaborators > span:last-child {
  border-bottom: 0;
}

.collaborators i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ededeb;
  font-style: normal;
}

.collaborators em {
  color: var(--green);
  font-style: normal;
}

.collaborators > span:last-child em {
  color: #55595d;
}

.editor-actions {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 24px;
  margin-top: 16px;
}

.editor-actions button,
.primary-action {
  min-height: 39px;
  border: 1px solid #111;
  border-radius: 4px;
  background: #050505;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.editor-actions button:last-child {
  border-color: #bfc1c1;
  background: #fff;
  color: #111;
}

.merge-stats {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.merge-stats article {
  min-height: 75px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 11px;
  border: 1px solid #cfd0ce;
  border-radius: 5px;
  padding: 10px 16px;
}

.merge-stats svg {
  width: 28px;
  height: 28px;
  grid-row: span 2;
  align-self: center;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
}

.merge-stats span {
  font-size: 10px;
}

.merge-stats b {
  font-size: 16px;
}

.merge-stats i {
  font-style: normal;
}

.git-timeline {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-top: 18px;
  border: 1px solid #d1d2d0;
  border-radius: 5px;
  padding: 18px 30px;
  overflow: hidden;
}

.git-timeline > i {
  position: absolute;
  left: 16.7%;
  right: 16.7%;
  top: 42px;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 55%, #b8b9b7 55%);
}

.git-timeline button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.git-timeline button b {
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 3px solid #a7a8a6;
  border-radius: 50%;
  background: #fff;
}

.git-timeline button.is-current b {
  width: 29px;
  height: 29px;
  border-color: var(--green);
}

.git-timeline button span {
  border-radius: 4px;
  background: #ededeb;
  padding: 5px 12px;
}

.diff-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.diff-compare article {
  overflow: hidden;
  border: 1px solid #cfd0ce;
  border-radius: 5px;
}

.diff-compare strong {
  display: block;
  border-bottom: 1px solid #d5d6d4;
  padding: 8px 12px;
  background: #f5f5f3;
  font-size: 12px;
}

.diff-compare code {
  display: grid;
  grid-template-columns: 24px 1fr;
  margin: 8px 10px;
  padding: 3px 6px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.diff-compare code span {
  color: #68727e;
}

.merge-panel .success-strip {
  margin-top: 16px;
}

/* Interactive budget */
.budget-workspace {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 38px;
  padding: 20px 0 16px;
}

.budget-controls {
  padding-right: 28px;
  border-right: 1px solid #aeb0b1;
}

.budget-fields {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.budget-fields label {
  min-height: 52px;
  display: grid;
  grid-template-columns: 90px minmax(90px, 1fr) 72px;
  align-items: center;
  gap: 10px;
  border: 1px solid #d0d1cf;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 12px;
}

.budget-fields label.is-active {
  background: var(--red-soft);
}

.budget-fields label.is-active input[type="range"] {
  --green: #b61016;
}

.budget-fields output {
  border: 1px solid #c8cac8;
  border-radius: 4px;
  padding: 5px 6px;
  background: #fafaf9;
  text-align: center;
  font-weight: 650;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-grid article {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-content: center;
  column-gap: 10px;
  border: 1px solid #cfd0ce;
  border-radius: 5px;
  padding: 10px 14px;
}

.metric-grid svg {
  width: 31px;
  height: 31px;
  grid-row: span 2;
  align-self: center;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
}

.metric-grid span {
  font-size: 10px;
}

.metric-grid b {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.budget-charts {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.budget-charts article,
.live-charts article,
.budget-composition,
.update-table-card {
  border: 1px solid #cfd0ce;
  border-radius: 5px;
  padding: 11px 14px;
}

.budget-charts h3,
.live-charts h3,
.budget-composition h3,
.update-table-card h3 {
  font-size: 14px;
}

.budget-charts svg {
  width: 100%;
  height: 154px;
  margin-top: 4px;
}

.budget-composition {
  margin-top: 14px;
}

.budget-composition header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.budget-composition header span {
  border-radius: 5px;
  background: var(--green-soft);
  padding: 5px 10px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 650;
}

.stacked-bar {
  height: 47px;
  display: flex;
  overflow: hidden;
  border-radius: 5px;
}

.stacked-bar span {
  min-width: 48px;
  display: grid;
  place-items: center;
  padding: 4px;
  color: #fff;
  font-size: 9px;
  line-height: 1.25;
  text-align: center;
}

.stacked-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 8px;
  font-size: 9px;
}

.stacked-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stacked-legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.budget-dashboard .success-strip {
  margin-top: 10px;
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}

/* Real-time data */
.realtime-heading {
  gap: 46px;
}

.connection-status {
  border-radius: 5px;
  background: var(--green-soft);
  padding: 8px 16px;
  color: #0b721c;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.realtime-workspace {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 32px;
  padding: 18px 0;
}

.source-panel {
  padding-right: 28px;
  border-right: 1px solid #aeb0b1;
}

.source-panel > h2:not(:first-child) {
  margin-top: 17px;
  margin-bottom: 11px;
}

.source-list {
  border-top: 1px solid #bfc1c1;
  border-bottom: 1px solid #bfc1c1;
}

.source-list article {
  min-height: 43px;
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #d5d6d4;
  padding: 4px 10px;
  font-size: 10px;
}

.source-list article:last-child {
  border-bottom: 0;
}

.source-list svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
}

.source-list em {
  color: var(--green);
  font-style: normal;
  font-weight: 650;
}

.source-panel .settings-list {
  margin-top: 8px;
}

.source-panel .settings-list dd {
  min-width: 160px;
  padding: 4px 7px;
}

.source-panel select {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
}

.toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.toggle i {
  position: relative;
  width: 43px;
  height: 22px;
  border-radius: 999px;
  background: #c9cac8;
}

.toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 180ms ease;
}

.toggle.is-on i {
  background: var(--green);
}

.toggle.is-on i::after {
  transform: translateX(21px);
}

.primary-action {
  width: 100%;
  margin-top: 11px;
}

.event-log {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
}

.event-log::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 1px;
  background: #aaa;
  content: "";
}

.event-log li {
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
}

.event-log li::before {
  position: absolute;
  left: -21px;
  width: 9px;
  height: 9px;
  border: 2px solid #aaa;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.event-log li.is-current {
  background: var(--green-soft);
  font-weight: 650;
}

.event-log li.is-current::before {
  border-color: var(--green);
}

.live-charts {
  display: grid;
  grid-template-columns: 1.65fr .75fr;
  gap: 16px;
  margin-top: 14px;
}

.live-charts svg {
  width: 100%;
  height: 180px;
  margin-top: 4px;
}

.update-table-card {
  margin-top: 13px;
}

.update-table-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  table-layout: fixed;
  text-align: center;
  font-size: 10px;
}

.update-table-card th {
  background: #ededeb;
  font-weight: 650;
}

.update-table-card th,
.update-table-card td {
  border-bottom: 1px solid #d5d6d4;
  padding: 5px 8px;
}

.update-table-card tbody tr:last-child td {
  border-bottom: 0;
}

.update-table-card td:nth-child(3) {
  color: var(--green);
  font-weight: 720;
}

.update-table-card tr:nth-child(2) td:nth-child(3) {
  color: var(--red);
}

.status-pill {
  display: inline-flex;
  border-radius: 4px;
  background: var(--green-soft);
  padding: 3px 10px;
  color: var(--green-dark);
}

.live-dashboard .success-strip {
  margin-top: 11px;
  min-height: 36px;
  font-size: 12px;
}

.page-announcer {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1450px) and (min-width: 701px), (max-height: 860px) and (min-width: 701px) {
  :root {
    --page-width: 1260px;
  }

  .slide-shell {
    width: min(var(--page-width), calc(100% - 54px));
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .page-header {
    min-height: 50px;
    padding-bottom: 10px;
  }

  .page-header strong {
    font-size: 20px;
  }

  .feature-heading {
    min-height: 103px;
    padding: 12px 0;
  }

  .feature-heading > div {
    min-width: 350px;
  }

  .feature-heading h1 {
    font-size: 24px;
  }

  .responsive-workspace,
  .collaboration-workspace,
  .budget-workspace,
  .realtime-workspace {
    padding: 13px 0 10px;
  }

  .principle-strip {
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .page-footer {
    min-height: 40px;
    padding-top: 9px;
  }

  .intro-main {
    padding: 22px 0;
  }

  .intro-copy {
    min-height: 300px;
  }

  .roles {
    padding: 18px 0 12px;
  }

  .role-grid article {
    min-height: 104px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .slide-intro .slide-shell {
    width: calc(100% - 48px);
    padding: 24px 0 16px;
  }

  .slide-intro .page-header {
    min-height: 58px;
  }

  .slide-intro .intro-main {
    min-height: 0;
    flex-basis: 450px;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 26px;
    padding: 24px 0 22px;
  }

  .slide-intro .intro-copy {
    min-height: 0;
    padding: 12px 24px 12px 2px;
  }

  .slide-intro .intro-copy h1 {
    margin-bottom: 24px;
    font-size: 29px;
  }

  .slide-intro .intro-copy p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .slide-intro .html-demo h2 {
    margin-bottom: 13px;
    font-size: 19px;
  }

  .slide-intro .html-demo .demo-switch.mobile-only {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    min-height: 36px;
    margin-bottom: 10px;
    border: 1px solid #bfc1c1;
    border-radius: 5px;
    overflow: hidden;
  }

  .slide-intro .html-demo .demo-switch button {
    min-height: 34px;
    font-size: 11px;
  }

  .slide-intro .html-demo-panels {
    display: block;
  }

  .slide-intro .html-demo-panels .demo-arrow,
  .slide-intro .html-demo-panels [data-html-panel] {
    display: none;
  }

  .slide-intro .html-demo-panels [data-html-panel].is-mobile-active {
    display: block;
  }

  .slide-intro .code-window,
  .slide-intro .browser-window {
    min-height: 250px;
  }

  .slide-intro .roles {
    min-height: 0;
    flex: 1 1 auto;
    padding: 22px 0 15px;
  }

  .slide-intro .roles > h2 {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .slide-intro .role-grid article {
    min-height: 112px;
    grid-template-columns: 52px 1px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .slide-intro .role-grid p {
    font-size: 11px;
  }

  .slide-intro .fact-note {
    margin-top: 16px;
  }

  .responsive-workspace {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
  }

  .responsive-workspace .control-panel {
    padding-right: 20px;
  }

  .responsive-workspace .preview-layout {
    display: block;
  }

  .responsive-workspace .responsive-browser,
  .responsive-workspace .responsive-browser[data-device] {
    max-width: 100%;
  }

  .responsive-workspace .change-summary {
    display: none;
  }

  .collaboration-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
  }

  .collaboration-workspace .editor-panel {
    min-width: 0;
    padding-right: 18px;
  }

  .collaboration-workspace .file-tabs {
    width: 100%;
  }

  .collaboration-workspace .diff-editor {
    font-size: 9px;
  }

  .collaboration-workspace .merge-stats {
    gap: 8px;
  }

  .collaboration-workspace .merge-stats article {
    grid-template-columns: 28px 1fr;
    padding-inline: 8px;
  }

  .collaboration-workspace .git-timeline {
    padding-inline: 14px;
  }

  .budget-workspace {
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 20px;
  }

  .budget-workspace .budget-controls {
    min-width: 0;
    padding-right: 18px;
  }

  .budget-workspace .budget-fields label {
    grid-template-columns: 68px minmax(0, 1fr) 54px;
    gap: 6px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .budget-workspace .metric-grid {
    gap: 7px;
  }

  .budget-workspace .metric-grid article {
    min-width: 0;
    grid-template-columns: 25px minmax(0, 1fr);
    column-gap: 5px;
    padding-inline: 6px;
  }

  .budget-workspace .metric-grid svg {
    width: 22px;
    height: 22px;
  }

  .budget-workspace .metric-grid b {
    font-size: 14px;
  }

  .budget-workspace .budget-charts {
    gap: 8px;
  }

  .budget-workspace .budget-charts article,
  .budget-workspace .budget-composition {
    min-width: 0;
    padding-inline: 8px;
  }

  .realtime-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 8px 12px;
  }

  .realtime-heading > div {
    min-width: 0;
    grid-column: 1 / -1;
    border-right: 0;
    padding-right: 0;
  }

  .realtime-heading .warning-chip {
    justify-self: start;
  }

  .realtime-workspace {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
  }

  .realtime-workspace .source-panel {
    min-width: 0;
    padding-right: 18px;
  }

  .realtime-workspace .source-list article {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    gap: 5px;
    padding-inline: 6px;
  }

  .realtime-workspace .source-list article > span {
    display: none;
  }

  .realtime-workspace .source-panel .settings-list dd {
    min-width: 108px;
  }

  .realtime-workspace .metric-grid {
    gap: 7px;
  }

  .realtime-workspace .metric-grid article {
    min-width: 0;
    grid-template-columns: 25px minmax(0, 1fr);
    column-gap: 5px;
    padding-inline: 6px;
  }

  .realtime-workspace .metric-grid svg {
    width: 22px;
    height: 22px;
  }

  .realtime-workspace .metric-grid b {
    font-size: 14px;
  }

  .realtime-workspace .live-charts {
    gap: 8px;
  }

  .realtime-workspace .live-charts article,
  .realtime-workspace .update-table-card {
    min-width: 0;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 700px) {
  :root {
    --page-width: 100%;
  }

  body {
    min-width: 320px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  .slide {
    overflow: hidden;
  }

  .slide-shell {
    width: 100%;
    padding: 12px 17px 9px;
  }

  .page-header {
    min-height: 46px;
    padding: 0 2px 10px;
    border-bottom-width: 1.5px;
  }

  .page-header strong {
    font-size: 18px;
    letter-spacing: -.25px;
  }

  .page-header span {
    font-size: 13px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  h1 {
    font-size: 24px;
    letter-spacing: -.45px;
  }

  h2 {
    font-size: 16px;
  }

  .page-footer {
    min-height: 42px;
    padding: 9px 2px 0;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .page-footer > span:first-child {
    display: none;
  }

  .page-dots {
    justify-self: center;
    gap: 12px;
  }

  .page-dot {
    width: 8px;
    height: 8px;
  }

  .gesture-hint {
    gap: 0;
    font-size: 11px;
  }

  .gesture-hint svg {
    display: none;
  }

  .feature-heading {
    min-height: 91px;
    display: block;
    padding: 10px 2px 12px;
  }

  .feature-heading > div {
    min-width: 0;
    border: 0;
    padding: 0;
  }

  .feature-heading .eyebrow {
    display: none;
  }

  .feature-heading h1 {
    font-size: 23px;
  }

  .feature-heading p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  .feature-heading > strong:not(.warning-chip),
  .feature-heading .warning-chip {
    display: inline-flex;
    min-height: 0;
    margin-top: 9px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .demo-switch {
    flex: 0 0 auto;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    min-height: 40px;
    margin: 10px 0;
    border: 1px solid #bfc1c1;
    border-radius: 5px;
    overflow: hidden;
  }

  .demo-switch button {
    min-height: 38px;
    font-size: 12px;
  }

  .principle-strip {
    min-height: 64px;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px 0 6px;
  }

  .principle-strip article,
  .principle-strip article:first-child,
  .principle-strip article:last-child {
    display: block;
    padding: 0 8px;
  }

  .principle-strip article > b {
    min-width: 0;
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
  }

  .principle-strip strong {
    margin-top: 4px;
    font-size: 10px;
  }

  .principle-strip span {
    display: none;
  }

  /* Introduction mobile */
  .intro-main {
    min-height: 0;
    flex: 0 0 auto;
    display: block;
    border: 0;
    padding: 16px 1px 8px;
  }

  .intro-copy {
    min-height: 0;
    border: 0;
    padding: 0;
  }

  .intro-copy h1 {
    margin-bottom: 12px;
  }

  .intro-copy p {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .intro-copy .muted {
    display: none;
  }

  .html-demo {
    margin-top: 13px;
    border-top: 1px solid #c9cac7;
    padding-top: 11px;
  }

  .html-demo h2 {
    margin-bottom: 9px;
    font-size: 16px;
  }

  .html-demo .demo-switch {
    margin: 0 0 8px;
  }

  .html-demo-panels {
    display: block;
  }

  .html-demo-panels .demo-arrow {
    display: none;
  }

  .html-demo-panels [data-html-panel] {
    display: none;
  }

  .html-demo-panels [data-html-panel].is-mobile-active {
    display: block;
  }

  .code-window,
  .browser-window {
    min-height: 178px;
  }

  .code-window > header,
  .browser-window > header {
    height: 32px;
    padding: 0 12px;
    font-size: 10px;
  }

  .code-window pre {
    grid-template-columns: 25px 1fr;
    row-gap: 8px;
    padding: 17px 10px;
    font-size: 10px;
  }

  .browser-window > div {
    padding: 19px 22px;
  }

  .browser-window h3 {
    margin-bottom: 9px;
    font-size: 19px;
  }

  .browser-window p {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .browser-window a {
    font-size: 13px;
  }

  .roles {
    min-height: 0;
    flex: 1 1 auto;
    border-top: 1px solid #c9cac7;
    padding: 11px 1px 5px;
  }

  .roles > h2 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .role-grid {
    display: block;
  }

  .role-grid article {
    min-height: 61px;
    grid-template-columns: 43px 1px 1fr;
    gap: 10px;
    margin-bottom: 7px;
    border-radius: 4px;
    padding: 8px 12px;
  }

  .role-grid article > svg {
    width: 31px;
    height: 31px;
  }

  .role-grid article > i {
    height: 40px;
  }

  .role-grid h3 {
    margin-right: 5px;
    font-size: 14px;
  }

  .role-grid span,
  .role-grid p {
    font-size: 10px;
  }

  .role-grid p {
    margin-top: 3px;
  }

  .fact-note {
    display: none;
  }

  /* Responsive mobile */
  .responsive-workspace {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 11px 0 9px;
  }

  .control-panel {
    border: 0;
    padding: 0;
  }

  .control-panel > h2,
  .preview-panel > h2,
  .editor-panel > h2,
  .merge-panel > h2,
  .budget-controls > h2,
  .budget-dashboard > h2,
  .source-panel > h2,
  .live-dashboard > h2 {
    margin-bottom: 9px;
    font-size: 15px;
  }

  .segmented button {
    min-height: 36px;
    font-size: 11px;
  }

  .slider-field {
    margin-top: 11px;
  }

  .slider-field > span {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .slider-field output {
    padding: 4px 8px;
  }

  .slider-field small {
    padding-top: 5px;
    font-size: 8px;
  }

  .responsive-controls .settings-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 9px;
  }

  .responsive-controls .settings-list > div {
    min-height: 35px;
    border: 1px solid #d8d9d7;
    border-radius: 4px;
    padding: 0 7px;
    font-size: 9px;
  }

  .responsive-controls .settings-list > div:first-child {
    display: none;
  }

  .responsive-controls .settings-list dd {
    min-width: 62px;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .responsive-controls .text-action {
    display: none;
  }

  .preview-panel {
    min-height: 0;
  }

  .preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 10px;
    align-items: center;
  }

  .responsive-browser,
  .responsive-browser[data-device] {
    max-width: none;
  }

  .responsive-browser > header {
    height: 25px;
    gap: 4px;
    padding: 0 8px;
  }

  .responsive-browser > header i {
    width: 5px;
    height: 5px;
  }

  .responsive-browser > header span {
    height: 8px;
    margin-left: 6px;
  }

  .mini-page {
    padding: 8px 10px;
  }

  .mini-page > strong {
    padding-bottom: 4px;
    font-size: 8px;
  }

  .mini-page > h3 {
    margin-top: 6px;
    font-size: 10px;
  }

  .mini-page > p {
    font-size: 6px;
  }

  .mini-stats {
    grid-template-columns: 1fr !important;
    gap: 4px;
    margin-top: 7px;
  }

  .mini-stats article {
    min-height: 39px;
    grid-template-columns: 22px 1fr;
    padding: 4px 6px;
  }

  .mini-stats svg {
    width: 18px;
    height: 18px;
  }

  .mini-stats span,
  .mini-stats em {
    font-size: 6px;
  }

  .mini-stats b {
    font-size: 10px;
  }

  .mini-chart-panel {
    margin-top: 5px;
    padding: 4px 5px;
  }

  .mini-chart-panel strong {
    font-size: 6px;
  }

  .mini-chart-panel svg {
    height: 45px;
  }

  .mini-page ul {
    display: none;
  }

  .change-summary {
    padding-left: 9px;
  }

  .change-summary > div {
    min-height: 54px;
    display: block;
    padding-top: 7px;
  }

  .change-summary dt {
    font-size: 9px;
  }

  .change-summary dd {
    gap: 3px;
    margin-top: 5px;
    padding: 5px;
    font-size: 8px;
  }

  /* Collaboration mobile */
  .collaboration-workspace {
    min-height: 0;
    flex: 1 1 auto;
    display: block;
    padding: 0 0 8px;
  }

  [data-collaboration-panel] {
    display: none;
  }

  [data-collaboration-panel].is-mobile-active {
    display: block;
  }

  .editor-panel {
    border: 0;
    padding: 0;
  }

  .file-tabs {
    width: 210px;
  }

  .diff-editor {
    min-height: 265px;
    font-size: 9px;
  }

  .merge-stats {
    gap: 7px;
  }

  .merge-stats article {
    min-height: 60px;
    display: block;
    padding: 8px;
  }

  .merge-stats svg {
    width: 20px;
    height: 20px;
    float: left;
    margin: 5px 5px 0 0;
  }

  .merge-stats span,
  .merge-stats b {
    display: block;
  }

  .merge-stats span {
    font-size: 8px;
  }

  .merge-stats b {
    margin-top: 3px;
    font-size: 11px;
  }

  .git-timeline {
    min-height: 82px;
    margin-top: 9px;
    padding: 12px 10px;
  }

  .git-timeline > i {
    top: 28px;
  }

  .git-timeline button {
    gap: 6px;
  }

  .git-timeline button b {
    width: 18px;
    height: 18px;
  }

  .git-timeline button.is-current b {
    width: 21px;
    height: 21px;
  }

  .git-timeline button span {
    padding: 3px 6px;
    font-size: 8px;
  }

  .diff-compare {
    gap: 7px;
    margin-top: 9px;
  }

  .diff-compare strong {
    padding: 5px 7px;
    font-size: 9px;
  }

  .diff-compare code {
    grid-template-columns: 13px 1fr;
    margin: 4px;
    padding: 2px;
    font-size: 6px;
  }

  .merge-panel .success-strip {
    min-height: 34px;
    margin-top: 8px;
    padding: 6px 9px;
    font-size: 10px;
  }

  /* Budget mobile */
  .budget-workspace {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 5px;
  }

  .budget-controls {
    border: 0;
    padding: 0;
  }

  .budget-controls > h2,
  .budget-scenarios,
  .budget-fields label:not(.is-active),
  .budget-controls > .text-action {
    display: none;
  }

  .budget-fields {
    margin: 0;
  }

  .budget-fields label.is-active {
    min-height: 44px;
    grid-template-columns: 78px 1fr 70px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .budget-workspace.show-controls .budget-controls > h2,
  .budget-workspace.show-controls .budget-scenarios,
  .budget-workspace.show-controls .budget-fields label,
  .budget-workspace.show-controls .budget-controls > .text-action {
    display: grid;
  }

  .budget-workspace.show-controls .budget-controls > h2 {
    display: block;
  }

  .budget-workspace.show-controls .budget-dashboard {
    display: none;
  }

  .budget-dashboard > h2 {
    display: none;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .metric-grid article {
    min-height: 59px;
    grid-template-columns: 34px 1fr;
    column-gap: 6px;
    padding: 7px 9px;
  }

  .metric-grid svg {
    width: 25px;
    height: 25px;
  }

  .metric-grid span {
    font-size: 8px;
  }

  .metric-grid b {
    font-size: 15px;
  }

  .budget-charts {
    display: block;
    margin-top: 7px;
  }

  .budget-charts article {
    padding: 7px 8px;
  }

  .budget-charts h3 {
    font-size: 11px;
  }

  .budget-charts svg {
    height: 116px;
  }

  .revenue-chart-card {
    display: none;
  }

  .budget-composition {
    margin-top: 7px;
    padding: 7px 8px;
  }

  .budget-composition header {
    margin-bottom: 6px;
  }

  .budget-composition h3 {
    font-size: 11px;
  }

  .budget-composition header span {
    padding: 3px 6px;
    font-size: 8px;
  }

  .stacked-bar {
    height: 35px;
  }

  .stacked-bar span,
  .stacked-legend {
    font-size: 7px;
  }

  .stacked-legend {
    gap: 5px 9px;
    margin-top: 5px;
  }

  .budget-dashboard .success-strip {
    min-height: 31px;
    margin-top: 6px;
    font-size: 9px;
  }

  .interaction-caption {
    margin: 0 0 5px;
    color: #4b4f52;
    font-size: 9px;
  }

  /* Real-time mobile */
  .realtime-heading {
    min-height: 117px;
  }

  .realtime-heading .warning-chip {
    margin-right: 6px;
  }

  .connection-status {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .realtime-workspace {
    min-height: 0;
    flex: 1 1 auto;
    display: block;
    padding: 0 0 6px;
  }

  [data-realtime-panel] {
    display: none;
  }

  [data-realtime-panel].is-mobile-active {
    display: block;
  }

  .source-panel {
    border: 0;
    padding: 0;
  }

  .mobile-source-summary {
    min-height: 42px;
    display: grid !important;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    border: 1px solid #cfd0ce;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 8px;
  }

  .mobile-source-summary svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #111;
    stroke-width: 1.5;
  }

  .mobile-source-summary em {
    color: var(--green);
    font-style: normal;
  }

  .live-metrics {
    margin-bottom: 8px;
  }

  .live-charts {
    display: block;
    margin-top: 0;
  }

  .live-charts article {
    padding: 7px 8px;
  }

  .live-charts h3,
  .update-table-card h3 {
    font-size: 11px;
  }

  .live-charts svg {
    height: 122px;
  }

  .category-chart-card {
    display: none;
  }

  .update-table-card {
    margin-top: 7px;
    padding: 7px 8px;
  }

  .update-table-card table {
    margin-top: 4px;
    font-size: 8px;
  }

  .update-table-card th,
  .update-table-card td {
    padding: 4px;
  }

  .live-dashboard .success-strip {
    min-height: 31px;
    margin-top: 6px;
    padding: 6px 9px;
    font-size: 9px;
  }
}

@media (max-width: 360px), (max-height: 740px) and (max-width: 700px) {
  .slide-shell {
    padding: 8px 13px 6px;
  }

  .page-header {
    min-height: 40px;
  }

  .feature-heading {
    min-height: 80px;
  }

  .principle-strip {
    min-height: 54px;
  }

  .page-footer {
    min-height: 36px;
  }
}

/* Overview transitions: four advantages and two production routes */
.transition-heading {
  min-height: 154px;
  flex: 0 0 auto;
  border-bottom: 1.5px solid var(--line-dark);
  padding: 21px 2px 22px;
}

.transition-heading .eyebrow {
  margin-bottom: 13px;
  font-size: 12px;
}

.transition-heading h1 {
  font-size: 31px;
}

.transition-heading p {
  margin-top: 8px;
  color: #282b2e;
  font-size: 14px;
  line-height: 1.55;
}

.advantages-overview-main,
.methods-overview-main {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 0 17px;
}

.advantage-overview-grid {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}

.advantage-overview-card {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #b9bcbe;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
}

.advantage-overview-visual {
  min-height: 0;
  display: grid;
  place-items: center;
  border-right: 1px solid #aeb1b3;
  margin: 27px 0;
}

.advantage-overview-visual svg {
  width: 98px;
  height: 98px;
  fill: none;
  stroke: #111315;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-overview-card > div:last-child {
  min-width: 0;
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px 16px;
  padding: 25px 34px;
}

.advantage-overview-card > div:last-child > span {
  min-width: 58px;
  border-radius: 7px;
  padding: 5px 12px;
  background: #ececea;
  text-align: center;
  font-size: 18px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.advantage-overview-card h2 {
  font-size: 26px;
}

.advantage-overview-card p {
  grid-column: 1 / -1;
  color: #292c2f;
  font-size: 16px;
  line-height: 1.65;
}

.advantage-overview-card.is-green > div:last-child > span {
  background: var(--green-soft);
  color: var(--green-dark);
}

.advantage-overview-card.is-green .advantage-overview-visual svg {
  stroke: var(--green);
}

.advantage-overview-card.is-red > div:last-child > span {
  background: var(--red-soft);
  color: var(--red);
}

.advantage-overview-card.is-red .advantage-overview-visual svg {
  stroke: #e86145;
}

.transition-callout {
  min-height: 68px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 7px;
  padding: 10px 16px 10px 22px;
  background: linear-gradient(90deg, #f5f5f3, #fafaf8);
}

.transition-callout > strong {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 20px;
}

.transition-callout > strong i {
  width: 5px;
  height: 30px;
  border-radius: 3px;
  background: var(--green);
}

.transition-callout > button {
  min-height: 44px;
  border: 1.5px solid var(--line-dark);
  border-radius: 7px;
  padding: 8px 24px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.transition-callout > button:hover,
.transition-callout > button:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
  transform: translateY(-1px);
}

.methods-overview-main {
  gap: 18px;
  padding-top: 22px;
}

.method-source-chip {
  position: relative;
  z-index: 2;
  min-width: 286px;
  min-height: 62px;
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border: 1px solid #c3c5c5;
  border-radius: 9px;
  background: #f8f8f6;
  font-size: 19px;
}

.method-source-chip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.5px;
  height: 29px;
  background: #7c7f81;
}

.method-source-chip svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.method-route-grid {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 74px;
  padding-top: 29px;
}

.method-route-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 28px;
  border-top: 1.5px solid #7c7f81;
  border-left: 1.5px solid #7c7f81;
  border-right: 1.5px solid #7c7f81;
  border-radius: 11px 11px 0 0;
}

.method-route-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #b9bcbe;
  border-radius: 8px;
  padding: 22px 28px 19px;
  background: #fff;
}

.method-route-card::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1.5px solid #7c7f81;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.method-route-prototype {
  border: 1.5px solid var(--green);
}

.method-route-card > header {
  min-height: 104px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  align-items: center;
  gap: 8px 15px;
  border-bottom: 1px solid #c8c9c7;
  padding: 0 2px 16px;
}

.method-route-card > header > span {
  border-radius: 6px;
  padding: 5px 11px;
  background: #ececea;
  font-size: 14px;
  font-weight: 730;
}

.method-route-card > header h2 {
  font-size: 25px;
}

.method-route-card > header strong {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid #d66b27;
  border-radius: 6px;
  padding: 5px 12px;
  background: #fffaf4;
  color: #b44b15;
  font-size: 13px;
}

.method-route-prototype > header strong {
  border-color: transparent;
  background: var(--green-soft);
  color: var(--green-dark);
}

.method-route-flow {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  align-items: center;
  gap: 9px;
  padding: 22px 0 15px;
}

.method-route-flow-three {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.method-route-flow-four {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.method-route-flow article {
  min-width: 0;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #d2d3d1;
  border-radius: 7px;
  background: #fafaf8;
  text-align: center;
}

.method-route-flow svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-route-flow span {
  font-size: 14px;
  font-weight: 690;
  white-space: nowrap;
}

.method-route-flow > i {
  color: #484b4e;
  font-size: 23px;
  font-style: normal;
}

.method-route-prototype .method-route-flow > i {
  color: var(--green);
}

.method-route-link {
  min-height: 37px;
  align-self: flex-start;
  border: 0;
  padding: 4px 2px;
  background: transparent;
  color: #25282b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
}

.method-route-link:hover,
.method-route-link:focus-visible {
  color: #b44b15;
  outline: none;
}

.method-route-card > p {
  flex: 0 0 auto;
  border-top: 1px solid #c8c9c7;
  padding: 13px 2px 0;
  color: #303337;
  font-size: 13px;
  line-height: 1.5;
}

.method-route-or {
  position: absolute;
  z-index: 3;
  top: calc(50% + 13px);
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #d0d1cf;
  border-radius: 50%;
  background: #f8f8f6;
  font-size: 16px;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

@media (max-width: 1450px) and (min-width: 701px), (max-height: 860px) and (min-width: 701px) {
  .transition-heading {
    min-height: 112px;
    padding: 13px 2px 14px;
  }

  .transition-heading .eyebrow {
    margin-bottom: 7px;
  }

  .transition-heading h1 {
    font-size: 25px;
  }

  .advantages-overview-main,
  .methods-overview-main {
    gap: 13px;
    padding: 13px 0 10px;
  }

  .advantage-overview-grid {
    gap: 14px 17px;
  }

  .advantage-overview-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .advantage-overview-visual {
    margin-block: 18px;
  }

  .advantage-overview-visual svg {
    width: 72px;
    height: 72px;
  }

  .advantage-overview-card > div:last-child {
    gap: 7px 11px;
    padding: 15px 22px;
  }

  .advantage-overview-card h2,
  .method-route-card > header h2 {
    font-size: 20px;
  }

  .advantage-overview-card p {
    font-size: 13px;
  }

  .transition-callout {
    min-height: 54px;
  }

  .method-source-chip {
    min-height: 48px;
  }

  .method-route-card {
    padding: 15px 18px 12px;
  }

  .method-route-card > header {
    min-height: 81px;
    padding-bottom: 10px;
  }

  .method-route-flow {
    padding: 12px 0 8px;
  }

  .method-route-flow article {
    min-height: 86px;
  }

  .method-route-flow svg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 700px) {
  .transition-heading {
    min-height: 118px;
    padding: 13px 2px 11px;
  }

  .transition-heading .eyebrow {
    margin-bottom: 8px;
    color: #a94b16;
    font-size: 9px;
    font-weight: 650;
  }

  .transition-heading h1 {
    font-size: 23px;
    line-height: 1.25;
  }

  .transition-heading p {
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.45;
  }

  .advantages-overview-main,
  .methods-overview-main {
    gap: 9px;
    overflow: hidden;
    padding: 10px 0 6px;
  }

  .advantage-overview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .advantage-overview-card {
    grid-template-columns: 103px minmax(0, 1fr);
    border-radius: 6px;
  }

  .advantage-overview-visual {
    margin: 10px 0;
  }

  .advantage-overview-visual svg {
    width: 54px;
    height: 54px;
  }

  .advantage-overview-card > div:last-child {
    gap: 5px 9px;
    padding: 9px 11px;
  }

  .advantage-overview-card > div:last-child > span {
    min-width: 37px;
    border-radius: 5px;
    padding: 3px 6px;
    font-size: 12px;
  }

  .advantage-overview-card h2 {
    font-size: 17px;
  }

  .advantage-overview-card p {
    font-size: 9px;
    line-height: 1.45;
  }

  .transition-callout {
    min-height: 67px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px 0 0;
    background: transparent;
  }

  .transition-callout > strong {
    gap: 8px;
    font-size: 15px;
  }

  .transition-callout > strong i {
    display: none;
  }

  .transition-callout > button {
    min-height: 38px;
    width: 100%;
    border: 0;
    border-radius: 5px;
    padding: 6px 10px;
    background: #111315;
    color: #fff;
    font-size: 11px;
  }

  .transition-callout > button:hover,
  .transition-callout > button:focus-visible {
    color: #fff;
    transform: none;
  }

  .methods-transition-heading {
    min-height: 118px;
  }

  .methods-overview-main {
    gap: 7px;
    padding-top: 8px;
  }

  .method-source-chip {
    min-width: 174px;
    min-height: 39px;
    gap: 10px;
    border-radius: 18px;
    font-size: 12px;
  }

  .method-source-chip::after {
    height: 13px;
  }

  .method-source-chip svg {
    width: 24px;
    height: 24px;
  }

  .method-route-grid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding-top: 13px;
  }

  .method-route-grid::before,
  .method-route-card::before {
    display: none;
  }

  .method-route-card {
    flex: 1 1 0;
    border-radius: 6px;
    padding: 10px 11px 8px;
  }

  .method-route-direct {
    flex-grow: .92;
  }

  .method-route-prototype {
    flex-grow: 1.08;
  }

  .method-route-card > header {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 4px 7px;
    padding: 0 0 7px;
  }

  .method-route-card > header > span {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 0;
    background: transparent;
    color: #a94b16;
    font-size: 11px;
  }

  .method-route-prototype > header > span {
    color: var(--green-dark);
  }

  .method-route-card > header h2 {
    font-size: 17px;
    line-height: 1.25;
  }

  .method-route-card > header strong {
    grid-column: auto;
    padding: 3px 7px;
    font-size: 8px;
  }

  .method-route-direct > header strong {
    grid-column: 1 / -1;
  }

  .method-route-flow {
    flex: 1 1 auto;
    gap: 5px;
    padding: 7px 0 5px;
  }

  .method-route-flow article {
    min-height: 58px;
    gap: 5px;
    border-radius: 5px;
  }

  .method-route-flow svg {
    width: 28px;
    height: 28px;
  }

  .method-route-flow span {
    font-size: 8px;
  }

  .method-route-flow > i {
    font-size: 16px;
  }

  .method-route-flow-four {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .method-route-flow-four > i:nth-of-type(2) {
    display: none;
  }

  .method-route-flow-four > article:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .method-route-flow-four > i:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .method-route-flow-four > article:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .method-route-link {
    min-height: 21px;
    padding: 1px 0 0;
    color: #a94b16;
    font-size: 9px;
  }

  .method-route-card > p {
    padding-top: 6px;
    font-size: 8px;
  }

  .method-route-or {
    top: 50%;
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
}

@media (max-width: 360px), (max-height: 740px) and (max-width: 700px) {
  .transition-heading,
  .methods-transition-heading {
    min-height: 104px;
    padding-block: 9px;
  }

  .transition-heading h1 {
    font-size: 20px;
  }

  .advantages-overview-main,
  .methods-overview-main {
    gap: 6px;
    padding-top: 6px;
  }

  .advantage-overview-card p {
    font-size: 8px;
  }

  .transition-callout {
    min-height: 58px;
  }

  .method-source-chip {
    min-height: 34px;
  }

  .method-route-grid {
    gap: 16px;
  }
}

/* Method 01: direct AI-generated webpage */
[data-method-slide] a {
  color: inherit;
  text-decoration: none;
}

[data-method-slide] button,
[data-method-slide] a {
  -webkit-tap-highlight-color: transparent;
}

.method-heading {
  min-height: 146px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1.5px solid var(--line-dark);
  padding: 18px 2px 20px;
}

.method-heading > div {
  min-width: 0;
}

.method-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
}

.method-heading h1 {
  font-size: 31px;
}

.method-heading p {
  margin-top: 7px;
  color: #282b2e;
  font-size: 14px;
  line-height: 1.55;
}

.method-workspace {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 30px;
  padding: 20px 0 17px;
}

.method-demo,
.method-resources {
  min-width: 0;
  min-height: 0;
}

.method-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 45px;
  gap: 11px;
}

.method-section-title {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.method-section-title h2 {
  font-size: 18px;
}

.method-section-title > span {
  color: #6e7276;
  font-size: 11px;
  white-space: nowrap;
}

.method-browser {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #b8bab8;
  border-radius: 7px;
  background: #f3f3f0;
  box-shadow: 0 18px 38px rgba(13, 17, 18, .08);
}

.method-browser > header {
  min-height: 39px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  border-bottom: 1px solid #c8cac7;
  padding: 0 12px;
  background: #efefed;
}

.method-browser code {
  overflow: hidden;
  border: 1px solid #d0d1cf;
  border-radius: 4px;
  padding: 5px 12px;
  background: #fff;
  color: #54585b;
  font: 10px/1.2 ui-monospace, "Cascadia Code", Consolas, monospace;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.method-browser-dots {
  display: flex;
  gap: 6px;
}

.method-browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5c5c1;
}

.method-browser-dots i:first-child {
  background: #db5a51;
}

.method-browser-dots i:nth-child(2) {
  background: #d8aa35;
}

.method-browser-dots i:last-child {
  background: #58a866;
}

.method-browser picture {
  min-height: 0;
  flex: 1 1 auto;
  display: block;
  overflow: hidden;
  background: #121514;
}

.method-browser img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.method-browser-live img {
  object-fit: cover;
  object-position: center;
}

.method-open-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  padding: 0 18px;
  background: #111315;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.method-open-demo:hover {
  background: #25292b;
}

.method-open-demo:active {
  transform: translateY(1px);
}

.method-open-demo svg,
.method-download-actions svg,
.prompt-dialog footer svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-resources {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #c9cac7;
  padding-left: 30px;
}

.resource-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.resource-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid #c8cac7;
  border-radius: 5px;
  padding: 7px 11px 7px 7px;
  background: #fff;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.resource-row:hover {
  border-color: #777b7d;
  background: #fafaf8;
}

.resource-row > img,
.resource-file-icon {
  width: 62px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: #eeefec;
  object-fit: cover;
}

.resource-row > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.resource-row strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-row small {
  color: #777b7f;
  font-size: 10px;
}

.resource-row > svg,
.resource-file-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #363a3c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-file-icon svg {
  width: 27px;
  height: 27px;
}

.prompt-preview {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #bfc1be;
  border-radius: 6px;
  background: #f7f7f4;
  transition: flex-basis 180ms ease;
}

.prompt-preview > header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #d0d1cf;
  padding: 0 11px 0 14px;
  background: #efefec;
}

.prompt-preview h3 {
  font-size: 12px;
}

.prompt-preview > header > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.prompt-preview button {
  min-height: 28px;
  border: 0;
  border-radius: 4px;
  padding: 4px 7px;
  background: transparent;
  color: #4a4e51;
  cursor: pointer;
  font-size: 10px;
}

.prompt-preview button:hover {
  background: #dedfdb;
}

.prompt-preview [data-prompt-copy] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.prompt-preview [data-prompt-copy] svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.prompt-preview [data-prompt-copy] b {
  font-weight: 620;
}

.prompt-preview-body {
  height: calc(100% - 42px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 14px 10px;
}

.prompt-preview pre {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #393d3f;
  font: 10px/1.75 ui-monospace, "Cascadia Code", Consolas, "Microsoft YaHei", monospace;
  white-space: pre-wrap;
}

.prompt-view-full {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 8px;
  padding-inline: 0 !important;
  color: var(--green-dark) !important;
  font-weight: 680;
}

.prompt-preview.is-collapsed {
  flex: 0 0 42px;
}

.prompt-preview.is-collapsed .prompt-preview-body {
  display: none;
}

.method-download-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.method-download-actions a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #1b1d1f;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 680;
}

.method-download-actions a:first-child {
  background: #111315;
  color: #fff;
}

.method-download-actions a:hover {
  background: #e9eae6;
  color: #111315;
}

.method-download-actions.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-download-actions.is-three a {
  min-width: 0;
  padding-inline: 8px;
  white-space: nowrap;
}

.skill-chip {
  border-color: #d59a3d;
  background: #fffaf0;
  color: #b66400;
}

.frontend-skill-resources .resource-list {
  gap: 6px;
}

.frontend-skill-resources .resource-row {
  min-height: 58px;
}

.frontend-skill-resources .resource-row > img,
.frontend-skill-resources .resource-file-icon {
  height: 43px;
}

.resource-github-icon {
  background: #f4f4f2;
}

.resource-github-icon svg {
  width: 31px;
  height: 31px;
  fill: #111315;
  stroke: none;
}

.skill-resource-row {
  grid-template-columns: 62px minmax(0, 1fr) auto;
}

.resource-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 680;
  white-space: nowrap;
}

.resource-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.skill-install-card {
  flex: 0 0 auto;
  margin-top: 10px;
  border: 1px solid #bfc1be;
  border-radius: 6px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fafaf8, #f2f2ef);
}

.skill-install-card > header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-install-card > header svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #111315;
  stroke-width: 1.7;
}

.skill-install-card h3 {
  font-size: 12px;
}

.skill-install-card > p {
  margin-top: 6px;
  color: #55595c;
  font-size: 9px;
  line-height: 1.45;
}

.skill-repository-address {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  border-radius: 4px;
  padding: 0 5px 0 10px;
  background: #191b1e;
  color: #f5f5f2;
}

.skill-repository-address code {
  min-width: 0;
  overflow: hidden;
  font: 9px/1.2 ui-monospace, "Cascadia Code", Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-repository-address button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.skill-repository-address button:hover,
.skill-repository-address button.is-copied {
  background: #3a3e42;
}

.skill-repository-address button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.skill-install-card > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--green-dark);
  font-size: 9px;
}

.skill-install-card > strong i {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-style: normal;
  font-size: 10px;
}

.deployment-note {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #666a6d;
  font-size: 10px;
}

.deployment-note i {
  width: 16px;
  height: 16px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #8b8e90;
  border-radius: 50%;
  font: 700 9px/1 Georgia, serif;
}

.prompt-dialog {
  width: min(880px, calc(100% - 48px));
  max-height: min(820px, calc(100dvh - 56px));
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
}

.prompt-dialog::backdrop {
  background: rgba(17, 19, 21, .58);
  backdrop-filter: blur(3px);
}

.prompt-dialog-card {
  max-height: min(820px, calc(100dvh - 56px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f8f8f5;
}

.prompt-dialog-card > header {
  min-height: 82px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #bfc1bf;
  padding: 14px 20px 13px 24px;
  background: #111315;
  color: #fff;
}

.prompt-dialog-card > header span {
  display: block;
  margin-bottom: 6px;
  color: #a9d94a;
  font-size: 9px;
  letter-spacing: .12em;
}

.prompt-dialog-card > header h2 {
  font-size: 20px;
}

.prompt-dialog-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #55595b;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.prompt-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.prompt-dialog-card > pre {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding: 22px 25px;
  color: #292d2f;
  font: 12px/1.8 ui-monospace, "Cascadia Code", Consolas, "Microsoft YaHei", monospace;
  white-space: pre-wrap;
  scrollbar-color: #9b9e9f transparent;
}

.prompt-dialog-card > footer {
  min-height: 66px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #c9cac7;
  padding: 11px 20px 11px 24px;
  background: #fff;
}

.prompt-dialog-card > footer > span {
  color: #666a6d;
  font-size: 10px;
}

.prompt-dialog-card > footer > div {
  display: flex;
  gap: 8px;
}

.prompt-dialog-card > footer a,
.prompt-dialog-card > footer button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #1a1d1f;
  border-radius: 5px;
  padding: 7px 14px;
  background: #fff;
  color: #111315;
  cursor: pointer;
  font-size: 11px;
  font-weight: 680;
}

.prompt-dialog-card > footer button {
  background: #111315;
  color: #fff;
}

.prompt-dialog-card > footer button b {
  font-weight: inherit;
}

[data-method-slide] :is(a, button):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

[data-method-slide] button.is-error {
  color: var(--red);
}

@media (min-width: 701px) {
  .slide-method-one .slide-shell,
  .slide-method-two .slide-shell,
  .slide-frontend-skill .slide-shell {
    position: absolute;
    top: max(24px, calc((100% - 1080px) / 2));
    left: 50%;
    width: min(1516px, calc(100% - 92px));
    height: min(1060px, calc(100% - 48px));
    transform: translateX(-50%);
    padding-block: 0;
  }
}

@media (max-width: 1450px) and (min-width: 701px), (max-height: 860px) and (min-width: 701px) {
  .method-heading {
    min-height: 103px;
    padding-block: 11px;
  }

  .method-heading h1 {
    font-size: 24px;
  }

  .method-workspace {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    padding: 13px 0 10px;
  }

  .method-resources {
    padding-left: 22px;
  }

  .resource-row {
    min-height: 58px;
  }

  .resource-row > img,
  .resource-file-icon {
    height: 43px;
  }

  .frontend-skill-resources .resource-row {
    min-height: 52px;
  }

  .frontend-skill-resources .resource-row > img,
  .frontend-skill-resources .resource-file-icon {
    height: 39px;
  }

  .skill-install-card {
    margin-top: 7px;
    padding-block: 7px;
  }

  .skill-install-card > p,
  .skill-repository-address,
  .skill-install-card > strong {
    margin-top: 5px;
  }
}

@media (max-width: 700px) {
  .method-heading {
    min-height: 103px;
    display: block;
    padding: 9px 2px 10px;
  }

  .method-heading .eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .method-heading h1 {
    font-size: 22px;
  }

  .method-heading p {
    max-width: 345px;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.4;
  }

  .method-heading .warning-chip {
    min-height: 0;
    margin-top: 6px;
    padding: 3px 7px;
    font-size: 8px;
  }

  .method-workspace {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
    padding: 7px 0 5px;
  }

  .method-demo {
    flex: 0 0 254px;
    grid-template-rows: 19px 188px 34px;
    gap: 6px;
  }

  .method-section-title {
    min-height: 19px;
  }

  .method-section-title h2 {
    font-size: 13px;
  }

  .method-section-title > span {
    font-size: 7px;
  }

  .method-browser {
    border-radius: 4px;
    box-shadow: none;
  }

  .method-browser > header {
    min-height: 26px;
    grid-template-columns: 45px minmax(0, 1fr) 45px;
    padding-inline: 7px;
  }

  .method-browser-dots {
    gap: 4px;
  }

  .method-browser-dots i {
    width: 5px;
    height: 5px;
  }

  .method-browser code {
    padding: 3px 6px;
    font-size: 6px;
  }

  .method-open-demo {
    padding-inline: 12px;
    font-size: 10px;
  }

  .method-open-demo svg {
    width: 14px;
    height: 14px;
  }

  .method-resources {
    min-height: 0;
    flex: 1 1 auto;
    border-top: 1px solid #c9cac7;
    border-left: 0;
    padding: 7px 0 0;
  }

  .resource-list {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 5px;
  }

  .resource-row {
    min-width: 0;
    min-height: 45px;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 6px;
    padding: 4px 5px 4px 4px;
  }

  .resource-row > img,
  .resource-file-icon {
    width: 38px;
    height: 35px;
  }

  .resource-row strong {
    font-size: 7px;
  }

  .resource-row small {
    font-size: 6px;
  }

  .resource-row > svg {
    width: 13px;
    height: 13px;
  }

  .resource-file-icon svg {
    width: 20px;
    height: 20px;
  }

  .frontend-skill-workspace {
    gap: 6px;
  }

  .slide-frontend-skill .method-demo {
    flex-basis: 224px;
    grid-template-rows: 19px 158px 34px;
  }

  .frontend-skill-resources {
    display: flex;
  }

  .frontend-skill-resources .method-section-title {
    order: 0;
  }

  .frontend-skill-resources .skill-install-card {
    order: 1;
  }

  .frontend-skill-resources .skill-resource-list {
    order: 2;
  }

  .frontend-skill-resources .prompt-preview {
    order: 3;
  }

  .frontend-skill-resources .method-download-actions {
    order: 4;
  }

  .skill-install-card {
    margin-top: 5px;
    padding: 6px 8px;
  }

  .skill-install-card > header {
    gap: 6px;
  }

  .skill-install-card > header svg {
    width: 14px;
    height: 14px;
  }

  .skill-install-card h3 {
    font-size: 8px;
  }

  .skill-install-card > p {
    margin-top: 3px;
    font-size: 6px;
  }

  .skill-repository-address {
    min-height: 25px;
    grid-template-columns: minmax(0, 1fr) 23px;
    margin-top: 4px;
    padding-left: 7px;
  }

  .skill-repository-address code {
    font-size: 6px;
  }

  .skill-repository-address button {
    width: 22px;
    height: 22px;
  }

  .skill-repository-address button svg {
    width: 11px;
    height: 11px;
  }

  .skill-install-card > strong {
    gap: 5px;
    margin-top: 4px;
    font-size: 6px;
  }

  .skill-install-card > strong i {
    width: 12px;
    height: 12px;
    font-size: 7px;
  }

  .frontend-skill-resources .skill-resource-list {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 5px;
  }

  .frontend-skill-resources .resource-row {
    min-height: 38px;
    grid-template-columns: 34px minmax(0, 1fr) 14px;
  }

  .frontend-skill-resources .resource-row > img,
  .frontend-skill-resources .resource-file-icon {
    width: 34px;
    height: 30px;
  }

  .frontend-skill-resources .skill-resource-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .resource-github-icon svg {
    width: 22px;
    height: 22px;
  }

  .resource-action {
    gap: 3px;
    font-size: 7px;
  }

  .resource-action svg {
    width: 10px;
    height: 10px;
  }

  .frontend-skill-resources .prompt-preview {
    flex: 1 1 62px;
    margin-top: 5px;
  }

  .method-download-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-download-actions.is-three a {
    padding-inline: 4px;
  }

  .prompt-preview {
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 6px;
    border-radius: 4px;
  }

  .prompt-preview > header {
    min-height: 29px;
    padding: 0 5px 0 8px;
  }

  .prompt-preview h3 {
    font-size: 8px;
  }

  .prompt-preview button {
    min-height: 21px;
    padding: 2px 4px;
    font-size: 7px;
  }

  .prompt-preview [data-prompt-copy] svg {
    width: 10px;
    height: 10px;
  }

  .prompt-preview-body {
    height: calc(100% - 29px);
    padding: 6px 8px 5px;
  }

  .prompt-preview pre {
    font-size: 6px;
    line-height: 1.5;
  }

  .prompt-view-full {
    margin-top: 2px;
  }

  .prompt-preview.is-collapsed {
    flex-basis: 29px;
  }

  .method-download-actions {
    gap: 6px;
    margin-top: 6px;
  }

  .method-download-actions a {
    min-height: 31px;
    gap: 5px;
    font-size: 8px;
  }

  .method-download-actions svg {
    width: 12px;
    height: 12px;
  }

  .deployment-note {
    min-height: 19px;
    gap: 5px;
    margin-top: 3px;
    font-size: 7px;
  }

  .deployment-note i {
    width: 12px;
    height: 12px;
    font-size: 7px;
  }

  .prompt-dialog {
    width: calc(100% - 22px);
    max-height: calc(100dvh - 22px);
  }

  .prompt-dialog-card {
    max-height: calc(100dvh - 22px);
  }

  .prompt-dialog-card > header {
    min-height: 68px;
    padding: 11px 13px 10px 16px;
  }

  .prompt-dialog-card > header h2 {
    font-size: 16px;
  }

  .prompt-dialog-close {
    width: 34px;
    height: 34px;
  }

  .prompt-dialog-card > pre {
    padding: 15px 16px;
    font-size: 10px;
    line-height: 1.7;
  }

  .prompt-dialog-card > footer {
    min-height: 90px;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 9px 12px 11px;
  }

  .prompt-dialog-card > footer > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .prompt-dialog-card > footer a,
  .prompt-dialog-card > footer button {
    min-height: 36px;
  }
}

@media (max-width: 360px), (max-height: 740px) and (max-width: 700px) {
  .method-heading {
    min-height: 91px;
  }

  .method-demo {
    flex-basis: 222px;
    grid-template-rows: 18px 160px 32px;
  }
}
