.uc-hero{
  padding-block:var(--md-space-8);
  color:var(--md-ink);
  background:var(--md-peach);
}

.uc-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:var(--md-space-7);
  align-items:center;
}

.uc-hero__grid>*{
  min-width:0;
}

.uc-hero__copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
  min-width:0;
}

.uc-hero__copy h1{
  max-width:16ch;
  margin-inline:0;
}

.uc-hero__copy>p{
  max-width:62ch;
  margin-inline:0;
  color:var(--md-ink);
}

.uc-hero__facts{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--md-space-2);
  margin-top:var(--md-space-4);
}

.uc-hero__facts .c-chip{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
}

.uc-hero__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:var(--md-space-2);
  margin-top:var(--md-space-4);
}

.uc-hero__visual{
  position:relative;
  min-width:0;
  padding-bottom:var(--md-space-7);
}

.uc-hero__visual>img{
  width:100%;
  min-height:360px;
  object-fit:contain;
}

.uc-hero__panel{
  position:absolute;
  right:0;
  bottom:0;
  width:min(88%,520px);
  overflow:hidden;
  color:var(--md-ink);
  background:var(--md-white);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-lg);
  box-shadow:var(--md-shadow);
}

.uc-hero__panel-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:var(--md-space-2);
  padding:var(--md-space-3) var(--md-space-4);
  color:var(--md-ink);
  background:var(--md-lilac-soft);
  border-bottom:1px solid var(--md-line);
  font-size:var(--md-fs-xs);
}

.uc-hero__job{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:var(--md-space-3);
  align-items:center;
  padding:var(--md-space-3) var(--md-space-4);
  color:var(--md-ink);
  background:var(--md-white);
  border-bottom:1px solid var(--md-line);
}

.uc-hero__job:last-child{
  border-bottom:0;
}

.uc-hero__job>span{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  color:var(--md-ink);
  background:var(--md-peach);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-sm);
}

.uc-hero__job div{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-2);
  min-width:0;
}

.uc-hero__job small{
  color:var(--md-muted);
  font-size:var(--md-fs-xs);
}

.uc-section-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
  max-width:920px;
  margin-bottom:var(--md-space-6);
}

.uc-section-head h2,
.uc-section-head p{
  margin-inline:0;
}

.uc-section-head p{
  max-width:76ch;
}

.uc-section-head--light{
  color:var(--md-white);
}

.uc-section-head--light p{
  color:var(--md-white);
}

.uc-section-head .page-eyebrow,
.uc-hero__copy .page-eyebrow,
.uc-closing__copy .page-eyebrow{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
}

.uc-flow{
  list-style:none;
  margin:0;
  padding:0;
}

.uc-flow__item,
.uc-runner-card,
.uc-ai-card,
.uc-media-card,
.uc-side-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
}

.uc-flow__item p,
.uc-runner-card p,
.uc-ai-card p,
.uc-media-card p,
.uc-side-card p{
  color:var(--md-muted);
}

.uc-step{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
  color:var(--md-ink);
  font-size:var(--md-fs-xs);
  font-weight:700;
}

.uc-callout,
.uc-region-note{
  margin-top:var(--md-space-5);
}

.uc-callout>div:last-child,
.uc-region-note>div:last-child{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-2);
  min-width:0;
}

.uc-farm{
  align-items:start;
}

.uc-farm .c-paired__side > *{
  flex:none;
}

.uc-farm__board{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-4);
}

.uc-farm__head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--md-space-4);
}

.uc-farm__head>div{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-2);
  min-width:0;
}

.uc-farm__head .c-badge,
.uc-side-card .c-chip,
.uc-side-card .c-badge,
.uc-runner-card .c-badge,
.uc-template .c-badge{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
}

.uc-queue{
  overflow:hidden;
  color:var(--md-ink);
  background:var(--md-cream);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-md);
}

.uc-queue__row{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr);
  gap:var(--md-space-3);
  align-items:center;
  padding:var(--md-space-3) var(--md-space-4);
  color:var(--md-ink);
  background:var(--md-cream);
  border-bottom:1px solid var(--md-line);
  font-size:var(--md-fs-sm);
}

.uc-queue__row:last-child{
  border-bottom:0;
}

.uc-rule-list,
.uc-check-list{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-2);
}

.uc-rule-list li,
.uc-check-list li{
  position:relative;
  padding-left:var(--md-space-5);
  color:var(--md-muted);
}

.uc-rule-list li::before,
.uc-check-list li::before{
  position:absolute;
  top:.65em;
  left:0;
  width:7px;
  height:7px;
  content:"";
  color:var(--md-green);
  background:currentColor;
  border-radius:50%;
}

.uc-side-card .c-btn{
  margin-top:auto;
}

.uc-runner-grid{
  align-items:start;
}

.uc-inline-code{
  overflow-wrap:anywhere;
  padding:.1rem .3rem;
  color:var(--md-ink);
  background:var(--md-peach);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-sm);
}

.uc-runner-card .c-code{
  width:100%;
  margin-top:var(--md-space-2);
}

.uc-handoff{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  gap:var(--md-space-3);
  align-items:stretch;
}

.uc-handoff__lane{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
  min-width:0;
  padding:var(--md-card-padding);
  color:var(--md-ink);
  background:var(--md-white);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-md);
}

.uc-handoff__lane .c-badge{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
}

.uc-handoff__lane p{
  color:var(--md-muted);
}

.uc-handoff__arrow{
  display:grid;
  place-items:center;
  color:var(--md-ink);
}

