#ne_docs.ne-docs {
	min-height: calc(100vh - 110px);
	height: auto;
	padding: 26px;
	background: #383636;
	color: #f2f2f2;
}

#ne_docs .ne-docs-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 18px;
}

#ne_docs .ne-docs-header h1 {
	margin: 4px 0 5px;
	color: #f5f5f5;
	font-size: 28px;
	line-height: 1.1;
}

#ne_docs .ne-docs-header p,
#ne_docs .ne-docs-add__heading span {
	margin: 0;
	color: #a8a8a8;
	font-size: 12px;
}

#ne_docs .ne-docs-add {
	padding: 16px;
	background: #262626;
	border: 1px solid #383838;
}

#ne_docs .ne-docs-add[hidden] {
	display: none !important;
}

#ne_docs .ne-docs-add__heading {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 12px;
}

#ne_docs .ne-docs-add__heading h2 {
	margin: 0;
	color: #f0f0f0;
	font-size: 15px;
}

#ne_docs .ne-docs-add form {
	display: grid;
	grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.6fr) auto;
	gap: 8px;
	align-items: stretch;
}

#ne_docs .ne-docs-add .ne-ui-form-control {
	min-height: 38px;
	padding-top: 15px;
}

#ne_docs .ne-docs-add .ne-ui-button {
	min-height: 38px;
}

#ne_docs .ne-docs-message {
	min-height: 14px;
	margin: 7px 0 -5px;
	color: #a8a8a8;
	font-size: 11px;
}

#ne_docs .ne-docs-message[data-tone="success"] {
	color: #9fd9b3;
}

#ne_docs .ne-docs-message[data-tone="error"] {
	color: #f0c2c2;
}

#ne_docs .ne-docs-toolbar {
	display: grid;
	grid-template-columns: 1fr minmax(560px, 860px) 1fr;
	gap: 16px;
	align-items: center;
	padding: 18px 0 14px;
}

#ne_docs .ne-docs-view-options {
	display: flex;
	justify-self: start;
}

#ne_docs .ne-docs-quick-add-toggle {
	flex: 0 0 auto;
	min-height: 52px;
	padding: 0 17px;
}

#ne_docs .ne-docs-view-options .ne-ui-button {
	width: 34px;
	min-width: 34px;
	padding: 0;
	border-radius: 0;
}

#ne_docs .ne-docs-view-options svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

#ne_docs .ne-docs-view-options .ne-ui-button + .ne-ui-button {
	margin-left: -1px;
}

#ne_docs .ne-docs-toolbar label {
	position: relative;
	flex: 1;
	width: 100%;
}

#ne_docs .ne-docs-search-group {
	display: flex;
	grid-column: 2;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

#ne_docs .ne-docs-toolbar label::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 17px;
	width: 12px;
	height: 12px;
	border: 2px solid #a7a7a7;
	border-radius: 50%;
	transform: translateY(-58%);
	pointer-events: none;
}

#ne_docs .ne-docs-toolbar label::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: calc(50% + 6px);
	left: 29px;
	width: 7px;
	height: 2px;
	background: #a7a7a7;
	transform: rotate(45deg);
	transform-origin: left center;
	pointer-events: none;
}

#ne_docs .ne-docs-toolbar .ne-ui-form-control {
	min-height: 52px;
	padding: 13px 18px 13px 46px;
	background: #303030;
	border: 1px solid #505050;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
	color: #fff;
	font-size: 15px;
	transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

#ne_docs .ne-docs-toolbar .ne-ui-form-control::placeholder {
	color: #aaa;
}

#ne_docs .ne-docs-toolbar .ne-ui-form-control:hover {
	background: #343434;
	border-color: #666;
}

#ne_docs .ne-docs-toolbar .ne-ui-form-control:focus {
	background: #363636;
	border-color: #f3a83c;
	box-shadow: 0 0 0 2px rgba(243, 168, 60, .16), 0 10px 28px rgba(0, 0, 0, .28);
}

#ne_docs .ne-docs-toolbar label:focus-within::before {
	border-color: #f3a83c;
}

#ne_docs .ne-docs-toolbar label:focus-within::after {
	background: #f3a83c;
}

#ne_docs .ne-docs-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

#ne_docs .ne-docs-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
	padding: 12px;
	background: #262626;
	border: 1px solid #363636;
	transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

#ne_docs .ne-docs-card:hover {
	background: #2a2a2a;
	border-color: #555;
}

#ne_docs .ne-docs-card__open {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	color: inherit;
}

#ne_docs .ne-docs-card__icon {
	position: relative;
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 38px;
	place-items: center;
	background: #4285f4;
	border-radius: 2px;
	color: #fff;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .08), 0 4px 10px rgba(0, 0, 0, .2);
	overflow: hidden;
}

