.flow-pending>*:not(.reader-head){display:none}
.flow-pending::after{content:"진행 상황을 확인하고 있습니다.";display:block;padding:24px 0;font-size:14px;color:var(--muted,#858a8d)}
.flow-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:22px 0 24px;padding:0}
.flow-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center;font-size:13px;line-height:1.4;color:var(--muted,#858a8d)}
.flow-step:not(:last-child)::after{content:"";position:absolute;top:13px;left:50%;width:100%;height:2px;background:var(--line,#dededb)}
.flow-step-mark{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1.5px solid #bbb;border-radius:50%;background:#fff;color:#999;font-size:13px;font-weight:700}
.flow-step-label{overflow-wrap:anywhere;word-break:keep-all;padding:0 4px}
.flow-step.is-done .flow-step-mark{background:#777;border-color:#777;color:#fff}
.flow-step.is-done:not(:last-child)::after{background:#777}
.flow-step.is-now{color:#252525;font-weight:700}
.flow-step.is-now .flow-step-mark{background:#252525;border-color:#252525;color:#fff}
.flow-step-caption{display:none;margin:0 0 14px;font-size:13px;font-weight:700;color:#252525}
.flow-now{padding:24px;border:1.5px solid #252525;border-radius:3px;min-width:0}
.flow-wait,.flow-done{border:1px solid #bbb}
.flow-lead{margin-bottom:16px}
.flow-lead:last-child{margin-bottom:0}
.flow-done .material-open-action,.flow-now .customer-material-card[data-downloaded="1"] .material-open-action,.flow-video .customer-material-card[data-downloaded="1"] .material-open-action{background:#fff;color:var(--title,#505659);border:1px solid #aaa}
.flow-eyebrow{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--muted,#858a8d)}
.flow-title{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.4px;font-weight:700;color:#252525;word-break:keep-all}
.flow-desc{margin:6px 0 0;font-size:14px;line-height:1.6;color:var(--ink,#62676a);word-break:keep-all}
.flow-badge{display:inline-block;margin-bottom:10px;padding:3px 9px;border-radius:20px;background:var(--wash,#f6f6f4);font-size:12px;font-weight:700;color:var(--title,#505659)}
.flow-done-mark{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:12px;border-radius:50%;background:#252525;color:#fff;font-size:20px;font-weight:700}
.flow-now .retouch-entry,.flow-now .selection-entry,.flow-group .retouch-entry,.flow-group .selection-entry{margin-top:0;padding-top:0;border-top:0}
.flow-now>.selection-entry{padding-top:16px;border-top:1px solid var(--line,#dededb)}
.flow-now>.selection-entry:not(:nth-child(2)){margin-top:16px}
.flow-now #retouch-entry-title{display:none}
.flow-now .retouch-review-card{padding:16px 0;background:none;border:0;border-top:1px solid var(--line,#dededb)}
.flow-now .retouch-review-state{margin-top:0;padding:16px 0 0;border-top:1px solid var(--line,#dededb)}
.flow-now .retouch-review-state>.retouch-entry-summary{display:none}
.flow-now .retouch-review-state:has(>.retouch-review-actions:empty){display:none}
.flow-now .retouch-entry-summary{font-size:13px;word-break:keep-all}
.flow-now .retouch-memo{margin-bottom:16px}
.flow-now .retouch-review-actions button{white-space:nowrap}
/* While the photos are the one thing to do, the title names the file; the heading stays for screen readers. */
.flow-action [data-review-step="receive"] .retouch-review-copy h4{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.flow-action [data-review-step="receive"] .retouch-review-card{padding-bottom:0}
/* Then the choice leads, and the file drops to a quiet row under it. */
.flow-action .retouch-review-state{display:block;padding:16px 0}
.flow-action .retouch-review-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow-action .retouch-review-actions button{width:100%;min-height:48px}
.flow-action .retouch-review-hint{margin:10px 0 0}
.flow-action [data-review-step="choose"] .retouch-review-card{padding-bottom:0}
.flow-action [data-review-step="choose"] .retouch-review-copy h4{margin:0 0 2px;font-size:14px;font-weight:600}
.flow-now .customer-material-card,.flow-video .customer-material-card{padding:14px 0;background:none;border:0;border-top:1px solid var(--line,#dededb);border-radius:0;min-height:0}
.flow-now .customer-material-card:hover,.flow-video .customer-material-card:hover,.flow-now .customer-material-card:active,.flow-video .customer-material-card:active{background:none;border-top-color:var(--line,#dededb)}
.flow-now .customer-material-card:disabled,.flow-video .customer-material-card:disabled{background:none}
.flow-now .selection-entry h3{display:none}
.flow-now .selection-entry-actions{justify-content:flex-start}
.flow-now .selection-entry-row{align-items:center}
.flow-materials>h3{margin-top:0}
.flow-now .flow-materials>h3{display:none}
.flow-now .material-list{margin:0;grid-template-columns:minmax(0,1fr)}
.flow-now .flow-materials:last-child .customer-material-card:last-child{padding-bottom:0}
.flow-track-label{margin:20px 0 -10px;font-size:12.5px;font-weight:700;color:var(--title,#505659)}
.flow-video{margin-top:26px;min-width:0}
.flow-video-state{margin:10px 0 0;font-size:13.5px;line-height:1.6;color:var(--ink,#62676a);word-break:keep-all}
.flow-video .material-list{margin:10px 0 0;grid-template-columns:minmax(0,1fr)}
.flow-group{margin-top:26px;min-width:0}
.flow-group-title{margin:0;padding-bottom:9px;border-bottom:1px solid var(--line,#dededb);font-size:14px;font-weight:600;color:var(--title,#505659)}
.flow-group .flow-materials>h3{display:none}
.flow-group .material-list{display:block;margin:0}
.flow-group .customer-material-card{width:100%;padding:12px 0;background:none;border:0;border-bottom:1px solid var(--line,#dededb);border-radius:0;min-height:0}
.flow-group .customer-material-card:hover{background:none}
.flow-group .material-open-action{background:#fff;color:var(--title,#505659);border-color:#aaa}
.flow-group .retouch-entry,.flow-group .selection-entry{padding:14px 0;border-bottom:1px solid var(--line,#dededb)}
.flow-group .retouch-entry h3,.flow-group .selection-entry h3{margin:0 0 3px;font-size:14px;font-weight:600}
.flow-group button.primary,.flow-wait #retouch-download,.flow-done #retouch-download{background:#fff;color:var(--title,#505659);border:1px solid #aaa;font-weight:500}
.flow-wait .retouch-review-state,.flow-done .retouch-review-state{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px}
.flow-wait .retouch-review-state>.retouch-review-actions,.flow-done .retouch-review-state>.retouch-review-actions{width:auto;margin-top:0}
@media(max-width:640px){
 .flow-steps{gap:4px;margin:14px 0 6px}
 .flow-step-mark,.flow-step-label,.flow-step::after{display:none!important}
 .flow-step{height:5px;border-radius:3px;background:var(--line,#dededb)}
 .flow-step.is-done{background:#888}
 .flow-step.is-now{background:#252525}
 .flow-step-caption{display:block}
 .flow-now{padding:18px 16px}
 .flow-title{font-size:19px}
 .flow-now .retouch-review-card{flex-direction:column;align-items:stretch}
 .flow-now #retouch-download{width:100%}
 .flow-action .retouch-review-actions{grid-template-columns:minmax(0,1fr)}
 .flow-action [data-review-step="choose"] .retouch-review-card{flex-direction:row;align-items:center}
 .flow-action [data-review-step="choose"] #retouch-download{width:auto;flex:none}
 .flow-now .selection-entry-row{flex-direction:column;align-items:stretch}
 .flow-now .selection-entry-actions{flex-direction:column;align-items:stretch}
 .flow-now .selection-entry-actions button{width:100%}
 .flow-wait .retouch-review-state>.retouch-review-actions,.flow-done .retouch-review-state>.retouch-review-actions{width:100%}
 .flow-wait .retouch-review-actions>button,.flow-done .retouch-review-actions>button{flex:1}
}
