/* ===================================================================
   GreenLink 공통 테마 — 그린보드와 같은 강철빛 유리 (style.css 맨 끝에서 불러온다)
   - 상태색(확정 초록 · 대기 호박색 · 반환 빨강)은 그대로 둔다. 현장에서 구분해야 해서.
   - 버튼에서는 초록을 뺀다 (중립 유리). 로그인 버튼만 슬레이트 블루 유리.
   - 카드·헤더 가장자리에 흰 선을 쓰지 않는다 (거의 보이지 않는 회색 선).
   - 인쇄·PDF(거래명세서, ISCC 자가신고서, ESG 리포트)는 흰 바탕 그대로.
   문제가 생기면 style.css 맨 끝의 @import 한 줄만 지우면 예전 모양으로 돌아간다.
   =================================================================== */

:root {
  --slate: #3c547e;
  --slate-d: #243860;
  --glass-edge: linear-gradient(rgba(40,52,78,.07), rgba(40,52,78,.07));   /* 흰 빛 대신 거의 안 보이는 회색 선 */
  --glass-shadow: 0 14px 36px rgba(40,58,90,.16), 0 2px 6px rgba(40,58,90,.08);
  --glass-solid: rgba(240,243,248,.97);
}

/* 바탕: 처음 화면과 같은 연한 회색 (푸른 기 없이 초록 기만 아주 약하게) */
body {
  background: #E0E3DF;
}

/* 유리판 */
.gl-card, .gl-table-wrap, .gl-toolbar, .gl-empty {
  background: linear-gradient(160deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 34%) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.5) 55%, rgba(255,255,255,.6) 100%) padding-box;
  border-color: rgba(96,114,108,.26);      /* 가장자리가 구간마다 사라지지 않게 처음부터 끝까지 같은 옅은 회색 선 */
}
.gl-card-head { border-bottom-color: rgba(30,45,75,.10); }

/* 표: 머리글은 옅은 회색 유리 + 아래 가는 줄, 칸 사이 세로줄 없이, 한 줄 걸러 아주 옅은 바탕 */
.gl-table th {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(205,216,207,.50));
  color: #26362d; font-weight: 700;
  border-bottom: 1px solid rgba(38,54,45,.28);
}
.gl-table th a { color: #26362d; }
.gl-table td { border-bottom-color: rgba(30,50,40,.06); }
.gl-table td + td, .gl-table th:not(:first-child) { border-left: none; }
.gl-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.28); }
.gl-table tbody tr:hover td { background: rgba(255,255,255,.55); }

/* 맨 위 메뉴: 캡슐 */
.gl-header, .topbar {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.64) 0%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.46) 100%) padding-box,
              var(--glass-edge) border-box;
  box-shadow: 0 12px 34px rgba(40,58,90,.18);
}
.gl-header { height: 58px; padding: 0 12px 0 22px; position: relative; transition: height .45s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.gl-topwrap.tight .gl-header { height: 48px; box-shadow: 0 10px 26px rgba(40,58,90,.2), 0 0 0 1px rgba(60,80,115,.12); }
.gl-nav a { color: #27364d; }
.gl-nav a:hover { color: #0b1524; }
.gl-nav a.active { color: #0b1524; }
.gl-user-id { border-right-color: rgba(30,45,75,.14); }
.gl-footer { border-top-color: rgba(30,45,75,.12); }
.gl-stage-link { background: rgba(30,45,75,.18); }

/* 헤더 메뉴: 마우스를 올리면 유리 알약이 따라간다 (theme.js) */
.gl-nav { position: relative; }
.gl-nav-pill {
  position: absolute; top: 50%; left: 0; height: 32px; margin-top: -16px; border-radius: 999px; pointer-events: none; opacity: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.5)); box-shadow: 0 4px 12px rgba(40,58,90,.14), 0 0 0 1px rgba(40,52,78,.05);
  transition: transform .4s cubic-bezier(.22,1,.36,1), width .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.gl-nav a { z-index: 1; transition: transform .3s cubic-bezier(.34,1.56,.64,1), color .2s; }
.gl-nav a:active { transform: scale(.94); }

/* 버튼: 알약 유리 (초록 없이 중립). 위쪽 얇은 빛 한 줄, 안쪽 아래 옅은 그림자 */
.gl-btn, .gl-btn-sm, .gl-btn-xs { border-radius: 999px; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s, border-color .25s; }
.gl-btn-primary, .gl-btn-accent {
  color: #101b2e; border: 1px solid rgba(40,52,78,.20);
  background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.40) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 2px rgba(60,80,115,.12), 0 6px 12px -8px rgba(40,58,90,.34);
}
.gl-btn-primary:hover, .gl-btn-accent:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.52) 100%); border-color: rgba(40,52,78,.32);
  transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 2px rgba(60,80,115,.14), 0 10px 16px -8px rgba(40,58,90,.38);
}
.gl-btn-ghost {
  color: #27364d; border: 1px solid rgba(60,80,115,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 2px rgba(90,110,160,.14), 0 8px 16px -8px rgba(40,58,90,.26);
}
.gl-btn-ghost:hover { background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.26)); border-color: rgba(60,80,115,.24); transform: translateY(-1px); }
.gl-btn-danger { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.3)); border-color: rgba(153,52,47,.3); }
.gl-btn:active { transform: scale(.97); box-shadow: inset 0 2px 4px rgba(40,58,90,.20); }
/* 로그인 버튼: 슬레이트 블루 유리 + 흰 글씨 */
.gl-btn-login, .login-page .gl-btn-primary, body.login-body .gl-btn-primary {
  position: relative; overflow: hidden; color: #fff; text-shadow: none; border: 1px solid rgba(30,50,90,.5);
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(60,84,126,.62), rgba(36,56,96,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 26px -8px rgba(36,56,96,.4);
}
.gl-btn-login:hover, .login-page .gl-btn-primary:hover, body.login-body .gl-btn-primary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.36) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(70,96,142,.7), rgba(42,64,108,.64));
  border-color: rgba(30,50,90,.62);
}
.gl-btn-login::after, body.login-body .gl-btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0)); transform: skewX(-18deg);
}
.gl-btn-login:hover::after, body.login-body .gl-btn-primary:hover::after { animation: gl-sweep .9s ease-out; }
@keyframes gl-sweep { to { left: 130%; } }

