/* ════════════════════════════════════════════════════════════════
   비용 관리 뷰 (Cost View) — 전용 스타일
   · index.html 인라인 <style>에서 분리(데스크탑+모바일 @media 전부).
   · :root 디자인 토큰(--surface/--line/--brand 등)은 index.html이 정의 —
     여기서는 var() 참조만 한다.
   · JS는 static/js/cost.js (window.CostView)
   ════════════════════════════════════════════════════════════════ */
/* ════════ 비용 관리 뷰 ════════ */
/* 뷰 전환 — 비용 관리 활성 시 대시보드 섹션·배너/빈상태 숨김(#costView만 표시).
   SPA 섹션 show/hide 방식: 퍼포먼스 채널 복귀 시 클래스 제거로 원래 대시보드 무손상 복원. */
.container.view-cost > .section:not(#costView),
.container.view-cost > #bannerSlot,
.container.view-cost > #emptySlot { display: none; }

.cost-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}
.cost-form { display: grid; gap: 14px; }
.cost-form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.cost-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cost-field-grow { flex: 1 1 220px; }
.cost-field > label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.cost-input {
  height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); font-size: 14px; color: var(--text); font-family: inherit;
}
.cost-input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
select.cost-input { padding-right: 8px; }
/* 카테고리 칩 — 한 줄(좁으면 줄바꿈), 선택은 세이지 브랜드 */
.cost-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cost-chip {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; line-height: 1;
}
.cost-chip:hover { background: var(--surface-3); }
.cost-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
/* 칩 아래 보조 안내 한 줄 — 작고 muted, 거슬리지 않게 */
.cost-note { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
/* 기간 일할 분배 토글 + 범위 */
.cost-split-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; padding-bottom: 9px; }
.cost-split-toggle input { accent-color: var(--brand); width: 16px; height: 16px; cursor: pointer; }
.cost-split-range { display: inline-flex; align-items: center; gap: 6px; }
.cost-split-range[hidden] { display: none; }
.cost-split-tilde { color: var(--muted); }
.cost-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.cost-actions .btn { width: auto; padding: 10px 16px; font-size: 14px; }
.cost-btn-ghost { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text-2); border-radius: 10px; cursor: pointer; font-family: inherit; font-weight: 600; }
.cost-btn-ghost:hover:not(:disabled) { background: var(--surface-3); }
.cost-btn-ghost:disabled { opacity: .5; cursor: default; }
.cost-edit-cap { color: var(--chart-line-ink); }
/* scope 토글(퍼포먼스/시스템/전체) — 작게. unit-btn과 분리(전역 단위 토글 핸들러 오염 방지) */
.cost-scope { display: inline-flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.cost-scope-btn { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; line-height: 1; }
.cost-scope-btn.is-active { background: var(--surface); color: var(--brand); box-shadow: 0 1px 2px rgba(16, 24, 32, .08); }
/* 내역 필터 */
.cost-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.cost-filter .cost-input { height: 34px; font-size: 13px; }
.cost-filter-vendor { width: 180px; }

/* 필터 줄 높이 통일(#96) — 커스텀 드롭다운(.cs-btn)이 38px 인데 거래처 입력·초기화
   버튼만 34px 이라 눈에 띄게 어긋났다(2026-07-30 사용자 지적).
   기간 버튼(.cost-cal-btn)도 같은 줄이라 함께 맞춘다. */
.cost-filter .cost-input,
.cost-filter .cost-filter-vendor,
.cost-filter .btn,
.cost-filter .cal-trigger { height: 38px; box-sizing: border-box; }
/* 내역 테이블 — 기존 카드/세이지 톤 일관, 모바일 가로 스크롤(.table-scroll 재사용) */
.cost-grid { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 860px; }
.cost-grid thead th {
  background: var(--thead-bg); color: var(--text-2); font-weight: 600; text-align: left;
  padding: 9px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
.cost-grid td { padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; color: var(--text); background: var(--surface); }
.cost-grid tbody tr:nth-child(even) td { background: var(--surface-3); }
.cost-grid td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.cost-grid td.memo { white-space: normal; min-width: 160px; max-width: 340px; color: var(--text-2); }
.cost-grid td.cost-empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.cost-cat-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sage-tint); color: var(--brand-ink); font-size: 12px; font-weight: 600; }
.cost-cat-badge.is-system { background: var(--surface-2); color: var(--muted); }
.cost-act-btn { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--text-2); font-family: inherit; font-weight: 600; }
.cost-act-btn:hover { background: var(--surface-3); }
.cost-act-btn.danger { color: var(--neg); border-color: #F0CFCF; }
.cost-act-btn.danger:hover { background: var(--neg-bg); }
.cost-act-btn + .cost-act-btn { margin-left: 6px; }
/* 표 인라인 귀인채널·반영 항목 선택(#40) — 좁게, 변경 즉시 저장(별도 저장 버튼 없음) */
.cost-channel-select-inline, .cost-item-select-inline { height: 30px; padding: 0 8px; font-size: 12px; min-width: 132px; }
.cost-channel-select-inline:disabled, .cost-item-select-inline:disabled { opacity: .6; }
.cost-more-wrap { display: flex; justify-content: center; margin-top: 12px; }
.cost-more-wrap .btn { width: auto; padding: 9px 22px; font-size: 13px; }
.cost-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
/* ── 비용 관리 날짜 선택 — 기간 설정과 동일 Cally 캘린더(트리거 알약 + 팝오버) ──
   네이티브 input[type=date]는 값 보관용으로 유지(cost-native-only — 기존 JS가 .value를
   그대로 읽고 씀). Cally 정상 시 숨기고 트리거가 표시 담당, 로드 실패(.no-cally) 시 노출. */
.cost-cal { position: relative; display: inline-flex; min-width: 0; }
.cost-native-only { display: none; }
.no-cally .cost-native-only { display: inline-block; }
.no-cally .cost-cal { display: none; }
/* 폼/필터 트리거 높이를 주변 인풋과 정렬 */
.cost-form .cal-trigger { min-height: 38px; padding: 8px 12px; }
.cost-filter .cal-trigger { min-height: 34px; padding: 6px 12px; font-size: 12.5px; }

/* 모바일 — 폼 세로 스택, 필터 줄바꿈, 테이블은 .table-scroll 가로 스크롤 */
@media (max-width: 639px) {
  .cost-cal { flex: 1 1 100%; }
  .cost-cal .cal-trigger { width: 100%; min-height: 44px; justify-content: space-between; box-sizing: border-box; }
  .cost-form-row { flex-direction: column; align-items: stretch; }
  .cost-field, .cost-field-grow { width: 100%; }
  .cost-split-range { width: 100%; }
  .cost-split-range .cost-input { flex: 1 1 0; min-width: 0; }
  .cost-actions { margin-left: 0; width: 100%; }
  .cost-actions .btn { flex: 1 1 0; }
  .cost-filter .cost-field { flex: 1 1 46%; }
  .cost-filter-vendor { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   커스텀 드롭다운 (.cs-*) — 2026-07-29
   · 네이티브 <select> 대신. 그룹 헤더·부가 설명(hint)을 보여줘야 하는데
     <optgroup>으로는 톤이 안 맞고 OS마다 모양이 달라서 직접 그린다.
   · 톤은 기존 .table-target-pop(common.css) 그대로 — 새 디자인 아님.
     크기만 폼 컨트롤(.cost-input 높이 38px)에 맞춘다.
   · 원본 <select>는 숨겨두고 값 보관용으로 남긴다(폼 제출·수정모드 그대로 동작).
   ════════════════════════════════════════════════════════════════ */
.cs { position: relative; display: block; }
.cs-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
             overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.cs-btn {
  appearance: none; width: 100%; height: 38px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font-family: inherit; font-size: 14px; line-height: 1.2;
  cursor: pointer; text-align: left;
}
.cs-btn:hover { border-color: var(--muted); }
.cs-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.cs-btn[aria-expanded="true"] { border-color: var(--brand); }
.cs-btn-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn.is-empty .cs-btn-text { color: var(--muted); }
.cs-caret {
  flex: 0 0 auto; width: 8px; height: 8px; margin-right: 3px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg); transition: transform .16s ease;
}
.cs-btn[aria-expanded="true"] .cs-caret { transform: translateY(1px) rotate(225deg); border-color: var(--brand); }

.cs-pop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70;
  max-height: 330px; overflow-y: auto; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 1px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.cs-pop[hidden] { display: none; }

/* 목록 안 검색(#96) — 항목이 많을 때(9개 이상)만 나타난다.
   스크롤해도 검색창은 위에 붙어 있어야 한다(sticky). */
.cs-search {
  position: sticky; top: -6px; z-index: 1;
  margin: -6px -6px 4px; padding: 6px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.cs-search-input {
  width: 100%; box-sizing: border-box; height: 30px; padding: 0 10px;
  font-family: inherit; font-size: 13px; color: var(--text-1);
  background: var(--surface-2, var(--surface)); border: 1px solid var(--line);
  border-radius: 8px; outline: none;
}
.cs-search-input:focus { border-color: var(--line-strong); }
.cs-search-input::-webkit-search-cancel-button { cursor: pointer; }
.cs-empty { padding: 10px 12px; font-size: 13px; color: var(--muted, var(--text-2)); }
.cs-pop::-webkit-scrollbar { width: 8px; }
.cs-pop::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px;
  border: 2px solid transparent; background-clip: padding-box; }

.cs-group { padding: 9px 10px 4px; display: flex; flex-direction: column; gap: 1px; }
.cs-group:first-child { padding-top: 4px; }
.cs-group-name { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.cs-group-hint { font-size: 11px; color: var(--faint, var(--muted)); opacity: .85; }

.cs-opt {
  appearance: none; width: 100%; border: 0; background: transparent;
  font-family: inherit; font-size: 13.5px; color: var(--text);
  text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.cs-opt:hover, .cs-opt.is-active { background: var(--surface-2); }
.cs-opt[aria-selected="true"] { background: var(--sage-tint); color: var(--brand); font-weight: 600; }
.cs-opt:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.cs-sep { height: 1px; background: var(--line); margin: 4px 6px; flex: 0 0 auto; }

/* 선택 결과 안내 — "이 비용이 어디에 찍히는지" 한 줄 */
.cs-echo {
  margin: 6px 0 0; font-size: 12px; line-height: 1.5;
  color: var(--brand); display: flex; align-items: flex-start; gap: 5px;
}
.cs-echo.is-warn { color: var(--warn, #b4531f); }
.cs-echo:empty { display: none; }

@media (max-width: 639px) {
  .cs-pop { max-height: 60vh; }
}

/* ── 표 안 인라인 드롭다운 (.cs-cell) — 2026-07-29 ─────────────────
   행마다 팝업을 만들면 200행 × 2개 = 400개가 되니, 팝업은 **하나만** 만들어
   공유하고 위치만 옮긴다(.cs-cell-pop, body 직속 position:fixed).
   값은 기존 인라인 <select>가 그대로 보관 — 변경 시 PUT 배선을 안 건드린다. */
.cs-cell { position: relative; display: block; }
.cs-cell > select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
                    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cs-cell-btn {
  appearance: none; width: 100%; max-width: 150px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 8px 0 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text);
  font-family: inherit; font-size: 12.5px; line-height: 1.2;
  cursor: pointer; text-align: left;
}
.cs-cell-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.cs-cell-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.cs-cell-btn[aria-expanded="true"] { border-color: var(--brand); background: var(--sage-tint); color: var(--brand); }
.cs-cell-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-cell-btn.is-empty .cs-cell-text { color: var(--muted); }
.cs-cell-btn .cs-caret { width: 7px; height: 7px; margin-right: 1px; }

/* 공유 팝업 — 화면 좌표로 띄운다(표가 가로/세로 스크롤돼도 버튼 옆에 붙게) */
.cs-cell-pop {
  position: fixed; z-index: 200;
  min-width: 190px; max-width: 260px; max-height: 300px; overflow-y: auto;
  padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 1px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.cs-cell-pop[hidden] { display: none; }
.cs-cell-pop::-webkit-scrollbar { width: 8px; }
.cs-cell-pop::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px;
  border: 2px solid transparent; background-clip: padding-box; }

/* ⛔ [hidden] 이 .cost-chips{display:flex} / .cost-field{display:flex} 에 눌려 안 먹던 문제
   (2026-07-29 실측: hidden 속성은 True 인데 getComputedStyle 은 flex).
   hidden 은 브라우저 기본 display:none 이라 뒤에 온 flex 규칙이 이긴다 → 명시적으로 되돌린다. */
.cost-chips[hidden], .cost-field[hidden], .cs[hidden] { display: none !important; }
/*  같은 이유로 '수정 취소' 버튼(.btn{display:inline-flex})도 hidden 이 안 먹어
    신규 입력인데 계속 보였다(2026-07-29 사용자 지적 — 뭘 취소하는지 알 수 없음). */
.cost-form .btn[hidden], .cost-actions .btn[hidden] { display: none !important; }

/* ⛔ 팝업이 칸 너비에 갇혀 글자가 줄바꿈되던 문제(2026-07-29 실측: "스마트\A스토어").
   .cs-pop 은 left:0;right:0 이라 좁은 칸에서는 폭이 칸을 따라간다 → 최소 폭을 주고
   내용은 한 줄 유지. 오른쪽 끝 칸이면 화면 밖으로 안 나가게 오른쪽 기준으로 편다. */
.cs-pop { min-width: 240px; right: auto; }
.cs-pop .cs-opt, .cs-pop .cs-group-name { white-space: nowrap; }
.cs-pop .cs-group-hint { white-space: normal; }
.cs:has(> .cs-pop) { position: relative; }
/* ⛔ 귀인채널 팝업을 오른쪽 정렬했던 규칙은 삭제(2026-07-29).
   칸이 좁던 시절 화면 밖 이탈을 막으려던 건데, 첫 줄 1:1:1 균등 분배 후에는
   칸(337px)이 팝업(240px)보다 넓어 이탈이 없다. 오른쪽 정렬은 버튼과
   팝업 왼쪽 끝이 어긋나 보이기만 한다 → 다른 드롭다운처럼 왼쪽 기준으로 통일. */

/* 첫 줄 — 증빙일은 날짜 크기만, 남는 폭을 '어디에 반영할까요?'와 귀인채널이 반반(2026-07-29).
   ⚠ .cost-field-grow 의 flex 를 여기서 덮으므로 이 규칙이 그 뒤에 와야 한다(순서 의존).
   min-width:0 이 없으면 내용 폭 때문에 반반이 깨진다. */
.cost-form-row:first-child > .cost-field { flex: 0 0 auto; }
.cost-form-row:first-child > .cost-field-grow,
.cost-form-row:first-child > .cost-field-ch { flex: 1 1 0; min-width: 0; }
@media (max-width: 639px) {
  .cost-form-row:first-child > .cost-field,
  .cost-form-row:first-child > .cost-field-grow,
  .cost-form-row:first-child > .cost-field-ch { flex: 1 1 100%; }
  .cost-field-ch .cs-pop { left: 0; right: 0; min-width: 0; }
}

/* ⛔ 첫 줄 균등 분배(1:1:1) 후에도 증빙일만 좁아 보이던 문제(2026-07-29).
   칸(.cost-field) 폭은 337px 로 같은데 안의 .cost-cal 이 inline-flex 라
   내용 크기만 차지했다 → 입력 폼에서는 칸을 꽉 채운다(다른 두 칸과 시각적으로 동일).
   ⚠ 필터(.cost-filter)의 날짜는 지금 폭이 적당하므로 건드리지 않는다. */
/* ⚠ 한때 width:100% 로 칸을 꽉 채웠으나(1:1:1 시절) 날짜 칸이 과하게 넓어져 되돌림.
   지금은 날짜 내용 크기 그대로 두고, 남는 폭은 반영·귀인채널이 나눠 갖는다. */



/* ── 일괄 수정(#96) ─────────────────────────────────────────── */
/* 선택 열 — 좁게 고정. 체크박스만 들어간다. */
.cost-sel-th, .cost-sel-td { width: 36px; text-align: center; padding-left: 8px; padding-right: 4px; }
.cost-sel-th input, .cost-sel-td input { cursor: pointer; width: 15px; height: 15px; accent-color: var(--brand); }

/* 선택 바 — 하나라도 고르면 표 위에 나타난다. */
.cost-bulk-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.04));
}
.cost-bulk-bar[hidden] { display: none; }
.cost-bulk-count { font-size: 13px; font-weight: 700; color: var(--text-1); margin-right: auto; }
.cost-bulk-bar .btn { height: 32px; padding: 0 14px; font-size: 13px; }

/* 일괄 수정 — 폼 안내문 · 세금 '함께 변경' 체크 */
.cost-bulk-note { color: var(--brand-ink, var(--text-2)); font-weight: 600; }
.cost-bulk-only { margin-left: 8px; font-weight: 500; color: var(--muted); }
.cost-bulk-only input { accent-color: var(--brand); vertical-align: -2px; margin-right: 2px; }

/* 확인 모달 — window.confirm 대신. 무엇이 몇 건 바뀌는지 보여준다. */
.cost-confirm-ov {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(16, 24, 32, .38); padding: 20px;
}
.cost-confirm {
  width: min(440px, 100%); background: var(--surface); border-radius: 16px; padding: 22px;
  box-shadow: 0 18px 48px rgba(16, 24, 32, .22); border: 1px solid var(--line);
}
.cost-confirm-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--text-1); }
.cost-confirm-list { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 5px; }
.cost-confirm-list li { font-size: 13.5px; color: var(--text); }
.cost-confirm-warn { margin: 0 0 16px; font-size: 12.5px; color: var(--neg); font-weight: 600; }
.cost-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cost-confirm-actions .btn { width: auto; padding: 9px 18px; font-size: 13.5px; }

