.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.process-intro { position: relative; isolation: isolate; min-height: clamp(138px, 17vw, 210px); display: flex; align-items: end; overflow: hidden; margin-bottom: 15px; padding: clamp(15px, 3vw, 31px); border: 1px solid #294047; border-radius: var(--radius); background: #10232b; }
.process-intro img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 45%; }
.process-intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #10212bf9 1%, #10212bdb 36%, #10212b50 74%, #10212b18); }
.process-intro-text { max-width: min(68%, 660px); }
.process-intro h1 { color: #f5fbf9; }
.process-intro .section-label { color: #a2e0cf; }
.process-intro p { color: #c3dedb; font-size: clamp(11px, 1.4vw, 14px); margin-top: 7px; line-height: 1.4; }
.process-layout { display: grid; grid-template-columns: clamp(185px, 18vw, 243px) minmax(0, 1fr) clamp(190px, 22vw, 306px); align-items: start; gap: 12px; }
.process-sidebar { overflow: hidden; }
.process-sidebar .case-list { max-height: min(670px, 68dvh); }
.process-group { padding: 8px 5px 4px; color: var(--quiet); font-size: 10.5px; font-weight: 700; }
.process-group:first-child { padding-top: 2px; }
.process-list-item { padding-block: 7px; }
.process-player { overflow: hidden; }
.process-heading { padding: clamp(12px, 1.6vw, 21px); border-bottom: 1px solid var(--line); }
.process-heading h2 { font-size: clamp(21px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.04em; }
.process-heading p { max-width: 76ch; margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.44; }
.process-heading .process-title-row { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.process-title-row button { flex-shrink: 0; }
.process-stage { background: #101923; }
.process-stage svg { display: block; width: 100%; height: auto; }
.process-player-actions { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: center; gap: 9px; padding: 8px 10px; border-block: 1px solid var(--line); }
.process-play { min-width: 87px; min-height: 33px; color: var(--accent); }
.process-scrub input { display: block; width: 100%; margin: 0; accent-color: var(--accent); }
.process-speed select { min-height: 31px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--panel-2); font-size: 11px; }
.process-steps { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 10px 0; }
.process-steps button { flex: 1; min-width: min(110px, 100%); display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 5px; padding: 7px 6px; border: 1px solid var(--line); border-radius: 7px; text-align: left; color: var(--muted); font-size: 10.5px; line-height: 1.3; overflow-wrap: anywhere; }
.process-steps button:hover { background: var(--panel-2); color: var(--text); }
.process-steps button[aria-current="step"] { border-color: var(--accent); color: var(--accent); background: var(--panel-2); }
.process-steps button span:first-child { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 5px; font-variant-numeric: tabular-nums; font-size: 9px; }
.process-step-detail { min-height: 92px; padding: 9px 12px 13px; }
.process-step-detail h3 { font-size: 14px; margin-bottom: 4px; }
.process-step-detail p { color: var(--muted); font-size: 12px; line-height: 1.48; }
.process-reference { margin: 0; }
.process-reference img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 8px; background: #101f28; }
.process-reference figcaption { margin-top: 5px; color: var(--quiet); font-size: 10px; line-height: 1.45; }
.process-context .case-section { margin-top: 9px; }
.process-context .case-section h3 { font-size: 12px; margin-bottom: 4px; }
.process-context .case-section p { font-size: 11.5px; line-height: 1.44; }
.chapter-diagram-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; justify-content: end; }
@media (max-width: 1140px) {
  .topbar { height: auto; min-height: 56px; gap: 0 7px; flex-wrap: wrap; }
  .topbar .brand, .top-actions { height: 52px; }
  .topbar .top-divider { display: none; }
  .workspace-nav { order: 3; width: 100%; min-height: 37px; }
  .workspace-nav button { justify-content: center; flex: 1; }
}
@media (max-width: 1020px) {
  .process-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 10px; }
  .process-context { grid-column: 2; }
}
@media (max-width: 680px) {
  .process-layout { grid-template-columns: minmax(0, 1fr); }
  .process-context { grid-column: 1; }
  .process-sidebar .case-list { max-height: 190px; }
  .process-intro { min-height: 140px; }
  .process-intro-text { max-width: min(81%, 390px); }
  .process-title-row .small-action { font-size: 0; min-width: 29px; }
}
@media (max-width: 399px) {
  .workspace-nav button { gap: 4px; font-size: 10.5px; padding-inline: 2px; }
  .workspace-nav svg { width: 13px; height: 13px; }
}
