/* 현장 근무: 도착, 지금 회사, 근태 관리, 팀장 화면 */
.arrive { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.arrive__title { margin: 0; font-size: 28px; line-height: 1.3; }
.arrive__clock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.arrive__clock > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.arrive__clock strong { font-size: 34px; line-height: 1.1; }
.arrive__button { min-height: 88px; font-size: 30px; }
.arrive__done { border: 3px solid var(--accent); }
.arrive__time { margin: 0 0 6px; font-size: 30px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.arrive__next { font-size: 20px; margin: 6px 0; }

.field-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: start; }
.field-groups > .card { margin-top: 0; }
.field-group__counts { margin: 0 0 8px; font-size: 17px; }
.field-group details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--accent-strong); }
.field-row { flex-wrap: wrap; }
.late-note { color: var(--danger); font-weight: 700; }

.lead-late { margin: 8px 0; padding: 12px 14px; border-radius: var(--radius); background: var(--danger-soft); }
.lead-late p { margin: 6px 0 0; }
.lead-late + .lead-late { margin-top: 8px; }
.lead-missing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.counts .counts__danger { border-color: var(--danger); }
.counts .counts__danger strong { color: var(--danger); }
.lead-handover + .lead-handover { margin-top: 12px; }
.lead-handover > p { margin: 0 0 4px; }
.lead-doc { flex-wrap: wrap; align-items: flex-start; }
.lead-doc__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.lead-supplement summary { list-style: none; }
.lead-supplement summary::-webkit-details-marker { display: none; }
.lead-supplement[open] .form { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.lead-line { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; }
.lead-line li { padding: 2px 10px; border: 2px solid var(--line); border-radius: 8px; }
.lead-line li + li::before { content: "→ "; color: var(--text-3); }
.lead-line li.is-done { border-color: var(--accent); }
.lead-line li.is-done::after { content: " ✓"; color: var(--accent); font-weight: 700; }
.lead-line li.is-now { border-color: var(--text); background: var(--marker); font-weight: 700; }
.lead-warn { margin: 10px 0 0; padding: 10px 14px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-weight: 700; }

.week-table th, .week-table td { text-align: center; white-space: nowrap; }
.week-table th[scope="row"] { text-align: left; }
.week-table td small, .week-table th small { display: block; font-size: 13px; color: var(--text-3); font-weight: 500; }
.week-table .is-today { background: var(--accent-soft); }
.week-table .is-late { color: var(--danger); font-weight: 700; }
.week-table .is-conflict { background: var(--danger-soft); color: var(--danger); font-weight: 700; }