/* 처음 화면 사진 위의 버튼: 중립 유리는 어두운 사진 위에서 흐리게 보이므로 흰 글씨 투명 유리로 */
.hero-wrap .gl-btn-primary {
  color: #fff; border-color: rgba(255,255,255,.55); text-shadow: 0 1px 2px rgba(0,0,0,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px -8px rgba(0,0,0,.45);
}
.hero-wrap .gl-btn-primary:hover { background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.2)); border-color: rgba(255,255,255,.75); }
.hero-wrap .gl-btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); box-shadow: none; }

/* 입력칸·선택칸: 눌렀을 때 초록 대신 슬레이트 블루 테두리 (칸은 알약으로 만들지 않는다) */
.gl-input, .gl-field input[type=text], .gl-field input[type=password], .gl-field input[type=number],
.gl-field input[type=date], .gl-field input[type=datetime-local], .gl-field select,
.gl-toolbar input, .gl-toolbar select, .gl-pagesize-form select { border-color: rgba(40,52,78,.18); }
.gl-field input:focus, .gl-field select:focus, .gl-input:focus, .gl-toolbar input:focus, .gl-toolbar select:focus {
  outline: none; border-color: rgba(60,84,126,.7); box-shadow: 0 0 0 3px rgba(60,84,126,.16);
}
.gl-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(60,84,126,.22); }
.gl-check input { accent-color: var(--slate); }
.gl-pager a, .gl-pager span { border-color: rgba(30,45,75,.14); }
.gl-pager .on { background: var(--slate); border-color: var(--slate); }
.gl-totop { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.4)) padding-box, var(--glass-edge) border-box; }

/* 휴대폰: 헤더는 평평하게(아래 고정 메뉴가 헤더 안으로 올라오는 문제 방지) */
@media (max-width: 720px) {
  .gl-header, .topbar { border-radius: 0; }
  .gl-header { height: auto; transition: none; }
  .gl-nav-pill { display: none; }
  .gl-nav {
    background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.5)) padding-box, var(--glass-edge) border-box;
    box-shadow: 0 14px 34px rgba(40,58,90,.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-nav-pill, .gl-header, .gl-btn, .gl-nav a { transition: none; }
  .gl-btn-login::after, body.login-body .gl-btn-primary::after { display: none; }
}

