#album-browser {
	position: relative;
}

.toreteru-editor-progress-panel {
	box-sizing: border-box;
	width: 760px;
	max-width: calc(100% - 40px);
	margin: 10px auto 14px;
	padding: 0;
	font-family: "Lucida Grande", "Helvetica Neue", sans-serif;
	font-size: 13px;
	color: #343434;
}

.toreteru-editor-progress-job + .toreteru-editor-progress-job {
	margin-top: 10px;
}

.toreteru-editor-progress-job {
	position: relative;
	min-height: 58px;
	box-sizing: border-box;
	padding: 14px 44px 14px 76px;
	border: 1px solid rgba(142, 142, 147, 0.34);
	border-radius: 13px;
	background: linear-gradient(#fbfbfd, #ececf0);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.toreteru-editor-progress-icon {
	position: absolute;
	left: 22px;
	top: 22px;
	width: 35px;
	height: 24px;
	border-radius: 4px 4px 3px 3px;
	background: linear-gradient(#73caf0, #39a8df);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.toreteru-editor-progress-icon:before {
	content: "";
	position: absolute;
	left: 3px;
	top: -6px;
	width: 14px;
	height: 8px;
	border-radius: 4px 4px 0 0;
	background: #65bfe8;
}

.toreteru-editor-progress-head {
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.25;
}

.toreteru-editor-progress-label {
	min-width: 0;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.toreteru-editor-progress-count {
	margin-left: auto;
	color: #607086;
	white-space: nowrap;
}

.toreteru-editor-progress-cancel {
	position: absolute;
	right: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9c9cd;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 17px;
	text-align: center;
	cursor: pointer;
}

.toreteru-editor-progress-cancel:disabled {
	opacity: 0.45;
	cursor: default;
}

.toreteru-editor-progress-detail {
	margin: 2px 0 6px;
	overflow: hidden;
	color: #5f5f64;
	font-size: 12px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.toreteru-editor-progress-track {
	height: 9px;
	margin-top: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: #d7d7dc;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.24);
}

.toreteru-editor-progress-fill {
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(#b8d8f4, #6baee8 45%, #2d82d8);
	transition: width 0.25s ease;
}

.toreteru-editor-progress-job.is-done .toreteru-editor-progress-fill {
	background: linear-gradient(#c9ebd5, #67c781 45%, #34a853);
}

.toreteru-editor-progress-job.is-failed .toreteru-editor-progress-fill,
.toreteru-editor-progress-job.is-cancelled .toreteru-editor-progress-fill {
	background: #bf3b3b;
}

.toreteru-editor-progress-message {
	margin-top: 5px;
	color: #77777d;
	font-size: 12px;
	line-height: 1.25;
}

.has-toreteru-radial-progress {
	position: relative;
}

.toreteru-radial-progress {
	position: absolute;
	z-index: 4200;
	top: 50%;
	left: 50%;
	width: 62px;
	height: 62px;
	margin: -31px 0 0 -31px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.88) 43%, rgba(28, 44, 64, 0.2) 44%, rgba(28, 44, 64, 0.1) 100%);
	box-shadow: 0 10px 28px rgba(16, 32, 54, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px) scale(0.72);
	transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.18, 0.82, 0.24, 1.18);
}

#album-items.has-toreteru-radial-progress {
	position: relative;
	min-height: 96px;
}

#album-items > .toreteru-radial-progress.is-album-scope,
#album-browser > .toreteru-radial-progress.is-album-scope {
	top: 22px;
	left: 50%;
	margin: 0 0 0 -31px;
}

.toreteru-radial-progress.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.toreteru-radial-progress.is-completing {
	opacity: 0;
	transform: translateY(-6px) scale(0.86);
	transition-duration: 0.18s, 0.22s;
}

.toreteru-radial-progress svg {
	position: absolute;
	inset: 5px;
	width: 52px;
	height: 52px;
	transform: rotate(-90deg);
}

.toreteru-radial-progress-track,
.toreteru-radial-progress-fill {
	fill: none;
	stroke-width: 4.6;
}

.toreteru-radial-progress-track {
	stroke: rgba(63, 82, 108, 0.18);
}

.toreteru-radial-progress-fill {
	stroke: #2f83d8;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	stroke-linecap: round;
	filter: drop-shadow(0 1px 2px rgba(47, 131, 216, 0.3));
}

.toreteru-radial-progress.is-failed .toreteru-radial-progress-fill,
.toreteru-radial-progress.is-cancelled .toreteru-radial-progress-fill {
	stroke: #bf3b3b;
}

.toreteru-radial-progress-text {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #243142;
	font-family: "Lucida Grande", "Helvetica Neue", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: -0.04em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.album-selection-marquee {
	position: absolute;
	z-index: 4500;
	border: 1px solid #2f76d2;
	background: rgba(47, 118, 210, 0.16);
	pointer-events: none;
}

.album-item {
	position: relative;
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.album-item table {
	position: relative;
	z-index: 1;
}

.album-item a,
.album-item img {
	-webkit-user-drag: none;
	user-drag: none;
}

.archive-thumb-wrap {
	position: relative;
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
}

.archive-thumb-wrap > img:first-child {
	display: block;
}

.archive-thumb-badge {
	position: absolute;
	right: 4px;
	bottom: 4px;
	width: 32px;
	height: 29px;
	border: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

.album-item.is-selected {
	outline: 3px solid #2f76d2;
	outline-offset: 2px;
	background: #eef5ff;
	border-radius: 6px;
}

.album-item.is-selected .file-capt,
.album-item.is-selected .folder-capt,
.album-item.is-selected .file-ctrl {
	background: transparent;
}

.album-item.is-cut {
	opacity: 0.45;
}

.album-item.is-drop-target {
	outline-color: #2d9d54;
	background: #edf9f1;
}

.album-item.is-pdf-drop-before:before,
.album-item.is-pdf-drop-after:after {
	content: "";
	position: absolute;
	z-index: 25;
	top: 8px;
	bottom: 8px;
	width: 5px;
	border-radius: 999px;
	background: #2f76d2;
	box-shadow: 0 0 0 4px rgba(47, 118, 210, 0.14), 0 3px 12px rgba(47, 118, 210, 0.3);
	pointer-events: none;
}

.album-item.is-pdf-drop-before:before {
	left: -8px;
}

.album-item.is-pdf-drop-after:after {
	right: -8px;
}

.album-item-drag-helper {
	padding: 10px 14px;
	background: rgba(36, 48, 64, 0.92);
	color: #fff;
	border-radius: 8px;
	font-size: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.toreteru-context-menu {
	position: absolute;
	z-index: 5000;
	display: none;
	min-width: 180px;
	margin: 0;
	padding: 2px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #bfc8d6;
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.toreteru-context-menu li {
	margin: 0;
	padding: 0;
}

.toreteru-context-menu li.separator {
	height: 1px;
	margin: 2px 0;
	background: #e3e7ee;
}

.toreteru-context-menu button {
	display: block;
	width: 100%;
	padding: 3px 10px;
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 12px;
	line-height: 1.2;
	color: #273142;
	cursor: pointer;
}

.toreteru-context-menu button:hover,
.toreteru-context-menu button:focus {
	background: #f0f6ff;
	outline: none;
}

.toreteru-context-menu button.danger {
	color: #ae2b2b;
}

.toreteru-dirpicker {
	font-size: 13px;
}

.toreteru-dirpicker-list {
	max-height: 360px;
	overflow: auto;
	margin: 0;
	padding: 0;
	border: 1px solid #d7dfea;
	background: #fff;
}

.toreteru-dirpicker-row {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 12px;
	border: 0;
	border-bottom: 1px solid #eef2f7;
	background: #fff;
	text-align: left;
	cursor: pointer;
}

.toreteru-dirpicker-row:last-child {
	border-bottom: 0;
}

.toreteru-dirpicker-row:hover,
.toreteru-dirpicker-row:focus {
	background: #f4f8ff;
	outline: none;
}

.toreteru-dirpicker-row.is-selected {
	background: #eaf2ff;
	color: #1f4b91;
	font-weight: bold;
}

.toreteru-dirpicker-row.is-disabled {
	color: #9aa6b2;
	background: #f7f8fa;
	cursor: not-allowed;
}

.toreteru-dirpicker-row .dirpicker-indent {
	display: inline-block;
	width: 18px;
}

.toreteru-dirpicker-current {
	margin: 0 0 10px;
	color: #4b5563;
}

.toreteru-folderize-dialog p {
	margin: 0 0 8px;
}

.toreteru-folderize-name {
	box-sizing: border-box;
	width: 100%;
	padding: 7px 9px;
	border: 1px solid #c6ced9;
	border-radius: 5px;
	font-size: 13px;
}

#album-browser.album-busy {
	opacity: 0.7;
}

#album-browser.album-busy:after {
	content: "更新中...";
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 6px 10px;
	background: rgba(36, 48, 64, 0.88);
	color: #fff;
	border-radius: 6px;
	font-size: 12px;
}


.archive-photo-actions .ui-button {
	font-size: 1em;
}