#ne_docs .ne-docs-card__icon:not(.ne-docs-card__icon--folder)::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 9px;
	height: 9px;
	background: rgba(255, 255, 255, .38);
	clip-path: polygon(100% 0, 0 0, 100% 100%);
}

#ne_docs .ne-docs-card__icon--spreadsheet {
	background: #188038;
}

#ne_docs .ne-docs-card__icon--presentation {
	background: #f9ab00;
	color: #241a00;
}

#ne_docs .ne-docs-card__icon--form {
	background: #7248b9;
}

#ne_docs .ne-docs-card__icon--folder {
	width: 38px;
	height: 29px;
	flex-basis: 38px;
	margin-top: 5px;
	background: #f3a83c;
	border-radius: 2px;
	color: #241a00;
	box-shadow: none;
}

#ne_docs .ne-docs-card__icon--folder::before {
	content: "";
	position: absolute;
	width: 17px;
	height: 5px;
	margin: -29px 0 0 -17px;
	background: #f3a83c;
	border-radius: 2px 2px 0 0;
}

#ne_docs .ne-docs-card__icon--drive_file {
	background: #3d6d8d;
}

#ne_docs .ne-docs-card__icon--link {
	background: #4f6472;
}

#ne_docs .ne-docs-card__copy {
	display: grid;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

#ne_docs .ne-docs-card__copy strong,
#ne_docs .ne-docs-card__copy small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#ne_docs .ne-docs-card__copy strong {
	color: #f2f2f2;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
}

#ne_docs .ne-docs-card__copy small {
	color: #999;
	font-size: 10px;
}

#ne_docs .ne-docs-card__copy small .ne-docs-card__date::before {
	content: " · ";
}

#ne_docs .ne-docs-list-head {
	display: none;
}

#ne_docs .ne-docs-card__actions {
	display: flex;
	flex: 0 0 auto;
	margin-left: 10px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(2px);
	transition: opacity 120ms ease, transform 120ms ease;
}

#ne_docs .ne-docs-card:hover .ne-docs-card__actions,
#ne_docs .ne-docs-card:focus-within .ne-docs-card__actions,
#ne_docs .ne-docs-card.is-renaming .ne-docs-card__actions {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#ne_docs .ne-docs-card__actions .ne-ui-button {
	padding: 0 7px;
	min-height: 25px;
	border-color: transparent;
	font-size: 10px;
}

#ne_docs .ne-docs-card__actions .ne-ui-button:hover {
	background: #383838;
	border-color: #4b4b4b;
}

#ne_docs .ne-docs-remove:hover {
	color: #f0c2c2;
}

#ne_docs .ne-docs-remove.is-confirming {
	background: #4a2424;
	border-color: #6b3232;
	color: #f0c2c2;
}

#ne_docs .ne-docs-rename-input {
	min-width: 130px;
	height: 28px;
	min-height: 28px;
	padding: 5px 7px;
}

#ne_docs .ne-docs-empty,
#ne_docs .ne-docs-no-results {
	grid-column: 1 / -1;
}

#ne_docs .ne-docs-no-results[hidden] {
	display: none !important;
}

