/* ════════════════════════════════════════
   행협/행위 의사록 — minutes.css
   기존 공통 스타일(main.css)을 해치지 않도록 .mn- 접두 클래스만 사용
════════════════════════════════════════ */
/* 사이드바 대메뉴 좌측 색상 바(다른 그룹과 동일 방식) */
#sbg-minutes .sb-group-header{border-left-color:#ec4899}
#sbg-minutes .sb-group-header i:first-child{color:#f472b6}
#sbg-minutes.open .sb-group-header{background:rgba(236,72,153,0.15)}
#sbg-minutes .sb-group-header:hover{background:rgba(236,72,153,0.1)}

.mn-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-bottom:16px;
  padding:14px;background:#f7f9fc;border:1px solid #e3e8f0;border-radius:10px}
.mn-field{display:flex;flex-direction:column;gap:4px}
.mn-field label{font-size:12px;color:#5a6b85;font-weight:600}
.mn-field input,.mn-field select{padding:7px 10px;border:1px solid #cdd6e4;border-radius:7px;font-size:14px;background:#fff}
.mn-field input.mn-q{min-width:240px}
.mn-btn{padding:8px 16px;border:none;border-radius:7px;background:#1f4e79;color:#fff;font-size:14px;
  font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.mn-btn:hover{background:#163a5c}
.mn-btn.mn-sub{background:#6c7a91}
.mn-btn.mn-sub:hover{background:#566073}
.mn-btn.mn-danger{background:#c0392b}
.mn-btn.mn-danger:hover{background:#992d22}
.mn-phrase{display:flex;align-items:center;gap:6px;font-size:13px;color:#33425a;white-space:nowrap;padding:7px 0;cursor:pointer;user-select:none}
.mn-phrase input{width:15px;height:15px;cursor:pointer}
.mn-count{margin:6px 2px 12px;color:#5a6b85;font-size:13px}
.mn-card{border:1px solid #e3e8f0;border-radius:10px;padding:14px 16px;margin-bottom:12px;background:#fff}
.mn-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}
.mn-no{font-weight:700;color:#1f4e79;font-size:15px}
.mn-dept{background:#e9f0fa;color:#1f4e79;font-weight:700;font-size:12px;padding:2px 9px;border-radius:20px}
.mn-cm{font-weight:700;font-size:11px;padding:2px 9px;border-radius:20px;white-space:nowrap}
.mn-cm-wi{background:#e0e7ff;color:#3730a3}   /* 행정위원회 - 인디고 */
.mn-cm-hy{background:#fce7f3;color:#9d174d}   /* 행정협의회 - 핑크 */
.mn-cm-etc{background:#e5e7eb;color:#374151}
.mn-title{font-weight:700;font-size:15px;color:#1f2a3a}
.mn-meta{color:#7a8aa0;font-size:12px;margin-left:auto}
.mn-badge-temp{background:#fbeaea;color:#c0392b;font-weight:700;font-size:11px;padding:2px 8px;border-radius:20px}
.mn-content{white-space:pre-wrap;font-size:13.5px;color:#333;line-height:1.6;
  border-top:1px dashed #e3e8f0;padding-top:8px;margin-top:4px}
.mn-empty{padding:40px;text-align:center;color:#90a0b6}
.mn-year-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.mn-year-tab{padding:6px 14px;border:1px solid #cdd6e4;background:#fff;border-radius:20px;cursor:pointer;font-size:13px}
.mn-year-tab.active{background:#1f4e79;color:#fff;border-color:#1f4e79}
.mn-meeting{border:1px solid #e3e8f0;border-radius:10px;margin-bottom:10px;background:#fff;overflow:hidden}
.mn-meeting-head{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;background:#f7f9fc}
.mn-meeting-head:hover{background:#eef3fa}
.mn-meeting-body{padding:10px 14px;display:none}
.mn-meeting.open .mn-meeting-body{display:block}

/* 목록 화면: 위원회·연도 고정 + 회의 영역만 스크롤, 회의 날짜 헤더는 상단 고정(sticky) */
#view-minutes-list.active{display:flex!important;flex-direction:column;height:calc(100vh - 108px);overflow:hidden}
#view-minutes-list.active > .mn-toolbar,
#view-minutes-list.active > .mn-year-tabs{flex-shrink:0}
#mn-l-meetings{flex:1;overflow-y:auto;min-height:0;padding-right:2px}
.mn-meeting{overflow:visible}             /* sticky 동작 위해 클리핑 해제 */
.mn-meeting-head{position:sticky;top:0;z-index:5;border-radius:10px 10px 0 0}
.mn-chk{width:16px;height:16px;cursor:pointer}
.mn-hl{background:#fff3a3;color:inherit;border-radius:3px;padding:0 1px;font-weight:700}
.mn-selall{display:none;align-items:center;gap:6px;margin:0 2px 12px;font-size:13px;color:#33425a;cursor:pointer;user-select:none}
.mn-selall input{width:16px;height:16px;cursor:pointer}
.mn-upload-box{max-width:560px;border:1px solid #e3e8f0;border-radius:12px;padding:22px;background:#fff}
.mn-help{font-size:12.5px;color:#7a8aa0;margin-top:6px;line-height:1.6}
.mn-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  padding:28px 16px;border:2px dashed #b9c6db;border-radius:10px;background:#f7f9fc;color:#7a8aa0;
  cursor:pointer;text-align:center;transition:border-color .15s,background .15s,color .15s}
.mn-drop:hover{border-color:#1f4e79;color:#1f4e79}
.mn-drop.drag{border-color:#1f4e79;background:#e9f0fa;color:#1f4e79}
.mn-drop i{font-size:26px}
.mn-drop #mn-u-fname{font-size:13.5px;word-break:break-all}
