html {
	margin: 0;
	padding: 0;
	font-family: "verdana","Arial","Times","helvetica","calibri", "san serif";
	background: transparent;
	border-color: transparent;
	border-style: solid;
	border-width: 0px;
	overflow-x: hidden;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	f-ms-text-size-adjust: none;
}
.btest {
	display: flex;
    flex-direction: column;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
    display: grid;
	place-items: center;
	justify-content: center;
	align-items: center;
	background-color: #fef4ff;
	width: 100vw;
	text-align:center;
	vertical-align:middle;
	border:0 solid transparent;
	overflow-x: hidden;

    user-select: none;        /* 텍스트 선택 방지 (모든 최신 브라우저) */
    -webkit-user-select: none; /* Chrome, Safari */
    -moz-user-select: none;   /* Firefox */
    -ms-user-select: none;    /* Internet Explorer */
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
input, textarea {
	margin: 0;
	padding: 0;
	font-family: "verdana","Arial","Times","helvetica","calibri", "san serif";
	background: transparent;
	border-color: transparent;
}
textarea {
	resize:none;
}
img {
	object-fit:contain,scale-down;
	mix-blend-mode:multiply;
	filter:contrast(1);
}

td {
	text-align:center;
	vertical-align:top;
	border:0 solid transparent;
	-webkit-text-size-adjust:none;
	-moz-text-size-adjust:none;
	-ms-text-size-adjust:none;
}

a,
a:link,
a:visited,
a:hover {
	color:black;
	text-decoration:none;
}

input,select,textarea {
	width: 169px;
	padding: 10px;
	box-sizing: border-box;
    align-items: right;
    justify-content: center;
    vertical-align: middle;
	border-radius: 10px;
}
input:invalid,
select:invalid,
textarea:invalid {
	margin: 2px 0;
	border: 1px solid red;
	background-color: #ffe6e6;
}
input:valid,
select:valid,
textarea:valid {
	margin: 2px 0;
	border: 1px solid green;
	background-color: #e6ffe6;
}
input[type="radio"] {
	width: auto;
	margin: 5px;
	accent-color: blue;
}

.btncontainer {
	padding-top: 4px;
	height: 50px;
    display: inline;
}
.GL {
	background-color: rgb(215, 215, 215);
}
.PL {
	background-color: rgb(255, 139, 253);
}
.WC {
	background-color: rgb(255, 255, 255);
}
.BR {
	background-color: rgb(58, 120, 255);
}
.RR {
	background-color: rgb(255, 91, 91);
}
button {
	min-width: 75px;
	height: 40px;
	background-color: rgb(241, 229, 112);
	color: black;
	border: none;
	border-radius: 15px;
	box-shadow: 0 4px #999, inset 0 0 10px rgba(0, 0, 0, 0.5);
	font-size: 0.6em;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 1px;
	padding: 0 3px;
	margin-bottom: 6px;
    text-align: center;
    user-select: auto;
    pointer-events: auto;
}
button:hover {
	background-color: rgb(255, 188, 87);
}
button:active {
	background-color: #aa4;
	box-shadow: inset 0 4px #666;
	transform: translateY(2px);
}
button:disabled {
	background-color: rgb(153, 153, 153);
}
.impbtn {
	background-color: rgb(229, 111, 233);
	display:inline;
}
.hiddenBtn {
	display:none;
}
.labbtn {
	background-color: rgb(67, 255, 83);
}
.expbtn {
	background-color: #968aff;
}
.spcbtn {
	background-color: #00c3ff;
}
.colbtn {
	background-color: rgb(255, 67, 114);
}
.infbtn {
	background-color: rgb(242, 247, 222);
}
.refbtn {
	background-color: rgba(94, 94, 94);
	color: rgb(213, 255, 245);
}
.fullbtn {
	width: 100%;
}
.xbtn {
	background-color: rgb(195, 195, 195);
}
.obtn {
	background-color: rgb(0, 204, 255);
}

input::placeholder,
textarea::placeholder,
select:invalid,
select option:first-child {
	color: rgb(175, 175, 175);
}

.h_5 {height: 175px;}
.h_3 {height: 100px;}
.h_2 {height: 70px;}


h1 {
	margin: 0;
	text-align: center;
}
h2 {
	margin: auto;
	text-align: center;
	border-radius: 20px;
	border:1px solid rgba(241, 192, 162);
	width: calc(100% - 10px);
}
h3 {
	margin:0;
	font: bold 2vh sans-serif;
}
.title {position:absolute;display:block;}


table {
	text-align:center;
	vertical-align:middle;
	margin-top: 10px;
}
div {
	padding: 0;
	margin: 0;
}
.in {
	border-radius: 10px;
	text-align: center;
}


.logbox {
	display: block;
	max-width: 400px;
}
.logbox h1.fancy-title {
	background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
	border: 2px solid #00bcd4;
	border-radius: 25px;
	padding: 3px 7px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	text-align: center;
	font-family: 'Segoe UI', sans-serif;
	font-size: 40pt;
	color: #006064;
	max-width: 200px;
	margin: 10px auto;
    font-weight: bold;
    animation: shake 2s infinite alternate;
}
.logindex {
	display: inline-block;
	margin: 10px;
	text-align: center;
}
.logindex input {
	width: 250px;
	margin: 4px;
	padding: 5px 20px;
}
.log {
	display: inline-block;
	border-radius: 10px;
	min-width: 400px;
	margin: 20px;
	border: 1px solid Tomato;
	text-align: center;
	vertical-align: top;
}
.log input,
.log textarea {
	width: 300px;
	padding: 5px 20px;
}
.detail {
	overflow: hidden;
	transition: max-height 0.5s ease-out;
	max-height: 4em;
	cursor: pointer;
}
.expanded {
	max-height: 500px;
}
.containerLogin {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
}
.outbox {
	flex: 1 1 300px;
	max-width: 450px;
	display: flex;
	justify-content: center;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border: 1px solid #ccc;
}
.box {
	width: 100%;
	max-width: 400px;
}
.container {
	margin: 0;
	gap: 20px;
	vertical-align:top;
}
.labcontain {
	margin: 0;
	width:100vw;
	text-align: center;
	vertical-align: top;
}

.tdev {
	display: inline-block;
	border-radius: 8px;
	padding-top: 10px;
	width: 80px;
	height: 50px;
	margin: 0;
	background-color: #2bd16b88;
	border: 1px solid #ddd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	font-size: 0.8em;
	font-weight: bold;
}
#chkBox {
	width: 400px;
	height:180px;
	font-size: 0.5em;
	resize: none;
    overflow: auto;
    white-space: pre-wrap;
}
#progressText {
	width: 100%;
	font-size: 1em;
	font-weight: bold;
}

