@charset "UTF-8";
/*
 * 관리자 화면(JUI 1.x + jQuery UI) 위에 덮는 디자인 시스템 층.
 * 안산 관리자(asmain)·오산 관리자(hanmec/admin) 공용. ds.css 다음에 읽는다.
 * 원본 마크업·스크립트는 그대로 두고 클래스만 덮는다. body 에 class="jui ds-app" 이 있어야 한다.
 */

/* ---------- 앱 셸 ---------- */
.ds-app { background: var(--bg); color: var(--ink); font: 400 14px/1.55 var(--font); }
.ds-app .ds-shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  grid-template-rows: 60px auto 1fr;
  grid-template-areas: "top top" "rail head" "rail main";
  min-height: calc(100vh - var(--demo-bar));
  height: auto !important; width: auto !important;
}
.ds-app .ds-shell > .top { grid-area: top; }
.ds-app .ds-shell > .left { grid-area: rail; }
.ds-app .ds-shell > .ds-pagehead { grid-area: head; }
.ds-app .ds-shell > .center { grid-area: main; }
.ds-app .ds-shell > .center { position: static !important; width: auto !important; height: auto !important; left: auto !important; top: auto !important; }
.ds-app .ds-shell > .top.ds-top { position: sticky !important; top: 0 !important; left: auto !important; width: auto !important; height: auto !important; }
.ds-app .ds-shell > .left.ds-rail { position: sticky !important; top: 60px !important; left: auto !important; width: auto !important;
  height: calc(100vh - 60px - var(--demo-bar)) !important; }

/* 상단 바 */
.ds-top {
  z-index: 50;
  display: flex; align-items: center; gap: 22px; padding: 0 20px 0 24px;
  background: rgba(10, 10, 15, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.ds-wordmark { display: flex; align-items: baseline; gap: 10px; flex: none; text-decoration: none; color: var(--ink); }
.ds-wordmark b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.ds-wordmark span { font-size: 13px; color: var(--ink-2); }
.ds-wordmark::before {
  content: ""; align-self: center; width: 10px; height: 18px; border-radius: 2px; background: var(--ac);
  box-shadow: 14px 0 0 -1px transparent, inset 0 0 0 1px var(--ac);
}
.ds-wordmark:hover { color: var(--ink); }
.ds-top .ds-ticker { flex: 1; min-width: 0; }
.ds-user { display: flex; align-items: center; gap: 14px; flex: none; font-size: 13px; color: var(--ink-2); }
.ds-user-id { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; }
.ds-user-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.ds-user-link:hover { color: var(--ac); }
.ds-user svg, .ds-rail svg, .ds-menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ds-menu-btn { display: none; }

/* 왼쪽 레일 */
.ds-rail {
  align-self: start; box-sizing: border-box; overflow-y: auto;
  padding: 18px 12px 28px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.ds-rail a { text-decoration: none; }
.ds-rail-home, .ds-rail-group > summary {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none;
}
.ds-rail-group > summary::-webkit-details-marker { display: none; }
.ds-rail-group > summary::after {
  content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s var(--ease); opacity: .6;
}
.ds-rail-group[open] > summary::after { transform: rotate(45deg); }
.ds-rail-home:hover, .ds-rail-group > summary:hover { color: var(--ink); background: var(--glass-2); }
.ds-rail-home.is-on, .ds-rail-group[open] > summary { color: var(--ink); }
.ds-rail-home.is-on svg, .ds-rail-group[open] > summary svg { color: var(--ac); }
.ds-rail-group { margin-top: 4px; }
.ds-rail-group ul { margin: 2px 0 8px; padding: 0 0 0 23px; list-style: none; border-left: 0; }
.ds-rail-group li a {
  position: relative; display: block; padding: 7px 12px 7px 18px; border-radius: 8px;
  color: var(--ink-2); font-size: 13.5px; line-height: 1.35;
}
.ds-rail-group li a::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line);
}
.ds-rail-group li a:hover { color: var(--ink); background: var(--glass-2); }
.ds-rail-group li a.is-on { color: var(--ink); background: var(--ac-soft); font-weight: 600; }
.ds-rail-group li a.is-on::before { left: -1px; width: 3px; border-radius: 2px; background: var(--ac); }
.ds-rail-foot { margin: 22px 12px 0; color: var(--ink-3); font-size: 12px; }

/* 원본의 <font color=red> 강조(미납·오류)는 상태색으로 */
.ds-app font[color="red"], .ds-app font[color="#ff0000"], .ds-app font[color="#FF0000"] { color: var(--danger); }
.ds-app font[color="blue"], .ds-app font[color="#0000ff"], .ds-app font[color="#0000FF"] { color: var(--ac); }

/* 페이지 머리 */
.ds-pagehead { padding: 26px 32px 6px; }
.ds-pagehead h1 { margin: 4px 0 0; font: 650 clamp(22px, 2.2vw, 30px)/1.2 var(--font); letter-spacing: -.03em; color: var(--ink); }

/* 본문 */
.ds-app .center {
  padding: 16px 32px 48px !important; overflow-x: auto; min-width: 0;
  animation: ds-rise .5s var(--ease) both;
}
@keyframes ds-rise { from { opacity: 0; transform: translateY(8px); } }
/* 검색 줄(각 페이지 첫 블록) → 필터 패널 */
.ds-app .center > div:first-child:has(input:not([type="hidden"]), select, .combo, .btn) {
  display: block; margin: 0 0 16px !important; padding: 14px 16px;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--r);
}
.ds-app .center > div:first-child form, .ds-app .center .h6 form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--ink-2); font-size: 13px; }
.ds-app .center .h6 { margin: 0; font-size: 13px; color: var(--ink-2); }
.ds-app .center .title { font-size: 14px; color: var(--ink-2); }
.ds-app .center br + br { display: none; }

