
.cl-h1 > span { display: inline-block; }
html[lang="en"] .cl-h1 > span + span { margin-left: .28em; }

.cl-page { overflow-wrap: break-word; }
.cl-page :is(h1, h2, h3, b, th, small, em, .lede) { word-break: auto-phrase; }
.cl-page :is(p, li, figcaption, td, .cl-dl-row > span) { text-wrap: pretty; }
.cl-page :is(h1, h2, h3, .lede) { text-wrap: balance; }
.cl-chapnav { max-width: 700px; margin-left: auto; margin-right: auto; }
html[lang="en"] .cl-chapnav { max-width: 820px; }

.cl-figcap { max-width: 760px; margin: 14px auto 0; text-align: center; word-break: auto-phrase; text-wrap: balance; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.sec-dark .cl-figcap { color: rgba(255,255,255,.62); }
.cl-center-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.cl-center-note .inline-link { margin-left: 6px; }

.cl-shot { max-width: 1114px; margin-left: auto; margin-right: auto; }
.cl-shot-1504 { max-width: 1504px; }
.cl-shot-1392 { max-width: 1392px; }
.cl-page .sec-dark .shot figcaption { color: rgba(255,255,255,.72); }

.cl-need { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.cl-need-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.cl-need-col h3 { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; }
.cl-need-col h3 .ic { width: 22px; height: 22px; flex: none; }
.cl-need-yes h3 .ic { color: #22a06b; }
.cl-need ul { margin-top: 16px; display: grid; gap: 10px; flex: 1; grid-auto-rows: 1fr; }
.cl-need li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line);
}
.cl-need-i {
  flex: none; width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink-mut);
}
.cl-need-yes .cl-need-i { color: var(--accent); }
.cl-need-i .ic { width: 20px; height: 20px; }
.cl-need-tx { display: flex; flex-direction: column; min-width: 0; }
.cl-need-tx b { font-size: 15px; line-height: 1.5; }
.cl-need-tx small { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-top: 2px; }

.cl-points { display: grid; grid-template-rows: repeat(3, 1fr); gap: 22px; }
.cl-point {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.cl-point-i { display: flex; justify-content: center; color: var(--accent); }
.cl-point-i .ic { width: 24px; height: 24px; }
.cl-point b { display: block; margin: 10px 0 8px; font-size: 16px; text-align: center; }
.cl-point p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.cl-steps {
  list-style: none; margin: 0; padding: 15px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.cl-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; box-shadow: var(--shadow-sm); text-align: center;
  animation: clStep 6.6s ease-in-out infinite;
}
.cl-step:nth-child(2) { animation-delay: 1.4s; }
.cl-step:nth-child(3) { animation-delay: 2.8s; }
@keyframes clStep {
  0%, 22%, 100% { border-color: var(--line); box-shadow: var(--shadow-sm); }
  6%, 16% { border-color: var(--accent); box-shadow: 0 8px 24px rgba(204,31,38,.18); }
}
.cl-step + .cl-step::before {
  content: ""; position: absolute; left: -24px; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid var(--ink-mut); border-right: 2px solid var(--ink-mut);
  transform: translateY(-50%) rotate(45deg); opacity: .6;
}
.cl-step-n {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff;
}
.cl-step-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius); background: var(--accent-sf); color: var(--accent);
}
.cl-step-i .ic { width: 24px; height: 24px; }
.cl-step b { display: block; font-size: 18px; margin: 14px 0 8px; }
.cl-step p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; text-align: left; }

.cl-prep {
  margin-top: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.cl-join-sub { margin: 44px 0 24px; text-align: center; }
.cl-join-sub h3 { font-size: 20px; }
.cl-join-sub p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.cl-prep h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.cl-prep h3 .ic { width: 22px; height: 22px; color: var(--accent); flex: none; }
.cl-prep ul { margin-top: 12px; display: grid; gap: 8px; }
.cl-prep li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
.cl-prep li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}

