@charset "UTF-8";
/* =====================================================================
   KC인트라넷 통합 스타일
   - 좌측 고정 메뉴 + 우측 본문의 2단 구조
   - 색은 CSS 변수 한 곳에서 관리한다
   ===================================================================== */

:root {
  --gw-bg:        #f4f5f7;
  --gw-panel:     #ffffff;
  --gw-line:      #e2e5ea;
  --gw-line-soft: #eef0f3;
  --gw-text:      #1f2430;
  --gw-text-sub:  #616a7a;
  --gw-muted:     #98a1b0;

  --gw-nav-bg:    #1f2937;
  --gw-nav-txt:   #c3cad6;
  --gw-nav-on:    #ffffff;
  --gw-nav-on-bg: #2f3d51;

  --gw-pri:       #1f5fbf;
  --gw-pri-dark:  #17488f;
  --gw-ok:        #1a7f4b;
  --gw-no:        #c0392b;
  --gw-warn:      #b06d0a;

  --gw-nav-w:     196px;
  --gw-radius:    8px;
  --gw-shadow:    0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Malgun Gothic", "맑은 고딕", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gw-text);
  background: var(--gw-bg);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--gw-pri); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--gw-line); margin: 16px 0; }

/* ------------------------------------------------------- 좌측 메뉴 */
.gw-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--gw-nav-w);
  background: var(--gw-nav-bg);
  color: var(--gw-nav-txt);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 40;
}

/* .gw-brand / .gw-brand-txt / .gw-brand-row 는 아래 "좌측 메뉴 최소화" 절에 있다.
   (로고 줄과 고정핀이 한 묶음이라 거기서 함께 다룬다) */

/* 브랜드 마크 : 대주·KC 로고 (심볼 + 글자).
   "대주·KC" 글자가 읽히려면 크기가 필요해 자리를 넉넉히 잡았다.
   로고 원본이 짙은 초록이라 어두운 메뉴 위에 그냥 얹으면 묻히므로
   원본 아트워크대로 흰 바탕에 올려 브랜드 색을 그대로 살린다. */
.gw-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  padding: 4px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.gw-brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 로그인 화면 : 흰 카드 위라 칩 배경이 필요 없다. 로고만 보이게 둔다 */
.gw-brand-mark.lg {
  width: 64px; height: 64px; padding: 0;
  background: none; border-radius: 0;
}
/* 로그인 카드의 로고는 크게 (52px 의 두 배).
   카드 폭이 320px 이므로 이보다 더 키우면 좌우가 답답해진다. */
.gw-login .gw-brand-mark.lg { width: 104px; height: 104px; }

/* 대분류 : 눌러서 접었다 폈다 한다 */
.gw-cat { border-bottom: 1px solid rgba(255, 255, 255, .05); }
.gw-cat-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 11px 14px;
  background: none; border: 0; border-left: 3px solid transparent;
  color: #e3e8f0; font: inherit; font-size: 12.5px; font-weight: 700;
  text-align: left; cursor: pointer;
}
.gw-cat-btn:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.gw-cat.open > .gw-cat-btn { color: #fff; }
.gw-cat-btn > svg { width: 19px; height: 19px; flex: none; opacity: .9; }
.gw-cat-nm { flex: 1; min-width: 0; }
.gw-cat-caret {
  width: 14px; height: 14px; flex: none; opacity: .55;
  transition: transform .16s ease;
}
.gw-cat.open .gw-cat-caret { transform: rotate(90deg); opacity: .8; }

.gw-cat-sub { padding: 2px 0 7px; background: rgba(0, 0, 0, .14); }

/* 대분류 안을 한 번 더 나누는 소제목 (예: 안전작업허가서) */
.gw-sub-sep {
  padding: 9px 10px 4px 28px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; color: #7d8798;
}

.gw-nav-item {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px 28px;
  color: var(--gw-nav-txt); text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 12px; white-space: nowrap;
}
.gw-nav-item:hover { background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.gw-nav-item.on {
  background: var(--gw-nav-on-bg); color: var(--gw-nav-on);
  border-left-color: var(--gw-pri); font-weight: 600;
}
.gw-nav-item svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.gw-nav-item.on svg { opacity: 1; }

/* 통합 홈은 대분류 밖에 있으므로 들여쓰기를 하지 않는다 */
.gw-nav-home { padding-left: 14px; font-size: 12px; }
.gw-nav-home svg { width: 18px; height: 18px; }

.gw-nav-empty { padding: 24px 14px; font-size: 12px; color: #7d8798; line-height: 1.7; }

/* 별도 사이트 링크 (새 창) */
.gw-nav-ext { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
.gw-ext-item { padding-left: 14px; font-size: 12px; }
.gw-ext-item svg { width: 18px; height: 18px; }
.gw-ext-mark { display: inline-flex; margin-left: auto; opacity: .45; }
.gw-ext-mark svg { width: 13px; height: 13px; }
.gw-ext-item:hover .gw-ext-mark { opacity: .8; }

.gw-nav-dim { display: none; }

/* --------------------------------------------------------- 본문 틀 */
.gw-main { margin-left: var(--gw-nav-w); min-height: 100vh; display: flex; flex-direction: column; }

.gw-topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: var(--gw-panel);
  border-bottom: 1px solid var(--gw-line);
}
.gw-title { flex: 1; min-width: 0; }
.gw-title h1 { font-size: 17px; }
.gw-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--gw-text-sub); }

.gw-hamburger {
  display: none;
  width: 36px; height: 36px; padding: 6px;
  background: none; border: 1px solid var(--gw-line); border-radius: 6px;
  color: var(--gw-text); cursor: pointer;
}
.gw-hamburger svg { width: 100%; height: 100%; }

.gw-content { flex: 1; padding: 20px; }
.gw-footer {
  padding: 16px 20px; font-size: 12px; color: var(--gw-muted);
  border-top: 1px solid var(--gw-line);
}

/* --------------------------------------------------- 사용자 메뉴 */
/* 우측 상단 사용자 메뉴는 assets/css/gwuser.css 한 곳에서만 정한다.
   분석관리 · 작업요청 화면과 같은 모양이어야 하므로 여기서 손대지 말 것. */

/* ------------------------------------------------------------ 카드 */
.gw-card {
  background: var(--gw-panel);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--gw-shadow);
}
.gw-card > h2 {
  font-size: 15px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--gw-line-soft);
}
.gw-card > h2 small { font-weight: 400; color: var(--gw-text-sub); font-size: 12px; }
.gw-card-act { border-color: #cfd9e8; background: #fbfcfe; }
.gw-narrow { max-width: 480px; }
.gw-sub { font-size: 13px; margin: 16px 0 8px; color: var(--gw-text-sub); }

.gw-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.gw-col-side { min-width: 0; }

/* ---------------------------------------------------------- 모듈 */
.gw-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.gw-module h3 {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--gw-text); margin-bottom: 8px;
  padding-bottom: 7px; border-bottom: 1px solid var(--gw-line-soft);
}
.gw-module h3 svg { width: 17px; height: 17px; color: var(--gw-pri); flex: none; }
.gw-module ul { list-style: none; margin: 0; padding: 0; }
.gw-module li { margin-bottom: 2px; }
.gw-module-sep {
  padding: 10px 9px 3px; font-size: 11px; font-weight: 700;
  color: var(--gw-muted); letter-spacing: .4px;
}
.gw-module a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 6px; color: var(--gw-text); font-size: 13.5px;
}
.gw-module a:hover { background: var(--gw-bg); text-decoration: none; }
.gw-module a svg { width: 16px; height: 16px; color: var(--gw-muted); flex: none; }

/* 별도 사이트 카드 (새 창) */
.gw-ext-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gw-line-soft);
}
.gw-ext-card {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; min-width: 220px;
  background: #fafbfc; border: 1px solid var(--gw-line); border-radius: var(--gw-radius);
  color: var(--gw-text);
}
.gw-ext-card:hover { background: #fff; border-color: var(--gw-pri); text-decoration: none; }
.gw-ext-card > svg:first-child { width: 20px; height: 20px; color: var(--gw-pri); flex: none; }
.gw-ext-card > svg:last-child { width: 14px; height: 14px; color: var(--gw-muted); margin-left: auto; flex: none; }
.gw-ext-card span { display: flex; flex-direction: column; line-height: 1.3; font-size: 13.5px; font-weight: 600; }
.gw-ext-card small { font-size: 11.5px; font-weight: 400; color: var(--gw-text-sub); }

/* --------------------------------------------------------- 할 일 */
.gw-todo { list-style: none; margin: 0; padding: 0; }
.gw-todo li { border-bottom: 1px solid var(--gw-line-soft); }
.gw-todo li:last-child { border-bottom: 0; }
.gw-todo a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4px; color: var(--gw-text);
}
.gw-todo a:hover { text-decoration: none; color: var(--gw-pri); }
.gw-todo-nm { font-size: 13.5px; }

.gw-badge {
  display: inline-block; min-width: 20px; padding: 1px 7px;
  background: var(--gw-no); color: #fff;
  border-radius: 10px; font-size: 11.5px; font-weight: 700; text-align: center;
}

/* ------------------------------------------------------------ 표 */
.gw-table-wrap { overflow-x: auto; }
.gw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gw-table th, .gw-table td {
  padding: 9px 10px; border-bottom: 1px solid var(--gw-line-soft);
  text-align: left; vertical-align: top;
}
.gw-table thead th {
  background: #fafbfc; color: var(--gw-text-sub);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  border-bottom: 1px solid var(--gw-line);
}
.gw-table tbody tr:hover { background: #fbfcfd; }
.gw-table-sm th, .gw-table-sm td { padding: 6px 8px; font-size: 12.5px; }
.gw-table-sm tbody th { color: var(--gw-text-sub); font-weight: 500; white-space: nowrap; }
.gw-td-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gw-td-title { word-break: break-all; }
.gw-td-roles { line-height: 1.9; }

.gw-empty { padding: 28px 10px; text-align: center; color: var(--gw-muted); }
.gw-count { font-size: 12.5px; color: var(--gw-text-sub); margin: 0 0 8px; }
.gw-muted { color: var(--gw-muted); }

/* -------------------------------------------------------- 페이저 */
.gw-pager { display: flex; gap: 4px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.gw-pager a, .gw-pager span {
  min-width: 30px; padding: 5px 8px; text-align: center;
  border: 1px solid var(--gw-line); border-radius: 6px; font-size: 12.5px;
  color: var(--gw-text);
}
.gw-pager a:hover { background: var(--gw-bg); text-decoration: none; }
.gw-pager .on { background: var(--gw-pri); border-color: var(--gw-pri); color: #fff; font-weight: 600; }

/* ------------------------------------------------------------ 탭 */
.gw-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--gw-line); }
.gw-tabs a {
  padding: 8px 14px; color: var(--gw-text-sub); font-size: 13.5px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.gw-tabs a:hover { text-decoration: none; color: var(--gw-text); }
.gw-tabs a.on { color: var(--gw-pri); border-bottom-color: var(--gw-pri); font-weight: 600; }

/* ---------------------------------------------------------- 입력 */
.gw-form { max-width: 100%; }
.gw-field { margin-bottom: 14px; }
.gw-field > label {
  display: block; margin-bottom: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--gw-text-sub);
}
/* 라벨을 label 대신 span 으로 쓴 화면도 같은 모양이 되게 한다 */
.gw-field > span {
  display: block; margin-bottom: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--gw-text-sub);
}
.gw-field .req { color: var(--gw-no); }

