/* 토스 느낌 테마: 회색 배경 + 흰 카드, 큰 굵은 제목, 파란 CTA, 바텀시트 */
:root {
  --bg: #f2f4f6; --card: #ffffff; --text: #191f28; --sub: #4e5968; --muted: #8b95a1; --line: #e5e8eb; --fill: #f2f4f6;
  --blue: #3182f6; --blue-press: #1b64da; --blue-soft: #e8f3ff; --green: #03b26c; --green-soft: #e5f8ef;
  --red: #f04452; --red-soft: #ffeeee; --orange: #fe9800; --orange-soft: #fff3e0;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101013; --card: #1c1c21; --text: #e9e9ec; --sub: #b0b0b8; --muted: #7e7e87; --line: #2c2c34; --fill: #2c2c34;
    --blue: #3f8cff; --blue-press: #2f75e0; --blue-soft: #1c2b44; --green: #1fc47f; --green-soft: #15302a;
    --red: #ff5a67; --red-soft: #3a1f23; --orange: #ffab2e; --orange-soft: #3a2c16;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* 확대·축소와 좌우 스크롤 막기 (핀치는 app.js 에서도 막음) */
html { -webkit-text-size-adjust: 100%; touch-action: pan-y; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
body { overflow-x: hidden; overflow-x: clip; max-width: 100vw; touch-action: pan-y; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; display: block; }

/* 버튼: 누르면 살짝 작아짐 */
button {
  font: inherit; font-weight: 600; color: var(--text); cursor: pointer; border: 0; border-radius: 14px;
  padding: 12px 16px; background: var(--fill); transition: transform .1s, background .15s, opacity .15s;
}
button:active:not(:disabled) { transform: scale(.97); }
button:disabled { opacity: .4; cursor: default; }
button.primary { background: var(--blue); color: #fff; }
button.primary:active { background: var(--blue-press); }
button.danger { background: var(--red); color: #fff; }
button.danger.ghost { background: var(--red-soft); color: var(--red); }
button.ghost { background: var(--fill); color: var(--sub); }
button.link { background: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 10px; }
button.big { width: 100%; height: 56px; font-size: 17px; border-radius: 16px; }
button.small { padding: 6px 10px; font-size: 13px; border-radius: 10px; }
button.chip { background: var(--blue-soft); color: var(--blue); padding: 7px 12px; margin: 3px; font-size: 14px; border-radius: 99px; }

input, select {
  font: inherit; font-size: 17px; color: var(--text); background: var(--fill); width: 100%; height: 54px; padding: 0 16px;
  border: 2px solid transparent; border-radius: 14px; margin-top: 8px; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus { outline: none; border-color: var(--blue); background-color: var(--card); }
input::placeholder { color: var(--muted); }
input[type=radio] { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; border-radius: 50%; border: 2px solid var(--line); background: var(--card); flex: none; }
input[type=radio]:checked { border: 6px solid var(--blue); }
label { display: block; margin: 18px 0; font-size: 14px; font-weight: 500; color: var(--sub); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
p { margin: 0 0 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }
.warn { background: var(--orange-soft); color: var(--orange); padding: 14px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; margin: 12px 0; }
.warn-text { color: var(--orange); }

#demo-banner { background: var(--orange-soft); color: var(--orange); font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; }

/* 로그인 */
#gate { min-height: 88vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--card); }
.gate-card { width: 100%; max-width: 400px; }
.gate-card .logo { width: 56px; height: 56px; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 30px; margin-bottom: 24px; }
.gate-card .logo.warn-logo { background: var(--orange); }
.gate-card h1 { font-size: 26px; font-weight: 700; line-height: 1.35; }
.gate-card > p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.gate-card form { margin-top: 28px; }
.gate-card form .big { margin-top: 12px; }
.gate-card #switch { display: block; margin: 12px auto 0; }
.gate-card > button.big { margin-top: 24px; }
.demo-hint { margin-top: 28px; padding: 16px; border-radius: 16px; background: var(--fill); font-size: 13px; color: var(--muted); text-align: center; }

/* 레이아웃 */
#app { max-width: 600px; margin: 0 auto; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.topbar { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px 20px 8px; padding-top: calc(20px + env(safe-area-inset-top)); }
.topbar .store { font-size: 14px; font-weight: 600; color: var(--muted); }
.topbar h1 { font-size: 26px; font-weight: 700; }
.topbar #who { font-size: 14px; font-weight: 500; color: var(--sub); background: var(--card); border-radius: 99px; padding: 8px 14px; }
main { padding: 4px 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 22px 20px; margin: 12px 0; }
.card.alert { box-shadow: inset 0 0 0 2px var(--blue); }
.count { color: var(--blue); }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; background: var(--card); background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); z-index: 5; }
.tabbar button { flex: 1; max-width: 140px; background: none; border-radius: 12px; padding: 6px 0; font-size: 11px; font-weight: 600; color: #b0b8c1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar button span { font-size: 24px; line-height: 1; }
.tabbar button.on { color: var(--text); }
@media (prefers-color-scheme: dark) { .tabbar button { color: #5c5c66; } }

/* 직원 홈 */
.hero { padding: 16px 4px 4px; }
.hero .hello { font-size: 17px; font-weight: 600; color: var(--sub); margin: 0; }
.hero .headline { font-size: 26px; font-weight: 700; line-height: 1.35; }
.clock-card { background: var(--card); border-radius: 24px; padding: 28px 20px 26px; text-align: center; margin-top: 16px; }
.clock-card .now { color: var(--muted); font-size: 15px; font-weight: 600; }
.clock-card .now b { display: block; color: var(--text); font-size: 56px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.15; margin-top: 6px; }
.clock-card .now small { font-size: 24px; color: #b0b8c1; font-weight: 700; letter-spacing: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 14px; border-radius: 99px; background: var(--fill); color: var(--sub); font-size: 14px; font-weight: 600; }
.status-pill.on { background: var(--green-soft); color: var(--green); }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.cta-bar { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 12px 16px; z-index: 4;
  background: linear-gradient(to top, var(--bg) 70%, transparent); display: flex; justify-content: center; }
.punch { width: 100%; max-width: 568px; height: 58px; border-radius: 16px; font-size: 18px; font-weight: 700; color: #fff; }
.punch.in { background: var(--blue); }
.punch.in:active { background: var(--blue-press); }
.punch.out { background: var(--text); color: var(--card); }
main:has(.cta-bar), #view.with-cta { padding-bottom: 90px; }

/* 목록 */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 14px 0; }
.list > li + li { border-top: 1px solid var(--line); }
.shift { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.shift[data-act] { cursor: pointer; }
.shift[data-act]:active { opacity: .6; }
.shift .d { color: var(--muted); font-size: 13px; font-weight: 500; }
.shift .d b { color: var(--text); margin-left: 6px; font-size: 15px; font-weight: 700; }
.shift .t { grid-row: 2; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shift .t em { color: var(--green); font-style: normal; }
.shift .t sup { color: var(--muted); font-size: 11px; }
.shift .m { grid-row: 1 / 3; grid-column: 2; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shift .m small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shift.is-open .m { color: var(--green); }
.tag { display: inline-block !important; background: var(--orange-soft); color: var(--orange) !important; border-radius: 6px; padding: 1px 6px; font-size: 11px !important; font-weight: 700 !important; margin-top: 2px; }
.edit-btn { display: inline-flex; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--sub); background: var(--fill); padding: 4px 10px; border-radius: 8px; }
.edit-btn::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 6px; opacity: .6; }

.person { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.person[data-act] { cursor: pointer; }
.person[data-act]:active { opacity: .6; }
.person b { font-size: 17px; font-weight: 700; }
.person small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.person .right { text-align: right; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; }
.person .right small { grid-column: 1; text-align: right; font-size: 14px; color: var(--sub); font-weight: 600; }
.person .right .chev { grid-column: 2; grid-row: 1 / 3; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--fill); color: var(--sub); justify-self: end; }
.badge.admin { background: var(--blue-soft); color: var(--blue); }
.badge.staff { background: var(--green-soft); color: var(--green); }
.badge.pending { background: var(--orange-soft); color: var(--orange); }
.chev { color: #b0b8c1; font-size: 22px; font-weight: 400; }

.month-nav { display: flex; align-items: center; justify-content: space-between; margin: 12px 4px 8px; }
.month-nav strong { font-size: 22px; font-weight: 700; }
.month-nav button { background: var(--card); width: 40px; height: 40px; padding: 0; border-radius: 12px; color: var(--sub); font-size: 13px; }
.month-nav:has(> strong:only-child) { justify-content: flex-start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.stats > div { background: var(--card); border-radius: 18px; padding: 16px; min-width: 0; }
.stats > div.wide { grid-column: 1 / -1; padding: 22px 20px; }
.stats small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.stats b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats b.pay { display: block; font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin: 4px 0 2px; }
.stats > div.wide small:last-child { color: var(--muted); font-weight: 500; }
.stats:has(> div:nth-child(2):last-child) { grid-template-columns: 1fr; }

.seg { display: flex; background: #e5e8eb; border-radius: 14px; padding: 4px; margin: 8px 0 4px; }
@media (prefers-color-scheme: dark) { .seg { background: var(--fill); } }
.seg button { flex: 1; background: none; padding: 9px 0; font-size: 15px; color: var(--muted); border-radius: 10px; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.toolbar { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.toolbar select { margin: 0; flex: 1; background-color: var(--card); height: 48px; font-size: 16px; }
.toolbar button { white-space: nowrap; height: 48px; }
main > p.muted.small { padding: 0 4px; }

.pay-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pay-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 4px 10px; }
.pay-table td { padding: 14px 4px; font-weight: 600; border-top: 1px solid var(--line); }
.pay-table td:first-child { font-weight: 700; }
.pay-table td:last-child { font-weight: 700; }
.pay-table tr[data-act] { cursor: pointer; }
.pay-table tr[data-act]:active { opacity: .6; }
.pay-table .num, .pay-table th:nth-child(n+4) { text-align: right; white-space: nowrap; }
.pay-table td, .pay-table th { font-size: 15px; white-space: nowrap; }
.pay-table small { font-weight: 500; font-size: 12px; }
@media (max-width: 420px) { .pay-table td, .pay-table th { font-size: 13px; padding-left: 2px; padding-right: 2px; } }
.pay-table + p { margin-top: 12px; }
button.wide-btn { width: 100%; height: 52px; margin-top: 16px; background: var(--blue-soft); color: var(--blue); }

/* 모달 → 바텀시트 */
dialog {
  border: 0; padding: 28px 22px calc(20px + env(safe-area-inset-bottom)); margin: auto auto 0; width: 100%; max-width: 600px; max-height: 90vh;
  border-radius: 28px 28px 0 0; background: var(--card); color: var(--text);
}
dialog[open] { animation: sheet-up .28s cubic-bezier(.2,.9,.3,1); }
@keyframes sheet-up { from { transform: translateY(100%); } }
dialog::backdrop { background: rgba(0,0,0,.45); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 640px) { dialog { margin: auto; border-radius: 28px; padding-bottom: 22px; } }
dialog h2 { font-size: 22px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
dialog h2 small { font-size: 15px; font-weight: 500; }
dialog h3 { margin-top: 24px; font-size: 17px; }
dialog > form > p { font-size: 16px; color: var(--sub); }
.row-btns { display: flex; gap: 8px; margin-top: 24px; }
.row-btns button { flex: 1; height: 56px; font-size: 17px; border-radius: 16px; }
.row-btns .danger.ghost { flex: 0 0 auto; padding: 0 18px; }
.rates { background: var(--fill); border-radius: 16px; padding: 4px 16px !important; }
.rates li { display: flex; align-items: center; gap: 10px; padding: 12px 0 !important; }
.rates li span { flex: 1; color: var(--sub); font-size: 14px; font-weight: 500; }
.rates li button { background: var(--card); }
.rate-add { display: flex; gap: 8px; margin-top: 12px; }
.rate-add input { flex: 1; min-width: 0; }
label.radio { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 16px; margin: 14px 0; }
label.radio small { display: block; }

#toast {
  position: fixed; inset: auto; margin: 0; border: 0; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: rgba(25, 31, 40, .92); color: #fff; padding: 14px 20px; border-radius: 16px; font-size: 15px; font-weight: 600;
  z-index: 99; width: max-content; max-width: calc(100vw - 32px); animation: toast-in .25s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
#toast.bad { background: var(--red); }
body:has(#gate:not([hidden])), body.gate-on { background: var(--card); }
/* 통계: 큰 금액 카드를 맨 위로, 작은 칸은 한 줄 유지 */
.stats > div.wide { order: -1; }
.stats > div:not(.wide) { padding: 14px 12px; }
.stats > div:not(.wide) b { font-size: 16px; white-space: nowrap; letter-spacing: -0.03em; }
.stats > div:not(.wide) small { white-space: nowrap; font-size: 12px; }
/* 목록 안의 작은 버튼(승인/거절)은 바텀시트 버튼보다 작게 */
.person .row-btns { margin: 0; flex: none; }
.person .row-btns button { flex: none; height: 40px; font-size: 15px; padding: 0 16px; border-radius: 12px; }
.edit-btn { display: flex; width: fit-content; margin-left: auto; }

/* ── 입력 요소 보강 ── */
textarea {
  font: inherit; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--fill); width: 100%; padding: 14px 16px;
  border: 2px solid transparent; border-radius: 14px; margin-top: 8px; resize: vertical; min-height: 150px;
}
textarea:focus { outline: none; border-color: var(--blue); background-color: var(--card); }
input[type=checkbox] {
  width: 22px; height: 22px; margin: 0; padding: 0; flex: none; border-radius: 7px; border: 2px solid var(--line); background: var(--card);
  display: inline-grid; place-items: center; vertical-align: middle;
}
input[type=checkbox]:checked { background: var(--blue); border-color: var(--blue); }
input[type=checkbox]:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two label { margin-bottom: 6px; }
.field-label { font-size: 14px; font-weight: 500; color: var(--sub); margin: 18px 0 8px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { margin: 0; position: relative; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: grid; place-items: center; height: 42px; border-radius: 12px; background: var(--fill); color: var(--muted); font-size: 15px; font-weight: 600; transition: background .15s, color .15s; }
.day input:checked + span { background: var(--blue); color: #fff; }
.check-row { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 16px; }

/* ── 체크리스트 ── */
.hint { padding: 4px 4px 0; }
.cl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cl-head b { font-size: 19px; font-weight: 700; }
.cl-count { font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 99px; }
.cl-count.all { color: var(--green); background: var(--green-soft); }
.cl-win { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.progress { height: 6px; background: var(--fill); border-radius: 99px; margin: 14px 0 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width .3s; }
.cl.all .progress i { background: var(--green); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li[data-check] { cursor: pointer; }
.checklist li[data-check]:active { opacity: .6; }
.checklist .box { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d1d6db; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.checklist li.done .box { background: var(--blue); border-color: var(--blue); }
.checklist li.done .box::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.checklist .txt { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; }
.checklist li.done .txt { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.checklist time { flex: none; text-align: right; font-size: 14px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.checklist time small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.checklist .miss { color: var(--orange); font-size: 13px; }
.cl-sep { border: 0; height: 1px; background: var(--line); margin: 20px 0; }
.cl-workers { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 600; color: var(--sub); }
#cl-sheet { margin-top: 16px; }
dialog { overflow-y: auto; }

/* 탭 아이콘 위 남은 개수 */
.tabbar button span { position: relative; }
.tab-badge { position: absolute; top: -5px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; }

.link-card { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.link-card:active { opacity: .7; }
.link-card b { font-size: 17px; }
.link-card small { display: block; color: var(--blue); font-size: 14px; font-weight: 600; margin-top: 2px; }
.empty { text-align: center; padding: 36px 20px; }
.empty b { font-size: 18px; display: block; margin-bottom: 6px; }
.add-cl { margin: 12px 0 0; }

/* 근무 기록 줄의 체크리스트 요약 (사장님) */
.shift .c { grid-column: 1 / -1; margin-top: 8px; }
.cl-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; cursor: pointer;
  background: var(--blue-soft); color: var(--blue); }
.cl-chip::after { content: ''; width: 5px; height: 5px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 3px; opacity: .6; }
.cl-chip.ok { background: var(--green-soft); color: var(--green); }
.cl-chip.bad { background: var(--orange-soft); color: var(--orange); }
.cl-chip:active { opacity: .6; }
button.link.small { font-size: 13px; padding: 6px; }
button.link.center, .gate-card #forgot { display: block; margin: 4px auto 0; }
#shift-cl { margin-top: 16px; }

/* ── 시작 화면: 불러오는 중 / 연결 실패 / 지원 안 되는 휴대폰 ── */
#boot { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--card); z-index: 50; }
.boot-card { text-align: center; max-width: 320px; }
.boot-logo { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.boot-logo svg { width: 30px; height: 30px; }
#boot-msg { color: var(--sub); font-size: 16px; line-height: 1.6; }
#boot-retry { margin-top: 18px; background: var(--blue); color: #fff; height: 52px; padding: 0 28px; border-radius: 16px; font-size: 16px; }

/* 인터넷·실시간 연결 끊김 알림 */
#net-banner { position: sticky; top: 0; z-index: 20; background: var(--orange-soft); color: var(--orange); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 12px; }

/* 퇴근 누락 확인 */
.tag.warn-tag { background: var(--orange-soft); color: var(--orange) !important; }
.tag.gray-tag { background: var(--fill); color: var(--muted) !important; }
.status-pill.late { background: var(--orange-soft); color: var(--orange); }
.card.alert-warn { box-shadow: inset 0 0 0 2px var(--orange); }

/* 체크리스트 할 일 편집 */
.item-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.item-row { display: flex; align-items: center; gap: 4px; }
.item-row input { margin: 0; height: 48px; flex: 1; min-width: 0; font-size: 16px; }
.item-row button { flex: none; width: 34px; height: 40px; padding: 0; font-size: 12px; color: var(--muted); background: transparent; }
.item-row button.danger-text { color: var(--red); font-size: 15px; }
button.wide-add { width: 100%; margin-top: 10px; height: 46px; background: var(--blue-soft); color: var(--blue); }
.muted-text { color: var(--muted) !important; }
#loc-pos { font-size: 15px; margin: 0 0 8px; }
#loc-ips li span { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text); }
.netlog li { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 7px 0 !important; font-variant-numeric: tabular-nums; }
.netlog li span { color: var(--sub); word-break: break-all; }
.netlog li b { flex: none; font-weight: 600; }