#ne_docs [data-ne-document-search][hidden] {
	display: none !important;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-list {
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 12px;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card {
	position: relative;
	min-height: 78px;
	padding: 15px 14px 15px 17px;
	overflow: hidden;
	background: linear-gradient(145deg, #292929 0%, #242424 100%);
	box-shadow: 0 7px 20px rgba(0, 0, 0, .12);
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card:hover {
	background: linear-gradient(145deg, #2d2d2d 0%, #272727 100%);
	border-color: #505050;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
	transform: translateY(-1px);
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: #4285f4;
	opacity: .85;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="spreadsheet"]::before {
	background: #36a657;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="presentation"]::before {
	background: #f9ab00;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="form"]::before {
	background: #8d63ce;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="folder"]::before {
	background: #f3a83c;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="drive_file"]::before {
	background: #5f91b2;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card[data-ne-document-type="link"]::before {
	background: #7890a0;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card__open {
	gap: 13px;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card__copy {
	gap: 6px;
}

#ne_docs[data-ne-documents-layout="cards"] .ne-docs-card__copy strong {
	font-size: 14px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-list {
	grid-template-columns: 1fr;
	gap: 4px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-list-head {
	display: grid;
	grid-template-columns: 30px minmax(180px, 1fr) 150px 100px 118px;
	gap: 10px;
	align-items: center;
	padding: 0 10px 5px;
	color: #7f7f7f;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card {
	padding: 7px 10px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__open {
	display: grid;
	flex: 1;
	grid-template-columns: 30px minmax(180px, 1fr) 150px 100px;
	gap: 10px;
	align-items: center;
	min-width: 0;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy,
#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy small {
	display: contents;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy strong,
#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__type,
#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__date {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__type,
#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__date {
	color: #999;
	font-size: 10px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__date::before {
	content: none;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__actions {
	flex-basis: 108px;
	justify-content: flex-end;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__icon {
	width: 27px;
	height: 30px;
	flex-basis: 27px;
	font-size: 7px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__icon--folder {
	width: 30px;
	height: 23px;
	flex-basis: 30px;
}

#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__icon--folder::before {
	width: 13px;
	height: 4px;
	margin: -23px 0 0 -13px;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-list {
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 14px;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card {
	position: relative;
	display: grid;
	justify-items: center;
	align-content: space-between;
	min-height: 250px;
	padding: 28px 18px 14px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 32%, rgba(66, 133, 244, .1), transparent 44%),
		linear-gradient(155deg, #292929 0%, #232323 100%);
	border-color: #3a3a3a;
	box-shadow: 0 9px 24px rgba(0, 0, 0, .16);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: #4285f4;
	opacity: .9;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="spreadsheet"] {
	background:
		radial-gradient(circle at 50% 32%, rgba(24, 128, 56, .12), transparent 44%),
		linear-gradient(155deg, #292929 0%, #232323 100%);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="spreadsheet"]::before {
	background: #36a657;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="presentation"] {
	background:
		radial-gradient(circle at 50% 32%, rgba(249, 171, 0, .12), transparent 44%),
		linear-gradient(155deg, #292929 0%, #232323 100%);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="presentation"]::before {
	background: #f9ab00;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="form"] {
	background:
		radial-gradient(circle at 50% 32%, rgba(114, 72, 185, .13), transparent 44%),
		linear-gradient(155deg, #292929 0%, #232323 100%);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="form"]::before {
	background: #8d63ce;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="folder"] {
	background:
		radial-gradient(circle at 50% 32%, rgba(243, 168, 60, .13), transparent 44%),
		linear-gradient(155deg, #292929 0%, #232323 100%);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="folder"]::before {
	background: #f3a83c;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="drive_file"]::before {
	background: #5f91b2;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card[data-ne-document-type="link"]::before {
	background: #7890a0;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card:hover {
	border-color: #565656;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
	transform: translateY(-2px);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__open {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 20px;
	width: 100%;
	min-height: 190px;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__icon {
	width: 82px;
	height: 94px;
	flex-basis: 82px;
	font-size: 15px;
	box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .08), 0 12px 24px rgba(0, 0, 0, .28);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card:hover .ne-docs-card__icon {
	box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .08), 0 15px 28px rgba(0, 0, 0, .34);
	transform: translateY(-2px) scale(1.025);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__icon--folder {
	width: 102px;
	height: 72px;
	flex-basis: 102px;
	margin-top: 18px;
	font-size: 13px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .24);
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__icon--folder::before {
	width: 42px;
	height: 14px;
	margin: -72px 0 0 -44px;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__copy {
	display: grid;
	justify-items: center;
	gap: 9px;
	width: 100%;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__copy strong {
	display: -webkit-box;
	min-height: 43px;
	overflow: hidden;
	font-size: 18px;
	line-height: 1.2;
	white-space: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__copy small {
	display: inline-flex;
	gap: 0;
	align-items: center;
	width: fit-content;
	padding: 4px 8px;
	background: rgba(255, 255, 255, .035);
	border: 1px solid #3b3b3b;
	border-radius: 20px;
	font-size: 10px;
}

#ne_docs[data-ne-documents-layout="thumbs"] .ne-docs-card__actions {
	min-height: 25px;
	margin: 8px 0 0;
}

@media (max-width: 760px) {
	#ne_docs.ne-docs {
		padding: 16px;
	}

	#ne_docs .ne-docs-add form {
		grid-template-columns: 1fr;
	}

	#ne_docs .ne-docs-add__heading {
		display: grid;
	}

	#ne_docs .ne-docs-toolbar label {
		width: 100%;
	}

	#ne_docs .ne-docs-toolbar {
		display: flex;
		align-items: stretch;
		flex-direction: column;
	}

	#ne_docs .ne-docs-search-group {
		display: flex;
		width: 100%;
	}

	#ne_docs .ne-docs-view-options {
		margin-right: 0;
	}

	#ne_docs .ne-docs-quick-add-toggle {
		align-self: stretch;
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-list-head {
		display: none;
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__open {
		grid-template-columns: 30px minmax(0, 1fr);
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy {
		display: grid;
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy small {
		display: block;
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__copy small .ne-docs-card__date::before {
		content: " · ";
	}

	#ne_docs[data-ne-documents-layout="list"] .ne-docs-card__actions {
		flex-basis: auto;
	}
}

@media (hover: none) {
	#ne_docs .ne-docs-card__actions {
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
}
