@charset "UTF-8";

/* reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

*::after {
  box-sizing: border-box;
}

*::before {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
address {
  border: 0;
  font-size: inherit;
  font-style: normal;
  vertical-align: top;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
}

a,
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: "NexonLv2Gothic";
  src: url("/fonts/NEXON-Lv2-Gothic-OTF-66e76f6b6f79b47c2ae07280a5d271c3.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "NexonLv2Gothic";
  src: url("/fonts/NEXON-Lv2-Gothic-OTF-Medium-7b7dc3a587a00562002f58f5a5cc9ab7.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "NexonLv2Gothic";
  src: url("/fonts/NEXON-Lv2-Gothic-OTF-Bold-4ccd40007dedf468c15c33a0e046862b.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

/* SCSS 변수 정의 */
/* CSS 변수 등록 */
:root {
  --red: #ff5353;
  --orange: #ffcf5f;
  --brown: #b56a00;
  --green: #06b10a;
  --blue: #3285ff;
  --blueD: #2158a8;
  --cyan: #6ab0ff;
  --purple: #6a79f8;
  --textColor: #d8e1e6;
  --textColorMain: #fafaf8;
  --primaryColorL: #51a3ff;
  --primaryColor: #3285ff;
  --primaryColorD: #2158a8;
  --secondaryColorL: #00757d;
  --secondaryColor: #00757d;
  --secondaryColorD: #00757d;
  --tertiaryColorL: #ee5807;
  --tertiaryColor: #d64c00;
  --tertiaryColorD: #be4300;
  --gray100: rgba(110, 126, 146, 0.2);
  --gray900: rgba(0, 0, 0, 0.18);
  --tBasic: 16px;
  --spaceXS: 12px;
  --spaceS: 24px;
  --spaceM: 32px;
  --spaceL: 50px;
  --spaceXL: 80px;
  --btnHeight: 36px;
  --btnRadius: 2px;
  --btnPadding: 12px;
  --scrollWidth: 6px;
  --siteWidth: 1900px;
  --accidentColor01: #5a6ed8;
  --accidentColor02: #47b8f8;
  --accidentColor03: #ff5353;
  --accidentColor04: #2db28b;
  --accidentColor05: #f73463;
  --accidentColor06: #ff852e;
  --accidentColor07: #8b5cf6;
}

/* scrollbar */
::-webkit-scrollbar {
  width: var(--scrollWidth);
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(55, 83, 118, 0.3);
  border-radius: 0;
  width: calc(var(--scrollWidth) + 4px);
  padding: 0 2px;
}

::-webkit-scrollbar-thumb {
  background: #7d848d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7d848d;
}

.col_scrollbar {
  width: var(--scrollWidth) !important;
  padding: 0 !important;
  border-left: 0 !important;
}

body {
  font-family: NexonLv2Gothic, AppleSDGothicNeo-Regular, Malgun Gothic, dotum, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--textColor);
  font-weight: 400;
  font-size: var(--tBasic);
  background: linear-gradient(to bottom, #293037, #2f363e);
}

input:not([type=checkbox], [type=radio], [type=submit]),
textarea,
select {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  background: var(--gray900);
  text-indent: 0;
  padding: 0 var(--btnPadding);
  border-radius: var(--btnRadius);
  border: 1px solid #1f2326;
  width: 100%;
  font-size: 1em;
}

input:not([type=checkbox], [type=radio], [type=submit]):focus,
textarea:focus {
  background-color: #1a1d22;
  border-color: var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

input:not([type=checkbox], [type=radio], [type=submit])::-moz-placeholder,
textarea::-moz-placeholder {
  color: #7d848d;
}

input:not([type=checkbox], [type=radio], [type=submit])::placeholder,
textarea::placeholder {
  color: #7d848d;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

input:not([type=checkbox], [type=radio], [type=submit]):-moz-read-only {
  opacity: 0.45;
}

input:not([type=checkbox], [type=radio], [type=submit]):read-only {
  opacity: 0.45;
}

input:not([type=checkbox], [type=radio], [type=submit]):disabled {
  opacity: 0.45;
}

input[type=password] {
  font-family: sans-serif !important;
}

select {
  background-image: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  line-height: calc(var(--btnHeight) - 2px);
  padding-right: 40px;
}

select:disabled {
  opacity: 0.45;
}

select option {
  background: #262d35;
  color: #fff;
}

textarea {
  height: auto;
  padding: var(--btnPadding);
  line-height: 1.4;
  resize: none;
  display: block;
}

textarea.sm {
  padding: 15px;
  border-radius: 12px;
}

textarea.sizing {
  resize: vertical;
}

input.short {
  width: 150px;
  flex-shrink: 0;
  text-align: center;
}

input.date {
  width: 160px !important;
  min-width: auto !important;
  flex-grow: 0 !important;
  background-image: url(/img/icon_calendar-4c03029916237e9e84e264e6f19fadb5.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  padding-right: 40px;
  flex-shrink: 0;
}

input[type=time] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 160px !important;
  min-width: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0;
  background-image: url(/img/icon_clock-825233c2a4109c6adc71498ac582e6cb.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
}

input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0;
}

input.sm {
  height: calc(var(--btnHeight) - 6px);
  padding: 0 15px;
  border-radius: 12px;
}

select.short {
  width: 150px;
  flex-shrink: 0;
}

input[type=checkbox],
input[type=radio] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  vertical-align: middle;
}

input[type=checkbox] {
  background-image: url(/img/checkbox-7ca0adaabcd6f7773caa9e5c455aed33.svg);
}

input[type=checkbox]:checked {
  background-image: url(/img/checkbox_checked-372e80f555151c3ef3bdaddbf69fab90.svg);
}

input[type=checkbox]:disabled {
  opacity: 0.45;
}

input[type=checkbox]:checked:disabled {
  opacity: 0.45;
}

input[type=radio] {
  background-image: url(/img/radio-7ca0adaabcd6f7773caa9e5c455aed33.svg);
}

input[type=radio]:checked {
  background-image: url(/img/radio_checked-372e80f555151c3ef3bdaddbf69fab90.svg);
}

input[type=radio]:disabled {
  opacity: 0.45;
}

input[type=radio]:checked:disabled {
  opacity: 0.45;
}

label.check {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
}

label.check span {
  white-space: nowrap;
}

label.check input:disabled+span {
  opacity: 0.45;
}

strong,
b,
th,
dt {
  font-weight: 700;
}

.succession {
  margin-top: var(--spaceM) !important;
}

.successionS {
  margin-top: var(--spaceS) !important;
}

.successionXS {
  margin-top: var(--spaceXS) !important;
}

.successionL {
  margin-top: var(--spaceL) !important;
}

.successionXL {
  margin-top: var(--spaceXL) !important;
}

.txt-red {
  color: var(--red) !important;
}

.txt-orange {
  color: var(--orange) !important;
}

.txt-blue {
  color: var(--blue) !important;
}

.txt-cyan {
  color: var(--cyan) !important;
}

.txt-green {
  color: var(--green) !important;
}

.txt-gray {
  color: var(--gray400) !important;
}

.txt-primary {
  color: var(--primaryColor) !important;
}

.txt-purple {
  color: var(--purple) !important;
}

.txt-l {
  font-size: 1.142em;
}

.txt-s {
  font-size: 0.9em;
}

th,
td {
  vertical-align: middle;
}

.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.align-right {
  text-align: right !important;
}

/* Mixin */
.ui-widget {
  font-size: 1em;
  z-index: 2 !important;
}

:root {
  --swiper-navigation-size: 18px;
  --swiper-theme-color: #005cfc;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-weight: 900;
}

.swiper-button-next {
  right: 0;
  color: var(--textColor);
}

.swiper-button-prev {
  left: 0;
  color: var(--textColor);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: transparent;
  border: 1px solid var(--primaryColor);
}

.swiper-pagination-bullet-active {
  background-color: var(--primaryColor);
}

.ibtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 0;
  height: var(--btnHeight);
  background-color: #3f4f63;
  border: 1px solid var(--gray900);
  border-radius: var(--btnRadius);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fafaf8;
}

.ibtn:hover {
  background-color: #4a5d73;
}

.ibtn.primary {
  background-color: var(--blue);
}

.ibtn.primary:hover {
  background-color: #4ea1ff;
}

.ibtn.primaryD {
  background-color: var(--primaryColorD);
}

.ibtn.primaryD:hover {
  background-color: var(--primaryColorD);
}

.ibtn.secondary {
  background-color: var(--secondaryColor);
}

.ibtn.secondary:hover {
  background-color: var(--secondaryColor);
}

.ibtn.line {
  background-color: transparent;
  border-color: #585e66;
}

.ibtn.line:hover {
  background-color: transparent;
  border-color: #a6b4c5;
}

.ibtn.lg {
  font-size: var(--tBasic);
  height: 42px;
  min-width: 200px;
}

.ibtn.sm {
  font-size: 14px;
  padding: 0 8px;
  height: 28px;
  gap: 6px;
  font-weight: 400;
}

.ibtn.narrow {
  padding: 0 5px;
}

.ibtn:disabled,
.ibtn.disabled {
  opacity: 0.6;
}

.ibtn.full {
  width: 100%;
}

.tbtn {
  text-decoration: underline;
}

i.icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  aspect-ratio: 1/1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0;
}

i.icon::after {
  content: "";
  width: 100%;
  height: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

i.icon.minus {
  background-image: url(/img/icon_minus-277fc6b63ff267ded7dc1a6f89d3599d.svg);
}

i.icon.plus {
  background-image: url(/img/icon_plus-6172683b14d7f5bcb17f4f661ab9234c.svg);
}

i.icon.right {
  background-image: url(/img/icon_right-020b91a8ed75818d18ee6f6e47dd15a2.svg);
}

i.icon.focus {
  background-image: url(/img/icon_focus-c6495385dcbc7e63fa24322bea2f9e87.svg);
}

i.icon.search {
  width: 18px;
  height: 18px;
  background-image: url(/img/icon_search-f53222bee14caf6a0df41944489c6958.svg);
}

i.icon.prev {
  width: 20px;
  height: 20px;
  background-image: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg);
  transform: rotate(90deg);
}

i.icon.next {
  width: 20px;
  height: 20px;
  background-image: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg);
  transform: rotate(-90deg);
}

i.icon.ok {
  width: 20px;
  height: 20px;
  background-image: url(/img/icon_ok_circle-2e72667d06d8960579e32ba057913a8c.svg);
}

i.icon.upload {
  width: 18px;
  height: 18px;
  background-image: url(/img/icon_upload-d71964980e6b2694eebfb28910e1ff80.svg);
}

i.icon.accident01 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident01-2c3de2f2a3b8ec08ac600bb172d01d4d.svg);
}

i.icon.accident02 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident02-349edcbd627c64960dc8d586fb09d2c7.svg);
}

i.icon.accident03 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident03-8700aa64ca3ee41459a73d93b06dbeee.svg);
}

i.icon.accident04 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident04-fc90b34941fe9bd56f6e99c82d5c3e60.svg);
}

i.icon.accident05 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident05-141aa430956a4f2b3197631cbf30485d.svg);
}

i.icon.accident06 {
  width: 36px;
  height: 36px;
  background-image: url(/img/icon_accident06-cf24e74f5a305627eac6cb28fab9ca92.svg);
}

i.icon.accident-ok {
  width: 18px;
  height: 18px;
}

i.icon.accident-ok::after {
  background-color: #4fd4ee;
  -webkit-mask-image: url(/img/icon_ok-26ab6751eac9421ef021f2029edc032e.svg);
  mask-image: url(/img/icon_ok-26ab6751eac9421ef021f2029edc032e.svg);
}

i.icon.accident-warnning {
  width: 18px;
  height: 18px;
}

