/* 결재: 내 차례 묶음 · 내가 올린 것 · 지점 결재 쓰기 · 지출결의·운행일지 쓰기 */
.flow-summary p { margin: 6px 0 0; }
.flow-big { margin: 0; font-size: 20px; }
.flow-big .marker { font-size: 44px; font-weight: 700; line-height: 1.1; }
.flow-group { margin-top: 20px; }
.flow-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 15px; color: var(--text-3); }
.flow-row { align-items: flex-start; }
.flow-row .row__main { gap: 2px; }
.flow-check { flex: none; width: 24px; height: 24px; margin-top: 4px; accent-color: var(--accent); }
.flow-quote { margin: 10px 0 12px; padding: 10px 14px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 0 var(--radius) var(--radius) 0; white-space: pre-line; }
.flow-supplement { margin-top: 20px; }
.flow-supplement h2 { margin: 0 0 4px; }
.flow-prev { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line-soft); }

/* 짧은 결재선 띠: 기안 ✓ › 팀장 ✓ › 나 › 이사 › 대표 */
.line-band { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 15px; }
.line-band__step { display: inline-flex; flex-direction: column; padding: 2px 8px; border-radius: 8px; color: var(--text-2); line-height: 1.3; }
.line-band__step + .line-band__step { margin-left: 18px; position: relative; }
.line-band__step + .line-band__step::before { content: "›"; position: absolute; left: -14px; top: 2px; color: var(--text-3); font-weight: 700; }
.line-band__step small { font-size: 13px; color: var(--text-3); }
.line-band__step.is-done span::after { content: " ✓"; color: var(--accent); font-weight: 700; }
.line-band__step.is-now { background: var(--marker); color: var(--text); font-weight: 700; }
.line-band__step.is-now small { color: var(--text-2); }
.line-band__step.is-rejected { color: var(--danger); }
.line-band__step.is-skipped { text-decoration: line-through; color: var(--text-3); }

/* 지점 결재 서식 카드 */
.flow-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.flow-form { display: flex; flex-direction: column; gap: 4px; min-height: 72px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.flow-form:hover { border-color: var(--accent); color: var(--text); }
.flow-form strong { font-size: 17px; line-height: 1.35; }

/* 지출결의·운행일지 쓰기 */
.flow-write { display: flex; flex-direction: column; gap: 20px; }
.flow-write > .card + .card { margin-top: 0; }
.flow-write .flow-group { margin-top: 0; }
.flow-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-item { display: flex; gap: 8px; align-items: center; }
.flow-item .input:first-child { flex: 1 1 auto; min-width: 0; }
.flow-item .flow-amount { flex: 0 0 132px; text-align: right; }
.flow-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.flow-total p { margin: 0; font-size: 20px; }
.flow-total strong { font-size: 28px; }
.flow-seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flow-seg__item { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius); font-size: 17px; cursor: pointer; }
.flow-seg__item input { width: 20px; height: 20px; accent-color: var(--accent); }
.flow-seg__item:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.flow-actions { position: sticky; bottom: 0; padding: 12px 0; background: var(--bg); }
.flow-day { flex-wrap: wrap; }
.flow-day.is-off { color: var(--text-3); }
.flow-day__date { flex: none; width: 64px; }
.flow-km { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 140px; margin-left: auto; }
/* 좁으면 거리 칸이 아랫줄 오른쪽으로 내려가고 장소 글자는 한 자씩 쪼개지지 않는다 */
.flow-day .row__main { flex: 1 1 120px; }
.flow-km .input { min-height: 48px; text-align: right; }

@media (max-width: 900px) {
  .flow-item { flex-wrap: wrap; }
  .flow-item .input:first-child { flex-basis: 100%; }
  .flow-item .flow-amount { flex: 1 1 auto; }
  .flow-actions { bottom: calc(var(--tabbar-h, 72px) + env(safe-area-inset-bottom)); }
}
