.ekwipunek-box {
	display: block;
	margin: 6px 0 12px;
	padding: 14px 16px 16px;
	border: 1px solid var(--color-1);
	border-radius: 5px;
	background-color: var(--color-2);
	box-shadow: 0 0 10px 0 var(--color-19);
}

.ekwipunek-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--color-9);
}

.ekwipunek-owner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ekwipunek-avatar img {
	display: block;
	width: auto;
	height: auto;
	max-width: 72px;
	max-height: 72px;
	border-radius: 6px;
	border: 1px solid var(--color-1);
}

.ekwipunek-title {
	margin: 0 0 4px;
}

.ekwipunek-title,
.ekwipunek-title a {
	color: var(--color-5);
}

.ekwipunek-sub {
	margin: 0;
	font-size: 1.15em;
	color: var(--color-4);
}

.ekwipunek-dot {
	margin: 0 4px;
	opacity: .6;
}

.ekwipunek-history-link,
.ekwipunek-history-link:hover {
	text-decoration: none;
	border-color: currentColor;
}

.ekwipunek-actions {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}

.ekwipunek-actions .button[hidden] {
	display: none;
}

.ekwipunek-search {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
}

.ekwipunek-search .inputbox {
	width: 200px;
	max-width: 100%;
	box-sizing: border-box;
}

.ekwipunek-tabbar ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--color-1);
}

.ekwipunek-tabbar .tab {
	margin: 0 0 -1px;
}

.ekwipunek-tabbar .tab > a {
	display: block;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-bottom: 0;
	border-radius: 5px 5px 0 0;
	color: var(--color-4);
	font-size: 1.35em;
	text-decoration: none;
}

.ekwipunek-tabbar .ekwipunek-tab-colored > a::before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	margin-right: 0.45em;
	border-radius: 50%;
	background-color: var(--ekwipunek-tab);
	vertical-align: 0.08em;
}

.ekwipunek-tabbar .activetab > a,
.ekwipunek-tabbar .activetab > a:hover {
	border-color: var(--color-1);
	background-color: var(--color-10);
	color: var(--color-5);
	font-weight: bold;
}

.ekwipunek-body {
	padding: 14px 16px;
	border: 1px solid var(--color-1);
	border-top: 0;
	border-radius: 0 0 5px 5px;
	background-color: var(--color-10);
}

.ekwipunek-box > .ekwipunek-body:first-child,
.ekwipunek-head + .ekwipunek-body,
.ekwipunek-body-round {
	border-top: 1px solid var(--color-1);
	border-radius: 5px;
}

.ekwipunek-empty {
	margin: 0;
	padding: 14px;
	color: var(--color-11);
	text-align: center;
}

.ekwipunek-body-table {
	padding: 0;
	overflow-x: auto;
}

.ekwipunek-table {
	width: 100%;
	border-collapse: collapse;
}

.ekwipunek-table th {
	padding: 8px 14px;
	border-bottom: 1px solid var(--color-9);
	color: var(--color-11);
	font-size: 1em;
	font-weight: bold;
	text-align: left;
	text-transform: uppercase;
}

.ekwipunek-table td {
	padding: 9px 14px;
	font-size: 1.2em;
	vertical-align: middle;
}

.ekwipunek-table tbody tr + tr td {
	border-top: 1px solid var(--color-9);
}

.ekwipunek-table tbody tr:nth-child(even) td {
	background-color: var(--color-12);
}

.ekwipunek-table .ekwipunek-col-name .username,
.ekwipunek-table .ekwipunek-col-name .username-coloured {
	font-weight: bold;
	font-size: 1.1em;
}

.ekwipunek-table .ekwipunek-col-date {
	width: 22%;
	white-space: nowrap;
	text-align: center;
}

.ekwipunek-history .ekwipunek-col-editor {
	width: 18%;
	text-align: center;
}

.ekwipunek-history .ekwipunek-col-action {
	width: 1%;
	white-space: nowrap;
	text-align: center;
}

.ekwipunek-pagination {
	float: none;
	display: flex;
	justify-content: flex-end;
	margin: 10px 0 0;
}