.uc-handoff__output{
  margin-top:auto;
  padding-top:var(--md-space-3);
  color:var(--md-ink);
  border-top:1px solid var(--md-line);
  font-size:var(--md-fs-xs);
  font-weight:700;
}

.uc-ai-grid{
  align-items:start;
}

.uc-ai-card{
  color:var(--md-ink);
  background:var(--md-white);
}

.uc-metrics{
  width:100%;
  margin:var(--md-space-3) 0 0;
}

.uc-metrics div{
  display:grid;
  grid-template-columns:minmax(max-content,.45fr) minmax(0,1fr);
  gap:var(--md-space-3);
  padding-block:var(--md-space-2);
  border-top:1px solid var(--md-line);
}

.uc-metrics dt{
  color:var(--md-muted);
  font-size:var(--md-fs-xs);
}

.uc-metrics dd{
  min-width:0;
  margin:0;
  color:var(--md-ink);
  font-size:var(--md-fs-sm);
  font-weight:700;
}

.uc-terminal{
  margin-top:var(--md-space-5);
  overflow:hidden;
  color:var(--md-white);
  background:var(--md-ink);
  border:1px solid var(--md-white);
  border-radius:var(--md-radius-md);
}

.uc-terminal__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--md-space-3);
  padding:var(--md-space-3) var(--md-space-4);
  color:var(--md-ink);
  background:var(--md-lilac-soft);
  border-bottom:1px solid var(--md-line);
  font-size:var(--md-fs-xs);
}

.uc-terminal__lights{
  display:flex;
  gap:var(--md-space-2);
}

.uc-terminal__lights span{
  width:10px;
  height:10px;
  background:var(--md-orange);
  border:1px solid var(--md-line);
  border-radius:50%;
}

.uc-terminal__lights span:nth-child(2){
  background:var(--md-amber);
}

.uc-terminal__lights span:nth-child(3){
  background:var(--md-green);
}

.uc-terminal pre{
  margin:0;
  padding:var(--md-space-5);
  color:var(--md-white);
  background:var(--md-ink);
  line-height:1.7;
}

.uc-media-grid{
  align-items:start;
}

.uc-region-table{
  min-width:980px;
}

.uc-region-note{
  color:var(--md-ink);
  background:var(--md-white);
}

.uc-template-list{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-5);
}

.uc-template{
  overflow:hidden;
  color:var(--md-ink);
  background:var(--md-white);
  border:1px solid var(--md-line);
  border-radius:var(--md-radius-lg);
}

.uc-template__bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:var(--md-space-4);
  padding:var(--md-space-4) var(--md-space-5);
  color:var(--md-ink);
  background:var(--md-peach);
  border-bottom:1px solid var(--md-line);
}

.uc-template__bar>div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
  min-width:0;
}

.uc-template pre{
  margin:0;
  padding:var(--md-space-5);
  overflow-x:auto;
  color:var(--md-white);
  background:var(--md-ink);
  line-height:1.7;
}

.uc-template__note{
  display:flex;
  flex-direction:column;
  gap:var(--md-space-2);
  padding:var(--md-space-4) var(--md-space-5);
  color:var(--md-ink);
  background:var(--md-white);
  border-top:1px solid var(--md-line);
}

.uc-template__note p{
  color:var(--md-muted);
}

.uc-template-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:var(--md-space-2);
  margin-top:var(--md-space-5);
}

.uc-closing__copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--md-space-2);
  max-width:760px;
  min-width:0;
}

.uc-closing__copy h2{
  max-width:18ch;
  margin-inline:0;
}

.uc-closing__copy p{
  max-width:68ch;
  margin-inline:0;
}

.uc-closing__actions{
  display:flex;
  flex:0 0 auto;
  flex-direction:column;
  align-items:stretch;
  gap:var(--md-space-2);
  min-width:min(100%,230px);
}

.uc-closing__ghost{
  color:var(--md-white);
  background:transparent;
  border-color:var(--md-white);
}

.uc-closing__ghost:hover{
  color:var(--md-ink);
  background:var(--md-white);
}

@media(max-width:768px){
  .uc-hero__grid{
    grid-template-columns:1fr;
  }

  .uc-hero__copy h1{
    max-width:18ch;
  }

  .uc-hero__visual{
    padding-bottom:var(--md-space-8);
  }

  .uc-handoff{
    grid-template-columns:1fr;
  }

  .uc-handoff__arrow{
    transform:rotate(90deg);
  }

  .uc-queue__row{
    grid-template-columns:1fr;
    gap:var(--md-space-2);
  }

  .uc-closing__actions{
    width:100%;
  }
}

@media(max-width:390px){
  .uc-hero{
    padding-block:var(--md-space-7);
  }

  .uc-hero__actions,
  .uc-template-actions{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .uc-hero__actions .c-btn,
  .uc-template-actions .c-btn{
    width:100%;
    white-space:normal;
  }

  .uc-hero__visual>img{
    min-height:260px;
  }

  .uc-hero__panel{
    width:100%;
  }

  .uc-hero__panel-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .uc-metrics div{
    grid-template-columns:1fr;
    gap:var(--md-space-2);
  }

  .uc-template__bar{
    align-items:flex-start;
    flex-direction:column;
  }

  .uc-template pre,
  .uc-terminal pre{
    padding:var(--md-space-4);
    font-size:var(--md-fs-xs);
  }
}

.uc-hero__grid{align-items:start}
.uc-hero__copy .c-breadcrumb{margin-bottom:calc(var(--md-space-5) - var(--md-space-2))}