i.icon.accident-warnning::after {
  background-color: var(--red);
  -webkit-mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
  mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
}

.ibtn.sm i.icon {
  width: 16px;
  height: 16px;
}

.ibtn.primary i.icon.plus {
  background: none;
}

.ibtn.primary i.icon.plus::after {
  background-color: #fff;
  -webkit-mask-image: url(/img/icon_plus-6172683b14d7f5bcb17f4f661ab9234c.svg);
  mask-image: url(/img/icon_plus-6172683b14d7f5bcb17f4f661ab9234c.svg);
}

.ellipsis {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-clear,
.btn-delete {
  font-size: 0;
  width: 24px;
  aspect-ratio: 1/1;
  background: url(/img/icon_clear-95d74b87c4519679f64612e860ae6835.svg) no-repeat center;
}

.btn-mask {
  width: 24px;
  aspect-ratio: 1/1;
  background: url(/img/icon_hide-d2410a8b983f991b1aec3c212a39ae05.svg) no-repeat center;
  font-size: 0;
}

.btn-mask.on {
  background-image: url(/img/icon_show-26541b2c1e691dcaa825a3d8a554277b.svg);
}

.btn-sort {
  font-size: 0;
  width: 16px;
  height: 16px;
  background: url(/img/icon_arrowup-5c4f569fa02f7aeb3dc0acb994846bb7.svg) no-repeat center;
}

.btn-sort.desc {
  transform: rotate(180deg);
}

.btn-sort {
  vertical-align: middle;
  margin-left: 7px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  padding-right: 45px;
}

.input-wrapper button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-size: 22px;
}

.input-wrapper .btn-clear {
  display: none;
}

.input-wrapper .btn-mask {
  display: none;
}

.input-wrapper input.input-search {
  padding-right: 70px;
}

.input-wrapper input.input-search~.btn-clear {
  right: 35px;
}

ul.address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

ul.address li {
  display: flex;
  gap: 8px;
}

ul.address input.short {
  text-align: left;
}

table {
  table-layout: fixed;
}

th {
  font-weight: 500;
}

tbody tr.active {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

tbody tr.active td {
  background-color: var(--blueD);
  border-top: 2px solid #00b2ff !important;
  border-bottom: 2px solid #00b2ff !important;
  padding: 6px 8px 7px 8px;
}

tbody tr.active td:first-child {
  border-left: 2px solid #00b2ff;
}

tbody tr.active td:last-child {
  border-right: 2px solid #00b2ff;
}

th.border,
td.border {
  border-left: 1px solid rgba(110, 126, 146, 0.2);
}

.table-h01 th,
.table-h01 td {
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--gray100);
  height: 40px;
}

.table-h01 thead th {
  background-color: var(--gray900);
}

.table-h01 tr:not(.active):hover td {
  background-color: rgba(30, 124, 172, 0.5);
}

.table-v01 {
  background-color: #2f3741;
}

.table-v01 table {
  border-top: 1px solid rgba(110, 126, 146, 0.4);
  border-bottom: 1px solid #4b5362;
}

.table-v01 th,
.table-v01 td {
  text-align: left;
  padding: 8px 12px;
  height: 52px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
}

.table-v01 th {
  padding-left: 16px;
  padding-right: 16px;
  background-color: rgba(58, 131, 204, 0.13);
}

.table-v01 th small {
  font-size: 0.9375em;
  color: #7d848d;
  vertical-align: middle;
}

.table-scroll {
  flex-shrink: 1;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 100%;
  min-height: 120px;
  background-color: #2f3741;
  border: 1px solid rgba(110, 126, 146, 0.2);
  padding-bottom: 2px;
}

.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
}

.table-scroll th,
.table-scroll td {
  text-align: center;
  padding: 8px;
  height: 40px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
}

.table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 36px;
}

.table-scroll thead th {
  height: 36px;
  background-color: #262d35;
  padding-top: 6px;
  padding-bottom: 6px;
}

.table-scroll tbody tr:last-child td,
.table-scroll tbody tr:last-child th {
  border-bottom: 0;
}

.table-scroll tr:not(.active):hover td {
  background-color: rgba(30, 124, 172, 0.5);
}

table.sm thead th {
  font-size: 15px;
}

table.sm input[type=checkbox],
table.sm input[type=radio] {
  width: 18px;
  height: 18px;
}

.grow {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
}

span.require::after {
  content: "";
  color: var(--red);
  margin-left: 4px;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: url(/img/icon_require-e179582d0c6dae566d1c3cc69dc3126d.svg) no-repeat center/contain;
  vertical-align: 7px;
}

.tbl-top,
.tbl-btm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.tbl-btm {
  margin-top: 32px;
}

.tbl-btm .pagenum {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.tbl-btm .pagenum button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  width: 28px;
  height: 28px;
  padding: 0 4px;
  border-radius: 4px;
  background: transparent;
  white-space: nowrap;
}

.tbl-btm .pagenum button.page-nav {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
}

.tbl-btm .pagenum button.active {
  background: rgba(55, 83, 118, 0.3);
}

.tbl-btm .pagenum button:disabled {
  opacity: 0.5;
}

.space-gap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.space-gap.column {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.space-gap.xs {
  gap: 5px;
}

.space-gap.sm {
  gap: 20px;
}

.space-gap.lg {
  gap: 50px;
}

details summary {
  list-style-type: none;
}

details summary::-webkit-details-marker {
  display: none;
}

ul.tree {
  padding-right: 8px;
}

ul.tree ul {
  display: none;
  padding-left: 30px;
}

ul.tree i.arrow {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url(/img/icon_arrow-49284aff5fb205d146b0a8f36f589aa5.svg) no-repeat center;
  transform: rotate(0);
  margin-right: 2px;
  position: relative;
}

ul.tree span {
  display: inline-block;
  vertical-align: middle;
  height: 36px;
  line-height: 36px;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  max-width: 75%;
  position: relative;
  cursor: pointer;
}

ul.tree span::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  background: url(/img/icon_folder-4b405285c446def9900a91d58eeb9a06.svg) no-repeat center;
  margin-right: 4px;
}

ul.tree .ibtn {
  position: relative;
}

ul.tree li {
  font-size: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

ul.tree li ul {
  flex: 0 0 100%;
}

ul.tree li.open>span::before {
  background-image: url(/img/icon_folder_open-0f566552c6c7c7f27e0bafae48c4a45f.svg);
}

ul.tree li.open>ul {
  display: block;
}

ul.tree li.open>i.arrow {
  transform: rotate(90deg);
}

ul.tree li:not(:has(ul))>i.arrow {
  background: none;
  width: 18px;
}

ul.tree li:not(:has(ul))>i.arrow::after {
  content: "-";
  font-size: 15px;
}

ul.tree li:not(:has(ul))>span::before {
  background-image: url(/img/icon_cctv-72b571dd422fee86a140285520453264.svg);
}

ul.tree li.leaf {
  display: flex;
  align-items: center;
}

ul.tree li.leaf i.arrow {
  cursor: auto;
}

ul.tree li.leaf i.icon {
  position: relative;
  background: url(/img/icon_focus-c6495385dcbc7e63fa24322bea2f9e87.svg) no-repeat center;
  margin-left: auto;
}

ul.tree li.leaf i.icon.disabled {
  background-image: url(/img/icon_focus_disabled-e5d209be2fe28b9cb8ad862773676a0c.svg);
}

ul.tree li.active {
  position: relative;
}

ul.tree li.active>span {
  font-weight: 500;
}

ul.tree li.active::before {
  content: "";
  width: calc(100% + 308px);
  height: 36px;
  position: absolute;
  left: -300px;
  top: 0;
  background-color: #1f3660;
}

.btn-toggle {
  font-size: 0;
  width: 42px;
  height: 22px;
  border-radius: 42px;
  background-color: var(--blue);
  box-shadow: inset 0 0 2px rgba(29, 41, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.btn-toggle::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 4px rgba(39, 39, 39, 0.1);
  position: absolute;
  left: 21px;
  transition: all 0.3s;
}

.btn-toggle.off {
  background-color: #7d848d;
}

.btn-toggle.off::after {
  left: 3px;
}

.btn-close {
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(/img/icon_close-66b94d88ecb34c4f91ae0476bec3e7d3.svg) no-repeat center/contain;
}

.btn-search {
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(/img/icon_search-f53222bee14caf6a0df41944489c6958.svg) no-repeat center/contain;
}

.btn-fullscreen {
  font-size: 0;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.45) url(/img/icon_fullscreen-6b27a3d29b18ad27831622c60e54070b.svg) no-repeat center;
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.btn-fullscreen:hover {
  background-color: var(--blueD);
}

.btn-fullscreen.exit {
  background-image: url(/img/icon_fullscreen_exit-21899cb4b59a69f26f62bc74be365a3c.svg);
}

.btn-tooltip {
  font-size: 0;
  width: 16px;
  height: 16px;
  background: url(/img/icon_tip-467c2864f86887f2c515d37cb054c7ae.svg) no-repeat center;
  vertical-align: top;
  margin-left: 6px;
}

.player-area {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.player-area video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

.player-area .btn-control {
  font-size: 0;
  width: 54px;
  height: 54px;
  border-radius: 100px;
  background: url(/img/btn_play-3548446836a6d91960be15dd79bba415.png) no-repeat center/contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.player-area .btn-control.pause {
  background-image: url(/img/btn_pause-4600b61a331c0b763cce333e98fc9f73.png);
}

ul.list01 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

ul.list01 li {
  display: grid;
  gap: 8px 12px;
  align-items: center;
  padding-right: 12px;
}

ul.list01 li .img {
  grid-area: 1/1/3/2;
  width: 130px;
  aspect-ratio: 13/9;
  border: 1px solid #7d848d;
}

ul.list01 li .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

ul.list01 li .txt01 {
  grid-area: 1/2/2/3;
  font-size: 15px;
  font-weight: 500;
  color: var(--textColorMain);
  line-height: 1;
  align-self: flex-end;
  margin-top: 5px;
}

ul.list01 li .txt02 {
  grid-area: 2/2/3/3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  align-self: flex-start;
}

ul.list01 li .txt02 strong {
  font-weight: 700;
  color: var(--orange);
}

ul.list01 li i {
  grid-area: 1/3/3/4;
}

ul.list01 li:not(:first-of-type) {
  border-top: 1px solid rgba(110, 126, 146, 0.2);
  padding-top: 12px;
}

i.accident {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 80px;
  height: 80px;
  font-weight: 500;
  font-size: 13px;
  color: var(--textColorMain);
  background-color: #000;
  border-radius: 100px;
  flex-shrink: 0;
}

i.accident::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

i.accident.warnning {
  background-color: var(--red);
}

i.accident.warnning::before {
  background-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
}

i.accident.ok {
  background-color: var(--green);
}

i.accident.ok::before {
  background-image: url(/img/icon_ok-26ab6751eac9421ef021f2029edc032e.svg);
}

.no-result {
  padding: 97px 0 0 0 !important;
  text-align: center;
  font-size: 15px;
  color: var(--textColorMain);
  background: url(/img/noresult_box-dce00d96679da943981f5d059adf082e.png) no-repeat center top;
}

.no-result.image {
  padding-top: 160px !important;
  background: url(/img/no_img-3d934367e0287b34ed25701095cda731.png) no-repeat center top;
  transform: translateY(-19px);
}

.no-result.video {
  width: 80px;
  height: 80px;
  padding: 0 !important;
  background: url(/img/icon_cctv_disconnect-f2082d2cb170b2c57bcc21decbf70c25.svg) no-repeat center/contain;
}

p.total {
  font-size: 0.875em;
}

p.total strong {
  font-weight: 500;
  color: var(--orange);
}

#wrapper {
  min-width: var(--siteWidth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

#header {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: linear-gradient(#1f232b, #1f232b) padding-box, linear-gradient(to bottom, #64758b, #1f232b) border-box;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: relative;
  z-index: 20;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.18);
}

#header h1 {
  width: 73px;
  height: 36px;
  font-size: 0;
  background: url(/img/logo-bcfe4072c0ebad1c6cf6c04becab856f.png) no-repeat center/contain;
}

#header h1 a {
  display: block;
  width: 100%;
  height: 100%;
}

#header .time {
  margin-left: auto;
  margin-right: 72px;
  font-size: 18px;
  font-weight: 700;
}