/* ---------------------------------------------------------------------
   제안 등록 서식
   종이 서식처럼 왼쪽 라벨 · 오른쪽 입력으로 줄을 나눈다.
   한 줄에 두 항목이 들어가는 자리(작성일|문서번호)가 있어 4칸 격자로 짰다.
   --------------------------------------------------------------------- */
.pro-form {
  display: grid;
  /* 라벨 · 입력 세 쌍. 짧은 항목은 한 줄에 세 개까지 들어간다 */
  grid-template-columns: 104px minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr);
  border: 1px solid var(--gw-line); border-top: 2px solid var(--gw-text);
  border-radius: 4px; overflow: hidden; background: #fff;
}
.pro-lb, .pro-fd { border-bottom: 1px solid var(--gw-line); min-width: 0; }
/* 접었을 때 확실히 사라지게 (.pro-lb 가 display:flex 라 기본 [hidden] 이 먹지 않는다) */
.pro-lb[hidden], .pro-fd[hidden] { display: none !important; }
/* 라벨은 위에 붙인다. 편집기가 든 줄은 높이가 400px 가까이 되는데
   가운데 정렬이면 라벨이 허공에 떠서 어느 칸의 이름인지 알기 어렵다. */
.pro-lb {
  display: flex; align-items: flex-start;
  padding: 13px 12px 10px;
  background: #f7f9fc; border-right: 1px solid var(--gw-line);
  font-size: 12.5px; font-weight: 600; color: var(--gw-text-sub);
  line-height: 1.4;
}
.pro-lb .req { color: var(--gw-no); margin-left: 3px; }
.pro-fd { padding: 9px 12px; }
/*
 * 라벨 하나 + 나머지 전부.
 *
 * 끝선만 -1 로 주면(grid-column-end 단독) 칸 하나짜리가 되어 줄 맨 끝에
 * 홀로 놓인다. 라벨과 입력칸 사이가 텅 비어 보이는 원인이었다.
 * 시작선을 함께 못박아야 줄 끝까지 늘어난다.
 */
.pro-fd.wide { grid-column: 2 / -1; }

/*
 * 한 줄에 두 쌍만 넣을 때, 뒤쪽 입력칸이 줄 끝까지 늘어나게 한다.
 * 시작선(4)을 반드시 함께 적는다. 끝선만 적으면 칸 하나짜리가 되어
 * 줄 맨 끝에 홀로 놓이고 라벨과의 사이가 텅 빈다.
 */
.pro-fd.tail { grid-column: 4 / -1; }

/*
 * 두 항목이 줄 전체를 정확히 반씩 나눠 쓰는 묶음. (유형효과 · 무형효과)
 *
 * 바깥 격자는 라벨 칸이 세 개라 줄을 반으로 자를 수 없다.
 * 그래서 줄 하나를 통째로 받아, 그 안에서 다시 라벨 · 입력 두 쌍으로 나눈다.
 * 안쪽 칸도 .pro-lb / .pro-fd 를 그대로 쓰므로 생김새는 다른 줄과 같다.
 */
.pro-duo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 104px minmax(0, 1fr);
}
.pro-fd > .gw-hint { margin: 5px 0 0; }

/*
 * 한 줄을 통째로 쓰는 항목(제목 · 내용 · 결재선 …)의 라벨.
 *
 * 라벨을 1번 칸에 못박아 둔다. 이게 없으면 앞 줄이 덜 찼을 때
 * 라벨만 그 줄 끝에 얹히고, 2/-1 로 시작하는 입력칸은 자리가 없어
 * 다음 줄로 밀려난다. (라벨 따로 · 입력칸 따로 보이는 증상)
 * 1번 칸이 이미 차 있으면 다음 줄로 함께 넘어간다.
 */
.pro-lb.full { grid-column: 1; }

/*
 * 입력칸 폭.
 * 제목 · 내용 · 효과 · 투자비용처럼 길게 쓰는 칸만 줄을 꽉 채우고,
 * 날짜 · 사번 · 문서번호처럼 길이가 정해진 값은 그만큼만 차지한다.
 * 전부 100% 로 늘려 두면 짧은 값 옆이 허옇게 비어 읽기 힘들다.
 */
.pro-form input.pro-w-sm, .pro-form select.pro-w-sm { width: 108px; }
.pro-form input.pro-w-md, .pro-form select.pro-w-md { width: 152px; }
.pro-form input.pro-w-lg, .pro-form select.pro-w-lg { width: 216px; }

/* 한 줄 안에서 여러 칸을 가로로 붙일 때 */
.pro-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pro-inline > select { width: auto; min-width: 104px; }
.pro-inline .gw-check { margin-bottom: 0; white-space: nowrap; }
/* 남는 자리를 다 먹는 칸 (제목 옆 단추, 소속팀 옆 부서 고르기 …).
   min-width:0 이라 칸이 좁으면 줄어들고, 더 좁으면 아랫줄로 내려간다. */
.pro-form input.pro-grow,
.pro-form select.pro-grow { width: auto; flex: 1 1 120px; min-width: 0; }

/* 공동 제안자 : 골라서 하나씩 더한다 */
.pro-joint-list { margin-top: 8px; }
.pro-joint-list:empty { margin-top: 0; }
.pro-joint-it {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; margin-bottom: 5px;
  border: 1px solid var(--gw-line); border-radius: 6px; background: #fbfcfe;
  font-size: 13px;
}
.pro-joint-it .nm { flex: 1 1 auto; min-width: 0; }
.pro-joint-it .nm small { color: var(--gw-text-sub); }
.pro-joint-it input[type=number] { width: 68px; flex: none; }
.pro-joint-it button {
  width: 22px; height: 22px; padding: 0; flex: none;
  border: 1px solid var(--gw-line); border-radius: 4px;
  background: #fff; color: var(--gw-text-sub); font-size: 12px; cursor: pointer;
}
.pro-joint-it button:hover { background: #fbeceb; color: var(--gw-no); }

/* 읽기 전용 칸 — 자동으로 채워지는 값이라는 것이 보이게 */
.pro-ro { background: #f4f6f9; color: var(--gw-text-sub); }

/* ---------------------------------------------------------------------
   결재선 편집기 (assets/js/proline.js)
   왼쪽에서 고르면 오른쪽에 순서대로 쌓인다.
   --------------------------------------------------------------------- */
.pro-le { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pro-le-box {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--gw-line); border-radius: 6px; background: #fff;
}
.pro-le-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; background: #f7f9fc;
  border-bottom: 1px solid var(--gw-line);
  font-size: 12.5px; font-weight: 600; color: var(--gw-text-sub);
}
.pro-le-cnt { font-weight: 500; color: var(--gw-muted); }
.pro-le-ft { display: flex; gap: 6px; padding: 8px 10px; }
.pro-le-ft select, .pro-le-ft input { padding: 5px 8px; font-size: 12.5px; min-width: 0; }
.pro-le-list { max-height: 216px; overflow-y: auto; }
.pro-le-it {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-top: 1px solid var(--gw-line-soft);
  font-size: 13px; cursor: pointer;
}
.pro-le-it:hover { background: #f2f6fd; }
.pro-le-nm { display: flex; align-items: center; gap: 5px; min-width: 0; }
.pro-le-nm small { color: var(--gw-text-sub); }
.pro-le-empty {
  padding: 30px 10px; text-align: center;
  color: var(--gw-muted); font-size: 12.5px;
}
.pro-le-step {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--gw-pri); color: #fff; font-size: 11px; font-weight: 700;
}
.pro-le-ctrl { display: flex; gap: 3px; flex: none; }
.pro-le-ctrl button {
  width: 22px; height: 22px; padding: 0;
  border: 1px solid var(--gw-line); border-radius: 4px;
  background: #fff; color: var(--gw-text-sub); font-size: 11px; cursor: pointer;
}
.pro-le-ctrl button:hover { background: #eef2f8; color: var(--gw-pri); }

/* 넓지 않은 화면에서는 세 쌍 → 두 쌍 → 한 쌍으로 줄인다 */
@media (max-width: 1180px) {
  .pro-form { grid-template-columns: 104px minmax(0, 1fr) 104px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pro-form { grid-template-columns: 88px minmax(0, 1fr); }
  /* 칸이 한 쌍뿐이라 4번 선이 없다. 없는 선을 가리키면 빈 칸이 생긴다 */
  .pro-fd.tail { grid-column: 2 / -1; }
  .pro-duo { grid-template-columns: 88px minmax(0, 1fr); }
  .pro-le { grid-template-columns: 1fr; }
}

input[type=text], input[type=password], input[type=email], input[type=number],
input[type=date], input[type=search], input[type=tel], input[type=url],
input[type=time], input[type=month], select, textarea {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--gw-line); border-radius: 6px;
  font-family: inherit; font-size: 13.5px; color: var(--gw-text); background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gw-pri);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, .12);
}
input:disabled, select:disabled, textarea:disabled { background: #f6f7f9; color: var(--gw-text-sub); }
textarea { resize: vertical; line-height: 1.6; }

.gw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.gw-grid2 .gw-span2 { grid-column: 1 / -1; }

.gw-check { display: flex; align-items: center; gap: 7px; font-size: 13.5px; margin-bottom: 6px; }
.gw-check input { width: auto; }
/* hidden 속성은 어떤 클래스보다 세게 먹어야 한다.
   .gw-btn { display:inline-flex } 같은 규칙이 [hidden] 을 이겨 버려,
   숨겨 둔 단추가 그대로 보이는 일이 있었다. */
[hidden] { display: none !important; }

.gw-hint { font-size: 12px;
 color: var(--gw-text-sub); margin: 6px 0 0; line-height: 1.6; }
.gw-hint-inline { font-size: 12px; color: var(--gw-text-sub); }

.gw-filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gw-line-soft);
}
/* 검색줄만 있는 칸에서는 아래 구분선·여백이 빈 띠로 남는다 */
.gw-card > .gw-filter:last-child {
  margin-bottom: 0; padding-bottom: 0; border-bottom: 0;
}
/* 한 줄짜리 칸 — 높이를 줄인다 */
.gw-card.gw-card-slim { padding: 10px 14px; margin-bottom: 12px; }

.gw-filter input[type=text], .gw-filter input[type=search] { width: 220px; }
.gw-filter select, .gw-filter input[type=date] { width: auto; }
.gw-filter label { font-size: 12.5px; color: var(--gw-text-sub); display: flex; gap: 6px; align-items: center; }