/* 위험 동작 버튼(일괄 삭제) — 되돌릴 수 없는 작업만 이 톤을 쓴다. */
.cost-btn-danger {
  background: var(--neg, #C0392B); border: 1px solid var(--neg, #C0392B); color: #fff;
  border-radius: 10px; cursor: pointer; font-family: inherit; font-weight: 600;
}
.cost-btn-danger:hover:not(:disabled) { filter: brightness(.94); }
.cost-btn-danger:disabled { opacity: .5; cursor: default; }

/* 표 인라인 증빙일(#96) — 셀 안에서 바로 고친다.
   ⛔ 배경은 **투명**이어야 한다. 흰색으로 두면 짝수 행 회색 줄무늬 위에서 흰 네모가
      떠 보인다(2026-07-31 사용자 지적). 네이티브 date picker 도 같은 이유로 버렸다. */
.cost-date-btn {
  padding: 4px 6px; font-family: inherit; font-size: 13px; line-height: 1.2;
  color: var(--text); background: transparent;
  border: 1px solid transparent; border-radius: 7px; cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.cost-date-btn:hover:not(:disabled) { border-color: var(--line-strong); background: var(--surface); }
.cost-date-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -1px; }
.cost-date-btn:disabled { opacity: .55; cursor: default; }

/* 표 공유 캘린더 — 팝업만 쓰고 트리거는 각 행 버튼이 대신한다. */
.cost-row-cal { position: static; }
.cost-row-cal .cal-pop { position: fixed; z-index: 120; }