#header .user {
  display: flex;
  align-items: center;
  gap: 16px;
}

#header .user .notification {
  position: relative;
}

#header .user .notification dt {
  width: 24px;
  height: 24px;
  font-size: 0;
  background: url(/img/icon_bell-ac95f143804167068de7bfd95ebd8162.svg) no-repeat center;
}

#header .user .notification dd {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  height: 17px;
  border-radius: 100px;
  background-color: var(--red);
  color: var(--textColorMain);
  font-size: 11px;
  font-weight: 700;
  line-height: 0;
  min-width: 17px;
  position: absolute;
  right: -4px;
  top: -4px;
}

#header .user strong {
  font-weight: 500;
  text-decoration: underline;
}

#header .user .btn-logout {
  font-size: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #3f4f63 url(/img/icon_logout-115d42d7e786b2403ce5db15a8d472b9.svg) no-repeat center;
}

#header .user .btn-logout:hover {
  background-color: #4ea1ff;
}

#header .gnb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#header .gnb>ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

#header .gnb>ul>li {
  position: relative;
  color: #d8e1e6;
}

#header .gnb>ul>li>a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding-right: 36px;
  padding-left: 8px;
  height: 40px;
  position: relative;
}

#header .gnb>ul>li>a:hover {
  color: var(--textColorMain);
}

#header .gnb>ul>li>a::after {
  content: "";
  width: 20px;
  aspect-ratio: 1/1;
  background-color: #a6b4c5;
  -webkit-mask-image: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg);
  mask-image: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: absolute;
  right: 8px;
}

#header .gnb>ul>li ul {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--blueD);
  background-color: #262b36;
  border-radius: 4px;
  padding: 4px 0;
  width: auto;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s;
}

#header .gnb>ul>li ul a {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 15px;
}

#header .gnb>ul>li ul a:hover {
  background-color: var(--blueD);
  color: var(--textColorMain);
}

#header .gnb>ul>li ul li.on a {
  font-weight: 500;
  color: var(--textColorMain);
}

#header .gnb>ul>li:hover ul {
  max-height: 500px;
  opacity: 1;
}

#header .gnb>ul>li.on>a {
  font-weight: 500;
  color: var(--textColorMain);
}

#main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
}

.badge-cctv {
  position: absolute;
  z-index: 10;
  padding-top: 44px;
  background: url(/img/badge_cctv-3135255a449a1b3ebec30b83950ee44a.png) no-repeat center top;
  transform: translate(-50%, -24px);
  cursor: pointer;
}

.badge-cctv span {
  font-size: 14px;
  border-radius: 500px;
  display: flex;
  align-items: center;
  height: 24px;
  background-color: rgba(93, 97, 103, 0.7);
  padding: 0 10px;
  min-width: 78px;
  color: var(--textColorMain);
  border: 1px solid #a6b4c5;
  font-weight: 500;
}

.badge-cctv.active {
  background-image: url(/img/badge_cctv_active-19cbfa12e566ab42788f0196ca97c7fb.png);
}

.badge-cctv.active::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(176, 0, 192, 0.65);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.badge-cctv.active span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}

.badge-cctv.select {
  background-image: url(/img/badge_cctv_select-8e6df17b7818d28a04841a51a702d6c5.png);
}

.badge-cctv.select span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}

.badge-cctv.disconnect {
  pointer-events: none;
  background-image: url(/img/badge_cctv_disconnect-c4f3d4215a8a2c410a863e063551c1ef.png);
}

.badge-cctv.disconnect span {
  background-color: rgba(85, 91, 102, 0.8);
}

.badge-cctv:not(.disconnect, .active):hover {
  background-image: url(/img/badge_cctv_select-8e6df17b7818d28a04841a51a702d6c5.png);
}

.badge-cctv:not(.disconnect, .active):hover span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}

.cctv-viewer {
  box-shadow: 0 4px 12px rgba(31, 35, 43, 0.8);
}

.cctv-viewer header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  background-color: rgba(58, 131, 204, 0.13);
}

.cctv-viewer header h2 {
  font-weight: 400;
}

.cctv-viewer header h2 strong {
  font-weight: 500;
}

.cctv-viewer header .btn-close {
  margin-left: auto;
}

.main-view {
  overflow-y: auto;
  overflow-x: hidden;
  flex-grow: 1;
}

.main-view .map-area {
  position: relative;
}

.main-view .aside-left {
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 8px;
  width: 280px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-view div.details {
  box-shadow: 0 0 18px rgba(31, 35, 43, 0.8);
  display: flex;
  flex-direction: column;
}

.main-view div.details summary {
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid transparent;
  background: linear-gradient(to bottom, #2b426a, #223351) padding-box, linear-gradient(179deg, #6592e3, #223351) border-box;
  height: 42px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--textColorMain);
  padding: 0 8px 0 12px;
  box-shadow: 0 2px rgba(0, 0, 0, 0.18);
}

.main-view div.details summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg) no-repeat center/contain;
  margin-left: auto;
}

.main-view div.details .con {
  background: rgba(31, 35, 43, 0.8);
  border: 1px solid rgba(50, 60, 74, 0.3);
  padding: 12px;
  padding-bottom: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.main-view div.details.open {
  flex-grow: 0;
}

.main-view div.details.open summary::after {
  transform: rotate(180deg);
}

.main-view div.details.open .con {
  display: none;
}

.main-view .event-situation .value {
  display: flex;
  gap: 24px;
  padding: 3px 10px;
  border-bottom: 1px solid #4b5362;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.main-view .event-situation .value dl {
  flex: 1 1 0;
}

.main-view .event-situation .value dl dt {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}

.main-view .event-situation .value dl dd {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1;
  gap: 3px;
  text-align: right;
}

.main-view .event-situation .value dl dd strong {
  color: var(--textColorMain);
  font-weight: 700;
  font-size: 28px;
  vertical-align: middle;
  margin-right: 3px;
}

.main-view .event-situation .value dl:first-of-type dd strong {
  color: var(--orange);
}

.main-view .cctv-situation {
  flex-grow: 1;
  overflow: hidden;
}

.main-view .cctv-situation .con {
  flex-grow: 1;
  overflow: hidden;
}

.main-view .cctv-situation .tree {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  margin-right: -9px;
  margin-left: -12px;
  padding-left: 5px;
}

.main-view .aside-right {
  position: absolute;
  z-index: 10;
  right: 10px;
  top: 8px;
  width: 500px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-view .cctv-viewer {
  border: 2px solid transparent;
  background: linear-gradient(to bottom, #262b36, #262b36) padding-box, linear-gradient(to right bottom, #2cffce, #4d9eff, #d15cff) border-box;
  border-radius: 8px;
}

.main-view .cctv-viewer header {
  background-color: #262b36;
  border-radius: 6px 6px 0 0;
}

.main-view .cctv-viewer header .history {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--textColorMain);
  cursor: pointer;
}

.main-view .cctv-viewer header .btn-close {
  margin-left: 0;
}

.main-view .cctv-viewer .player-area {
  border-radius: 0 0 6px 6px;
  aspect-ratio: 500/320;
}

.main-view .history-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-view .history-list header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  background: #283142;
}

.main-view .history-list header h2 {
  font-weight: 400;
  font-size: 15px;
}

.main-view .history-list header h2 strong {
  font-weight: 500;
}

.main-view .history-list header span {
  margin-left: auto;
  font-size: 15px;
  color: var(--textColorMain);
  font-size: 14px;
}

.main-view .history-list header span strong {
  font-weight: 500;
  color: var(--orange);
}

.main-view .history-list .con {
  flex-grow: 1;
  overflow: hidden;
  background: rgba(31, 35, 43, 0.8);
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.main-view .history-list .con ul {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 3px;
  margin-right: -12px;
}

.main-slide {
  flex: 0 0 250px;
  position: relative;
  padding: 15px 12px;
  width: 100%;
  background-color: #262b36;
}

.main-slide .main-slide-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 72px;
  margin-top: 0;
  border: 1px solid rgba(239, 239, 239, 0.24);
  border-radius: 8px;
  background: rgba(10, 14, 22, 0.78);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.main-slide:hover .main-slide-nav,
.main-slide:focus-within .main-slide-nav {
  opacity: 1;
  pointer-events: auto;
}

.main-slide .main-slide-nav:hover,
.main-slide .main-slide-nav:focus-visible {
  border-color: rgba(77, 158, 255, 0.75);
  background: rgba(18, 26, 39, 0.92);
  outline: none;
}

.main-slide .main-slide-nav-prev {
  left: 10px;
}

.main-slide .main-slide-nav-next {
  right: 10px;
}

.main-slide .main-slide-nav::after {
  content: "";
  display: none;
}

.main-slide .main-slide-nav::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.main-slide .main-slide-nav-prev::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}

.main-slide .main-slide-nav-next::before {
  transform: rotate(45deg);
  margin-right: 5px;
}

.main-slide .main-slide-nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.main-slide .swiper-slide {
  width: 280px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #2a303d;
}

.main-slide .swiper-slide::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.main-slide .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: none;
  pointer-events: none;
}

.main-slide .swiper-slide .thumb-location,
.main-slide .swiper-slide .thumb-name {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--textColorMain);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-slide .swiper-slide .thumb-location {
  flex: 0 0 20px;
  color: rgba(239, 239, 239, 0.68);
  font-size: 13px;
  font-weight: 400;
}

.main-slide .swiper-slide .thumb-name {
  flex: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
}

.main-slide .swiper-slide .thumb-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1a2e;
}

.main-slide .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

.main-slide .swiper-slide img.disconnect {
  width: 60px;
  height: 60px;
  margin-top: 32px;
}

