.client-docs-wrap {
	margin: 12px 0 8px;
	width: 100%;
	clear: both;
}
.client-docs-toggle {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	user-select: none;
}
.client-docs-toggle svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex-shrink: 0;
}
.client-docs-toggle.is-open {
	font-weight: 600;
}
.client-docs-panel {
	display: none;
	margin-top: 10px;
	padding: 12px;
	border-radius: 16px;
	background: #eef1f6;
}
.client-docs-panel.is-open {
	display: block;
}
.client-docs-drop {
	position: relative;
	border: 2px dashed #c5cad3;
	border-radius: 14px;
	padding: 14px 10px;
	text-align: center;
	background: rgba(255,255,255,.7);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.client-docs-drop.is-drag {
	border-color: #1a73e8;
	background: #e8f0fe;
}
.client-docs-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}
.client-docs-drop-title {
	font-size: 13px;
	font-weight: 600;
	pointer-events: none;
}
.client-docs-drop-sub {
	font-size: 11px;
	opacity: .7;
	margin-top: 3px;
	pointer-events: none;
}
.client-docs-progress-list {
	margin-top: 8px;
}
.cd-progress {
	background: #fff;
	border-radius: 10px;
	padding: 8px 10px;
	margin-bottom: 6px;
	box-shadow: 0 1px 2px rgba(60,64,67,.12);
}
.cd-progress-name {
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 6px;
}
.cd-progress-track {
	height: 6px;
	background: #e8eaed;
	border-radius: 6px;
	overflow: hidden;
}
.cd-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: #1a73e8;
	border-radius: 6px;
	transition: width .15s linear;
}
.cd-progress.is-error .cd-progress-bar {
	background: #d93025;
	width: 100%;
}
.cd-progress-meta {
	font-size: 11px;
	margin-top: 4px;
	opacity: .75;
}
.client-docs-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}
.client-docs-empty {
	display: none;
	text-align: center;
	font-size: 12px;
	opacity: .65;
	padding: 8px 0 2px;
}
.client-docs-empty.is-visible {
	display: block;
}
.cd-tile {
	position: relative;
	width: 148px;
	background: #fff;
	border-radius: 18px;
	border: 0;
	box-shadow: 0 1px 3px rgba(60,64,67,.16);
	cursor: pointer;
	padding: 14px 12px 12px;
	transition: box-shadow .15s, transform .15s;
}
.cd-tile:hover {
	box-shadow: 0 6px 16px rgba(60,64,67,.18);
	transform: translateY(-1px);
}
.cd-tile-preview {
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}
.cd-tile-preview svg {
	width: 40px;
	height: 40px;
	display: block;
}
.cd-tile-name {
	font-size: 13px;
	line-height: 1.25;
	font-weight: 700;
	color: #202124;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 32px;
	word-break: break-word;
}
.cd-tile-meta {
	font-size: 11px;
	color: #80868b;
	margin-top: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cd-tile-actions {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	gap: 4px;
	opacity: 0;
	transition: opacity .15s;
}
.cd-tile:hover .cd-tile-actions,
.cd-tile:focus-within .cd-tile-actions {
	opacity: 1;
}
.cd-tile-btn {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.95);
	box-shadow: 0 1px 3px rgba(0,0,0,.18);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #3c4043;
}
.cd-tile-btn:hover {
	background: #fff;
	color: #1a73e8;
}
.cd-tile-btn.is-danger:hover {
	color: #d93025;
}
.cd-tile-btn svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}
.cd-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(32,33,36,.72);
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.cd-lightbox.is-open {
	display: flex;
}
.cd-lightbox-dialog {
	width: min(1100px, 100%);
	max-height: 90vh;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.cd-lightbox-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #e8eaed;
	background: #fff;
}
.cd-lightbox-title {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	color: #202124;
}
.cd-lightbox-bar a,
.cd-lightbox-bar button {
	flex-shrink: 0;
}
.cd-lightbox-close {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #5f6368;
	border-radius: 50%;
}
.cd-lightbox-close:hover {
	background: #f1f3f4;
}
.cd-lightbox-body {
	background: #111;
	min-height: 240px;
	overflow: auto;
	position: relative;
}
.cd-lightbox-body.is-light {
	background: #fff;
}
.cd-preview-img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	margin: 0 auto;
}
.cd-preview-frame {
	width: 100%;
	height: 78vh;
	border: 0;
	background: #fff;
}
.cd-preview-text {
	margin: 0;
	padding: 18px;
	color: #e8eaed;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 78vh;
	overflow: auto;
	font-size: 13px;
}
.cd-preview-docx {
	background: #fff;
	min-height: 50vh;
	max-height: 78vh;
	overflow: auto;
	padding: 16px;
}
.cd-preview-fallback,
.cd-preview-loading {
	color: #fff;
	text-align: center;
	padding: 48px 20px;
}
.cd-lightbox-body.is-light .cd-preview-fallback,
.cd-lightbox-body.is-light .cd-preview-loading {
	color: #202124;
}