.gw-inline-form { display: flex; gap: 8px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.gw-inline-form input[type=file] { width: auto; flex: 1; min-width: 160px; font-size: 12.5px; }
.gw-inline { display: inline; }

/* ---------------------------------------------------------- 버튼 */
.gw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px;
  background: #fff; border: 1px solid var(--gw-line); border-radius: 6px;
  color: var(--gw-text); font-family: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.gw-btn:hover { background: var(--gw-bg); text-decoration: none; }
.gw-btn-pri { background: var(--gw-pri); border-color: var(--gw-pri); color: #fff; }
.gw-btn-pri:hover { background: var(--gw-pri-dark); border-color: var(--gw-pri-dark); }
.gw-btn-go { background: var(--gw-ok); border-color: var(--gw-ok); color: #fff; }
.gw-btn-go:hover { background: #14663c; }
.gw-btn-no { background: #fff; border-color: var(--gw-no); color: var(--gw-no); }
.gw-btn-no:hover { background: #fdf2f1; }
.gw-btn-sm { padding: 5px 11px; font-size: 12.5px; }

.gw-btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gw-btn-row-sm { gap: 4px; }
.gw-form-btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.gw-form-btns.gw-sticky {
  position: sticky; bottom: 0;
  padding: 12px 0; margin-top: 0;
  background: linear-gradient(to bottom, rgba(244, 245, 247, 0), var(--gw-bg) 40%);
}
.gw-link-btn {
  background: none; border: 0; padding: 0 4px;
  color: var(--gw-muted); font: inherit; font-size: 12px;
  cursor: pointer; text-decoration: underline;
}
.gw-link-btn:hover { color: var(--gw-no); }

/* ------------------------------------------------------- 알림/뱃지 */
.gw-alert {
  padding: 11px 14px; margin-bottom: 16px;
  background: #fdf6ec; border: 1px solid #f0dcc0; border-left: 3px solid var(--gw-warn);
  border-radius: 6px; font-size: 13px; color: #6b4a12;
}
.gw-alert.ok {
  background: #eef8f2; border-color: #c6e5d4; border-left-color: var(--gw-ok); color: #145c36;
}

.gw-tag {
  display: inline-block; padding: 1px 7px; margin-right: 3px;
  background: #eef1f5; border-radius: 4px;
  font-size: 11.5px; color: var(--gw-text-sub); white-space: nowrap;
}
.gw-tag-adm  { background: #e8f0fb; color: var(--gw-pri); font-weight: 600; }
.gw-tag-warn { background: #fdf0e3; color: var(--gw-warn); }
.gw-tag-ok   { background: #e7f5ee; color: var(--gw-ok); }
.gw-tag-no   { background: #fbeceb; color: var(--gw-no); }
.gw-tag-wait { background: #eef1f5; color: var(--gw-text-sub); }
.gw-tag-cond { background: #fdf6ec; color: var(--gw-warn); }
.gw-tag-skip { background: #f3f4f6; color: var(--gw-muted); }

.gw-state {
  display: inline-block; padding: 2px 9px;
  border-radius: 11px; font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: #eef1f5; color: var(--gw-text-sub);
}
/*
 * 상태 뱃지 색은 "무슨 상태냐" 가 아니라 "누가 움직여야 하느냐" 로 나눈다.
 *   초록 = 끝났다   파랑 = 결재자 차례   주황 = 담당자·위원 차례
 *   회색 = 아직 안 움직였다             빨강 = 되돌아왔다 · 끝나지 않고 닫혔다
 */
/* 끝 */
.gw-state-active, .gw-state-ok,
.gw-state-closed, .gw-state-awarded, .gw-state-grade_fixed {
  background: #e7f5ee; color: var(--gw-ok);
}
/* 결재자 차례 */
.gw-state-grade_approval, .gw-state-committee_approval, .gw-state-award_approval {
  background: #e8f0fb; color: var(--gw-pri);
}
/* 담당자 · 위원 차례 */
.gw-state-assigned, .gw-state-grade_review, .gw-state-committee_select,
.gw-state-scoring, .gw-state-scored, .gw-state-award_draft, .gw-state-submitted {
  background: #fdf6ec; color: var(--gw-warn);
}
/* 아직 안 움직였다 */
.gw-state-wait, .gw-state-draft, .gw-state-on_hold {
  background: #f1f3f6; color: var(--gw-text-sub);
}
/* 되돌아왔다 · 끝나지 않고 닫혔다 */
.gw-state-stop, .gw-state-no, .gw-state-rejected, .gw-state-duplicated {
  background: #fbeceb; color: var(--gw-no);
}

/* ---------------------------------------------------------- KPI */
.gw-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.gw-kpi {
  padding: 14px; background: #fafbfc;
  border: 1px solid var(--gw-line-soft); border-radius: var(--gw-radius); text-align: center;
}
.gw-kpi span { display: block; font-size: 12px; color: var(--gw-text-sub); }
.gw-kpi strong { display: block; font-size: 22px; font-weight: 700; margin: 4px 0 0; }
.gw-kpi small { font-size: 11.5px; color: var(--gw-muted); }

.gw-bar {
  display: inline-block; width: 90px; height: 7px; vertical-align: middle;
  background: var(--gw-line-soft); border-radius: 4px; overflow: hidden; margin-right: 6px;
}
.gw-bar i { display: block; height: 100%; background: var(--gw-pri); }

/* ------------------------------------------------------- 결재선 */
.gw-line { padding: 12px 0; border-bottom: 1px solid var(--gw-line-soft); }
.gw-line:last-child { border-bottom: 0; }
.gw-line h3 { font-size: 13px; margin-bottom: 8px; }
.gw-line-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.gw-line-step { display: flex; flex-direction: column; gap: 3px; }
.gw-line-step span { font-size: 11.5px; color: var(--gw-muted); }
/* 결재 단계 성격(검토·합의·승인·전결) — 사람 고르는 칸보다 작게 둔다 */
.gw-step-kind { margin-top: 3px; font-size: 12px; }

.gw-appr-row {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 7px 0; border-bottom: 1px dashed var(--gw-line-soft); font-size: 12.5px;
}
.gw-appr-row:last-child { border-bottom: 0; }
.gw-appr-seq {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; flex: none;
  background: var(--gw-line-soft); border-radius: 50%; font-size: 11px; color: var(--gw-text-sub);
}
.gw-appr-nm { flex: 1; min-width: 0; font-weight: 600; }
.gw-appr-row small { color: var(--gw-muted); font-size: 11.5px; }
.gw-appr-memo { flex-basis: 100%; margin: 3px 0 0 26px; color: var(--gw-text-sub); font-size: 12px; }

/* ------------------------------------------------------- 문서 상세 */
.gw-doc-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 8px; }
.gw-doc-no { font-size: 12.5px; color: var(--gw-muted); font-variant-numeric: tabular-nums; }
.gw-doc-title { font-size: 19px; line-height: 1.4; margin-bottom: 14px; }
.gw-doc-body {
  padding: 12px 14px; background: #fafbfc;
  border: 1px solid var(--gw-line-soft); border-radius: 6px;
  font-size: 13.5px; line-height: 1.75; word-break: break-word;
}

.gw-meta { margin: 0 0 14px; font-size: 12.5px; }
.gw-meta dt { float: left; clear: left; width: 92px; color: var(--gw-text-sub); padding: 3px 0; }
.gw-meta dd { margin: 0 0 0 100px; padding: 3px 0; }
.gw-meta-inline { padding: 12px 14px; background: #fafbfc; border-radius: 6px; }
.gw-meta::after { content: ""; display: block; clear: both; }

.gw-review { padding: 12px 0; border-bottom: 1px solid var(--gw-line-soft); }
.gw-review:last-child { border-bottom: 0; }
.gw-review header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.gw-review header small { color: var(--gw-muted); font-size: 11.5px; }

.gw-files { list-style: none; margin: 0; padding: 0; }
.gw-files li {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 0; border-bottom: 1px solid var(--gw-line-soft); font-size: 13px;
}
.gw-files li:last-child { border-bottom: 0; }
.gw-files small { color: var(--gw-muted); font-size: 11.5px; }

.gw-hist { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.gw-hist li { padding: 6px 0; border-bottom: 1px dashed var(--gw-line-soft); }
.gw-hist li:last-child { border-bottom: 0; }
.gw-hist time { display: block; color: var(--gw-muted); font-size: 11.5px; }
.gw-hist strong { margin-right: 6px; }
.gw-hist span { color: var(--gw-text-sub); }

/* ------------------------------------------------------- PART 그리드 */
.gw-part-grid td { text-align: center; }
.gw-part-grid thead th:not(:first-child) { text-align: center; }
.gw-radio { display: block; cursor: pointer; }
.gw-radio input { width: auto; }

.gw-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.gw-chip {
  padding: 3px 8px; border-radius: 4px; font-size: 11.5px;
  background: #f1f3f6; color: var(--gw-text-sub);
}
.gw-chip b { font-weight: 600; margin-left: 3px; }
.gw-chip-W { background: #e7f5ee; color: var(--gw-ok); }
.gw-chip-R { background: #e8f0fb; color: var(--gw-pri); }

/* --------------------------------------------------------- 상황판 */
.gw-board {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr);
  gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start;
}
.gw-board-col {
  background: var(--gw-panel); border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius); overflow: hidden;
}
.gw-board-col header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: #fafbfc; border-bottom: 1px solid var(--gw-line);
}
.gw-board-col h2 { font-size: 13px; }
.gw-board-body { padding: 8px; max-height: 68vh; overflow-y: auto; }
.gw-board-empty { text-align: center; color: var(--gw-muted); font-size: 12px; padding: 16px 0; margin: 0; }
.gw-board-card {
  display: block; padding: 9px 10px; margin-bottom: 7px;
  background: #fff; border: 1px solid var(--gw-line); border-left: 3px solid var(--gw-pri);
  border-radius: 6px; color: var(--gw-text); font-size: 12.5px;
}
.gw-board-card:hover { background: #fbfcfd; text-decoration: none; }
.gw-board-card.late { border-left-color: var(--gw-no); }
.gw-board-card strong { display: block; font-size: 13px; line-height: 1.45; margin-bottom: 4px; }
.gw-board-meta { display: block; color: var(--gw-text-sub); font-size: 11.5px; }
.gw-board-foot {
  display: flex; justify-content: space-between; margin-top: 5px;
  color: var(--gw-muted); font-size: 11px;
}
.gw-board-card.late .gw-board-foot em { color: var(--gw-no); font-style: normal; font-weight: 600; }

/* =====================================================================
   로그인 · 가입신청 · 안내 화면

   로그인 전 화면은 파란 배경 한 장에 흰 카드 하나만 둔다.
   군더더기 없이 로고 · 입력칸 · 버튼만 보이게 한 구성이다.
   ===================================================================== */
.gw-plain {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px;
  background: #1f5fbf;
  background: linear-gradient(120deg, #1b3f8f 0%, #2358b8 48%, #2d63c9 100%);
  background-attachment: fixed;
}

/* 카드 폭은 예전(400px)의 8할.
   높이는 예전의 85% 수준. 로고를 키운 대신 위아래 여백을 촘촘히 줄였다.
   (아래 .gw-login-head / -tabs / -form / -links / -note 여백이 한 벌로 움직인다) */
.gw-login {
  width: 100%; max-width: 320px;
  padding: 16px 28px 14px;
  background: var(--gw-panel);
  border-radius: 6px;
  box-shadow: 0 10px 34px rgba(10, 24, 60, .28);
}
.gw-login-wide { max-width: 620px; }

/* 머리 : 로고만. 시스템 이름은 로고가 이미 말해 준다 */
.gw-login-head {
  text-align: center;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--gw-line-soft);
}
.gw-login-head h1 { font-size: 16px; margin: 10px 0 3px; }
.gw-login-head p { margin: 0; font-size: 12px; color: var(--gw-text-sub); }

/* 아이디 찾기 ↔ 비밀번호 초기화 탭 */
.gw-login-tabs {
  display: flex; gap: 4px;
  margin: -2px 0 12px;
  border-bottom: 1px solid var(--gw-line-soft);
}
.gw-login-tabs a {
  flex: 1; padding: 6px 0; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--gw-text-sub); font-size: 13px; text-align: center;
}
.gw-login-tabs a:hover { color: var(--gw-text); text-decoration: none; }
.gw-login-tabs a.on {
  color: var(--gw-pri); border-bottom-color: var(--gw-pri); font-weight: 700;
}

.gw-login-form label {
  display: block; margin-bottom: 3px; line-height: 1.3;
  font-size: 12px; font-weight: 600; color: var(--gw-text-sub);
}
.gw-login-form input { margin-bottom: 8px; padding: 6px 10px; }
.gw-login-form .gw-btn {
  width: 100%; padding: 7px; margin-top: 2px;
  font-size: 13.5px; font-weight: 700; border-radius: 4px;
}

/* 찾은 사용자 ID */
.gw-found {
  margin: 0; padding: 14px 10px;
  background: #f4f7fc; border: 1px solid #d9e3f3; border-radius: 6px;
  text-align: center; font-size: 13px; color: var(--gw-text-sub);
}
.gw-found b {
  display: block; margin-top: 4px;
  font-size: 20px; color: var(--gw-pri); letter-spacing: .5px;
}

/* 비밀번호 변경 단계에서 "누가 로그인했는지" 한 줄.
   여기까지 온 사람은 아이디를 다시 칠 일이 없으니 글자로만 보여 준다. */
.gw-login-who {
  margin: 0 0 10px; padding: 7px 10px;
  background: #f4f7fc; border: 1px solid #d9e3f3; border-radius: 4px;
  text-align: center; font-size: 13px; font-weight: 700; color: var(--gw-text);
}
.gw-login-who span {
  margin-left: 5px;
  font-weight: 400; font-size: 12px; color: var(--gw-text-sub);
}

/* 비밀번호 규칙 안내 — 입력칸과 버튼 사이에 끼므로 여백을 좁게 */
.gw-login-rule {
  margin: -2px 0 8px;
  font-size: 11.5px; color: var(--gw-text-sub); line-height: 1.45;
}

/* 링크 줄 : 가운데 점으로 구분 */
.gw-login-links {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 10px;
  font-size: 12.5px;
}
.gw-login-links a { font-weight: 600; }
.gw-login-links span { color: #cfd5de; font-size: 11px; }

.gw-login-note {
  margin: 10px 0 0; padding-top: 8px;
  border-top: 1px solid var(--gw-line-soft);
  text-align: center; font-size: 12px; color: var(--gw-text-sub); line-height: 1.5;
}
/* 한 줄로만 보여 줄 안내문 (줄바꿈 없이).
   카드를 320px 로 줄이면서 안쪽 여백(28px)만으로는 한 줄이 안 들어간다.
   좌우 여백을 음수 마진으로 되돌려 카드 폭을 거의 다 쓰게 하고
   글자도 한 단계 줄였다. */
.gw-1line {
  margin-left: -22px; margin-right: -22px;
  font-size: 10.5px; white-space: nowrap; letter-spacing: -.2px;
}

.gw-msgbox {
  max-width: 420px; padding: 32px; text-align: center;
  background: var(--gw-panel); border-radius: 6px;
  box-shadow: 0 10px 34px rgba(10, 24, 60, .28);
}
.gw-msgbox h1 { font-size: 18px; margin-bottom: 10px; }
.gw-msgbox p { color: var(--gw-text-sub); font-size: 13.5px; margin-bottom: 20px; }

.gw-img-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; padding: 10px; margin-bottom: 10px;
  background: #fafbfc; border: 1px dashed var(--gw-line); border-radius: 6px;
}
.gw-img-box img { max-width: 100%; max-height: 180px; }
.gw-img-sign { min-height: 80px; }
.gw-img-none { color: var(--gw-muted); font-size: 12.5px; }

/* ------------------------------------------------------------ 반응형 */
@media (max-width: 1100px) {
  .gw-cols { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .gw-nav {
    transform: translateX(-100%);
    transition: transform .18s ease;
    box-shadow: 0 0 24px rgba(0, 0, 0, .2);
  }
  body.gw-nav-open .gw-nav { transform: translateX(0); }
  body.gw-nav-open .gw-nav-dim {
    display: block; position: fixed; inset: 0;
    background: rgba(15, 20, 30, .45); z-index: 35;
  }
  .gw-main { margin-left: 0; }
  .gw-hamburger { display: inline-flex; }
  .gw-content { padding: 14px; }
  .gw-grid2 { grid-template-columns: 1fr; }
  .gw-meta dt { float: none; width: auto; padding-bottom: 0; }
  .gw-meta dd { margin-left: 0; }
}

@media print {
  .gw-nav, .gw-topbar, .gw-footer, .gw-form-btns, .gw-card-act { display: none !important; }
  .gw-main { margin-left: 0; }
  .gw-card { border: 0; box-shadow: none; padding: 0; }
}

/* =====================================================================
   사용자 · 권한 관리 — 한눈에 보는 표

   열이 20개를 넘어 가로 스크롤이 생긴다.
   왼쪽 세 열(체크 · 사번 · 성명)은 고정해서 스크롤해도 누구 줄인지 보이게 한다.
   ===================================================================== */
.gw-users { font-size: 12.5px; white-space: nowrap; }
.gw-users th, .gw-users td { padding: 7px 8px; vertical-align: middle; }
.gw-users thead th { text-align: center; }
.gw-users tbody td { text-align: center; }
.gw-users tbody td:nth-child(2),
.gw-users tbody td:nth-child(3),
.gw-users tbody td:nth-child(4),
.gw-users tbody td:nth-child(5) { text-align: left; }

/* 시스템 묶음이 시작되는 열에 세로 구분선 */
.gw-users .gw-grp { border-left: 2px solid var(--gw-line); }
/* PART · 공정 열은 좁게 */
.gw-users .gw-pcol { min-width: 52px; }

/* 머리글 두 줄.
   분석관리 PART 와 일일운전현황 공정은 이름이 겹치는 것이 있어
   (정제 · 소성 · PRESS · DRY · SF3) 어느 시스템 것인지 위에 한 줄로 묶어 준다. */
.gw-users thead .gw-hgrp {
  background: var(--gw-line-soft); color: var(--gw-text-sub);
  font-size: 11.5px; font-weight: 700; padding: 4px 8px;
  border-bottom: 1px solid var(--gw-line);
}
.gw-users .gw-dt { color: var(--gw-text-sub); font-size: 11.5px; }

/* ---------------------------------------------------------------------
   틀고정 (엑셀의 틀 고정과 같다)
     가로 : 머리글 두 줄이 위에 붙는다
     세로 : 체크 · ID · 성명 · 소속팀/부서 · 직책/직급 다섯 열이 왼쪽에 붙는다

   붙박이가 되려면 표가 "제 상자 안에서" 스크롤해야 한다. 그래서 목록 표만
   높이를 묶어 스크롤 상자로 만든다(.gw-freeze).

   왼쪽 열의 left 값과 둘째 머리글 줄의 top 값은 실제 칸 너비에 따라 달라서
   화면이 그려진 뒤 재서 넣는다(_users_list.php 의 gwFreeze). 아래 값은
   자바스크립트가 돌기 전에 쓰는 어림값이다.
   --------------------------------------------------------------------- */
.gw-table-wrap.gw-freeze {
  overflow: auto;
  /* 줄이 적으면 내용만큼만, 많으면 화면 높이에 맞춘다.
     창이 아주 낮아도 300px 은 남긴다(min-height 를 쓰면 줄이 적을 때 빈칸이 남는다). */
  max-height: max(300px, calc(100vh - 230px));
}

.gw-users thead th { position: sticky; top: 0; z-index: 3; }
.gw-users thead tr:nth-child(2) th { top: var(--gw-h1, 28px); }

/* 왼쪽 고정 열 */
.gw-users .gw-fx { position: sticky; z-index: 2; background: #fff; }
.gw-users thead .gw-fx { z-index: 5; background: #fafbfc; }
.gw-users .gw-fx1 { left: var(--gw-l1, 0);     width: 34px; }
.gw-users .gw-fx2 { left: var(--gw-l2, 34px);  min-width: 96px; }
.gw-users .gw-fx3 { left: var(--gw-l3, 130px); min-width: 118px; }
.gw-users .gw-fx4 { left: var(--gw-l4, 248px); min-width: 104px; }
.gw-users .gw-fx5 { left: var(--gw-l5, 352px); min-width: 84px;
                    box-shadow: 2px 0 0 var(--gw-line-soft); }
.gw-users tbody tr:hover .gw-fx { background: #fbfcfd; }

/* 성명 칸 : 사진 + 이름 */
.gw-u { display: inline-flex; align-items: center; gap: 6px; }
.gw-u-img {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%; object-fit: cover; background: var(--gw-line-soft);
}
.gw-u-txt {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gw-pri); color: #fff; font-size: 11px; font-weight: 700;
}
.gw-u-adm { color: #d9a400; font-style: normal; font-size: 12px; }

/* 두 줄짜리 칸 (소속 / 부서, 직책 / 직급) */
.gw-2line { line-height: 1.3; }
.gw-2line b { display: block; font-weight: 500; }
.gw-2line small { display: block; color: var(--gw-text-sub); font-size: 11px; }

/* PART 등급 뱃지 */
.gw-pa {
  display: inline-block; min-width: 34px; padding: 1px 6px;
  border-radius: 4px; font-size: 11px; font-weight: 600; text-align: center;
}
.gw-pa-W { background: #e7f5ee; color: var(--gw-ok); }     /* 등록 */
.gw-pa-R { background: #e8f0fb; color: var(--gw-pri); }    /* 조회 */
.gw-pa-N { background: #f1f3f6; color: var(--gw-muted); }  /* 제한 */
.gw-pa-T { background: #fdf6ec; color: var(--gw-warn); }   /* 임시 */
.gw-pa-off { background: none; color: #cfd5de; }

/* 시스템 권한 뱃지 */
.gw-ap {
  display: inline-block; padding: 2px 8px;
  border-radius: 11px; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.gw-ap-top { background: #e8f0fb; color: var(--gw-pri); }      /* 관리자 계열 */
.gw-ap-mid { background: #fdf6ec; color: var(--gw-warn); }     /* 중간 · 담당 */
.gw-ap-low { background: #f1f3f6; color: var(--gw-text-sub); } /* 일반 */
.gw-ap-off { background: #fbeceb; color: var(--gw-no); }       /* 사용제한 */

/* 일괄변경 바 */
/* 제목과 고르개를 한 줄에 놓는다 (두 줄이면 자리만 먹는다) */
.gw-bulk {
  background: #fbfcfe; border-color: #cfd9e8;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding: 10px 14px; margin-bottom: 12px;
}
.gw-bulk > h2 {
  border-bottom: 0; padding-bottom: 0; margin: 0;
  font-size: 13.5px; white-space: nowrap;
}
/* 남는 자리를 고르개 줄이 다 쓴다 — 오른쪽 끝에 "선택 n명 · 적용" 이 붙는다 */
.gw-bulk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 420px; }
.gw-bulk-row label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--gw-text-sub);
}
/* 접었을 때 확실히 사라지게 (label 이 display:flex 라 기본 [hidden] 이 먹지 않는다) */
.gw-bulk-row label[hidden] { display: none; }
.gw-bulk-row select { width: auto; }
.gw-bulk-cnt { margin-left: auto; font-size: 12.5px; color: var(--gw-text-sub); }
.gw-bulk-cnt b { color: var(--gw-pri); font-size: 14px; }

@media (max-width: 820px) {
  /* 좁은 화면에서는 고정 열을 풀어 준다 (가로 폭을 너무 먹는다).
     머리글 고정은 그대로 둔다 — 세로로 길어 더 쓸모 있다. */
  .gw-users .gw-fx { position: static; box-shadow: none; }
  .gw-table-wrap.gw-freeze { max-height: calc(100vh - 160px); }
  .gw-bulk-cnt { margin-left: 0; }
}

/* =====================================================================
   사용자 등록 · 수정 모달

   목록 위에 겹쳐 뜬다. 서버가 통째로 그리므로 새로고침 · 뒤로가기가 그대로 된다.
   ===================================================================== */
.gw-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
}
.gw-modal-dim {
  position: fixed; inset: 0;
  background: rgba(15, 20, 30, .48);
}
.gw-modal-box {
  position: relative;
  width: 100%; max-width: 620px;
  background: var(--gw-panel);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, .28);
  overflow: hidden;
}

.gw-modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--gw-line);
}
.gw-modal-hd h2 { font-size: 16px; }
.gw-modal-x {
  width: 30px; height: 30px; line-height: 28px;
  border-radius: 6px; text-align: center;
  color: var(--gw-muted); font-size: 22px; text-decoration: none;
}
.gw-modal-x:hover { background: var(--gw-bg); color: var(--gw-text); text-decoration: none; }

.gw-modal-bd { padding: 18px 20px; }
.gw-modal-ft {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  background: #fafbfc;
  border-top: 1px solid var(--gw-line);
}
.gw-modal-ft .gw-sp { flex: 1; }

/* 라벨을 왼쪽에 두는 두 칸 배치 (직책/직급, 이메일/연락처 …) */
/* 라벨 칸 : "일일운전현황" · "분석관리 PART 권한" 이 접히지 않을 만큼 */
.gw-modal-bd .gw-field { display: grid; grid-template-columns: 118px 1fr; gap: 4px 12px; align-items: start; }
.gw-modal-bd .gw-field > label { padding-top: 8px; margin: 0; text-align: right; }
.gw-modal-bd .gw-field > label small { font-weight: 400; color: var(--gw-muted); }
.gw-modal-bd .gw-field > .gw-hint,
.gw-modal-bd .gw-field > .gw-part-btns { grid-column: 2; }
.gw-modal-bd .gw-field > .gw-check { grid-column: 2; }
.gw-modal-bd .gw-field > label.gw-check { grid-column: 2; text-align: left; padding-top: 0; }

.gw-pair > span { display: flex; gap: 8px; align-items: center; }
.gw-pair > span > input,
.gw-pair > span > select { flex: 1; min-width: 0; }
.gw-nowrap { white-space: nowrap; flex: none; }

/* PART · 공정 권한 그리드 — 2열.
   이름 칸 너비는 칸마다 다르다. 분석관리 PART 는 짧고(정제 · AOH2s),
   일일운전현황 공정은 길다(보에마이트2 · BXR Mixer). */
.gw-parts {
  --gw-part-lbl: 58px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
}
.gw-parts.dwc { --gw-part-lbl: 84px; }
.gw-part { display: flex; align-items: center; gap: 8px; }
.gw-part > span {
  width: var(--gw-part-lbl); flex: none; text-align: right; white-space: nowrap;
  font-size: 12.5px; color: var(--gw-text-sub);
}
.gw-part select { flex: 1; min-width: 0; }
.gw-parts.off { opacity: .5; }
.gw-part-btns { display: flex; gap: 6px; margin-top: 8px; }

/* 그 밖의 시스템 권한 — 라벨 위, 입력 아래 */
.gw-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.gw-roles .gw-field { display: block; margin-bottom: 6px; }
.gw-roles .gw-field > label { text-align: left; padding-top: 0; }

/* 비밀번호 구역 */
.gw-pw { border-top: 8px solid var(--gw-bg); }
.gw-pw > h3 { font-size: 13.5px; margin-bottom: 12px; }
.gw-pw > h3 small { font-weight: 400; color: var(--gw-text-sub); font-size: 12px; }
.gw-pw-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.gw-pw-state small { color: var(--gw-muted); font-size: 11.5px; }
.gw-pw .gw-btn-row { margin-left: 108px; }
.gw-pw .gw-hint { margin-left: 108px; }

@media (max-width: 640px) {
  .gw-modal { padding: 0; }
  .gw-modal-box { max-width: none; border-radius: 0; min-height: 100vh; }
  .gw-modal-bd .gw-field { grid-template-columns: 1fr; }
  .gw-modal-bd .gw-field > label { text-align: left; padding-top: 0; }
  .gw-modal-bd .gw-field > .gw-hint,
  .gw-modal-bd .gw-field > .gw-part-btns,
  .gw-modal-bd .gw-field > .gw-check,
  .gw-modal-bd .gw-field > label.gw-check { grid-column: 1; }
  .gw-parts, .gw-roles { grid-template-columns: 1fr; }
  .gw-pair > span { flex-direction: column; align-items: stretch; }
  .gw-pw .gw-btn-row, .gw-pw .gw-hint { margin-left: 0; }
}

/* PART 권한 4단계 — 관리(M) 색 추가 */
.gw-pa-M { background: #efe7fb; color: #6a3fbe; }   /* 관리 */
.gw-chip-M { background: #efe7fb; color: #6a3fbe; }
.gw-chip-W { background: #e7f5ee; color: var(--gw-ok); }
.gw-chip-R { background: #e8f0fb; color: var(--gw-pri); }

/* =====================================================================
   좌측 메뉴 최소화 (고정핀)

   핀이 꽂혀 있으면 메뉴 고정(펼침), 뽑으면 아이콘만 남기고 줄인다.
   선택은 브라우저에 기억되고(sideMin), 작업요청 화면과도 상태가 이어진다.
   클래스는 <html> 에 붙어 화면이 그려지기 전에 적용된다.
   ===================================================================== */
:root { --gw-nav-w-min: 59px; }

/* 브랜드 줄 : 로고 + 핀 */
.gw-brand-row {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.gw-brand {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
  padding: 0; border-bottom: 0;
  color: #fff; text-decoration: none;
}
.gw-brand:hover { text-decoration: none; }
.gw-brand-txt {
  font-weight: 700; font-size: 17px; letter-spacing: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.gw-pin {
  width: 26px; height: 26px; flex: none; padding: 5px;
  background: none; border: 0; border-radius: 6px;
  color: #c3cad6; opacity: .65; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.gw-pin svg { width: 100%; height: 100%; display: block; }
.gw-pin:hover { background: rgba(255, 255, 255, .14); color: #fff; opacity: 1; }
html.side-min .gw-pin { transform: rotate(45deg); opacity: .6; }

/* ------------------------------------------------------- 최소화 상태 */
.gw-nav { transition: width .15s ease; }
.gw-main { transition: margin-left .15s ease; }

html.side-min .gw-nav  { width: var(--gw-nav-w-min); }
html.side-min .gw-main { margin-left: var(--gw-nav-w-min); }

/* 글자는 모두 감추고 아이콘만 가운데로 */
html.side-min .gw-brand-txt,
html.side-min .gw-cat-nm,
html.side-min .gw-cat-caret,
html.side-min .gw-nav-item span,
html.side-min .gw-ext-mark,
html.side-min .gw-nav-empty { display: none; }

html.side-min .gw-brand-row { flex-direction: column; gap: 4px; padding: 10px 0; }
html.side-min .gw-brand { flex: 0 0 auto; justify-content: center; }
html.side-min .gw-brand-mark { width: 36px; height: 36px; padding: 3px; }
html.side-min .gw-pin { width: 22px; height: 22px; }

html.side-min .gw-cat-btn,
html.side-min .gw-nav-item {
  justify-content: center;
  padding: 9px 0;
  gap: 0;
  border-left-width: 2px;
}
html.side-min .gw-cat-sub { padding: 2px 0 6px; }

/* 대분류 안의 소제목은 줄만 남겨 구분한다 */
html.side-min .gw-sub-sep {
  font-size: 0; padding: 0; margin: 6px 12px;
  height: 1px; background: rgba(255, 255, 255, .14);
}

@media (max-width: 820px) {
  /* 모바일은 서랍 방식이라 최소화를 쓰지 않는다 */
  html.side-min .gw-nav  { width: var(--gw-nav-w); }
  html.side-min .gw-main { margin-left: 0; }
  html.side-min .gw-brand-txt,
  html.side-min .gw-cat-nm,
  html.side-min .gw-cat-caret,
  html.side-min .gw-nav-item span { display: initial; }
  html.side-min .gw-brand-row { flex-direction: row; padding: 14px 12px; }
  html.side-min .gw-cat-btn,
  html.side-min .gw-nav-item { justify-content: flex-start; }
  .gw-pin { display: none; }
}

/* 좁은 화면에서는 한 줄 안내문도 줄바꿈을 허용한다 (잘리는 것보다 낫다).
   카드 여백이 18px 로 줄어드니 음수 마진도 함께 되돌린다. */
@media (max-width: 430px) {
  .gw-1line {
    margin-left: 0; margin-right: 0;
    white-space: normal; letter-spacing: 0;
  }
  .gw-login { padding: 15px 18px 13px; }
  .gw-login-links { flex-wrap: wrap; }
}


/* =====================================================================
   개인정보 변경 — 휴대전화 · 태블릿에서도 그대로 쓰도록 짠 조각들
   ===================================================================== */

/* 맨 위 신분 요약 : 사진 + 이름 + 소속 한 줄 */
.gw-idcard {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
}
.gw-idcard-pic {
  flex: 0 0 auto; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 50%;
  background: #eaf0fa; border: 1px solid var(--gw-line);
}
.gw-idcard-pic img { width: 100%; height: 100%; object-fit: cover; }
.gw-idcard-pic span { font-size: 22px; font-weight: 700; color: var(--gw-pri); }

.gw-idcard-txt { flex: 1 1 auto; min-width: 0; }
.gw-idcard-nm {
  margin: 0 0 3px; font-size: 16px; font-weight: 700; color: var(--gw-text);
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
}
.gw-idcard-nm em {
  font-style: normal; font-size: 12px; font-weight: 500; color: var(--gw-muted);
}
.gw-idcard-org {
  margin: 0; font-size: 12.5px; color: var(--gw-text-sub);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gw-idcard-pw { flex: 0 0 auto; }

/* 두 칸 서식. 좁아지면 한 칸으로 접는다 */
.gw-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.gw-fgrid .gw-span2 { grid-column: 1 / -1; }

/* 사진 · 싸인 두 장 */
.gw-upduo { display: grid; grid-template-columns: 1fr; gap: 0; }
.gw-uprow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gw-upfile {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  flex: 1 1 220px; min-width: 0;
}
.gw-upfile input[type=file] {
  flex: 1 1 140px; min-width: 0; width: auto;
  font-size: 12.5px; color: var(--gw-text-sub);
}

/* 내 권한 : 표 대신 두 쪽짜리 줄 (좁은 화면에서 글자가 안 눌린다) */
.gw-permlist { list-style: none; margin: 0; padding: 0; }
.gw-permlist li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gw-line-soft);
  font-size: 13px;
}
.gw-permlist li:last-child { border-bottom: 0; }
.gw-permlist-nm { color: var(--gw-text); min-width: 0; }
.gw-permlist-on {
  flex: 0 0 auto; padding: 2px 9px; border-radius: 4px;
  background: #e8f0fb; color: var(--gw-pri); font-size: 12px; font-weight: 600;
}
.gw-permlist-no { flex: 0 0 auto; color: var(--gw-muted); font-size: 12px; }

/* 옆 칸이 아래로 내려오는 구간에서는 사진·싸인을 나란히 둔다 */
@media (min-width: 681px) and (max-width: 1100px) {
  .gw-upduo { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gw-upduo > .gw-card { margin-bottom: 16px; }
}

/* 서식 두 칸이 비좁아지는 지점 */
@media (max-width: 560px) {
  .gw-fgrid { grid-template-columns: 1fr; }

  /* 전화기에서는 단추도 한 줄을 다 쓴다 */
  .gw-idcard-pw { width: 100%; }
}


/* =====================================================================
   태블릿 · 휴대전화 공통 손질
   손가락으로 누르는 화면이라 입력칸과 버튼을 키우고,
   iOS 가 글자 16px 미만인 칸에 들어갈 때 화면을 확대하는 것을 막는다.
   표 안의 촘촘한 입력칸(일일운전현황 등)은 건드리지 않는다.
   ===================================================================== */
@media (max-width: 820px) {
  .gw-content { padding: 12px; }
  .gw-card { padding: 14px 15px; margin-bottom: 12px; }
  .gw-card > h2 { font-size: 14.5px; }

  .gw-form input[type=text],
  .gw-form input[type=password],
  .gw-form input[type=email],
  .gw-form input[type=tel],
  .gw-form input[type=number],
  .gw-form input[type=date],
  .gw-form input[type=search],
  .gw-form select,
  .gw-form textarea,
  .gw-login-form input {
    font-size: 16px;            /* 이보다 작으면 iOS 가 확대해 버린다 */
    padding: 10px 12px;
    min-height: 44px;           /* 손가락으로 누를 수 있는 최소 크기 */
  }
  .gw-form textarea { min-height: 88px; }
  .gw-form .gw-field { margin-bottom: 16px; }

  .gw-btn { padding: 10px 16px; min-height: 44px; }
  .gw-btn-sm { min-height: 40px; padding: 8px 14px; }

  /* 파일 선택칸은 브라우저 기본이 25px 남짓이라 손가락으로 누르기 어렵다.
     테두리를 주고 다른 입력칸과 같은 높이로 맞춘다. */
  .gw-upfile input[type=file] {
    min-height: 44px; padding: 10px 12px;
    border: 1px solid var(--gw-line); border-radius: 6px; background: #fff;
    font-size: 13px;
  }
  /* 사진·싸인의 [등록] [삭제], 신분카드의 [비밀번호 변경] */
  .gw-uprow .gw-btn-sm,
  .gw-idcard-pw { min-height: 44px; }
  .gw-uprow .gw-btn-sm { min-width: 76px; }

  /* 저장 단추를 화면 아래에 붙여 둔다. 서식이 길어 매번 끝까지
     내려가야 하는 수고를 던다. */
  .gw-savebar {
    position: sticky; bottom: 0; z-index: 5;
    margin: 4px -15px -14px; padding: 10px 15px;
    background: var(--gw-panel);
    border-top: 1px solid var(--gw-line-soft);
  }
  .gw-savebar .gw-btn { flex: 1 1 auto; }

  .gw-idcard { padding: 12px 14px; gap: 12px; flex-wrap: wrap; }
}

/* 아주 좁은 화면 */
@media (max-width: 430px) {
  .gw-idcard-pic { width: 46px; height: 46px; }
  .gw-idcard-pic span { font-size: 18px; }
  .gw-idcard-nm { font-size: 15px; }
  .gw-idcard-org { white-space: normal; }

  /* 세로로 쌓지 않는다. flex-direction 을 column 으로 돌리면 파일 선택칸의
     flex-grow 가 "세로"로 먹어 칸이 허옇게 늘어난다. 줄바꿈으로만 쌓는다. */
  .gw-upfile { flex: 1 1 100%; }
  .gw-upfile input[type=file] { flex: 1 1 100%; width: 100%; }
  .gw-upfile .gw-btn { flex: 1 1 auto; }
}


/* =====================================================================
   증명사진 · 싸인 맞추기 (assets/js/gwcrop.js)
   휴대전화에서는 화면을 꽉 채우는 창으로 뜬다.
   ===================================================================== */
.gwc-lock { overflow: hidden; }

.gwc-wrap {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(12, 18, 30, .62);
}
.gwc-box {
  display: flex; flex-direction: column;
  width: 100%; max-width: 460px; max-height: 100%;
  background: var(--gw-panel); border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.gwc-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--gw-line-soft);
}
.gwc-hd b { font-size: 16px; }
.gwc-x {
  width: 34px; height: 34px; padding: 0;
  background: none; border: 0; border-radius: 6px;
  color: var(--gw-text-sub); font-size: 16px; cursor: pointer;
}
.gwc-x:hover { background: #f1f3f6; }

/* 보이는 칸이 곧 잘릴 칸이다. 여기 보이는 그대로 저장된다. */
.gwc-stage {
  flex: 1 1 auto; min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 18px; background: var(--gw-panel);
}
.gwc-holder { position: relative; }
.gwc-cv {
  display: block; touch-action: none;      /* 브라우저 기본 확대를 끈다 */
  background: #fff; cursor: move;
}

/* 얼굴 맞춤 점선 — 덧그리는 것이라 저장되는 그림에는 들어가지 않는다 */
.gwc-guide { position: absolute; inset: 0; pointer-events: none; }
.gwc-guide::before {              /* 세로 가운데 선 */
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 1px dashed rgba(255, 255, 255, .8);
}
.gwc-guide::after {               /* 얼굴 타원 */
  content: ''; position: absolute;
  left: 23%; right: 23%; top: 16%; bottom: 31%;
  border: 2px dashed rgba(255, 255, 255, .92);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12) inset;
}

/* 크기 막대 + 회전 */
.gwc-tools {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 18px 10px;
}
.gwc-lb {
  flex: 0 0 auto; width: 34px;
  font-size: 13.5px; font-weight: 700; color: var(--gw-text);
}
.gwc-zoom { flex: 1 1 auto; min-width: 60px; width: auto; }
.gwc-rot { flex: 0 0 auto; }

/* 규격 고르기 */
.gwc-sizes {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 0 18px 10px;
}
.gwc-sz {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gw-text); cursor: pointer;
}
.gwc-sz input { width: auto; margin: 0; }

.gwc-tip {
  margin: 0; padding: 0 18px 14px;
  font-size: 12.5px; color: var(--gw-text-sub); line-height: 1.65;
}
.gwc-tip b { color: var(--gw-text); }

.gwc-ft {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px; border-top: 1px solid var(--gw-line-soft);
  background: #fafbfc;
}
.gwc-ft .gw-btn { min-width: 82px; }

/* 미리보기 그릇 */
.gwc-prev {
  display: flex; align-items: center; justify-content: center;
  width: 108px; min-height: 140px; padding: 8px;
  background: #fafbfc; border: 1px dashed var(--gw-line); border-radius: 6px;
  text-align: center;
}
.gwc-prev img { max-width: 100%; max-height: 190px; border-radius: 3px; }
.gwc-prev.has { border-style: solid; background: #fff; }
.gwc-prev.wide { width: 100%; min-height: 96px; }
.gwc-none { color: var(--gw-muted); font-size: 12.5px; line-height: 1.5; }

/* 파일 선택칸은 <label> 안에 style="display:none" 으로 숨겨 둔다.
   label 을 누르면 브라우저가 알아서 파일창을 열어 주므로,
   이 스타일시트가 없어도 단추는 제대로 동작한다. */
.gwc-pickbtn { cursor: pointer; }
.gwc-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* 왼쪽 미리보기 · 오른쪽 설명 */
.gwc-field { display: flex; gap: 14px; align-items: flex-start; }
.gwc-field > .gwc-prev { flex: 0 0 auto; }
.gwc-field > .gwc-side { flex: 1 1 auto; min-width: 0; }
.gwc-field .gw-hint { margin-top: 8px; }
.gwc-size { font-size: 12px; color: var(--gw-ok); font-weight: 600; }

@media (max-width: 560px) {
  .gwc-wrap { padding: 0; }
  .gwc-box { max-width: none; height: 100%; border-radius: 0; }
  .gwc-stage { min-height: 0; }
  .gwc-tools .gw-btn { min-height: 44px; }
  .gwc-ft { justify-content: stretch; }
  .gwc-ft .gw-btn { flex: 1 1 auto; min-height: 46px; }
  .gwc-field { flex-direction: column; }
  .gwc-field > .gwc-prev { align-self: center; }
}

/* 가입 신청 목록의 사진 · 싸인 미리보기 */
.gw-rqimg { white-space: nowrap; }
.gw-rqimg img {
  width: 30px; height: 38px; object-fit: cover; vertical-align: middle;
  margin-right: 3px; border: 1px solid var(--gw-line); border-radius: 3px;
  background: #fff;
}


/* =====================================================================
   기본 결재선 고르기 (assets/js/gwapprline.js)
   작업요청 화면의 결재선 지정과 같은 모양으로 맞췄다.
   ===================================================================== */
.gw-apprbox { margin-top: 2px; }

.line-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.le-pick, .le-sel {
  border: 1px solid var(--gw-line); border-radius: 7px; overflow: hidden;
  display: flex; flex-direction: column;
}
.le-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 6px 10px; background: #f7f9fc; border-bottom: 1px solid var(--gw-line);
  font-size: 11.5px; font-weight: 700; color: var(--gw-text-sub);
}
.le-hd .gw-btn { padding: 3px 9px; font-size: 11px; min-height: 0; }

.le-filter {
  display: flex; gap: 6px; padding: 8px;
  border-bottom: 1px solid var(--gw-line-soft);
}
.le-filter select, .le-filter input { font-size: 12px; padding: 5px 7px; min-height: 0; }

.le-list { max-height: 210px; min-height: 96px; overflow: auto; }
.le-list .it {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 10px; border-bottom: 1px solid var(--gw-line-soft);
  font-size: 12px; cursor: pointer;
}
.le-pick .le-list .it:hover { background: #eef4fd; }
.le-list .it small { color: var(--gw-muted); font-size: 10.5px; }

.le-sel .it { cursor: default; }
.le-sel .it .nm { display: flex; align-items: center; gap: 7px; min-width: 0; }
.le-sel .it .step {
  flex: 0 0 18px; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gw-pri); color: #fff; border-radius: 50%;
  font-size: 10.5px; font-weight: 700;
}
.le-sel .it .ctrl { display: flex; gap: 3px; }
.le-sel .it .ctrl button {
  width: 20px; height: 20px; padding: 0; line-height: 1;
  border: 1px solid var(--gw-line); border-radius: 4px; background: #fff;
  font-size: 10px; color: var(--gw-text-sub); cursor: pointer;
}
.le-sel .it .ctrl button:hover { background: #f1f3f6; color: var(--gw-text); }

.le-list .gw-empty { padding: 22px 10px; text-align: center; font-size: 12px; color: var(--gw-muted); }

/* 좁은 화면에서는 위아래로 */
@media (max-width: 760px) {
  .line-edit { grid-template-columns: 1fr; }
  .le-list { max-height: 170px; }
}

/* =====================================================================
   왼쪽 메뉴 : 로고(흰색) · 스크롤 막대 숨김
   ===================================================================== */
/* 대주·KC 로고를 어두운 메뉴 위에 흰색으로 (투명 PNG 라 filter 로 흰 실루엣을 만든다).
   로그인 · 가입 화면의 로고(.gw-brand-mark.lg)는 그대로 두려고 .gw-nav 안에서만 바꾼다. */
.gw-nav .gw-brand-mark {
  width: 46px; height: 50px; padding: 0;
  background: none; border-radius: 0; overflow: visible;
}
.gw-nav .gw-brand-mark img { filter: brightness(0) invert(1); }
html.side-min .gw-nav .gw-brand-mark { width: 36px; height: 39px; padding: 0; }

/* 스크롤 막대는 숨기고 마우스 휠 · 화살표 키(gwnav.js)로 움직인다 */
.gw-nav, #gwNav, .gw-nav-scroll { scrollbar-width: none !important; -ms-overflow-style: none !important; }
.gw-nav::-webkit-scrollbar, #gwNav::-webkit-scrollbar,
.gw-nav *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }

/* 위쪽(로고 줄 · 통합 홈)은 고정하고 그 아래 메뉴만 스크롤한다 */
.gw-nav { display: flex; flex-direction: column; overflow: hidden; }
.gw-nav .gw-brand-row, .gw-nav .gw-nav-home { flex: none; }
.gw-nav .gw-nav-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* =====================================================================
   제안관리 — 제안제도 개정(시안) : 평가표 · 재무효과 산출표 · 상세검색 · 제안 현황
   ===================================================================== */

/* 평가표 (assets/js/proeval.js) */
.pro-ev-hd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-bottom: 8px; font-size: 13px;
}
.pro-ev-hd .lb { font-weight: 600; color: var(--gw-text-sub); font-size: 12.5px; }
.pro-ev-hd .gw-check { margin-bottom: 0; }
.pro-ev-hd select { width: auto; min-width: 140px; }
.pro-ev-t th small { display: block; font-weight: 400; color: var(--gw-muted); font-size: 11.5px; }
.pro-ev-t tbody th { white-space: normal; text-align: left; }
.pro-ev-t td select { width: 100%; padding: 6px 8px; font-size: 12.5px; }
.pro-ev-t input.pro-ev-score { width: 72px; padding: 5px 6px; text-align: right; font-size: 12.5px; }
.pro-ev-t input.pro-ev-score[readonly] { background: #f4f6f9; color: var(--gw-text-sub); }
.pro-ev-t tfoot th, .pro-ev-t tfoot td { background: #f7f9fc; font-weight: 600; }
.pro-ev-t .pro-ev-total { font-size: 15px; color: var(--gw-pri); }
.pro-ev-t .pro-ev-ref { color: var(--gw-text-sub); font-size: 12px; background: #fbfcfe; white-space: nowrap; }
.pro-ev-rm { margin-top: 3px; font-size: 11.5px; color: var(--gw-muted); }
.pro-ev-hse { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.pro-ev-hse select { width: auto; min-width: 120px; }
.pro-ev-hse span { color: var(--gw-text-sub); font-size: 12.5px; }
.pro-ev-detail { margin-top: 8px; border: 1px solid var(--gw-line-soft); border-radius: 6px; padding: 6px 10px; }
.pro-ev-detail > summary { cursor: pointer; font-size: 12.5px; color: var(--gw-text-sub); }
.pro-ev-detail[open] > summary { margin-bottom: 8px; }

/* 재무효과 산출표 */
.pro-eff-t th { font-size: 12px; white-space: nowrap; }
.pro-eff-t td input, .pro-eff-t td select { padding: 5px 6px; font-size: 12.5px; min-width: 0; }
.pro-eff-t td input[inputmode=decimal] { text-align: right; }
.pro-eff-t tr.pro-eff-memo td { padding-top: 0; border-top: 0; }
.pro-eff-t tr.pro-eff-memo input { font-size: 12px; background: #fbfcfe; }
.pro-eff-t .pro-eff-amt, .pro-eff-t .pro-eff-sum { color: var(--gw-pri); }

/* 상세검색 */
.pro-search-q { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pro-search-q select { width: auto; }
.pro-search-q input[name=q] { flex: 1 1 260px; width: auto; }
.pro-list-hd {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin: 4px 0 8px; font-size: 13px;
}
.pro-list-hd select { width: auto; }
.pro-legend { color: var(--gw-text-sub); font-size: 12.5px; }
.pro-kd {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 4px; margin-right: 4px;
  font-size: 11px; font-weight: 700; color: #fff; vertical-align: 1px;
}
.pro-kd-s { background: var(--gw-pri); }
.pro-kd-i { background: #6b7a90; }
.pro-sum-row td, .pro-sum-row th { background: #f7f9fc; font-weight: 600; }

/* 제안 현황 (Over View) */
.pro-ov-year { margin-bottom: 12px; }
.pro-ov { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.pro-ov > .gw-card { margin: 0; }
.pro-ov-me, .pro-ov-stage, .pro-ov-best { grid-column: span 4; }
.pro-ov-kpi, .pro-ov-chart { grid-column: span 8; }
.pro-ov-who { margin-bottom: 8px; font-size: 14px; }
.pro-ov-who .gw-muted { margin-left: 6px; font-size: 12.5px; }
.pro-ov-mile {
  display: flex; align-items: baseline; gap: 6px; padding: 10px 12px; margin-bottom: 10px;
  border-radius: 6px; background: #eef4fd; color: var(--gw-text);
}
.pro-ov-mile span { font-size: 12.5px; color: var(--gw-text-sub); }
.pro-ov-mile b { font-size: 24px; color: var(--gw-pri); }
.pro-ov-mile .gw-btn { margin-left: auto; }
.pro-ov-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.pro-ov-dl > div { padding: 8px; border: 1px solid var(--gw-line-soft); border-radius: 6px; text-align: center; }
.pro-ov-dl dt { font-size: 12px; color: var(--gw-text-sub); }
.pro-ov-dl dd { margin: 3px 0 0; font-size: 18px; font-weight: 700; }
.pro-ov-dl dd small, .pro-ov-kpi b small { font-size: 11.5px; font-weight: 500; color: var(--gw-muted); margin-left: 2px; }
.pro-ov-kpi .gw-kpi b { display: block; font-size: 20px; margin-top: 4px; }

.pro-bars {
  display: flex; align-items: stretch; gap: 8px; height: 190px;
  padding: 0 4px; border-bottom: 1px solid var(--gw-line);
}
.pro-bar {
  flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  min-width: 0; cursor: default;
}
.pro-bar-f {
  display: block; width: 62%; max-width: 30px; min-height: 0;
  background: var(--gw-pri); border-radius: 4px 4px 0 0;
}
.pro-bar:hover .pro-bar-f { background: var(--gw-pri-dark); }
.pro-bar-v { font-size: 11.5px; color: var(--gw-text-sub); margin-bottom: 3px; }
.pro-bar-x { order: 3; margin-top: 4px; font-size: 11.5px; color: var(--gw-muted); }
.pro-ov-tbl { margin-top: 8px; }
.pro-ov-tbl > summary { cursor: pointer; font-size: 12.5px; color: var(--gw-text-sub); }

.pro-flow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pro-flow li {
  flex: 1 1 70px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; border: 1px solid var(--gw-line-soft); border-radius: 6px; background: #fbfcfe;
}
.pro-flow li span { font-size: 12px; color: var(--gw-text-sub); white-space: nowrap; }
.pro-flow li b { font-size: 18px; }
.pro-todo { margin: 0; padding: 0; list-style: none; }
.pro-todo li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 7px 2px; border-top: 1px solid var(--gw-line-soft); font-size: 13px;
}
.pro-todo li:first-child { border-top: 0; }
.pro-todo li > a { flex: 1 1 auto; min-width: 0; }
.pro-todo li > b { color: var(--gw-pri); }
.pro-rank { margin: 0; padding: 0; list-style: none; }
.pro-rank li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 7px 2px; border-top: 1px solid var(--gw-line-soft); font-size: 13px;
}
.pro-rank li:first-child { border-top: 0; }
.pro-rank-no {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; background: #eef2f8; font-size: 12px; font-weight: 700; color: var(--gw-text-sub);
}
.pro-rank li:first-child .pro-rank-no { background: var(--gw-pri); color: #fff; }
.pro-rank-nm small { display: block; color: var(--gw-muted); font-size: 11.5px; }
.pro-rank-v { font-size: 12.5px; color: var(--gw-text-sub); white-space: nowrap; }

@media (max-width: 1180px) {
  .pro-ov-me, .pro-ov-stage, .pro-ov-best { grid-column: span 6; }
  .pro-ov-kpi, .pro-ov-chart { grid-column: span 12; }
}
@media (max-width: 760px) {
  .pro-ov > * { grid-column: span 12 !important; }
  .pro-ov-dl { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------
   제안 등록 — 작업요청서 등록 화면과 같은 모양
   파란 구획 제목(옆으로 가는 선) · 칸 위에 라벨 · 한 줄 4칸
   --------------------------------------------------------------------- */
.pro-wf { padding: 16px 18px 6px; }
.pro-wf [hidden] { display: none !important; }
.pro-sec { margin-bottom: 18px; }
.pro-sec-t {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-size: 12.5px; font-weight: 800; color: var(--gw-pri);
}
.pro-sec-t::after { content: ""; flex: 1; height: 1px; background: var(--gw-line-soft); }
.pro-sec-t .req, .pro-fld > label .req { color: var(--gw-no); margin-left: 2px; }
.pro-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.pro-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pro-fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pro-fld.col2 { grid-column: span 2; }
.pro-fld > label { font-size: 11.5px; font-weight: 700; color: var(--gw-text-sub); }
.pro-wf input[type=text], .pro-wf input[type=date], .pro-wf input[type=number],
.pro-wf select, .pro-wf textarea {
  padding: 7px 9px; font-size: 12.5px; border-radius: 6px;
}
.pro-wf input[readonly] { background: #f5f7fa; color: var(--gw-text-sub); }
.pro-wf input:focus, .pro-wf select:focus, .pro-wf textarea:focus {
  border-color: var(--gw-pri); box-shadow: 0 0 0 2px #e6eefb;
}
/* 라디오 묶음 — 입력칸과 같은 높이의 테두리 상자 안에 둔다 */
.pro-opts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 33px;
  padding: 4px 9px; border: 1px solid var(--gw-line); border-radius: 6px; background: #fff;
  font-size: 12.5px;
}
.pro-opts label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.pro-opts input { width: auto; margin: 0; }
/* 입력칸 + 단추 한 줄 (제목 · 공동 제안자 · 첨부) */
.pro-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pro-row > input[type=text], .pro-row > select { flex: 1 1 260px; width: auto; min-width: 0; }
.pro-row > .gw-btn { flex: none; }
.pro-joint { margin: 12px 0 4px; }
.pro-note { margin: 7px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--gw-muted); }
.pro-wf .note-editor { margin-top: 0; }

@media (max-width: 1180px) {
  .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pro-grid, .pro-grid.g2 { grid-template-columns: minmax(0, 1fr); }
  .pro-fld.col2 { grid-column: span 1; }
}

/* ---------------------------------------------------------------------
   제안 검색 조건 — 한 줄로 모은다 (이름표 없이 칸 안에 이름이 보인다)
   넓은 화면에서는 한 줄, 좁으면 칸이 줄어들며 아래로 내려간다.
   모바일은 3칸씩 촘촘하게.
   --------------------------------------------------------------------- */
.pro-search { padding: 10px 12px; }
.pro-search-q { margin-bottom: 8px; }
.pro-search-q select, .pro-search-q input, .pro-search-q .gw-btn { padding-top: 6px; padding-bottom: 6px; font-size: 12.5px; }
.pro-flt { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-flt > select, .pro-flt > input {
  flex: 1 1 96px; min-width: 0; max-width: 150px; width: auto;
  padding: 5px 6px; font-size: 12px; border-radius: 6px;
}
.pro-flt > input[type=text]::placeholder { color: var(--gw-text); opacity: .75; }
.pro-flt-d { display: flex; align-items: center; gap: 3px; flex: 1.7 1 232px; min-width: 0; max-width: 270px; }
.pro-flt-d input {
  flex: 1 1 0; min-width: 0; width: auto; padding: 5px 4px; font-size: 12px; border-radius: 6px;
}
.pro-flt-d span { color: var(--gw-text-sub); font-size: 12px; }

@media (max-width: 760px) {
  .pro-search { padding: 8px; }
  .pro-search-q { gap: 4px; margin-bottom: 6px; }
  .pro-search-q input[name=q] { flex: 1 1 100%; order: 3; }
  .pro-search-q select { flex: 1 1 0; }
  .pro-search-q .gw-btn { flex: 1 1 0; text-align: center; order: 4; }
  .pro-flt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .pro-flt > select, .pro-flt > input { flex: none; max-width: none; width: 100%; padding: 5px 4px; font-size: 11.5px; }
  .pro-flt-d { grid-column: 1 / -1; max-width: none; }
  .pro-flt-d input { font-size: 11.5px; }
}


/* =====================================================================
   조회조건(필터) 최소화 — 제안관리 · 회의록관리 · 계정 관리 공통
   .gw-filter / .gw-inline-form 을 쓰는 모든 화면에 적용된다.
   칸 높이 · 글자 · 여백을 줄여 한 줄에 최대한 모으고,
   모바일에서는 2~3칸씩 묶어 줄 수를 줄인다.
   ===================================================================== */
.gw-filter {
  gap: 5px 6px; margin-bottom: 10px; padding-bottom: 10px;
}
.gw-filter input[type=text], .gw-filter input[type=search] {
  width: 170px; flex: 1 1 130px; max-width: 260px;
}
.gw-filter select, .gw-filter input[type=date], .gw-filter input[type=text],
.gw-filter input[type=search], .gw-filter input[type=month], .gw-filter input[type=number],
.gw-inline-form select, .gw-inline-form input[type=text], .gw-inline-form input[type=date],
.gw-inline-form input[type=number] {
  padding: 5px 7px; font-size: 12px; border-radius: 6px;
}
.gw-filter select { max-width: 170px; }
.gw-filter input[type=date], .gw-inline-form input[type=date] { padding-right: 4px; }
.gw-filter label { font-size: 12px; gap: 4px; }
.gw-filter .gw-btn, .gw-inline-form .gw-btn { padding: 5px 11px; font-size: 12px; }
.gw-filter .gw-btn-sm, .gw-inline-form .gw-btn-sm { padding: 4px 9px; }
.gw-filter label.gw-check { margin-bottom: 0; }
.gw-inline-form { gap: 5px 6px; margin: 8px 0; }

@media (max-width: 760px) {
  /* 선택 칸은 3칸씩, 날짜 · 검색어는 2칸씩 */
  .gw-filter, .gw-inline-form { gap: 4px; margin-bottom: 8px; padding-bottom: 8px; }
  .gw-filter > select, .gw-inline-form > select {
    flex: 1 1 calc(33.33% - 4px); width: auto; min-width: 0; max-width: none;
  }
  .gw-filter > input[type=text], .gw-filter > input[type=search], .gw-filter > input[type=date],
  .gw-filter > input[type=month], .gw-filter > input[type=number],
  .gw-inline-form > input[type=text], .gw-inline-form > input[type=date],
  .gw-inline-form > input[type=number] {
    flex: 1 1 calc(50% - 4px); width: auto; min-width: 0; max-width: none;
  }
  /* "기간 [날짜] ~ [날짜]" 한 묶음은 한 줄 */
  .gw-filter > label { flex: 1 1 100%; }
  .gw-filter > label input[type=date] { flex: 1 1 0; width: auto; min-width: 0; }
  .gw-filter > .gw-btn, .gw-inline-form > .gw-btn { flex: 1 1 0; text-align: center; padding: 6px 4px; }
  .gw-filter > a.gw-btn, .gw-inline-form > a.gw-btn { flex: 1 1 0; }
}

/* 제안 등록 목록의 "+ 제안등록" 단추 — 검색줄 맨 오른쪽 */
.pro-search-q .pro-add { margin-left: auto; font-weight: 700; }
@media (max-width: 760px) {
  .pro-search-q .pro-add { margin-left: 0; flex: 1 1 100%; order: 5; }
}

/* 제안 등록 · 수정의 삭제 단추 — 왼쪽 끝에 따로 둔다 */
.gw-form-btns .pro-del { margin-right: auto; }


/* ---------------------------------------------------------------------
   좌측 메뉴 옆 빨간 숫자 (결재할 건수)
   --------------------------------------------------------------------- */
.gw-nav-badge {
  margin-left: auto; flex: none;
  min-width: 18px; padding: 1px 6px; border-radius: 9px;
  background: #e5392f; color: #fff; text-align: center;
  font-size: 10.5px; font-weight: 700; line-height: 1.5;
}
html.side-min .gw-nav-item { position: relative; }
html.side-min .gw-nav-badge {
  position: absolute; top: 3px; right: 5px; margin: 0;
  min-width: 15px; padding: 0 4px; font-size: 9.5px; line-height: 1.45;
}

/* ---------------------------------------------------------------------
   결재 카드 — 작업요청 상세와 같은 모양 (lib.php pro_appr_cards)
     1단계 [승인]  2단계 [결재차례]  3단계 [대기]
   --------------------------------------------------------------------- */
.pro-ap-line { margin-bottom: 14px; }
.pro-ap-line:last-child { margin-bottom: 0; }
.pro-ap-line > h4.gw-title { margin: 0 0 8px; font-size: 13px; }
.pro-ap { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-ap.off { opacity: .72; }
.pro-apc {
  flex: 0 0 auto; width: 128px; min-height: 96px;
  border: 1px solid var(--gw-line); border-radius: 8px; background: #fff; overflow: hidden;
  font-size: 12.5px;
}
.pro-apc .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 9px; font-size: 11.5px; font-weight: 700;
  background: #f1f3f7; color: var(--gw-text-sub);
}
.pro-apc.ok   .hd { background: #e8f5ee; color: var(--gw-ok); }
.pro-apc.turn .hd { background: #e7effd; color: var(--gw-pri); }
.pro-apc.no   .hd { background: #fdecea; color: var(--gw-no); }
.pro-apc.turn { border-color: #b9cdf3; }
.pro-apc .bd { padding: 8px 9px 9px; }
.pro-apc .nm { font-size: 14px; font-weight: 700; color: var(--gw-text); word-break: keep-all; }
.pro-apc .sub { margin-top: 2px; font-size: 12px; color: var(--gw-muted); }
.pro-apc .sub em { font-style: normal; color: var(--gw-text-sub); }
.pro-apc .dt { margin-top: 7px; font-size: 11.5px; color: var(--gw-muted); }
.pro-apc .op { margin-top: 3px; font-size: 12px; color: var(--gw-text-sub); word-break: break-all; }
.pro-apc .bd form { margin-top: 8px; }
.pro-ap-px {
  display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 8px;
  background: #fdf3e0; color: var(--gw-warn); font-size: 10.5px; font-weight: 600; vertical-align: 1px;
}
.pro-ap-act { margin: 8px 0 0; }

/* 진행 중인 결재 목록의 진행 막대 */
.pro-ap-prog {
  display: inline-block; width: 70px; height: 6px; margin-right: 6px; border-radius: 3px;
  background: #e8ecf2; vertical-align: 1px; overflow: hidden;
}
.pro-ap-prog i { display: block; height: 100%; background: var(--gw-pri); }

@media (max-width: 760px) {
  .pro-apc { width: calc(50% - 4px); }
}