.main-slide .swiper-slide.on {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.main-slide .swiper-slide.on::before {
  content: "";
  display: none;
}

.main-slide .swiper-slide.on .thumb-name {
  color: #fff;
}

.main-slide .swiper-slide.on::after {
  padding: 1px;
  background: linear-gradient(to bottom right, #2cffce, #4d9eff, #d15cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: xor;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#main.sub-layout {
  flex-direction: row;
}

.sub-left {
  flex: 0 0 280px;
  background-color: rgba(31, 35, 43, 0.8);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  --btnHeight: 28px;
}

.sub-left .ibtn {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
}

.sub-left .ibtn i {
  margin-left: -6px !important;
}

.sub-left .ibtn i.icon.plus {
  width: 16px;
  height: 16px;
  background-image: url(/img/icon_plus_sm-b53d550b93b7d04f224afaa57be66195.svg);
}

.sub-left .ibtn i.icon.minus {
  width: 16px;
  height: 16px;
  background-image: url(/img/icon_minus_sm-642f878d97b79a9c28af58ac0ce722d7.svg);
}

.sub-left .sub-left-header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 39px;
  padding: 0 12px;
  background: linear-gradient(to bottom, #2b426a, #223351);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.sub-left .sub-left-header h2 {
  color: var(--textColorMain);
  font-weight: 700;
  font-size: 15px;
}

.sub-left .h3-header {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 12px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  flex-shrink: 0;
  padding: 0 8px 0 10px;
  margin-left: -5px;
}

.sub-left .h3-header h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sub-left .h3-header button {
  margin-left: auto;
}

.sub-left .con {
  padding: 8px 0;
  border: 1px solid rgba(50, 60, 74, 0.3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sub-left .con .grow {
  overflow-y: auto;
  padding-left: 5px;
}

.sub-left .tree>li:not(:first-of-type) {
  margin-top: 8px;
}

.sub-left .tree span {
  height: 38px;
  line-height: 38px;
}

.sub-left .tree li.active::before {
  height: 38px;
}

.sub-left .player-list {
  padding: 0 8px 0 3px;
}

.sub-left .player-list summary {
  line-height: 32px;
  position: relative;
  padding-right: 30px;
  cursor: pointer;
}

.sub-left .player-list summary::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg) no-repeat center/contain;
}

.sub-left .player-list:open summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.sub-left .player-list ul li {
  margin-bottom: 12px;
}

.sub-left .player-list ul header {
  display: flex;
  align-items: center;
  height: 32px;
  background-color: #3f4f63;
  padding: 0 12px;
}

.sub-left .player-list ul header p {
  font-size: 0.9375em;
  font-weight: 500;
  line-height: 1;
}

.sub-left .player-list ul header .btn-toggle {
  margin-left: auto;
}

.sub-left .player-list ul .player-area {
  border: 2px solid #3f4f63;
  border-top: 0;
}

.sub-left .player-list:not(:first-of-type) {
  border-top: 1px solid #4b5362;
  margin-top: 8px;
  padding-top: 8px;
}

.sub-contents {
  padding: 20px 60px 63px 60px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: auto;
  scrollbar-gutter: stable;
  /* 스크롤바 영역 미리 확보 → 콘텐츠 변동 시 가로 폭 들썩거림 방지 */
}

.sub-contents.narrow {
  padding-bottom: 20px;
}

.sub-contents-header {
  display: flex;
  align-items: center;
  height: 66px;
  border-bottom: 2px solid #4b5362;
  flex-shrink: 0;
  --btnHeight: 42px;
  --btnRadius: 4px;
}

.sub-contents-header h2 {
  font-size: 32px;
  color: var(--textColorMain);
  line-height: 1;
}

.sub-contents-header .tooltip-area {
  margin-top: -11px;
}

.sub-contents-header .btns {
  margin-left: auto;
}

.sub-contents-header .ibtn {
  min-width: 108px;
}

.tooltip-area {
  position: relative;
}

.tooltip-area .btn-tooltip {
  margin-left: 8px;
}

.pop-tooltip {
  position: absolute;
  z-index: 10;
  width: 203px;
  padding: 8px 12px;
  background-color: rgba(47, 55, 65, 0.9);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  font-size: 15px;
  right: -220px;
  top: -17px;
  display: none;
}

.pop-tooltip::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(47, 55, 65, 0.9);
  transform: rotate(45deg);
  left: -5px;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pop-tooltip header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.pop-tooltip header h3 {
  color: var(--textColorMain);
}

.pop-tooltip header .btn-close {
  margin-left: auto;
  width: 20px;
  height: 20px;
}

.pop-tooltip p {
  word-break: keep-all;
}

.contents-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  /* 스크롤바 영역 미리 확보 → 들썩거림 방지 */
}

.h3-header {
  --btnHeight: 28px;
  display: flex;
  align-items: center;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.h3-header.border {
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  height: 40px;
}

.h3-header h3 {
  color: var(--textColorMain);
  line-height: 1;
}

.h3-header .tooltip-area {
  margin-top: 7px;
}

.h3-header .ibtn {
  font-size: 14px;
  font-weight: 400;
  gap: 3px;
}

.h3-header i.icon {
  width: 18px;
  height: 18px;
}

.h3-header i.icon.plus {
  margin-left: -6px;
}

.p-header {
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 8px;
}

.guide-refer {
  font-size: 0.9375em;
  color: #4faff3;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.guide-refer::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #4faff3;
  -webkit-mask-image: url(/img/icon_guide-4baeb4c2de9084d5c6cf2896ac10a526.svg);
  mask-image: url(/img/icon_guide-4baeb4c2de9084d5c6cf2896ac10a526.svg);
}

.btns {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.layout-2col {
  display: flex;
  gap: 32px;
  overflow: hidden;
}

.layout-2col>section {
  display: flex;
  flex-direction: column;
}

.layout-2col>section:first-child {
  flex: 0 0 480px;
}

.layout-2col>section:last-child {
  flex: 1 1 0;
}

.layout-2col.sub0202 {
  height: 100%;
}

.layout-2col.sub0202>section:first-child {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.layout-2col.sub0202>section:last-child {
  flex: 0 0 532px;
  border-left: 1px solid rgba(110, 126, 146, 0.2);
  padding-left: 16px;
}

.layout-2col.sub0202 .top-search {
  margin-bottom: 24px;
}

.layout-2col.sub0202 .accident-value {
  margin-bottom: 24px;
}

.layout-2col.sub0202 .tab-con {
  display: flex;
  flex-direction: column;
}

.layout-2col.sub0202 .tab-con>section {
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.layout-2col.sub0202 .calendar-area {
  margin-bottom: 14px;
  margin-top: -12px;
}

.calendar-area {
  display: flex;
  flex-direction: column;
}

.calendar-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  height: 44px;
}

.calendar-header .btn-month {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 0;
  background: url(/img/icon_left-d1b9639156980b4a6c116641a1c4ccde.svg) no-repeat center/contain;
  margin-right: 0;
}

.calendar-header .btn-month.next {
  transform: rotate(180deg);
  margin-right: 0;
  margin-left: 0;
}

.calendar-jump {
  position: relative;
  flex-shrink: 0;
}

.calendar-title {
  min-width: 118px;
  height: 32px;
  padding: 0 34px 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg) no-repeat right 10px center;
  color: var(--textColorMain);
  font-size: 1.125em;
  font-weight: 600;
  cursor: pointer;
}

.calendar-title:hover,
.calendar-title[aria-expanded=true] {
  background-color: #1a1d22;
}

.calendar-jump-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 30;
  width: 224px;
  padding: 10px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background-color: #1a1d22;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.calendar-jump-panel[hidden] {
  display: none;
}

.calendar-jump-panel select {
  width: 100%;
  height: 32px;
  margin-bottom: 8px;
  border: 1px solid #4b5362;
  border-radius: 4px;
  background-color: #262d35;
  color: #fff;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.calendar-month-grid button {
  height: 30px;
  border-radius: 4px;
  background-color: #262d35;
  color: #fff;
  font-weight: 500;
}

.calendar-month-grid button:hover,
.calendar-month-grid button.active {
  background-color: var(--blue);
}

.calendar .th {
  border-top: 1px solid #4b5362;
  border-bottom: 1px solid #4b5362;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar .th .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  font-size: 0.8125em;
}

.calendar .td {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: clamp(52px, 6.8vh, 70px);
  background-color: #2f3741;
  margin-left: 1px;
  margin-top: 1px;
}

.calendar .td .item {
  margin-left: -1px;
  margin-top: -1px;
  min-height: 0;
  padding: 3px 4px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.calendar .td .item.ex span {
  opacity: 0.5;
}

.calendar .td .item.today {
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid #4b5362;
}

.calendar .td .item.today span {
  background-color: #3f4f63;
  font-weight: 700;
}

.calendar .td .item.active {
  background-color: #1a1d22;
  border: 1px solid #00b2ff;
}

.calendar .td .item.active span {
  background-color: var(--blue);
  font-weight: 700;
}

.calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  flex-shrink: 0;
}

.calendar .td span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 0.8125em;
}

.calendar-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: rgba(0, 178, 255, 0.18);
  color: #8fd8ff;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.calendar .td .item.ex .calendar-total {
  opacity: 0.55;
}

.calendar .td ul {
  min-height: 0;
  font-size: 0.75em;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  padding-left: 0;
  padding-right: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
}

.calendar .td ul::-webkit-scrollbar {
  display: none;
}

.calendar .td li {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  line-height: 1.1;
}

.calendar .td i.badge {
  height: 16px;
  min-width: 24px;
  padding: 0 4px;
  font-size: 11px;
}

.calendar .td li em {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex-grow: 1;
}