@media print {
  body { background: #fff; }
  .gl-nav-pill { display: none; }
}

/* 장식으로 쓰던 초록(기사 이름 카드, 링크 글씨)은 중립으로. 상태색(확정·대기·반환)은 건드리지 않는다.
   페이지 안의 <style> 이 뒤에 오므로 body 를 붙여 우선순위를 높인다 */
body .who { background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.3)); border-color: rgba(40,52,78,.12); border-radius: 16px; }
body .who-avatar { background: var(--slate); }
body .who-link { color: #101b2e; text-decoration: underline; text-underline-offset: 3px; }
.gl-colpick input, input.pickRow, #pickAll { accent-color: var(--slate); }
.gl-table th a:hover, .gl-table th a.active { color: var(--slate); }
.gl-toolbar input:focus, .gl-toolbar select:focus { border-color: rgba(60,84,126,.7); }

/* 처리 단계 표시(기사 제출 → 수거업체 검토 → 확정): 본문과 같은 폭 안에서 가운데 정렬 */
.gl-stages { justify-content: center; padding: 12px 24px 0; }
@media (max-width: 720px) { .gl-stages { justify-content: flex-start; } }   /* 휴대폰은 옆으로 밀어 본다 */

/* 수거데이터 현황판 */
.gb{margin:0 0 22px}
.gb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}
.gb-k{padding:16px 18px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,0) 34%),linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.5) 55%,rgba(255,255,255,.6));border:1px solid rgba(40,52,78,.07);background-clip:padding-box;box-shadow:0 14px 36px rgba(40,58,90,.16),0 2px 6px rgba(40,58,90,.08)}
.gb-k small{display:block;font-size:12px;color:#4a5a73}
.gb-k b{display:block;font-size:27px;letter-spacing:-.02em;margin:3px 0 2px;font-variant-numeric:tabular-nums;color:#101b2e}
.gb-k b em{font-style:normal;font-size:14px;font-weight:500;color:#4a5a73;margin-left:3px}
.gb-k span{font-size:12px;color:#4a5a73}
.gb-k .up{color:#c2372a;font-weight:600}.gb-k .dn{color:#2160b0;font-weight:600}.gb-k .warn{color:#8a6100;font-weight:700}.gb-k .bad{color:#99342f;font-weight:700}
.gb-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
.gb-p{padding:18px 20px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,0) 34%),linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.5) 55%,rgba(255,255,255,.6));border:1px solid rgba(40,52,78,.07);background-clip:padding-box;box-shadow:0 14px 36px rgba(40,58,90,.16),0 2px 6px rgba(40,58,90,.08)}
.gb-p h3{margin:0 0 2px;font-size:14px;font-weight:700;color:#101b2e}.gb-p .s{font-size:12px;color:#4a5a73;margin:0 0 12px}
.gb-bars{display:flex;align-items:flex-end;gap:14px;height:190px;padding:0 4px;border-bottom:1px solid rgba(30,45,75,.3)}
.gb-bars div{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.gb-bars i{display:block;width:100%;max-width:56px;background:linear-gradient(180deg,rgba(52,128,92,.88),rgba(52,128,92,.62))}
.gb-bars div:last-child i{background:linear-gradient(180deg,#2b8a5e,#1d6e49)}
.gb-bars span{font-size:11.5px;font-weight:700;margin-bottom:4px;color:#101b2e}
.gb-lab{display:flex;gap:14px;padding:6px 4px 0}.gb-lab span{flex:1;text-align:center;font-size:11.5px;color:#4a5a73}.gb-lab span:last-child{font-weight:700;color:#101b2e}
.gb-split{display:flex;height:9px;margin:2px 0 12px;gap:2px}.gb-split i{display:block}
.gb-leg{display:grid;grid-template-columns:1fr auto;gap:5px 14px;font-size:12.5px;margin-bottom:16px}.gb-leg div{display:flex;align-items:center;gap:7px}.gb-leg i{width:9px;height:9px;display:inline-block}.gb-leg b{font-variant-numeric:tabular-nums}
.gb-rank{border-top:1px solid rgba(30,45,75,.12);padding-top:10px}
.gb-rank div{display:grid;grid-template-columns:90px 1fr 64px;align-items:center;gap:10px;font-size:12.5px;padding:4px 0}
.gb-rank .t{height:8px;background:rgba(60,84,126,.12);position:relative}.gb-rank .t i{position:absolute;inset:0 auto 0 0;background:#3c547e}
.gb-rank b{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:900px){.gb-kpis{grid-template-columns:1fr 1fr}.gb-row{grid-template-columns:minmax(0,1fr)}.gb-bars{gap:8px;height:150px}.gb-lab{gap:8px}.gb-p{padding:16px}}
.gb-bars:empty{display:none}
@media print{.gb{display:none}}

/* 반환·삭제·비활성 같은 되돌리거나 지우는 버튼 전체: 버튼 전체에 옅은 붉은 유리색 (한쪽만 번지지 않게) */
.gl-btn-return, .gl-btn.gl-btn-return, .gl-btn.gl-btn-danger {
  color: #5a1f1c;
  background: linear-gradient(180deg, rgba(240,170,166,.26) 0%, rgba(218,120,114,.15) 100%);
  border-color: rgba(176,52,46,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 2px rgba(150,50,45,.14), 0 6px 12px -8px rgba(120,40,36,.34);
}
.gl-btn-return:hover:not(:disabled), .gl-btn.gl-btn-danger:hover { color: #43140f; background: linear-gradient(180deg, rgba(240,165,160,.36) 0%, rgba(218,112,106,.22) 100%); }
.gl-btn-return:disabled { filter: saturate(.5); }

/* 현황판 조회 달 선택 */
.gb-month { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.gb-month label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4a5a73; }
.gb-month select { height: 34px; padding: 0 12px; border: 1.5px solid var(--n-300); border-radius: 12px; background: rgba(255,255,255,.85); font: inherit; font-size: 13px; color: #101b2e; }

/* 모든 표의 머리글은 가운데 정렬 (숫자 열 머리글 포함) */
body table th, body .gl-table th, body .gl-table th.gl-num, body .num th, body .num th:first-child { text-align: center; }

/* 슬라이드 알약 탭 (합산·캔·벌크, 매장정보 탭 등): 흰 유리 알약이 선택한 칸으로 탄력 있게 옮겨 간다 */
.kseg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(60,80,115,.10); box-shadow: inset 0 1px 2px rgba(40,58,90,.10); vertical-align: middle; }
.kseg a { position: relative; z-index: 1; padding: 6px 18px; font-size: 13px; line-height: 1.2; color: #4a5a73; text-decoration: none; border-radius: 999px; transition: color .2s ease .08s; white-space: nowrap; }
.kseg a.act { color: #0b1524; font-weight: 700; }
.kseg-pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, #fff, rgba(255,255,255,.82)); box-shadow: 0 2px 8px rgba(40,58,90,.16), 0 0 0 1px rgba(40,52,78,.05); transition: left .38s cubic-bezier(.34,1.45,.64,1), width .38s cubic-bezier(.34,1.45,.64,1); }
@media (prefers-reduced-motion: reduce) { .kseg-pill, .kseg a { transition: none; } }
/* 단순 토글(그래프 보기 전환 등)도 같은 흰 알약 */
.seg { display: inline-flex; padding: 3px; border: 0; border-radius: 999px; background: rgba(60,80,115,.10); box-shadow: inset 0 1px 2px rgba(40,58,90,.10); overflow: visible; }
.seg a, .seg button { border: 0; background: none; padding: 6px 16px; font: inherit; font-size: 12.5px; line-height: 1.2; color: #4a5a73; text-decoration: none; border-radius: 999px; cursor: pointer; transition: background .25s, box-shadow .25s, color .2s; }
.seg a.on, .seg button.on { background: linear-gradient(180deg, #fff, rgba(255,255,255,.82)); color: #0b1524; font-weight: 700; box-shadow: 0 2px 8px rgba(40,58,90,.16), 0 0 0 1px rgba(40,52,78,.05); }
@media (max-width: 720px) {
  .gl-nav a.active { background: linear-gradient(180deg, #fff, rgba(255,255,255,.82)); box-shadow: 0 2px 8px rgba(40,58,90,.16); border-radius: 999px; }
}

/* 캔·벌크를 겹쳐 쌓은 월별 막대 (수거데이터 합산): 지난 달은 옅게, 가장 최근 달만 진하게 */
.gb-stack{display:flex;align-items:flex-end;gap:14px;height:190px;padding:0 4px;border-bottom:1px solid rgba(30,45,75,.3)}
.gb-stack>div{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.gb-stack>div>span{font-size:11.5px;font-weight:700;margin-bottom:4px;color:#101b2e}
.gb-stack .col{width:100%;max-width:56px;display:flex;flex-direction:column;justify-content:flex-end}
.gb-stack .col i{display:block;width:100%}
.gb-stack .col .v{background:linear-gradient(180deg,rgba(204,232,140,.96),rgba(160,206,84,.78))}
.gb-stack .col .c{background:linear-gradient(180deg,rgba(52,128,92,.88),rgba(52,128,92,.62))}
.gb-stack>div:last-child .col .v{background:linear-gradient(180deg,#a8da45,#6fae22)}
.gb-stack>div:last-child .col .c{background:linear-gradient(180deg,#2b8a5e,#1d6e49)}
.gb-keys{display:flex;gap:16px;font-size:12px;color:#4a5a73;margin:10px 0 0}.gb-keys i{display:inline-block;width:9px;height:9px;margin-right:6px}
@media(max-width:900px){.gb-stack{gap:8px;height:150px}}

/* 인증자료 업로드 칸: 파일을 끌어다 놓을 때 */
#impForm.over { outline: 2px dashed rgba(60,84,126,.55); outline-offset: -6px; background: rgba(255,255,255,.7); }

/* 표 머리글은 모두 가운데 정렬 (숫자 칸의 값은 오른쪽 그대로) */
.gl-table th, table.matrix th, table.matrix thead th { text-align: center !important; }

/* 선택 칸(드롭다운)의 펼침 목록도 같은 흰 유리 알약 모양으로 (최신 크롬. 지원하지 않는 브라우저는 기본 목록) */
@supports (appearance: base-select) {
  select { appearance: base-select; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
  select::picker-icon { color: #4a5a73; transition: rotate .2s ease; }
  select:open::picker-icon { rotate: 180deg; }
  ::picker(select) {
    appearance: base-select; box-sizing: border-box; padding: 6px; margin-top: 6px; max-height: 320px; overflow-y: auto;
    border: 1px solid rgba(40,52,78,.12); border-radius: 16px; background: rgba(255,255,255,.95);
    box-shadow: 0 16px 38px rgba(40,58,90,.24), 0 2px 8px rgba(40,58,90,.10);
    opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .2s cubic-bezier(.22,1,.36,1), display .2s allow-discrete, overlay .2s allow-discrete;
  }
  ::picker(select):popover-open { opacity: 1; transform: none; }
  @starting-style { ::picker(select):popover-open { opacity: 0; transform: translateY(-4px); } }
  select option { display: flex; align-items: center; padding: 8px 14px; border-radius: 999px; color: #27364d; font-size: 13px; cursor: pointer; transition: background .15s; }
  select option:hover, select option:focus-visible { background: rgba(60,80,115,.10); outline: none; }
  select option:checked { background: linear-gradient(180deg, #fff, rgba(255,255,255,.7)); color: #0b1524; font-weight: 700; box-shadow: 0 2px 8px rgba(40,58,90,.14), 0 0 0 1px rgba(40,52,78,.06); }
  select option::checkmark { display: none; }
  select optgroup { font-size: 12px; font-weight: 700; color: #4a5a73; padding: 8px 14px 2px; }
}

/* 값이 바뀔 때 막대·도넛이 부드럽게 자란다 (tween.js) */
.gb-bars i, .gb-stack .col { transition: height .8s cubic-bezier(.22,1,.36,1); }
.gb-rank .t i { transition: width .8s cubic-bezier(.22,1,.36,1); }
.dnut svg circle { transition: stroke-dasharray .9s cubic-bezier(.22,1,.36,1), stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) { .gb-bars i, .gb-stack .col, .gb-rank .t i, .dnut svg circle { transition: none; } }

/* 막대 그래프: 유리 막대 · 숲 녹색 (둥근 끝, 안쪽 빛 한 줄, 옅은 그림자). 지난 값은 옅게, 가장 최근 값만 진하게 */
.gb-bars i, .gb-stack .col { border-radius: 9px 9px 3px 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 12px rgba(30,70,50,.16); }
.gb-bars i { background: linear-gradient(180deg, rgba(140,200,168,.95), rgba(96,168,130,.7)); }
.gb-bars div:last-child i { background: linear-gradient(180deg, #3f9f70, #1d6e49); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px rgba(47,138,94,.42); }
.gb-stack .col { overflow: hidden; position: relative; }
.gb-stack .col .c { background: linear-gradient(180deg, rgba(140,200,168,.95), rgba(96,168,130,.7)); }
.gb-stack .col .v { background: linear-gradient(180deg, rgba(150,168,196,.95), rgba(112,134,170,.75)); }
.gb-stack>div:last-child .col { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px rgba(47,138,94,.42); }
.gb-stack>div:last-child .col .c { background: linear-gradient(180deg, #3f9f70, #1d6e49); }
.gb-stack>div:last-child .col .v { background: linear-gradient(180deg, #5f7ba6, #3b5379); }
.gb-rank .t { height: 9px; border-radius: 99px; background: rgba(40,52,78,.10); box-shadow: inset 0 1px 3px rgba(30,45,75,.22); overflow: hidden; }
.gb-rank .t i { border-radius: 99px; background: linear-gradient(180deg, #6fbf93, #2f8a5e); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(47,138,94,.42); }

/* 벌크 = 연두, 캔 = 녹색 (구성·업체별 막대, 쌓은 막대 아래 범례와 같은 색) */
.gb-stack .col .v { background: linear-gradient(180deg, rgba(204,232,140,.96), rgba(160,206,84,.78)); }
.gb-stack>div:last-child .col .v { background: linear-gradient(180deg, #a8da45, #6fae22); }
.gb-rank .t i.blk { background: linear-gradient(180deg, #bfe36b, #7fb82a); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(112,172,32,.40); }
.gb-keys i, .gb-keys span i { border-radius: 3px; }

/* ---------- 글라스 메뉴 막대: 맑은 유리, 지금 메뉴는 따라다니는 유리 알약 하나가 머문다 ---------- */
.gl-header {
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(252,253,252,.64) 55%, rgba(255,255,255,.76) 100%) padding-box, var(--glass-edge) border-box;
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 22px 44px -18px rgba(30,50,40,.30), 0 6px 14px -8px rgba(30,50,40,.18),
              inset 0 0 0 1px rgba(30,50,40,.07), inset 0 1px 0 rgba(255,255,255,.55);
}
.gl-topwrap.tight .gl-header { box-shadow: 0 14px 30px -14px rgba(30,50,40,.30), inset 0 0 0 1px rgba(30,50,40,.07); }
.gl-nav a { display: inline-flex; align-items: center; gap: 7px; }
.gl-nav a .gl-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.gl-nav-pill { background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.42)); box-shadow: 0 6px 14px -8px rgba(30,50,40,.28), inset 0 0 0 1px rgba(30,50,40,.06); }
@media (max-width: 720px) { .gl-nav a .gl-ic { display: none; } }

/* ---------- 날짜 입력칸과 둥근 달력 (datepicker.js) ---------- */
.gl-dp-input { cursor: pointer; border-radius: 999px !important; min-width: 150px; }
.gl-dp {
  position: fixed; z-index: 400; width: 300px; padding: 16px 14px 12px; border-radius: 28px;
  background: #fff; box-shadow: 0 26px 52px -18px rgba(30,50,40,.34), 0 2px 8px rgba(30,50,40,.10);
  font-family: inherit; color: #1b2638; user-select: none;
}
.gl-dp-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px; }
.gl-dp-head b { font-size: 15px; letter-spacing: -.02em; }
.gl-dp-head span { display: flex; gap: 4px; }
.gl-dp-head button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; font-size: 20px; line-height: 1; color: #3b4a5f; cursor: pointer; }
.gl-dp-head button:hover { background: rgba(30,50,40,.07); }
.gl-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; text-align: center; }
.gl-dp-grid i { font-style: normal; font-size: 11px; font-weight: 700; color: #9aa4b0; padding: 6px 0; }
.gl-dp-grid u { text-decoration: none; position: relative; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 13.5px; cursor: pointer; isolation: isolate; }
.gl-dp-grid u.o { color: #c3c8ce; }
.gl-dp-grid u.t span { font-weight: 800; }
.gl-dp-grid u.r { background: rgba(31,174,75,.10); }
.gl-dp-grid u:hover:not(.s)::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(30,50,40,.07); z-index: -1; }
.gl-dp-grid u.s { color: #fff; font-weight: 800; }
.gl-dp-grid u.s::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; z-index: -1;
  background: linear-gradient(160deg, #35c768, #16963f); box-shadow: 0 6px 14px -4px rgba(22,150,63,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.gl-dp-foot { display: flex; justify-content: space-between; padding: 8px 8px 0; }
.gl-dp-foot button { border: 0; background: none; font-size: 12.5px; font-weight: 600; color: #566478; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.gl-dp-foot button:hover { background: rgba(30,50,40,.07); }

/* 파일 선택 단추: 알약 유리 */
input[type=file] { font-family: inherit; font-size: var(--t-sm, 13px); color: #5b6a80; max-width: 100%; }
input[type=file]::file-selector-button {
  height: 34px; padding: 0 16px; margin-right: 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 inherit; font-family: inherit; color: #1b2a22;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.5));
  box-shadow: 0 6px 14px -8px rgba(30,50,40,.30), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(30,50,40,.08);
  transition: transform .2s, box-shadow .2s;
}
input[type=file]::file-selector-button:hover { box-shadow: 0 8px 16px -8px rgba(30,50,40,.36), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(30,50,40,.12); }
input[type=file]::file-selector-button:active { transform: scale(.96); }

/* 색 규칙: 캔 = 연두(형광 느낌 없이 차분하게), 벌크 = 녹색 (막대·쌓은 막대·순위 막대 공통) */
.gb-stack .col .c, .gb-bars.k-can i { background: linear-gradient(180deg, rgba(214,230,170,.96), rgba(172,204,110,.78)); }
.gb-stack>div:last-child .col .c, .gb-bars.k-can div:last-child i { background: linear-gradient(180deg, #a8c85e, #6f9a2c); }
.gb-bars.k-can div:last-child i, .gb-stack>div:last-child .col { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px rgba(90,125,36,.38); }
.gb-stack .col .v, .gb-bars.k-bulk i { background: linear-gradient(180deg, rgba(140,200,168,.95), rgba(96,168,130,.7)); }
.gb-stack>div:last-child .col .v, .gb-bars.k-bulk div:last-child i { background: linear-gradient(180deg, #3f9f70, #1d6e49); }
.gb-bars.k-bulk div:last-child i { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px rgba(47,138,94,.42); }
.gb-rank .t i, .gb-rank .t i.can { background: linear-gradient(180deg, #c3dc86, #86b53f); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(110,150,44,.36); }
.gb-rank .t i.blk { background: linear-gradient(180deg, #6fbf93, #2f8a5e); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(47,138,94,.42); }

/* 화면을 넘나들 때: 화면을 흐리게 하거나 미끄러뜨리지 않는다 (메뉴를 누를 때마다 0.5초 가까이 더 기다리는 느낌이 났다).
   화면이 바로 바뀌고, 0.25초가 넘게 걸릴 때만 위쪽에 가는 진행 막대가 나타난다 */
.gl-nprog { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 1000; background: linear-gradient(90deg, #6f8fb8, #3b5ea8); box-shadow: 0 0 8px rgba(59,94,168,.45); opacity: 0; pointer-events: none; }
html.gl-leaving .gl-nprog { opacity: 1; width: 82%; transition: width 6s cubic-bezier(.08,.6,.2,1), opacity .15s .25s; }

/* 수거데이터 현황판: 꾸밈을 줄이고 숫자는 표로 (요약은 한 장의 유리판에 칸만 나눈다) */
.gb-kpis { gap: 0; border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.5) 55%, rgba(255,255,255,.6)); border: 1px solid rgba(40,52,78,.07); background-clip: padding-box; box-shadow: 0 14px 36px rgba(40,58,90,.16), 0 2px 6px rgba(40,58,90,.08); }
.gb-kpis .gb-k { border-radius: 0; background: none; box-shadow: none; border: 0; border-right: 1px solid rgba(40,52,78,.10); }
.gb-kpis .gb-k:last-child { border-right: 0; }
.gb-kpis .gb-k b { font-size: 24px; }
@media (max-width: 900px) { .gb-kpis .gb-k:nth-child(2n) { border-right: 0; } .gb-kpis .gb-k:nth-child(-n+2) { border-bottom: 1px solid rgba(40,52,78,.10); } }
.gb-t { width: 100%; }
.gb-t th, .gb-t td { padding: 9px 12px; }
.gb-t tbody tr:last-child td { border-bottom: 0; }
.gb-t .up { color: #c2372a; font-weight: 600; } .gb-t .dn { color: #2160b0; font-weight: 600; } .gb-t .mute { color: #8a96a8; }
.gb-chart { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(30,45,75,.12); }
.gb-chart .gb-bars, .gb-chart .gb-stack { height: 110px; gap: 18px; }
.gb-chart .gb-bars span, .gb-chart .gb-stack > div > span { display: none; }
.gb-chart .gb-bars i, .gb-chart .gb-stack .col { border-radius: 0; box-shadow: none; }
/* 색은 로고의 두 색만 쓴다: 캔 = 연두, 벌크 = 초록. 지난 값은 같은 색을 옅게, 최근 값만 진하게 */
.gb-chart { --gb-can: var(--brand-lime); --gb-bulk: var(--brand-green); }
.gb-chart .gb-bars i, .gb-chart .gb-bars.k-can i, .gb-chart .gb-stack .col .c { background: color-mix(in srgb, var(--gb-can) 45%, #fff); }
.gb-chart .gb-bars.k-bulk i, .gb-chart .gb-stack .col .v { background: color-mix(in srgb, var(--gb-bulk) 45%, #fff); }
.gb-chart .gb-bars div:last-child i, .gb-chart .gb-bars.k-can div:last-child i, .gb-chart .gb-stack > div:last-child .col .c { background: var(--gb-can); box-shadow: none; }
.gb-chart .gb-bars.k-bulk div:last-child i, .gb-chart .gb-stack > div:last-child .col .v { background: var(--gb-bulk); box-shadow: none; }
.gb-chart .gb-stack > div:last-child .col { box-shadow: none; }
.gb-keys .kc { background: color-mix(in srgb, var(--brand-lime) 45%, #fff); border-radius: 0; } .gb-keys .kv { background: color-mix(in srgb, var(--brand-green) 45%, #fff); border-radius: 0; }
.gb-t th.gl-num { text-align: right; }
.gb-t th:first-child, .gb-t td:first-child { text-align: left; }
@media (max-width: 900px) { .gb-p { overflow-x: auto; } .gb-t th, .gb-t td { padding: 8px 6px; font-size: 12px; white-space: nowrap; } }

/* 그래프: 살짝 입체감(위쪽 빛 한 줄 + 위로 갈수록 옅은 색 + 아주 옅은 그림자), 마우스를 올리면 그 칸의 중량이 말풍선으로 뜬다 */
.gb-chart .gb-stack .col, .gb-chart .gb-bars i { border-radius: 9px 9px 0 0; }
.gb-chart .gb-stack .col { box-shadow: 0 4px 8px -2px rgba(20,90,45,.22); }
.gb-chart .gb-stack > div:last-child .col { box-shadow: 0 5px 10px -2px rgba(20,90,45,.32); }
.gb-chart .gb-bars i { box-shadow: 0 4px 8px -2px rgba(20,90,45,.22); }
.gb-chart .gb-stack .col .v { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-bulk) 32%, #fff), color-mix(in srgb, var(--gb-bulk) 48%, #fff)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.gb-chart .gb-stack .col .c { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-can) 38%, #fff), color-mix(in srgb, var(--gb-can) 54%, #fff)); border-top: 1px solid rgba(255,255,255,.55); }
.gb-chart .gb-stack > div:last-child .col .v { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-bulk) 82%, #fff), var(--gb-bulk)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.gb-chart .gb-stack > div:last-child .col .c { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-can) 82%, #fff), var(--gb-can)); }
.gb-chart .gb-bars.k-can i { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-can) 38%, #fff), color-mix(in srgb, var(--gb-can) 54%, #fff)); }
.gb-chart .gb-bars.k-bulk i { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-bulk) 32%, #fff), color-mix(in srgb, var(--gb-bulk) 48%, #fff)); }
.gb-chart .gb-bars.k-can div:last-child i { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-can) 82%, #fff), var(--gb-can)); }
.gb-chart .gb-bars.k-bulk div:last-child i { background: linear-gradient(180deg, color-mix(in srgb, var(--gb-bulk) 82%, #fff), var(--gb-bulk)); }
.gb-chart [data-tip]:hover { filter: brightness(.96); cursor: default; }
.gb-tip { position: fixed; z-index: 50; display: none; pointer-events: none; padding: 6px 10px; border-radius: 6px; background: var(--n-900); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px rgba(16,24,20,.28); }
@media print { .gb-tip { display: none !important; } }

/* ───────── 수거데이터: 요약은 어두운 유리 한 판, 표·그래프는 유리 패널 한 겹(안쪽 상자 없음) ─────────
   (주의: --glass-edge · --glass-shadow 는 헤더·카드가 쓰는 공통 값이라 덮어쓰지 않는다) */
.gb-box { border: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.gb-box + .gb-box { margin-top: 18px; }
.gb-chart { margin-top: 14px; padding: 14px 4px 6px; border: 0; border-top: 1px solid rgba(40,55,48,.12); border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.gb-p { padding: 18px 20px; }
.gb-p > h3 ~ h3 { margin-top: 22px; }
.gb-row { align-items: start; }
/* 표: 머리글 칸 색 없이 굵은 글씨 + 아래 선, 머리글과 값은 같은 쪽으로(월·이름은 왼쪽, 숫자는 오른쪽) */
.gb-box .gl-table th { background: none; border-bottom: 1px solid rgba(40,55,48,.45); }
.gb-box .gl-table th, .gb-box .gl-table td { padding: 11px 14px; text-align: right !important; }
.gb-box .gl-table th:first-child, .gb-box .gl-table td:first-child { text-align: left !important; padding-left: 8px; }
.gb-box .gl-table th:last-child, .gb-box .gl-table td:last-child { padding-right: 8px; }
.gb-box .gl-table td { border-bottom-color: rgba(40,55,48,.09); }
.gb-box .gl-table tbody tr:nth-child(even) td { background: transparent; }
@media (max-width: 900px) { .gb-box { overflow-x: auto; } }
/* 맨 위 요약: 어두운 반투명 유리 한 판 */
.gb-kpis { gap: 0; padding: 18px 0; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(38,44,40,.82), rgba(38,44,40,.68)); border: 1px solid rgba(20,28,24,.55); background-clip: padding-box;
  box-shadow: 0 18px 36px -20px rgba(20,30,25,.6); backdrop-filter: none; -webkit-backdrop-filter: none; margin-bottom: 18px; }
.gb-kpis .gb-k { padding: 4px 24px; background: none; border: 0; border-left: 1px solid rgba(255,255,255,.16); border-radius: 0; box-shadow: none; }
.gb-kpis .gb-k:first-child { border-left: 0; }
.gb-kpis .gb-k small { padding: 0; margin: 0 0 8px; text-align: left; font-size: 15px; font-weight: 700; color: #fff; background: none; border: 0; }
.gb-kpis .gb-k b { margin: 0; font-size: 30px; font-weight: 700; color: #fff; }
.gb-kpis .gb-k b span { font-size: inherit; color: inherit; }
.gb-kpis .gb-k b em { color: #c9d0cb; } .gb-kpis .gb-k > span { margin: 6px 0 0; display: block; font-size: 12.5px; color: #c9d0cb; }
.gb-kpis .gb-k .up { color: #ffaaa0; } .gb-kpis .gb-k .dn { color: #a9c9f7; } .gb-kpis .gb-k .warn { color: #f0c36a; } .gb-kpis .gb-k .bad { color: #ffaaa0; }
@media (max-width: 900px) { .gb-kpis .gb-k:nth-child(odd) { border-left: 0; } .gb-kpis .gb-k:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 12px; } .gb-kpis .gb-k:nth-child(n+3) { padding-top: 12px; } }
/* 모든 유리 상자의 가장자리를 같은 얇은 회색 선으로 (모서리에서 굵어지거나 끊기지 않게) */
.gb-p { border: 1px solid rgba(96,114,108,.26); background-clip: padding-box; }
