.file-upload-div,
.handyeditor-filelist,
.he-ctr-win{
	--af-bar: #f9fafb;
	--af-list: #fff;
	--af-card: #fff;
	--af-fg: #1f2937;
	--af-sub: #6b7280;
	--af-line: #e5e7eb;
	--af-soft: #f3f4f6;
	--af-ring: #2563eb;
	--af-accent: #2563eb;
	--af-accent-text: #1d4ed8;
	--af-accent-soft: rgba(37, 99, 235, .1);
	--af-danger: #dc2626;
	--af-danger-soft: rgba(220, 38, 38, .08);
}

.file-upload-div.dark,
.handyeditor-filelist.dark,
.he-ctr-win.is-dark{
	--af-bar: #2b2b2b;
	--af-list: #262626;
	--af-card: #333;
	--af-fg: #e5e7eb;
	--af-sub: #9ca3af;
	--af-line: #404040;
	--af-soft: #3a3a3a;
	--af-ring: #60a5fa;
	--af-accent-text: #93c5fd;
	--af-accent-soft: rgba(96, 165, 250, .16);
	--af-danger: #f87171;
	--af-danger-soft: rgba(248, 113, 113, .14);
}

.file-upload-div{
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 12px;
	border-top: 1px solid var(--af-line);
	background: var(--af-bar);
	color: var(--af-fg);
	font-size: 13px;
	line-height: 1.4;
}

.file-upload-div .af-upload-info{
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	color: var(--af-sub);
	font-size: 12px;
	line-height: 1.35;
}

.af-upload-info b{
	color: var(--af-fg);
	font-size: 13px;
	font-weight: 700;
}

.af-upload-info span{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.af-meter{
	display: block;
	width: 140px;
	max-width: 100%;
	height: 4px;
	margin-top: 3px;
	border-radius: 2px;
	background: var(--af-line);
	overflow: hidden;
}

.af-meter i{
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--af-accent);
}

.af-meter.is-warn i{
	background: #f59e0b;
}

.af-meter.is-full i{
	background: #dc2626;
}

