/* 현장실습 훈련(구 시니어인턴십) 운영기관 관리판 스타일 (이음24 ydj.css 기반, Senior_ieum senior.css 를 옮김) */
/* 레이아웃: 상단 요약 줄 → 탭 → (캘린더 | 선택한 날 상세) 2단, 모바일은 1단 */
:root {
  --bg: #f4f6fb; --surface: #ffffff; --sunk: #eef1f8; --text: #172033; --muted: #5a6478; --line: #dce2ee;
  --brand: #0f7b78; --brand-soft: #e0f4f3; --on-brand: #ffffff;
  --alert: #c62828; --alert-bg: #fdecec; --alert-line: #f3b7b7;
  --warn: #9a5b00; --warn-bg: #fff3dc; --ok: #137a52; --ok-bg: #e4f5ec; --info: #3c5aa8; --info-bg: #edf1fb;
  --y25: #7a4fc4; --y25-bg: #f1eafd; --y26: #1846c9; --y26-bg: #e7eeff; --y27: #0f7b78; --y27-bg: #e0f4f3;
  --shadow: 0 8px 28px rgba(18, 34, 80, .10);
  --font: "IBM Plex Sans KR", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r: 12px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f141d; --surface: #171e2b; --sunk: #121926; --text: #e7ecf5; --muted: #a0abbe; --line: #2a3446;
  --brand: #6fd6cf; --brand-soft: #133533; --on-brand: #0f141d;
  --alert: #ff8f8f; --alert-bg: #3b1a1d; --alert-line: #6b2b30;
  --warn: #ffc56b; --warn-bg: #3a2b10; --ok: #63d3a0; --ok-bg: #133126; --info: #9fb5f5; --info-bg: #1b2440;
  --y25: #c4a6ff; --y25-bg: #2a2142; --y26: #8fb0ff; --y26-bg: #1d2a47; --y27: #6fd6cf; --y27-bg: #133533;
  --shadow: 0 8px 28px rgba(0, 0, 0, .4); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f141d; --surface: #171e2b; --sunk: #121926; --text: #e7ecf5; --muted: #a0abbe; --line: #2a3446;
  --brand: #6fd6cf; --brand-soft: #133533; --on-brand: #0f141d;
  --alert: #ff8f8f; --alert-bg: #3b1a1d; --alert-line: #6b2b30;
  --warn: #ffc56b; --warn-bg: #3a2b10; --ok: #63d3a0; --ok-bg: #133126; --info: #9fb5f5; --info-bg: #1b2440;
  --y25: #c4a6ff; --y25-bg: #2a2142; --y26: #8fb0ff; --y26-bg: #1d2a47; --y27: #6fd6cf; --y27-bg: #133533;
  --shadow: 0 8px 28px rgba(0, 0, 0, .4); color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.num, .date { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.3; }

/* 상단 */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in, .main { width: min(1240px, 100% - 32px); margin: 0 auto; }
.top-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
.brand { font-weight: 700; font-size: 17px; display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.brand small { font-weight: 500; color: var(--muted); font-size: 13px; }
.mode { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); }
.mode.work { background: var(--ok-bg); color: var(--ok); }
.refdate { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.refdate input { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px 6px; font-family: var(--mono); font-size: 13px; }
.iconbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 6px 10px; cursor: pointer; font-size: 13px; font-weight: 600; }
.iconbtn:hover { border-color: var(--brand); color: var(--brand); }

.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; width: min(1240px, 100% - 32px); margin: 0 auto; }
.tabs button { border: 0; background: none; padding: 10px 14px 11px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabs .cnt { font-family: var(--mono); font-size: 12px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--sunk); }

