/* QCELL Next 1.1 | Standalone CSS theme. Load after engine CSS. No body class needed. */
:root {
  --qc-next-font: Pretendard, "Noto Sans KR", "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
  --qc-next-ink: #26364a;
  --qc-next-muted: #52647a;
  --qc-next-blue: #2563d8;
  --qc-next-blue-dark: #1748ad;
  --qc-next-border: #d8e1ed;
  --qc-next-rule: #e2e8f0;
  --qc-next-header: #e2e8f0;
  --qc-next-fixed: #f8fafc;
  --qc-next-selected: #e6efff;
  --qc-next-surface: #fff;
  --qc-next-shadow: 0 8px 28px rgba(26,48,80,.15),0 2px 5px rgba(26,48,80,.08);
}
/* Root and typography. Do not override widths/heights/line-height generated by engine. */
.rt-qc-root {border-color:var(--qc-next-border);background-color:var(--qc-next-surface);color:var(--qc-next-ink);}
.rt-qc-cell, .rt-qc-pagination-nav, .rt-qc-filter-ui-area, .rt-qc-colsearch-ui-area, .rt-qc-contextmenu-area {font-family:var(--qc-next-font)!important;}
.rt-qc-cell {font-size:13px;}
.rt-qc-cell-viewport,.rt-qc-cell-footer {
  color:var(--qc-next-ink);border-color:var(--qc-next-rule);
  font-variant-numeric:tabular-nums;
}
/* Retain all real border widths, including merge/frozen boundaries. */
.rt-qc-cell-colheader,.rt-qc-cell-edgeheader {
  color:var(--qc-next-muted);background-color:var(--qc-next-header);
  border-color:var(--qc-next-border);font-weight:600;
}
.rt-qc-cell-rowheader {
  background-color:var(--qc-next-fixed);color:var(--qc-next-muted);
  border-color:var(--qc-next-rule);font-weight:500;font-variant-numeric:tabular-nums;
}
.rt-qc-cell-highlightrepeat {background-color:#f8fafc;}
.rt-qc-cell-viewport.rt-qc-cell-frozencols,.rt-qc-cell-viewport.rt-qc-cell-frozenrows {
  background-color:var(--qc-next-fixed);border-color:var(--qc-next-border);
}
.rt-qc-cell-frozenbottomrows,.rt-qc-cell-footerrows {
  background-color:#edf3fa;border-color:var(--qc-next-border);color:#233c61;font-weight:600;
}
.rt-qc-cell-frozenbottomrows-panel {
  background-color:#edf3fa!important;border-color:var(--qc-next-border)!important;color:#233c61;
}
.rt-qc-cell-select {
  background-color:var(--qc-next-selected)!important;border-color:#b6cef6!important;color:#173b76!important;
}
.rt-qc-cell-focus,.rt-qc-cell-focus.rt-qc-cell-select {
  background-color:#f4f8ff!important;border-color:var(--qc-next-blue)!important;
  color:#173b76!important;font-weight:600!important;box-shadow:inset 0 0 0 1px var(--qc-next-blue);
}
/* Hover is a non-layout-changing inset tint; keep explicit data backgrounds and focus. */
@media (hover:hover) {
  .rt-qc-cell-viewport:not(.rt-qc-cell-select):not(.rt-qc-cell-focus):hover {box-shadow:inset 0 0 0 999px rgba(37,99,216,.045);}
}
.rt-qc-panel,.rt-qc-sheetpanel {border-color:var(--qc-next-border);background-color:var(--qc-next-fixed);}
.rt-qc-sheetpanel-inner-span {color:var(--qc-next-muted);}
.rt-qc-emptymessasge,.rt-qc-emptymessage {color:var(--qc-next-muted);}
/* Keep original click targets and icon dimensions; replace artwork only. */
.rt-qc-sortarea {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3E%3Cpath d='M1 4 3.5 1.5 6 4M1 6 3.5 8.5 6 6' fill='none' stroke='%237689a2' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:center;background-size:contain;}
.rt-qc-sort-asc {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3E%3Cpath d='M1 4 3.5 1.5 6 4M3.5 2v7' stroke='%232563d8' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.rt-qc-sort-desc {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3E%3Cpath d='M1 6 3.5 8.5 6 6M3.5 1v7' stroke='%232563d8' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.rt-qc-multisort-order {color:var(--qc-next-blue-dark);}
.rt-qc-filterarea,.rt-qc-filterarea-hover {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 2h10L7 6.5v3L5 11V6.5z' stroke='%2352647a' stroke-width='1.3' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")!important;background-position:center;background-size:contain;border-radius:2px;
}
.rt-qc-filterarea:hover,.rt-qc-filterarea-hover {outline:3px solid #dce8fc;}
.rt-qc-filterarea-adjust,.rt-qc-filterarea-adjust:hover {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 2h10L7 6.5v3L5 11V6.5z' stroke='white' stroke-width='1' stroke-linejoin='round' fill='white'/%3E%3C/svg%3E")!important;background-position:center;background-size:contain;background-color:var(--qc-next-blue);outline:3px solid var(--qc-next-blue);border-radius:2px;
}
.rt-qc-colsearch-area,.rt-qc-colsearch-area-hover,.rt-qc-colsearch-area:hover {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='5' cy='5' r='3.2' stroke='%2352647a' stroke-width='1.3' fill='none'/%3E%3Cpath d='m7.5 7.5 3 3' stroke='%2352647a' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-position:center;background-size:contain;
}
.rt-qc-colsearch-area:hover,.rt-qc-colsearch-area-hover {outline:3px solid #dce8fc;border-radius:2px;}
.rt-qc-colresizeline,.rt-qc-colmoveline {border-color:var(--qc-next-blue);}
.rt-qc-colresizetooltip {color:var(--qc-next-blue-dark);border-color:#b6cef6;background-color:#f3f7ff;border-radius:4px;}
.rt-qc-colmoveshadow {border-color:#b6cef6;box-shadow:var(--qc-next-shadow);}
/* Engine scrollbars: track/thumb colors only. Keep dragger dimensions and arrows. */
.rt-qc-hscrollbar,.rt-qc-vscrollbar {border-color:var(--qc-next-rule);background-color:#f7f9fc;}
.rt_qc_mCS-qcell-default.rt_qc_mCSB_scrollTools .rt_qc_mCSB_draggerRail {background-color:#e8edf4;border-radius:8px;}
.rt_qc_mCS-qcell-default.rt_qc_mCSB_scrollTools .rt_qc_mCSB_dragger .rt_qc_mCSB_dragger_bar {background-color:#a9b8cb;border-radius:8px;}
.rt_qc_mCS-qcell-default.rt_qc_mCSB_scrollTools .rt_qc_mCSB_dragger:hover .rt_qc_mCSB_dragger_bar,
.rt_qc_mCS-qcell-default.rt_qc_mCSB_scrollTools .rt_qc_mCSB_dragger:active .rt_qc_mCSB_dragger_bar {background-color:#748ba9;}
/* Tree artwork retains original dimensions and click behavior. */
.rt-qc-gtui-arrow-expand {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m2 3.5 3 3 3-3' fill='none' stroke='%2352647a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:10px 10px;}
.rt-qc-gtui-arrow-collapse {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m3.5 2 3 3-3 3' fill='none' stroke='%2352647a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:10px 10px;}
.rt-qc-gtui-folder-expand,.rt-qc-gtui-folder-collapse {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 2h5l2 2h7v7H1z' fill='%23dce8fc' stroke='%236080ae' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:14px 11px;}
.rt-qc-gtui-header,.rt-qc-gtui-footer {background-color:#edf3fa!important;color:#233c61!important;}
.rt-qc-grandtotal-row {background-color:#dce8fc!important;color:#203d70;}
/* Native form controls; do not target business HTML renderer content. */
.rt-qc-cell input[type=checkbox],.rt-qc-cell input[type=radio],.rt-qc-filter-ui-area input[type=checkbox] {accent-color:var(--qc-next-blue);}
.rt-qc-input-text-style,.rt-qc-cell input:not([type=checkbox]):not([type=radio]),.rt-qc-cell textarea,.rt-qc-cell select {
  color:var(--qc-next-ink);background-color:#fff;border-color:#b7c8e0;border-radius:2px;
}
.rt-qc-cell input:focus,.rt-qc-cell textarea:focus,.rt-qc-cell select:focus {outline:1px solid var(--qc-next-blue);outline-offset:-1px;}
/* Portals may be appended outside a grid root. Restrict by opt-in page + engine class. */
.rt-qc-filter-ui-area,.rt-qc-colsearch-ui-area,.rt-qc-contextmenu-area {
  border-color:var(--qc-next-border);background-color:#fff;color:var(--qc-next-ink);border-radius:8px;box-shadow:var(--qc-next-shadow);
}
.rt-qc-filter-title-span {color:var(--qc-next-ink);font-size:14px;font-weight:650;}
.rt-qc-filter-ui-area input:not([type=checkbox]):not([type=radio]),.rt-qc-filter-ui-area select,.rt-qc-colsearch-ui-area input:not([type=checkbox]):not([type=radio]),.rt-qc-colsearch-ui-area select {
  border:1px solid #c7d4e5;border-radius:4px;background-color:#fff;color:var(--qc-next-ink);font-size:12px;min-width:0;box-sizing:border-box;
}
.rt-qc-filter-ui-area input:focus,.rt-qc-filter-ui-area select:focus,.rt-qc-colsearch-ui-area input:focus,.rt-qc-colsearch-ui-area select:focus {outline:1px solid var(--qc-next-blue);outline-offset:0;}
.rt-qc-filter-ui-btn,.rt-qc-colsearch-ui-btn {border-radius:4px;border-color:#c7d4e5;background-color:#e8effa;color:#204b95;font-weight:600;font-size:12px;}
.rt-qc-filter-ui-btn:hover,.rt-qc-colsearch-ui-btn:hover {box-shadow:inset 0 0 0 999px rgba(37,99,216,.08);}
.rt-qc-contextmenu-item {font-size:13px;color:var(--qc-next-ink);}
.rt-qc-contextmenu-item:hover {background-color:#e9f1ff;color:#1748ad;}
.rt-qc-contextmenu-disable,.rt-qc-contextmenu-disable:hover {color:#8795a7;background-color:transparent;}
.rt-qc-contextmenu-divine {border-top-color:var(--qc-next-rule);border-top-style:solid;}
.rt-qc-tooltip>.content {background:#24364d;color:white;border-color:#24364d;border-radius:5px;box-shadow:var(--qc-next-shadow);}
/* Native pagination: preserve button spacing, panel geometry and navigation events. */
.rt-qc-paginationpanel {background-color:var(--qc-next-fixed);border-bottom-color:var(--qc-next-border);}
.rt-qc-pagination-nav,.rt-qc-pagination-nav-btn,.rt-qc-pagination-nav-info {color:var(--qc-next-muted)!important;font-weight:500;}
.rt-qc-pagination-nav-btn-button,.rt-qc-pagination-nav-pager-button {color:var(--qc-next-muted);border-radius:4px;}
.rt-qc-pagination-nav-pager,.rt-qc-pagination-nav-pager-skip {color:var(--qc-next-ink)!important;border-radius:4px;}
.rt-qc-pagination-nav-pager:hover {background-color:#e9f1ff;border-color:#bfd1ed;color:var(--qc-next-blue-dark)!important;}
.rt-qc-pagination-nav-pager-now {background-color:var(--qc-next-blue);border-color:var(--qc-next-blue);color:#fff!important;border-radius:4px;}
.rt-qc-pagination-nav-pager-now button {color:#fff;}
.rt-qc-pagination-ui-center .rt-qc-pagination-nav-input {border-color:#c7d4e5;background-color:#fff;color:var(--qc-next-ink)!important;border-radius:4px;}
.rt-qc-pagination-nav-select {border-color:#c7d4e5;border-radius:4px;background-color:#fff;color:var(--qc-next-ink)!important;}
/* QCELL-owned jQuery UI classes (unprefixed site widgets remain untouched). */
.rt-qc-ui-datepicker,.rt-qc-ui-selectmenu-menu {border-color:var(--qc-next-border);border-radius:6px;box-shadow:var(--qc-next-shadow);background-color:#fff;color:var(--qc-next-ink);}
/* Keep narrow headers readable: use the original 7px sort hitbox closer to the edge. */

.rt-qc-filter-ui-close,.rt-qc-colsearch-ui-close {
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 3 6 6m0-6-6 6' stroke='%2352647a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-position:center;background-size:contain;
}
/* The engine uses inline colors for command state. Keep that state; use white text on active blue. */
.rt-qc-filter-ui-btn[style*="59, 153, 252"],.rt-qc-colsearch-ui-btn[style*="59, 153, 252"] {background-color:var(--qc-next-blue)!important;border-color:var(--qc-next-blue)!important;color:white;}
.rt-qc-filter-ui-btn[style*="148, 149, 152"],.rt-qc-colsearch-ui-btn[style*="148, 149, 152"] {background-color:#e5e9ef!important;border-color:#d1d9e5!important;color:#536478;}

/* v1.1: documented cell classes. Keep all cell dimensions and inline business styles.
   Scoped to QCELL elements, enabled by stylesheet inclusion only. */
.rt-qc-root { --qc-next-applied: v1_1; border-color:#cbd5e1!important; }
.rt-qc-root .rt-qc-cell {font-size:13px;}
.rt-qc-root :is(.rt-qc-cell-colheader,.rt-qc-cell-edgeheader,.rt-qc-cell-headerrows):not(.rt-qc-cell-select):not(.rt-qc-cell-focus) {
  background-color:#e2e8f0!important; color:#1e293b!important; border-color:#cbd5e1!important; font-weight:600;
}
.rt-qc-root .rt-qc-cell-rowheader:not(.rt-qc-cell-select):not(.rt-qc-cell-focus) {
  background-color:#f1f5f9!important; color:#64748b!important; border-color:#e2e8f0!important;
}
.rt-qc-root .rt-qc-cell-viewport:not(.rt-qc-cell-select):not(.rt-qc-cell-focus):not(.rt-qc-cell-frozencols):not(.rt-qc-cell-frozenrows):not(.rt-qc-cell-frozenbottomrows) {
  border-color:#e2e8f0!important; border-right-color:transparent!important; color:#334155;
}
.rt-qc-root .rt-qc-cell-viewport:is(.rt-qc-cell-frozencols,.rt-qc-cell-frozenrows):not(.rt-qc-cell-select):not(.rt-qc-cell-focus) { background-color:#f1f5f9!important; border-color:#cbd5e1!important; }
.rt-qc-root .rt-qc-cell-select {background-color:#dbeafe!important;color:#1e3a8a!important;border-color:#93c5fd!important;}
.rt-qc-root .rt-qc-cell-focus, .rt-qc-root .rt-qc-cell-focus.rt-qc-cell-select {background-color:#eff6ff!important;color:#1e3a8a!important;border-color:#2563eb!important;box-shadow:inset 0 0 0 1px #2563eb;}
.rt-qc-root .rt-qc-paginationpanel {background-color:#f8fafc!important;border-color:#cbd5e1!important;}
.rt-qc-root .rt-qc-paginationpanel :is(.rt-qc-pagination-nav,.rt-qc-pagination-nav-btn,.rt-qc-pagination-nav-info) {color:#475569!important;}
.rt-qc-root .rt-qc-paginationpanel .rt-qc-pagination-nav-pager-now {color:#fff!important;background-color:#2563eb!important;border-color:#2563eb!important;}
.rt-qc-root .rt-qc-paginationpanel .rt-qc-pagination-nav-input {color:#1d4ed8!important;background-color:#e8efff!important;border-color:#c7d2fe!important;}
.rt-qc-root .rt-qc-paginationpanel .rt-qc-pagination-nav-select {color:#334155!important;background-color:#fff!important;border-color:#cbd5e1!important;}
.rt-qc-ui-state-active,.rt-qc-ui-widget-content .rt-qc-ui-state-active,.rt-qc-ui-widget-header .rt-qc-ui-state-active {background-color:#e8efff;border-color:#93b4f5;color:#1d4ed8;border-radius:4px;}
.rt-qc-datepicker-wrap-style {box-shadow:var(--qc-next-shadow);border-radius:6px;}

.rt-qc-root .rt-qc-cell-frozenbottomrows:not(.rt-qc-cell-focus):not(.rt-qc-cell-select) {background-color:#edf3fa!important;border-color:#cbd5e1!important;color:#233c61!important;}