.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
.device-container {
	max-width: 95vw;
	margin: 5px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(169px, 1fr));
	gap: 5px;
	text-align: center;
	justify-content: center;
	align-items: center;
}
.device {
	border-radius: 8px;
	width: 169px;
	min-height: 60px;
	background-color: white;
	border: 1px solid #ddd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	justify-content: center;
	align-items: center;
	vertical-align:top;
	background-color: lightblue;
}
.device h4 {
	display: inline-block;
	padding: 3px 0;
	margin: 3px 0 3px 1px;
	width: 169px;
	color: #333;
	border-radius: 8px;
	background-color: #e0dec888;
	font-size: 1.2em;
	text-align: center;
}
.device textarea {
	display: inline-block;
	width: 169px;
	border-radius: 2px;
	font-size: 0.5rem;
	pointer-events: none;
	margin-top: 5px;
	overflow: hidden;
}
.device p {
	display: inline-block;
	width: 169px;
	border-radius: 2px;
	font-size: 0.5rem;
	pointer-events: none;
	margin-top: 5px;
}
.device button {
	display: inline-block;
	margin: 0 1px;
	width: 80px;
}




.dev {
	display:inline-block;
	border-radius: 8px;
	margin: 0;
	padding:0 0 5px 0;
	min-width: 169px;
	min-height: 60px;
	background-color: white;
	border: 1px solid #ddd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: left;
	vertical-align:top;
}
.dev h4 {
	padding: 3px 0;
	margin: 3px 0 3px 1px;
	width: 169px;
	color: #333;
	border-radius: 8px;
	background-color: #e0dec888;
	font-size: 1.2em;
	text-align: center;
}
.dev textarea {
	display:block;
	width: 169px;
	border-radius: 2px;
	font-size: 0.5rem;
	pointer-events: none;
	margin-top: 5px;
	overflow: hidden;
}
.dev p {
	width: 169px;
	border-radius: 2px;
	font-size: 0.5rem;
	pointer-events: none;
	margin-top: 5px;
}
.dev button {
	margin: 0 1px;
	width: 80px;
}

