.workflows { color: #102b50; }
.wf-heading { padding-block: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 38px); }
.wf-heading .topic { color: #316ca4; }
.wf-heading h1 {
  max-width: 24ch; margin: 0; font-size: clamp(2.55rem, 4.15vw, 4.35rem);
  font-weight: 650; letter-spacing: -.063em; line-height: 1.055;
}
.wf-heading h1 em { color: #316ca4; font-weight: inherit; font-style: normal; }
.wf-heading > p:last-child { max-width: 79ch; color: #435b76; line-height: 1.65; margin: 1rem 0 0; }
.wf-gallery { background: #f5f8fc; border-block: 1px solid #dbe5ef; padding-block: clamp(20px, 3vw, 38px) clamp(38px, 6vw, 72px); }
.studio noscript article { margin: 1rem; padding: 1rem; background: #fff; border: 1px solid #dbe5ef; border-radius: 8px; }
.studio noscript li, .studio noscript p { line-height: 1.6; }
.studio--workflows .studio-layout {
  display: grid; grid-template-columns: minmax(195px, .68fr) minmax(0, 2.6fr);
  gap: clamp(16px, 3vw, 40px); align-items: start;
}
.studio-tabs {
  position: sticky; top: 16px; display: grid; gap: 4px; padding: 7px;
  background: white; border: 1px solid #c9d8e8; border-radius: 10px; scroll-margin-top: 16px;
}
.studio-tabs h2 { margin: 9px 10px 6px; font-size: .8rem; color: #476581; font-weight: 740; letter-spacing: .01em; }
.studio-tabs a {
  display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 46px;
  padding: 9px 11px; border: 1px solid transparent; border-radius: 6px; background: #fff;
  color: #274766; font-size: .92rem; font-weight: 680; line-height: 1.3; text-decoration: none;
}
.studio-tabs a:hover { border-color: #ccdbeb; background: #f3f7fb; }
.studio-tabs a svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.studio-tabs a span { flex: 1; min-width: 0; }
.studio-tabs a[aria-current="true"] { background: #e6f0fa; border-color: #afc9e1; color: #1c4f80; }
.studio-tabs a[aria-current="true"]::after { content: '→'; }
.studio--workflows .studio-related { justify-content: flex-end; gap: 9px 24px; margin-top: 10px; }
@media (max-width: 760px) {
  .studio--workflows .studio-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .studio-tabs { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 8px; }
  .studio-tabs h2 { grid-column: 1/-1; margin: 0; padding: 4px 4px 2px; }
  .studio-tabs a { min-height: 44px; padding: 5px 8px; font-size: .8rem; border-color: #d6e2ee; }
  .studio-tabs a:last-child { grid-column: 1/-1; }
  .studio-tabs a[aria-current="true"]::after { display: none; }
  .studio-tabs a svg { width: 15px; height: 15px; }
  .studio-tabs a span { hyphens: auto; overflow-wrap: anywhere; }
  .studio--workflows .studio-related { justify-content: space-between; }
}