.cl-tablewrap {
  overflow-x: auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cl-modes { width: 100%; min-width: 780px; border-collapse: collapse; }
.cl-modes th, .cl-modes td {
  padding: 15px 16px; border-bottom: 1px solid var(--line);
  text-align: center; font-size: 15px; vertical-align: middle;
}
.cl-modes thead th { background: var(--bg-soft); font-size: 13px; font-weight: 700; color: var(--ink-soft); line-height: 1.5; }
.cl-modes thead th.cl-grp { padding-bottom: 8px; }
.cl-modes thead tr.cl-tools th { padding-top: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-mut); }
.cl-modes thead th, .cl-modes td.cl-req, .cl-modes td.cl-notreq { white-space: nowrap; }
html[lang="ja"] .cl-modes td.cl-role { white-space: nowrap; }
.cl-modes tbody th { text-align: left; font-size: 15px; font-weight: 800; word-break: keep-all; }
.cl-mode-h { display: flex; align-items: center; gap: 12px; }
.cl-mode-i {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  width: 60px; height: 36px; border-radius: var(--radius-sm); background: var(--accent-sf); color: var(--accent);
}
.cl-mode-i .ic { width: 20px; height: 20px; }
@media (max-width: 1000px) {
  .cl-mode-h { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.cl-modes td.cl-role { text-align: left; color: var(--ink-soft); font-size: 14px; }
.cl-modes tbody tr:last-child th, .cl-modes tbody tr:last-child td { border-bottom: 0; }
.cl-mk { display: inline-flex; align-items: center; justify-content: center; }
.cl-mk .ic { width: 22px; height: 22px; stroke-width: 3; }
.cl-mk-yes { color: #1a9e57; }
.cl-mk-no { color: var(--accent); }
.cl-req { font-weight: 700; color: var(--ink); }
.cl-notreq { color: var(--ink-mut); }
.cl-tnote { max-width: 760px; margin-top: 12px; font-size: 13px; color: var(--ink-mut); word-break: auto-phrase; }

.cl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.cl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.cl-card b { display: block; font-size: 16px; margin-bottom: 8px; text-align: center; }
.cl-pi {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: var(--radius); background: var(--accent-sf); color: var(--accent);
}
.cl-pi .ic { width: 24px; height: 24px; }
.sec-dark .cl-pi { background: rgba(204,31,38,.20); color: #ff7a75; border: 1px solid rgba(232,70,76,.45); }
.cl-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.cl-sched {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  background: rgba(255,255,255,.035); padding: 24px 28px;
  display: grid; gap: 22px;
}

.cl-sq { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.cl-sq-lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.62); }
.cl-sq-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cl-chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 26px; border-radius: 6px; overflow: hidden;
  font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: #f0f0f0; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45);
}
.cl-chip.c1 { width: 62px; } .cl-chip.c2 { width: 56px; } .cl-chip.c3 { width: 50px; }
.cl-chip.c4 { width: 44px; } .cl-chip.c5 { width: 38px; } .cl-chip.c6 { width: 32px; }
.cl-chip.c7, .cl-chip.c8 { width: 26px; } .cl-chip.c9 { width: 20px; }
.cl-chip::after {
  content: ""; position: absolute; inset: 0; background: rgba(12,15,22,.74);
  opacity: 0; transform-origin: left center;
}
.cl-sq-note { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.5); }

.cl-gantt { --host: 132px; }
.cl-g-head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cl-g-head b { font-size: 15px; color: #fff; }
.cl-g-head span { font-size: 13px; color: rgba(255,255,255,.55); }
.cl-g-best .cl-g-head b { color: #7db8ff; }
.cl-g-even .cl-g-head b { color: #5fd39a; }
.cl-g-body { position: relative; display: grid; gap: 8px; padding-bottom: 26px; }
.cl-g-row { display: grid; grid-template-columns: var(--host) 1fr; align-items: center; }
.cl-g-host { display: flex; flex-direction: column; line-height: 1.35; padding-right: 12px; min-width: 0; }
.cl-g-host b { font-size: 13px; color: #fff; }
.cl-g-host em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.55); white-space: nowrap; }
.cl-g-lane { position: relative; height: 34px; border-radius: 6px; background: rgba(255,255,255,.05); }
.cl-g-lane .j {
  position: absolute; top: 3px; bottom: 3px;
  display: flex; align-items: center; justify-content: center; border-radius: 6px;
  font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 700;
  transform-origin: left center;
}
.cl-g-best .j { background: rgba(10,132,255,.24); border: 1px solid rgba(77,163,255,.66); color: #cfe4ff; }
.cl-g-even .j { background: rgba(31,191,107,.20); border: 1px solid rgba(61,220,132,.62); color: #bff0d4; }

.cl-g-best .pa1 { left: 0;       width: calc(30.769% - 3px); }
.cl-g-best .pa2 { left: 30.769%; width: calc(23.077% - 3px); }
.cl-g-best .pa3 { left: 53.846%; width: calc(15.385% - 3px); }
.cl-g-best .pa4 { left: 69.231%; width: calc(7.692% - 3px); }
.cl-g-best .pb1 { left: 0;       width: calc(53.846% - 3px); }
.cl-g-best .pb2 { left: 53.846%; width: calc(23.077% - 3px); }
.cl-g-best .pc1 { left: 0;       width: calc(48.077% - 3px); }
.cl-g-best .pc2 { left: 48.077%; width: calc(19.231% - 3px); }
.cl-g-best .pc3 { left: 67.308%; width: calc(9.615% - 3px); }
.cl-g-even .qa1 { left: 0;       width: calc(30.769% - 3px); }
.cl-g-even .qa2 { left: 30.769%; width: calc(19.231% - 3px); }
.cl-g-even .qa3 { left: 50%;     width: calc(7.692% - 3px); }
.cl-g-even .qb1 { left: 0;       width: calc(53.846% - 3px); }
.cl-g-even .qb2 { left: 53.846%; width: calc(30.769% - 3px); }
.cl-g-even .qb3 { left: 84.615%; width: calc(15.385% - 3px); }
.cl-g-even .qc1 { left: 0;       width: calc(57.692% - 3px); }
.cl-g-even .qc2 { left: 57.692%; width: calc(28.846% - 3px); }
.cl-g-even .qc3 { left: 86.538%; width: calc(9.615% - 3px); }

.cl-g-idle {
  position: absolute; top: 3px; bottom: 3px; left: 57.692%; width: calc(42.308% - 3px);
  display: flex; align-items: center; justify-content: center; border-radius: 6px;
  border: 1px dashed rgba(255,209,102,.55);
  background: repeating-linear-gradient(135deg, rgba(255,209,102,.14) 0 6px, transparent 6px 12px);
}
.cl-g-idle em { font-style: normal; font-size: 12px; font-weight: 700; color: #ffd166; }

.cl-g-end {
  position: absolute; top: -4px; bottom: 22px; width: 0;
  border-left: 2px dashed rgba(255,255,255,.55);
}
.cl-g-best .cl-g-end { left: calc(var(--host) + (100% - var(--host)) * .76923); border-left-color: #7db8ff; }
.cl-g-even .cl-g-end { left: calc(100% - 2px); border-left-color: #5fd39a; }
.cl-g-end em {
  position: absolute; top: calc(100% + 5px); left: 0; transform: translateX(-50%); white-space: nowrap;
  font-style: normal; font-size: 12px; font-weight: 700; color: #7db8ff;
}
.cl-g-even .cl-g-end em { transform: translateX(calc(-100% - 6px)); color: #5fd39a; }

.cl-g-lane .j1, .cl-chip.c1::after { animation: clJ1 12s linear infinite; }
.cl-g-lane .j2, .cl-chip.c2::after { animation: clJ2 12s linear infinite; }
.cl-g-lane .j3, .cl-chip.c3::after { animation: clJ3 12s linear infinite; }
.cl-g-lane .j4, .cl-chip.c4::after { animation: clJ4 12s linear infinite; }
.cl-g-lane .j5, .cl-chip.c5::after { animation: clJ5 12s linear infinite; }
.cl-g-lane .j6, .cl-chip.c6::after { animation: clJ6 12s linear infinite; }
.cl-g-lane .j7, .cl-chip.c7::after { animation: clJ7 12s linear infinite; }
.cl-g-lane .j8, .cl-chip.c8::after { animation: clJ8 12s linear infinite; }
.cl-g-lane .j9, .cl-chip.c9::after { animation: clJ9 12s linear infinite; }
.cl-g-end, .cl-g-idle { animation: clEnd 12s linear infinite; }
@keyframes clJ1 { 0%, 3.33%  { opacity: 0; transform: scaleX(0); } 6.25%, 88.33%  { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ2 { 0%, 7.92%  { opacity: 0; transform: scaleX(0); } 10.83%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ3 { 0%, 12.5%  { opacity: 0; transform: scaleX(0); } 15.42%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ4 { 0%, 17.08% { opacity: 0; transform: scaleX(0); } 20%, 88.33%    { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ5 { 0%, 21.67% { opacity: 0; transform: scaleX(0); } 24.58%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ6 { 0%, 26.25% { opacity: 0; transform: scaleX(0); } 29.17%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ7 { 0%, 30.83% { opacity: 0; transform: scaleX(0); } 33.75%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ8 { 0%, 35.42% { opacity: 0; transform: scaleX(0); } 38.33%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clJ9 { 0%, 40%    { opacity: 0; transform: scaleX(0); } 42.92%, 88.33% { opacity: 1; transform: scaleX(1); } 93.33%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes clEnd { 0%, 45% { opacity: 0; } 50%, 88.33% { opacity: 1; } 93.33%, 100% { opacity: 0; } }

.cl-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.cl-case {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 24px; background: rgba(255,255,255,.04);
}
.cl-case > b { display: block; font-size: 18px; margin: 16px 0 8px; text-align: center; }
.cl-case > p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.85; }

.cl-mini { position: relative; width: 300px; height: 96px; margin: 0 auto; }
.cl-mini-row { position: absolute; left: 0; right: 0; height: 30px; display: grid; grid-template-columns: 96px 1fr; align-items: center; }
.cl-mini-row em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.62); white-space: nowrap; }
.cl-mini-lane { position: relative; height: 24px; border-radius: 6px; background: rgba(255,255,255,.06); }
.cl-mini-lane.empty { background: transparent; border: 1px dashed rgba(255,255,255,.28); }
.cl-mini-lane i {
  position: absolute; top: 3px; bottom: 3px; border-radius: 4px;
  background: rgba(232,70,76,.24); border: 1px solid rgba(232,70,76,.66);
}

.cl-mini-move .r1 { top: 8px; }
.cl-mini-move .r2 { top: 54px; }
.cl-mini-move .big   { left: 0;     width: 84px; }
.cl-mini-move .mid   { left: 88px;  width: 62px; }
.cl-mini-move .small {
  left: 154px; width: 38px; background: rgba(255,209,102,.24); border-color: #ffd166;
  transform: translate(-154px, 46px);
  animation: clMove 5.2s ease-in-out infinite;
}
.cl-mini-mover {
  position: absolute; left: 250px; top: 14px; width: 38px; height: 18px;
  border: 1px dashed rgba(255,209,102,.5); border-radius: 4px;
}
@keyframes clMove {
  0%        { transform: translate(0, 0); opacity: 0; }
  8%, 26%   { transform: translate(0, 0); opacity: 1; }
  56%, 86%  { transform: translate(-154px, 46px); opacity: 1; }
  95%, 100% { transform: translate(-154px, 46px); opacity: 0; }
}

.cl-mini-hold .r1 { top: 22px; }
.cl-mini-hold .r2 { top: 62px; }
.cl-mini-hold .cur  { left: 0;    width: 90px; }
.cl-mini-hold .last { left: 94px; width: 48px; background: rgba(255,209,102,.24); border-color: #ffd166; }
.cl-mini-hold .ghost {
  left: 0; width: 190px; background: transparent; border: 1px dashed rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  animation: clGhost 3.2s ease-in-out infinite;
}
.cl-mini-hold .ghost span { font-size: 12px; color: rgba(255,255,255,.72); white-space: nowrap; }
@keyframes clGhost { 0%, 100% { border-color: rgba(255,255,255,.45); } 50% { border-color: rgba(255,255,255,.12); } }
.cl-mini-line { position: absolute; left: 238px; top: 20px; bottom: 2px; border-left: 2px dashed #ffd166; }
.cl-mini-tag {
  position: absolute; left: 190px; top: 0; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; color: #ffd166; white-space: nowrap;
}

.cl-mini-sub { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #dcdcdc; }
.cl-mini-list { margin-top: 8px; display: grid; gap: 6px; }
.cl-mini-list li { position: relative; padding-left: 16px; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.7; }
.cl-mini-list li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px;
  border-radius: 50%; background: #dcdcdc;
}

.cl-dcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.cl-dc { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; background: rgba(255,255,255,.04); }
.cl-dc b { display: block; font-size: 18px; margin: 0 0 8px; text-align: center; }
.cl-dc p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.85; }
.cl-darknotes { margin-top: 22px; display: grid; gap: 6px; }
.cl-darknotes p { max-width: 760px; word-break: auto-phrase; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.8; }

.cl-xfer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 28px; display: grid; gap: 16px;
}
.cl-xf-judge {
  display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.cl-xf-q {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
}
.cl-xf-q .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
.cl-xf-q b { font-size: 14px; }
.cl-xf-who { font-size: 13px; color: var(--ink-mut); }

.cl-xf-route { display: grid; grid-template-columns: 168px 1fr 168px; align-items: center; gap: 18px; }
.cl-xf-tag {
  justify-self: start; font-size: 13px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; white-space: nowrap;
}
.cl-xf-tag.ok { background: rgba(34,160,107,.12); color: #1a7a51; border: 1px solid rgba(34,160,107,.3); }
.cl-xf-tag.ng { background: rgba(90,90,90,.10); color: #4a4a4a; border: 1px solid rgba(90,90,90,.32); }
.cl-xf-res { justify-self: end; font-size: 13px; font-weight: 700; white-space: nowrap; }
.r1 .cl-xf-res { color: #1a7a51; }
.r2 .cl-xf-res { color: #0a5fc0; }
.cl-xf-lane { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-width: 0; }
.cl-xf-node {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 104px;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
}
.cl-xf-node .ic { width: 22px; height: 22px; color: var(--ink-soft); }
.cl-xf-node b { font-size: 13px; white-space: nowrap; }

.cl-xf-link { position: relative; height: 60px; min-width: 150px; }
.cl-xf-link::before, .cl-xf-link::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #858585;
}
.cl-xf-link::before { top: 18px; }
.cl-xf-link::after { top: 42px; }
.cl-xf-link em {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 2;
  font-style: normal; font-size: 12px; color: var(--ink-soft); white-space: nowrap;
  background: #fff; padding: 0 6px; line-height: 16px;
}
.cl-xf-link .t-in { top: 11px; }
.cl-xf-link .t-out { top: 35px; }
.cl-xf-link .t-in::after, .cl-xf-link .t-out::before {
  content: ""; display: inline-block; vertical-align: middle; width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.cl-xf-link .t-in::after { margin-left: 6px; border-left: 7px solid #8a8a8a; }
.cl-xf-link .t-out::before { margin-right: 6px; border-right: 7px solid var(--accent); }
.cl-xf-pkt { position: absolute; z-index: 1; width: 22px; height: 12px; border-radius: 4px; opacity: 0; }
.cl-xf-pkt.in  { top: 13px; background: #8a8a8a;   animation: clPktIn 6s ease-in-out infinite; }
.cl-xf-pkt.out { top: 37px; background: var(--accent); animation: clPktOut 6s ease-in-out infinite; }
@keyframes clPktIn {
  0%        { left: 0; opacity: 0; }
  5%        { opacity: 1; }
  40%       { left: calc(100% - 22px); opacity: 1; }
  45%, 100% { left: calc(100% - 22px); opacity: 0; }
}
@keyframes clPktOut {
  0%, 50%   { left: calc(100% - 22px); opacity: 0; }
  55%       { opacity: 1; }
  90%       { left: 0; opacity: 1; }
  95%, 100% { left: 0; opacity: 0; }
}


.cl-rec {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px;
}
.cl-rec-st {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  padding: 16px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-soft);
}
.cl-rec-st > b { font-size: 15px; }
.cl-rec-st > em { font-style: normal; font-size: 13px; color: var(--ink-soft); }
.cl-rec-i {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.cl-rec-i .ic { width: 22px; height: 22px; }
.cl-rec .s1 .cl-rec-i { color: #b87400; }
.cl-rec .s3 .cl-rec-i { color: #22a06b; }
.cl-rec-ar { align-self: center; display: flex; color: var(--ink-mut); }
.cl-rec-ar .ic { width: 20px; height: 20px; }
.cl-rec-clock { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 104px; }
.cl-rec-num { display: flex; align-items: baseline; gap: 3px; }
.cl-rec-num b { font-size: 18px; font-weight: 900; color: var(--accent); line-height: 1; white-space: nowrap; }
.cl-rec .s1 { animation: clRecS1 7.5s linear infinite; }
.cl-rec .s2 { animation: clRecS2 7.5s linear infinite; }
.cl-rec .s3 { animation: clRecS3 7.5s linear infinite; }
@keyframes clRecS1 {
  0%, 26%   { border-color: #e6a100; box-shadow: 0 6px 18px rgba(230,161,0,.18); }
  30%, 100% { border-color: var(--line); box-shadow: none; }
}
@keyframes clRecS2 {
  0%, 58%   { border-color: var(--line); box-shadow: none; }
  60%, 72%  { border-color: var(--accent); box-shadow: 0 6px 18px rgba(204,31,38,.18); }
  76%, 100% { border-color: var(--line); box-shadow: none; }
}
@keyframes clRecS3 {
  0%, 74%   { border-color: var(--line); box-shadow: none; }
  76%, 95%  { border-color: #22a06b; box-shadow: 0 6px 18px rgba(34,160,107,.18); }
  99%, 100% { border-color: var(--line); box-shadow: none; }
}

.cl-sub-h { margin-top: 40px; font-size: 20px; text-align: center; }
.cl-guard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.cl-g3 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.cl-g3-n {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto;
  border-radius: 50%; background: var(--bg-dark); color: #fff; font-weight: 800; font-size: 15px;
}
.cl-g3 b { display: block; margin: 12px 0 8px; font-size: 16px; text-align: center; }
.cl-g3 p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.cl-dl { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cl-dl-row { display: grid; grid-template-columns: 250px 1fr; gap: 16px; padding: 15px 22px; align-items: baseline; }
.cl-dl-row + .cl-dl-row { border-top: 1px solid var(--line); }
.cl-dl-row b { font-size: 15px; }
.cl-dl-row span { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

.cl-limit {
  margin-top: 26px; background: #fff8ec; border: 1px solid rgba(230,150,0,.35);
  border-left: 4px solid #e69600; border-radius: var(--radius-sm); padding: 20px;
}
.cl-limit h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #8a5a00; }
.cl-limit h3 .ic { width: 20px; height: 20px; flex: none; }
.cl-limit p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }

.cl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cl-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.cl-panel > h3 { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; }
.cl-panel > h3 .ic { width: 22px; height: 22px; color: var(--accent); flex: none; }
.cl-plist { margin-top: 16px; display: grid; gap: 9px; }
.cl-plist li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.cl-plist li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.cl-why {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft); line-height: 1.8;
}

.cl-menu { margin-top: 18px; display: grid; gap: 8px; justify-items: center; }
.cl-menu-path { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.cl-menu-path .ic { width: 16px; height: 16px; transform: rotate(-90deg); color: var(--ink-mut); flex: none; }
.cl-menu-path b { font-size: 13px; padding: 3px 10px; border-radius: 6px; background: var(--accent-sf); color: var(--accent-d); }
.cl-menu-list {
  display: flex; flex-direction: column; min-width: 210px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.cl-menu-list span { font-size: 13px; padding: 7px 12px; border-radius: 6px; color: var(--ink); }
.cl-menu-list span.on { background: var(--accent-sf); color: var(--accent-d); font-weight: 700; }

.cl-ask { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.cl-ask-node {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 96px;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
}
.cl-ask-node .ic { width: 22px; height: 22px; color: var(--ink-soft); }
.cl-ask-node b { font-size: 13px; white-space: nowrap; }
.cl-ask-link { display: grid; gap: 12px; min-width: 0; }
.cl-ask-lane { position: relative; height: 22px; display: flex; align-items: center; justify-content: center; }
.cl-ask-lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #8a8a8a; }
.cl-ask-lane.down::before { background: #22a06b; }
.cl-ask-lane::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.cl-ask-lane.up::after { right: -2px; border-left: 8px solid #8a8a8a; }
.cl-ask-lane.down::after { left: -2px; border-right: 8px solid #22a06b; }
.cl-ask-lane em {
  position: relative; z-index: 2; font-style: normal; font-size: 12px; color: var(--ink-soft);
  background: #fff; padding: 0 6px; white-space: nowrap;
}
.cl-ask-lane i { position: absolute; z-index: 1; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; opacity: 0; }
.cl-ask-lane.up i   { background: #8a8a8a; animation: clAskUp 2.6s ease-in-out infinite; }
.cl-ask-lane.down i { background: #22a06b;     animation: clAskDown 2.6s ease-in-out infinite; }
@keyframes clAskUp {
  0%        { left: 0; opacity: 0; }
  6%        { opacity: 1; }
  42%       { left: calc(100% - 10px); opacity: 1; }
  48%, 100% { left: calc(100% - 10px); opacity: 0; }
}
@keyframes clAskDown {
  0%, 50%   { left: calc(100% - 10px); opacity: 0; }
  56%       { opacity: 1; }
  92%       { left: 0; opacity: 1; }
  98%, 100% { left: 0; opacity: 0; }
}
.cl-stop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.cl-stop > div { text-align: center; padding: 12px 10px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.cl-stop b { display: block; font-size: 20px; font-weight: 900; color: var(--accent); line-height: 1.3; }
.cl-stop span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.cl-wol-two { margin-top: 26px; }
.cl-limit .cl-plist { margin-top: 10px; }

.cl-cyc {
  margin-top: 20px; display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: auto 22px 36px;
  column-gap: 6px; row-gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 28px;
}
.cl-cyc-st.s1 { --i: 1; } .cl-cyc-st.s2 { --i: 2; } .cl-cyc-st.s3 { --i: 3; }
.cl-cyc-st.s4 { --i: 4; } .cl-cyc-st.s5 { --i: 5; } .cl-cyc-st.s6 { --i: 6; }
.cl-cyc-st.s7 { --i: 7; } .cl-cyc-st.s8 { --i: 8; } .cl-cyc-st.s9 { --i: 9; }
.cl-cyc-st {
  grid-row: 1; grid-column: var(--i); min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 12px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  animation: clCyc 13.5s linear infinite; animation-delay: calc((var(--i) - 1) * 1.5s);
}
.cl-cyc-n {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 12px; font-weight: 800; line-height: 1;
}
.cl-cyc-st b { font-size: 13px; line-height: 1.45; }
.cl-cyc-st small { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
@keyframes clCyc {
  0%, 9%    { border-color: var(--accent); box-shadow: 0 6px 18px rgba(204,31,38,.18); }
  11%, 100% { border-color: var(--line); box-shadow: none; }
}
.cl-cyc-axis { grid-row: 2; grid-column: 1 / -1; align-self: center; position: relative; height: 2px; margin-right: 4px; background: #616161; }
.cl-cyc-axis::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 0; height: 0; margin-top: -6px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #616161;
}
.cl-cyc-pw {
  grid-row: 3; display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; padding: 0 6px;
}
.cl-cyc-pw.p1 { grid-column: 1 / 3; }
.cl-cyc-pw.p2 { grid-column: 3 / 9; }
.cl-cyc-pw.p3 { grid-column: 9 / 10; }
.cl-cyc-pw.on { background: #e3f3eb; border: 1px solid #1a7a51; color: #145c3d; }
.cl-cyc-pw.off {
  border: 1px dashed #767676; color: #4a4a4a;
  background: repeating-linear-gradient(135deg, #efefef 0 6px, #f7f7f7 6px 12px);
}
@media (max-width: 1100px) {
  .cl-cyc {
    grid-template-columns: 84px 14px minmax(0, 1fr); grid-template-rows: repeat(9, auto);
    column-gap: 10px; row-gap: 8px;
  }
  .cl-cyc-st {
    grid-column: 3; grid-row: var(--i);
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px;
    align-items: center; text-align: left; padding: 10px 14px;
  }
  .cl-cyc-n { grid-row: 1 / 3; }
  .cl-cyc-st b, .cl-cyc-st small { grid-column: 2; }
  .cl-cyc-axis { grid-column: 2; grid-row: 1 / -1; justify-self: center; align-self: stretch; width: 2px; height: auto; margin: 0 0 4px; }
  .cl-cyc-axis::after {
    right: auto; left: 50%; top: auto; bottom: -4px; margin: 0 0 0 -6px;
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid #616161; border-bottom: 0;
  }
  .cl-cyc-pw { grid-column: 1; padding: 6px; }
  .cl-cyc-pw.p1 { grid-column: 1; grid-row: 1 / 3; }
  .cl-cyc-pw.p2 { grid-column: 1; grid-row: 3 / 9; }
  .cl-cyc-pw.p3 { grid-column: 1; grid-row: 9 / 10; }
}
@media (max-width: 480px) {
  .cl-cyc { grid-template-columns: 64px 12px minmax(0, 1fr); column-gap: 8px; padding: 20px 12px; }
  .cl-cyc-st { padding: 10px; column-gap: 10px; }
}

.cl-notes { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cl-nt {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.cl-nt-i {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius); background: var(--accent-sf); color: var(--accent);
}
.cl-nt-i .ic { width: 22px; height: 22px; }
.cl-nt b { display: block; font-size: 16px; margin-bottom: 6px; }
.cl-nt p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.cl-sub-lede { max-width: 760px; margin: 10px auto 0; text-align: center; font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.cl-bsteps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cl-bsteps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); text-align: center;
}
.cl-bsteps-n {
  display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 auto;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
}
.cl-bsteps b { display: block; margin: 10px 0 6px; font-size: 16px; }
.cl-bsteps p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; text-align: left; }

.cl-pair { align-items: start; }

@media (max-width: 960px) {
  .cl-two, .cl-notes, .cl-dcards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cl-need, .cl-points, .cl-steps, .cl-cards, .cl-cases, .cl-guard, .cl-bsteps { grid-template-columns: 1fr; }
  .cl-need ul { grid-auto-rows: auto; }
  .cl-points { grid-template-rows: none; }
  .cl-steps { gap: 38px; }
  .cl-step + .cl-step::before { left: 50%; top: -26px; transform: translateX(-50%) rotate(135deg); }
  .cl-sched { padding: 20px 16px; }
  .cl-gantt { --host: 92px; }
  .cl-g-host em { font-size: 12px; }
  .cl-sq-note { margin-left: 0; }
  .cl-xfer { padding: 20px 16px; }
  .cl-xf-route { grid-template-columns: 1fr; gap: 10px; }
  .cl-xf-tag, .cl-xf-res { justify-self: center; }
  .cl-rec { grid-template-columns: 1fr; }
  .cl-rec-ar { justify-self: center; transform: rotate(90deg); }
  .cl-dl-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) {
  .cl-case { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .cl-xf-lane, .cl-ask { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .cl-xf-node, .cl-ask-node { min-width: 160px; }
  .cl-ask-lane i { display: none; }

  .cl-xf-link { width: 100%; min-width: 0; height: 88px; }
  .cl-xf-link::before, .cl-xf-link::after { left: auto; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .cl-xf-link::before { left: calc(50% - 12px); }
  .cl-xf-link::after { left: calc(50% + 10px); }
  .cl-xf-link em { top: 50%; transform: translateY(-50%); background: none; padding: 0; white-space: normal; max-width: calc(50% - 26px); }
  .cl-xf-link .t-in { top: 50%; left: auto; right: calc(50% + 22px); text-align: right; }
  .cl-xf-link .t-out { top: 50%; left: calc(50% + 20px); text-align: left; }
  .cl-xf-link .t-in::after, .cl-xf-link .t-out::before { display: none; }
  .cl-xf-pkt { opacity: 1; animation: none; width: 0; height: 0; border-radius: 0; background: none; border-left: 5px solid transparent; border-right: 5px solid transparent; }
  .cl-xf-pkt.in { animation: none; opacity: 1; top: auto; bottom: 2px; left: calc(50% - 16px); border-top: 7px solid #8a8a8a; background: none; }
  .cl-xf-pkt.out { animation: none; opacity: 1; top: 2px; left: calc(50% + 6px); border-bottom: 7px solid var(--accent); background: none; }

  .cl-ask-link { position: relative; display: block; width: 100%; height: 88px; }
  .cl-ask-lane { position: absolute; top: 0; bottom: 0; height: auto; width: 50%; display: block; }
  .cl-ask-lane.up { left: 0; }
  .cl-ask-lane.down { right: 0; }
  .cl-ask-lane::before { left: auto; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; margin-top: 0; }
  .cl-ask-lane.up::before { right: 11px; }
  .cl-ask-lane.down::before { left: 9px; }
  .cl-ask-lane em { position: absolute; top: 50%; transform: translateY(-50%); background: none; padding: 0; white-space: normal; }
  .cl-ask-lane.up em { right: 22px; left: 0; text-align: right; }
  .cl-ask-lane.down em { left: 20px; right: 0; text-align: left; }
  .cl-ask-lane::after { content: ""; position: absolute; width: 0; height: 0; margin-top: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; }
  .cl-ask-lane.down::before { background: #8a8a8a; }
  .cl-ask-lane.up::after { right: 7px; top: auto; bottom: 2px; border-top: 7px solid #8a8a8a; border-bottom: 0; }
  .cl-ask-lane.down::after { left: 5px; top: 2px; border-bottom: 7px solid #22a06b; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-step, .cl-g-lane .j, .cl-chip::after, .cl-g-end, .cl-g-idle,
  .cl-mini-move .small, .cl-mini-hold .ghost, .cl-xf-pkt,
  .cl-rec-st, .cl-ask-lane i, .cl-cyc-st {
    animation: none !important;
  }
}
