@charset "UTF-8";
/* 

iui-container type="table"

 */
.iui-container.table {
  border-collapse: collapse;
  box-sizing: border-box;
  font-size: 14px !important;
  table-layout: fixed;
  width: 100%;
}
.iui-container.table tr.row {
  box-sizing: border-box;
}
.iui-container.table tr.row > th.col-header {
  box-sizing: border-box;
  min-width: 90px;
}
.iui-container.table tr.row > th.col-header > .cell-box {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.table tr.row > th.col-header > .cell-box * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.table tr.row > th.col-header > .cell-box > * {
  flex: 0 0 auto;
}
.iui-container.table tr.row > th.col-header > .cell-box {
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}
.iui-container.table tr.row > th.required > .cell-box::before {
  width: 1rem;
  color: red;
  content: "*";
}
.iui-container.table tr.row > td.col {
  box-sizing: border-box;
}
.iui-container.table tr.row > td.col > .cell-box {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.table tr.row > td.col > .cell-box * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.table tr.row > td.col > .cell-box > * {
  flex: 0 0 auto;
}
.iui-container.table tr.row > td.col > .cell-box {
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}
.iui-container.table tr.row > td.spacer {
  /* background: orange; */
  box-sizing: border-box;
  width: 10px;
}
.iui-container.table tr.spacer {
  /* background: orange; */
  box-sizing: border-box;
  height: 10px;
}
.iui-container.table.default {
  border-top: 1px solid #444;
  border-collapse: collapse;
}
.iui-container.table.default > tr > th {
  background-color: #f2f2f2;
  border-left: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 6px;
  font-weight: normal;
}
.iui-container.table.default > tr > td {
  border-left: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-spacing: 0px;
  padding: 6px 10px;
}
.iui-container.table.default > tr > :last-child {
  border-right: 1px solid #dddddd;
}
/* 

iui-container type="css-table"

 */
.iui-container.css-table {
  border: 1px solid #999;
  box-sizing: border-box;
  display: table;
  width: 100%;
}
.iui-container.css-table > div.row {
  box-sizing: border-box;
  display: table-row;
}
.iui-container.css-table > div.row > div.col-header {
  background-color: #eee;
  border: 1px solid #aaa;
  box-sizing: border-box;
  display: table-cell;
}
.iui-container.css-table > div.row > div.col {
  border: 1px solid #aaa;
  box-sizing: border-box;
  display: table-cell;
}
/* 

iui-container type="css-flex-table"

 */
.iui-container.css-flex-table {
  border: 1px solid #aaa;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.iui-container.css-flex-table > div.row {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}
.iui-container.css-flex-table > div.row > div.col-header {
  background-color: #eee;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* border: 1px solid #aaa; */
  /* padding: 3px; */
}
.iui-container.css-flex-table > div.row > div.col-header > div.border-box {
  border: 1px solid #aaa;
  box-sizing: border-box;
  /* padding: 3px; */
}
.iui-container.css-flex-table > div.row > div.col-header > div.cell-box {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.css-flex-table > div.row > div.col-header > div.cell-box * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.css-flex-table > div.row > div.col-header > div.cell-box > * {
  flex: 0 0 auto;
}
.iui-container.css-flex-table > div.row > div.col-header > div.cell-box {
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}
.iui-container.css-flex-table > div.row > div.col {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* border: 1px solid #aaa; */
  /* padding: 3px; */
}
.iui-container.css-flex-table > div.row > div.col > div.border-box {
  border: 1px solid #aaa;
  box-sizing: border-box;
  /* padding: 3px; */
}
.iui-container.css-flex-table > div.row > div.col > div.cell-box {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.css-flex-table > div.row > div.col > div.cell-box * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-container.css-flex-table > div.row > div.col > div.cell-box > * {
  flex: 0 0 auto;
}
.iui-container.css-flex-table > div.row > div.col > div.cell-box {
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}
/**

iui-container type="css-flex"

 */
.iui-container.css-flex {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.iui-container.css-flex div.row {
  box-sizing: border-box;
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%;
  flex-direction: row;
}
.iui-container.css-flex div.row > div.col {
  box-sizing: border-box;
  display: block;
  flex: 1;
  overflow-y: auto;
}
.iui-container.css-flex div.col {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.iui-container.css-flex div.col > div.row {
  box-sizing: border-box;
  display: block;
  flex: 1;
  overflow-y: auto;
}
.iui-container.css-flex div.spacer {
  /* background: orange; */
  box-sizing: border-box;
  flex: 0 0 10px;
}
.iui-container-debug {
  border: 1px solid blue;
  padding: 5px;
}
.tabTooltip {
  display: inline-block;
  color: #d2d2d2;
  font-weight: bold;
}
.tabTooltip-text {
  max-width: 200px;
  border: 1px solid;
  border-radius: 5px;
  padding: 5px;
  font-size: 0.8em;
  color: white;
  background: #777777;
  z-index: 9999;
}
.iui-dialog > .overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ccc;
  opacity: 0.5;
}
.iui-dialog > .background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 100vh;
  opacity: 1;
  align-items: center;
  justify-content: center;
}
.iui-dialog > .slot {
  display: flex;
  max-width: 100vw;
  max-height: 100vh;
  opacity: 1;
  overflow-y: auto;
}
.iui-dialog > .slot .iui-page {
  height: unset !important;
}
.iui-dialog-enter-active,
.iui-dialog-leave-active {
  transition: opacity 0.2s ease;
}
.iui-dialog-enter-from,
.iui-dialog-leave-to {
  opacity: 0;
}
@keyframes iui-dialog-shake {
0% {
    transform: scale(1);
}
30% {
    transform: scale(1.05);
}
40% {
    transform: scale(1);
}
60% {
    transform: scale(1.05);
}
70% {
    transform: scale(1);
}
100% {
    transform: scale(1);
}
}.iui-alert {
  min-width: 400px;
  min-height: 200px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 4px 8px;
  border-radius: 15px;
  padding: 20px 20px 20px 20px;
  margin: 12px;
  display: flex;
  flex-direction: column;
  animation: iui-alert-show 0.3s;
}
.iui-alert > * {
  margin-bottom: 0.5rem;
}
.iui-alert > *:last-child {
  margin-bottom: unset;
}
.iui-alert h1.title {
  height: fit-content;
  font-size: 2rem;
  margin-top: unset;
}
.iui-alert .content {
  display: flex;
  flex: 1;
}
.iui-alert .content .icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iui-alert .content .message {
  flex: 1;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.iui-alert .bottom {
  height: min-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes iui-alert-show {
0% {
    transform: scale(0.3);
}
100% {
    transform: scale(1);
}
}
@keyframes iui-alert-hide {
0% {
    transform: scale(1);
    opacity: 1;
}
100% {
    transform: scale(0.5);
    opacity: 0;
}
}.iui-confirm {
  min-width: 400px;
  min-height: 200px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 4px 8px;
  border-radius: 15px;
  padding: 20px 20px 20px 20px;
  margin: 12px;
  display: flex;
  flex-direction: column;
  animation: iui-confirm-show 0.3s;
}
.iui-confirm > * {
  margin-bottom: 0.5rem;
}
.iui-confirm > *:last-child {
  margin-bottom: unset;
}
.iui-confirm h1.title {
  height: fit-content;
  font-size: 2rem;
  margin-top: unset;
}
.iui-confirm .content {
  display: flex;
  flex: 1;
}
.iui-confirm .content .icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iui-confirm .content .message {
  flex: 1;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.iui-confirm .bottom {
  height: min-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iui-confirm .bottom > * {
  margin-right: 0.5rem;
}
.iui-confirm .bottom > *:last-child {
  margin-right: unset;
}
@keyframes iui-confirm-show {
0% {
    transform: scale(0.3);
}
100% {
    transform: scale(1);
}
}
@keyframes iui-confirm-hide {
0% {
    transform: scale(1);
    opacity: 1;
}
100% {
    transform: scale(0.5);
    opacity: 0;
}
}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:"";position:relative;top:-1px;display:inline-block;width:10px;height:10px;vertical-align:middle;border-style:solid;border-color:currentColor;border-width:2px 0 0 2px;border-radius:1px;box-sizing:border-box;transform-origin:center;transform:rotate(-45deg) scale(0.7)}.mx-icon-double-left:after{left:-4px}.mx-icon-double-right:before{left:4px}.mx-icon-right:before,.mx-icon-double-right:before,.mx-icon-double-right:after{transform:rotate(135deg) scale(0.7)}.mx-btn{box-sizing:border-box;line-height:1;font-size:14px;font-weight:500;padding:7px 15px;margin:0;cursor:pointer;background-color:transparent;outline:none;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#73879c;white-space:nowrap}.mx-btn:hover{border-color:#1284e7;color:#1284e7}.mx-btn-text{border:0;padding:0 4px;text-align:left;line-height:inherit}.mx-scrollbar{height:100%}.mx-scrollbar:hover .mx-scrollbar-track{opacity:1}.mx-scrollbar-wrap{height:100%;overflow-x:hidden;overflow-y:auto}.mx-scrollbar-track{position:absolute;top:2px;right:2px;bottom:2px;width:6px;z-index:1;border-radius:4px;opacity:0;transition:opacity .24s ease-out}.mx-scrollbar-track .mx-scrollbar-thumb{position:absolute;width:100%;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,.3);transition:background-color .3s}.mx-zoom-in-down-enter-active,.mx-zoom-in-down-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(0.23, 1, 0.32, 1),opacity .3s cubic-bezier(0.23, 1, 0.32, 1);transform-origin:center top}.mx-zoom-in-down-enter,.mx-zoom-in-down-enter-from,.mx-zoom-in-down-leave-to{opacity:0;transform:scaleY(0)}.mx-datepicker{position:relative;display:inline-block;width:210px}.mx-datepicker svg{width:1em;height:1em;vertical-align:-0.15em;fill:currentColor;overflow:hidden}.mx-datepicker-range{width:320px}.mx-datepicker-inline{width:auto}.mx-input-wrapper{position:relative}.mx-input-wrapper .mx-icon-clear{display:none}.mx-input-wrapper:hover .mx-icon-clear{display:block}.mx-input-wrapper:hover .mx-icon-clear+.mx-icon-calendar{display:none}.mx-input{display:inline-block;box-sizing:border-box;width:100%;height:34px;padding:6px 30px;padding-left:10px;font-size:14px;line-height:1.4;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.mx-input:hover,.mx-input:focus{border-color:#409aff}.mx-input:disabled,.mx-input.disabled{color:#ccc;background-color:#f3f3f3;border-color:#ccc;cursor:not-allowed}.mx-input:focus{outline:none}.mx-input::-ms-clear{display:none}.mx-icon-calendar,.mx-icon-clear{position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:16px;line-height:1;color:rgba(0,0,0,.5);vertical-align:middle}.mx-icon-clear{cursor:pointer}.mx-icon-clear:hover{color:rgba(0,0,0,.8)}.mx-datepicker-main{font:14px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei",sans-serif;color:#73879c;background-color:#fff;border:1px solid #e8e8e8}.mx-datepicker-popup{position:absolute;margin-top:1px;margin-bottom:1px;box-shadow:0 6px 12px rgba(0,0,0,.175);z-index:2001}.mx-datepicker-sidebar{float:left;box-sizing:border-box;width:100px;padding:6px;overflow:auto}.mx-datepicker-sidebar+.mx-datepicker-content{margin-left:100px;border-left:1px solid #e8e8e8}.mx-datepicker-body{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mx-btn-shortcut{display:block;padding:0 6px;line-height:24px}.mx-datepicker-header{padding:6px 8px;border-bottom:1px solid #e8e8e8}.mx-datepicker-footer{padding:6px 8px;text-align:right;border-top:1px solid #e8e8e8}.mx-calendar-range,.mx-time-range{display:flex}@media(max-width: 750px){.mx-calendar-range,.mx-time-range{flex-direction:column}}.mx-calendar{box-sizing:border-box;width:248px;padding:6px 12px}.mx-calendar+.mx-calendar{border-left:1px solid #e8e8e8}.mx-calendar-header,.mx-time-header{box-sizing:border-box;height:34px;line-height:34px;text-align:center;overflow:hidden}.mx-btn-icon-left,.mx-btn-icon-double-left{float:left}.mx-btn-icon-right,.mx-btn-icon-double-right{float:right}.mx-calendar-header-label{font-size:14px}.mx-calendar-decade-separator{margin:0 2px}.mx-calendar-decade-separator:after{content:"~"}.mx-calendar-content{position:relative;height:224px;box-sizing:border-box}.mx-calendar-content .cell{cursor:pointer}.mx-calendar-content .cell:hover{color:#73879c;background-color:#f3f9fe}.mx-calendar-content .cell.active{color:#fff;background-color:#1284e7}.mx-calendar-content .cell.in-range,.mx-calendar-content .cell.hover-in-range{color:#73879c;background-color:#dbedfb}.mx-calendar-content .cell.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-calendar-week-mode .mx-date-row{cursor:pointer}.mx-calendar-week-mode .mx-date-row:hover{background-color:#f3f9fe}.mx-calendar-week-mode .mx-date-row.mx-active-week{background-color:#dbedfb}.mx-calendar-week-mode .mx-date-row .cell:hover{color:inherit;background-color:transparent}.mx-calendar-week-mode .mx-date-row .cell.active{color:inherit;background-color:transparent}.mx-week-number{opacity:.5}.mx-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;height:100%;box-sizing:border-box;text-align:center}.mx-table th{padding:0;font-weight:500;vertical-align:middle}.mx-table td{padding:0;vertical-align:middle}.mx-table-date td,.mx-table-date th{height:32px;font-size:12px}.mx-table-date .today{color:#2a90e9}.mx-table-date .cell.not-current-month{color:#ccc;background:none}.mx-time{flex:1;width:224px;background:#fff}.mx-time+.mx-time{border-left:1px solid #e8e8e8}.mx-date-time{position:relative;width:248px;height:270px}.mx-date-time .mx-time{position:absolute;top:0;left:0;width:100%;height:100%}.mx-date-time-range{position:relative;width:496px;height:270px}.mx-date-time-range .mx-time-range{position:absolute;top:0;left:0;width:100%;height:100%}.mx-time-header{border-bottom:1px solid #e8e8e8}.mx-time-content{height:224px;box-sizing:border-box;overflow:hidden}.mx-time-columns{display:flex;width:100%;height:100%;overflow:hidden}.mx-time-column{flex:1;position:relative;border-left:1px solid #e8e8e8;text-align:center}.mx-time-column:first-child{border-left:0}.mx-time-column .mx-time-list{margin:0;padding:0;list-style:none}.mx-time-column .mx-time-list::after{content:"";display:block;height:192px}.mx-time-column .mx-time-item{cursor:pointer;font-size:12px;height:32px;line-height:32px}.mx-time-column .mx-time-item:hover{color:#73879c;background-color:#f3f9fe}.mx-time-column .mx-time-item.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-column .mx-time-item.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-time-option{cursor:pointer;padding:8px 10px;font-size:14px;line-height:20px}.mx-time-option:hover{color:#73879c;background-color:#f3f9fe}.mx-time-option.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-option.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}
/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.textLayer {
  position: absolute;
  text-align: initial;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.2;
  line-height: 1;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
  forced-color-adjust: none;
}

.textLayer span,
.textLayer br {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  transform-origin: 0% 0%;
}

/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
 * the problem doesn't show up in "text" reference tests. */
.textLayer span.markedContent {
  top: 0;
  height: 0;
}

.textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: rgba(180, 0, 170, 1);
  border-radius: 4px;
}

.textLayer .highlight.appended {
  position: initial;
}

.textLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}

.textLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}

.textLayer .highlight.middle {
  border-radius: 0;
}

.textLayer .highlight.selected {
  background-color: rgba(0, 100, 0, 1);
}

.textLayer ::-moz-selection {
  background: rgba(0, 0, 255, 1);
}

.textLayer ::selection {
  background: rgba(0, 0, 255, 1);
}

/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::-moz-selection {
  background: transparent;
}
.textLayer br::selection {
  background: transparent;
}

.textLayer .endOfContent {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  right: 0;
  bottom: 0;
  z-index: -1;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.textLayer .endOfContent.active {
  top: 0;
}


:root {
  --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
}

@media (forced-colors: active) {
  .annotationLayer .textWidgetAnnotation input:required,
  .annotationLayer .textWidgetAnnotation textarea:required,
  .annotationLayer .choiceWidgetAnnotation select:required,
  .annotationLayer .buttonWidgetAnnotation.checkBox input:required,
  .annotationLayer .buttonWidgetAnnotation.radioButton input:required {
    outline: 1.5px solid selectedItem;
  }
}

.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
}

.annotationLayer section {
  position: absolute;
  text-align: initial;
  pointer-events: auto;
  box-sizing: border-box;
  transform-origin: 0 0;
}

.annotationLayer .linkAnnotation > a,
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationLayer .buttonWidgetAnnotation.pushButton > canvas {
  width: 100%;
  height: 100%;
}

.annotationLayer .linkAnnotation > a:hover,
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
  opacity: 0.2;
  background: rgba(255, 255, 0, 1);
  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
}

.annotationLayer .textAnnotation img {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.annotationLayer .textWidgetAnnotation input,
.annotationLayer .textWidgetAnnotation textarea,
.annotationLayer .choiceWidgetAnnotation select,
.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
  background-image: var(--annotation-unfocused-field-background);
  border: 1px solid transparent;
  box-sizing: border-box;
  font: calc(9px * var(--scale-factor)) sans-serif;
  height: 100%;
  margin: 0;
  vertical-align: top;
  width: 100%;
}

.annotationLayer .textWidgetAnnotation input:required,
.annotationLayer .textWidgetAnnotation textarea:required,
.annotationLayer .choiceWidgetAnnotation select:required,
.annotationLayer .buttonWidgetAnnotation.checkBox input:required,
.annotationLayer .buttonWidgetAnnotation.radioButton input:required {
  outline: 1.5px solid red;
}

.annotationLayer .choiceWidgetAnnotation select option {
  padding: 0;
}

.annotationLayer .buttonWidgetAnnotation.radioButton input {
  border-radius: 50%;
}

.annotationLayer .textWidgetAnnotation textarea {
  resize: none;
}

.annotationLayer .textWidgetAnnotation input[disabled],
.annotationLayer .textWidgetAnnotation textarea[disabled],
.annotationLayer .choiceWidgetAnnotation select[disabled],
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
  background: none;
  border: 1px solid transparent;
  cursor: not-allowed;
}

.annotationLayer .textWidgetAnnotation input:hover,
.annotationLayer .textWidgetAnnotation textarea:hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
  border: 1px solid rgba(0, 0, 0, 1);
}

.annotationLayer .textWidgetAnnotation input:focus,
.annotationLayer .textWidgetAnnotation textarea:focus,
.annotationLayer .choiceWidgetAnnotation select:focus {
  background: none;
  border: 1px solid transparent;
}

.annotationLayer .textWidgetAnnotation input :focus,
.annotationLayer .textWidgetAnnotation textarea :focus,
.annotationLayer .choiceWidgetAnnotation select :focus,
.annotationLayer .buttonWidgetAnnotation.checkBox :focus,
.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
  background-image: none;
  background-color: transparent;
  outline: auto;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
  background-color: CanvasText;
  content: "";
  display: block;
  position: absolute;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
  height: 80%;
  left: 45%;
  width: 1px;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
  transform: rotate(45deg);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
  transform: rotate(-45deg);
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
  border-radius: 50%;
  height: 50%;
  left: 30%;
  top: 20%;
  width: 50%;
}

.annotationLayer .textWidgetAnnotation input.comb {
  font-family: monospace;
  padding-left: 2px;
  padding-right: 0;
}

.annotationLayer .textWidgetAnnotation input.comb:focus {
  /*
   * Letter spacing is placed on the right side of each character. Hence, the
   * letter spacing of the last character may be placed outside the visible
   * area, causing horizontal scrolling. We avoid this by extending the width
   * when the element has focus and revert this when it loses focus.
   */
  width: 103%;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.annotationLayer .popupTriggerArea {
  height: 100%;
  width: 100%;
}

.annotationLayer .popupWrapper {
  position: absolute;
  font-size: calc(9px * var(--scale-factor));
  width: 100%;
  min-width: calc(180px * var(--scale-factor));
  pointer-events: none;
}

.annotationLayer .popup {
  position: absolute;
  max-width: calc(180px * var(--scale-factor));
  background-color: rgba(255, 255, 153, 1);
  box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
    rgba(136, 136, 136, 1);
  border-radius: calc(2px * var(--scale-factor));
  padding: calc(6px * var(--scale-factor));
  margin-left: calc(5px * var(--scale-factor));
  cursor: pointer;
  font: message-box;
  white-space: normal;
  word-wrap: break-word;
  pointer-events: auto;
}

.annotationLayer .popup > * {
  font-size: calc(9px * var(--scale-factor));
}

.annotationLayer .popup h1 {
  display: inline-block;
}

.annotationLayer .popupDate {
  display: inline-block;
  margin-left: calc(5px * var(--scale-factor));
}

.annotationLayer .popupContent {
  border-top: 1px solid rgba(51, 51, 51, 1);
  margin-top: calc(2px * var(--scale-factor));
  padding-top: calc(2px * var(--scale-factor));
}

.annotationLayer .richText > * {
  white-space: pre-wrap;
  font-size: calc(9px * var(--scale-factor));
}

.annotationLayer .highlightAnnotation,
.annotationLayer .underlineAnnotation,
.annotationLayer .squigglyAnnotation,
.annotationLayer .strikeoutAnnotation,
.annotationLayer .freeTextAnnotation,
.annotationLayer .lineAnnotation svg line,
.annotationLayer .squareAnnotation svg rect,
.annotationLayer .circleAnnotation svg ellipse,
.annotationLayer .polylineAnnotation svg polyline,
.annotationLayer .polygonAnnotation svg polygon,
.annotationLayer .caretAnnotation,
.annotationLayer .inkAnnotation svg polyline,
.annotationLayer .stampAnnotation,
.annotationLayer .fileAttachmentAnnotation {
  cursor: pointer;
}

.annotationLayer section svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.annotationLayer .annotationTextContent {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.annotationLayer .annotationTextContent span {
  width: 100%;
  display: inline-block;
}


:root {
  --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
}

@media (forced-colors: active) {
  .xfaLayer *:required {
    outline: 1.5px solid selectedItem;
  }
}

.xfaLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: rgba(239, 203, 237, 1);
  border-radius: 4px;
}

.xfaLayer .highlight.appended {
  position: initial;
}

.xfaLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}

.xfaLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}

.xfaLayer .highlight.middle {
  border-radius: 0;
}

.xfaLayer .highlight.selected {
  background-color: rgba(203, 223, 203, 1);
}

.xfaLayer ::-moz-selection {
  background: rgba(0, 0, 255, 1);
}

.xfaLayer ::selection {
  background: rgba(0, 0, 255, 1);
}

.xfaPage {
  overflow: hidden;
  position: relative;
}

.xfaContentarea {
  position: absolute;
}

.xfaPrintOnly {
  display: none;
}

.xfaLayer {
  position: absolute;
  text-align: initial;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  line-height: 1.2;
}

.xfaLayer * {
  color: inherit;
  font: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-kerning: inherit;
  letter-spacing: -0.01px;
  text-align: inherit;
  text-decoration: inherit;
  box-sizing: border-box;
  background-color: transparent;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  line-height: inherit;
}

.xfaLayer *:required {
  outline: 1.5px solid red;
}

.xfaLayer div {
  pointer-events: none;
}

.xfaLayer svg {
  pointer-events: none;
}

.xfaLayer svg * {
  pointer-events: none;
}

.xfaLayer a {
  color: blue;
}

.xfaRich li {
  margin-left: 3em;
}

.xfaFont {
  color: black;
  font-weight: normal;
  font-kerning: none;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
  text-decoration: none;
  vertical-align: 0;
}

.xfaCaption {
  overflow: hidden;
  flex: 0 0 auto;
}

.xfaCaptionForCheckButton {
  overflow: hidden;
  flex: 1 1 auto;
}

.xfaLabel {
  height: 100%;
  width: 100%;
}

.xfaLeft {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.xfaRight {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.xfaLeft > .xfaCaption,
.xfaLeft > .xfaCaptionForCheckButton,
.xfaRight > .xfaCaption,
.xfaRight > .xfaCaptionForCheckButton {
  max-height: 100%;
}

.xfaTop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.xfaBottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.xfaTop > .xfaCaption,
.xfaTop > .xfaCaptionForCheckButton,
.xfaBottom > .xfaCaption,
.xfaBottom > .xfaCaptionForCheckButton {
  width: 100%;
}

.xfaBorder {
  background-color: transparent;
  position: absolute;
  pointer-events: none;
}

.xfaWrapped {
  width: 100%;
  height: 100%;
}

.xfaTextfield:focus,
.xfaSelect:focus {
  background-image: none;
  background-color: transparent;
  outline: auto;
  outline-offset: -1px;
}

.xfaCheckbox:focus,
.xfaRadio:focus {
  outline: auto;
}

.xfaTextfield,
.xfaSelect {
  height: 100%;
  width: 100%;
  flex: 1 1 auto;
  border: none;
  resize: none;
  background-image: var(--xfa-unfocused-field-background);
}

.xfaTop > .xfaTextfield,
.xfaTop > .xfaSelect,
.xfaBottom > .xfaTextfield,
.xfaBottom > .xfaSelect {
  flex: 0 1 auto;
}

.xfaButton {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
}

.xfaLink {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.xfaCheckbox,
.xfaRadio {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border: none;
}

.xfaRich {
  white-space: pre-wrap;
  width: 100%;
  height: 100%;
}

.xfaImage {
  -o-object-position: left top;
     object-position: left top;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}

.xfaLrTb,
.xfaRlTb,
.xfaTb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.xfaLr {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.xfaRl {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
}

.xfaTb > div {
  justify-content: left;
}

.xfaPosition {
  position: relative;
}

.xfaArea {
  position: relative;
}

.xfaValignMiddle {
  display: flex;
  align-items: center;
}

.xfaTable {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.xfaTable .xfaRow {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.xfaTable .xfaRlRow {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  flex: 1;
}

.xfaTable .xfaRlRow > div {
  flex: 1;
}

.xfaNonInteractive input,
.xfaNonInteractive textarea,
.xfaDisabled input,
.xfaDisabled textarea,
.xfaReadOnly input,
.xfaReadOnly textarea {
  background: initial;
}

@media print {
  .xfaTextfield,
  .xfaSelect {
    background: transparent;
  }

  .xfaSelect {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    text-indent: 1px;
    text-overflow: "";
  }
}


:root {
  --focus-outline: solid 2px blue;
  --hover-outline: dashed 2px blue;
  --freetext-line-height: 1.35;
  --freetext-padding: 2px;
  --editorInk-editing-cursor: pointer;
}

@media (forced-colors: active) {
  :root {
    --focus-outline: solid 3px ButtonText;
    --hover-outline: dashed 3px ButtonText;
  }
}

[data-editor-rotation="90"] {
  transform: rotate(90deg);
}
[data-editor-rotation="180"] {
  transform: rotate(180deg);
}
[data-editor-rotation="270"] {
  transform: rotate(270deg);
}

.annotationEditorLayer {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  font-size: calc(100px * var(--scale-factor));
  transform-origin: 0 0;
}

.annotationEditorLayer .selectedEditor {
  outline: var(--focus-outline);
  resize: none;
}

.annotationEditorLayer .freeTextEditor {
  position: absolute;
  background: transparent;
  border-radius: 3px;
  padding: calc(var(--freetext-padding) * var(--scale-factor));
  resize: none;
  width: auto;
  height: auto;
  z-index: 1;
  transform-origin: 0 0;
  touch-action: none;
}

.annotationEditorLayer .freeTextEditor .internal {
  background: transparent;
  border: none;
  top: 0;
  left: 0;
  overflow: visible;
  white-space: nowrap;
  resize: none;
  font: 10px sans-serif;
  line-height: var(--freetext-line-height);
}

.annotationEditorLayer .freeTextEditor .overlay {
  position: absolute;
  display: none;
  background: transparent;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationEditorLayer .freeTextEditor .overlay.enabled {
  display: block;
}

.annotationEditorLayer .freeTextEditor .internal:empty::before {
  content: attr(default-content);
  color: gray;
}

.annotationEditorLayer .freeTextEditor .internal:focus {
  outline: none;
}

.annotationEditorLayer .inkEditor.disabled {
  resize: none;
}

.annotationEditorLayer .inkEditor.disabled.selectedEditor {
  resize: horizontal;
}

.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
  outline: var(--hover-outline);
}

.annotationEditorLayer .inkEditor {
  position: absolute;
  background: transparent;
  border-radius: 3px;
  overflow: auto;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform-origin: 0 0;
  cursor: auto;
}

.annotationEditorLayer .inkEditor.editing {
  resize: none;
  cursor: var(--editorInk-editing-cursor), pointer;
}

.annotationEditorLayer .inkEditor .inkEditorCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

:root {
  --viewer-container-height: 0;
  --pdfViewer-padding-bottom: 0;
  --page-margin: 1px auto -8px;
  --page-border: 9px solid transparent;
  --page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;
  --spreadHorizontalWrapped-margin-LR: -3.5px;
  --scale-factor: 1;
}

@media screen and (forced-colors: active) {
  :root {
    --pdfViewer-padding-bottom: 9px;
    --page-margin: 8px auto -1px;
    --page-border: 1px solid CanvasText;
    --page-border-image: none;
    --spreadHorizontalWrapped-margin-LR: 3.5px;
  }
}

[data-main-rotation="90"] {
  transform: rotate(90deg) translateY(-100%);
}
[data-main-rotation="180"] {
  transform: rotate(180deg) translate(-100%, -100%);
}
[data-main-rotation="270"] {
  transform: rotate(270deg) translateX(-100%);
}

.pdfViewer {
  padding-bottom: var(--pdfViewer-padding-bottom);
}

.pdfViewer .canvasWrapper {
  overflow: hidden;
}

.pdfViewer .page {
  direction: ltr;
  width: 816px;
  height: 1056px;
  margin: var(--page-margin);
  position: relative;
  overflow: visible;
  border: var(--page-border);
  -o-border-image: var(--page-border-image);
     border-image: var(--page-border-image);
  background-clip: content-box;
  background-color: rgba(255, 255, 255, 1);
}

.pdfViewer .dummyPage {
  position: relative;
  width: 0;
  height: var(--viewer-container-height);
}

.pdfViewer.removePageBorders .page {
  margin: 0 auto 10px;
  border: none;
}

.pdfViewer.singlePageView {
  display: inline-block;
}

.pdfViewer.singlePageView .page {
  margin: 0;
  border: none;
}

.pdfViewer.scrollHorizontal,
.pdfViewer.scrollWrapped,
.spread {
  margin-left: 3.5px;
  margin-right: 3.5px;
  text-align: center;
}

.pdfViewer.scrollHorizontal,
.spread {
  white-space: nowrap;
}

.pdfViewer.removePageBorders,
.pdfViewer.scrollHorizontal .spread,
.pdfViewer.scrollWrapped .spread {
  margin-left: 0;
  margin-right: 0;
}

.spread .page,
.spread .dummyPage,
.pdfViewer.scrollHorizontal .page,
.pdfViewer.scrollWrapped .page,
.pdfViewer.scrollHorizontal .spread,
.pdfViewer.scrollWrapped .spread {
  display: inline-block;
  vertical-align: middle;
}

.spread .page,
.pdfViewer.scrollHorizontal .page,
.pdfViewer.scrollWrapped .page {
  margin-left: var(--spreadHorizontalWrapped-margin-LR);
  margin-right: var(--spreadHorizontalWrapped-margin-LR);
}

.pdfViewer.removePageBorders .spread .page,
.pdfViewer.removePageBorders.scrollHorizontal .page,
.pdfViewer.removePageBorders.scrollWrapped .page {
  margin-left: 5px;
  margin-right: 5px;
}

.pdfViewer .page canvas {
  margin: 0;
  display: block;
}

.pdfViewer .page canvas[hidden] {
  display: none;
}

.pdfViewer .page .loadingIcon {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==") center no-repeat;
}
.pdfViewer .page .loadingIcon.notVisible {
  background: none;
}

.pdfViewer.enablePermissions .textLayer span {
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  cursor: not-allowed;
}

.pdfPresentationMode .pdfViewer {
  padding-bottom: 0;
}

.pdfPresentationMode .spread {
  margin: 0;
}

.pdfPresentationMode .pdfViewer .page {
  margin: 0 auto;
  border: 2px solid transparent;
}

.ck-editor__editable {
  min-height: 200px;
}
/**
 * @sheet/vanilla - Default Sheet Styles
 * (pmis-front 완벽 동일)
 *
 * 2-layer isolation:
 *   1. `sheet-` class prefix — naming collision prevention
 *   2. `[data-sheet]` attribute scoping — DOM tree isolation
 *
 * Note: @layer was removed because layered styles always lose to
 * un-layered host CSS resets (e.g. * { padding: 0; margin: 0; }).
 * [data-sheet] scoping (specificity 0-1-0+) already beats * (0-0-0).
 *
 * CSS Variables for theming:
 * --sheet-border-color: #e5e7eb (gray-200)
 * --sheet-header-bg: #f1f5f9 (slate-100)
 * --sheet-header-fg: #334155 (slate-700)  appearance 'list' 머리 글자색
 * --sheet-header-border: #cbd5e1 (slate-300)
 * --sheet-row-number-bg: #f3f4f6 (gray-100)
 * --sheet-frozen-bg: #ffffff
 * --sheet-active-color: #3b82f6 (blue-500)
 * --sheet-selection-bg: #eff6ff (blue-50)
 * --sheet-added-bg: #dcfce7
 * --sheet-modified-bg: #fff3e0
 * --sheet-deleted-bg: #ffebee
 * --sheet-group-header-bg: #64748b (slate-500)  [EPS-L11] 그룹 헤더 칸 배경
 * --sheet-group-header-color: #ffffff            [EPS-L11] 그룹 헤더 칸 글자
 * --sheet-group-header-border: #475569 (slate-600) [EPS-L11] 그룹 헤더 칸 테두리
 */

/* --- Touch scale tokens ---
 *
 * The mobile shell scales through these instead of duplicating rules in a
 * media query. `.sheet-touch` is applied by input/touch-state.ts based on
 * event.pointerType, so a touch laptop follows whichever device is in use.
 *
 * --sheet-tap-size is the VISUAL size; --sheet-tap-hit is the touch target,
 * expanded with an ::after overlay so row height never changes.
 * --sheet-row-height is the data-row height. The values below are only the
 * fallback: create-sheet sets it inline on the wrapper from the `rowHeight`
 * option (default 32), and .sheet-cell reads it — so the non-virtual path
 * now honours `rowHeight` the way the virtual path (dom-pool, inline height)
 * always did (row-height-option.test.ts). HEADER cells stay 36px. Do not
 * "correct" it to the header height — that was the original bug.
 */
[data-sheet].sheet-wrapper {
  --sheet-tap-size: 16px;
  --sheet-tap-hit: 16px;
  --sheet-cell-font: 14px;
  --sheet-icon-font: 10px;
  --sheet-resize-grip: 6px;
  --sheet-row-height: 32px;
}

[data-sheet].sheet-wrapper.sheet-touch {
  --sheet-tap-size: 22px;
  /* 32px, not the 44px guideline: the approved data-row height is 32px
   * (header cells are 36px, but no interactive checkbox/toggle lives in a
   * header row), so no element inside a data row can reach 44px
   * vertically. 32px is the honest ceiling — the full row height.
   * Horizontal reach is wider (cells are wider than they are tall), but
   * the token names the binding limit.
   * MEASURED: with this at 36px, the rendered 36x36 checkbox overflowed a
   * 32px data row by 2px top and bottom, and the hit area clamped to
   * 36x32 instead of the intended 36x36. */
  --sheet-tap-hit: 32px;
  --sheet-cell-font: 16px;
  --sheet-icon-font: 13px;
  /* MEASURED (Step 7b below): the parent header cell has overflow: hidden,
   * so the resize handle's grab zone must expand inward only. At 24px this
   * measures a 21px grab zone; see the resize-handle rule further down. */
  --sheet-resize-grip: 24px;
  --sheet-row-height: 32px;
}

/* --- Touch hit-area expansion (button/span targets) ---
 *
 * The visual size stays at --sheet-tap-size and only the hit area grows to
 * --sheet-tap-hit, so the 32px row height is preserved. The negative inset
 * makes ::after larger than its host.
 *
 * Only elements that can carry a pseudo-element are listed here. The four
 * checkbox targets are <input> (a void element) and are handled below.
 */
[data-sheet].sheet-wrapper.sheet-touch .sheet-tree-toggle,
[data-sheet].sheet-wrapper.sheet-touch .sheet-filter-btn,
[data-sheet].sheet-wrapper.sheet-touch .sheet-group-toggle {
  position: relative;
}

[data-sheet].sheet-wrapper.sheet-touch .sheet-tree-toggle::after,
[data-sheet].sheet-wrapper.sheet-touch .sheet-filter-btn::after,
[data-sheet].sheet-wrapper.sheet-touch .sheet-group-toggle::after {
  content: '';
  position: absolute;
  inset: calc((var(--sheet-tap-size) - var(--sheet-tap-hit)) / 2);
  /* Above sibling content but below frozen columns (z-index: 10). */
  z-index: 3;
}

/* --- Touch hit-area expansion (checkbox inputs) ---
 *
 * <input> CAN carry a generated ::after — measured in Blink, it is painted
 * and hit-tested. transform is used here anyway: pseudo-element support on
 * form controls is engine-divergent and the primary target (iOS Safari /
 * WebKit) could not be verified in this environment, whereas transform on
 * form controls has no such known divergence. The cost of that choice is
 * that scale() grows the visual box along with the hit area, unlike the
 * ::after overlay used above for non-form-control targets. Unlike a
 * <label> wrapper, transform also leaves event.target as the input, so
 * every existing `classList.contains(CLS.checkbox)` handler keeps
 * matching.
 *
 * scale() does not affect layout, so row height is untouched. 22px *
 * (32/22) = 32px, the data-row-height ceiling (22px is --sheet-tap-size
 * under .sheet-touch, already applied by Step 7's width/height rules).
 *
 * flex: none — MEASURED (at the time --sheet-tap-hit was 36px):
 * .sheet-row-select-checkbox computed to 17px, not 22px, because its cell
 * is display: flex; width: 40px; padding: 0 8px (24px content box) and the
 * checkbox carries margin: 3px 3px 3px 4px (7px horizontal), leaving
 * 17px — and flex-shrink: 1 (the flex default) was taking it, while the
 * other three checkbox targets are not flex children and were unaffected.
 * With flex: none the width returned to the full 22px, matching the other
 * three. The fix does not depend on the tap-hit value, so it stays
 * correct after correction (2) above drops --sheet-tap-hit to 32px.
 * Desktop is unaffected because 16px already fits inside the 40px cell —
 * this is touch-only.
 */
[data-sheet].sheet-wrapper.sheet-touch .sheet-checkbox,
[data-sheet].sheet-wrapper.sheet-touch .sheet-cell-checkbox,
[data-sheet].sheet-wrapper.sheet-touch .sheet-row-select-checkbox,
[data-sheet].sheet-wrapper.sheet-touch .sheet-row-select-all {
  transform: scale(calc(var(--sheet-tap-hit) / var(--sheet-tap-size)));
  transform-origin: center;
  flex: none;
}

/* --- Touch gesture arbitration ---
 *
 * pan-x pan-y keeps scrolling while suppressing double-tap zoom, so
 * double-tap-to-edit does not fight the browser. `none` on the handles
 * gives drags on them entirely to the sheet instead of the scroller —
 * this is the mechanism the selection handles depend on.
 */
[data-sheet] .sheet-grid {
  touch-action: pan-x pan-y;
}

[data-sheet] .sheet-touch-handle,
[data-sheet] .sheet-col-resize-handle {
  touch-action: none;
}

[data-sheet].sheet-wrapper.sheet-touch {
  /* Suppress the iOS long-press text callout — we implement long press
   * ourselves because iOS Safari does not fire `contextmenu`. */
  -webkit-touch-callout: none;
}

/* --- Touch: resize handle grab zone ---
 *
 * MEASURED: the parent header cell has `overflow: hidden`, so anything the
 * handle extends past the cell's right edge is clipped — and beyond that the
 * next header cell owns the hit. A symmetric expansion therefore yields 12px
 * of grab zone, not the intended 24px. Expanding inward only keeps the whole
 * zone inside the clipping parent and measures 21px.
 *
 * Side effect of inward-only: the grab zone sits left of the visual border
 * rather than centred on it. On touch that is the correct trade — it also
 * stops the zone from competing with the NEXT column's header tap.
 *
 * Known limitations, both measured:
 * 1. The existing DESKTOP grab zone is 3px, not 6px — half the 6px handle
 *    has always been clipped by the parent's overflow: hidden. This task
 *    does not change desktop: a mouse cursor is precise, so widening it is
 *    out of scope.
 * 2. On a 32px-wide column the 21px zone occupies most of the header. It
 *    does not intrude on the NEXT column (that is the point of inward-only)
 *    but it does compete with its own column's header tap (sort/filter).
 *    That is a documented limitation, not solved here — the full fix would
 *    be a header long-press to enter a resize mode, out of this plan's
 *    scope. Task 16's checklist verifies both a normal-width and a narrow
 *    column.
 */
[data-sheet].sheet-wrapper.sheet-touch .sheet-col-resize-handle::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  /* Inward only. Symmetric expansion is clipped — see the measurement above. */
  left: calc(-1 * var(--sheet-resize-grip) + 6px);
  right: 0;
}

/* Visible mark for the grab zone above.
 *
 * It used to be a 10px blue dot centred on the handle, and it was drawn cut
 * in half: the handle sits at `right: -3px` inside a header cell that clips
 * overflow, so only 3px of it is inside the cell. Measured — cell 53..103,
 * handle 100..106, the dot's box 96..110, of which 7px of 14px fell outside
 * and was clipped. Every column boundary showed a half-moon, 33 of them on
 * the attendance sheet.
 *
 * Now a short grip bar, kept entirely within those 3px so nothing is
 * clipped, and in the header's own divider colour so it reads as "this edge
 * can be dragged" without a row of blue dots across the header. The grab
 * zone (`::after`) is unchanged — what you can hit is still much wider than
 * what you can see. */
[data-sheet].sheet-wrapper.sheet-touch .sheet-col-resize-handle::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2px;
  top: 20%;
  bottom: 20%;
  border-radius: 1px;
  background: var(--sheet-header-border, #cbd5e1);
}

/* No `:active` highlight here, deliberately. It was tried and it is dead
 * code by construction: `column-resize.ts`'s `handlePointerDown` calls
 * `e.preventDefault()` as its first statement, which cancels the pointer's
 * activation behaviour, so the handle never enters `:active`. Measured —
 * `el.matches(':active')` was false at press, mid-drag and on release, for
 * both touch and mouse. Feedback during a drag would have to come from a
 * class the resize handler sets. */

/* --- Touch: interactive header controls outrank the grab zone ---
 *
 * MEASURED: the inward grab zone covers the select-all checkbox's centre in
 * the 40px rowSelect column, leaving it 42% reachable. The grab zone is a
 * convenience expansion; it must never swallow a real control.
 *
 * Cost, measured: the rowSelect column's own grab zone drops 21px -> 3px.
 * Every other column keeps its full 21px. Resizing a fixed 40px checkbox
 * column is low value; the select-all is a primary control.
 */
[data-sheet].sheet-wrapper.sheet-touch .sheet-row-select-all,
[data-sheet].sheet-wrapper.sheet-touch .sheet-filter-btn {
  position: relative;
  z-index: 11;
}

/* Reset */
[data-sheet] .sheet-container * {
  box-sizing: border-box;
}

/* Container */
[data-sheet] .sheet-container {
  border: 1px solid var(--sheet-border-color, #d1d5db);
  background: white;
  border-radius: 6px;
  overflow: auto;
  max-height: 500px;
  position: relative;
}

/* Sheet Grid */
[data-sheet] .sheet-grid {
  display: grid;
  user-select: none;
  width: 100%;
  min-width: max-content;
}

[data-sheet] .sheet-grid:focus {
  outline: none;
}

/* 2-level header (Column Groups) - pmis-front style */
[data-sheet] .sheet-header-group {
  display: contents;
}

[data-sheet] .sheet-header-group .sheet-cell {
  background: var(--sheet-group-header-bg, #64748b);
  color: #ffffff;
  font-weight: 600;
  position: sticky;
  top: calc(36px * var(--sheet-hdr-parents, 0)); /* [EPS-L12] 3단 이상이면 부모 단 아래 */
  z-index: 20;
  justify-content: center;
  padding: 0 8px;
  font-size: 14px;
  height: 36px;
  min-height: 36px;
  white-space: nowrap;
  user-select: none;
  box-shadow: inset -1px 0 0 #475569, inset 0 -1px 0 #475569;
}

/* Group header cell (pmis-front style) */
[data-sheet] .sheet-group-header-cell {
  text-align: center;
  font-weight: 600;
}

/* Vertically merged group header cell — spans both group & column header rows */
/* Specificity must beat [data-sheet] .sheet-header-group .sheet-cell (0,3,0) */
[data-sheet] .sheet-header-group .sheet-group-merged-cell {
  z-index: 20;
  font-size: 14px;
  height: auto;
  min-height: 72px; /* 36px * 2 rows */
  justify-content: center;
  align-items: center;
}

[data-sheet] .sheet-header-group .sheet-group-merged-cell.sheet-frozen-col {
  z-index: 21;
}

/* Group header frozen column */
[data-sheet] .sheet-header-group .sheet-cell.sheet-frozen-col {
  z-index: 21;
}

/* Group header row indicator (spans 2 rows via grid-row) */
[data-sheet] .sheet-header-group .sheet-row-indicator.sheet-group-row-indicator {
  grid-row: 1 / span 2;
  z-index: 30;
  background: #f1f5f9;
  height: auto;
  min-height: 72px; /* 36px * 2 rows */
  width: 40px;
  min-width: 40px;
  /* Right border only, bottom border from last row */
  box-shadow: inset -1px 0 0 #cbd5e1, inset 0 -1px 0 #cbd5e1;
}

/* Group header row indicator shadow when no frozen cols */
[data-sheet] .sheet-header-group .sheet-row-indicator.sheet-group-row-indicator.sheet-no-frozen-cols {
  box-shadow: inset -1px 0 0 #cbd5e1, inset 0 -1px 0 #cbd5e1, 2px 0 4px -1px rgba(0, 0, 0, 0.1);
}

/* Header */
[data-sheet] .sheet-header {
  display: contents;
}

[data-sheet] .sheet-header .sheet-cell,
[data-sheet] .sheet-header .sheet-cell.sheet-header-cell {
  background: #f1f5f9 !important;
  font-weight: 500;
  font-size: 14px;
  color: #334155;
  position: sticky;
  top: 0;
  z-index: 10;
  height: 36px;
  min-height: 36px;
  justify-content: center;
  box-shadow: inset -1px 0 0 #cbd5e1, inset 0 -1px 0 #cbd5e1;
}

/* Header alignment overrides (headerAlign option) */
[data-sheet] .sheet-header .sheet-cell.sheet-align-left {
  justify-content: flex-start;
}

[data-sheet] .sheet-header .sheet-cell.sheet-align-right {
  justify-content: flex-end;
}

[data-sheet] .sheet-header .sheet-cell.sheet-align-center {
  justify-content: center;
}

[data-sheet] .sheet-header.sheet-has-group .sheet-cell {
  top: calc(36px * var(--sheet-hdr-above, 1)); /* height of group header(s) — [EPS-L12] */
}

/* [EPS-L12] 3단 이상 헤더의 부모 단도 세로 스크롤 때 고정 */
[data-sheet] .sheet-header-parent-level .sheet-cell {
  position: sticky;
  top: calc(36px * var(--sheet-hdr-depth, 0));
  z-index: 20;
  height: 36px;
  min-height: 36px;
}

/* Body */
[data-sheet] .sheet-body {
  display: contents;
}

/* Row */
[data-sheet] .sheet-row {
  display: contents;
}

/* Cell */
[data-sheet] .sheet-cell {
  padding: 0 8px;
  /* rowHeight 옵션 — create-sheet 가 wrapper 에 --sheet-row-height 로 내려 준다(가상 경로는 칸에 같은 값을 직접 넣는다) */
  min-height: var(--sheet-row-height, 32px);
  height: var(--sheet-row-height, 32px);
  display: flex;
  align-items: center;
  /* 조회 화면은 default 등으로 — cellCursor 옵션이 wrapper 에 이 변수를 내린다 */
  cursor: var(--sheet-cell-cursor, cell);
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: white;
  font-size: 14px;
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb;
  /* Ensure cells are below sticky elements (row-indicator, frozen) */
  z-index: 0;
}

/* 일반 칸의 글자. 칸은 display:flex 라 위 text-overflow 가 글자에 먹지 않는다 — 감싼 이 요소가 줄인다.
   flex 항목이라 min-width: 0 이 있어야 칸보다 좁아진다. 줄바꿈 · 말줄임은 칸 값을 따른다(inherit) — 칸 기본
   nowrap · ellipsis 가 그대로 오고, 열 cellStyle 로 칸에 준 whiteSpace 도 감싸기 전처럼 글자에 먹는다. */
[data-sheet] .sheet-cell-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: inherit;
  white-space: inherit;
}

/* Cell States */
[data-sheet] .sheet-cell.sheet-active {
  box-shadow: inset 0 0 0 2px var(--sheet-active-color, #3b82f6) !important;
  z-index: 1;
  background: #dbeafe !important;
}

[data-sheet] .sheet-cell.sheet-readonly {
  background: var(--sheet-readonly-bg, #f9fafb);
  color: var(--sheet-readonly-color, #666);
}

/* Alignment */
[data-sheet] .sheet-cell.sheet-align-center {
  justify-content: center;
}

[data-sheet] .sheet-cell.sheet-align-right {
  justify-content: flex-end;
}

/* Change Tracking */
[data-sheet] .sheet-cell.sheet-added {
  background: var(--sheet-added-bg, #dcfce7);
}

[data-sheet] .sheet-cell.sheet-modified {
  background: var(--sheet-modified-bg, #fff3e0);
}

[data-sheet] .sheet-cell.sheet-deleted {
  background: var(--sheet-deleted-bg, #ffebee);
  text-decoration: line-through;
  color: #999;
}

/* selectionUnit: 'row' — 활성 칸 테두리 대신 활성 행 위아래 선(행 표시는 selection-highlight 가 행 전체에 건다) */
[data-sheet].sheet-select-row .sheet-cell.sheet-active {
  box-shadow: inset 0 1px 0 var(--sheet-active-color, #3b82f6), inset 0 -1px 0 var(--sheet-active-color, #3b82f6) !important;
}

/* Selection Range */
[data-sheet] .sheet-cell.sheet-in-range {
  background: var(--sheet-selection-bg, #eff6ff) !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-added {
  background: #a5d6a7 !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-modified {
  background: #ffe0b2 !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-deleted {
  background: #ef9a9a !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-readonly {
  background: #cfd8dc !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-frozen-col,
[data-sheet] .sheet-cell.sheet-in-range.sheet-frozen-row {
  background: #eff6ff !important;
}

/* Row Indicator */
[data-sheet] .sheet-row-indicator {
  width: 40px;
  min-width: 40px;
  background: var(--sheet-row-number-bg, #f3f4f6);
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  position: sticky;
  left: 0;
  z-index: 8;
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb;
}

/* Row Status Indicators (pmis-front style) */
[data-sheet] .sheet-row-indicator.sheet-added {
  border-left: 4px solid #22c55e; /* green-500 */
}

[data-sheet] .sheet-row-indicator.sheet-modified {
  border-left: 4px solid #3b82f6; /* blue-500 */
}

[data-sheet] .sheet-row-indicator.sheet-deleted {
  border-left: 4px solid #ef4444; /* red-500 */
}

/* Deleted row styling (pmis-front style) */
[data-sheet] .sheet-row.sheet-deleted-row {
  opacity: 0.5;
}

[data-sheet] .sheet-row.sheet-deleted-row .sheet-cell {
  text-decoration: line-through;
}

[data-sheet] .sheet-header .sheet-row-indicator {
  z-index: 20;
  background: #f1f5f9;
  box-shadow: inset -1px 0 0 #cbd5e1, inset 0 -1px 0 #cbd5e1;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

[data-sheet] .sheet-header-group .sheet-row-indicator {
  z-index: 21;
  background: #f1f5f9;
}

/* Frozen Cells - !important로 striped 등 높은 specificity 규칙의 반투명 배경 방지 */
[data-sheet] .sheet-cell.sheet-frozen-col {
  position: sticky;
  z-index: 5;
  background: var(--sheet-frozen-bg, #ffffff) !important;
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb;
}

[data-sheet] .sheet-cell.sheet-frozen-row {
  position: sticky;
  z-index: 6;
  background: var(--sheet-frozen-bg, #ffffff) !important;
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb;
}

[data-sheet] .sheet-cell.sheet-frozen-col.sheet-frozen-row {
  z-index: 7;
}

[data-sheet] .sheet-header .sheet-cell.sheet-frozen-col {
  z-index: 15;
}

[data-sheet] .sheet-cell.sheet-frozen-col.sheet-active,
[data-sheet] .sheet-cell.sheet-frozen-row.sheet-active {
  z-index: 10;
}

/* Last frozen column - shadow effect (pmis-front style) */
[data-sheet] .sheet-cell.sheet-last-frozen-col {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 2px 0 4px -1px rgba(0, 0, 0, 0.1);
}

/* Last frozen row - shadow effect (pmis-front style) */
[data-sheet] .sheet-cell.sheet-last-frozen-row {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Last frozen row + col intersection - combined shadow */
[data-sheet] .sheet-cell.sheet-last-frozen-col.sheet-last-frozen-row {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 2px 0 4px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Row indicator shadow when no frozen cols - add drop shadow */
[data-sheet] .sheet-row-indicator.sheet-no-frozen-cols {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 2px 0 4px -1px rgba(0, 0, 0, 0.1);
}

/* Row indicator in frozen row */
[data-sheet] .sheet-row-indicator.sheet-frozen-row {
  z-index: 9;
}

/* Last frozen row indicator - add bottom drop shadow */
[data-sheet] .sheet-row-indicator.sheet-last-frozen-row {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Last frozen row + no frozen cols - both shadows */
[data-sheet] .sheet-row-indicator.sheet-no-frozen-cols.sheet-last-frozen-row {
  box-shadow: inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb, 2px 0 4px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Cell Merge */
[data-sheet] .sheet-cell.sheet-merged {
  display: flex;
  height: auto;
  min-height: var(--sheet-row-height, 32px);
  align-self: stretch;
}

[data-sheet] .sheet-cell.sheet-merged-hidden {
  display: none;
}

/* Conditional Styles */
[data-sheet] .sheet-cell.sheet-high-value {
  background: #dcfce7;
  color: #166534;
  font-weight: 600;
}

[data-sheet] .sheet-cell.sheet-medium-value {
  background: #fef3c7;
  color: #92400e;
}

[data-sheet] .sheet-cell.sheet-low-value {
  background: #fee2e2;
  color: #991b1b;
}

/* Conditional + Selection */
[data-sheet] .sheet-cell.sheet-in-range.sheet-high-value {
  background: #81c784 !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-medium-value {
  background: #ffcc80 !important;
}

[data-sheet] .sheet-cell.sheet-in-range.sheet-low-value {
  background: #ef9a9a !important;
}

/* Button Cell */
[data-sheet] .sheet-cell-button {
  padding: 4px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  [data-sheet] .sheet-cell-button:hover:not(:disabled) {
    background: #f3f4f6;
  }
}

[data-sheet] .sheet-cell-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Link cell */
[data-sheet] .sheet-cell-link {
  color: #2563eb;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
@media (hover: hover) {
  [data-sheet] .sheet-cell-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
  }
}

/* Icon cell */
[data-sheet] .sheet-cell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.15s;
}
@media (hover: hover) {
  [data-sheet] .sheet-cell-icon:hover {
    opacity: 0.7;
  }
}

/* Edit Overlay */
[data-sheet] .sheet-edit-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  z-index: 100;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

[data-sheet] .sheet-edit-overlay.sheet-active {
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-1px, -1px);
}

[data-sheet] .sheet-edit-overlay input {
  width: 100%;
  height: 100%;
  border: 2px solid var(--sheet-active-color, #1976d2);
  padding: 0 6px;
  font-size: var(--sheet-cell-font);
  font-family: inherit;
  box-sizing: border-box;
  background: white;
  outline: none;
}

/* Cell Editor - Inline Input/Select (pmis-front style) */
[data-sheet] .sheet-cell-edit-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  border: 2px solid #3b82f6;
  border-radius: 2px;
  outline: none;
  background: #eff6ff;
  font-size: inherit;
  font-family: inherit;
  z-index: 10;
  box-sizing: border-box;
  -moz-appearance: textfield;
}
[data-sheet] .sheet-cell-edit-input::-webkit-outer-spin-button,
[data-sheet] .sheet-cell-edit-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

[data-sheet] .sheet-cell-edit-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  border: 2px solid #3b82f6;
  border-radius: 2px;
  outline: none;
  background: #eff6ff;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  appearance: auto;
  color: #1e40af;
  font-weight: 500;
  z-index: 10;
}

[data-sheet] .sheet-cell-edit-select-display {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  border: 2px solid #3b82f6;
  border-radius: 2px;
  background: #eff6ff;
  font-size: inherit;
  font-family: inherit;
  color: #1e40af;
  font-weight: 500;
  display: flex;
  align-items: center;
  z-index: 10;
}

[data-sheet] .sheet-cell-edit-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  display: flex;
  align-items: center;
  background: #fff;
}

/* Footer/Summary Row (pmis-front style) */
[data-sheet] .sheet-footer {
  display: contents;
}

[data-sheet] .sheet-footer .sheet-cell {
  background: var(--sheet-footer-bg, #eef2f7);
  font-weight: 700;
  color: #1f2937;
  position: sticky;
  bottom: 0;
  z-index: 8;
  padding: 0 8px;
  font-size: 14px;
  user-select: none;
  box-shadow:
    inset 0 2px 0 #cbd5e1,
    inset 0 1px 0 #ffffff,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb;
}

[data-sheet] .sheet-footer .sheet-cell.sheet-row-indicator {
  text-align: center;
  font-size: 12px;
}

[data-sheet] .sheet-footer .sheet-cell.sheet-frozen-col {
  z-index: 20;
}

[data-sheet] .sheet-footer .sheet-cell .sheet-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Validation Error - use box-shadow inset to avoid border overlap */
[data-sheet] .sheet-cell.sheet-validation-error {
  box-shadow: inset 0 0 0 2px #dc2626 !important;
  background-color: #fef2f2 !important;
}

/* Checkbox */
[data-sheet] .sheet-checkbox {
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  cursor: pointer;
}

/* Tree */
[data-sheet] .sheet-tree-cell-content {
  display: inline-flex;
  align-items: center;
  width: 100%;
}

[data-sheet] .sheet-tree-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  margin-right: 4px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  user-select: none;
  font-size: var(--sheet-icon-font);
  color: #6b7280;
  border-radius: 2px;
  transition: background-color 0.1s ease, color 0.1s ease;
}

@media (hover: hover) {
  [data-sheet] .sheet-tree-toggle:hover {
    color: #3b82f6;
    background: #f3f4f6;
  }
}

[data-sheet] .sheet-tree-indent-spacer {
  display: inline-block;
  width: 16px;
  margin-right: 4px;
}

[data-sheet] .sheet-tree-cell-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-sheet] .sheet-tree-indent {
  display: inline-block;
  width: 16px;
}

/* Sort Indicator (pmis-front style) */
[data-sheet] .sheet-header .sheet-cell.sheet-sortable {
  cursor: pointer;
  transition: background-color 0.1s ease;
}

@media (hover: hover) {
  [data-sheet] .sheet-header .sheet-cell.sheet-sortable:hover {
    background: var(--sheet-header-hover-bg, #e2e8f0);
  }
}

[data-sheet] .sheet-header-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

/* [EPS-L18] 필수 열 헤더 표시 — 기본은 주황 점. 앱이 --sheet-required-mark 로 바꿀 수 있다 */
[data-sheet] .sheet-required-mark {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 15px;
  margin: 0 2px;
  vertical-align: middle;
  background: var(--sheet-required-mark, radial-gradient(circle at center, #ed8a19 0 4px, transparent 4.5px)) no-repeat center;
}

[data-sheet] .sheet-sort-indicator {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  line-height: 1;
  font-size: var(--sheet-icon-font);
}

[data-sheet] .sheet-sort-order {
  color: var(--sheet-sort-order-color, #2563eb);
  font-weight: 700;
  /* 1px smaller than --sheet-icon-font (10px desktop / 13px touch), same
   * relationship the previous literal 9px held to its 10px sibling icons.
   * Using var(--sheet-icon-font) directly here would bump the desktop
   * default from 9px to 10px — a pixel regression. */
  font-size: calc(var(--sheet-icon-font) - 1px);
  margin-right: 2px;
}

[data-sheet] .sheet-sort-arrows {
  display: inline-flex;
  flex-direction: column;
  gap: -2px;
}

[data-sheet] .sheet-sort-asc,
[data-sheet] .sheet-sort-desc {
  color: var(--sheet-sort-inactive-color, #cbd5e1);
  line-height: 0.9;
}

[data-sheet] .sheet-sort-asc.sheet-active {
  color: var(--sheet-sort-active-color, #2563eb);
}

[data-sheet] .sheet-sort-desc.sheet-active {
  color: var(--sheet-sort-active-color, #2563eb);
}

/* ===================================================
   Phase 9: Cell Type Rendering (pmis-front port)
   =================================================== */

/* Checkbox Cell */
[data-sheet] .sheet-cell-checkbox {
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  cursor: pointer;
  accent-color: #3b82f6;
}

[data-sheet] .sheet-cell-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Row Select Checkbox */
[data-sheet] .sheet-row-select-checkbox {
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  cursor: pointer;
  accent-color: #3b82f6;
}

/* Row Select Header (Select All) */
[data-sheet] .sheet-row-select-all {
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  cursor: pointer;
  accent-color: #3b82f6;
}

/* Button Cell Variants (pmis-front style) */
/* variant-default */
[data-sheet] .sheet-cell-button.sheet-variant-default {
  background: #3b82f6;
  border: none;
  color: white;
}

@media (hover: hover) {
  [data-sheet] .sheet-cell-button.sheet-variant-default:hover:not(:disabled) {
    background: #2563eb;
  }
}

/* variant-outline */
[data-sheet] .sheet-cell-button.sheet-variant-outline {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

@media (hover: hover) {
  [data-sheet] .sheet-cell-button.sheet-variant-outline:hover:not(:disabled) {
    background: #eff6ff;
  }
}

/* variant-ghost */
[data-sheet] .sheet-cell-button.sheet-variant-ghost {
  background: transparent;
  border: none;
  color: #6b7280;
}

@media (hover: hover) {
  [data-sheet] .sheet-cell-button.sheet-variant-ghost:hover:not(:disabled) {
    background: #f3f4f6;
  }
}

/* variant-destructive */
[data-sheet] .sheet-cell-button.sheet-variant-destructive {
  background: #ef4444;
  border: none;
  color: white;
}

@media (hover: hover) {
  [data-sheet] .sheet-cell-button.sheet-variant-destructive:hover:not(:disabled) {
    background: #dc2626;
  }
}

/* Select Cell */
[data-sheet] .sheet-select-cell-content {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

[data-sheet] .sheet-select-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-sheet] .sheet-select-arrow {
  flex-shrink: 0;
  font-size: var(--sheet-icon-font);
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  margin: -4px;
  margin-right: -8px;
  transition: color 0.1s ease;
}

@media (hover: hover) {
  [data-sheet] .sheet-select-arrow:hover {
    color: #3b82f6;
  }
}

/* Empty Data Message */
[data-sheet] .sheet-empty-row .sheet-empty-message {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #9ca3af;
  padding: 24px;
  font-size: 14px;
}

/* Filter Button (pmis-front style) */
[data-sheet] .sheet-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  border: none;
  background: transparent;
  border-radius: 2px;
  font-size: var(--sheet-icon-font);
  line-height: 1;
  margin-left: 2px;
  cursor: pointer;
  color: #9ca3af;
  transition: background-color 0.1s ease, color 0.1s ease;
}

@media (hover: hover) {
  [data-sheet] .sheet-filter-btn:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

[data-sheet] .sheet-filter-btn.sheet-active {
  color: #3b82f6;
}

/* ============================================================================
   Grouping - Data Group Header/Subtotal Rows (pmis-front style)
   ============================================================================ */

/* Group header row - pmis-front sheet-group-row */
[data-sheet] .sheet-group-row {
  display: contents;
}

[data-sheet] .sheet-group-row .sheet-cell {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

[data-sheet] .sheet-group-row:hover .sheet-cell {
  background: #e2e8f0;
}

/* Group header row indicator */
[data-sheet] .sheet-group-row .sheet-row-indicator {
  justify-content: center;
  position: sticky;
  left: 0;
  z-index: 12;
}

[data-sheet] .sheet-group-row .sheet-row-indicator.sheet-no-frozen-cols {
  box-shadow: 3px 0 0 #f1f5f9, inset 0 -1px 0 #e5e7eb, 3px -1px 0 #e5e7eb, 4px 0 4px -2px rgba(0,0,0,0.1);
}

/* Group header content cell spanning all columns */
[data-sheet] .sheet-group-row .sheet-group-header-content {
  padding: 0 12px;
  font-weight: 500;
  font-size: 14px;
  color: #334155;
}

/* Group toggle icon */
[data-sheet] .sheet-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--sheet-tap-size);
  height: var(--sheet-tap-size);
  cursor: pointer;
  user-select: none;
  font-size: var(--sheet-icon-font);
  color: #64748b;
  margin-right: 6px;
  flex-shrink: 0;
}

@media (hover: hover) {
  [data-sheet] .sheet-group-toggle:hover {
    color: #334155;
  }
}

/* Subtotal row - pmis-front sheet-subtotal-row */
[data-sheet] .sheet-subtotal-row {
  display: contents;
}

[data-sheet] .sheet-subtotal-row .sheet-cell {
  display: flex;
  align-items: center;
  background: #fef3c7;
  font-weight: 600;
  font-size: 13px;
}

/* Subtotal row indicator */
[data-sheet] .sheet-subtotal-row .sheet-row-indicator {
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 12;
}

[data-sheet] .sheet-subtotal-row .sheet-row-indicator.sheet-no-frozen-cols {
  box-shadow: 3px 0 0 #fef3c7, inset 0 -1px 0 #e5e7eb, 3px -1px 0 #e5e7eb, 4px 0 4px -2px rgba(0,0,0,0.1);
}

/* Subtotal cell styling */
[data-sheet] .sheet-subtotal-cell {
  padding: 0 8px;
}

[data-sheet] .sheet-subtotal-cell .sheet-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Subtotal alignment classes */
[data-sheet] .sheet-subtotal-cell.sheet-align-left {
  text-align: left;
}

[data-sheet] .sheet-subtotal-cell.sheet-align-center {
  text-align: center;
  justify-content: center;
}

[data-sheet] .sheet-subtotal-cell.sheet-align-right {
  text-align: right;
  justify-content: flex-end;
}

/* ============================================================================
   Style Options: striped, bordered, hoverable
   ============================================================================ */

/* Striped: alternating row backgrounds */
[data-sheet].sheet-striped .sheet-body .sheet-row:nth-child(even) > .sheet-cell {
  background-color: #fcfcfd;
}
[data-sheet].sheet-striped .sheet-body .sheet-row:nth-child(even) > .sheet-row-indicator {
  background-color: #f0f1f3;
}

/* Not bordered: remove vertical cell borders, keep only bottom border */
[data-sheet]:not(.sheet-bordered) .sheet-body .sheet-cell {
  box-shadow: inset 0 -1px 0 #e5e7eb;
}
[data-sheet]:not(.sheet-bordered) .sheet-body .sheet-row-indicator {
  box-shadow: inset 0 -1px 0 #e5e7eb;
}

/* ============================================================================
   Component Styles (Consolidated from individual component files)
   ============================================================================ */

/* --- Context Menu --- */
[data-sheet] .sheet-context-menu {
  /* `adjustPopupPosition` writes viewport-relative left/top (it clamps
   * against window.innerWidth/innerHeight), so this must be positioned or
   * those values are inert. Without it the menu is a static block and —
   * because it is appended to .sheet-wrapper, which is a flex column — it
   * becomes a flex ITEM and steals its own height from .sheet-container.
   * Measured on a 420px sheet: the container collapsed 334px -> 64px the
   * moment the menu opened. `fixed` matches every sibling popup
   * (.sheet-filter-popup, .sheet-select-dropdown, .sheet-autocomplete). */
  position: fixed;
  /* Panel styling, matching .sheet-select-dropdown / .sheet-filter-popup.
   * These were missing entirely: the menu had no background, border, radius,
   * shadow or padding, so once it correctly overlays the grid (see the
   * `position` note above) its items render as bare text on top of the
   * cells. It only ever looked solid because, while unpositioned, it sat in
   * normal flow over the page's own white background. */
  background: var(--sheet-dropdown-bg, #fff);
  border: 1px solid var(--sheet-dropdown-border, #ccc);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  padding: 4px 0;
  font-size: 14px;
  user-select: none;
}

[data-sheet] .sheet-context-menu-item {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  cursor: pointer;
  position: relative;
}

[data-sheet] .sheet-context-menu-item:hover:not(.sheet-disabled) {
  background: var(--sheet-menu-hover, #f5f5f5);
}

[data-sheet] .sheet-context-menu-item.sheet-disabled {
  color: var(--sheet-menu-disabled, #999);
  cursor: not-allowed;
}

[data-sheet] .sheet-context-menu-icon {
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

[data-sheet] .sheet-context-menu-label {
  flex: 1;
}

[data-sheet] .sheet-context-menu-arrow {
  margin-left: 8px;
  font-size: 10px;
  color: var(--sheet-menu-arrow, #666);
}

[data-sheet] .sheet-context-menu-separator {
  height: 1px;
  background: var(--sheet-menu-separator, #e0e0e0);
  margin: 4px 0;
}

[data-sheet] .sheet-context-menu-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--sheet-menu-bg, #fff);
  border: 1px solid var(--sheet-menu-border, #ccc);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  padding: 4px 0;
}

[data-sheet] .sheet-context-menu-item:hover > .sheet-context-menu-submenu {
  display: block;
}

/* --- Header Context Menu --- */
[data-sheet] .sheet-header-context-menu {
  /* Same as .sheet-context-menu above — positioned so the viewport-relative
   * left/top from `adjustPopupPosition` apply, and so the menu does not
   * become a flex item that squashes the grid. */
  position: fixed;
  /* Panel styling, matching .sheet-select-dropdown / .sheet-filter-popup.
   * These were missing entirely: the menu had no background, border, radius,
   * shadow or padding, so once it correctly overlays the grid (see the
   * `position` note above) its items render as bare text on top of the
   * cells. It only ever looked solid because, while unpositioned, it sat in
   * normal flow over the page's own white background. */
  background: var(--sheet-dropdown-bg, #fff);
  border: 1px solid var(--sheet-dropdown-border, #ccc);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  padding: 4px 0;
  font-size: 14px;
  user-select: none;
}

[data-sheet] .sheet-header-menu-item {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  cursor: pointer;
}

[data-sheet] .sheet-header-menu-item:hover {
  background: var(--sheet-menu-hover, #f5f5f5);
}

[data-sheet] .sheet-header-menu-item-indent {
  padding-left: 24px;
}

[data-sheet] .sheet-header-menu-icon {
  width: 20px;
  margin-right: 8px;
  text-align: center;
  font-size: 12px;
}

[data-sheet] .sheet-header-menu-label {
  flex: 1;
}

[data-sheet] .sheet-header-menu-separator {
  height: 1px;
  background: var(--sheet-menu-separator, #e0e0e0);
  margin: 4px 0;
}

[data-sheet] .sheet-header-menu-group {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--sheet-text-secondary, #666);
  font-weight: 500;
}

[data-sheet] .sheet-header-menu-group-label {
  text-transform: uppercase;
}

/* --- Pagination --- */
[data-sheet] .sheet-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  font-size: 14px;
  border-top: 1px solid var(--sheet-border, #e0e0e0);
  background: var(--sheet-pagination-bg, #fafafa);
}

[data-sheet] .sheet-pagination-size {
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-sheet] .sheet-pagination-size-label {
  color: var(--sheet-text-secondary, #666);
}

[data-sheet] .sheet-pagination-size-select {
  padding: 4px 8px;
  border: 1px solid var(--sheet-border, #e0e0e0);
  border-radius: 4px;
  background: var(--sheet-input-bg, #fff);
}

[data-sheet] .sheet-pagination-info {
  color: var(--sheet-text-secondary, #666);
}

[data-sheet] .sheet-pagination-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-sheet] .sheet-pagination-btn {
  padding: 4px 8px;
  border: 1px solid var(--sheet-border, #e0e0e0);
  border-radius: 4px;
  background: var(--sheet-btn-bg, #fff);
  cursor: pointer;
  min-width: 28px;
}

[data-sheet] .sheet-pagination-btn:hover:not(:disabled) {
  background: var(--sheet-btn-hover, #f0f0f0);
}

[data-sheet] .sheet-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

[data-sheet] .sheet-pagination-pages {
  padding: 0 8px;
  color: var(--sheet-text, #333);
}

[data-sheet] .sheet-pagination-total {
  margin-left: auto;
  color: var(--sheet-text-secondary, #666);
}

/* --- Touch contextual toolbar ---
 *
 * A flex sibling of .sheet-container (create-sheet.ts wraps it between the
 * grid and .sheet-pagination-container), so it never covers the grid — the
 * last row stays reachable, the same way .sheet-pagination-container does.
 *
 * Height is FIXED, never toggled. The slot mounts/unmounts only with
 * .sheet-touch; from then on only .sheet-touch-toolbar-empty (an opacity
 * class) changes with selection. Toggling the slot itself would change
 * .sheet-container's flex-basis on every selection change and can retrigger
 * the ResizeObserver feedback-loop guard in create-sheet.ts (fillHeight
 * height-history detector).
 */
[data-sheet] .sheet-touch-toolbar {
  display: flex;
  gap: 4px;
  padding: 6px;
  height: 56px;
  min-height: 56px;
  box-sizing: border-box;
  background: var(--sheet-pagination-bg, #fafafa);
  border-top: 1px solid var(--sheet-border, #e0e0e0);
  flex: none;
}

[data-sheet] .sheet-touch-toolbar-empty {
  /* Keeps its box (reserved height), loses its affordance. */
  opacity: 0.4;
  pointer-events: none;
}

[data-sheet] .sheet-touch-toolbar-btn {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--sheet-border, #e0e0e0);
  border-radius: 8px;
  background: var(--sheet-btn-bg, #fff);
  color: var(--sheet-text, #333);
  font-size: 11px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

[data-sheet] .sheet-touch-toolbar-btn b {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: var(--sheet-active-color, #1976d2);
}

[data-sheet] .sheet-touch-toolbar-btn:disabled {
  opacity: 0.4;
}

/* --- Bottom sheet (touch toolbar "more") --- */
[data-sheet] .sheet-bottom-sheet {
  position: absolute;
  inset: 0;
  z-index: 200;
}

[data-sheet] .sheet-bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
}

[data-sheet] .sheet-bottom-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 70%;
  overflow-y: auto;
  background: var(--sheet-btn-bg, #fff);
  border-radius: 16px 16px 0 0;
  border-top: 1px solid var(--sheet-border, #e0e0e0);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
  padding: 10px 0 14px;
}

[data-sheet] .sheet-bottom-sheet-grabber {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--sheet-border, #cbd5e1);
  margin: 2px auto 10px;
}

[data-sheet] .sheet-bottom-sheet-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--sheet-text, #333);
}

[data-sheet] .sheet-bottom-sheet-separator {
  height: 1px;
  background: var(--sheet-border, #e0e0e0);
  margin: 6px 0;
}

[data-sheet] .sheet-bottom-sheet-item.sheet-disabled {
  opacity: 0.4;
}

[data-sheet] .sheet-bottom-sheet-icon {
  width: 22px;
  text-align: center;
  color: var(--sheet-active-color, #1976d2);
}

/* --- Column group minimap ---
 *
 * Segment widths are a scale model of the sheet: flex-grow is set to each
 * group's pixel width, so proportions hold for 1fr / relWidth columns too.
 *
 * Unlike .sheet-touch-toolbar, this slot IS inserted/removed rather than
 * height-reserved: whether the bar exists at all depends on touch state
 * (isTouch() — mobile-only, like the touch toolbar and group tabs) and on
 * whether the sheet is wider than its container. Neither changes on scroll
 * (only scrollLeft does — update() is scroll-driven but the mount decision
 * is not), so it does not retrigger the ResizeObserver feedback-loop guard
 * the same way toggling per-selection would.
 */
[data-sheet] .sheet-col-minimap {
  display: flex;
  gap: 3px;
  padding: 4px;
  height: 30px;
  min-height: 30px;
  box-sizing: border-box;
  /* 색은 변수로 — 소비처 테마가 덮는다. 기본값은 예전 그대로 */
  background: var(--sheet-minimap-bg, #0f172a);
  flex: none;
}

[data-sheet] .sheet-minimap-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  color: var(--sheet-minimap-fg, rgba(255, 255, 255, 0.55));
  background: var(--sheet-minimap-color, rgba(255, 255, 255, 0.09));
  border-radius: 4px;
  min-width: 0;
  opacity: 0.55;
  cursor: pointer;
}

[data-sheet] .sheet-minimap-active {
  color: var(--sheet-minimap-active-fg, #fff);
  opacity: 1;
  box-shadow: inset 0 0 0 1.5px var(--sheet-minimap-active-ring, #60a5fa);
}

/* --- Column group tabs ---
 *
 * mobile.wideColumns: 'groupTabs' promotes the sheet's existing column
 * groups into tabs so only one group's columns render at a time. Like
 * .sheet-col-minimap (and unlike .sheet-touch-toolbar), the slot is
 * inserted/removed rather than height-reserved: whether it exists at all
 * depends on config + fallback conditions resolved in
 * column-group-tabs.ts, not on a per-render toggle, so it does not
 * retrigger the ResizeObserver feedback-loop guard.
 *
 * Inserted above .sheet-col-minimap when both are present (create-sheet.ts
 * constructs the tabs before the minimap so the minimap's own
 * `insertBefore(bar, sheetContainer)` lands between them) — tabs are the
 * primary navigation, the minimap is positional context for whatever is
 * currently on screen, so tabs sit above it, closer to the top.
 */
[data-sheet] .sheet-group-tabs {
  display: flex;
  gap: 3px;
  padding: 6px 6px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--sheet-header-border, #cbd5e1);
  flex: none;
  overflow-x: auto;
}

[data-sheet] .sheet-group-tab {
  flex: 1;
  min-width: 64px;
  min-height: 36px;
  border: none;
  border-radius: 7px 7px 0 0;
  background: #e8edf3;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
}

[data-sheet] .sheet-group-tab-active {
  background: var(--sheet-active-color, #1976d2);
  color: #fff;
}

/* --- Loading Overlay --- */
[data-sheet] .sheet-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  z-index: 100;
}

[data-sheet] .sheet-loading-spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

[data-sheet] .sheet-spinner-svg {
  width: 100%;
  height: 100%;
  animation: sheet-spin 1s linear infinite;
}

[data-sheet] .sheet-spinner-circle {
  stroke: var(--sheet-loading-color, #1890ff);
  stroke-linecap: round;
  stroke-dasharray: 80, 200;
  stroke-dashoffset: 0;
  animation: sheet-dash 1.5s ease-in-out infinite;
}

@keyframes sheet-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes sheet-dash {
  0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
  100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}

[data-sheet] .sheet-loading-message {
  font-size: 14px;
  color: var(--sheet-text, #333);
}

/* --- Filter Popup --- */
[data-sheet] .sheet-filter-popup {
  position: fixed;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  font-size: 14px;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-sheet] .sheet-filter-popup .sheet-filter-header {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-input:focus {
  outline: none;
  border-color: #3b82f6;
}

[data-sheet] .sheet-filter-popup .sheet-filter-content {
  margin-bottom: 12px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-field {
  margin-bottom: 8px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-field-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-checkbox-label,
[data-sheet] .sheet-filter-popup .sheet-filter-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-checkbox-label:hover,
[data-sheet] .sheet-filter-popup .sheet-filter-radio-label:hover {
  background: #f9fafb;
}

[data-sheet] .sheet-filter-popup .sheet-filter-checkbox-label .sheet-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-sheet] .sheet-filter-popup .sheet-filter-no-results {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

[data-sheet] .sheet-filter-popup .sheet-filter-actions {
  display: flex;
  gap: 8px;
}

[data-sheet] .sheet-filter-popup .sheet-filter-popup-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: #fff;
}

[data-sheet] .sheet-filter-popup .sheet-filter-popup-btn:hover {
  background: #f9fafb;
}

[data-sheet] .sheet-filter-popup .sheet-filter-btn-apply {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

[data-sheet] .sheet-filter-popup .sheet-filter-btn-apply:hover {
  background: #2563eb;
}

/* --- Select Dropdown --- */
[data-sheet] .sheet-select-dropdown {
  position: fixed;
  background: var(--sheet-dropdown-bg, #fff);
  border: 1px solid var(--sheet-dropdown-border, #ccc);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  font-size: 14px;
  user-select: none;
}

[data-sheet] .sheet-select-search {
  padding: 8px;
  border-bottom: 1px solid var(--sheet-border, #e0e0e0);
}

[data-sheet] .sheet-select-search-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--sheet-border, #e0e0e0);
  border-radius: 4px;
  font-size: 14px;
}

[data-sheet] .sheet-select-search-input:focus {
  outline: none;
  border-color: var(--sheet-primary, #1890ff);
}

[data-sheet] .sheet-select-options {
  padding: 4px 0;
}

[data-sheet] .sheet-select-group {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sheet-text-secondary, #666);
  background: var(--sheet-group-bg, #f5f5f5);
}

[data-sheet] .sheet-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
}

[data-sheet] .sheet-select-option:hover:not(.sheet-disabled),
[data-sheet] .sheet-select-option.sheet-highlighted:not(.sheet-disabled) {
  background: var(--sheet-option-hover, #f5f5f5);
}

[data-sheet] .sheet-select-option.sheet-selected {
  background: var(--sheet-option-selected, #e6f7ff);
}

[data-sheet] .sheet-select-option.sheet-disabled {
  color: var(--sheet-text-disabled, #999);
  cursor: not-allowed;
}

[data-sheet] .sheet-select-check {
  color: var(--sheet-primary, #1890ff);
  font-size: 12px;
}

[data-sheet] .sheet-select-empty {
  padding: 12px;
  text-align: center;
  color: var(--sheet-text-secondary, #666);
}

/* --- Autocomplete --- */
[data-sheet] .sheet-autocomplete {
  position: fixed;
  background: var(--sheet-dropdown-bg, #fff);
  border: 1px solid var(--sheet-dropdown-border, #ccc);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 14px;
  user-select: none;
}

[data-sheet] .sheet-autocomplete-list {
  padding: 4px 0;
}

[data-sheet] .sheet-autocomplete-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  gap: 8px;
}

[data-sheet] .sheet-autocomplete-item:hover,
[data-sheet] .sheet-autocomplete-item.sheet-highlighted {
  background: var(--sheet-option-hover, #f5f5f5);
}

[data-sheet] .sheet-autocomplete-icon {
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

[data-sheet] .sheet-autocomplete-content {
  flex: 1;
  min-width: 0;
}

[data-sheet] .sheet-autocomplete-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-sheet] .sheet-autocomplete-description {
  font-size: 12px;
  color: var(--sheet-text-secondary, #666);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-sheet] .sheet-autocomplete-empty,
[data-sheet] .sheet-autocomplete-loading {
  padding: 12px;
  text-align: center;
  color: var(--sheet-text-secondary, #666);
}

/* --- Touch selection handles ---
 *
 * Visual size stays small so the handle does not cover the cell, while a
 * negative-inset ::after gives it a 44px touch target. Positioned by
 * components/touch-handles.ts relative to .sheet-container.
 *
 * DO NOT "fix" the -14.5px inset to use var(--sheet-tap-hit). That token is
 * 32px because it caps controls LAID OUT INSIDE a row, which cannot exceed
 * the 32px row height without stealing the neighbouring row's taps. This
 * handle is an OVERLAY positioned in .sheet-container, so the row height does
 * not bind it. Measured in Chrome: inset -14.5px yields a 41x41 hit area over
 * a 32px row, while var(--sheet-tap-hit) would shrink it to 29x29 for no
 * reason.
 *
 * The descendant combinator below is also correct and must not be made
 * compound: the handle is a DESCENDANT of the wrapper (it lives inside
 * .sheet-container), unlike the token blocks which target the wrapper itself.
 */
/* 터치 손잡이 층 — 높이는 스크롤 내용과 같고 아래로 넘치는 손잡이 부분만 잘라 스크롤 영역을 늘리지 않는다(touch-handles.ts).
   폭 0 · 가로는 넘침 그대로. overflow-y: clip 을 모르는 브라우저는 잘라내기만 빠지고 손잡이는 보인다(hidden 대체를 두지 않는다 —
   폭 0 이라 손잡이가 사라진다) */
[data-sheet] .sheet-touch-handle-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  overflow-x: visible;
  overflow-y: clip;
  pointer-events: none;
}

[data-sheet] .sheet-touch-handle-layer .sheet-touch-handle {
  pointer-events: auto;
}

[data-sheet] .sheet-touch-handle {
  position: absolute;
  width: 15px;
  height: 15px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--sheet-active-color, #1976d2);
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  /* Above cells and frozen columns (z-index: 10), below the edit overlay (100). */
  z-index: 60;
}

[data-sheet] .sheet-touch-handle::after {
  content: '';
  position: absolute;
  /* (15 - 44) / 2 = -14.5 */
  inset: -14.5px;
  border-radius: 50%;
}

/* --- Column Resize --- */
[data-sheet] .sheet-col-resize-handle {
  position: absolute;
  right: -3px;
  top: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
}

@media (hover: hover) {
  [data-sheet] .sheet-col-resize-handle:hover {
    background: var(--sheet-resize-handle-hover, rgba(24, 144, 255, 0.3));
  }
}

[data-sheet] .sheet-resize-line {
  position: fixed;
  top: 0;
  width: 2px;
  height: 100vh;
  background: var(--sheet-resize-line, #1890ff);
  pointer-events: none;
  z-index: 9999;
}

/* --- Row Drag Handler (pmis-front style) --- */
[data-sheet] .sheet-row-drag-indicator {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  pointer-events: none;
  z-index: 50;
}

/* --- Column Drag Handler --- */
[data-sheet] .sheet-column-dragging {
  opacity: 0.5;
  background: var(--sheet-drag-bg, #e6f7ff) !important;
}

[data-sheet] .sheet-column-drag-indicator {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--sheet-drag-indicator, #1890ff);
  pointer-events: none;
  z-index: 1000;
}

[data-sheet] .sheet-column-drag-ghost {
  position: fixed;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--sheet-drag-indicator, #1890ff);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  pointer-events: none;
  z-index: 10000;
  white-space: nowrap;
}

/* ============================================================================
   Badge Cell
   ============================================================================ */

[data-sheet] .sheet-cell-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

/* Badge color presets - subtle variant (default) */
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="green"] {
  background: #dcfce7; color: #166534;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="blue"] {
  background: #dbeafe; color: #1e40af;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="red"] {
  background: #fee2e2; color: #991b1b;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="yellow"] {
  background: #fef9c3; color: #854d0e;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="orange"] {
  background: #ffedd5; color: #9a3412;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="purple"] {
  background: #f3e8ff; color: #6b21a8;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="pink"] {
  background: #fce7f3; color: #9d174d;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="gray"] {
  background: #f3f4f6; color: #374151;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="cyan"] {
  background: #cffafe; color: #155e75;
}
[data-sheet] .sheet-cell-badge.sheet-badge-subtle[data-color="indigo"] {
  background: #e0e7ff; color: #3730a3;
}

/* Badge solid variant */
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="green"] {
  background: #16a34a; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="blue"] {
  background: #2563eb; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="red"] {
  background: #dc2626; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="yellow"] {
  background: #ca8a04; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="orange"] {
  background: #ea580c; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="purple"] {
  background: #9333ea; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="pink"] {
  background: #db2777; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="gray"] {
  background: #6b7280; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="cyan"] {
  background: #0891b2; color: #fff;
}
[data-sheet] .sheet-cell-badge.sheet-badge-solid[data-color="indigo"] {
  background: #4f46e5; color: #fff;
}

/* Badge outline variant */
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="green"] {
  background: transparent; border: 1px solid #16a34a; color: #16a34a;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="blue"] {
  background: transparent; border: 1px solid #2563eb; color: #2563eb;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="red"] {
  background: transparent; border: 1px solid #dc2626; color: #dc2626;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="yellow"] {
  background: transparent; border: 1px solid #ca8a04; color: #ca8a04;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="orange"] {
  background: transparent; border: 1px solid #ea580c; color: #ea580c;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="purple"] {
  background: transparent; border: 1px solid #9333ea; color: #9333ea;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="pink"] {
  background: transparent; border: 1px solid #db2777; color: #db2777;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="gray"] {
  background: transparent; border: 1px solid #6b7280; color: #6b7280;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="cyan"] {
  background: transparent; border: 1px solid #0891b2; color: #0891b2;
}
[data-sheet] .sheet-cell-badge.sheet-badge-outline[data-color="indigo"] {
  background: transparent; border: 1px solid #4f46e5; color: #4f46e5;
}

/* ============================================================================
   Time Cell
   ============================================================================ */

[data-sheet] .sheet-cell-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ============================================================================
   Empty Text
   ============================================================================ */

[data-sheet] .sheet-cell-empty {
  color: #9ca3af;
  font-style: italic;
}

/* ============================================================================
   fillHeight option (IBSheet/Excel-style empty area)
   One filler cell per visible column continues the vertical column dividers
   down to the container bottom. No horizontal row lines — the empty area
   reads as "the rest of the sheet" rather than extra fake rows. Footer is
   rendered after the fillers so it anchors to the container bottom.
   ============================================================================ */

[data-sheet] .sheet-fill-col {
  background: #ffffff;
  box-shadow: inset -1px 0 0 #e5e7eb;
  pointer-events: none;
}
[data-sheet] .sheet-fill-col-last {
  box-shadow: none;
}
[data-sheet] .sheet-fill-indicator {
  background: var(--sheet-row-number-bg, #f3f4f6);
  box-shadow: inset -1px 0 0 #e5e7eb;
  position: sticky;
  left: 0;
  z-index: 4;
  pointer-events: none;
}

/* ============================================================================
   appearance: 'list' (spec §5) — 읽기 전용 목록을 표(<Table>)처럼.
   컨테이너 클래스 `sheet-appearance-list` 에만 걸린다. 기본 'grid' 는 그대로.
   - 세로 구분선 없음, 가로선만. 인라인 테두리를 내는 칸(소계·그룹 머리·세로로
     합친 머리)은 렌더러가 list 일 때 세로선 없이 낸다.
   - 머리 글자: 본문 칸과 같은 14px, 500, var(--sheet-header-fg).
   - 색은 모두 변수: 선 --sheet-border-color / --sheet-header-border,
     머리 배경 --sheet-header-bg (grid 는 지금처럼 고정값 그대로).
   - 읽기 전용 시트 전체 회색 배경 없음 (칸별 readonly 는 그대로 회색).
   - 머리 정렬: 렌더러가 headerAlign ?? 열 align 으로 정렬 클래스를 붙이고,
     둘 다 없으면 본문 칸처럼 왼쪽.
   - 줄무늬·줄번호는 create-sheet 의 기본값으로 끈다(명시값 우선).
   - 행 hover 배경은 그대로. onRowActivate·onCellClick 이 있으면
     `sheet-rows-clickable` 로 줄에 cursor: pointer.
   ============================================================================ */

/* 가로선만 (frozen·row-indicator 변형 규칙보다 뒤·같거나 높은 우선순위) */
[data-sheet].sheet-appearance-list .sheet-cell,
[data-sheet].sheet-appearance-list .sheet-body .sheet-cell {
  box-shadow: inset 0 -1px 0 var(--sheet-border-color, #e5e7eb);
}
/* 고정 열·행 경계의 그림자는 남긴다 (세로선만 뺀다) */
[data-sheet].sheet-appearance-list .sheet-body .sheet-cell.sheet-last-frozen-col {
  box-shadow: inset 0 -1px 0 var(--sheet-border-color, #e5e7eb), 2px 0 4px -1px rgba(0, 0, 0, 0.1);
}
[data-sheet].sheet-appearance-list .sheet-body .sheet-cell.sheet-last-frozen-row {
  box-shadow: inset 0 -1px 0 var(--sheet-border-color, #e5e7eb), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}
[data-sheet].sheet-appearance-list .sheet-body .sheet-cell.sheet-last-frozen-col.sheet-last-frozen-row {
  box-shadow: inset 0 -1px 0 var(--sheet-border-color, #e5e7eb), 2px 0 4px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* 머리 줄: 아래 가로선만 */
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell,
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell.sheet-header-cell,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-cell,
[data-sheet].sheet-appearance-list .sheet-header-parent-level .sheet-cell {
  box-shadow: inset 0 -1px 0 var(--sheet-header-border, #cbd5e1);
}

/* 머리 글자: 본문과 같은 크기, 500, --sheet-header-fg */
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell.sheet-header-cell,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-cell.sheet-group-merged-cell {
  background: var(--sheet-header-bg, #f1f5f9) !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--sheet-header-fg, #334155);
  justify-content: flex-start;
}
/* showRowNumbers: true 로 켠 경우의 머리 줄번호 칸 배경도 변수로 */
[data-sheet].sheet-appearance-list .sheet-header .sheet-row-indicator,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-row-indicator {
  background: var(--sheet-header-bg, #f1f5f9);
}
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell.sheet-header-cell.sheet-align-left,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-cell.sheet-group-merged-cell.sheet-align-left {
  justify-content: flex-start;
}
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell.sheet-header-cell.sheet-align-center,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-cell.sheet-group-merged-cell.sheet-align-center {
  justify-content: center;
}
[data-sheet].sheet-appearance-list .sheet-header .sheet-cell.sheet-header-cell.sheet-align-right,
[data-sheet].sheet-appearance-list .sheet-header-group .sheet-cell.sheet-group-merged-cell.sheet-align-right {
  justify-content: flex-end;
}

/* 합계 줄: 위 굵은 선 + 아래 가로선, 세로선 없음 */
[data-sheet].sheet-appearance-list .sheet-footer .sheet-cell {
  box-shadow:
    inset 0 2px 0 var(--sheet-header-border, #cbd5e1),
    inset 0 -1px 0 var(--sheet-border-color, #e5e7eb);
}

/* 빈 자리 채움 열(fillHeight): 세로선을 그리지 않는다 */
[data-sheet].sheet-appearance-list .sheet-fill-col,
[data-sheet].sheet-appearance-list .sheet-fill-indicator {
  box-shadow: none;
}

/* 행을 여는 목록: 줄 전체에 손가락 커서 */
[data-sheet].sheet-appearance-list.sheet-rows-clickable .sheet-body .sheet-cell {
  cursor: pointer;
}

/* --- Narrow viewport ---
 *
 * The only layout media query. `min-width: max-content` on .sheet-grid is
 * deliberately kept: horizontal scroll is the premise of the minimap
 * strategy, and releasing it would squash a 33-column sheet into
 * illegibility.
 *
 * When `fillHeight` is on, applyFillHeightStyles() sets max-height: none
 * inline (create-sheet.ts:290-295), which wins over this rule.
 */
@media (max-width: 640px) {
  [data-sheet] .sheet-container {
    max-height: 70vh;
  }
}

/* end sheet styles */

/* 칸 툴팁 (열 옵션 cellTooltip) — 활성 칸 아래 말풍선. 글자만, \n 줄바꿈.
 * cell-tooltip.ts 가 칸 rect 기준으로 left/top 을 쓴다(fixed). 클릭을 가로채지 않는다.
 * popover 로 최상위 층에 뜰 때 브라우저 기본 [popover] 모양(inset:0 · margin:auto · 테두리 · Canvas 색)을 지운다.
 * 너비는 놓는 자리와 상관없이 같아야 한다 — 자리를 두 번 재서 배율을 구하므로(max-content + 상한). */
[data-sheet] .sheet-cell-tooltip {
  position: fixed;
  z-index: 40;
  inset: auto;
  margin: 0;
  border: 0;
  overflow: visible;
  width: max-content;
  max-width: min(320px, calc(100vw - 8px));
  padding: 6px 8px;
  background: var(--sheet-tooltip-bg, #333);
  color: var(--sheet-tooltip-color, #fff);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-line;
  overflow-wrap: anywhere;
  pointer-events: none;
}

[data-sheet] .sheet-cell-tooltip[hidden] {
  display: none;
}

/* cellTooltipTrigger: 'hover' — 툴팁 내용이 있는 칸의 오른쪽 위 모서리 표시(엑셀 메모처럼). 마우스를 올리면 툴팁.
 * 칸은 position: relative 이고, 표시는 클릭을 가로채지 않는다. */
[data-sheet] .sheet-cell.sheet-cell-tooltip-mark::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 var(--sheet-tooltip-mark-size, 7px) var(--sheet-tooltip-mark-size, 7px) 0;
  border-color: transparent var(--sheet-tooltip-mark-color, #dc2626) transparent transparent;
  pointer-events: none;
}

.iui-sheet-layout[data-v-64f23653] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  /* height 는 인라인 :style 로 주입(기본 100%, 팝업 등은 명시적 px) */
  min-width: 0;
  overflow: hidden;
}
.iui-sheet-body[data-v-64f23653] {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.iui-sheet-canvas[data-v-64f23653] {
  position: absolute;
  inset: 0;
}
.iui-sheet-footer[data-v-64f23653] {
  flex: 0 0 auto;
}
/* empty 슬롯 — 시트 테두리(1px, .sheet-container) 안쪽 + 헤더(28px, 아래 컴팩트 밀도) 아래만 덮어
   표 틀(헤더 + 테두리)이 그대로 보이게 함. 아래 모서리는 컨테이너 radius(6px)에 맞춤 */
.iui-sheet-empty[data-v-64f23653] {
  position: absolute;
  top: 29px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  z-index: 30;
  border-radius: 0 0 5px 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 빈 상태에서는 스크롤할 내용이 없으므로 스크롤바를 숨김(헤더 옆에 스크롤바 끝이 삐져나오지 않게).
   empty 슬롯이 없는 시트도 라이브러리 '데이터가 없습니다' 행(.sheet-empty-row)이면 동일 처리 —
   창 크기 변경 후 가로 스크롤바가 남는 현상 방지 */
/* virtualScroll 은 fillHeight 를 끄므로 라이브러리 기본 .sheet-container{max-height:500px} 가 남아
   시트가 화면 중간에서 잘린다 → 부모(iui-sheet-layout) 높이를 채우도록 보정(fillHeight 와 동일한 높이). */
/* 헤더 전체선택 체크박스 옆 글자(기존 IBSheet HeaderCheck '☐ 선택' 모양) */
[data-v-64f23653] .iui-sheet-header-check-label {
  margin-left: 4px;
  white-space: nowrap;
}
.iui-sheet-body.is-virtual[data-v-64f23653] .sheet-container {
  height: 100%;
  max-height: none;
}
.iui-sheet-body.is-empty[data-v-64f23653] .sheet-container,[data-v-64f23653] [data-sheet] .sheet-container:has(.sheet-empty-row) {
  overflow: hidden !important; /* 라이브러리가 인라인 overflow:auto 를 지정하므로 !important 필요 */
}

/* 시트 헤더 색상 — 원본 그리드(IBSheet)와 동일한 중립 회색.
   라이브러리 기본값을 [data-sheet] 포함 더 높은 specificity 로 오버라이드 */
[data-v-64f23653] [data-sheet] .sheet-header .sheet-cell,[data-v-64f23653] [data-sheet] .sheet-header .sheet-cell.sheet-header-cell,[data-v-64f23653] [data-sheet] .sheet-header .sheet-row-indicator,[data-v-64f23653] [data-sheet] .sheet-header-group .sheet-cell,[data-v-64f23653] [data-sheet] .sheet-header-group .sheet-row-indicator {
  background: #f2f2f2 !important;
  color: #333 !important;
}
/* 2단 헤더의 상위 그룹 칸(예: '1순위업체')은 라이브러리가 인라인 `background:var(--sheet-group-header-bg) !important`
   로 그려 위 규칙이 못 이김 → 라이브러리 공개 변수로 일반 헤더와 같은 회색·글자·구분선으로 맞춤 */
[data-v-64f23653] [data-sheet] {
  --sheet-group-header-bg: #f2f2f2;
  --sheet-group-header-color: #333;
  --sheet-group-header-border: #cbd5e1;
}

/* 행번호(No) 컬럼 헤더 라벨 복원 — 2단(그룹)헤더 그리드에서만 @sheet 가 이 셀을 완전히 빈칸으로
   렌더링한다(일반 단일헤더는 라이브러리가 자체적으로 '#'을 이미 렌더함 — 여기 추가하면 'No#'로 중복됨).
   원본 IBSheet 는 LeftCols Header:'No' 로 항상 표시했으므로, 빈칸인 2단헤더 케이스만 CSS ::before 로 복원. */
[data-v-64f23653] [data-sheet] .sheet-header-group .sheet-row-indicator.sheet-group-row-indicator::before {
  content: 'No';
}

/* 컴팩트 밀도 — 라이브러리 기본(폰트 14px / 셀 32px, 헤더 36px)이 원본 IBSheet 보다 커서
   기존 그리드 밀도(폰트 13px / 셀 26px, 헤더 28px)에 맞춤.
   ※ 2단(그룹) 헤더에서 세로 병합되는 헤더 셀(.sheet-group-merged-cell)은 2개 행을 span 해야 하므로
     고정 높이 대상에서 제외한다(고정하면 위쪽 절반만 차지하고 아래가 비어 보임). */
[data-v-64f23653] [data-sheet] .sheet-cell:not(.sheet-group-merged-cell) {
  font-size: 13px;
  /* 고정 height 대신 min-height — 텍스트/체크박스/버튼(모두 26px 미만)은 26px 유지되고,
     이미지 등 큰 콘텐츠가 있는 행(예: g2bData 물품이미지, row-height 50)은 자동으로 커진다. */
  min-height: 26px;
}
[data-v-64f23653] [data-sheet] .sheet-header .sheet-cell:not(.sheet-group-merged-cell),[data-v-64f23653] [data-sheet] .sheet-header .sheet-cell.sheet-header-cell:not(.sheet-group-merged-cell) {
  font-size: 13px;
  height: 28px;
  min-height: 28px;
}
/* 세로 병합 헤더 셀: 폰트만 맞추고 높이는 grid row span 이 채우도록 둔다 */
[data-v-64f23653] [data-sheet] .sheet-group-merged-cell {
  font-size: 13px;
}

/* 시트 뱃지(셀 안 공고구분 + 툴바 범례) 글꼴 — 기존 IBSheet 는 `.IBMain *{font-family:inherit;font-size:13px;line-height:18px}` 로
   layout.css .badge 의 돋움 11px 을 덮어 Pretendard 13px 로 보였음. 동일하게 맞춤 */
.iui-sheet[data-v-64f23653] .badge {
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
}

/* ★전역 CSS(public/css/common.css: input[type="checkbox"]{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px})가
   모든 native 체크박스를 숨김(커스텀 체크박스용). @sheet 는 native input 을 쓰므로 함께 숨겨져 안 보임.
   → @sheet 체크박스만 되살린다(모든 type:'checkbox'/rowSelect 컬럼 공통). */
[data-v-64f23653] [data-sheet] input.sheet-cell-checkbox,[data-v-64f23653] [data-sheet] input.sheet-checkbox,[data-v-64f23653] [data-sheet] input.sheet-row-select-checkbox,[data-v-64f23653] [data-sheet] input.sheet-row-select-all {
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #9ca3af;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* 내장 페이저(pagination) — 목록 화면 직접 만든 페이저(.pager-btn)와 같은 버튼·글자로 맞춤
   (버튼 26x24 · 화살표 17px 보통 #333 · 비활성 #aaa/#f5f5f5 · 페이지·건수 텍스트 12px) */
[data-v-64f23653] [data-sheet] .sheet-pagination {
  position: relative;
  font-size: 12px;
}
/* 이동 버튼 묶음(« ‹ 1 / N › »)은 페이저 정가운데 고정 — 행 수·범위(좌)와 총 N건(우)은 그대로 */
[data-v-64f23653] [data-sheet] .sheet-pagination-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
[data-v-64f23653] [data-sheet] .sheet-pagination-btn {
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  font-size: 17px;
  line-height: 1;
  color: #333;
}
[data-v-64f23653] [data-sheet] .sheet-pagination-btn:disabled {
  opacity: 1;
  color: #aaa;
  background: #f5f5f5;
  cursor: default;
}
[data-v-64f23653] [data-sheet] .sheet-pagination-total {
  color: #888;
}

/* 셀 버튼(type:'button') 색상 — 원본 IBSheet 선택 버튼과 동일한 청록(teal) */
[data-v-64f23653] [data-sheet] .sheet-cell-button.sheet-variant-default {
  background: #53bfca;
  padding: 2px 12px;
}
[data-v-64f23653] [data-sheet] .sheet-cell-button.sheet-variant-default:hover:not(:disabled) {
  background: #43aab5;
}
/* buttonText 가 빈 문자열인 셀은 버튼 숨김 — @sheet 는 빈 텍스트여도 버튼을 그려 빈 막대로 보임(원본 IBSheet 는 미표시) */
[data-v-64f23653] [data-sheet] .sheet-cell-button:empty {
  display: none;
}

/* 내장 페이저 한 줄 유지(표시 항목은 buildOptions 의 showPageSizeSelector·showPageInfo·showTotalCount 로 지정) */
[data-v-64f23653] [data-sheet] .sheet-pagination {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.iui-layout-debug {
  border: 1px dashed darkred;
  padding: 3px;
}
.iui-layout-debug * {
  border: 1px dashed blue !important;
  padding: 3px;
}
.iui-site-header {
  background-color: #f2f2f2;
  border: 1px solid #808080;
  height: 50px;
  margin-bottom: 1px;
}
.iui-site-header .logo-container {
  flex: 0 0 200px !important;
  border: 1px solid #808080;
  padding: 3px;
}
.iui-site-header .logo-container .logo {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: #055bca;
}
.iui-site-header .menu-container {
  background-color: #d9d9d9;
  border: 1px solid #d9d9d9;
  padding: 3px;
}
.iui-site-header .menu-container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.iui-site-header .menu-container ul li a {
  display: inline-block;
}
.iui-site-header .menu-container ul li::after {
  padding: 0 3px;
  content: "|";
}
.iui-site-header .menu-container ul li:last-child::after {
  content: "";
}
.iui-site-header .menu-container .menu-item {
  cursor: pointer;
  padding: 3px;
}
.iui-site-header .menu-container .menu-item.lv1 {
  background-color: #a6a6a6;
  border: 1px solid #808080;
}
.iui-site-header .menu-container .menu-item:hover {
  border: 1px solid #808080;
  text-decoration: underline;
}
.iui-site-header .menu-container .menu-item:active {
  color: red;
}
.iui-site-header .static-menu-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end;
  flex: 0;
}
.iui-site-header .static-menu-container .menu-item {
  background-color: #a6a6a6;
  border: 1px solid #808080;
  cursor: pointer;
  padding: 3px;
}
.iui-site-header .static-menu-container .menu-item:hover {
  border: 1px solid #808080;
  text-decoration: underline;
}
.iui-site-header .static-menu-container .menu-item:active {
  color: red;
}
.iui-site-container {
  display: flex;
  height: calc(100vh - 31px);
}
.iui-site-container .iui-site-left {
  flex: 0 0 200px;
  margin-right: 1px;
  background-color: #f2f2f2;
  border: 1px solid #808080;
}
.iui-site-container .iui-site-left .menu-container h3 {
  margin: 0;
}
.iui-site-container .iui-site-left .menu-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.iui-site-container .iui-site-left .menu-container ul li a {
  display: block;
}
.iui-site-container .iui-site-left .menu-container .menu-item {
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
}
.iui-site-container .iui-site-left .menu-container .menu-item.lv1 {
  background-color: #a6a6a6;
  border: 1px solid #808080;
}
.iui-site-container .iui-site-left .menu-container .menu-item.lv2 {
  background-color: #bfbfbf;
  border: 1px solid #bfbfbf;
  padding-left: 5px;
}
.iui-site-container .iui-site-left .menu-container .menu-item.lv3 {
  background-color: #d9d9d9;
  border: 1px solid #d9d9d9;
  padding-left: 10px;
}
.iui-site-container .iui-site-left .menu-container .menu-item:hover {
  border: 1px solid #808080;
}
.iui-site-container .iui-site-left .menu-container .menu-item:active {
  color: red;
}
.iui-site-container .iui-site-left .menu-container .menu-item.router-link-exact-active {
  font-weight: bold;
}
.iui-site-container .iui-site-left .menu-container .menu-item.router-link-exact-active::after {
  content: " ▶";
}
.iui-site-container .iui-site-main {
  flex: 1;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu.container {
  display: flex;
  height: 30px;
  margin-top: 1px;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container {
  background-color: #d9d9d9;
  border: 1px solid #d9d9d9;
  padding: 3px;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container ul li a {
  display: inline-block;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container ul li::after {
  padding: 0 3px;
  content: "|";
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container ul li:last-child::after {
  content: "";
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container .menu-item {
  cursor: pointer;
  padding: 3px;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container .menu-item.lv1 {
  background-color: #a6a6a6;
  border: 1px solid #808080;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container .menu-item:hover {
  border: 1px solid #808080;
  text-decoration: underline;
}
.iui-site-container .iui-site-main l .iui-site-main-top-menu .menu-container .menu-item:active {
  color: red;
}
.iui-site-container .iui-site-main .iui-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.iui-site-footer {
  background-color: #f2f2f2;
  border: 1px solid #808080;
  margin-top: 1px;
  height: 30px;
}
.iui-router-group-view.container {
  display: flex;
}
.iui-router-group-view.container .group-view {
  flex: 1;
}
.iui-router-group-view.container .group-view .tab-container {
  display: flex;
  height: 30px;
  margin-top: 1px;
}
.iui-router-group-view.container .group-view .tab-container .tab-items {
  flex: 1;
  display: inline-flex;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item {
  border: 1px solid #808080;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  flex: 0 0 150px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item .prefix {
  flex: 0 0 20px;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item .title {
  flex: 1;
  text-align: center;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item .remove-tab {
  flex: 0 0 20px;
  cursor: pointer;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item.active {
  background-color: #f2f2f2;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item.active .title {
  font-weight: bold;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item.dragging {
  opacity: 0.5;
}
.iui-router-group-view.container .group-view .tab-container .tab-items .tab-item.dragover {
  background-color: #ccc;
}
.iui-router-group-view.container .group-view .router-view-container {
  height: calc(100vh - 123px);
  overflow-y: auto;
  background-color: #f2f2f2;
  border: 1px solid #808080;
}
.iui-router-group-view.container .group-view .router-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.iui-router-group-view.container .group-view .iui-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.iui-button {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-button * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-button > * {
  flex: 0 0 auto;
}
.iui-button button:focus,
.iui-button button:active {
  background-color: lightgrey;
}
.iui-button .small {
  display: inline-block;
  /* padding: 3px 6px 3px 8px; */
  height: 25px;
  line-height: 25px;
  font-size: 13px;
  /*font-weight: bold;*/
  border-radius: 3px;
  color: #101010;
  vertical-align: bottom;
}
.iui-button .normal {
  display: inline-block;
  padding: 3px 12px 3px 12px;
  font-size: 12px;
  vertical-align: bottom;
  border-radius: 3px;
}
.iui-button .blue {
  color: #fff;
  background-color: #34578e;
  border: 1px solid #34578e;
}
.iui-button .blue:hover,
.iui-button .blue:focus,
.iui-button .blue:active {
  color: #fff;
}
.iui-button .gray {
  color: #101010;
  background-color: #f2f2f2;
  border: 1px solid #bbb;
}
.iui-button .gray:hover,
.iui-button .gray:focus,
.iui-button .gray:active {
  color: #fff;
  border: 1px solid #34578e;
  background-color: #34578e;
}
.iui-button .gray:disabled {
  color: #a9a9a9;
  cursor: not-allowed;
}
.iui-combobox {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-combobox * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-combobox > * {
  flex: 0 0 auto;
}
.iui-combobox .label {
  white-space: nowrap;
}
.iui-combobox .prefix {
  white-space: nowrap;
}
.iui-combobox .suffix {
  white-space: nowrap;
}
.iui-combobox .combobox {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  min-width: 60px;
}
.iui-datepicker {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-datepicker * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-datepicker > * {
  flex: 0 0 auto;
}
.iui-datepicker .label {
  white-space: nowrap;
}
.iui-datepicker .prefix {
  white-space: nowrap;
}
.iui-datepicker .suffix {
  white-space: nowrap;
}
.iui-datepicker {
  height: 20px;
}
.iui-datepicker .mx-datepicker {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  min-width: 50px;
}
.iui-datepicker .mx-datepicker.date {
  width: 118px;
}
.iui-datepicker .mx-datepicker.mx-datepicker-range.date {
  width: 190px;
}
.iui-datepicker .mx-datepicker.datetime {
  width: 178px;
}
.iui-datepicker .mx-datepicker.year {
  width: 70px;
}
.iui-datepicker .mx-datepicker.month {
  width: 90px;
}
.iui-datepicker .mx-datepicker.time {
  width: 90px;
}
.iui-datepicker .mx-datepicker.week {
  width: 50px;
}
.iui-datepicker .mx-datepicker .mx-input {
  height: 20px;
}
.iui-datepicker .mx-datepicker .mx-input:disabled {
  color: #444;
}
.iui-datepicker .mx-datepicker .mx-icon-clear {
  font-size: 16px !important;
}
.iui-searchbox {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  flex: 1 !important;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-searchbox * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-searchbox > * {
  flex: 0 0 auto;
}
.iui-searchbox .label {
  white-space: nowrap;
}
.iui-searchbox .prefix {
  white-space: nowrap;
}
.iui-searchbox .suffix {
  white-space: nowrap;
}
.iui-searchbox .key-textbox {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  flex: 0 0 90px;
  width: 90px;
}
.iui-searchbox .value-textbox {
  flex: 1;
  width: 100%;
  white-space: nowrap;
}
.iui-searchbox .search-button {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  height: 16px;
  background: url("../../assets/img/icon_search.png") no-repeat center;
  border: 0px !important;
  background-color: transparent;
  border-color: transparent;
}
.iui-textbox {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  flex: 1 !important;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-textbox * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-textbox > * {
  flex: 0 0 auto;
}
.iui-textbox .label {
  white-space: nowrap;
}
.iui-textbox .prefix {
  white-space: nowrap;
}
.iui-textbox .suffix {
  white-space: nowrap;
}
.iui-textbox .textbox {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  padding-left: 3px;
  padding-right: 3px;
  border: 1px solid;
}
.iui-textbox .text-align-right {
  text-align: right;
}
.iui-textbox.required .textbox {
  background-color: pink;
}
.iui-textbox.is-valid-false .textbox {
  border-color: red;
}
.iui-textbox[data-type=number] .textbox {
  text-align: right;
}
.iui-textbox[data-type=multi] {
  height: 100%;
}
.iui-textbox[data-type=multi] .textbox {
  height: 100%;
  white-space: pre-wrap;
}
.iui-checkbox-group {
  display: flex;
}
.iui-checkbox-group.item-direction-row {
  flex-direction: column;
}
.iui-checkbox-group.item-direction-column {
  flex-direction: row;
}
.iui-checkbox {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-checkbox * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-checkbox > * {
  flex: 0 0 auto;
}
.iui-checkbox .label {
  white-space: nowrap;
}
.iui-checkbox .prefix {
  white-space: nowrap;
}
.iui-checkbox .suffix {
  white-space: nowrap;
}
.iui-checkbox {
  height: 26px;
  margin-right: 5px; /* 20231018 */
}
.iui-radio-group {
  display: flex;
}
.iui-radio-group.item-direction-row {
  flex-direction: column;
}
.iui-radio-group.item-direction-column {
  flex-direction: row;
}
.iui-radio-group {
  /* 20230516 김연진 라디오 간에 약간 간격 줌 */
}
.iui-radio-group.item-direction-column > * {
  padding-right: 5px;
}
.iui-radio {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
}
.iui-radio * {
  box-sizing: border-box;
  font-family: "Pretendard", Roboto, "Malgun Gothic", "맑은 고딕", dotum, "돋움", sans-serif;
  font-size: 14px !important;
}
.iui-radio > * {
  flex: 0 0 auto;
}
.iui-radio .label {
  white-space: nowrap;
}
.iui-radio .prefix {
  white-space: nowrap;
}
.iui-radio .suffix {
  white-space: nowrap;
}
.iui-radio {
  height: 26px;
}
.iui-content-box {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.iui-content-box * {
  box-sizing: border-box;
}
.iui-content-box .title-box {
  align-items: center;
  display: flex;
  height: 30px;
}
.iui-content-box .title-box .title {
  flex: 0 0 auto;
  font-size: 14px;
}
.iui-content-box .title-box .title-tab-box {
  margin-left: 1px;
  display: flex;
}
.iui-content-box .title-box .title-tab-box li {
  display: inline-block;
  margin-left: -1px;
  padding: 0 15px 0 15px;
  height: 30px;
  font-size: 12px;
  line-height: 30px;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.iui-content-box .title-box .title-tab-box li.first-child {
  border-left: 1px solid #ccc;
  margin-left: 0px;
}
.iui-content-box .title-box .title-tab-box li.selected {
  color: #fff;
  background: linear-gradient(#4394d1, #3378c1);
  border: 1px solid #3378c1;
  font-weight: bold;
}
.iui-content-box .title-box .title-tab-box li.selected a {
  color: #fff;
}
.iui-content-box .title-box .title-spacer {
  padding-left: 8px;
}
.iui-content-box .title-box .title-left {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
}
.iui-content-box .title-box .title-left > * {
  margin-right: 5px;
}
.iui-content-box .title-box .title-left > *:last-child {
  margin-right: unset;
}
.iui-content-box .title-box .title-center {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  flex: 1;
  font-size: 14px;
}
.iui-content-box .title-box .title-center > * {
  margin-right: 5px;
}
.iui-content-box .title-box .title-center > *:last-child {
  margin-right: unset;
}
.iui-content-box .title-box .title-right {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
}
.iui-content-box .title-box .title-right > * {
  margin-right: 5px;
}
.iui-content-box .title-box .title-right > *:last-child {
  margin-right: unset;
}
.iui-content-box .outer-content-box {
  width: 100%;
  height: 100%;
}
.iui-content-box .outer-content-box.border-box {
  padding: 5px;
  border: 1px solid #808080;
  border-top-width: 2px;
}
.iui-content-box .header-box {
  align-items: center;
  display: flex;
  padding: 5px;
  background-color: #f2f2f2;
  border: 1px solid #808080;
  margin-bottom: 5px;
}
.iui-content-box .header-box .header-spacer {
  padding-left: 8px;
}
.iui-content-box .header-box .header-left {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
}
.iui-content-box .header-box .header-left > * {
  margin-right: 5px;
}
.iui-content-box .header-box .header-left > *:last-child {
  margin-right: unset;
}
.iui-content-box .header-box .header-center {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  flex: 1;
  font-size: 14px;
}
.iui-content-box .header-box .header-center > * {
  margin-right: 5px;
}
.iui-content-box .header-box .header-center > *:last-child {
  margin-right: unset;
}
.iui-content-box .header-box .header-right {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
}
.iui-content-box .header-box .header-right > * {
  margin-right: 5px;
}
.iui-content-box .header-box .header-right > *:last-child {
  margin-right: unset;
}
.iui-content-box .inner-content-box {
  overflow-y: auto;
  width: 100%;
}
.iui-loading-overlay-parent {
  position: relative;
}
.iui-loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.iui-loading-overlay .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8f9fa;
  opacity: 0.75;
  backdrop-filter: blur(2px);
}
.iui-loading-overlay .icon {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(151, 151, 151, 0.3);
  border-radius: 50%;
  border-top-color: #055bca;
  animation: spin 1.2s linear infinite;
  -webkit-animation: spin 1.2s linear infinite;
}
.iui-loading-overlay .message {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid gray;
  border-radius: 10px;
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  z-index: 992;
}
@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
.iui-ckeditor {
  width: 100%;
  height: 100%;
}
.ictbl {
  padding: 10px;
  border: 1px solid #c0c0c0;
  border-collapse: collapse;
  background-color: white;
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.5019607843);
}

.ictbl td {
  font-weight: normal !important;
  text-align: left;
  padding: 2px 5px 2px 5px !important;
}

.ictbl tr.on {
  background-color: #00534c;
  color: white;
}

.ictbl tr.on td {
  color: white;
}

.ictbl .on td:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.ictbl .on td:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* fieldset 으로 disabled 된 경우 처리 */
.sr_btn :disabled {
  display: none;
}

.input_srch:has(input:disabled) {
  background-color: #f0f0f0;
}
/* fillContent — popup_con 과 직계 css-flex 컨테이너를 flex item 화해 팝업 높이 안에서 남은 공간을 채움.
   (iui-dialog 가 body 로 렌더되어 사용처 scoped :deep 으로는 닿지 않아 여기서 opt-in 으로 제공) */
.popup_con.popup_con--fill {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.popup_con.popup_con--fill > .iui-container.css-flex {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
@keyframes progress-bar-stripes {
0% {
    background-position: 1rem 0;
}
to {
    background-position: 0 0;
}
}
.iui-site {
  display: flex;
  height: 100vh;
}

.iui-site-container {
  height: calc(100vh - 41px);
}

.iui-site-container .iui-site-main .iui-site-header {
  background-color: #f2f2f2;
  border: 1px solid #808080;
  height: 50px;
  margin-bottom: 1px;
}

.iui-site-container .iui-site-main .iui-site-header .logo-container {
  flex: 0 0 200px !important;
  border: 1px solid #808080;
  padding: 3px;
}

.iui-site-container .iui-site-main .iui-site-header .logo-container .logo {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: #055bca;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container {
  background-color: #d9d9d9;
  border: 1px solid #d9d9d9;
  padding: 3px;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container ul li a {
  display: inline-block;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container ul li::after {
  padding: 0 3px;
  content: "|";
}

.iui-site-container .iui-site-main .iui-site-header .menu-container ul li:last-child::after {
  content: "";
}

.iui-site-container .iui-site-main .iui-site-header .menu-container .menu-item {
  cursor: pointer;
  padding: 3px;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container .menu-item.lv1 {
  background-color: #a6a6a6;
  border: 1px solid #808080;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container .menu-item:hover {
  border: 1px solid #808080;
  text-decoration: underline;
}

.iui-site-container .iui-site-main .iui-site-header .menu-container .menu-item:active {
  color: red;
}

.iui-site-container .iui-site-main .iui-site-header .static-menu-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end;
  flex: 0;
}

.iui-site-container .iui-site-main .iui-site-header .static-menu-container .menu-item {
  background-color: #a6a6a6;
  border: 1px solid #808080;
  cursor: pointer;
  padding: 3px;
}

.iui-site-container .iui-site-main .iui-site-header .static-menu-container .menu-item:hover {
  border: 1px solid #808080;
  text-decoration: underline;
}

.iui-site-container .iui-site-main .iui-site-header .static-menu-container .menu-item:active {
  color: red;
}

.iui-radio-group.required .iui-radio {
  background-color: unset;
}

.iui-radio-group.is-valid-false .iui-radio {
  background-color: pink;
}

.iui-textbox .textbox {
  border: 1px solid #bbb;
  height: 26px;
}

.iui-textbox.required .textbox {
  background-color: unset;
}

.iui-textbox.is-valid-false .textbox {
  background-color: pink;
}

.iui-textbox input[type=text]:read-only {
  background-color: #f0f0f0;
}

.iui-textbox textarea:read-only {
  background-color: #f0f0f0;
}

.iui-textbox[data-type=multi] textarea:read-only {
  background-color: #f0f0f0;
}

.iui-combobox.required .combobox {
  background-color: unset;
}

.iui-combobox.required :disabled {
  background-color: #f0f0f0;
}

.iui-combobox.is-valid-false .combobox {
  background-color: pink;
  border-color: red;
}

.iui-ckeditor.required .ck-editor .ck-content {
  background-color: unset;
}

.iui-ckeditor.is-valid-false .ck-editor .ck-content {
  background-color: pink;
  border-color: red !important;
}

.iui-router-group-view.container .group-view .router-view-container {
  background-color: #ffffff;
  border: 0px solid #ffffff;
}

.iui-button .small {
  padding: 0px 6px 3px 6px;
}

.iui-datepicker {
  height: 26px;
}

.iui-datepicker.required .mx-datepicker .mx-input {
  background-color: unset;
}

.iui-datepicker.required .mx-datepicker input[type=text]:read-only {
  background-color: #f0f0f0;
}

.iui-datepicker.is-valid-false .mx-datepicker .mx-input {
  background-color: pink;
  border-color: red !important;
}

.iui-datepicker .mx-datepicker .mx-input {
  height: 26px;
  border: 1px solid #bbb;
  border-radius: 3px;
  box-shadow: none;
}

.iui-datepicker input[type=text]:read-only {
  background-color: #f0f0f0;
}

.iui-container.table.default {
  border-top: 1px solid #dddddd;
}

.iui-dialog .background .slot .iui-confirm .content .message {
  line-height: 24px;
}

.iui-checkbox {
  height: 16px;
}

.iui-content-box .title-box .title-tab-box {
  font-size: 0;
  border-left: 1px solid #e1e1e1;
  border-bottom: 1px solid #d2d2d2;
  text-align: left;
  width: 100%;
}

.iui-content-box .title-box .title-tab-box li {
  display: inline-block;
  padding: 0 10px;
  min-width: 50px;
  height: 30px;
  font-size: 12px;
  border-top: 1px solid black;
  border-left: 1px solid #d2d2d2;
  border-right: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
  margin-bottom: -1px;
  background-color: #f2f2f2;
  border-radius: 0 0 0 0;
}

.iui-content-box .title-box .title-tab-box li.selected {
  font-weight: bold;
  border-bottom: 1px solid #fff;
  background-color: #fff;
  background: #fff;
  border-top: 1px solid black;
  border-left: 1px solid #d2d2d2;
  border-right: 1px solid #d2d2d2;
  border-bottom: 1px solid white;
  display: block;
  height: 30px;
  color: #363636;
  line-height: 30px;
  text-align: center;
}

.alert_popup {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 4px 8px;
  border-radius: 15px;
  margin: 12px;
  display: flex;
  flex-direction: column;
  animation: iui-confirm-show 0.3s;
}

.alert_popup > * {
  margin-bottom: 0.5rem;
}

.alert_popup > *:last-child {
  margin-bottom: unset;
}

@keyframes iui-confirm-show {
  0% {
    transform: scale(0.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes iui-confirm-hide {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}