/* =============================================================================
   산업안전보건위원회 — 화면 스타일 (2026-10-09)   접두사 .osh-   (공용 .hs-* 는 css/hs.css, 인쇄 서식은 css/osh-form.css)
   앱의 Apple 풍 토큰(--mint · --line · --surface-2 · --ink …)을 그대로 쓰고 배치·상태 색만 정한다.
   ========================================================================== */
.osh-mtitle { font-size: 15.5px; }
.osh-msub { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.osh-mine { margin-left: auto; }
.osh-mcard .hs-item-nums { align-items: center; }
.osh-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.osh-todo { border-color: var(--mint); background: var(--mint-tint); }
.osh-todo-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(0, 0, 0, .06); flex-wrap: wrap; }
.osh-todo-row:first-of-type { border-top: 0; }
.osh-todo-row > div { min-width: 0; flex: 1 1 200px; }

/* ---- 위원 구성 ---- */
.osh-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.osh-side .hs-card-h .osh-addm { margin-left: auto; }
.osh-mrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.osh-mrow:last-child { border-bottom: 0; }
.osh-mrow.is-off { opacity: .6; }
.osh-mmain { min-width: 0; flex: 1 1 180px; }
.osh-macts { display: flex; gap: 6px; flex-wrap: wrap; }
.osh-aprev { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.osh-apboxes { display: flex; gap: 6px; flex-wrap: wrap; }
.osh-apbox { min-width: 74px; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; text-align: center; background: #fff; }
.osh-aph { background: var(--surface-2); font-size: 12px; font-weight: 800; padding: 3px 6px; border-bottom: 1px solid var(--line-strong); }
.osh-apb { font-size: 13px; padding: 8px 6px; min-height: 34px; }
.osh-apb i { color: var(--ink-2); font-size: 12px; }
.osh-seg { display: flex; gap: 0; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; margin: 0 0 12px; }
.osh-seg button { flex: 1 1 0; min-height: 44px; border: 0; background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; padding: 8px 6px; cursor: pointer; border-left: 1px solid var(--line-strong); }
.osh-seg button:first-child { border-left: 0; }
.osh-seg button.is-on { background: var(--mint); color: var(--black); }
.osh-seg button:disabled { opacity: .5; cursor: not-allowed; }
.osh-seg-v { flex-direction: column; }
.osh-seg-v button { border-left: 0; border-top: 1px solid var(--line-strong); text-align: left; padding: 10px 14px; }
.osh-seg-v button:first-child { border-top: 0; }
.osh-checks { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 10px; }
.osh-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 40px; cursor: pointer; }
.osh-chk input { width: 20px; height: 20px; flex: 0 0 auto; }
.osh-chk-top { margin-top: 12px; }
.osh-aprow { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px; align-items: start; margin: 0 0 8px; }
.osh-aprow .osh-aplabel { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 10px; font: inherit; width: 100%; }
.osh-aprow .hs-staff { margin: 0; }
.osh-aprow .btn { min-height: 44px; }

/* ---- 회의 등록 ---- */
.osh-form { max-width: 820px; }
.osh-agrow { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.osh-agrow:first-child { border-top: 0; }
.osh-agn { width: 28px; height: 28px; border-radius: 50%; background: var(--mint-tint); color: var(--mint-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 6px; }
.osh-agbody { min-width: 0; }
.osh-agtop { display: grid; grid-template-columns: 110px 1fr; gap: 8px; margin-bottom: 8px; }
.osh-agtop select, .osh-agtop input, .osh-agdesc { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 10px; font: inherit; background: #fff; color: var(--ink); }
.osh-agdesc { padding: 8px 10px; resize: vertical; margin-bottom: 6px; }

/* ---- 회의 상세 ---- */
.osh-head { padding: 16px; }
.osh-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.osh-title h2 { margin: 0; font-size: 21px; line-height: 1.3; min-width: 0; flex: 1 1 240px; }
.osh-title > span { display: flex; gap: 6px; flex-wrap: wrap; }
.osh-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 16px; margin: 12px 0; }
.osh-dl > div { min-width: 0; }
.osh-dl dt { font-size: 12px; color: var(--ink-2); margin: 0 0 1px; }
.osh-dl dd { margin: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.osh-steps { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; gap: 4px; align-items: stretch; }
.osh-step { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12px; color: var(--ink-2); border-top: 3px solid var(--line-strong); padding-top: 6px; }
.osh-step i { display: none; }
.osh-step.is-done { border-top-color: var(--mint); color: var(--ink); }
.osh-step.is-now { border-top-color: var(--mint-ink); color: var(--mint-ink); font-weight: 800; }
.osh-step.is-cancel { border-top-color: #e5a29a; color: #a1281d; font-weight: 800; flex: 0 1 auto; padding: 6px 12px; }
.osh-actions .btn { min-height: 44px; }

/* ---- 내 참석 카드(폰) ---- */
.osh-my { border: 2px solid var(--mint); background: #fbfefe; }
.osh-my-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; margin-bottom: 6px; }
.osh-bigbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.osh-big { min-height: 60px; font-size: 17px; font-weight: 800; }
.osh-okbox { margin-top: 8px; padding: 12px; border-radius: 10px; background: #e6f6ec; color: #17653a; font-weight: 700; font-size: 14.5px; }
.osh-okbox.is-abs { background: #fdecea; color: #a1281d; }
.osh-mysig { margin-top: 8px; border: 1px dashed var(--line-strong); border-radius: 10px; background: #fff; padding: 6px; text-align: center; }
.osh-my .osh-sig, .osh-board .osh-sig, .osh-appr .osh-sig { display: inline-block; max-height: 52px; max-width: 100%; object-fit: contain; vertical-align: middle; }
.osh-my .osh-mysig .osh-sig { max-height: 80px; }
.osh-proxy-task { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.osh-proxy-task .btn { min-height: 48px; }
.osh-attpage { max-width: 560px; margin: 0 auto; }
.osh-aglist { margin: 0; padding-left: 20px; }
.osh-aglist li { margin: 4px 0; }

/* ---- 참석 현황판 ---- */
.osh-bsides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.osh-bsh { font-weight: 800; font-size: 14.5px; padding: 8px 10px; background: var(--surface-2); border-radius: 8px 8px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.osh-btable { border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: #fff; }
.osh-btr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 76px; gap: 6px 8px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 14px; }
.osh-btr:first-child { border-top: 0; }
.osh-bth { background: #fafafa; font-size: 12px; color: var(--ink-2); font-weight: 700; padding: 5px 10px; }
.osh-bn { color: var(--ink-2); font-size: 12.5px; }
.osh-bwho { min-width: 0; overflow-wrap: anywhere; }
.osh-bwho b { margin-right: 4px; }
.osh-bwho em { display: block; font-style: normal; font-size: 12px; color: var(--ink-2); }
.osh-ext { font-style: normal; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 4px; }
.osh-bsig { text-align: center; min-height: 20px; }
.osh-bsig small { color: var(--ink-2); }
.osh-bacts { grid-column: 2 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.osh-bacts .btn { min-height: 40px; }
.osh-abst td { vertical-align: middle; }

/* ---- 안건 ---- */
.osh-ag { padding: 12px 0; border-top: 1px solid var(--line); }
.osh-ag:first-of-type { border-top: 0; }
.osh-ag-h { display: flex; gap: 10px; align-items: flex-start; }
.osh-ag .osh-agn { margin-top: 0; flex: 0 0 28px; }
.osh-ag-t { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.5; }
.osh-ag-a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.osh-ag-a .btn { min-height: 40px; }
.osh-ag-d { margin: 6px 0 0 38px; font-size: 14px; color: var(--ink); line-height: 1.55; }
.osh-ag-op { margin: 8px 0 0 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.osh-ag-op > div, .osh-ag-dec { background: var(--surface-2); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.osh-ag-op span, .osh-ag-dec span { display: block; font-size: 12px; font-weight: 800; color: var(--ink-2); margin-bottom: 2px; }
.osh-ag-dec { margin: 8px 0 0 38px; }
.osh-flinks { margin: 8px 0 0 38px; display: flex; flex-wrap: wrap; gap: 6px; }
.osh-flink { display: inline-block; max-width: 100%; padding: 6px 12px; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--mint-ink); text-decoration: none; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osh-mat-b { margin-bottom: 14px; }

/* ---- 회의록 · 결재 ---- */
.osh-min-p { margin: 0 0 12px; }
.osh-min-p span { display: block; font-weight: 800; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.osh-min-p div { line-height: 1.65; font-size: 14.5px; overflow-wrap: anywhere; }
.osh-min textarea { width: 100%; }
.osh-stamps { display: flex; gap: 8px; flex-wrap: wrap; }
.osh-apst { width: 118px; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; text-align: center; background: #fff; }
.osh-apst.is-ok { border-color: #86cda0; }
.osh-st-h { background: var(--surface-2); font-weight: 800; font-size: 13px; padding: 5px 4px; border-bottom: 1px solid var(--line); }
.osh-st-b { height: 62px; display: flex; align-items: center; justify-content: center; padding: 2px; }
.osh-st-b i, .osh-st-name { font-size: 12.5px; color: var(--ink-2); }
.osh-st-d { font-size: 12px; color: var(--ink-2); padding: 3px 0 5px; min-height: 22px; }
.osh-st-btn { margin: 0 6px 8px; width: calc(100% - 12px); }
.osh-log summary { cursor: pointer; }

/* ---- 의견수렴 ---- */
.osh-op .osh-opsnip { margin-top: 6px; font-size: 13.5px; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.osh-opd b { font-size: 16px; }
.osh-opc { margin: 10px 0; padding: 10px 12px; background: var(--surface-2); border-radius: 8px; line-height: 1.6; font-size: 14.5px; overflow-wrap: anywhere; }
.hs-subtabs button i { font-style: normal; opacity: .8; margin-left: 2px; }
.osh-oag { margin-top: 10px; padding: 12px; border: 1px solid var(--mint); border-radius: 10px; background: var(--mint-tint); }
.osh-hcard .hs-btnrow { margin-bottom: 0; }

/* ---- 좁은 화면 ---- */
@media (max-width: 900px) {
  .osh-sides, .osh-bsides { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .osh-ag-op { grid-template-columns: 1fr; margin-left: 0; }
  .osh-ag-d, .osh-ag-dec, .osh-flinks { margin-left: 0; }
  .osh-ag-h { flex-wrap: wrap; }
  .osh-ag-a { width: 100%; justify-content: flex-start; }
  .osh-aprow { grid-template-columns: 1fr auto; }
  .osh-aprow .osh-apstaff { grid-column: 1 / -1; order: 3; }
  .osh-agtop { grid-template-columns: 1fr; }
  .osh-title h2 { font-size: 19px; }
  .osh-step { font-size: 12px; word-break: keep-all; overflow-wrap: anywhere; }
  .osh-actions .btn { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 430px) {
  .osh-btr { grid-template-columns: 24px minmax(0, 1fr) 64px; }
  .osh-btr .osh-bst { grid-column: 2 / -1; grid-row: 2; }
  .osh-btr .osh-bsig { grid-column: 3; grid-row: 1; }
  .osh-btr .osh-bacts { grid-column: 1 / -1; grid-row: 3; }
  .osh-bth { display: none; }
  .osh-agrow { grid-template-columns: 26px 1fr; }
  .osh-agrow .osh-agrm { grid-column: 2; justify-self: end; }
  .osh-bigbtns { grid-template-columns: 1fr; }
  .osh-steps { flex-wrap: wrap; row-gap: 8px; }
  .osh-step { flex: 1 1 calc(33.33% - 4px); }
  .osh-apst { width: calc(50% - 4px); }
}
.osh-mtitle { word-break: keep-all; overflow-wrap: anywhere; }
.hs-list.osh-list, #oshList.hs-list { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
@media (max-width: 430px) { .hs-list.osh-list, #oshList.hs-list { grid-template-columns: minmax(0, 1fr); } }

.osh-title h2 { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 430px) { body.hs-mod-hs-osh .hs-tabs a { padding: 11px 6px; font-size: 12.5px; } body.hs-mod-hs-osh .hs-tabs { gap: 0; } }

/* ---- 2차 수정: 접근 안내 · 검토 요청 전 확인 목록 · 등록 때 통보 체크 ---- */
.osh-denied { display: block; }
.osh-denied b { display: block; font-size: 15px; margin-bottom: 4px; }
.osh-miss { margin: 6px 0 0 18px; padding: 0; font-size: 14px; line-height: 1.6; }
.osh-miss-b { margin-top: 10px; }
.osh-wait { margin-top: 8px; }
.osh-notify { display: flex; margin-top: 4px; font-weight: 700; }
.osh-notify-h { margin: 0 0 8px 30px; }
