/* 🔁 교대 인수인계 (2026-11-07) */
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sh-form input[type="text"], .sh-form input[type="date"] { font: inherit; font-size: 14px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); width: 100%; box-sizing: border-box; }
.sh-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin: 4px 0 8px; }
.sh-bar input[type="search"] { flex: 1; min-width: 180px; }
.sh-card { gap: 6px; }
.sh-card.done { opacity: .62; }
.sh-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sh-done { display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f3f6; cursor: pointer; }
.sh-card.done .sh-done { background: #dcfce7; color: #15803d; }
.sh-date { font-size: 12.5px; color: var(--muted); }
.sh-date.late { color: #dc2626; font-weight: 700; }
.sh-refs { font-size: 12.5px; color: var(--ink); background: #f5f3ff; border-radius: 6px; padding: 1px 7px; }
.sh-body { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; line-height: 1.5; }
.sh-note { white-space: pre-wrap; word-break: break-word; font-size: 13px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 8px; }
.sh-chips { display: flex; flex-direction: column; gap: 4px; }
.sh-chip { font-size: 12.5px; line-height: 1.45; border-radius: 8px; padding: 4px 9px; background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; word-break: keep-all; }
.sh-chip.in { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.sh-chip.vac { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sh-chip.today { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sh-chip.done { background: #f8fafc; color: #64748b; }
.sh-chip.bad, .sh-chip.miss { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.sh-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sh-act { margin-left: auto; display: inline-flex; gap: 4px; }
/* 예약번호 → 지금 호실 · 단계 (11-07 지점 요청) */
.sh-rvs { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-rvs:empty { display: none; }
.sh-rv { font-size: 13px; background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; border-radius: 8px; padding: 3px 9px; }
.sh-rv.bad { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.sh-title { font-size: 15.5px; font-weight: 800; }
.sh-steps { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fafafa; }
.sh-prog { height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.sh-prog span { display: block; height: 100%; background: #22c55e; }
.sh-step { display: flex; align-items: center; gap: 8px; }
.sh-step label { display: flex; gap: 6px; align-items: flex-start; flex: 1; min-width: 0; cursor: pointer; font-size: 14px; line-height: 1.45; }
.sh-step.done .sh-stxt { text-decoration: line-through; color: var(--muted); }
.sh-no { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 99px; background: #e0e7ff; color: #3730a3; font-size: 11.5px; font-weight: 800; }
.sh-stxt { word-break: break-word; }
.sh-sadd { display: flex; gap: 6px; }
.sh-sadd input { flex: 1; font: inherit; font-size: 13.5px; padding: 5px 8px; border: 1px dashed var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
/* 한 줄 목록 · 묶음 · 읽기 쉬운 본문 (11-07 「가독성 안 좋음」) */
.sh-new { align-self: flex-start; }
.sh-gh { font-size: 13px; font-weight: 800; color: var(--muted); margin: 10px 2px 4px; }
.sh-gh.late { color: #dc2626; }
.sh-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sh-item + .sh-item { border-top: 1px solid var(--line); }
.sh-item.late { box-shadow: inset 3px 0 0 #dc2626; }
.sh-item.done .sh-one { text-decoration: line-through; color: var(--muted); }
.sh-row { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; min-width: 0; }
.sh-row:hover { background: #f8fafc; }
.sh-row input[type="checkbox"] { width: 17px; height: 17px; flex: none; cursor: pointer; }
.sh-when { flex: none; min-width: 42px; font-size: 12px; font-weight: 700; color: var(--muted); }
.sh-when.late { color: #dc2626; }
.sh-cat { flex: none; font-size: 11px; font-weight: 700; color: #475569; background: #f1f5f9; border-radius: 6px; padding: 1px 6px; }
.sh-one { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-mini { flex: none; font-size: 11.5px; color: #3730a3; background: #eef2ff; border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.sh-caret { flex: none; color: var(--muted); font-size: 12px; }
.sh-item.open .sh-row { background: #f8fafc; }
.sh-card { display: flex; flex-direction: column; gap: 8px; padding: 4px 14px 12px 40px; }
.sh-body, .sh-note { white-space: normal; }
.sh-ln { margin: 1px 0; }
.sh-sub { margin: 1px 0 1px 14px; padding-left: 12px; position: relative; color: #334155; }
.sh-sub::before { content: "↳"; position: absolute; left: -2px; color: #94a3b8; }
.sh-gap { height: 6px; }
@media (max-width: 640px) { .sh-card { padding-left: 14px; } .sh-cat { display: none; } }
/* 📋 표 (노션 칸 순서) · 그 자리 수정 · 링크 (11-07) */
.sh-wrap { max-width: 1180px; }
.sh-lay .rt-tab { padding: 5px 10px; }
.sh-tblwrap { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.sh-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sh-tbl th { position: sticky; top: 0; background: #f8fafc; text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sh-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-tbl tr.late td.c-done { box-shadow: inset 3px 0 0 #dc2626; }
.sh-tbl tr.done td { opacity: .6; }
.sh-tbl tr.open td { background: #fbfcfe; }
.sh-tbl .c-done { width: 44px; text-align: center; }
.sh-tbl .c-done input { width: 17px; height: 17px; cursor: pointer; }
.sh-tbl .c-cat { width: 112px; }
.sh-tbl .c-ref { width: 190px; }
.sh-tbl .c-ref .sh-rvs { flex-direction: column; gap: 4px; }
.sh-tbl .c-ref .sh-rv { font-size: 12px; padding: 2px 7px; }
.sh-tbl .c-due { width: 104px; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
.sh-tbl .c-due b { color: var(--ink); }
.sh-tbl .c-due.late, .sh-tbl .c-due.late b { color: #dc2626; }
.sh-late { font-size: 11px; font-weight: 700; color: #dc2626; }
.sh-tbl .c-who { width: 92px; font-size: 12.5px; }
.sh-tbl .c-body { cursor: pointer; min-width: 280px; }
.sh-tbl .c-body .sh-title { font-size: 14px; margin-bottom: 2px; }
.sh-tbl .c-body .sh-body { font-size: 13.5px; line-height: 1.5; }
.sh-hint { font-size: 11px; color: #94a3b8; margin-top: 3px; }
.sh-more { cursor: default; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sh-steps-in { margin-top: 6px; padding: 6px 8px; }
.sh-steps-in .sh-step { font-size: 13px; }
.sh-csel { width: 100%; font: inherit; font-size: 12.5px; padding: 3px 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.sh-csel:hover, .sh-csel:focus { border-color: var(--line); background: var(--panel); }
.sh-editrow td { background: #fffbeb; padding: 10px; }
.sh-inline .sh-form { border-color: #fbbf24; box-shadow: 0 0 0 3px #fef3c7; }
.sh-item .sh-inline { padding: 4px 12px 12px; }
.sh-a { color: #2563eb; text-decoration: underline; word-break: break-all; }
/* 📌 상시 확인 (날짜 없음) — 맨 위 고정 (11-07 지점 요청) */
.sh-pinchk { display: flex; gap: 6px; align-items: center; font-size: 13px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.sh-pinchk input { width: 16px; height: 16px; }
.sh-tbl tr.sh-sec td { background: #f8fafc; font-size: 12px; font-weight: 800; color: var(--muted); padding: 6px 10px; }
.sh-tbl tr.sh-sec.pin td { background: #fff7ed; color: #c2410c; }
.sh-pin { font-size: 12px; font-weight: 800; color: #c2410c; }
.sh-form input[type="date"]:disabled { opacity: .45; }
/* 💬 지점 슬랙 · 호실/예약 빼기 × (11-07) */
.sh-slackchk { display: flex; gap: 6px; align-items: center; font-size: 13px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.sh-slackchk input { width: 16px; height: 16px; }
.sh-x { border: 0; background: transparent; color: #94a3b8; font-size: 13px; line-height: 1; padding: 0 0 0 5px; cursor: pointer; }
.sh-x:hover { color: #dc2626; }
.sh-syncline { margin: -4px 0 4px; }
.sh-syncline .btn { margin-left: 4px; }
.sh-linkbtn { margin-left: 6px; font: inherit; font-size: 12px; font-weight: 600; padding: 1px 8px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; cursor: pointer; }

/* 📷 사진 (11-22) */
.sh-phs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; align-items: center; }
.sh-ph { position: relative; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #eef0f3; border: 1px solid #dde1e6; display: inline-block; }
.sh-phs.small .sh-ph { width: 56px; height: 56px; }
.sh-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-ph.new { border-color: #5b8def; }
.sh-phx { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 22px; padding: 0; cursor: pointer; }
.sh-phadd { display: inline-flex; align-items: center; justify-content: center; height: 76px; padding: 0 14px; border: 1px dashed #9aa4b2; border-radius: 8px; cursor: pointer; font-size: 13px; color: #44506a; background: #fafbfc; }
.sh-phadd:hover { background: #f0f3f7; }
