body {
	--rside:calc(max(318px,min(366px,50%)));
}

.grid-container-1 {
	display: grid;
	grid-template-columns: calc(100% - 10px - var(--rside)) var(--rside);
	grid-template-rows: auto;
	gap: 0px 10px;
	margin-top:16px;
	margin-bottom:6px;
}

.drop { grid-area: 1 / 1 / 2 / 2; }

.open {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	gap: 6px 0px;
	grid-area: 1 / 2 / 2 / 3;
}

.each { grid-area: 1 / 1 / 2 / 2; }
.raw { grid-area: 2 / 1 / 3 / 2; }
.summary { grid-area: 3 / 1 / 4 / 2; }





.grid-container-2 {
	display: grid;
	grid-template-columns: calc(100% - 10px - var(--rside)) var(--rside);
	grid-template-rows: auto;
	gap: 0px 10px;
	grid-template-areas:'clear check';
	padding:6px 0px;
	border-top:1px solid gray;
	border-bottom:1px solid gray;
	margin-bottom:8px;
}

.clear {
	display: grid;
	grid-template-columns: 90px 1fr;
	grid-template-rows: auto;
	gap: 0px 0px;
}

.check {
	display: grid;
	grid-template-columns: 60px 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 0px 6px;
}



#previews {
	display: grid;
	grid-template-columns: calc(50% - 5px) calc(50% - 5px);
	grid-template-rows: auto;
	gap: 0px 10px;
}
.preview { display:inline-block; width:100%; }
.preview p { font-size:12px; font-family:'Noto Sans'; text-indent:0; }
textarea { width:100%; height:180px; font-size:10px; }






/* it was hard to get file drop to work on the label, so I kludged it by overlying label on filedrop and making the file input transparent. 
Initially, just the label with hidden filedrop worked but then it stopped */
label[for='filedrop'] {
	display:block;
	width:100%;
	height:126px;
	border:1px solid gray;
	border-radius:6px;
	text-align:center;
	font-size:12px;
	font-family:'Noto Sans';
	background:#eee;
	line-height:18px;
	padding-top:43px;
	margin-top:-126px;
}
#filedrop { display:block; width:100%; height:126px; z-index:12; opacity:0.01; }

section p { text-indent:0; }

section ol { padding:0; margin-left:1em; margin-top:8px; }

p.btn small { display:block; font-size:10px; line-height:12px; }
p.btn { width:100%; height:38px; padding-top:6px; text-shadow:none; }
#clear, #checkall, #uncheckall { margin:0px; height:26px; width:100%; padding-top:6px; text-shadow:none; overflow:hidden; }

label.check { display:block; font-size:12px; font-family:'Noto Sans'; text-indent:0; height:20px; }


#filecount {
	display:inline-block;
	width:30px;
	text-align:right;
	margin-right:6px;
	margin-top:4px;
}
.clear strong {
	display:inline-block;
	margin-top:4px;
}