.ekwipunek-view .content {
	font-size: 1.5em;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.ekwipunek-view .content img {
	max-width: 100%;
	height: auto;
}

.ekwipunek-panel-title {
	margin: 0 0 8px;
	font-size: 1.4em;
	color: var(--color-5);
}

.ekwipunek-js .ekwipunek-panel {
	display: none;
}

.ekwipunek-js .ekwipunek-panel.is-active {
	display: block;
}

.ekwipunek-js .ekwipunek-panel-title {
	display: none;
}

.ekwipunek-version {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 5px;
	background-color: var(--color-3);
}

.ekwipunek-version p {
	margin: 0 0 8px;
	font-size: 1.15em;
}

.ekwipunek-version-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ekwipunek-version-actions form {
	margin: 0;
}

.ekwipunek-js-only,
.ekwipunek-js-inline {
	display: none !important;
}

.ekwipunek-js .ekwipunek-js-only {
	display: flex !important;
}

.ekwipunek-js .ekwipunek-js-inline {
	display: inline-flex !important;
}

.ekwipunek-edit-nav {
	align-items: flex-end;
	gap: 8px;
	border-bottom: 1px solid var(--color-1);
}

.ekwipunek-edit-nav ul {
	flex: 1 1 auto;
	border-bottom: 0;
}

.ekwipunek-edit-nav .tab {
	margin-bottom: -1px;
}

.ekwipunek-edit-nav .ekwipunek-add {
	margin: 0 0 6px auto;
}

.ekwipunek-edit-nav .ekwipunek-add[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

#ekwipunek-form:not(.ekwipunek-js) .ekwipunek-panel {
	margin-bottom: 12px;
	border-top: 1px solid var(--color-1);
	border-radius: 5px;
}

.ekwipunek-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 14px;
}

.ekwipunek-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.ekwipunek-field-grow {
	flex: 0 1 480px;
}

.ekwipunek-label {
	color: var(--color-5);
	font-size: 1.15em;
	font-weight: bold;
}

.ekwipunek-label-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}

.ekwipunek-hint {
	color: var(--color-11);
}

.ekwipunek-name {
	width: 100%;
	max-width: 480px;
	box-sizing: border-box;
	font-size: 1.15em;
	padding: 5px 8px;
}

.ekwipunek-color-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.ekwipunek-color-value {
	width: 90px;
	box-sizing: border-box;
	font-size: 1.15em;
	padding: 5px 8px;
}

.ekwipunek-color-pick {
	width: 36px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--color-1);
	border-radius: 4px;
	background: none;
	cursor: pointer;
}

.ekwipunek-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 2px;
}

.ekwipunek-toolbar .button {
	min-width: 32px;
	justify-content: center;
}

.ekwipunek-size {
	width: auto;
	height: auto;
	cursor: pointer;
}

.ekwipunek-color {
	position: relative;
	overflow: hidden;
}

.ekwipunek-color input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.ekwipunek-text {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 320px;
	padding: 8px 10px;
	resize: vertical;
	font-family: inherit;
	font-size: 1.2em;
	line-height: 1.6;
}

#ekwipunek-form .inputbox:focus,
.ekwipunek-search .inputbox:focus {
	outline: none;
	box-shadow: none;
	border-color: var(--color-1);
}

.ekwipunek-panel-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid var(--color-9);
}

.ekwipunek-notice {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 5px;
	background-color: var(--color-3);
	font-size: 1.1em;
}

.ekwipunek-submit {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.ekwipunek-submit > * {
	margin: 0;
}

.ekwipunek-submit .button1,
.ekwipunek-submit .button2 {
	font-size: 1.2em;
	padding: 4px 14px;
}

.ekwipunek-delete h3 {
	margin: 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-9);
}

.ekwipunek-delete .ekwipunek-submit {
	margin-top: 10px;
}

.ekwipunek-danger {
	color: #b23b3b !important;
}

@media (max-width: 700px) {
	.ekwipunek-box {
		padding: 12px;
	}

	.ekwipunek-head {
		align-items: flex-start;
	}

	.ekwipunek-search {
		flex: 1 1 100%;
	}

	.ekwipunek-search .inputbox {
		flex: 1 1 auto;
		width: auto;
	}

	.ekwipunek-tabbar .tab > a {
		padding: 7px 10px;
		font-size: 1.2em;
	}

	.ekwipunek-view .content {
		font-size: 1.4em;
	}

	.ekwipunek-table .ekwipunek-col-date {
		width: 34%;
		white-space: normal;
	}

	.ekwipunek-history .ekwipunek-col-editor {
		display: none;
	}

	.ekwipunek-edit-nav {
		flex-wrap: wrap;
	}

	.ekwipunek-edit-nav .ekwipunek-add {
		margin: 6px 0;
	}
}