/* ---------- JUI 부품 ---------- */
.jui.ds-app, .jui.ds-app input, .jui.ds-app select, .jui.ds-app textarea, .jui.ds-app button { font-family: var(--font); }
.jui.ds-app .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--r-sm);
  color: var(--ink); background: rgba(255, 255, 255, .05); background-image: none;
  border: 1px solid var(--line-2); box-shadow: none; text-shadow: none;
  font-size: 13px; font-weight: 600; line-height: 1; vertical-align: middle;
  transition: background .15s, border-color .15s, transform .1s;
}
.jui.ds-app .btn:hover { color: var(--ink); background: rgba(255, 255, 255, .09); background-image: none; }
.jui.ds-app .btn:active:not([disabled]), .jui.ds-app .btn.active:not([disabled]) {
  color: var(--ink); background: rgba(255, 255, 255, .12); background-image: none; border-color: var(--line-2); box-shadow: none; transform: scale(.98);
}
.jui.ds-app .btn.small { height: 30px; padding: 0 11px; font-size: 12.5px; }
.jui.ds-app .btn.focus {
  color: #061014; background: var(--ac); background-image: none; border-color: var(--ac);
}
.jui.ds-app .btn.focus:hover { background: color-mix(in srgb, var(--ac) 86%, #fff); background-image: none; color: #061014; }
.jui.ds-app .btn.focus:active:not([disabled]) { background: var(--ac); background-image: none; border-color: var(--ac); color: #061014; }
.jui.ds-app .btn i { font-style: normal; }
.jui.ds-app .btn i[class^="icon-"] { color: inherit; font-size: 13px; }
.jui.ds-app .group { display: inline-flex; vertical-align: middle; }
.jui.ds-app .group > .btn { border-radius: 0; margin: 0 0 0 -1px; }
.jui.ds-app .group > .btn:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); margin-left: 0; }
.jui.ds-app .group > .btn:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.jui.ds-app .input, .jui.ds-app input[type="text"], .jui.ds-app input[type="number"], .jui.ds-app input[type="password"],
.jui.ds-app input[type="date"], .jui.ds-app select, .jui.ds-app textarea {
  height: 34px; box-sizing: border-box; padding: 0 11px; border-radius: var(--r-sm);
  color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  box-shadow: none; font-size: 13px; vertical-align: middle;
}
.jui.ds-app textarea { height: auto; min-height: 64px; padding: 8px 11px; line-height: 1.5; }
.jui.ds-app .input:focus, .jui.ds-app input:focus, .jui.ds-app select:focus, .jui.ds-app textarea:focus {
  outline: none; border-color: var(--ac); background: rgba(255, 255, 255, .07);
}
.jui.ds-app input[readonly], .jui.ds-app textarea[readonly], .jui.ds-app select[disabled] { background: rgba(255, 255, 255, .02); color: var(--ink-2); }
.jui.ds-app select option { background: var(--bg-2); color: var(--ink); }
.jui.ds-app .label { color: var(--ink-2); font-size: 13px; }
.jui.ds-app input[type="checkbox"], .jui.ds-app input[type="radio"] { accent-color: var(--ac); }

/* 콤보·드롭다운 */
.jui.ds-app .combo { display: inline-flex; vertical-align: middle; }
.jui.ds-app .combo > .btn:first-child { justify-content: flex-start; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.jui.ds-app .combo > .btn.toggle { width: 30px; padding: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-left: -1px; color: var(--ink-2); }
.jui.ds-app .dropdown, .jui.ds-app .combo > ul {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55); padding: 4px; overflow: auto;
}
.jui.ds-app .dropdown > .anchor { display: none; }
.jui.ds-app .dropdown > ul, .jui.ds-app .combo > ul { background: none; border: 0; }
.jui.ds-app .dropdown li, .jui.ds-app .combo > ul > li {
  color: var(--ink-2); background: none; background-image: none; border: 0; border-radius: 7px;
  padding: 7px 10px; font-size: 13px; line-height: 1.3;
}
.jui.ds-app .dropdown li:hover, .jui.ds-app .dropdown li.active, .jui.ds-app .combo > ul > li:hover, .jui.ds-app .combo > ul > li.active {
  color: var(--ink); background: var(--ac-soft); background-image: none;
}

/* 표 (JUI grid.table / xtable) */
.jui.ds-app .center > div:not(:first-child):has(> table.table), .jui.ds-app .center > div:has(> div > table.table) { margin-top: 0; }
.jui.ds-app .table.classic, .jui.ds-app .table.simple, .jui.ds-app .table.expand {
  width: 100% !important; table-layout: fixed !important; border-collapse: separate; border-spacing: 0;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--r);
  font-variant-numeric: tabular-nums; margin-bottom: 14px;
}
/* 원본 xtable 이 표 폭을 1200px 로 고정해 둔 것을 풀고, 넘치면 본문 안에서 가로 스크롤.
   열 너비 조절 손잡이(.resize)는 1200px 기준 좌표로 박혀 있어 숨긴다. */
