/* 🛏 객실 집중점검 (roomcheck.js) — 폰 우선 */
.rc-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: 60px; }
.rc-wrap.wide { max-width: none; }
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.rc-sel { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; min-width: 200px; }
.rc-brsel { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.rc-rdact { display: inline-flex; gap: 4px; }
.rc-rdnote { padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.rc-rdnote.planned { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.rc-rdnote.closed { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
@media (max-width: 640px) { .rc-brsel { justify-content: flex-start; width: 100%; } .rc-brsel .rc-sel { flex: 1 1 100%; min-width: 0; } }
.rc-search input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: var(--panel); }
.rc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-tab { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.rc-tab.on { background: #1f2937; color: #fff; border-color: #1f2937; }

.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.rc-stat b { font-size: 20px; }
.rc-stat span { font-size: 12px; color: var(--muted); }
.rc-stat.bad b { color: #dc2626; }
.rc-bar { height: 8px; background: #eef0f5; border-radius: 99px; overflow: hidden; }
.rc-bar i { display: block; height: 100%; background: #22a06b; }
.rc-legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11.5px; color: var(--muted); align-items: center; }
.rc-legend .lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; background: #eef0f5; }
.rc-legend .lg.prog::before { background: #fde68a; }
.rc-legend .lg.comp::before { background: #86efac; }
.rc-legend .lg.need::before { background: #dc2626; border-radius: 50%; }
.rc-types { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.rc-tchip { font-size: 11px; padding: 1px 7px; border-radius: 6px; border-left: 4px solid; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.rc-floor { display: flex; gap: 8px; align-items: flex-start; }
.rc-fl { flex: 0 0 74px; font-size: 12px; font-weight: 800; color: var(--muted); padding-top: 10px; }
.rc-rooms { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.rc-room { position: relative; min-width: 56px; height: 42px; border-radius: 10px; border: 1px solid var(--line); border-left-width: 4px; background: #f3f4f7; font-weight: 800; font-size: 13px; cursor: pointer; padding: 0 8px; }
.rc-room.prog { background: #fef3c7; }
.rc-room.comp { background: #dcfce7; }
.rc-nb { position: absolute; top: -6px; right: -6px; background: #dc2626; color: #fff; font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; }
/* 객실타입 색 (왼쪽 띠) */
.t0 { border-left-color: #6366f1 !important; } .t1 { border-left-color: #0ea5e9 !important; } .t2 { border-left-color: #f59e0b !important; } .t3 { border-left-color: #10b981 !important; }
.t4 { border-left-color: #ec4899 !important; } .t5 { border-left-color: #8b5cf6 !important; } .t6 { border-left-color: #64748b !important; } .t7 { border-left-color: #ef4444 !important; }

/* 객실 화면 */
.rc-roomhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: sticky; top: 0; background: var(--bg, #f6f7fb); padding: 6px 0; z-index: 3; }
.rc-rt { font-size: 18px; }
.rc-type { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.rc-nav { margin-left: auto; display: flex; gap: 6px; }
.rc-roomsum { font-size: 13px; color: var(--muted); }
.rc-roomsum .ok, .rc-w .ok { color: #16a34a; font-weight: 700; }
.rc-sec { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; }
.rc-sec-h { font-weight: 800; font-size: 14px; padding: 8px 0; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); }
.rc-sec-h span { color: var(--muted); font-weight: 600; font-size: 12px; }
.rc-sec-h em { margin-left: auto; font-style: normal; color: #dc2626; font-size: 12px; }
.rc-it { padding: 10px 0; border-bottom: 1px solid #f0f2f6; display: flex; flex-direction: column; gap: 7px; }
.rc-it:last-child { border-bottom: 0; }
.rc-it-t { font-size: 13.5px; line-height: 1.45; }
.rc-sub { display: inline-block; font-size: 11px; color: var(--muted); background: #f2f4f8; border-radius: 5px; padding: 0 6px; margin-right: 5px; }
.rc-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.rc-sg { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 2px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: #4a5464; }
.rc-sg.ok.on { background: #e8f5ee; border-color: #86d3a7; color: #15803d; }
.rc-sg.need.on { background: #dc2626; border-color: #dc2626; color: #fff; }
.rc-sg.done.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.rc-sg.na.on { background: #6b7280; border-color: #6b7280; color: #fff; }
.rc-it.st-ok .rc-sg.ok.on { background: transparent; border-color: var(--line); color: #15803d; } /* 기본 양호는 조용히 */
.rc-need { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-need select, .rc-need input { padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 13px; }
.rc-need input { flex: 1 1 200px; }
.rc-foot { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--bg, #f6f7fb); padding: 10px 0; }
.rc-foot .btn { flex: 1 1 160px; padding: 13px; font-size: 15px; }

/* 작업 모아 보기 */
.rc-wbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.rc-wbar select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.rc-wbar .btn { margin-left: auto; }
.rc-w { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rc-w.alldone { opacity: .7; }
.rc-w-h { width: 100%; display: flex; gap: 8px; align-items: center; padding: 11px 12px; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; font-size: 13.5px; }
.rc-w-cat { font-size: 11px; color: var(--muted); background: #f2f4f8; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.rc-w-t { flex: 1; min-width: 0; }
.rc-w-n { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rc-w-n b { color: #dc2626; }
.rc-w-b { border-top: 1px solid var(--line); padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.rc-w-r { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 4px 0; flex-wrap: wrap; }
.rc-w-r.done { color: var(--muted); }
.rc-w-o { font-size: 11.5px; background: #fff1e0; color: #b45309; border-radius: 5px; padding: 0 6px; }
.rc-w-m { color: #4a5464; flex: 1 1 160px; }
.rc-w-act { display: flex; gap: 6px; justify-content: flex-end; padding-top: 6px; }

/* 표로 보기 */
.rc-tblwrap { overflow: auto; max-height: calc(100vh - 230px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.rc-tbl { border-collapse: separate; border-spacing: 0; font-size: 11.5px; }
.rc-tbl th, .rc-tbl td { border-right: 1px solid #eef0f5; border-bottom: 1px solid #eef0f5; padding: 4px 6px; white-space: nowrap; text-align: center; }
.rc-tbl thead th { position: sticky; top: 0; background: #f6f7fb; z-index: 2; font-weight: 800; }
.rc-tbl thead th.comp { background: #dcfce7; }
.rc-tbl .rc-tc { position: sticky; left: 0; background: #fff; z-index: 1; text-align: left; max-width: 300px; white-space: normal; min-width: 240px; }
.rc-tbl thead .rc-tc { z-index: 3; background: #f6f7fb; }
.rc-tbl td.c { cursor: pointer; min-width: 34px; }
.rc-tbl td.c:hover { outline: 2px solid #93c5fd; outline-offset: -2px; }
.rc-tbl td.need { background: #fee2e2; color: #b91c1c; font-weight: 800; }
.rc-tbl td.done { background: #dbeafe; color: #1d4ed8; font-weight: 700; }
.rc-tbl td.na { color: #9ca3af; }
.rc-tbl td.x { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 4px, #f0f0f0 4px, #f0f0f0 8px); }

/* 설정 */
.rc-cfg { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.rc-cfg-h { font-weight: 800; font-size: 14px; }
.rc-cfg-h .hint { font-weight: 500; margin-left: 6px; }
.rc-cfg-types { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-ct { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; }
.rc-ct span { color: var(--muted); font-size: 11px; }
.rc-ct.on { background: #1f2937; color: #fff; border-color: #1f2937; }
.rc-ct.on span { color: #cbd5e1; }
.rc-cfg-cat { border-top: 1px solid #f0f2f6; padding-top: 6px; }
.rc-cfg-ch { font-size: 13.5px; cursor: pointer; }
.rc-cfg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 14px; font-size: 12.5px; color: #4a5464; padding: 4px 0 4px 22px; }
.rc-cfg-add { display: flex; gap: 10px; align-items: center; font-size: 13px; border-bottom: 1px solid #f0f2f6; padding: 5px 0; }
.rc-cfg-add span:first-child { flex: 1; }
.rc-cfg-new { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-cfg-new input, .rc-cfg-new select { padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 13px; }
#rc-new-content { flex: 1 1 240px; }

/* 전 지점 */
.rc-hq { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.rc-hq th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #f6f7fb; }
.rc-hq td { padding: 8px 10px; border-bottom: 1px solid #f0f2f6; }
.rc-hq tr[data-rchqbr] { cursor: pointer; }
.rc-hq tr[data-rchqbr]:hover { background: #f8fafc; }
.rc-hq td.bad { color: #dc2626; font-weight: 800; }
.rc-mini { display: inline-block; width: 90px; height: 6px; background: #eef0f5; border-radius: 99px; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.rc-mini i { display: block; height: 100%; background: #22a06b; }

@media (max-width: 640px) {
  .rc-fl { flex-basis: 48px; font-size: 11px; }
  .rc-room { min-width: 50px; height: 44px; }
  .rc-sg { padding: 11px 2px; font-size: 12px; }
  .rc-hq { font-size: 12px; }
  .rc-hq td:nth-child(5), .rc-hq th:nth-child(5) { display: none; }
}

/* 사진 · 지점 추가 객실 */
.rc-phbtn { cursor: pointer; padding: 8px 10px; }
.rc-photos { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-ph { position: relative; }
.rc-ph img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #f3f4f7; cursor: zoom-in; }
.rc-phx { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #111827; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.rc-w-p { display: inline-flex; gap: 3px; align-items: center; font-size: 11px; color: var(--muted); }
.rc-w-p img { width: 28px; height: 28px; object-fit: cover; border-radius: 5px; }
.rc-room.extra { border-style: dashed; }
.rc-xk { position: absolute; bottom: 1px; left: 0; right: 0; font-size: 9px; color: #7c3aed; font-weight: 700; }
.rc-kind { font-size: 11px; background: #ede9fe; color: #6d28d9; border-radius: 5px; padding: 0 6px; margin-left: 4px; }
.rc-xr-t { width: 180px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12.5px; }
.rc-xr { margin-top: 6px; }

/* 객실 정리(없는 객실 빼기) */
.rc-editbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.rc-editbar .btn:first-of-type { margin-left: auto; }
.rc-room.hid { background: #fff; color: #c0c6d2; text-decoration: line-through; border-style: dotted; }
.rc-wings { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-flx { display: block; margin-top: 4px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 10.5px; padding: 2px 5px; cursor: pointer; color: var(--muted); }

/* 비고 · 동영상 */
.rc-notebtn { align-self: flex-start; border: none; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.rc-notebtn:hover { color: var(--doing); text-decoration: underline; }
.rc-vid { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line); background: #111827; color: #fff; font-size: 22px; cursor: pointer; }

.rc-by { display: inline-block; margin-left: 6px; font-size: 10.5px; color: #8a93a3; font-weight: 500; }

/* 실시간 상태 (Inspect) */
.rc-livebar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.rc-livebar.warn { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.rc-lc { font-weight: 700; color: #374151; }
.rc-lc.occ { color: #b91c1c; } .rc-lc.pend { color: #b45309; }
.rc-lfs { display: inline-flex; gap: 4px; margin-left: auto; }
.rc-lf { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.rc-lf.on { background: #1f2937; color: #fff; border-color: #1f2937; }
.rc-li { position: absolute; top: -7px; left: -5px; font-size: 13px; }
.rc-lc2 { position: absolute; bottom: -6px; right: -4px; font-size: 11px; }
.rc-room.live-occ { box-shadow: inset 0 0 0 2px #fca5a5; }
.rc-room.live-pend { box-shadow: inset 0 0 0 2px #fcd34d; }
.rc-room.live-blk, .rc-room.live-use { opacity: .75; }
.rc-alert { border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.rc-alert.occ { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.rc-alert.pend { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.rc-alert.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.rc-missnote { color: #92400e; font-weight: 700; font-size: 12.5px; }

/* 객실 카드 (인스펙 관제 스타일) */
.rc-rooms { gap: 8px; }
.rc-card { position: relative; width: 156px; min-height: 74px; text-align: left; background: #fff; border: 1px solid var(--line); border-top: 5px solid #d1d5db; border-radius: 10px; padding: 7px 8px 6px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.rc-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.rc-card.op-occ  { border-top-color: #6b9cf5; }
.rc-card.op-pend { border-top-color: #a78bfa; }
.rc-card.op-vac  { border-top-color: #4ade80; }
.rc-card.op-blk  { border-top-color: #f87171; }
.rc-card.op-use  { border-top-color: #fb923c; }
.rc-card.extra { border-style: dashed; }
.rc-card.chk-comp { background: #f0fdf4; }
.rc-card.chk-hid { opacity: .45; text-decoration: line-through; background: #f9fafb; }
.rc-c1 { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-width: 0; }
.rc-c1 b { font-size: 17px; letter-spacing: -.3px; }
.rc-ctype { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -3px; }
.rc-cl { font-size: 10px; font-weight: 700; border-radius: 6px; padding: 1px 6px; white-space: nowrap; background: #f3f4f6; color: #4b5563; }
.rc-cl.cl-checked { background: #dcfce7; color: #15803d; }
.rc-cl.cl-need { background: #f3f4f6; color: #374151; }
.rc-cl.cl-cleaning { background: #fef3c7; color: #92400e; }
.rc-c2 { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.rc-op { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.rc-op.op-occ { background: #dbeafe; color: #1d4ed8; }
.rc-op.op-pend { background: #ede9fe; color: #6d28d9; }
.rc-op.op-vac { background: #dcfce7; color: #15803d; }
.rc-op.op-blk { background: #fee2e2; color: #b91c1c; }
.rc-op.op-use { background: #ffedd5; color: #c2410c; }
.rc-op.op-etc { background: #f3f4f6; color: #4b5563; }
.rc-tm { font-size: 10.5px; color: #4b5563; display: inline-flex; gap: 5px; }
.rc-co { color: #ea580c; font-weight: 700; } .rc-ci { color: #7c3aed; font-weight: 700; }
.rc-c3 { display: flex; gap: 5px; align-items: center; font-size: 10.5px; margin-top: auto; }
.rc-chk { color: #15803d; font-weight: 700; } .rc-chk.none { color: #9ca3af; font-weight: 500; }
.rc-card.chk-prog .rc-chk { color: #b45309; }
.rc-nb2 { background: #dc2626; color: #fff; border-radius: 6px; padding: 0 5px; font-weight: 800; }
.rc-legend .lg.l-occ::before { background: #6b9cf5; } .rc-legend .lg.l-pend::before { background: #a78bfa; }
.rc-legend .lg.l-vac::before { background: #4ade80; } .rc-legend .lg.l-blk::before { background: #f87171; } .rc-legend .lg.l-use::before { background: #fb923c; }
.rc-livebar { flex-wrap: wrap; }
.rc-livebar .rc-lfs { margin-left: 0; flex-wrap: wrap; flex: 1; }
.rc-lt { margin-left: auto; white-space: nowrap; }
.rc-lf b { font-weight: 800; }
.rc-lf.lf-occ b { color: #1d4ed8; } .rc-lf.lf-ci b { color: #7c3aed; } .rc-lf.lf-co b { color: #ea580c; }
.rc-lf.lf-pend b { color: #6d28d9; } .rc-lf.lf-vac b { color: #15803d; } .rc-lf.lf-blk b { color: #b91c1c; } .rc-lf.lf-use b { color: #c2410c; }
.rc-lf.on b { color: #fff; }
@media (max-width: 640px) {
  .rc-floor { flex-direction: column; gap: 4px; }
  .rc-fl { padding-top: 0; }
  .rc-card { width: calc(50% - 4px); }
}

/* 📒 하자 대장 */
.rc-lgbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rc-lgbar select, .rc-lgbar input[type=search] { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; }
.rc-lgbar input[type=search] { width: 110px; }
.rc-lgall { font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.rc-lg { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.rc-lg-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid var(--line); gap: 8px; }
.rc-lg-room { border: 0; background: none; font: inherit; font-size: 15px; cursor: pointer; padding: 0; text-align: left; }
.rc-lg-room:disabled { cursor: default; }
.rc-lg-n { font-size: 12px; color: #6b7280; } .rc-lg-n b { color: #b91c1c; }
.rc-lgt { width: 100%; border-collapse: collapse; font-size: 13px; }
.rc-lgt th { text-align: left; font-size: 11px; color: #6b7280; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.rc-lgt td { padding: 7px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.rc-lgt tr.need td:first-child { box-shadow: inset 3px 0 #ef4444; }
.rc-lgt tr.done td:first-child { box-shadow: inset 3px 0 #10b981; }
.rc-lgt tr.done { color: #4b5563; }
.rc-lgt .memo { min-width: 140px; white-space: pre-wrap; }
.rc-lgt .prog .st { display: block; font-weight: 700; white-space: nowrap; }
.rc-lgt .prog .h { display: block; font-size: 11px; color: #6b7280; white-space: nowrap; }
.rc-lgt .days { white-space: nowrap; } .rc-lgt .days.late { color: #b91c1c; font-weight: 700; }
.rc-lgt .ph img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; margin-right: 3px; cursor: pointer; }
.rc-lgt .rd { white-space: nowrap; font-size: 12px; }
.rc-lgt .own .lbl { display: none; }
@media (max-width: 640px) {
  .rc-lgt thead { display: none; }
  .rc-lgt, .rc-lgt tbody, .rc-lgt tr, .rc-lgt td { display: block; width: auto; }
  .rc-lgt tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .rc-lgt td { border: 0; padding: 2px 0; }
  .rc-lgt tr.need, .rc-lgt tr.done { box-shadow: inset 3px 0 #ef4444; } .rc-lgt tr.done { box-shadow: inset 3px 0 #10b981; }
  .rc-lgt tr td:first-child { box-shadow: none !important; }
  .rc-lgt .prog .st, .rc-lgt .prog .h { display: inline; margin-right: 6px; }
  .rc-lgt .own .lbl { display: inline; color: #6b7280; font-size: 12px; }
}
.rc-hqsw { display: flex; gap: 6px; flex-wrap: wrap; }
details.rc-lg > summary { list-style: none; cursor: pointer; }
details.rc-lg > summary::-webkit-details-marker { display: none; }
details.rc-lg:not([open]) > summary { border-bottom: 0; }
.rc-lgt .room { white-space: nowrap; }
.rc-hqp tr.br td { background: #f8fafc; border-top: 2px solid var(--line); cursor: pointer; }
.rc-hqp tr.p td:first-child { padding-left: 18px; }
.rc-hqp .bad { color: #b91c1c; font-weight: 700; }
/* 🔑 비번 보기 (웨이브파크·해운대역·속초 중앙) */
.rc-code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-size: 13px; color: #92400e; background: #fef3c7; border-radius: 6px; padding: 1px 6px; letter-spacing: .5px; }
.rc-code.big { font-size: 20px; padding: 2px 10px; }
.rc-codeline { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px dashed #f59e0b; border-radius: 10px; background: #fffbeb; font-size: 14px; flex-wrap: wrap; }
.rc-dots { letter-spacing: 2px; color: #9ca3af; }
.rc-codebtn.on { background: #fef3c7; border-color: #f59e0b; color: #92400e; margin-right: 6px; }
.rc-codebtn { margin-right: 6px; }
.rc-prac { display: inline-block; font-size: 10.5px; font-weight: 700; color: #6d28d9; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 999px; padding: 0 6px; margin-left: 2px; white-space: nowrap; }

/* PC 사진 붙여넣기·끌어다 놓기 (rc22) */
.rc-pchint { display: none; margin: 4px 0 8px; font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
  .rc-pchint { display: block; }
  .rc-it.rc-pick { box-shadow: inset 3px 0 0 #3b82f6; padding-left: 8px; }
}
.rc-it.rc-drop { outline: 2px dashed #3b82f6; outline-offset: 2px; background: #eff6ff; }

/* 좁은 폰에서 일부 객실 카드 글자가 넘쳐 옆 카드에 가리던 것 (rc23) — 완료자 이름·연습 배지·작업 수가 한 줄에 다 들어가던 카드 */
.rc-card { min-width: 0; overflow: hidden; }
.rc-c1 b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-c1 .rc-cl { flex-shrink: 0; }
.rc-c3 { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
.rc-c3 .rc-chk { min-width: 0; overflow-wrap: anywhere; }
.rc-tm { flex-wrap: wrap; }

/* ★폰에서 객실이 1~2개뿐인 층의 카드가 호수도 안 보일 만큼 작아지던 것 (rc25, 2026-10-11 지점 캡처)
   층 묶음이 세로 배치(column)일 때 카드 줄(.rc-rooms)이 내용 폭만큼 줄어들고, 카드는 그 줄의 50% → 계속 작아졌다.
   카드 줄을 화면 폭으로 늘리고, 카드에 최소 폭도 준다. */
@media (max-width: 640px) {
  .rc-floor .rc-rooms { align-self: stretch; width: 100%; min-width: 0; }
  .rc-card { min-width: 140px; }
}

/* 🧽 에어컨 필터 청소 (rc26) */
.rc-filter { border: 1.5px dashed #93c5fd; background: #f0f7ff; border-radius: 10px; padding: 9px 10px; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 7px; }
.rc-filter.st-done { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.rc-filter.st-fail { border-style: solid; border-color: #fca5a5; background: #fef2f2; }
.rc-filter.st-na { border-style: solid; border-color: #d1d5db; background: #f9fafb; }
.rc-filter-t { font-size: 13.5px; }
.rc-fmemo { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.rc-fb { font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 0 4px; background: #dcfce7; color: #15803d; }
.rc-fb.f-fail { background: #fee2e2; color: #b91c1c; } .rc-fb.f-na { background: #f3f4f6; color: #6b7280; }
.rc-mini.f i { background: #60a5fa; }
.rc-lf.lf-fnot b { color: #2563eb; }

.rc-filter.st-vendor { border-style: solid; border-color: #7dd3fc; background: #f0f9ff; }
.rc-fb.f-vendor { background: #e0f2fe; color: #0369a1; }
.rc-lf.lf-fven b { color: #0369a1; }

/* 🖌 표로 보기 드래그 칠하기 (rc30) */
.rc-brush { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 700; }
.rc-brush .rc-lf.b-need.on { background: #dc2626; border-color: #dc2626; }
.rc-brush .rc-lf.b-done.on { background: #16a34a; border-color: #16a34a; }
.rc-brush .rc-lf.b-na.on { background: #6b7280; border-color: #6b7280; }
.rc-tblwrap.brushing { touch-action: none; }
.rc-tblwrap.brushing td.c { user-select: none; -webkit-user-select: none; }
.rc-tbl td.painting { outline: 2px solid #2563eb; outline-offset: -2px; background: #dbeafe !important; }

/* 🖨 점검표 뽑기 (rc32) */
.rc-pform { display: flex; flex-direction: column; gap: 8px; }
.rc-pform label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rc-pform input[type=text], .rc-pform input:not([type]) { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
