/* 送付順ガイド — sunforest/send */
.send-hero {
  padding: 24px 0 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.send-hero h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 12px; }
.send-hero .sub { font-size: 17px; color: var(--text-secondary); }

.phase-block { margin-bottom: 48px; }
.phase-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.phase-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-block.now .phase-num { background: var(--accent); }
.phase-block.done .phase-num { background: var(--success); }
.phase-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.phase-when { font-size: 13px; color: var(--text-tertiary); margin-left: auto; }

.send-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.send-card:hover { box-shadow: var(--shadow-sm); }
.send-card.checked { border-color: var(--success); background: var(--success-soft); }
.send-card.warn { border-color: rgba(255, 149, 0, 0.35); }
.send-card.skip { opacity: 0.55; }

.step-order {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  padding-top: 2px;
}
.send-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.doc-id {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--text-tertiary);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 6px;
}
.aud-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  background: var(--bg-alt);
  color: var(--text-secondary);
}
.aud-pill.ceo { background: var(--text); color: #fff; }
.aud-pill.field { background: var(--accent-soft); color: var(--accent); }
.aud-pill.group { background: rgba(255, 149, 0, 0.15); color: #9a6700; }
.aud-pill.internal { background: var(--bg-alt); color: var(--text-tertiary); }

.send-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.45; margin-bottom: 8px; }
.send-note {
  font-size: 12px;
  color: #9a6700;
  background: #fff8e6;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
}
.send-note.danger { color: #bf4800; background: #fff0f0; }
.send-url {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-tertiary);
  word-break: break-all;
  margin-top: 6px;
}

.send-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 120px;
}
.send-actions .btn { width: 100%; font-size: 12px; padding: 8px 12px; }

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}
.check-row input { width: 18px; height: 18px; accent-color: var(--success); cursor: pointer; }

.progress-bar-wrap {
  position: sticky;
  top: calc(var(--header-h) + 44px);
  z-index: 50;
  background: rgba(251, 251, 253, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.progress-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; display: flex; justify-content: space-between; }
.progress-bar { height: 6px; background: var(--bg-alt); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.3s var(--ease-out); }

.copy-all-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 40px 0;
  text-align: center;
}
.copy-all-panel textarea {
  width: 100%;
  min-height: 200px;
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
}

@media (max-width: 700px) {
  .send-card { grid-template-columns: 1fr; }
  .send-actions { flex-direction: row; flex-wrap: wrap; }
  .phase-when { display: none; }
}