#experimenterSelect {
	width: 160px;
	border-radius: 10px;
	text-align: center;
	background-color: #e1ff35;
	font-size:0.7em;
}
#devicesSelect {
	width: 60px;
	margin: 0px;
	border-radius: 10px;
	text-align: center;
	background-color: #35ff53;
}
#experimentSelect {
	width: 130px;
	border-radius: 10px;
	text-align: center;
	background-color: #64faff;
	font-size:0.7em;
}
#markerSelect {
	width: 160px;
	border-radius: 10px;
	text-align: center;
	background-color: #878787;
	color: white;
	font-size:0.7em;
}
#k-color {
	margin: 0;
	padding: 0;
    width: 36px;
    height: 40px;
	border-width: 0;
	background-color: transparent;
}
#k-name {
	width: 120px;
    height: 40px;
}
#experimenterDiv {
	background-color: #e1ff35;
	display: inline-block;
	border-radius: 10px;
	margin: 0 2px;
	padding: 0 2px;
	border: 1px solid Tomato;
	text-align: center;
	vertical-align: top;
}
#experimentDiv {
	background-color: #64faff;
	display: inline-block;
	border-radius: 10px;
	margin: 0 2px;
	padding: 0 2px;
	border: 1px solid Tomato;
	text-align: center;
	vertical-align: top;
}

.optional {
	display: table-cell;
	font-size: 7pt;
}

@media (max-width: 400px) {
	.optional {
		display: none;
	}
}

.card {
	display: inline-block;
	border-radius: 8px;
	margin: 0;
	min-width: 169px;
	min-height: 50px;
	background-color: white;
	border: 1px solid #ddd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: left;
	vertical-align:top;
}
.card h3 {
	margin: 0;
	color: #333;
	border-radius: 8px;
	background-color: #2bd16b88;
	font-size: 1em;
	text-align: center;
}
.card p {
	margin:0;
	padding:2px 5px;
	font-size: 0.8em;
	color: #221c1cd2;
	flex-basis: 100%;
	max-width: 150px;
	word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.card p span {
	white-space: nowrap;
	font-weight: bold;
	color: #333;
}
.card td,
.card th {
	padding: 1px 5px;
	border-radius: 5px;
	border:1px solid rgb(200,200,200);
	vertical-align: middle;
	text-align: center;
    font-size: 0.8em;
}
.card tr {
	color:#686868;
    text-wrap: balance;
}
.card tr:nth-child(odd) {
	background-color:#effff7;
}
.card thead tr:first-child {
	background-color:#8e49ca;
	color:#ffffff;
	font-size: 1em;
	font-weight: bold;
	white-space: nowrap;
}
.card td[rowspan] {
    font-size: 0.6em;
    white-space: pre-wrap;
    word-wrap: break-word;
	background-color:#dff9ff;
}
.card td[colspan] {
    font-size: 0.8em;
	background-color:#feffcd;
}

.viewBox {
	margin:10px;
	text-align: center;
}
.view,
.view table {
	margin: auto;
	text-align: center;
	border:1px solid rgb(25, 152, 255);
}
.view td,
.view th {
	padding: 1px 5px;
	border-radius: 5px;
	border:1px solid rgb(200,200,200);
	vertical-align: middle;
	text-align: center;
}
.view tr {
	color:#686868;
    text-wrap: balance;
	font-size: 1em;
}
.view tr:nth-child(odd) {
	background-color:#fffdee;
}
.view tr:nth-child(even) {
	background-color:#FFFFFF;
}
.view thead tr:first-child {
	background-color:#49B4CA;
	color:#ffffff;
	font-size:1.2em;
	font-weight: bold;
	white-space: nowrap;
}
.view thead tr:nth-child(2) {
	background-color:#49B4CA;
	color:#ffffff;
	font-size:1em;
	font-weight: bold;
	white-space: nowrap;
}
.cBox {
	background-color:#fff78d;
	width: 100%;
	font-weight: bold;
	font-size: 0.2em;
	line-height: 1;
    white-space: pre-wrap;
    word-wrap: break-word;
	overflow: auto;
	resize: none; 
}
.dbgBox {
	background-color:#8dbdff;
	width: 100%;
	font-size: 8px;
}
#rData,
#eData {
	display: inline-block;
	min-width: 300px;
	max-width: 350px;
	width: 100%;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 0.5em;
	line-height: 1;
}
#rData {
	background-color:#cdfff2;
	border:1px solid rgb(25, 152, 255);
}
#eData {
	background-color:#ffccaa;
	border:1px solid rgb(255, 25, 25);
}
#lData, #oData {
	background:transparent;
	display: inline-block;
	width: 100%;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	overflow-wrap: break-word;
}
.progress-container {
	width: 100%;
	height: 30px;
	background-color: #ddd;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	margin-top: 10px;
	border:1px solid rgb(0, 98, 31);
}
.progress-bar {
	height: 100%;
	width: 0%;
	background-color: #4CAF50;
	transition: width 0.01s ease-in-out;
}
.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    font-weight: bold;
    color: rgb(80, 30, 30);
}