.event-detail .img-area {
  background-color: rgba(55, 83, 118, 0.3);
  border: 2px solid #4b5362;
  width: 100%;
  aspect-ratio: 516/330;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-detail .img-area img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

.event-detail .player-area {
  background-color: rgba(57, 66, 83, 0.2);
  border: 2px solid #4b5362;
  aspect-ratio: 516/320;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-detail .rows {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 0.9375em;
  flex-shrink: 0;
}

.event-detail .toggle-area label {
  color: var(--textColorMain);
}

.event-detail label.check {
  margin-left: auto;
}

.event-detail .action {
  flex-shrink: 0;
}

.event-detail .action h3 {
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.event-detail .action .input-wrapper {
  width: 100%;
}

.event-detail .action .ibtn {
  flex: 0 0 80px;
}

.event-detail.disabled .no-result {
  color: #7d848d;
}

.event-detail.disabled .rows,
.event-detail.disabled .action {
  opacity: 0.6;
  pointer-events: none;
}

.tab-menu {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  height: 40px;
  margin-bottom: 32px;
}

.tab-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  min-width: 120px;
  color: #7d848d;
  background-color: rgba(57, 66, 83, 0.25);
  border: 1px solid rgba(110, 126, 146, 0.2);
}

.tab-menu a.on {
  background-color: var(--blueD);
  color: var(--textColorMain);
  border-color: transparent;
  font-weight: 500;
}

.accident-value {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.accident-value dl {
  flex: 0 0 calc((100% - 36px) / 4);
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(110, 126, 146, 0.2);
  position: relative;
  padding: 16px 20px 16px 92px;
  height: 88px;
}

.accident-value dl::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 100px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(90, 110, 216, 0.7) url(/img/icon_accident00-5ef22d89c24a1ebe8c8530be1c9a23a5.svg) no-repeat center/28px;
  border: 1px solid var(--accidentColor01);
}

.accident-value dl:nth-of-type(1) dd strong {
  color: var(--orange);
}

.accident-value dl:nth-of-type(1)::before {
  background-color: #f02a2a;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
}

.accident-value dl:nth-of-type(2)::before {
  background-color: rgba(90, 110, 216, 0.7);
  border-color: var(--accidentColor01);
  background-image: url(/img/icon_accident01-2c3de2f2a3b8ec08ac600bb172d01d4d.svg);
}

.accident-value dl:nth-of-type(3)::before {
  background-color: rgba(71, 184, 248, 0.7);
  border-color: var(--accidentColor02);
  background-image: url(/img/icon_accident02-349edcbd627c64960dc8d586fb09d2c7.svg);
}

.accident-value dl:nth-of-type(4)::before {
  background-color: rgba(255, 83, 83, 0.7);
  border-color: var(--accidentColor03);
  background-image: url(/img/icon_accident03-8700aa64ca3ee41459a73d93b06dbeee.svg);
}

.accident-value dl:nth-of-type(5)::before {
  background-color: rgba(45, 178, 139, 0.7);
  border-color: var(--accidentColor04);
  background-image: url(/img/icon_accident04-fc90b34941fe9bd56f6e99c82d5c3e60.svg);
}

.accident-value dl:nth-of-type(6)::before {
  background-color: rgba(247, 52, 99, 0.7);
  border-color: var(--accidentColor05);
  background-image: url(/img/icon_accident05-141aa430956a4f2b3197631cbf30485d.svg);
}

.accident-value dl:nth-of-type(7)::before {
  background-color: rgba(255, 133, 46, 0.7);
  border-color: var(--accidentColor06);
  background-image: url(/img/icon_accident06-cf24e74f5a305627eac6cb28fab9ca92.svg);
}

.accident-value dl:nth-of-type(8)::before {
  background-color: rgba(139, 92, 246, 0.7);
  border-color: var(--accidentColor07);
  background-image: url(/img/icon_accident04-fc90b34941fe9bd56f6e99c82d5c3e60.svg);
}

.accident-value dt {
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.3;
}

.accident-value dd {
  margin-top: 8px;
  font-size: 0.9375em;
  line-height: 1;
  text-align: right;
}

.accident-value dd strong {
  font-size: 1.8667em;
  margin-right: 5px;
  vertical-align: -2px;
}

i.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  min-width: 30px;
  border-radius: 100px;
  color: var(--textColorMain);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

i.badge.accident01 {
  background-color: var(--accidentColor01);
}

i.badge.accident02 {
  background-color: var(--accidentColor02);
}

i.badge.accident03 {
  background-color: var(--accidentColor03);
}

i.badge.accident04 {
  background-color: var(--accidentColor04);
}

i.badge.accident05 {
  background-color: var(--accidentColor05);
}

i.badge.accident06 {
  background-color: var(--accidentColor06);
}

i.badge.accident07 {
  background-color: var(--accidentColor07);
}

.scroll-area {
  flex-grow: 1;
  overflow-y: auto;
}

p.label {
  margin-bottom: 8px;
  line-height: 1;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  display: none;
}

.select-wrapper .select-display {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  background: var(--gray900) url(/img/icon_down-df2bf9704bd98f85d59d09b6dba1c3a6.svg) no-repeat right 8px center;
  padding: 0 var(--btnPadding);
  padding-right: 34px;
  border-radius: var(--btnRadius);
  border: 1px solid #1f2326;
  color: #fff;
  cursor: pointer;
}

.select-wrapper .select-display.active {
  background-color: #1a1d22;
  border-color: var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

.select-wrapper .select-options {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  display: none;
  z-index: 10;
  max-height: 180px;
  overflow-y: auto;
  background-color: #1a1d22;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

.select-wrapper .select-options li {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  padding: 0 var(--btnPadding);
  background: #262d35;
  color: #fff;
  cursor: pointer;
}

.select-wrapper .select-options li:hover {
  background: #253a61;
}

.select-wrapper .select-options li.active {
  background: #1f3660;
}

.top-search {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #2f3741;
  margin-bottom: 32px;
}

.top-search span.label {
  font-weight: 500;
  margin-right: 10px;
  flex-shrink: 0;
}

.top-search span.label:not(:first-of-type) {
  margin-left: 32px;
}

.top-search .btn-submit {
  margin-left: auto;
  flex-shrink: 0;
}

.drawing-area {
  position: relative;
  background-color: #1a1d22;
  border: 2px solid #4b5362;
  overflow: hidden;
  flex-grow: 1;
}

.drawing-area .bg img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.drawing-area .badge-cctv::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  background: var(--red) url(/img/icon_minus_sm-642f878d97b79a9c28af58ac0ce722d7.svg) no-repeat center/20px;
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(calc(-50% + 24px));
}

.drawing-area .no-drawing {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.no-drawing {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.no-drawing button {
  border: 1px solid #4b5362;
  background: rgba(55, 83, 118, 0.3) url(/img/no_addimg-e1a9520419bb934a48854aca3dd5c39c.png) no-repeat center;
  font-size: 0;
  width: 314px;
  height: 250px;
}

.toggle-area {
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-accident {
  width: 108px;
  height: 108px;
  border-radius: 108px;
  background-color: #f02a2a;
  color: var(--textColorMain);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 0 0 15px rgba(240, 42, 42, 0.45);
}

.badge-accident p {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.input-alert {
  margin-top: 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-alert::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--red);
  -webkit-mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
  mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.login-layout {
  width: 100%;
  height: 100%;
  min-height: 800px;
  background: url(/img/login_bg-0f8de1b4ffe79dd049c479cace6564e5.png) no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.login-layout .logo {
  width: 130px;
  aspect-ratio: 130/64;
  background: url(/img/logo-bcfe4072c0ebad1c6cf6c04becab856f.png) no-repeat center/contain;
  font-size: 0;
  margin: 0 auto 48px auto;
}

.login-layout form {
  display: contents;
}

.login-layout fieldset {
  width: 576px;
  padding: 60px 108px;
  border-radius: 24px;
  background-color: #2f3741;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.login-layout fieldset p {
  font-size: 15px;
}

.login-layout fieldset p.label:not(:first-of-type) {
  margin-top: 32px;
}

.login-layout fieldset .input-wrapper {
  width: 100%;
}

.login-layout fieldset input:not([type=checkbox], [type=radio], [type=submit]) {
  height: 48px;
  line-height: 46px;
  font-size: 16px;
}

.login-layout fieldset label.check {
  margin-top: 32px;
  margin-bottom: 8px;
}

.login-layout fieldset button.full {
  height: 54px;
  font-size: 18px;
}

.login-layout fieldset .links {
  margin-top: 32px;
  display: flex;
  padding: 0 16px;
  gap: 12px;
}

.login-layout fieldset .links a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-layout fieldset .links a:nth-of-type(2)::before {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #7d848d;
}

.login-layout fieldset .links a.btn-signup {
  margin-left: auto;
  color: #00b2ff;
}

.login-layout .text-area {
  text-align: center;
}

.login-layout .text-area h2 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}

.login-layout .text-area h2 strong {
  font-weight: 700;
  color: #00b2ff;
  font-size: 32px;
}

.login-layout .text-area p {
  color: var(--textColorMain);
  margin-top: 16px;
}

.realtime-layout .p-header .total {
  margin-left: auto;
}

.realtime-layout .list {
  display: flex;
  gap: 24px 32px;
  flex-wrap: wrap;
}

.realtime-layout .cctv-viewer {
  flex: 0 0 calc((100% - 32px) / 2);
}

.realtime-layout .player-area {
  aspect-ratio: 744/389;
}

.img-upload-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.img-upload-area .upload-area {
  background-color: rgba(57, 66, 83, 0.25);
  border: 1px dashed #4b5362;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 205px;
}

.img-upload-area .upload-area:hover {
  border-color: var(--blue);
}

.img-upload-area .upload-area button {
  font-size: 0;
  width: 160px;
  height: 160px;
  background: url(/img/no_addimg-e1a9520419bb934a48854aca3dd5c39c.png) no-repeat center/contain;
}

.img-upload-area .list-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.img-upload-area .list-area .item {
  position: relative;
  width: 128px;
  aspect-ratio: 128/92;
  border-radius: 2px;
  background-color: rgba(55, 83, 118, 0.3);
  border: 1px solid #4b5362;
}

.img-upload-area .list-area .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

.img-upload-area .list-area .item .btn-delete {
  position: absolute;
  top: 6px;
  right: 6px;
}

.progress-container {
  position: relative;
  width: 100%;
  height: 22px;
  display: flex;
  align-items: center;
}

.progress-container .track {
  position: relative;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid #141719;
  border-radius: 10px;
  height: 8px;
}

.progress-container .fill {
  background-image: linear-gradient(to bottom, #2c70d4, #23549c);
  height: calc(100% + 2px);
  width: 50%;
  position: absolute;
  left: -1px;
  top: -1px;
  border-radius: 10px 0 0 10px;
}

.progress-container .thumb {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #1a1e21;
  border: 5px solid var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.progress-container input {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0 !important;
  top: 0;
  padding: 0 !important;
}

.event-setting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 368px);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
}

.event-setting-layout .btn-area {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 8;
  width: 118px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(7, 12, 22, 0.68);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: none;
  grid-template-columns: 78px 24px;
  gap: 4px;
  align-items: start;
}

.event-setting-layout .btn-area.is-active {
  display: grid;
}

.event-setting-layout .btn-area button {
  position: relative;
  border-radius: 8px;
  background-color: rgba(47, 63, 86, 0.78);
  color: var(--textColorMain);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  transition: background-color 0.14s, border-color 0.14s, color 0.14s, transform 0.14s;
}

.event-setting-layout .btn-area button:hover {
  border-color: rgba(96, 165, 250, 0.56);
  background-color: rgba(37, 99, 235, 0.78);
}

.event-setting-layout .btn-area button:active {
  transform: scale(0.94);
}

.event-setting-layout .btn-area button:disabled {
  opacity: 0.42;
  pointer-events: none;
}

.event-setting-layout .btn-area button:disabled::after {
  opacity: 0.55;
}

.event-setting-layout .btn-area button::after {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.event-setting-layout .btn-area .ptz-direction-pad {
  width: 78px;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(3, 26px);
  grid-template-rows: repeat(3, 26px);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.event-setting-layout .btn-area .ptz-direction-pad button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.event-setting-layout .btn-area .ptz-direction-pad button:hover {
  background: rgba(59, 130, 246, 0.34);
}

.event-setting-layout .btn-area .ptz-dir::after {
  -webkit-mask-image: url(/img/ptz_arrow-763f94a3e7591571bdc14f893e65abaa.svg);
  mask-image: url(/img/ptz_arrow-763f94a3e7591571bdc14f893e65abaa.svg);
}

.event-setting-layout .btn-area .ptz-up {
  grid-column: 2;
  grid-row: 1;
}

.event-setting-layout .btn-area .ptz-up::after {
  transform: rotate(-90deg);
}

.event-setting-layout .btn-area .ptz-left {
  grid-column: 1;
  grid-row: 2;
}

.event-setting-layout .btn-area .ptz-left::after {
  transform: rotate(180deg);
}

.event-setting-layout .btn-area .ptz-right {
  grid-column: 3;
  grid-row: 2;
}

.event-setting-layout .btn-area .ptz-down {
  grid-column: 2;
  grid-row: 3;
}

.event-setting-layout .btn-area .ptz-down::after {
  transform: rotate(90deg);
}

.event-setting-layout .btn-area .ptz-home {
  grid-column: 2;
  grid-row: 2;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: rgba(37, 54, 76, 0.92);
  color: rgba(241, 245, 249, 0.94);
}

.event-setting-layout .btn-area .ptz-home::after {
  width: 16px;
  height: 16px;
  -webkit-mask-image: url(/img/icon_home-28fad71b466e494248bf961f4a6ad6f0.svg);
  mask-image: url(/img/icon_home-28fad71b466e494248bf961f4a6ad6f0.svg);
}

.event-setting-layout .btn-area .ptz-zoom-rail {
  width: 24px;
  display: grid;
  grid-template-rows: repeat(3, 24px);
  gap: 3px;
}

.event-setting-layout .btn-area .ptz-zoom-rail button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.event-setting-layout .btn-area .ptz-zoom-in::after {
  -webkit-mask-image: url(/img/icon_plus_sm-b53d550b93b7d04f224afaa57be66195.svg);
  mask-image: url(/img/icon_plus_sm-b53d550b93b7d04f224afaa57be66195.svg);
}

.event-setting-layout .btn-area .ptz-zoom-out::after {
  -webkit-mask-image: url(/img/icon_minus_sm-642f878d97b79a9c28af58ac0ce722d7.svg);
  mask-image: url(/img/icon_minus_sm-642f878d97b79a9c28af58ac0ce722d7.svg);
}

.event-setting-layout .btn-area .ptz-preset-save::after {
  width: 15px;
  height: 15px;
  -webkit-mask-image: url(/img/icon_ok_circle-2e72667d06d8960579e32ba057913a8c.svg);
  mask-image: url(/img/icon_ok_circle-2e72667d06d8960579e32ba057913a8c.svg);
}

.event-setting-layout .con-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow: hidden;
}

.event-setting-layout .con-area .scene {
  width: 100%;
  height: clamp(360px, 42vh, 440px);
  border: 1px solid #45536a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.event-setting-layout .con-area .scene .stream-layer {
  position: absolute;
  inset: 0;
  background: #0b1118;
}

.event-setting-layout .con-area .scene iframe,
.event-setting-layout .con-area .scene video,
.event-setting-layout .con-area .scene .stream-placeholder,
.event-setting-layout .con-area .scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-setting-layout .con-area .scene iframe {
  border: 0;
  display: none;
}

.event-setting-layout .con-area .scene video {
  object-fit: contain;
  object-position: center center;
}

.event-setting-layout .con-area .scene .stream-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(239, 239, 239, 0.72);
  background: #0b1118;
  font-size: 0.9375em;
  text-align: center;
}

.event-setting-layout .con-area .scene canvas {
  z-index: 5;
  cursor: default;
}

.event-setting-layout .con-area .scene canvas.drawing {
  cursor: crosshair;
}

.event-setting-layout .con-area .scene label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #ff2d55;
  background-color: #1a1d22;
  font-size: 0.9375em;
}

.event-setting-layout .con-area .rows {
  display: flex;
  gap: 24px;
  flex: 0 0 227px;
}

.event-setting-layout .con-area .rows .events {
  flex: 0 0 110px;
  background-color: rgba(55, 83, 118, 0.3);
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9375em;
}

.event-setting-layout .con-area .rows .events h3 {
  line-height: 1;
  padding-bottom: 8px;
  font-weight: 500;
}

.event-setting-layout .con-area .rows .events .labels {
  padding-top: 10px;
  border-top: 1px solid #4b5362;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.event-setting-layout .con-area .table-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-setting-layout .con-area .table-area .tbl-top {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.event-setting-layout .con-area .table-area .tbl-top .btns {
  margin-left: 0;
  display: flex;
  gap: 8px;
}

.event-setting-layout .con-area .table-area .tbl-top .btns:last-child {
  margin-left: auto;
}

.event-setting-layout .con-area .table-area .tbl-top .ibtn {
  height: 42px;
  min-width: 108px;
  border-radius: 4px;
  font-size: var(--tBasic);
}

.event-setting-layout .con-area .table-area tr.active td {
  background-color: rgba(0, 181, 255, 0.18);
}

.event-setting-layout .con-area .table-area tr.empty td {
  text-align: center;
  color: rgba(239, 239, 239, 0.6);
}

.event-setting-layout .con-area .table-area .event-zone-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.event-setting-layout .con-area .table-area .event-zone-table th,
.event-setting-layout .con-area .table-area .event-zone-table td {
  box-sizing: border-box;
  height: 38px;
  padding: 6px 10px;
  text-align: center;
  vertical-align: middle;
}

.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(1),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(1) {
  width: 68px;
  padding-left: 0;
  padding-right: 0;
}

.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(2),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(2) {
  width: 124px;
}

.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(3),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(3) {
  width: 150px;
}

.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(4),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(4) {
  width: 74px;
}

.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(5),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(5) {
  width: 220px;
}

.event-setting-layout .con-area .table-area .event-zone-table input[type=checkbox]:not(.row-enabled-toggle) {
  display: block;
  margin: 0 auto;
}

.event-enable-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  cursor: pointer;
  vertical-align: middle;
}

.event-enable-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.event-enable-slider {
  position: relative;
  display: block;
  width: 42px;
  height: 22px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  background: #3f4f63;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.event-enable-slider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
  transition: transform 0.16s ease;
}

.event-enable-switch input:checked + .event-enable-slider {
  border-color: rgba(40, 103, 223, 0.7);
  background: linear-gradient(180deg, #2867df, #1d4ec4);
}

.event-enable-switch input:checked + .event-enable-slider::after {
  transform: translateX(20px);
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-cell {
  cursor: pointer;
  position: relative;
  min-height: 38px;
  text-align: center;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-cell-empty {
  min-width: 82px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(239, 239, 239, 0.24);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(239, 239, 239, 0.76);
  font-size: 0.875em;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin: 2px 4px 2px 0;
  overflow: hidden;
  border: 1px solid rgba(0, 181, 255, 0.56);
  border-radius: 4px;
  background: rgba(0, 181, 255, 0.14);
  color: #fff;
  vertical-align: middle;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-chip.active {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.18);
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-label {
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.875em;
  line-height: 1;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-label {
  padding: 0 10px;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-picker {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: min(220px, 100%);
  margin-top: 6px;
  margin-right: auto;
  margin-left: auto;
  padding: 6px;
  border: 1px solid rgba(110, 126, 146, 0.42);
  border-radius: 4px;
  background: #1f2730;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-picker.empty {
  color: rgba(239, 239, 239, 0.64);
  font-size: 0.875em;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-picker-option {
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(110, 126, 146, 0.32);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 0.875em;
  text-align: left;
}

.event-setting-layout .con-area .table-area .event-zone-table .zone-picker-option.selected {
  border-color: rgba(250, 204, 21, 0.72);
  background: rgba(250, 204, 21, 0.16);
}

.event-setting-card {
  border: 1px solid rgba(76, 91, 114, 0.5);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 32px rgba(0, 0, 0, 0.18);
}

.event-setting-main-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px 14px;
  background: rgba(16, 24, 38, 0.72);
}

.event-setting-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 34px;
}

.event-setting-titlebar h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.camera-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fb0c9;
  font-size: 0.875em;
}

.camera-live-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(239, 239, 239, 0.28);
}

.camera-live-status.is-online::before {
  border-color: transparent;
  background: #5ddd72;
}

.event-area-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.event-area-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 112px;
  height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  color: #d9e4f5;
  font-weight: 600;
}

.area-draw-tools button {
  min-width: 124px;
  height: 42px;
  padding: 0 18px;
  border-radius: 0;
  background: rgba(10, 15, 24, 0.96);
  color: #f5f7fb;
  font-size: 17px;
}

.area-draw-tools button+button {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.event-area-toolbar .area-tool-toggle {
  min-width: 124px;
  background: #3f4f63;
}

.event-area-toolbar .area-tool-toggle[aria-expanded=true],
.event-area-toolbar .area-tool-toggle:hover:not(:disabled) {
  background: linear-gradient(180deg, #1f58b7, #194080);
}

.event-area-toolbar .area-draw-tools button.active {
  background: linear-gradient(180deg, #1b3470, #132a5d);
}

.event-area-toolbar .area-draw-tools button:hover:not(:disabled) {
  background: linear-gradient(180deg, #22375e, #172742);
}

.event-area-toolbar .area-draw-tools button.active:hover:not(:disabled) {
  background: linear-gradient(180deg, #1b3470, #132a5d);
}

.area-draw-tools {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  border: 1px solid rgba(70, 86, 112, 0.46);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.92);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(-12px);
  transition: max-width 0.2s ease, opacity 0.16s ease, transform 0.2s ease;
  pointer-events: none;
}

.event-area-toolbar.is-open .area-draw-tools {
  max-width: 280px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.area-draw-tools i {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.shape-rect-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cfilter id='rectDashGlow' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='.55' result='blur'/%3E%3CfeMerge%3E%3CfeMergeNode in='blur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3Cfilter id='rectGlow' x='-40%25' y='-40%25' width='180%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.15' result='blur'/%3E%3CfeMerge%3E%3CfeMergeNode in='blur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke='%236fcaff' stroke-width='1.35' stroke-linecap='round' filter='url(%23rectDashGlow)'%3E%3Cpath d='M9 5h1.8M14.3 5H15M19 9v1.8M19 14.3V15M15 19h-1.8M9.7 19H9M5 15v-1.8M5 9.7V9'/%3E%3C/g%3E%3Cg fill='%236fcaff' filter='url(%23rectGlow)'%3E%3Ccircle cx='5' cy='5' r='2.35'/%3E%3Ccircle cx='19' cy='5' r='2.35'/%3E%3Ccircle cx='19' cy='19' r='2.35'/%3E%3Ccircle cx='5' cy='19' r='2.35'/%3E%3C/g%3E%3C/svg%3E");
}

.shape-polygon-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 15.8 4.8 8.4l7-4.1 6.8 3.8-2 7.9-7.2 3.4z' fill='none' stroke='%23f5f7fb' stroke-width='2.1' stroke-linejoin='round'/%3E%3Ccircle cx='4.8' cy='8.4' r='1.4' fill='%23f5f7fb'/%3E%3Ccircle cx='11.8' cy='4.3' r='1.4' fill='%23f5f7fb'/%3E%3Ccircle cx='18.6' cy='8.1' r='1.4' fill='%23f5f7fb'/%3E%3Ccircle cx='16.6' cy='16' r='1.4' fill='%23f5f7fb'/%3E%3Ccircle cx='9.4' cy='19.4' r='1.4' fill='%23f5f7fb'/%3E%3C/svg%3E");
}

.event-area-toolbar button:disabled {
  color: rgba(217, 228, 245, 0.46);
  cursor: not-allowed;
}

.registered-events {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(76, 91, 114, 0.5);
  border-radius: 5px;
  background: rgba(11, 19, 31, 0.66);
}

.registered-events>header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(76, 91, 114, 0.5);
}

.registered-events>header h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.registered-events .info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #8090aa;
  color: #111a27;
  font-size: 11px;
  font-weight: 800;
}

.event-setting-layout .con-area .table-area,
.registered-events .table-scroll {
  min-height: 0;
  overflow: auto;
}

.registered-events .table-scroll {
  padding: 0 10px 10px;
  border: 0;
  background: transparent;
}

.registered-events .event-zone-table col:nth-child(1) {
  width: 68px;
}

.registered-events .event-zone-table col:nth-child(2) {
  width: 190px;
}

.registered-events .event-zone-table col:nth-child(3) {
  width: 160px;
}

.registered-events .event-zone-table col:nth-child(4) {
  width: 112px;
}

.registered-events .event-zone-table col:nth-child(5) {
  width: 104px;
}

.registered-events .event-zone-table col:nth-child(6) {
  width: 132px;
}

.registered-events .event-zone-table col:nth-child(7) {
  width: 76px;
}

.event-setting-layout .con-area .table-area .event-zone-table th,
.event-setting-layout .con-area .table-area .event-zone-table td,
.registered-events .event-zone-table th,
.registered-events .event-zone-table td {
  height: 44px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(76, 91, 114, 0.34);
}

.registered-events .event-zone-table th {
  color: #d8e4f6;
  background: rgba(29, 41, 60, 0.78);
  font-weight: 700;
}

.registered-events .event-zone-table thead th {
  height: 40px;
  background: rgba(31, 42, 60, 0.72);
}

.registered-events .event-zone-table td {
  color: #d7e1ee;
}

.registered-events .event-zone-table tbody tr.active {
  box-shadow: none;
}

.registered-events .event-zone-table tbody tr.active td {
  padding: 8px 12px;
  border-top: 1px solid rgba(84, 141, 245, 0.46) !important;
  border-bottom: 1px solid rgba(84, 141, 245, 0.46) !important;
  background: rgba(40, 103, 223, 0.2);
}

.registered-events .event-zone-table tbody tr.active td:first-child {
  border-left: 0;
  box-shadow: inset 3px 0 0 #3b82f6;
}

.registered-events .event-zone-table tbody tr.active td:last-child {
  border-right: 0;
}

.registered-events .table-scroll tr:not(.active):hover td {
  background-color: rgba(48, 72, 104, 0.42);
}

.registered-events .event-zone-table td.event-type-cell {
  text-align: left;
}

.event-type-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  vertical-align: middle;
  white-space: normal;
}

.event-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.event-status-badge.is-ready {
  border: 1px solid rgba(65, 201, 112, 0.34);
  background: rgba(37, 128, 70, 0.34);
  color: #75e48c;
}

.analysis-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

.analysis-status-badge.is-analyzing {
  border: 1px solid rgba(65, 201, 112, 0.34);
  background: rgba(37, 128, 70, 0.34);
  color: #75e48c;
}

.rules-capability-note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #ffc16b;
}

.analysis-status-badge.is-not-analyzing {
  border: 1px solid rgba(240, 160, 60, 0.42);
  background: rgba(133, 80, 22, 0.42);
  color: #ffc16b;
}

.analysis-status-badge.is-analyzing.is-degraded {
  border-color: rgba(214, 196, 70, 0.45);
  background: rgba(98, 104, 30, 0.42);
  color: #e6dd7a;
}

.analysis-status-badge.is-stopped {
  border: 1px solid rgba(240, 90, 90, 0.42);
  background: rgba(128, 36, 36, 0.42);
  color: #ff9a9a;
}

.analysis-status-badge.is-unknown {
  border: 1px solid rgba(160, 170, 185, 0.4);
  background: rgba(70, 78, 92, 0.42);
  color: #c4ccd8;
}

.event-status-badge.is-applied {
  border: 1px solid rgba(42, 126, 229, 0.42);
  background: rgba(22, 67, 133, 0.42);
  color: #4da3ff;
}

.table-action {
  height: 24px;
  min-width: 42px;
  margin: 0 2px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
}

.table-action.delete {
  background: #853041;
}

.event-setting-detail-panel {
  flex: 0 0 368px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  margin-top: 0;
  padding: 14px 16px;
  background: rgba(16, 24, 38, 0.72);
  overflow-y: auto;
}

.event-setting-detail-panel header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(76, 91, 114, 0.5);
}

.event-setting-detail-panel header h3 {
  flex: 1;
  font-size: 1.125em;
  font-weight: 600;
}

.event-setting-detail-panel header .ibtn {
  min-width: 86px;
  height: 34px;
}

.event-setting-detail-panel section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(110, 126, 146, 0.24);
}

.event-setting-detail-panel section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.event-setting-detail-panel h4 {
  color: rgba(239, 239, 239, 0.78);
  font-size: 0.9375em;
  font-weight: 600;
  line-height: 1.2;
}

.event-setting-detail-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(239, 239, 239, 0.68);
  font-size: 0.9375em;
}

.event-setting-detail-panel label:not(.detail-field)>span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.event-setting-detail-panel .detail-field {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-height: 34px;
  color: rgba(239, 239, 239, 0.68);
  font-size: 0.9375em;
}

.event-setting-detail-panel .detail-field>span:first-child {
  display: flex;
  align-items: center;
  min-width: 0;
}

.event-setting-detail-panel select,
.event-setting-detail-panel input[type=range] {
  width: 100%;
}

.event-setting-detail-panel select {
  height: 34px;
  padding: 0 10px;
  padding-right: 32px;
  border: 1px solid #3f4f63;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(45deg, transparent 50%, #cbd5e1 50%), linear-gradient(135deg, #cbd5e1 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color: var(--textColorMain);
  -webkit-appearance: none;
  appearance: none;
}

.detail-schedule-select {
  padding-left: 38px;
  background-image: url(/img/icon_clock-825233c2a4109c6adc71498ac582e6cb.svg), linear-gradient(45deg, transparent 50%, #cbd5e1 50%), linear-gradient(135deg, #cbd5e1 50%, transparent 50%);
  background-position: 12px 50%, calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 18px 18px, 6px 6px, 6px 6px;
}

.event-setting-detail-panel input[type=range] {
  --range-percent: 70%;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.event-setting-detail-panel input[type=range]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2867df 0%, #2867df var(--range-percent), #586171 var(--range-percent), #586171 100%);
}

.event-setting-detail-panel input[type=range]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #9fc4ff;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.42);
  -webkit-appearance: none;
  appearance: none;
}

.event-setting-detail-panel input[type=range]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #586171;
}

.event-setting-detail-panel input[type=range]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #2867df;
}

.event-setting-detail-panel input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #9fc4ff;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.42);
}

.detail-help-text {
  color: rgba(216, 226, 242, 0.62);
  font-size: 0.8125em;
}

.event-setting-permission-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 8px;
  background: rgba(120, 76, 8, 0.2);
  color: #f8e7b0;
  font-size: 0.875em;
  line-height: 1.5;
}

