/* How We Build: one wide software workspace (designed at 960x316, scaled to fit) */
.how-ws {
  position: relative;
  width: 100%;
  height: 316px;
  margin-top: 40px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--glass-line);
  box-shadow: 0 30px 50px -28px rgba(28, 31, 34, 0.45);
}
.ws-in {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 316px;
  transform-origin: 0 0;
  font-family: var(--f-ui);
  color: #1c1f22;
}
.ws-in * {
  box-sizing: border-box;
}
.ws-in p,
.ws-in h6,
.ws-in pre {
  margin: 0;
}
.ws-in i,
.ws-in u {
  font-style: normal;
  text-decoration: none;
}
.ws-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  background: #1c1f22;
  color: #e8e6e0;
  font-size: 11px;
}
.ws-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4f54;
}
.ws-bar span {
  margin-left: 8px;
}
.ws-bar em {
  font-style: normal;
  font-size: 10px;
}
.ws-bar .ws-br {
  margin-left: 10px;
  background: rgba(242, 204, 122, 0.16);
  color: #f2cc7a;
  padding: 2px 8px;
  border-radius: 99px;
  font-family: var(--f-mono);
}
.ws-bar .live {
  margin-left: auto;
  color: #98a1b3;
}
.ws-main {
  display: grid;
  grid-template-columns: 230px 1fr 300px;
  height: calc(100% - 30px - 24px);
}
.ws-status {
  display: flex;
  gap: 18px;
  align-items: center;
  height: 24px;
  padding: 0 14px;
  background: #c8913a;
  color: #1c1f22;
  font-size: 10px;
  font-weight: 500;
}
.ws-status .r {
  margin-left: auto;
  font-weight: 600;
}
/* tasks */
.ws-tasks {
  background: #f6f7f8;
  border-right: 1px solid #e8eaed;
  padding: 12px;
}
.ws-tasks h6,
.ws-dp h6 {
  font: 600 10px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8f94;
  margin-bottom: 9px;
}
.ws-tasks p {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 7px 8px;
  margin-bottom: 6px;
}
.ws-tasks p i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #c9c2b2;
  flex: none;
  position: relative;
}
.ws-tasks .done i {
  background: #1e8e5a;
  border-color: #1e8e5a;
}
.ws-tasks .done i::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 5px;
  height: 2.5px;
  border-left: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  transform: rotate(-45deg);
}
.ws-tasks .prog i {
  border-color: #c8913a;
  background: conic-gradient(#c8913a 0 55%, #fff 0);
}
.ws-tasks .rev i {
  border-color: #1f6fe5;
  background: conic-gradient(#1f6fe5 0 85%, #fff 0);
}
.ws-tasks span {
  flex: 1;
  min-width: 0;
}
.ws-tasks b {
  display: block;
  font: 600 10.5px var(--f-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-tasks small {
  font-size: 9px;
  color: #8a8f94;
}
.ws-tasks u {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1c1f22;
  color: #f2cc7a;
  font: 600 7px var(--f-ui);
  display: grid;
  place-items: center;
  flex: none;
}
.ws-prog {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 5px;
  font-size: 9.5px;
  color: #6b6f73;
}
.ws-prog b {
  color: #1c1f22;
}
.ws-prog div {
  grid-column: 1 / -1;
  height: 4px;
  background: #e6e8ea;
  border-radius: 3px;
}
.ws-prog div i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 3px;
  background: var(--grad-gold);
}
/* editor */
.ws-ed {
  background: #fdfcf9;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tabs {
  display: flex;
  background: #f1eee7;
  border-bottom: 1px solid #e6e1d6;
}
.tabs span {
  padding: 8px 14px;
  font: 400 10.5px var(--f-mono);
  color: #6b6f73;
  border-right: 1px solid #e6e1d6;
}
.tabs .on {
  background: #fdfcf9;
  color: #1c1f22;
  box-shadow: inset 0 2px 0 #c8913a;
}
.ws-ed .code {
  flex: 1;
  padding: 12px 0 8px;
  font: 400 11.5px/1.75 var(--f-mono);
  color: #2a2f34;
  white-space: pre;
  overflow: hidden;
}
.ws-ed .w-n {
  display: inline-block;
  width: 34px;
  padding-right: 10px;
  text-align: right;
  color: #b0b3b8;
  border-right: 2px solid transparent;
  margin-right: 14px;
}
.ws-ed .w-n.add {
  border-right-color: #1e8e5a;
  color: #1e8e5a;
}
.ws-ed .w-k {
  color: #8a4b0f;
  font-weight: 500;
}
.ws-ed .w-f {
  color: #1f5fbf;
}
.w-chk {
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid #ece7d8;
  font-size: 10px;
  color: #464b50;
}
.w-chk i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fbf71;
  margin-right: 6px;
}
.w-chk .w i {
  background: #c8913a;
  animation: pulse 2s infinite;
}
/* deployments */
.ws-dp {
  background: #1c1f22;
  color: #e8e6e0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.ws-dp h6 {
  color: #98a1b3;
  margin-bottom: 0;
}
.pipe {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pipe u {
  flex: 1;
  height: 1px;
  background: #4a4f54;
}
.pipe .s {
  font-size: 9.5px;
  padding: 3px 9px;
  border-radius: 99px;
  background: #2a2f34;
  color: #b8bcc2;
}
.pipe .s.pok {
  background: rgba(47, 191, 113, 0.16);
  color: #6fe3a2;
}
.pipe .s.pnow {
  background: rgba(242, 204, 122, 0.2);
  color: #f2cc7a;
  font-weight: 600;
  animation: pulse 2.4s infinite;
}
.env {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.env div {
  background: #262b30;
  border: 1px solid #343a40;
  border-radius: 8px;
  padding: 7px 8px;
}
.env small {
  display: block;
  font-size: 8.5px;
  color: #98a1b3;
}
.env b {
  display: block;
  font: 500 9.5px var(--f-mono);
  margin: 2px 0 4px;
  word-break: break-all;
}
.env em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 600;
  color: #6fe3a2;
}
.ws-dp #deploy {
  flex: 1;
  margin: 0;
  padding: 8px 9px;
  background: #14171a;
  border-radius: 8px;
  font: 400 10.5px/1.7 var(--f-mono);
  color: #d9d6cf;
  white-space: pre;
  min-height: 0;
  overflow: hidden;
}
.ws-dp #deploy .st {
  color: #6fe3a2;
}
.ws-dp #deploy .dd {
  color: #f2cc7a;
}
@media (prefers-reduced-motion: reduce) {
  .w-chk .w i,
  .pipe .s.pnow {
    animation: none !important;
  }
}
.ws-tasks {
  overflow: hidden;
  padding: 10px 12px;
}
.ws-tasks p {
  padding: 5px 8px;
  margin-bottom: 5px;
}
.ws-tasks h6 {
  margin-bottom: 7px;
}
.ws-prog {
  margin-top: 6px;
}
.ws-prog {
  display: none;
}
@media (min-width: 901px) and (max-height: 800px) {
  .how-ws {
    margin-top: 24px;
  }
  #how .steps {
    margin-top: 36px;
  }
  #how {
    padding-bottom: 24px;
  }
}