#laboratory .card {
	background:transparent;
}
#infoData {
    text-wrap: balance;
    font-size: 12px;
	text-align: left;
	vertical-align: top;
	margin: 0 50px;
    cursor: pointer;
}
#btnPlay {
	margin-bottom: 10px;
	width: 160px;
	font-size: 1em;
}
#btnEnd {
	margin-bottom: 10px;
	width: 160px;
	font-size: 1em;
}
#btnMark {
	margin-bottom: 10px;
	width: 60px;
	font-size: 1em;
}
#deleteConfirmBox {
	z-index: 1000;
	border-radius: 10px;
	border: 1px solid #ccc;
	background: rgb(255, 127, 191);
	padding: 15px;
	width: 350px;
	text-align: center;
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
	margin-top: 10px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: opacity 0.2s;
    position: relative;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin-left: -2px;
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin-left: -2px;
}
input[type="checkbox"] {
	margin-top: 1px;
	max-width: 20px;
}
.agreement {
	display: block;
	min-width: 500px;
}
.agreement-box {
	margin: 10px 5px 10px 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: left;
	font-size: 15px;
}
.agreement-box pre {
  font-size: 19px;
  white-space: pre-wrap;
  color: #444;
}
.agree-content {
	display: flex;
	flex-direction: column;
	font-size: 10px;
}
.agree-content strong {
	font-size: 12px;
}
.agree-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	line-height: 1.6;
}
.title {
	font-weight: bold;
	font-size: 15px;
}
.section-title {
	font-weight: bold;
	margin-top: 2em;
	font-size: 14px;
}
.article {
	margin-top: 0.7em;
	font-size: 12px;
	text-indent: 1em;
}
.indent {
	margin-left: 0.8em;
	text-indent: -0.5em;
}
.indentTab {
	margin-left: 1.2em;
	text-indent: 1em;
}
.note {
	color: #454545;
	font-size: 9px;
}

td[data-lab-id] {
    cursor: default;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

tr.completed td[data-status] {
    cursor: pointer;
    background-color: #ac0000;
    color: white;
    border-radius: 5px;
    transition: 0.2s;
}
tr.completed td[data-status]:hover {
    background-color: #d31717;
}
tr.completed td[data-status]:active {
    background-color: hsl(8, 100%, 66%);
    transform: scale(0.95);
}

tr.show td[data-collected] {
    cursor: pointer;
    background-color: #0051a7;
    color: white;
    border-radius: 5px;
    transition: 0.2s;
}
tr.show td[data-collected]:hover {
    background-color: #1d75d3;
}
tr.show td[data-collected]:active {
    background-color: #54a2fc;
    transform: scale(0.95);
}

tr.show td[data-csv] {
    cursor: pointer;
    background-color: #009216;
    color: white;
    border-radius: 5px;
    transition: 0.2s;
}
tr.show td[data-csv]:hover {
    background-color: #21c555;
}
tr.show td[data-csv]:active {
    background-color: #35db69;
    transform: scale(0.95);
}

#countChart,
#fsumChart,
#dataChart {
	display:inline-block;
	width: calc(100vw - 50px);
	height: calc(100vh - 250px);
	min-height: 500px;
	margin: 0;
	padding: 0;
}