.event-setting-permission-notice[hidden] {
  display: none;
}

.event-setting-permission-notice strong {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  font-size: 0.8125em;
}

.setting-range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.detail-field-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.change-indicator i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ddd72;
}

.event-setting-detail-panel output {
  color: #facc15;
  text-align: right;
}

.event-setting-detail-panel .setting-switch-row,
.event-setting-detail-panel .setting-check-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.event-setting-detail-panel .setting-check-row {
  justify-content: flex-start;
}

.event-setting-detail-panel .ibtn.primary {
  width: 100%;
  height: 34px;
}

.event-add-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#btnAddEvent {
  height: 34px;
  margin-top: 0;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: none;
  font-weight: 700;
}

.event-setting-actionbar {
  position: static;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(76, 91, 114, 0.5);
  border-radius: 8px;
  background: rgba(16, 24, 38, 0.72);
}

.event-setting-actionbar .ibtn {
  min-width: 150px;
  height: 42px;
  border-radius: 6px;
}

.event-setting-actionbar .primary {
  min-width: 172px;
  background: #3f4f63;
}

.event-setting-actionbar.is-dirty .ibtn.primary,
.event-setting-actionbar .ibtn.is-save-needed {
  background: linear-gradient(180deg, #2867df, #1d4ec4);
  color: #fafaf8;
}

.event-setting-actionbar:not(.is-dirty) .change-indicator {
  display: none;
}

.change-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  background: rgba(8, 15, 26, 0.78);
  color: #fbbf24;
  font-size: 0.875em;
  font-weight: 700;
}