.jui.ds-app table.table .resize { display: none !important; }
/* 원본 th 인라인 폭(px)에 안쪽 여백까지 들어가게 border-box. 날짜·시각은 공백에서만 줄바꿈 */
.jui.ds-app .center table.table th, .jui.ds-app .center table.table td { box-sizing: border-box; padding-left: 8px !important; padding-right: 8px !important; }
.jui.ds-app .center table.table th { white-space: normal; word-break: keep-all; line-height: 1.25; height: auto; min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
.jui.ds-app .center table.table td { overflow-wrap: normal; word-break: keep-all; line-height: 1.35; padding-top: 6px; padding-bottom: 6px; }
.jui.ds-app .table.classic > thead th:first-child { border-top-left-radius: var(--r); }
.jui.ds-app .table.classic > thead th:last-child { border-top-right-radius: var(--r); }
.jui.ds-app .table.classic > thead th, .jui.ds-app .table.simple > thead th, .jui.ds-app .table.expand > thead th {
  height: 40px; padding: 0 10px; text-align: left; white-space: nowrap;
  color: var(--ink-2); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  background: #12151f; background-image: none;
  border: 0; border-bottom: 1px solid var(--line-2); text-shadow: none;
}
.jui.ds-app .table.classic > tbody > tr, .jui.ds-app .table.simple > tbody > tr { background: transparent; }
.jui.ds-app .table.classic > tbody > tr > td, .jui.ds-app .table.simple > tbody > tr > td, .jui.ds-app .table.expand > tbody > tr > td {
  height: 38px; padding: 0 10px; color: var(--ink); font-size: 13px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; text-shadow: none;
}
.jui.ds-app .table.classic > tbody > tr:last-child > td { border-bottom: 0; }
.jui.ds-app .table.classic > tbody > tr:hover > td { background: rgba(255, 255, 255, .035); }
.jui.ds-app .table.classic > tbody > tr:hover > td:first-child { box-shadow: inset 2px 0 0 var(--ac); }
.jui.ds-app .table.classic > tbody > tr.selected, .jui.ds-app .table.classic > tbody > tr.checked { background: var(--ac-soft); }
.jui.ds-app .table.classic > tbody > tr > td.none { background: transparent; color: var(--ink-3); }
.jui.ds-app .table.classic > tbody > tr > td.none > .msg { text-shadow: none; color: var(--ink-3); }
.jui.ds-app .table.classic > tfoot td, .jui.ds-app .table.classic > tbody > tr.total > td { color: var(--ac); font-weight: 600; background: rgba(255, 255, 255, .03); }
.jui.ds-app .table a { color: var(--ac); text-decoration: none; }
.jui.ds-app .table a:hover { text-decoration: underline; }
.jui.ds-app .table td a.btn, .jui.ds-app .table td .btn { color: var(--ink); }
.jui.ds-app .table img.thumbnail { border-radius: 3px; opacity: .8; }
.jui.ds-app .table i[class^="icon-"] { color: var(--ink-3); }
/* 첫 집계표(#total)는 KPI 띠처럼 */
.jui.ds-app table#total > tbody > tr > td { height: 46px; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.jui.ds-app table#total > thead th { position: static; }

/* 페이지 번호 */
.jui.ds-app .paging {
  display: flex !important; align-items: center; justify-content: center; gap: 4px;
  width: auto !important; margin: 18px 0 0; padding: 0; background: none; border: 0; box-shadow: none;
}
.jui.ds-app .paging .list { display: flex; gap: 4px; }
.jui.ds-app .paging a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px;
  box-sizing: border-box; border-radius: var(--r-sm); border: 1px solid transparent;
  color: var(--ink-2); background: none; background-image: none; text-decoration: none; font-size: 13px; font-variant-numeric: tabular-nums;
}
.jui.ds-app .paging a[href]:hover { color: var(--ink); border-color: var(--line-2); }
.jui.ds-app .paging a.active { color: #061014; background: var(--ac); font-weight: 700; }
.jui.ds-app .paging a.prev:empty, .jui.ds-app .paging a.next:empty { display: none; }

/* 창(모달) */
.jui.ds-app .window {
  color: var(--ink); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
}
.jui.ds-app .window > .head {
  height: auto; padding: 14px 18px; color: var(--ink); font-size: 15px; font-weight: 650; letter-spacing: -.02em;
  background: none; background-image: none; border-bottom: 1px solid var(--line);
}
.jui.ds-app .window > .head .close { color: var(--ink-2); }
.jui.ds-app .window > .head .close:hover { color: var(--ac); }
.jui.ds-app .window > .body { background: none; border-top: 0; padding: 14px 18px; color: var(--ink); }
.jui.ds-app .window > .body table { width: 100%; border-collapse: collapse; }
.jui.ds-app .window > .body td { padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.jui.ds-app .window > .body td:first-child { width: 120px; color: var(--ink-2); white-space: nowrap; }
.jui.ds-app .window > .foot { padding: 12px 18px; background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); }
.jui.ds-app .window > .foot .btn { margin: 0 3px; }
.jui.ds-app .msgbox, .jui.ds-app .tooltip { background: var(--bg-3); color: var(--ink); border-color: var(--line-2); }
.jui .ui-widget-overlay, .jui.ds-app .window-overlay { background: rgba(0, 0, 0, .6); }

/* jQuery UI 달력 */
.ds-app .ui-datepicker {
  width: 252px; padding: 10px; font-size: 12.5px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink);
  box-shadow: var(--shadow); z-index: 1000 !important;
}
.ds-app .ui-datepicker .ui-widget-header { background: none; border: 0; color: var(--ink); font-weight: 650; }
.ds-app .ui-datepicker .ui-datepicker-prev, .ds-app .ui-datepicker .ui-datepicker-next { cursor: pointer; filter: invert(1); top: 4px; }
.ds-app .ui-datepicker th { color: var(--ink-3); font-weight: 500; }
.ds-app .ui-datepicker td a, .ds-app .ui-datepicker td span {
  text-align: center; padding: 6px 0; border-radius: 7px; border: 0; background: none; color: var(--ink-2);
}
.ds-app .ui-datepicker td a:hover { background: rgba(255, 255, 255, .08); color: var(--ink); }
.ds-app .ui-datepicker td .ui-state-highlight { color: var(--ac); }
.ds-app .ui-datepicker td .ui-state-active { background: var(--ac); color: #061014; font-weight: 700; }
.ds-app .ui-datepicker select { height: 26px; padding: 0 4px; font-size: 12px; }
.ds-app .ui-datepicker .ui-datepicker-buttonpane button { color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-radius: 7px; }
.ds-app .ui-timepicker-div dl dt { color: var(--ink-2); }
.ds-app .ui-slider { background: rgba(255, 255, 255, .1); border: 0; }
.ds-app .ui-slider .ui-slider-handle { background: var(--ac); border: 0; border-radius: 50%; }
.ds-app .ui-widget-content { background: var(--bg-3); color: var(--ink); border-color: var(--line-2); }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .ds-user .is-sister { display: none; } /* 모바일은 왼쪽 서랍 메뉴에 같은 링크가 있다 */
  .ds-app .ds-shell { grid-template-columns: 1fr; grid-template-rows: 56px auto 1fr; grid-template-areas: "top" "head" "main"; }
  .ds-app .ds-shell > .top.ds-top { height: 56px !important; }
  .ds-top { gap: 12px; padding: 0 14px; }
  .ds-top .ds-ticker, .ds-user .ds-pause, .ds-user-id, .ds-wordmark span { display: none; }
  .ds-user { margin-left: auto; }
  .ds-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: none; color: var(--ink); cursor: pointer; }
  .ds-app .ds-shell > .left.ds-rail {
    position: fixed !important; top: 56px !important; left: 0 !important; bottom: var(--demo-bar); z-index: 60;
    width: min(300px, 86vw) !important; height: calc(100vh - 56px - var(--demo-bar)) !important; height: calc(100dvh - 56px - var(--demo-bar)) !important; transform: translateX(-102%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  html.ds-menu-open .ds-app .ds-shell > .left.ds-rail { transform: none; }
  .ds-pagehead { padding: 20px 16px 2px; }
  .ds-app .center { padding: 12px 16px 40px !important; }
}

/* ---------- 대시보드 (안산 관리자 ansan/main.php) ---------- */
.ds-dash-kpis {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;
  margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass-2);
}
.ds-dash-kpis .ds-kpi { padding: 18px 20px 20px; border-left: 1px solid var(--line); }
.ds-dash-kpis .ds-kpi:first-child { border-left: 0; }
.ds-dash-kpis .ds-kpi dd { font-size: clamp(1.9rem, 2.4vw, 2.6rem); }
.ds-dash-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 18px; }
.ds-dash-card { padding: 22px 22px 24px; background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.ds-dash-occ { grid-row: span 2; }
.ds-dash-occ .occ { --cell-w: 7px; --cell-h: 14px; --gap: 2px; --cols: 14; }
.ds-dash-occ .occ-lots {
  display: grid; justify-content: space-between; gap: 22px 18px;
  grid-template-columns: repeat(auto-fill, calc(var(--cols) * (var(--cell-w) + var(--gap)) - var(--gap)));
}
.ds-kpi .sub { display: block; margin-top: 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 500; letter-spacing: 0; }
.ds-dash-card > header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ds-dash-card > header a { color: var(--ink-2); font-size: 12.5px; text-decoration: none; }
.ds-dash-card > header a:hover { color: var(--ac); }
.ds-mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.ds-mini th { padding: 0 6px 8px; text-align: left; color: var(--ink-3); font-weight: 500; font-size: 12px; border-bottom: 1px solid var(--line); }
.ds-mini td { padding: 8px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.ds-mini tr:last-child td { border-bottom: 0; }
.ds-mini .car, .ds-rank .car { color: var(--ink); font-weight: 600; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-2); }
.tag.is-ac { color: var(--ac); border-color: var(--ac-line); }
.tag.is-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 50%, transparent); }
.ds-rank { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.ds-rank li {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center;
  padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2);
}
.ds-rank li:last-child { border-bottom: 0; }
.ds-rank li::before { counter-increment: r; content: counter(r); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ds-rank li::after {
  content: ""; position: absolute; left: 30px; bottom: -1px; height: 2px; width: calc((100% - 30px) * var(--w));
  background: color-mix(in srgb, var(--danger) 70%, transparent); border-radius: 2px;
}
.ds-rank em { font-style: normal; color: var(--ink); font-weight: 600; }
@media (max-width: 1280px) { .ds-dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ds-dash-kpis .ds-kpi:nth-child(4) { border-left: 0; } .ds-dash-kpis .ds-kpi:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 1100px) { .ds-dash-grid { grid-template-columns: 1fr; } .ds-dash-occ { grid-row: auto; } }
@media (max-width: 560px) { .ds-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-dash-kpis .ds-kpi { border-left: 0 !important; border-top: 1px solid var(--line); } .ds-dash-kpis .ds-kpi:nth-child(-n+2) { border-top: 0; } .ds-dash-kpis .ds-kpi:nth-child(even) { border-left: 1px solid var(--line) !important; } }

/* ---------- JUI 원본 테마와의 충돌 보정 (오산 관리자 작업에서 찾음, 두 관리자 공용) ---------- */
/* grid-dark 의 stripeless 줄 배경(#2C2C2C !important)과 JUI scroll 모드(tbody 를 블록으로 바꿔 700px 안에서 스크롤)를 푼다.
   한 쪽 20건이라 표 안 세로 스크롤이 필요 없고, 블록 tbody 는 폭이 첫 렌더 값(px)으로 굳어 반응형이 깨진다. */
.jui.ds-app .table.stripeless.stripeless > tbody > tr { background: transparent !important; } /* 원본 선택자(클래스 5개)보다 세게 */
.jui.ds-app .center table.table > tbody { display: table-row-group !important; width: auto !important; max-height: none !important; overflow: visible !important; }

/* ui-dark 의 '.jui .paging *' 가 쪽 번호 묶음(.list)에 회색 면·테두리를 깐다. 한 쪽뿐이면 빈 회색 막대만 남는다 */
/* ui.min.css 는 쪽 번호 안 요소를 모두 position:absolute !important 로 좌우 끝에 박는다 → 가운데 한 줄로 되돌린다 */
.jui.ds-app .paging { height: auto; }
.jui.ds-app .paging * { position: static !important; }
.jui.ds-app .paging > *, .jui.ds-app .paging .list > * { margin: 0 !important; }
.jui.ds-app .paging a { width: auto; padding: 0 10px !important; border: 1px solid transparent !important; border-radius: var(--r-sm) !important; line-height: 1 !important; font-size: 13px; }
.jui.ds-app .paging .list { width: auto; height: auto; background: none; border: 0; }
.jui.ds-app .paging .list:empty { display: none; }
/* ui.min.css 의 .input.small 이 !important 로 24px 를 건다 */
.jui.ds-app .input.small { height: 30px !important; }
