/* ============================================================
   PDF SPLIT — one → many hero visual
   ============================================================ */
.split {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4px;
}
.split-in {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(10, 37, 64, 0.04),
    0 24px 48px -22px rgba(10, 37, 64, 0.32);
  color: #0a2540;
  transform: rotate(-1deg);
}
[data-theme="dark"] .split-in { background: #f4f7fb; }
.split-in-head,
.split-in-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(10, 37, 64, 0.6);
}
.split-in-head { border-bottom: 1px dashed rgba(10, 37, 64, 0.18); }
.split-in-foot { border-top: 1px dashed rgba(10, 37, 64, 0.18); }
.split-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 2px 5px;
  border-radius: 3px;
}
.split-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(10, 37, 64, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.split-in-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.split-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 8px;
}
.split-pn {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(10, 37, 64, 0.45);
  text-align: right;
}
.split-line {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  opacity: 0.7;
}
.split-line.w60 { width: 60%; }
.split-line.w64 { width: 64%; }
.split-line.w70 { width: 70%; }
.split-line.w76 { width: 76%; }
.split-line.w82 { width: 82%; }
.split-line.w88 { width: 88%; }
.split-line.w90 { width: 90%; }
.split-row-dash .split-pn,
.split-row-dash .split-line { opacity: 0.4; }

.split-flow {
  width: 60px;
  height: 220px;
  color: var(--accent);
  opacity: 0.65;
  flex-shrink: 0;
}
.split-flow svg { width: 100%; height: 100%; display: block; }

.split-outs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.split-out {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 6px 14px -10px rgba(10, 37, 64, 0.22);
  font-family: var(--font-mono);
}
.split-out-1 { transform: rotate(-1.5deg) translateX(-2px); }
.split-out-2 { transform: rotate(1deg) translateX(4px); }
.split-out-3 { transform: rotate(-0.5deg); }
.split-out-4 { transform: rotate(1.5deg) translateX(2px); }
.split-out-name {
  color: var(--text);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.split-out-range {
  color: var(--text-mute);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .split { max-width: 460px; }
  .split-flow { height: 200px; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 14px; max-width: 340px; }
  .split-flow { transform: rotate(90deg); margin: 0 auto; width: 40px; height: 24px; }
  .split-in, .split-out { transform: none; }
}