label.accident {
  display: inline-flex;
  height: 28px;
  border-radius: 28px;
  align-items: center;
  padding: 0 12px;
  font-size: 0.9375em;
  gap: 6px;
  border: 1px solid #4b5362;
  background-color: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

label.accident input {
  display: none;
}

label.accident::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #7d848d;
  -webkit-mask-image: url(/img/icon_ok-26ab6751eac9421ef021f2029edc032e.svg);
  mask-image: url(/img/icon_ok-26ab6751eac9421ef021f2029edc032e.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

label.accident:has(input:checked) {
  border-color: transparent;
  font-weight: 500;
}

label.accident:has(input:checked)::before {
  background-color: var(--textColorMain);
}

label.accident.accident01:has(input:checked) {
  background-color: var(--accidentColor01);
}

label.accident.accident02:has(input:checked) {
  background-color: var(--accidentColor02);
}

label.accident.accident03:has(input:checked) {
  background-color: var(--accidentColor03);
}

label.accident.accident04:has(input:checked) {
  background-color: var(--accidentColor04);
}

label.accident.accident05:has(input:checked) {
  background-color: var(--accidentColor05);
}

label.accident.accident06:has(input:checked) {
  background-color: var(--accidentColor06);
}

label.accident.accident07:has(input:checked) {
  background-color: var(--accidentColor07);
}

.error-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.error-layout h2 {
  line-height: 1;
  font-size: 48px;
  color: var(--orange);
  padding-top: 152px;
  background: url(/img/img_error-22010be06bd2e631830d163a181497a4.png) no-repeat center top/180px;
}

.error-layout h3 {
  line-height: 1;
  font-size: 18px;
  color: var(--orange);
}

.error-layout p {
  line-height: 1.5;
  color: var(--textColorMain);
  text-align: center;
}

/***** Modal *****/
.pop-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 90;
  background: rgba(0, 0, 0, 0);
}

.pop-layer {
  width: 380px;
  background: #2f3741;
  border-radius: 8px;
  border: 1px solid #141719;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  z-index: 10;
  max-height: calc(100% - 150px);
  overflow: hidden;
}

.pop-layer .btm-btn-area {
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #4b5362;
}

.pop-layer .btm-btn-area .ibtn {
  --btnHeight: 42px;
  --btnRadius: 4px;
  min-width: 200px;
  font-size: 16px;
}

.pop-header {
  position: relative;
  background-color: #262b36;
  padding: 12px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pop-header h2 {
  font-size: 18px;
  color: #eaeef0;
}

.pop-header .btn-close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(/img/icon_close-66b94d88ecb34c4f91ae0476bec3e7d3.svg) no-repeat center;
}

.pop-con {
  padding: 20px 16px 30px 16px;
  overflow: auto;
}

.pop-addr .pop-layer {
  width: 480px;
}

.pop-addr .pop-layer .result-area {
  margin-top: 24px;
}

.pop-addr .pop-layer .total {
  margin-bottom: 8px;
}

.pop-addr .pop-layer .scroll-area {
  height: 360px;
}

.pop-addr .pop-layer ul {
  display: flex;
  flex-direction: column;
}

.pop-addr .pop-layer li {
  padding: 12px 8px;
  display: grid;
  gap: 12px 24px;
  cursor: pointer;
  line-height: 1.2;
}

.pop-addr .pop-layer li:not(:first-of-type) {
  border-top: 1px solid rgba(110, 126, 146, 0.2);
}

.pop-addr .pop-layer li:hover {
  background-color: rgba(30, 124, 172, 0.5);
}

.pop-addr .pop-layer li .txt01 {
  grid-area: 1/1/2/2;
  color: var(--textColorMain);
  font-weight: 500;
}

.pop-addr .pop-layer li .txt02 {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-area: 2/1/3/2;
  font-size: 15px;
}

.pop-addr .pop-layer li .txt02 i {
  width: 39px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  background-color: #3f4f63;
  font-weight: 500;
}

.pop-addr .pop-layer li .txt03 {
  grid-area: 1/2/3/3;
  color: #4fd4ee;
  font-weight: 500;
  text-align: right;
}

.pop-regist-cctv .pop-layer {
  width: 780px;
}

.pop-event-accident {
  background-color: rgba(31, 0, 0, 0.6);
}

.pop-event-accident .pop-layer {
  width: 780px;
}

.pop-event-accident .pop-header {
  background-color: #570000;
  border-bottom: 1px solid #141719;
  justify-content: flex-start;
}

.pop-event-accident .pop-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pop-event-accident .pop-header h2::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--orange);
  -webkit-mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
  mask-image: url(/img/icon_warnning-82edfbd59c1a2584b850761b2ea440ea.svg);
}

.pop-event-accident .pop-con {
  display: grid;
  gap: 10px 24px;
  grid-template-columns: 312px 1fr;
  padding-bottom: 20px;
}

.pop-event-accident .pop-con .img {
  grid-area: 1/1/2/2;
  width: 100%;
  aspect-ratio: 312/216;
  border: 1px solid #7d848d;
}

.pop-event-accident .pop-con .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0;
}

.pop-event-accident .pop-con .con {
  grid-area: 1/2/2/3;
  display: grid;
  grid-template-columns: 263px 1fr;
}

.pop-event-accident .pop-con .con dl {
  grid-area: 1/1/2/2;
  display: grid;
  grid-template-columns: max-content 1fr;
}

.pop-event-accident .pop-con .con dt,
.pop-event-accident .pop-con .con dd {
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  display: flex;
  align-items: center;
  height: 42px;
}

.pop-event-accident .pop-con .con dt {
  padding-left: 8px;
  padding-right: 12px;
  font-weight: 400;
  color: #d8e1e6;
}

.pop-event-accident .pop-con .con dd {
  color: var(--textColorMain);
  font-weight: 500;
}

.pop-event-accident .pop-con .con .badge-area {
  display: flex;
  grid-area: 1/2/2/3;
  justify-content: flex-end;
  padding-right: 15px;
  align-items: center;
}