.af-actions{
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.file-upload-div:not(.has-files) .af-actions{
	display: none;
}
.xe-fileupload-processing {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip:rect(0,0,0,0);
	border: 0;
}

.xe-file-upload-btn {
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	height: 34px;
	margin: 0;
	padding: 0 14px 0 12px;
	border-radius: 8px;
	background-color: #2563eb;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s;
}

.xe-file-upload-btn:hover {
	background-color: #1d4ed8;
}

.xe-file-upload-btn:active {
	background-color: #1e40af;
}

.af-up-ico{
	flex: none;
	width: 16px;
	height: 16px;
}

.handyeditor-filelist{
	display: none;
	padding: 12px;
	border-top: 1px solid var(--af-line);
	background: var(--af-list);
	color: var(--af-fg);
}

.handyediotr-filelist-img{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 8px;
}

.handyediotr-filelist-bin{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 8px;
}

.handyediotr-filelist-img:not(:empty) + .handyediotr-filelist-bin:not(:empty){
	margin-top: 10px;
}

.handyeditor-drop-int{
	position: absolute !important;
	text-align: center !important;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	z-index: 1000;
	align-items: center;
	justify-content: center;
	display: none;
}

.he-textup-drag-img{
	position: absolute;
	max-height: 80px !important;
}
.textup-fileup{
	padding:5px 0 0 0;
}

.textup-file{
	max-width: 120px;
}

.he-upload-btn-wrapper {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.he-btn-hidden{
	display: none;
}

.he-btn {
	border: 2px solid gray;
	color: gray;
	background-color: white;
	padding: 4px 4px;
	border-radius: 8px;
	font-size: 13px !important;
	font-weight: bold;
	cursor: pointer !important;
}

.he-upload-proc{
	display: inline !important;
}

.he-upload-info{
	display: inline !important;
}

.he-upload-btn-wrapper input[type=file] {
	font-size: 25px !important;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}

.he-upload-info{
	color:#999;
	display: none;
	margin-left:5px !important;
}

.filelist.bin{
	width:24px;
	height:24px;
}

.he-img-part{
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	background: var(--af-soft);
	box-shadow: 0 0 0 1px var(--af-line);
	overflow: hidden;
	line-height: 0;
	cursor: pointer;
	transition: box-shadow .15s ease, transform .15s ease;
}

.he-img-part:hover{
	box-shadow: 0 0 0 1px var(--af-line), 0 6px 16px rgba(15, 23, 42, .14);
	transform: translateY(-1px);
}

.he-bin-part{
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	box-sizing: border-box;
	height: 54px;
	padding: 0 42px 0 10px;
	border-radius: 10px;
	background: var(--af-card);
	box-shadow: 0 0 0 1px var(--af-line);
	color: var(--af-fg);
	overflow: hidden;
	cursor: pointer;
	transition: background-color .15s ease, box-shadow .15s ease;
}

.he-bin-part:hover{
	background: var(--af-soft);
}

.he-img-part.is-sel,
.he-bin-part.is-sel,
.he-img-part.is-sel:hover{
	box-shadow: 0 0 0 2px var(--af-ring);
}

.he-bin-ext{
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	border-radius: 8px;
	background: #64748b;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.he-bin-ext[data-kind="pdf"]{ background: #dc2626; }
.he-bin-ext[data-kind="doc"]{ background: #2563eb; }
.he-bin-ext[data-kind="sheet"]{ background: #16a34a; }
.he-bin-ext[data-kind="slide"]{ background: #ea580c; }
.he-bin-ext[data-kind="zip"]{ background: #a16207; }
.he-bin-ext[data-kind="audio"]{ background: #7c3aed; }
.he-bin-ext[data-kind="video"]{ background: #db2777; }

.he-bin-txt{
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.he-bin-name{
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.he-bin-size{
	color: var(--af-sub);
	font-size: 11.5px;
}

.he-file-ctr{
	position: absolute;
	inset: 0;
	z-index: 2;
	cursor: pointer;
}

.handyeditor-filelist .he-file-ctr :is(.he-file-check-box, #he-chk-guard){
	display: block !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	position: absolute !important;
	top: 6px !important;
	right: auto !important;
	left: 6px !important;
	box-sizing: border-box !important;
	width: 20px !important;
	height: 20px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	line-height: normal !important;
	border-radius: 50% !important;
	background: rgba(17, 24, 39, .3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 100% 100% !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)) !important;
	cursor: pointer !important;
	transition: background-color .15s ease !important;
}

.handyeditor-filelist .he-file-ctr :is(.he-file-check-box, #he-chk-guard):hover{
	background-color: rgba(17, 24, 39, .5) !important;
}

.handyeditor-filelist .he-file-ctr :is(.he-file-check-box, #he-chk-guard):checked{
	background-color: #2563eb !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") !important;
	background-size: 12px 12px, 100% 100% !important;
}

.handyeditor-filelist .he-file-ctr :is(.he-file-check-box, #he-chk-guard):focus-visible{
	outline: 2px solid var(--af-ring) !important;
	outline-offset: 2px !important;
}

.handyeditor-filelist .he-bin-part .he-file-ctr :is(.he-file-check-box, #he-chk-guard){
	top: 50% !important;
	right: 14px !important;
	left: auto !important;
	margin-top: -10px !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.1' fill='none' stroke='%239ca3af' stroke-width='1.6'/%3E%3C/svg%3E") !important;
	filter: none !important;
}

.handyeditor-filelist .he-bin-part .he-file-ctr :is(.he-file-check-box, #he-chk-guard):hover{
	background-color: var(--af-soft) !important;
}

.handyeditor-filelist .he-bin-part .he-file-ctr :is(.he-file-check-box, #he-chk-guard):checked{
	background-color: #2563eb !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-size: 12px 12px !important;
}

.he-file-del{
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 4;
	display: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(17, 24, 39, .62);
	cursor: pointer;
	transition: background-color .15s ease;
}

.he-file-del img{
	display: none !important;
}

.he-file-del::before,
.he-file-del::after{
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 1.8px;
	border-radius: 1px;
	background: #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.he-file-del::after{
	transform: translate(-50%, -50%) rotate(-45deg);
}

.he-file-del:hover{
	background: #dc2626;
}

@media (hover: hover){
	.he-img-part:hover .he-file-del{
		display: block;
	}
}

.he-file-chk{
	position: absolute;
	left: 6px;
	bottom: 6px;
	z-index: 3;
	display: none;
	height: 18px;
	padding: 0 7px;
	border-radius: 9px;
	background: #2563eb;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 18px;
	pointer-events: none;
}

.he-file-chk img{
	display: none !important;
}

.he-file-chk::after{
	content: "대표";
}

.he-upload-ing{
	background-color: #2f2f2f !important;
	opacity: 0.3;
}

.he-drag-hover{
	background-color: #f1ee2a !important;
	opacity: 0.3;
}

.file-upload-div.he-drag-hover{
	background-color: var(--af-bar) !important;
}

.handyeditor-filelist.he-drag-hover{
	background-color: var(--af-list) !important;
}

.file-upload-div.he-drag-hover,
.handyeditor-filelist.he-drag-hover{
	background-image: linear-gradient(var(--af-accent-soft), var(--af-accent-soft));
	box-shadow: inset 0 0 0 2px var(--af-ring);
	opacity: 1;
}

.he-fchk-show{
	display: block;
}

.dicon{
	width: 20px;
	height: 20px;
	background: url("../icon/settings.svg") no-repeat;
	background-size: cover;
	display: inline-block;
}

.he-ctr-win{
	position: absolute !important;
	z-index: 9999;
	display: none;
	box-sizing: border-box !important;
	min-width: 190px;
	max-width: 260px;
	margin: 0 !important;
	padding: 6px !important;
	border-radius: 12px;
	background: var(--af-card);
	box-shadow: 0 0 0 1px var(--af-line), 0 12px 32px rgba(15, 23, 42, .2);
	color: var(--af-fg);
	font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 13px;
	line-height: 1.4 !important;
}

.he-ctr-head{
	margin: 0 0 4px;
	padding: 4px 10px 8px;
	border-bottom: 1px solid var(--af-line);
	overflow: hidden;
	color: var(--af-sub);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hew-ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.hew-ul li{
	display: flex;
	align-items: center;
	gap: 10px;
	height: 36px;
	margin: 0;
	padding: 0 10px;
	border-radius: 8px;
	color: var(--af-fg);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .12s ease;
}

.hew-ul li:hover{
	background: var(--af-soft);
}

.hew-ul li svg{
	flex: none;
	width: 17px;
	height: 17px;
	color: var(--af-sub);
}

.hew-ul li:hover svg{
	color: var(--af-fg);
}

.hew-ul li.is-danger,
.hew-ul li.is-danger svg{
	color: var(--af-danger);
}

.hew-ul li.is-danger:hover{
	background: var(--af-danger-soft);
}

.textup-filelist-img, .textup-filelist-bin{
	display: none;
	line-height: 0 !important;
}
.textup-filelist-bin{
	margin-top:5px !important;
}

.he-img-tag{
	width:60px !important;
	height:60px !important;
	border:0px !important;
}

.handyediotr-file-uploading{
	position: absolute;
	height:32px !important;
	top:0px;
	left:0px;
	width:180px;
	display: none;
}

.hefl-thumbail{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
}

.hefl-thumbail::after{
	content: attr(title);
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 7px 5px;
	overflow: hidden;
	background: linear-gradient(transparent, rgba(0, 0, 0, .62));
	color: #fff;
	font-size: 11px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0;
	transition: opacity .15s ease;
}

.he-img-part:hover .hefl-thumbail::after{
	opacity: 1;
}

.he-img-part:hover .he-file-chk{
	opacity: 0;
}

.he-img-part .file-play-btn{
	position: absolute !important;
	left: 50%;
	top: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(17, 24, 39, .55);
	color: #fff;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.he-img-part .file-play-btn svg{
	width: 15px;
	height: 15px;
	margin-left: 2px;
}


.progress-bar {
	position: relative;
	width: 1000px;
	height: 30px;
	background-color: grey;
	box-shadow: -5px 5px 5px rgba(50, 50, 50, 0.5) inset;
}

.prgs-bar {
	position: absolute;
	width: 0;
	height: 100%;
	background-color: green;
	box-shadow: 1px 1px 1px rgba(50, 50, 50, 0.3) inset, -1px -1px 5px rgba(50, 50, 50, 0.3) inset;
}

.progress-header {
	font-family: Verdana;
	font-size: 13px;
	margin-top: 15px;
	padding-left: 12px;
	padding-bottom: 2px;
}

.progress-footer {
	font-family: Verdana;
	font-size: 13px;
	font-style: italic;
	padding-left: 12px;
	padding-top: 2px;
	margin-bottom: 15px;
}

.progress-label {
	position: absolute;
	width: 100%;
	text-align: center;
	line-height: 30px;
	color: white;
}

.striped {
	background-image: -webkit-repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.01) 15px, rgba(255, 255, 255, 0.30) 15px, rgba(255, 255, 255, 0.30) 30px);
	background-image: -o-repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.01) 15px, rgba(255, 255, 255, 0.30) 15px, rgba(255, 255, 255, 0.30) 30px);
	background-image: -moz-repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.01) 15px, rgba(255, 255, 255, 0.30) 15px, rgba(255, 255, 255, 0.30) 30px);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.01) 15px, rgba(255, 255, 255, 0.30) 15px, rgba(255, 255, 255, 0.30) 30px);
}

.he-bin-part .he-file-ctr{
	display: flex;
    align-items: center;
}

.he-bin-part:hover{
	border:1px solid rgb(155, 155, 155);
}

.he-img-part:hover{
	border:1px solid rgb(172, 172, 172);
}

.he-file-allsel-btn,
.he-file-ins-btn,
.he-file-delete-btn {
	display: none;
	box-sizing: border-box;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--af-line);
	border-radius: 8px;
	background: var(--af-card);
	color: var(--af-fg);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 30px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.he-file-allsel-btn:hover {
	background: var(--af-soft);
}

.he-file-ins-btn {
	border-color: transparent;
	background: var(--af-accent-soft);
	color: var(--af-accent-text);
}

.he-file-delete-btn {
	border-color: transparent;
	background: var(--af-danger-soft);
	color: var(--af-danger);
}

.he-file-ins-btn:hover,
.he-file-delete-btn:hover {
	border-color: currentColor;
}

.af-actions:not(.has-sel) .he-file-ins-btn,
.af-actions:not(.has-sel) .he-file-delete-btn {
	opacity: .5;
}

.he-file-ins-btn[data-n]::after,
.he-file-delete-btn[data-n]::after {
	content: attr(data-n);
	display: inline-block;
	min-width: 18px;
	height: 18px;
	margin-left: 6px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 9px;
	font-size: 11px;
	line-height: 18px;
	vertical-align: 1px;
}

.he-file-ins-btn[data-n]::after{
	background: var(--af-accent);
	color: #fff;
}

.he-file-delete-btn[data-n]::after{
	background: #dc2626;
	color: #fff;
}

@media screen and (max-width: 600px) {
	.file-upload-div {
		padding: 10px;
	}

	.file-upload-div.has-files .af-actions {
		width: 100%;
		margin-left: 0;
	}

	.af-actions > span {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 6px;
	}

	.af-meter {
		display: none;
	}

	.handyeditor-filelist {
		padding: 10px;
	}

	.handyediotr-filelist-img {
		grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
		gap: 6px;
	}

	.handyediotr-filelist-bin {
		grid-template-columns: 1fr;
	}
}

.ed-drop-caret{
	position: fixed;
	z-index: 100005;
	display: none;
	width: 2px;
	margin-left: -1px;
	border-radius: 1px;
	background: #1e62e0;
	box-shadow: 0 0 0 1px rgba(255,255,255,.8);
	pointer-events: none;
	animation: ed-drop-caret-pulse 1s ease-in-out infinite;
}

.ed-drop-caret.is-show{
	display: block;
}

.ed-drop-caret::before{
	content: "";
	position: absolute;
	left: -3px;
	top: -4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1e62e0;
}

.ed-drop-caret-tip{
	position: absolute;
	left: 6px;
	bottom: 100%;
	margin-bottom: 4px;
	padding: 3px 8px;
	border-radius: 10px;
	background: #1e62e0;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

@keyframes ed-drop-caret-pulse{
	0%, 100% { opacity: 1; }
	50% { opacity: .45; }
}

.handyeditor-drop-int.is-spot .he-textup-drag-img{
	display: none;
}

.ed-up-toast{
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 100010;
	box-sizing: border-box;
	width: 360px;
	max-width: calc(100vw - 32px);
	padding: 12px 14px;
	border-radius: 12px;
	background: #1f2328;
	color: #fff;
	box-shadow: 0 8px 28px rgba(0,0,0,.28);
	font-size: 13px;
	line-height: 1.4;
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity .2s, transform .2s;
	pointer-events: none;
}

.ed-up-toast.is-show{
	opacity: 1;
	transform: translate(-50%, 0);
}

.ed-up-toast.is-placed{
	transform: translateY(16px);
}

.ed-up-toast.is-placed.is-show{
	transform: none;
}

.ed-up-row{
	display: flex;
	align-items: center;
	gap: 8px;
}

.ed-up-title{
	font-weight: 700;
	white-space: nowrap;
}

.ed-up-name{
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255,255,255,.72);
}

.ed-up-pct{
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ed-up-bar{
	height: 6px;
	margin: 9px 0 6px;
	border-radius: 3px;
	background: rgba(255,255,255,.18);
	overflow: hidden;
}

.ed-up-bar i{
	display: block;
	width: 0;
	height: 100%;
	border-radius: 3px;
	background: #4c8dff;
	transition: width .25s linear;
}

.ed-up-meta{
	font-size: 12px;
	color: rgba(255,255,255,.62);
	font-variant-numeric: tabular-nums;
}

.ed-up-toast.is-done .ed-up-bar i{
	background: #3fb950;
}

.ed-up-toast.is-fail .ed-up-bar i{
	background: #f85149;
}

@media screen and (max-width: 768px) {
	.ed-up-toast{
		bottom: 16px;
	}
}

.ed-drop-caret.is-block{
	height: 3px;
	margin-left: 0;
	border-radius: 2px;
}

.ed-drop-caret.is-block::before{
	left: -4px;
	top: -3px;
	width: 9px;
	height: 9px;
}

.ed-drop-caret.is-block .ed-drop-caret-tip{
	left: 10px;
	margin-bottom: 5px;
}

.ed-att-dock{
	--ed-att-bg: #fff;
	--ed-att-fg: #1f2937;
	--ed-att-sub: #6b7280;
	--ed-att-line: #e5e7eb;
	--ed-att-soft: #f3f4f6;
	--ed-att-accent: #2563eb;
	position: fixed;
	bottom: 12px;
	z-index: 90;
	display: none;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	height: 66px;
	padding: 6px 8px;
	border: 1px solid var(--ed-att-line);
	border-radius: 14px;
	background: var(--ed-att-bg);
	color: var(--ed-att-fg);
	box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
	font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 12px;
	line-height: 1.4;
}

.ed-att-dock.is-dark{
	--ed-att-bg: #2a2f37;
	--ed-att-fg: #e5e7eb;
	--ed-att-sub: #9ca3af;
	--ed-att-line: #3b4250;
	--ed-att-soft: #343a45;
	--ed-att-accent: #60a5fa;
}

.ed-att-dock.is-show{
	display: flex;
}

.ed-att-dock button{
	font-family: inherit;
}

.ed-att-toggle{
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 34px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--ed-att-line);
	border-radius: 999px;
	background: var(--ed-att-soft);
	color: var(--ed-att-fg);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.ed-att-toggle svg{
	width: 15px;
	height: 15px;
}

.ed-att-toggle .ed-att-chev{
	width: 12px;
	height: 12px;
	transition: transform .2s ease;
}

.ed-att-strip{
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 52px;
	padding: 3px;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}

.ed-att-item{
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ed-att-line);
	border-radius: 8px;
	background: var(--ed-att-soft);
	color: var(--ed-att-fg);
	overflow: hidden;
	cursor: pointer;
	transition: box-shadow .15s ease;
}

.ed-att-item.is-img{
	width: 46px;
}

.ed-att-item.is-img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.ed-att-item.is-bin{
	max-width: 170px;
	padding: 0 10px 0 8px;
	font-size: 12px;
}

.ed-att-item.is-bin svg{
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--ed-att-sub);
}

.ed-att-name{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ed-att-play{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	pointer-events: none;
}

.ed-att-item:hover,
.ed-att-item:focus-visible{
	outline: none;
	box-shadow: 0 0 0 2px var(--ed-att-accent);
}

.ed-att-used{
	display: none;
	position: absolute;
	right: 2px;
	top: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #16a34a;
	box-shadow: 0 0 0 1.5px #fff;
	font-style: normal;
}

.ed-att-used::after{
	content: "";
	position: absolute;
	left: 4.6px;
	top: 2.4px;
	width: 3px;
	height: 6px;
	border: solid #fff;
	border-width: 0 1.6px 1.6px 0;
	transform: rotate(45deg);
}

.ed-att-item.is-used .ed-att-used{
	display: block;
}

.ed-att-item.is-flash{
	animation: ed-att-flash .6s ease;
}

@keyframes ed-att-flash{
	0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .55); }
	100% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

.ed-att-msg{
	position: absolute;
	right: 14px;
	bottom: calc(100% + 6px);
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ed-att-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
	pointer-events: none;
}

.ed-att-msg:empty{
	display: none;
}

.ed-att-go{
	flex: 0 0 auto;
	height: 34px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ed-att-sub);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

.ed-att-go:hover{
	background: var(--ed-att-soft);
	color: var(--ed-att-fg);
}

.ed-att-dock.is-folded{
	height: auto;
	padding: 4px;
	border-radius: 999px;
}

.ed-att-dock.is-folded .ed-att-strip,
.ed-att-dock.is-folded .ed-att-msg,
.ed-att-dock.is-folded .ed-att-go{
	display: none;
}

.ed-att-dock.is-folded .ed-att-chev{
	transform: rotate(180deg);
}

.ed-att-dock.is-dragging{
	opacity: .55;
}

.ed-att-item{
	touch-action: pan-x;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

.he-img-part,
.he-bin-part{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

.ed-att-item.is-drag-src,
.he-img-part.is-drag-src,
.he-bin-part.is-drag-src{
	opacity: .45;
}

html.ed-att-dragging,
html.ed-att-dragging *{
	cursor: grabbing !important;
	-webkit-user-select: none;
	user-select: none;
}

.ed-att-ghost{
	position: fixed;
	z-index: 100006;
	display: flex;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	max-width: 220px;
	padding: 6px 10px 6px 6px;
	border: 2px solid #1e62e0;
	border-radius: 10px;
	background: #fff;
	color: #1f2937;
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
	pointer-events: none;
}

.ed-att-ghost.is-img{
	padding: 3px;
}

.ed-att-ghost.is-img img{
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 7px;
}

.ed-att-ghost svg{
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: #6b7280;
}

.ed-att-ghost span{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.ed-att-dock-on .ed-up-toast{
	bottom: 90px;
}

@media screen and (max-width: 768px) {
	.ed-att-dock{
		bottom: 8px;
		height: 60px;
		gap: 6px;
		padding: 5px 6px;
	}
	.ed-att-strip{
		height: 48px;
	}
	.ed-att-item{
		height: 42px;
	}
	.ed-att-item.is-img{
		width: 42px;
	}
	.ed-att-go{
		display: none;
	}
	body.ed-att-dock-on .ed-up-toast{
		bottom: 76px;
	}
}