.attention {
    background-color: rgb(255, 85, 0);
    color: white;
	width: 370px;
    font-weight: bold;
    font-size: 15px;
    padding: 30px 10px;
    border: 3px solid yellow;
    text-align: center;
	border-radius: 50px;
    animation: blink 1s infinite alternate, shake 0.5s infinite alternate;
}

@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes shake {
    0% { transform: translateX(-3px); }
    100% { transform: translateX(3px); }
}

.v-mark {
	color: rgb(0, 255, 94);
	font-size: 40px;
	font-weight: bold;
	text-align: center;
}
.x-mark {
	color: red;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
    -webkit-text-stroke: 1px black;
}
.o-mark {
	color: blue;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
    -webkit-text-stroke: 1px black;
}

.site-footer {
	font-size: 0.7rem;
	color: #777;
	text-align: center;
	padding: 4px 0 2px 0;
	border-top: 1px solid #ddd;
	font-style: italic;
	opacity: 0.8;
}
.section-about {
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 0.55rem;
    line-height: 1.6;
}
.section-about h2 {
    font-size: 0.75rem;
    color: #222;
    margin-bottom: 2px;
    text-align: center;
}
.section-about p {
	font-size: 0.5rem;
    text-align: center;
    color: #666;
}

.showImg {
	margin-top: 20px;
}

.spec {
	display: block;
	font-size: 0.9em;
}
.spec p {
	margin: 0 20px 10px 20px;
	text-align: left;
}
.spec h3 {
	text-align: left;
	margin-left: 10px;
	color: #333;
}
.spec ul {
	text-align: left;
	list-style-type: none;
	padding: 0;
}
.spec ul p {
	margin-left: 20px;
	color:#555;
}
.spec li {
	margin: 0 20px 10px 20px;
	text-align: left;
	font-size: 0.85em;
}
.spec ul li {
	display: inline-block;
}
.spec ul li ul {
	margin-top: 5px;
}

.foot-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}
.footc-section {
	flex: 3;
	min-width: 300px;
	text-align: center;
}

#admin-list td:nth-child(3) {
	font-size: 0.4em;
	margin: 0 20px 10px 20px;
	text-align: left;
}

.BATT {
	width: 100px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
}
.low {
	color: red;
}
.medium {
	color: rgb(191, 89, 0);
}
.high {
	color: green;
}

.spacebox {
	background-color: transparent;
	border: 0px solid transparent;
	text-align:center;
	width: 80px;
}
.spaceBox {
	max-height:20px;
	font-size: 10px;
}
.boxline {
	max-width: 500px;
	border: 1px solid rgb(45, 5, 5);
	border-radius: 10px;
	font: bold 0.4em sans-serif;
	margin-top: 5px;
	vertical-align: middle;
	text-align: center;
}

.space {
	min-width: 400px;
	border-radius: 8px;
	margin: 0;
	background-color: white;
	border: 1px solid #ddd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.space td,
.space th {
	padding: 1px 5px;
	border-radius: 5px;
	border:1px solid rgb(200,200,200);
	vertical-align: middle;
	text-align: center;
    font-size: 0.8em;
}
.space tr {
	color:#686868;
    text-wrap: balance;
}
.space tr:nth-child(odd) {
	background-color:#EEFDFF;
}
.space tr:nth-child(even) {
	background-color:#FFFFFF;
}
.space thead tr:first-child {
	background-color:#49B4CA;
	color:#ffffff;
	font-size: 0.7em;
	font-weight: bold;
	white-space: nowrap;
}

.ispace {
	width: 400px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 7pt;
	margin-top: 0;
}
.ispace td {
	padding: 1px 5px;
	border-radius: 5px;
	border:1px solid rgb(200,200,200);
	vertical-align: middle;
	text-align: center;
}
.ispace tr:nth-child(odd) {
	background-color:#eef1ff;
}
.ispace thead tr:first-child {
	background-color:#5618c0;
	color:#ffffff;
	font-weight: bold;
}
.ospace {
	width: 400px;
    font-size: 7pt;
}
.ospace td {
	padding: 1px 5px;
	border-radius: 5px;
	border:1px solid rgb(200,200,200);
	vertical-align: middle;
	text-align: center;
}
.ospace tr:nth-child(odd) {
	background-color:#ceffcb;
}
.ospace thead tr:first-child {
	background-color:#1f7407;
	color:#ffffff;
	font-weight: bold;
}