/* ════════════════════════════════════════
   투표 탭·창 — public/css/office-vote.css  (2026-10-26 · office-vote*.js)
   색은 교단 CI(Denim #2F557F) 기준. 내가 고른 항목·막대는 Denim, 마감은 회색.
════════════════════════════════════════ */
.office-vote-root { flex: 1; min-height: 0; overflow-y: auto; }
.ov-wrap { max-width: 760px; margin: 0 auto; padding: 4px 4px 24px; }
.ov-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ov-title { flex: 1; margin: 0; font-size: 17px; font-weight: 800; color: #1f2a37; }
.ov-head .btn i { margin-right: 4px; }
.ov-sec { font-size: 12.5px; font-weight: 700; color: #2F557F; margin: 14px 2px 6px; }
.ov-empty { text-align: center; color: #98a2af; padding: 40px 0; font-size: 13.5px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.ov-card { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 12px 14px;
  margin-bottom: 8px; cursor: pointer; font-family: inherit; }
.ov-card:hover { border-color: #b9c8da; background: #fbfcfe; }
.ov-card.is-closed { background: #f8f9fb; }
.ov-card-top { display: flex; align-items: center; gap: 8px; }
.ov-card-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; color: #1f2a37; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-card.is-closed .ov-card-title { color: #6b7684; }
.ov-card-sub { margin-top: 4px; font-size: 12px; color: #8a94a1; }
.ov-chip { font-size: 11px; font-weight: 700; border-radius: 8px; padding: 1px 7px; white-space: nowrap; }
.ov-chip-notice { background: #FFF3DC; color: #B26A00; }
.ov-state { font-size: 11.5px; font-weight: 700; border-radius: 10px; padding: 2px 9px; white-space: nowrap; }
.ov-state.is-todo { background: #2F557F; color: #fff; }
.ov-state.is-voted { background: #E8EEF5; color: #2F557F; }
.ov-state.is-done { background: #EEF0F3; color: #667085; }

/* 만들기 창 */
.ov-form { min-width: 0; }
.ov-kinds { display: flex; gap: 6px; margin-bottom: 10px; }
.ov-kind { border: 0; border-radius: 16px; padding: 6px 16px; background: #eef0f3; color: #4b5563; font-family: inherit; font-size: 13px; cursor: pointer; }
.ov-kind.is-on { background: #1f2a37; color: #fff; font-weight: 700; }
.ov-title-in { font-weight: 700; margin-bottom: 8px; }
.ov-opts { display: flex; flex-direction: column; gap: 6px; }
.ov-opt-add { width: 100%; margin: 6px 0 10px; border: 1px solid #dfe5ec; background: #f6f7f9; border-radius: 8px; padding: 6px 0; font-size: 18px; color: #6b7684; cursor: pointer; }
.ov-flags, .ov-end { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid #eef1f4; }
.ov-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #1f2a37; cursor: pointer; }
.ov-check input { width: 17px; height: 17px; accent-color: #2F557F; }
.ov-end-row { display: flex; gap: 6px; }
.ov-end-row .form-input { flex: 1; min-width: 0; }

/* 자세히 창 */
.ov-detail { max-height: 64vh; overflow-y: auto; padding: 2px 2px 4px; }
.ov-d-title { font-size: 16px; font-weight: 800; color: #1f2a37; word-break: break-word; }
.ov-d-sub { margin-top: 3px; font-size: 12px; color: #8a94a1; }
.ov-d-end { margin-top: 6px; font-size: 12.5px; color: #2F557F; font-weight: 600; }
.ov-d-end.is-done { color: #667085; }
.ov-d-opts { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 8px; }
.ov-d-opt { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #e3e8ef; border-radius: 10px; padding: 9px 12px; cursor: pointer; }
.ov-d-opt.is-mine { border-color: #2F557F; background: #f3f7fb; }
.ov-d-opt input { margin-top: 3px; width: 17px; height: 17px; accent-color: #2F557F; flex-shrink: 0; }
.ov-d-mid { flex: 1; min-width: 0; }
.ov-d-label { font-size: 14px; color: #1f2a37; word-break: break-word; }
.ov-d-count { font-size: 12.5px; font-weight: 700; color: #2F557F; white-space: nowrap; margin-top: 1px; }
.ov-bar { height: 6px; border-radius: 3px; background: #eef1f4; margin-top: 6px; overflow: hidden; }
.ov-bar-fill { height: 100%; background: #2F557F; border-radius: 3px; }
.ov-d-who { margin-top: 4px; font-size: 12px; color: #6b7684; word-break: keep-all; }
.ov-d-add { display: flex; gap: 6px; margin-bottom: 8px; }
.ov-d-add .form-input { flex: 1; min-width: 0; }
.ov-d-count-line { font-size: 12.5px; color: #6b7684; }
.ov-d-non { margin-top: 6px; font-size: 12.5px; color: #4b5563; }
.ov-d-non summary { cursor: pointer; }
.ov-d-manage { display: flex; gap: 6px; justify-content: flex-end; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f4; }

/* 카드 배지 · 결과 창(2026-11-21, office-vote-result.js) */
.ov-state.is-live { background: #E6F4EA; color: #0f7a3d; }
.ov-result-btn { font-size: 12px; font-weight: 700; border-radius: 12px; padding: 3px 11px; white-space: nowrap; background: #2F557F; color: #fff; cursor: pointer; }
.ov-result-btn:hover, .ov-result-btn:focus { background: #234466; outline: none; }
.ovr { max-height: 66vh; overflow-y: auto; }
.ovr-q { font-size: 17px; font-weight: 800; color: #1f2a37; word-break: break-word; }
.ovr-meta { margin-top: 4px; font-size: 12.5px; color: #8a94a1; }
.ovr-win { margin: 14px 0; padding: 16px 12px; border-radius: 12px; background: #f3f7fb; text-align: center; }
.ovr-rank { display: inline-block; background: #2F557F; color: #fff; font-weight: 800; font-size: 13px; border-radius: 12px; padding: 3px 12px; margin-bottom: 8px; }
.ovr-win-label { font-size: 19px; font-weight: 800; color: #2F557F; margin: 2px 0; word-break: break-word; }
.ovr-win-n { margin-top: 4px; font-size: 13px; color: #4b5563; }
.ovr-none { font-size: 14px; color: #8a94a1; }
.ovr-list { display: flex; flex-direction: column; gap: 10px; }
.ovr-row { padding: 8px 10px; border: 1px solid #e3e8ef; border-radius: 10px; }
.ovr-row.is-top { border-color: #2F557F; background: #fbfdff; }
.ovr-row-head { display: flex; align-items: baseline; gap: 8px; }
.ovr-label { flex: 1; min-width: 0; font-size: 14px; color: #1f2a37; word-break: break-word; }
.ovr-row.is-top .ovr-label { font-weight: 700; }
.ovr-n { font-size: 12.5px; font-weight: 700; color: #2F557F; white-space: nowrap; }