.pop-event-accident .pop-con .con .rows {
  border-top: 2px solid #4b5362;
  grid-area: 2/1/3/3;
  padding: 12px 0;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.pop-event-accident .pop-con .con .rows label.check {
  margin-left: auto;
}

.pop-event-accident .pop-con .action {
  grid-area: 2/1/3/3;
}

.pop-event-accident .pop-con .action h3 {
  font-weight: 400;
  line-height: 1;
  margin: 8px 0;
}

.pop-event-accident .pop-con .action .input-wrapper {
  width: 100%;
}

.pop-event-accident .pop-con .action .ibtn {
  min-width: 80px;
}

/* 메인 미니뷰어 (c89cadb 보존) */
.main-slide .swiper-slide .thumb-stream {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.main-slide .swiper-slide .thumb-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
}

.main-slide .swiper-slide .thumb-placeholder span {
  color: #475569;
  font-size: 10px;
}

/* Datepicker fallback arrows when the jQuery UI icon sprite is unavailable. */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  background-image: none !important;
  overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev span::before,
.ui-datepicker .ui-datepicker-next span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2f3a48;
  border-right: 2px solid #2f3a48;
}

.ui-datepicker .ui-datepicker-prev span::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.ui-datepicker .ui-datepicker-next span::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

/* Edge/IE 네이티브 비밀번호 표시·지우기 아이콘 숨김 — 커스텀 토글과 중복(눈 2개) 방지 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* Event detection weekly schedule */
.event-setting-layout .event-type-cell {
    vertical-align: middle;
}

.event-setting-layout .event-schedule-compact {
    display: block;
    max-width: 170px;
    margin-top: 3px;
    overflow: hidden;
    color: rgba(196, 211, 230, 0.78);
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-setting-detail-panel .schedule-toggle-row {
    margin-bottom: 10px;
}

.event-setting-detail-panel .detail-schedule-summary {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(108, 127, 153, 0.45);
    border-radius: 8px;
    background: rgba(13, 22, 35, 0.62);
}

.event-setting-detail-panel .detail-schedule-summary strong {
    min-width: 0;
    overflow: hidden;
    color: #dbe7f7;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-setting-detail-panel #btnOpenEventSchedule {
    min-width: 76px;
    min-height: 30px;
    flex: 0 0 auto;
}

.event-setting-detail-panel #btnOpenEventSchedule[hidden],
.event-schedule-modal[hidden] {
    display: none;
}

body.event-schedule-open {
    overflow: hidden;
}

.event-schedule-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: grid;
    place-items: center;
    padding: 16px;
}

.event-schedule-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(2, 8, 18, 0.72);
    cursor: default;
}

.event-schedule-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 1px solid rgba(103, 126, 157, 0.55);
    border-radius: 14px;
    background: #111c2b;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    color: #e7eef8;
}

.event-schedule-header,
.event-schedule-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.event-schedule-header {
    border-bottom: 1px solid rgba(103, 126, 157, 0.28);
}

.event-schedule-header h3,
.event-schedule-body h4 {
    margin: 0;
}

.event-schedule-header h3 {
    font-size: 17px;
}

.event-schedule-header p {
    margin: 4px 0 0;
    color: rgba(203, 216, 234, 0.72);
    font-size: 12px;
}

.event-schedule-close,
.schedule-time-remove {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(114, 135, 163, 0.42);
    border-radius: 7px;
    background: rgba(24, 38, 56, 0.78);
    color: #dce8f7;
    cursor: pointer;
}

.event-schedule-close {
    width: 34px;
    height: 34px;
    font-size: 20px;
}

.event-schedule-body {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.event-schedule-body > section {
    display: grid;
    gap: 9px;
}

.event-schedule-body h4 {
    color: #d6e2f2;
    font-size: 13px;
}

.schedule-preset-list,
.schedule-day-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.schedule-preset,
.schedule-day-chip {
    border: 1px solid rgba(112, 134, 163, 0.48);
    background: rgba(17, 29, 45, 0.86);
    color: #cbd8e9;
    cursor: pointer;
}

.schedule-preset {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 17px;
}

.schedule-day-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.schedule-preset.is-active,
.schedule-day-chip.is-active {
    border-color: #4f8df7;
    background: #2766d0;
    color: #fff;
}

.schedule-preset:focus-visible,
.schedule-day-chip:focus-visible,
.event-schedule-close:focus-visible,
.schedule-time-remove:focus-visible {
    outline: 2px solid #80adff;
    outline-offset: 2px;
}

.schedule-time-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.schedule-time-list {
    display: grid;
    gap: 8px;
}

.schedule-time-empty {
    margin: 0;
    padding: 12px;
    border: 1px dashed rgba(93, 119, 154, 0.45);
    border-radius: 9px;
    color: rgba(199, 214, 232, 0.78);
    font-size: 12px;
    text-align: center;
}

.schedule-time-preset-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.schedule-time-preset {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(112, 134, 163, 0.48);
    border-radius: 7px;
    background: rgba(17, 29, 45, 0.86);
    color: #cbd8e9;
    font-size: 12px;
    cursor: pointer;
}

.schedule-time-preset.is-active {
    border-color: #4f8df7;
    background: rgba(39, 102, 208, 0.45);
    color: #fff;
}

.schedule-time-preset:focus-visible,
.schedule-time-picker select:focus-visible {
    outline: 2px solid #80adff;
    outline-offset: 2px;
}

.schedule-time-help {
    margin: 0;
    color: rgba(199, 214, 232, 0.68);
    font-size: 11px;
    line-height: 1.45;
}

.schedule-time-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 36px;
    align-items: end;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(93, 119, 154, 0.34);
    border-radius: 9px;
    background: rgba(6, 15, 27, 0.38);
}

.schedule-time-days {
    grid-column: 1 / -1;
    color: #8fc2ff;
    font-size: 12px;
}

.schedule-time-row.is-active {
    border-color: #4f8df7;
    background: rgba(39, 102, 208, 0.13);
    box-shadow: 0 0 0 1px rgba(79, 141, 247, 0.32);
}

.schedule-time-field {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.schedule-time-field-label {
    color: rgba(203, 216, 234, 0.7);
    font-size: 11px;
}

.schedule-time-row.is-overnight .schedule-time-end-label {
    color: #8fc2ff;
    font-weight: 700;
}

.schedule-time-picker {
    display: grid;
    grid-template-columns: minmax(112px, 1.35fr) minmax(64px, 0.65fr);
    gap: 5px;
    min-width: 0;
}

.schedule-time-picker select {
    min-width: 0;
    height: 38px;
    padding: 0 7px;
    border: 1px solid rgba(112, 134, 163, 0.48);
    border-radius: 7px;
    background: rgba(9, 18, 30, 0.9);
    color: #edf4ff;
    font-size: 12px;
    cursor: pointer;
}

.schedule-time-picker select:disabled {
    opacity: 0.55;
    cursor: default;
}

.schedule-time-remove {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.schedule-validation-message {
    min-height: 18px;
    margin: -5px 0 0;
    color: #ff8d8d;
    font-size: 12px;
}

.schedule-apply-all {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid rgba(92, 125, 169, 0.4);
    border-radius: 8px;
    background: rgba(28, 48, 74, 0.45);
    color: #dbe7f6;
    cursor: pointer;
}

.schedule-apply-all input {
    width: 16px;
    height: 16px;
}

.schedule-apply-help {
    margin: -12px 0 0 28px;
    color: rgba(199, 214, 232, 0.66);
    font-size: 11px;
}

.event-schedule-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(103, 126, 157, 0.28);
}

@media (max-width: 600px) {
    .event-schedule-modal {
        padding: 8px;
    }

    .event-schedule-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .schedule-time-row {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 8px 6px;
    }

    .schedule-time-row > .schedule-time-days {
        grid-column: 1 / -1;
    }

    .schedule-time-row > .schedule-time-field {
        grid-column: 1;
    }

    .schedule-time-row > .schedule-time-separator {
        display: none;
    }

    .schedule-time-row > .schedule-time-remove {
        grid-column: 2;
        grid-row: 2 / 4;
        align-self: center;
    }

    .schedule-time-picker {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
        gap: 4px;
    }

    .schedule-time-picker select {
        padding-inline: 3px;
    }
}

/* 관제 목록 실시간 NVR 채널 접속 상태 배지 — fnCctvSignalBadgeHtml(cctvWatchCommon.js) */
.cctv-signal { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 6px; border-radius: 9px; font-size: 11px; line-height: 16px; white-space: nowrap; vertical-align: middle; }
.cctv-signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cctv-signal.is-disconnected { color: #ff6b6b; background: rgba(255, 107, 107, .14); }
.cctv-signal.is-unknown { color: #9aa3ad; background: rgba(154, 163, 173, .16); }

/* 카메라 AI 분석 상태 — 신호 배지 옆(같은 자리 · 같은 60초 갱신) · 표시만 */
.cctv-analysis { display: inline-flex; align-items: center; margin-left: 4px; padding: 1px 6px; border-radius: 9px; font-size: 11px; line-height: 16px; white-space: nowrap; vertical-align: middle; }
.cctv-analysis.is-on { color: #75e48c; background: rgba(65, 201, 112, .14); }
.cctv-analysis.is-degraded { color: #e6dd7a; background: rgba(214, 196, 70, .16); }
.cctv-analysis.is-partial { color: #ffc16b; background: rgba(240, 160, 60, .16); }
.cctv-analysis.is-stopped { color: #ff9a9a; background: rgba(240, 90, 90, .16); }
.cctv-analysis.is-unknown, .cctv-analysis.is-off { color: #9aa3ad; background: rgba(154, 163, 173, .16); }

/* 실시간 NVR 신호 요약 · 그것만 보기 — 사용자가 켤 때만 신호 없는 줄만 남긴다(줄은 지우지 않고 숨긴다 — 재생 중 스트림 유지) */
.cctv-signal-summary { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 8px; padding: 3px 10px; border: 1px solid rgba(255, 107, 107, .5); border-radius: 12px; background: transparent; color: #ff6b6b; font-size: 12px; cursor: pointer; }
.cctv-signal-summary.on { background: rgba(255, 107, 107, .16); }
.cctv-signal-summary[hidden] { display: none; }
.cctv-signal-only [data-signal-row]:not([data-signal-state="DISCONNECTED"]) { display: none; }
/* AI 멈춤만 보기 — 신호 없음만 보기와 같이 켜면 두 규칙이 모두 걸려 교집합이 남는다 */
.cctv-ai-only [data-signal-row]:not([data-ai-stopped="Y"]) { display: none; }
.cctv-ai-summary { border-color: rgba(240, 90, 90, .5); color: #ff9a9a; }
.cctv-ai-summary.on { background: rgba(240, 90, 90, .16); }

/* ===== 라벨 글자 세로 가운데 (2026-09-30) =====
   NexonLv2Gothic 은 한글을 줄 상자 위쪽에 그려, 높이가 정해진 알약 · 배지에서 글자가 0.6~1.5px 떠 보인다.
   높이는 그대로 두고 위 · 아래 여백만 나눠 글자를 내린다(값은 실제 폰트로 잰 뒤 고른 정수 px — 반 픽셀은 화면 배율마다 달라진다).
   함께 든 점 · 버튼은 제자리로 되올린다. 원래 규칙보다 뒤에 둬야 같은 선택자를 이긴다. */
#header .user .notification dd { padding-top: 1px; padding-bottom: 0px; }
.event-status-badge { padding-top: 2px; padding-bottom: 0px; }
.analysis-status-badge { padding-top: 3px; padding-bottom: 2px; }
.cctv-signal { padding-top: 2px; padding-bottom: 0px; }
.cctv-signal::before { position: relative; top: -1px; }
.cctv-analysis { padding-top: 2px; padding-bottom: 0px; }
.cctv-signal-summary { padding-top: 4px; padding-bottom: 2px; }
