.owc {
	--owc-accent: #3f6b2c;
	--owc-accent-soft: #e7efdf;
	--owc-rule: #e0e4da;
	--owc-muted: #6b7568;
	margin: 1.5em 0;
	font-size: 16px;
	line-height: 1.5;
}

.owc * {
	box-sizing: border-box;
}

.owc .owc-progress {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #fff;
	border: 1px solid var(--owc-rule);
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 20px;
}

.owc .owc-progress-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
}

.owc .owc-percent {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--owc-accent);
	font-variant-numeric: tabular-nums;
}

.owc .owc-counter {
	color: var(--owc-muted);
}

.owc .owc-bar {
	height: 8px;
	margin: 10px 0 6px;
	background: var(--owc-accent-soft);
	border-radius: 999px;
	overflow: hidden;
}

.owc .owc-bar-fill {
	display: block;
	height: 100%;
	background: var(--owc-accent);
	border-radius: 999px;
	transition: width .25s ease;
}

.owc .owc-hint {
	margin: 0;
	font-size: 13px;
	color: var(--owc-muted);
}

.owc .owc-block {
	margin-bottom: 24px;
}

.owc .owc-block.is-skipped {
	opacity: .55;
}

.owc .owc-block-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 8px;
}

.owc .owc-block-title {
	margin: 0;
	font-size: 20px;
}

.owc .owc-skip,
.owc .owc-reset {
	appearance: none;
	background: none;
	border: 1px solid var(--owc-rule);
	border-radius: 999px;
	padding: 4px 12px;
	font: inherit;
	font-size: 13px;
	color: var(--owc-muted);
	cursor: pointer;
}

.owc .owc-skip:hover,
.owc .owc-reset:hover {
	border-color: var(--owc-accent);
	color: var(--owc-accent);
}

/*
 * Тема ogorod оформляет списки внутри .content: `.content li` делает пункты
 * блочными с отступом 30px, `.content ul > li:before` рисует голубой маркер,
 * `.content ul > li:last-child` ставит margin с !important. Поэтому селекторы
 * ниже намеренно длиннее: они должны выигрывать у темы.
 */
.owc .owc-list,
.owc .owc-rest-list {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.owc .owc-list > li::before,
.owc .owc-list > li::marker {
	content: none;
	display: none;
}

.owc .owc-list > .owc-item {
	display: flex;
	position: static;
	gap: 12px;
	margin: 0 !important;
	padding: 12px 0;
	border-top: 1px solid var(--owc-rule);
}

.owc .owc-list > .owc-item:last-child {
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--owc-rule);
}

.owc .owc-check {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--owc-accent);
	cursor: pointer;
}

.owc .owc-item-body {
	min-width: 0;
}

.owc .owc-title {
	display: block;
	font-weight: 600;
	cursor: pointer;
}

.owc .owc-item.is-done .owc-title {
	color: var(--owc-muted);
	text-decoration: line-through;
}

.owc .owc-note {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--owc-muted);
}

.owc .owc-link {
	display: inline-block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--owc-accent);
}

.owc .owc-rest {
	border: 1px solid var(--owc-rule);
	border-radius: 8px;
	padding: 16px;
	background: #fafbf8;
}

.owc .owc-rest-list a {
	color: var(--owc-accent);
}

.owc .owc-rest-list > li {
	display: block;
	position: relative;
	margin: 0 !important;
	padding: 6px 0 6px 18px;
}

.owc .owc-rest-list > li::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 15px;
	width: 6px;
	height: 6px;
	border: 0;
	border-radius: 50%;
	background: var(--owc-accent);
}

.owc .owc-actions {
	margin: 16px 0 0;
}

@media (max-width: 480px) {
	.owc .owc-percent {
		font-size: 24px;
	}

	.owc .owc-block-title {
		font-size: 18px;
	}
}