.main { padding-block: 18px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.main > * { min-width: 0; }

/* 요약 줄 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; text-align: left; cursor: pointer; }
.stat b { display: block; font-family: var(--mono); font-size: 26px; line-height: 1.1; margin-top: 2px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat.hot { border-color: var(--alert-line); background: var(--alert-bg); }
.stat.hot b, .stat.hot span { color: var(--alert); }

/* 캘린더 */
.board { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.panel h2 { font-size: 17px; margin: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.calnav { display: flex; align-items: center; gap: 6px; }
.calnav input[type="month"] { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--surface); font-family: var(--mono); }
.monthtitle { font-size: 20px; font-weight: 700; margin: 0; font-family: var(--mono); letter-spacing: -.02em; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; border: 1px solid var(--line); }
.legend .l-alert { background: var(--alert-bg); border-color: var(--alert-line); }
.legend .l-done { background: var(--ok-bg); }
.legend .l-info { background: var(--info-bg); }

.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dow { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sunk); }
.dow.sun, .day.sun .dn { color: var(--alert); }
.dow.sat, .day.sat .dn { color: var(--info); }
.day { min-height: 98px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px 6px; background: var(--surface);
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; border-top: 0; border-left: 0; min-width: 0; }
.day:hover { background: var(--sunk); }
.day.out { background: var(--sunk); opacity: .55; }
.day .dn { font-family: var(--mono); font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.day.today .dn span:first-child { background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 0 7px; }
.day.alert { background: var(--alert-bg); box-shadow: inset 0 0 0 1px var(--alert-line); }
.day.alert:hover { background: color-mix(in srgb, var(--alert-bg) 80%, var(--alert)); }
.day.sel { box-shadow: inset 0 0 0 2px var(--brand); }
.day .badge { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--alert); }
.chip-ev { font-size: 11.5px; line-height: 1.3; padding: 2px 5px; border-radius: 5px; background: var(--info-bg); color: var(--info);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip-ev b { font-weight: 700; }
.chip-ev.action { background: var(--surface); color: var(--alert); border: 1px solid var(--alert-line); font-weight: 600; }
.chip-ev.done { background: var(--ok-bg); color: var(--ok); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.more { font-size: 11px; color: var(--muted); }

/* 이벤트 목록 */
.evlist { display: grid; gap: 8px; }
.ev { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; border-left: 4px solid var(--info); }
.ev.action { border-left-color: var(--alert); }
.ev.done { border-left-color: var(--ok); opacity: .85; }
.ev-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ev-co { font-weight: 700; }
.ev-co button { all: unset; cursor: pointer; font-weight: 700; color: var(--text); border-bottom: 1px dashed var(--muted); }
.ev-what { font-size: 14px; }
.ev-act { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ev-act select { border: 1px solid var(--line); border-radius: 7px; padding: 3px 6px; background: var(--surface); font-size: 13px; }

.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--sunk); color: var(--muted); white-space: nowrap; }
.pill.alert { background: var(--alert-bg); color: var(--alert); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.y2025 { background: var(--y25-bg); color: var(--y25); }
.pill.y2026 { background: var(--y26-bg); color: var(--y26); }
.pill.y2027 { background: var(--y27-bg); color: var(--y27); }

.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 7px 12px; font-weight: 600; font-size: 13.5px; cursor: pointer; text-decoration: none; color: var(--text); display: inline-flex; gap: 5px; align-items: center; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.08); color: var(--on-brand); }
.btn.sm { padding: 4px 9px; font-size: 12.5px; border-radius: 7px; }
.btn.danger { color: var(--alert); }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
td.btns { display: table-cell; white-space: nowrap; } td.btns > * + * { margin-left: 6px; } /* 표 칸에 flex 를 주면 칸이 표에서 빠져 줄이 어긋남 */

/* 단계 화면 */
.stage-intro { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: end; }
.stage-intro h2 { font-size: 20px; margin: 0 0 4px; }
.stage-intro p { margin: 0; color: var(--muted); max-width: 70ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.cocard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cocard h3 { margin: 0; font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cocard .meta { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--sunk); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; font-size: 13.5px; }
.lv { font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; margin-top: 1px; }
.lv.ok { background: var(--ok-bg); color: var(--ok); }
.lv.check { background: var(--warn-bg); color: var(--warn); }
.lv.bad { background: var(--alert-bg); color: var(--alert); }
.lv.info { background: var(--info-bg); color: var(--info); }
/* 사전점검 목록(기업 상세) — 한 줄 카드, 왼쪽 색 띠 */
.pcl { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.pcl li.pc { display: block; padding: 8px 10px 8px 12px; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; line-height: 1.5; }
.pcl li.pc.ok { border-left-color: var(--ok); }
.pcl li.pc.check { border-left-color: var(--warn); background: var(--warn-bg); }
.pcl li.pc.bad { border-left-color: var(--alert); background: var(--alert-bg); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
th { background: var(--sunk); font-size: 12.5px; color: var(--muted); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.wrap { white-space: normal; min-width: 180px; }
.rnd { display: grid; gap: 3px; justify-items: start; }

/* 마감 단계 */
.yeargrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ycol { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.ycol h4 { margin: 0; display: flex; justify-content: space-between; align-items: center; }
.cmp textarea { width: 100%; min-height: 56px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--surface); font-size: 13px; resize: vertical; }
.cmp th, .cmp td { white-space: normal; min-width: 170px; }
.cmp td:first-child, .cmp th:first-child { min-width: 120px; font-weight: 600; }

/* 폼·모달 */
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 0; width: min(860px, 100% - 24px); max-height: min(92vh, 900px); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 16, 30, .45); }
.dlg-head { position: sticky; top: 0; background: var(--surface); padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 2; }
.dlg-head h2 { margin: 0; font-size: 18px; }
.dlg-body { padding: 16px 18px 20px; display: grid; gap: 16px; }
.dlg-body h3 { margin: 0 0 8px; font-size: 15px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lab { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: var(--surface); min-width: 0; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; padding: 0; }
.field textarea { min-height: 260px; font-size: 13.5px; line-height: 1.6; resize: vertical; }
.months12 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.months12 input { padding: 6px; text-align: right; font-family: var(--mono); }
.doclist { display: grid; gap: 6px; }
.doc { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; font-size: 13.5px; padding: 6px 8px; border-radius: 8px; }
.doc:hover { background: var(--sunk); }
.doc small { display: block; color: var(--muted); }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.note { font-size: 13px; color: var(--muted); background: var(--sunk); border-radius: 10px; padding: 10px 12px; margin: 0; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 99; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* 잠금 화면 */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.gate .panel { width: min(440px, 100%); display: grid; gap: 12px; padding: 24px; }
.gate h1 { margin: 0; font-size: 22px; }
.gate p { margin: 0; color: var(--muted); }

.empty { text-align: center; padding: 28px 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }


/* 근로계약서 */
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.cpaper { background: #fff; color: #111; border: 1px solid var(--line); border-radius: 6px; padding: 28px 30px; overflow-x: auto; }
.contract { font: 14.5px/1.9 "Batang", "Nanum Myeongjo", serif; color: #111; }
.contract .ct { text-align: center; font-size: 22px; letter-spacing: .3em; margin: 0; }
.contract .cc-sub { text-align: center; margin: 0 0 14px; font-size: 13px; }
.contract .items { padding-left: 1.4em; margin: 10px 0; }
.contract .sub { list-style: "- "; padding-left: 1.2em; margin: 0; }
.contract .cf { font: inherit; color: #111; background: #f3f6ff; border: 0; border-bottom: 1px solid #8a94a8; padding: 0 4px; border-radius: 2px; max-width: 100%; }
.contract select.cf { padding: 0; }
.contract .cv { border-bottom: 1px solid #555; padding: 0 4px; }
.contract .ins label { margin-right: 8px; white-space: nowrap; }
.contract .ins span { margin-right: 10px; }
.contract .cdate { text-align: center; margin: 18px 0; }
.contract .party { width: 100%; border-collapse: collapse; font-size: 14px; }
.contract .party th, .contract .party td { border: 0; padding: 4px 6px; white-space: normal; background: none; color: #111; vertical-align: middle; }
.contract .party th { width: 70px; font-weight: 700; }
.sigslot { display: inline-flex; align-items: center; justify-content: center; width: 130px; height: 52px; border: 1.5px dashed #c62828; border-radius: 6px; background: #fff7f7; color: #c62828; font: 12px/1.2 sans-serif; cursor: pointer; vertical-align: middle; margin-left: 6px; }
.sigslot.signed { border: 1px solid #c9d1e0; background: #fff; }
.sigslot img { max-width: 100%; max-height: 100%; }
.contract.print .sigslot { border: 0; background: none; color: #666; cursor: default; }
.contract .audit { font: 11px/1.5 monospace; color: #555; margin-top: 16px; border-top: 1px solid #ddd; padding-top: 6px; }
.cside h3 { font-size: 15px; margin: 0 0 8px; }
.cside { position: sticky; top: 70px; }
dialog.wide { width: min(1180px, 100% - 24px); }
.padwrap { position: fixed; inset: 0; background: rgba(10, 16, 30, .55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.padbox { background: var(--surface); border-radius: 14px; padding: 16px; display: grid; gap: 10px; max-width: 100%; }
.padbox h3 { margin: 0; font-size: 16px; }
.padc { background: #fff; border: 1px solid var(--line); border-radius: 8px; touch-action: none; cursor: crosshair; max-width: 100%; }
#printArea { display: none; }
@media (max-width: 860px) { .cgrid { grid-template-columns: minmax(0, 1fr); } .cside { position: static; } .cpaper { padding: 18px 14px; } }
@media print {
  body.printing > *:not(#printArea), body.printing dialog { display: none !important; }
  body.printing #printArea { display: block !important; padding: 18mm 16mm; }
  body.printing { background: #fff; }
  @page { size: A4; margin: 0; }
}
@media (max-width: 980px) {
  .board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { min-height: 56px; padding: 4px; }
  .day .chip-ev, .day .more { display: none; }
  .day .dn { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .months12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 임금명세서 (A4 위쪽 절반: 명세표 / 아래쪽: 계산 방법) */
.slip { font: 12px/1.5 "IBM Plex Sans KR", "Malgun Gothic", sans-serif; color: #111; }
.slip table { width: 100%; border-collapse: collapse; }
.slip th, .slip td { border: 1px solid #9aa3b5; padding: 4px 7px; white-space: normal; color: #111; background: none; font-size: 12px; vertical-align: middle; }
.slip th { background: #eef1f7; font-weight: 700; color: #111; }
.slip .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slip-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #111; margin-bottom: 8px; }
.slip-h h2 { margin: 0; font-size: 19px; letter-spacing: .2em; }
.slip-h p { margin: 0; font-weight: 700; }
.slip-meta { margin-bottom: 6px; }
.slip-meta th { width: 15%; }
.slip-main thead th { text-align: center; }
.slip-main td:nth-child(1), .slip-main td:nth-child(3) { width: 25%; }
.slip-main .sum td { background: #f6f7fb; font-weight: 700; }
.slip-main .net td { background: #e8eeff; font-weight: 700; font-size: 13.5px; }
.slip-sub { margin: 5px 0; font-size: 11px; color: #333; }
.slip-calc { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #888; }
.slip-calc h3 { margin: 0 0 4px; font-size: 13px; }
.slip-calc th, .slip-calc td { font-size: 10.5px; padding: 3px 6px; }
.slip-calc td:first-child { width: 7%; text-align: center; }
.slip-calc td:nth-child(2) { width: 16%; }
.slip-foot { font-size: 10px; color: #444; margin: 6px 0 0; }
@media print { body.printing #printArea .slip { font-size: 11px; } }
.tablewrap input:not([type="checkbox"]) { width: 100%; min-width: 90px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 7px; background: var(--surface); color: var(--text); font: inherit; }

/* 직원 화면 (출퇴근) */
.wv { display: grid; gap: 14px; }
.wv-punch { display: grid; gap: 12px; }
.wv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.wv-top h2 { font-size: 20px; margin: 2px 0 0; }
.wv-clock { display: grid; text-align: right; }
.wv-clock b { font: 700 32px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wv-clock span { color: var(--muted); font-size: 13px; }
.wv-state { margin: 0; font-weight: 600; color: var(--muted); }
.wv-big { height: 96px; border: 0; border-radius: 20px; font: 700 26px/1 var(--font); background: var(--brand); color: var(--on-brand); cursor: pointer; }
.wv-big.out { background: var(--ok); color: var(--surface); }
.wv-big:disabled { opacity: .6; cursor: progress; }
.wv-test { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 10px; }
.wv-test input[type="datetime-local"] { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--surface); font-family: var(--mono); }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.wv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wv-stats .panel { display: grid; gap: 4px; padding: 12px 14px; }
.wv-stats b { font: 700 24px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.bar { position: relative; display: block; height: 5px; border-radius: 999px; background: var(--sunk); overflow: hidden; }
.bar.big { height: 8px; overflow: visible; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
.bar i.over { background: var(--warn); } .bar i.bad { background: var(--alert); }
.bar em { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); opacity: .5; }
.wv-calwrap { border: 0; }
.wv-cal { table-layout: fixed; min-width: 640px; }
.wv-cal th, .wv-cal td { padding: 3px; border: 1px solid var(--line); text-align: center; vertical-align: top; white-space: normal; }
.wv-cal th.sun { color: var(--alert); } .wv-cal th.sat { color: var(--info); }
.wv-cal td.wv-empty { background: var(--sunk); }
.wv-day { width: 100%; min-height: 74px; border: 0; border-radius: 6px; background: none; display: grid; gap: 2px; align-content: start; text-align: left; padding: 4px; cursor: pointer; color: var(--text); font: inherit; }
.wv-day .n { font: 500 12px var(--mono); }
.wv-day .t { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wv-day .h { font: 700 13px var(--mono); }
.wv-day.ok { background: var(--ok-bg); } .wv-day.over { background: var(--warn-bg); } .wv-day.warn { background: color-mix(in srgb, var(--warn-bg) 55%, transparent); }
.wv-day.bad { background: var(--alert-bg); box-shadow: inset 0 0 0 1px var(--alert-line); } .wv-day.bad .t { color: var(--alert); font-weight: 700; }
.wv-day.on { background: var(--info-bg); } .wv-day.miss .t { color: var(--alert); }
.wv-day.today .n { background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 0 6px; justify-self: start; }
.wv-day.sel { box-shadow: inset 0 0 0 2px var(--brand); }
.wv-cal td.wv-wk { background: var(--sunk); font-size: 12px; display: table-cell; }
.wv-wk b { display: block; font: 700 14px var(--mono); } .wv-wk span { display: block; color: var(--muted); }
.legend .l-over { background: var(--warn-bg); } .legend .l-warn { background: color-mix(in srgb, var(--warn-bg) 55%, transparent); }
.rolebar { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rolebar button { border: 0; background: var(--surface); padding: 6px 12px; font: 600 13px var(--font); cursor: pointer; color: var(--muted); }
.rolebar button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.rolepick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rolepick .panel { display: grid; gap: 10px; align-content: start; }
@media (max-width: 640px) {
  .wv-stats { grid-template-columns: minmax(0, 1fr); } .wv-big { height: 84px; }
  .wv-cal { min-width: 0; } .wv-cal th { font-size: 11px; padding: 3px 1px; } .wv-cal td { padding: 1px; }
  .wv-day { min-height: 50px; padding: 3px 2px; } .wv-day .t { display: none; } .wv-day.bad .t, .wv-day.miss .t { display: block; font-size: 9.5px; }
  .wv-day .h { font-size: 10.5px; } .wv-wk b { font-size: 11px; } .wv-wk span { font-size: 9.5px; }
  .wv-clock b { font-size: 28px; }
}

.lawlink { color: var(--brand); text-decoration: underline dotted; text-underline-offset: 2px; }
.lawlink:hover { text-decoration-style: solid; }

/* 시니어 이음 추가: 캘린더 기업 칩 — 푸른 상자 = 급여지급일 기준 신청 권장일, 붉은 칩 = 미해결 마감 */
.chip-ev.claim { background: var(--info-bg); color: var(--info); border: 1px solid var(--info); font-weight: 600; }
.chip-ev.action { background: var(--alert-bg); color: var(--alert); border: 1px solid var(--alert-line); }
.day.alert { background: var(--alert-bg); }

/* ───── 출결 엑셀 가져오기·검토 (AI-data_analysis dashboard/calendar.css 를 옮김) ───── */
.click { cursor: pointer; }
.mapbox { display: grid; gap: 12px; border: 1px dashed var(--line); border-radius: var(--r); padding: 12px; margin-top: 12px; }
.mapbox .tablewrap table { font-size: 12px; } .mapbox th, .mapbox td { padding: 4px 8px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.wcard { cursor: pointer; border-left: 5px solid var(--ok); }
.wcard.yellow { border-left-color: var(--warn); } .wcard.red { border-left-color: var(--alert); background: color-mix(in srgb, var(--alert-bg) 40%, var(--surface)); }
.wcard:hover { border-color: var(--brand); }
.month-wrap { display: grid; gap: 10px; }
.cal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; }
.cal-head h3 { font-size: 18px; margin: 0; }
.acal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) minmax(110px, .9fr); gap: 5px; }
.acal .hd { font-size: 12px; color: var(--muted); font-weight: 700; padding: 0 4px; }
.acal .hd.sun { color: var(--alert); } .acal .hd.sat { color: var(--info); }
.aday { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 6px; min-height: 84px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aday .top { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.aday .num { font-weight: 700; font-size: 13px; font-family: var(--mono); }
.aday.sun .num { color: var(--alert); } .aday.sat .num { color: var(--info); }
.aday .plan { font-size: 10.5px; padding: 0 5px; border-radius: 999px; background: var(--sunk); color: var(--muted); white-space: nowrap; }
.aday .plan.p-est { background: var(--warn-bg); color: var(--warn); }
.aday .t { font-size: 11.5px; color: var(--muted); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.aday .w { font-size: 15px; font-weight: 700; font-family: var(--mono); }
.aday .n { font-size: 11px; line-height: 1.3; color: var(--muted); }
.aday.k-warn { background: var(--warn-bg); border: 2px solid var(--warn); } .aday.k-warn .n { color: var(--warn); font-weight: 600; }
.aday.k-bad { background: var(--alert-bg); border: 2px solid var(--alert); } .aday.k-bad .n, .aday.k-bad .w { color: var(--alert); font-weight: 700; }
.aday.k-ok { background: var(--ok-bg); }
.aday.out { opacity: .35; } .aday.out .n, .aday.out .t { display: none; }
.aday.empty { background: transparent; border-style: dashed; }
/* 선택근무 단축일 — 1일 소정보다 1시간 이상 덜 일한 날 */
.aday.k-short { background: var(--info-bg); border: 2px solid var(--info); } .aday.k-short .n { color: var(--info); font-weight: 700; } .legend .l-short { background: var(--info-bg); border: 2px solid var(--info); }
/* 단축일인데 확인 필요·누락이 겹치는 날: 안쪽 색은 그대로, 테두리만 파란색 */
.aday.cutday { border: 2px solid var(--info) !important; } .legend .l-cutwarn { background: var(--warn-bg); border: 2px solid var(--info); }
/* 공휴일(대체·임시 포함) — 기록이 없어도 결근으로 오해하지 않게 이름을 붙인다 */
.aday.hol { background: var(--sunk); } .holn { font-size: 10px; color: var(--alert); margin-left: 4px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 7.5em; display: inline-block; vertical-align: bottom; }
/* 기록 없음(평일) — 이 달 첫·마지막 기록 사이에서 출퇴근 기록이 전혀 없는 평일 */
.aday.empty.nodata { background: var(--alert-bg); border: 2px solid var(--alert); } .aday.nodata .t { color: var(--alert); font-size: 11px; font-weight: 600; }
.legend .l-nodata { background: repeating-linear-gradient(135deg, var(--alert-bg) 0 3px, transparent 3px 6px); border: 1px dashed var(--alert); } .legend .l-hol { background: var(--sunk); }
.awk { border-radius: 8px; padding: 6px 8px; border: 1px solid var(--line); background: var(--sunk); font-size: 12px; display: flex; flex-direction: column; gap: 2px; justify-content: center; font-variant-numeric: tabular-nums; }
.awk b { font-size: 13px; font-family: var(--mono); }
.awk.k-bad { background: var(--alert-bg); border: 2px solid var(--alert); color: var(--alert); }
.awk.k-warn { background: var(--warn-bg); border: 2px solid var(--warn); }
.tiny { font-size: 11px; }
.legend .l-ok { background: var(--ok-bg); } .legend .l-warn { background: var(--warn-bg); border: 2px solid var(--warn); } .legend .l-bad { background: var(--alert-bg); border: 2px solid var(--alert); }
.verdict { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; border-radius: var(--r); padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.verdict.bad { border: 2px solid var(--alert); background: var(--alert-bg); } .verdict.warn { border: 2px solid var(--warn); background: var(--warn-bg); } .verdict.good { border: 2px solid var(--ok); background: var(--ok-bg); }
.verdict .big { font-size: 16px; font-weight: 800; }
.verdict.bad .big { color: var(--alert); } .verdict.good .big { color: var(--ok); } .verdict.warn .big { color: var(--warn); }
.verdict .kv { display: inline; font-size: 13px; color: var(--muted); } .verdict .kv b { color: var(--text); font-family: var(--mono); }
.aitems { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.aitems li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 9px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.aitems .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--ok); }
.aitems .k-bad .ic { background: var(--alert); } .aitems .k-warn .ic { background: var(--warn); } .aitems .k-bad { border-color: var(--alert); }
.aitems .tt { font-weight: 700; } .aitems .dd { font-size: 12.5px; color: var(--muted); } .aitems .bb { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.msg { white-space: pre-wrap; background: var(--sunk); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 0; font-family: var(--font); }
.slip .slip-meta span { margin-right: 14px; }
@media (max-width: 760px) {
  .acal { grid-template-columns: 1fr; } .acal .hd { display: none; }
  .aday { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; } .aday .top { grid-column: 1 / -1; }
  .aday.out, .aday.empty { display: none; } .awk { margin-bottom: 10px; }
  .aday.empty.nodata, .aday.empty.hol { display: grid; }
}
@media print { .aday, .awk { break-inside: avoid; } }

/* ───── 참여기업 파이프라인 (senior.html#companies · #claims) ───── */
.lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; margin-top: 14px; }
.lane { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lane-head h2 { margin: 0; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.lane .cocard { padding: 12px; gap: 8px; }
.cocard.co-accepted { border-left: 4px solid var(--ok); } .cocard.co-hold { border-left: 4px solid var(--warn); } .cocard.co-rejected { border-left: 4px solid var(--alert); opacity: .85; } .cocard.co-review { border-left: 4px solid var(--info); }
.prog { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.prog-bar { height: 100%; background: var(--brand); border-radius: inherit; transition: width .3s; }
.stats.lanes-kpi { margin-top: 10px; } .stats.lanes-kpi a.stat { text-decoration: none; color: inherit; } .stat.warnish { border-color: var(--warn); background: var(--warn-bg); }
.declog { padding-left: 18px; display: grid; gap: 3px; } .declog .date { font-family: var(--mono); color: var(--muted); }
.file-btn { cursor: pointer; } .file-btn input { display: none; }
td .pill { vertical-align: middle; }
table.claims th, table.claims td { font-size: 12.5px; padding: 6px 8px; } table.claims td.chips { white-space: normal; min-width: 240px; display: flex; flex-wrap: wrap; gap: 4px; }
.coclaims { margin-top: 12px; } .coclaims h3 { font-size: 15px; }
.subtabs { margin-bottom: 10px; }
.months12 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.mcell { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--surface); display: grid; gap: 4px; align-content: start; font-size: 12.5px; } .mcell b { font-family: var(--mono); }
.mcell .chip-ev { white-space: normal; }
/* AI 교차 검토 서랍 */
dialog.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100vh; max-height: 100vh; width: min(560px, 100%); border-radius: 0; border-left: 1px solid var(--line); flex-direction: column; }
dialog.drawer:not([open]) { display: none; }
dialog.drawer[open] { display: flex; }
dialog.drawer .dlg-body { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.pickrow { display: flex; gap: 8px; align-items: center; padding: 4px 0; }
.chatlog { flex: 1; min-height: 160px; display: grid; gap: 8px; align-content: start; overflow: auto; }
.bub { max-width: 100%; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.bub.q { background: var(--info-bg); color: var(--info); justify-self: end; max-width: 85%; }
.bub.a { background: var(--sunk); border: 1px solid var(--line); display: grid; gap: 6px; } .bub.a p { margin: 0; } .bub.a.err { color: var(--alert); background: var(--alert-bg); }
.bub .finds { grid-template-columns: 1fr; gap: 8px; } .bub .find { padding: 8px 10px; gap: 4px; }
.chatform { display: flex; gap: 8px; } .chatform input { flex: 1; min-height: 44px; }
@media (max-width: 1100px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lanes { grid-template-columns: minmax(0, 1fr); } .stats.lanes-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 8단계: 참여 심사 상태별 목록·일괄 변경·예외 승인 */
.subtabs { flex-wrap: wrap; margin-top: 8px; } .subtabs .cnt { font-size: 11px; opacity: .8; }
.filters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); margin: 6px 0 8px; }
.bulkbar { align-items: center; margin: 4px 0 8px; padding: 8px 10px; background: var(--sunk); border-radius: 10px; }
table.cotable th { white-space: nowrap; } table.cotable td.wrap { min-width: 160px; }
.sortbtn { all: unset; cursor: pointer; font-weight: 700; } .sortbtn:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
label.exc { display: block; padding: 8px 10px; border: 1px solid var(--alert); border-radius: 10px; background: var(--alert-bg); }
.note-panel { border-color: var(--info); }
.prog-bar.hot { background: var(--alert); }
.gref-list { line-height: 2; }
.ans-text .gref { font-size: 11px; }
@media (max-width: 640px) { .filters { grid-template-columns: minmax(0, 1fr); } }
.pcl li.pc.info { border-left-color: var(--info); }
/* 영업 단계(기업 발굴) · 배정량 달성률 · 채용 순서 */
.sales-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.leadcard.overdue { border-color: var(--alert-line); box-shadow: inset 4px 0 0 var(--alert); }
.stats.sales-kpi .stat:first-child b { font-size: 22px; }
.quota .qstats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat.qstate.ok { border-color: var(--ok); background: var(--ok-bg); } .stat.qstate.ok b { color: var(--ok); }
.stat.qstate.alert { border-color: var(--alert-line); background: var(--alert-bg); } .stat.qstate.alert b, .stat.qstate.alert span { color: var(--alert); }
.stat.qstate b { font-family: var(--font); font-size: 20px; }
.qbars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; margin-top: 12px; }
.qcol { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--muted); min-width: 0; }
.qcol b { font-family: var(--mono); font-size: 12px; color: var(--text); }
.qcol.future b { color: var(--muted); }
.qtrack { position: relative; width: 100%; max-width: 34px; height: 120px; background: var(--sunk); border-radius: 6px 6px 2px 2px; overflow: hidden; }
.qtrack i { position: absolute; left: 0; right: 0; bottom: 0; display: block; }
.qtrack .qcum { background: var(--brand); border-radius: 4px 4px 0 0; } .qtrack .qcum.behind { background: var(--warn); }
.qtrack .qup { background: color-mix(in srgb, var(--brand) 30%, transparent); }
.qtrack .qgoal { height: 0; border-top: 2px dashed var(--alert); z-index: 1; }
.legend .l-q { background: var(--brand); } .legend .l-qup { background: color-mix(in srgb, var(--brand) 30%, transparent); } .legend .l-qgoal { background: none; border-top: 2px dashed var(--alert); height: 0; }
table.plan8 td:first-child, table.plan8 th:first-child { text-align: center; width: 52px; } table.plan8 tr.sum td { font-weight: 700; background: var(--sunk); }
@media (max-width: 1100px) { .sales-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quota .qstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sales-lanes { grid-template-columns: minmax(0, 1fr); } .quota .qstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qtrack { height: 90px; } }

/* 출결 점검 · 월간 리포트 (attcheck.html) */
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 26px 16px; margin: 6px 0 10px; border: 2px dashed var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--brand, #2453c9); background: var(--info-bg); outline: none; }
tr.sel td { background: var(--info-bg); }
.rp-preview { border: 1px solid var(--line); border-radius: var(--r); overflow: auto; margin-top: 10px; background: #fff; }

/* 화면 안 확인 창(SIUI.ask)·동기화 선택창 — 기본 confirm() 대신 */
dialog.ask-dlg, dialog.sync-ask { width: min(520px, 100% - 24px); }
dialog.ask-dlg .dlg-body { padding: 18px 20px; }
dialog.ask-dlg .btns, dialog.sync-ask .btns { margin-top: 12px; }

/* 근로자 폼 — 참여 지원사업 선택 + 사업별 입력 묶음 (js/attcheck/app.js editWorker) */
.prog-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.prog-pick label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 600; color: var(--text); font-size: 13px; background: var(--surface); }
.prog-pick label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.prog-sec { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 8px 12px 12px; }
.prog-sec[hidden] { display: none; }
.prog-sec > h4 { margin: 0 0 6px; font-size: 14px; } .prog-sec > h4 small { font-weight: 400; color: var(--muted); }
.prog-sec .form { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.prog-sec.senior { border-left-color: #0f7b78; } .prog-sec.youth { border-left-color: #2453c9; } .prog-sec.flexwork { border-left-color: #b26a00; }
/* 고객사 근로자 — 지원사업별 묶음 보기 */
.hr-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 10px; }
.hr-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.hr-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.hr-guide { border-radius: 10px; background: var(--sunk); padding: 8px 12px; margin: 0 0 10px; } .hr-guide ul { margin: 4px 0 0; padding-left: 18px; }
.hr-next { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 4px; }
.hr-next li { display: grid; grid-template-columns: 88px minmax(70px, auto) minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 13px; } .hr-next li.urgent b.date { color: var(--alert); }
.hr-next b.date { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hr-next li { grid-template-columns: 88px minmax(0, 1fr); } .hr-next li > .small { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .cols2.cols-clients { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.6fr); } }
tr.hr-urgent td { background: color-mix(in srgb, var(--alert) 7%, transparent); }
/* 기업 계정 연결 (js/attcheck/links.js) */
.lk-box { margin: 0 0 10px; } .lk-box ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; } .lk-box li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lk-banner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 6px 0; }
tr.lk-new td { background: color-mix(in srgb, var(--info, #3c5aa8) 7%, transparent); }

/* 여러 줄 칸(근무장소) — 엔터 줄바꿈, 인쇄·서명 화면에서도 줄 유지 */
.contract textarea.cf-multi { display: inline-block; vertical-align: top; resize: vertical; line-height: 1.6; min-height: 1.8em; overflow: hidden; font: inherit; }
.contract .cv-multi { display: inline-block; vertical-align: top; white-space: pre-wrap; max-width: calc(100% - 7em); }
/* 출결 점검 — 근로자별 결과 보드 */
.wk-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.wk-card { display: grid; gap: 4px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.wk-card:hover, .wk-card:focus-visible { border-color: var(--brand, #2453c9); outline: none; }
.wk-card.on { border-color: var(--brand, #2453c9); box-shadow: 0 0 0 2px var(--info-bg); }
.wk-card .wk-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.wk-detail { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 14px; }
.wk-detail .panel-head h3 { margin: 0; }
.wk-detail tr.warnrow td { background: var(--warn-bg, #fff6e0); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); color: inherit; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--brand, #2453c9); color: var(--on-brand, #fff); }
td.nowrap { white-space: nowrap; }
/* 총괄 리포트 — 근로자별 검토(왼쪽 메모 · 오른쪽 캘린더) */
.rv-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 캘린더(왼쪽, 넓게) + 검토 메모(오른쪽 좁은 칸). 화면이 좁으면 메모는 캘린더 아래로 */
.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: 14px; margin-top: 8px; align-items: start; }
.rv-main { min-width: 0; }
@media (max-width: 1100px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } .rv-side { position: static; max-height: none; } }
.rv-side { border: 1px solid var(--line); border-radius: var(--r); padding: 10px; position: sticky; top: 8px; max-height: calc(100vh - 24px); overflow: auto; background: var(--surface); }
.rv-sh { display: flex; justify-content: space-between; align-items: baseline; }
.rv-note { border: 1px solid var(--line); border-left-width: 4px; border-radius: 8px; padding: 6px 8px; margin: 6px 0; cursor: pointer; }
.rv-note.k-fix { border-left-color: #d64545; } .rv-note.k-check { border-left-color: #d89b1d; } .rv-note.k-ok { border-left-color: #2f9e6b; } .rv-note.k-etc { border-left-color: #8a94a6; }
.rv-nh { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rv-na { display: flex; justify-content: flex-end; gap: 4px; }
.rv-comp { border: 1px solid var(--brand, #2453c9); border-radius: 8px; padding: 8px; display: grid; gap: 6px; margin: 6px 0; }
.rv-comp textarea { width: 100%; font: inherit; }
.rv-comp .seg label { padding: 3px 8px; font-size: 12px; cursor: pointer; }
.rv-rev { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.rv-rev .warn { color: #b26b00; }
.rv-mh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.rv-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.rv-cal .aday[data-d] { cursor: crosshair; user-select: none; touch-action: none; }
.rv-cal .aday.sel { outline: 3px solid var(--brand, #2453c9); outline-offset: -3px; }
.ap-ov { width: 100%; margin-top: 4px; font: inherit; }
.focus-h { font-size: 12px; font-weight: 700; color: var(--brand, #2453c9); margin: 4px 0 2px; }
.checks.focus li { background: var(--info-bg, #eef3ff); border-radius: 6px; padding: 4px 6px; }

/* 고객사 관리 › 고객사 명부 위 '고객사 발굴' 배너 */
.discover-banner { display: block; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: var(--info-bg); color: var(--info); border: 1px solid var(--info); text-decoration: none; }
.discover-banner:hover { filter: brightness(0.97); }

/* 대시보드 — 수행기관 실적 + 업무 흐름(참여 홍보 → 참여 심사 → 지원금 관리) */
.perf-band .perf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perf { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--surface); }
.perf:hover { border-color: var(--brand); }
.perf-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.perf-name { font-weight: 700; }
.perf-num { font-family: var(--mono, monospace); font-size: 15px; } .perf-num b { font-size: 28px; }
.perf-bar { height: 10px; border-radius: 6px; background: var(--line); margin: 10px 0 6px; overflow: hidden; }
.perf-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.perf.done .perf-bar i { background: var(--ok); }
.wf { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.6fr) 28px minmax(0, 1.2fr); gap: 0; align-items: stretch; margin: 14px 0; }
.wf-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-self: start; }
.wf-col h4 { margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.wf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .wf-head h3 { margin: 0; font-size: 16px; flex: 1; }
.wf-step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 700; }
.wf-arrow { display: grid; place-items: center; font-size: 22px; color: var(--muted); }
.wf-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; flex-wrap: wrap; }
.wf-row b { font-family: var(--mono, monospace); font-size: 18px; } .wf-row:hover { border-color: var(--brand); }
.wf-row.hot { border-color: var(--alert-line); background: var(--alert-bg); } .wf-row.warnish { border-color: var(--warn); background: var(--warn-bg); } .wf-row.ok { border-color: var(--ok); }
.wf-row.money em { flex-basis: 100%; font-style: normal; }
.wf-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .wf-sub { display: flex; flex-direction: column; gap: 6px; }
.quota-more summary { cursor: pointer; padding: 4px 0; } .quota-more .quota { border: 0; padding: 0; margin-top: 8px; }
@media (max-width: 980px) { .wf { grid-template-columns: minmax(0, 1fr); } .wf-arrow { transform: rotate(90deg); height: 24px; } .perf-band .perf-grid, .wf-split { grid-template-columns: minmax(0, 1fr); } }

/* 고객사 발굴 → 영업: 영업 DB에 없는 회사(발굴 표) · 새로 들어와 아직 손대지 않은 리드(영업 보드) = 옅은 붉은색 */
tr.disc-new > td, tr.fresh-row > td { background: var(--alert-bg); }
.leadcard.fresh { background: var(--alert-bg); border-color: var(--alert-line); }
.bs-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--surface); }
.bs-card ul { padding-left: 1.1em; }
.bs-card li { margin: 3px 0; }
.send-bar { padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; }

/* 🔔 중요 알림 (js/hub/intake.js) — 관리 대시보드 오른쪽 위 맨 끝, 명부에 연동할 때까지 붉게 깜빡임 */
.in-bell { position: relative; font-size: 16px; }
.in-bell.on { background: var(--alert-bg); border-color: var(--alert-line); color: var(--alert); animation: in-pulse 1.6s ease-in-out infinite; }
.in-cnt { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--alert); color: #fff; font: 700 11px/18px var(--mono); }
@keyframes in-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--alert-line); } 50% { box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .in-bell.on { animation: none; } }
.in-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border: 1px solid var(--alert-line); background: var(--alert-bg); border-radius: var(--r); color: var(--ink, inherit); }
.in-list { padding: 0; margin: 8px 0; list-style: none; }
.in-list .in-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; display: grid; gap: 6px; }

/* 근로계약서(단시간) 미리보기 — js/senior/claim-docs.js */
.ct-doc { position: relative; background: #fff; color: #111; border: 1px solid var(--line); border-radius: 8px; padding: 22px 26px; margin-top: 10px; line-height: 1.6; }
.ct-title { text-align: center; font-size: 19px; margin: 0 0 10px; } .ct-title small { display: block; font-size: 13px; font-weight: 500; color: #555; }
.ct-list { padding-left: 20px; } .ct-list li { margin: 6px 0; }
.ct-table { border-collapse: collapse; margin: 6px 0; width: 100%; max-width: 520px; } .ct-table th, .ct-table td { border: 1px solid #999; padding: 3px 6px; text-align: center; font-size: 13px; background: #fff; color: #111; }
.ct-note { color: #555; font-size: 12px; } .ct-date { text-align: center; margin-top: 16px; }
.ct-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; font-size: 14px; }
.ct-mark { position: absolute; top: 12px; right: 14px; border: 2px solid #c62828; color: #c62828; padding: 2px 8px; font-weight: 700; transform: rotate(6deg); font-size: 13px; }
.ct-check { margin-top: 10px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface); }
.ct-check ul { margin: 6px 0 0; padding-left: 18px; }
.alert-text { color: var(--alert); }
.promo-prev { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; background: #fff; color: #111; max-height: 420px; overflow: auto; }
/* MOU 안내 보내기 — 한 번에 하는 주 버튼 + 나머지는 '더 보기' */
.or-go { align-items: center; gap: 10px; margin-top: 8px; }
.btn.lg { padding: 11px 22px; font-size: 16px; }
.or-more { margin-top: 6px; }
.or-more > summary { cursor: pointer; color: var(--muted); }
tr.or-row:hover td { background: var(--sunk); }
tr.or-row.on td { background: var(--brand-soft); }
.or-msg { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--warn-soft, #fff4e5); color: var(--warn, #9a5b00); font-weight: 600; }
.or-msg.ok { background: var(--brand-soft); color: var(--brand); }
label.or-need { outline: 2px solid var(--warn, #d97706); outline-offset: 3px; border-radius: 6px; }
/* 홍보 메일 — 메일 쓰기 화면처럼(받는 사람·제목·본문 편집기), 보낸 리드는 파란 바탕(신청접수로 넘어가면 원래대로) */
.pm-compose { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: var(--surface); }
.pm-row { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.pm-row label { flex: 0 0 64px; font-size: 13px; color: var(--muted); }
.pm-row input { flex: 1; border: 0; padding: 6px 0; font-size: 14px; background: transparent; }
.pm-row input:focus { outline: none; }
.pm-tools { display: flex; gap: 4px; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--sunk); flex-wrap: wrap; }
.pm-editor { min-height: 320px; max-height: 52vh; overflow: auto; padding: 14px 16px; background: #fff; color: #111; outline: none; }
.pm-editor img { max-width: 100%; height: auto; }
.pm-compose + label, .pm-compose ~ .tiny { margin-top: 4px; }
.leadcard.promoed { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 35%, transparent); }
tr.pm-sent td { background: var(--info-bg); }
/* 참여단계 게시판 · 단계 수정 · 진행단계 검토표 */
.stageboard td { vertical-align: middle; }
.stageboard tr.st-supplement td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.stageboard tr.st-rejected td:first-child { box-shadow: inset 3px 0 0 var(--alert); }
.linkbtn { background: none; border: 0; padding: 0; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.linkbtn:hover { text-decoration: underline; }
.stage-opts { display: grid; gap: 8px; margin: 10px 0; }
.stage-opts .btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 14px; white-space: normal; }
.stage-opts .btn .small { font-weight: 400; opacity: .85; }
.reviewtbl td { vertical-align: top; }
.reviewtbl .rdcell select { margin-top: 4px; font-size: 12px; }
.reviewtbl .rdcell.late { background: var(--alert-bg); }
.warn-text { color: var(--warn); }
.pm-text { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 12px 14px; font: 14px/1.7 inherit; resize: vertical; min-height: 280px; background: #fff; color: #111; box-sizing: border-box; }
.nowrap { white-space: nowrap; }
.stageboard td.reason { max-width: 280px; white-space: normal; }
.stageboard td.reason .linkbtn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tok { display: inline-block; padding: 0 6px; margin: 0 1px; border-radius: 6px; background: var(--info-bg); color: var(--info); font-weight: 700; font-size: .92em; }
/* 기업 관리 시트(#sheet/…) — 청년도약 관리판 대시보드 꼴 */
.sheet-head h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sheet-kv { margin-top: 6px; }
.sh-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sh-alerts li { font-size: 14px; }
.sh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.sh-kpis .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.sh-kpis .kpi span { font-size: 13px; color: var(--muted); }
.sh-kpis .kpi b { font-size: 26px; font-family: var(--mono, monospace); }
.sh-kpis .kpi small { font-size: 12px; color: var(--muted); min-height: 1em; }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .sheet-grid, .sh-kpis { grid-template-columns: 1fr; } }
.sh-calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 18px; }
.calgrid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calgrid th { font-size: 12px; color: var(--muted); padding: 4px; text-align: left; }
.calgrid th:first-child { color: var(--alert); }
.calgrid td { border: 1px solid var(--line); height: 82px; vertical-align: top; padding: 4px; cursor: pointer; overflow: hidden; }
.calgrid td.empty { background: var(--sunk); cursor: default; }
.calgrid td.today .dn { background: var(--brand); color: var(--on-brand, #fff); border-radius: 10px; padding: 0 7px; }
.calgrid td.sel { outline: 2px solid var(--brand); outline-offset: -2px; }
.calgrid .dn { font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 2px; }
.cev { display: block; font-size: 11px; line-height: 1.35; padding: 1px 5px; border-radius: 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--info-bg); color: var(--info); }
p .cev { display: inline-block; }
.cev.due { background: var(--warn-bg); color: var(--warn); }
.cev.todo { background: #fff0d6; color: #8a5300; }
.cev.late { background: var(--alert-bg); color: var(--alert); font-weight: 700; }
.cev.log { background: var(--sunk); color: var(--muted); }
.cev.done { background: var(--ok-bg); color: var(--ok); text-decoration: line-through; opacity: .8; }
.sh-day { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; font-size: 14px; }
.sh-day li.done { opacity: .6; }
.sh-add { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.sh-add #nText { grid-column: 1 / -1; min-width: 0; }
.sh-add input, .sh-add select { min-width: 0; }
.sh-notes tr.done td { opacity: .55; }
.sh-notes tr.done td:nth-child(4) { text-decoration: line-through; }

.tabs .tabs-act { margin-left: auto; align-self: center; white-space: nowrap; }
/* 홍보 메일 첨부 */
.pm-atts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.pm-att { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; background: var(--sunk); }
.pm-att.def { border-color: color-mix(in srgb, var(--info) 40%, transparent); background: var(--info-bg); }
.pm-att button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0 6px; }

/* 기업 시트 · 근로자 단계 — 사업별 색: 현장실습 훈련(청록) / 취업 지원(보라) */
.pill.prog-senior { background: var(--brand-soft); color: var(--brand); }
.pill.prog-employ { background: var(--y25-bg); color: var(--y25); }
.wst-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 8px; flex-wrap: wrap; }
.wst-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.wst-tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.wst-tab .cnt { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--sunk); font-size: .8em; text-align: center; }
.wst-tab.on .cnt { background: var(--brand-soft); }
.wst-prog { margin: 0 0 8px; }
.btn.prog-btn.prog-senior { border-color: var(--brand); }
.btn.prog-btn.prog-employ { border-color: var(--y25); }
.btn.prog-btn.prog-employ.primary { background: var(--y25); color: var(--on-brand); }
.wsttbl tr.wrow td:first-child { border-left: 4px solid transparent; }
.wsttbl tr.wrow.prog-senior td:first-child { border-left-color: var(--brand); }
.wsttbl tr.wrow.prog-employ td:first-child { border-left-color: var(--y25); }
.wsttbl tr.wrow.prog-employ { background: color-mix(in srgb, var(--y25-bg) 55%, transparent); }
.wsttbl td.nowrap { white-space: nowrap; }

/* 📞 대표번호 찾기 (js/senior/phone.js) */
.linkbtn[data-phone] { color: var(--brand); font-weight: 600; }
dialog.phone-dlg { width: min(620px, 100% - 24px); }
.phone-box { padding: 16px 18px; display: grid; gap: 10px; }
.phone-head { display: flex; justify-content: space-between; align-items: center; }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.phone-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; flex-wrap: wrap; }
.phone-act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.phone-no { font-family: var(--mono); }
.pill.need-contact { background: var(--warn-bg); color: var(--warn); }

/* 기업 서류 도착 알림 · 월별 서류 제출/미제출 · 1차 검토(규칙 점검) 표시 */
.rq-inbox { border-left: 4px solid var(--brand); }
.rq-inbox .rq-in { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.rq-inbox .rq-in.warn { background: var(--warn-bg); }
.rq-inbox .pill { margin-left: 4px; }
.miss-text { color: var(--alert, #c62828); font-weight: 700; }
.ok-text { color: var(--ok, #1b7f4b); }
.pre-out { margin-top: 8px; }
.pre-grp { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.pre-grp.bad { border-left-color: #c62828; } .pre-grp.check { border-left-color: #e0a800; } .pre-grp.ok { border-left-color: #1b7f4b; }
.pre-grp h4 { margin: 0 0 4px; } .pre-part h5 { margin: 8px 0 2px; font-size: .95em; }
.pre-items li { padding: 2px 4px; margin: 2px 0; border-radius: 4px; }
.pre-bad { color: #c62828; font-weight: 700; }
.pre-check { background: #fff3a3; color: #222; border-radius: 3px; padding: 0 3px; }
li.pre-check { background: #fff3a3; color: #222; }
.pre-ok { color: var(--muted); }
/* 디딤돌 명함 — 설정 미리보기 · 보내기 창 */
.tabs .tabs-act2 { align-self: center; white-space: nowrap; margin-left: 6px; }
.card-thumb { width: 150px; max-height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.card-send { display: grid; gap: 10px; }
.card-send .card-img { max-width: 360px; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; justify-self: center; }

/* 참여(홍보) 게시판 — 신규 · 홍보 두 단계 */
.stage-tabs { align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.lead-board td { vertical-align: top; }
.lead-board b.click { color: var(--brand, #1d4ed8); text-decoration: underline; text-underline-offset: 3px; }
.lead-board tr.lv.bad td { background: #fff5f5; }
.pm-each { display: block; margin: 8px 0 4px; padding: 8px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #f8fafc; }
.sh-add.wide { grid-template-columns: auto auto 1fr auto; border-top: 0; padding-top: 0; margin-bottom: 8px; }
.sh-add.wide #nText { grid-column: auto; }
@media (max-width: 720px) { .sh-add.wide { grid-template-columns: 1fr auto; } .sh-add.wide #nText { grid-column: 1 / -1; } }
.ws-hit { color: #0f766e; }
.ws-hit b { background: #fef9c3; padding: 0 2px; border-radius: 3px; }
