/**
 * Ingredient dictionary pages: /ingredients/ and /ingredients/<slug>/ (inc/ingredients.php).
 * Mobile first; tokens from tokens.css. Coral is for accents, gold is not used here.
 */

.sc-dict {
	padding: 12px 0 48px;
	background: var(--sc-bg);
	color: var(--sc-ink);
	font-family: var(--sc-font);
}

.sc-dict__wrap {
	display: grid;
	gap: 20px;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 16px;
}

.sc-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-crumbs a {
	color: var(--sc-muted);
	text-decoration: none;
}

.sc-dict__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sc-petrol);
	font-size: .875rem;
	font-weight: 600;
}

.sc-dict__eyebrow .sc-i,
.sc-entry__srclink .sc-i,
.sc-dict__checker-link .sc-i,
.sc-sources__btn .sc-i {
	flex: none;
	width: 18px;
	height: 18px;
}

/* Heads */
.sc-entry__head,
.sc-dict__hero {
	display: grid;
	gap: 8px;
	padding: 20px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-dict__title,
.sc-entry__title {
	margin: 0;
	color: var(--sc-ink);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.5;
}

.sc-entry__en {
	display: block;
	margin-top: 2px;
	color: var(--sc-muted);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: .01em;
	text-align: right;
}

.sc-entry__role {
	justify-self: start;
	margin: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .8125rem;
	font-weight: 600;
}

.sc-entry__lead,
.sc-dict__lead {
	margin: 4px 0 0;
	font-size: 1rem;
	line-height: 2;
}

.sc-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sc-entry__byline {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-entry__srclink,
.sc-dict__checker-link {
	display: inline-flex;
	justify-self: start;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	background: var(--sc-bg);
	color: var(--sc-petrol);
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none;
}

/* At a glance */
.sc-glance {
	padding: 18px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-glance__title {
	margin: 0 0 12px;
	color: var(--sc-petrol-dark);
	font-size: 1.0625rem;
	font-weight: 800;
}

.sc-glance__list {
	display: grid;
	gap: 10px;
	margin: 0;
}

.sc-glance__list > div {
	display: grid;
	grid-template-columns: 7.5em 1fr;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--sc-line);
}

.sc-glance__list > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.sc-glance__list dt {
	color: var(--sc-muted);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.9;
}

.sc-glance__list dd {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.9;
}

.sc-evidence {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.sc-ev {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 10px 12px;
	border-radius: var(--sc-r);
	background: var(--sc-bg);
}

.sc-ev__label {
	min-width: 5.5em;
	color: var(--sc-ink);
	font-size: .875rem;
	font-weight: 700;
}

.sc-ev__meter {
	display: inline-flex;
	gap: 3px;
	direction: rtl;
}

.sc-ev__meter i {
	width: 18px;
	height: 6px;
	border-radius: 3px;
	background: var(--sc-line);
}

.sc-ev__meter i.on {
	background: currentColor;
}

.sc-ev__level {
	font-size: .8125rem;
}

.sc-ev__note {
	flex-basis: 100%;
	color: var(--sc-ink);
	font-size: .8125rem;
	line-height: 1.9;
}

.sc-ev--strong {
	color: #2c6a59;
}

.sc-ev--moderate {
	color: var(--sc-petrol);
}

.sc-ev--limited {
	color: var(--sc-coral-ink);
}

.sc-ev--none {
	color: var(--sc-muted);
}

.sc-glance__how {
	margin: 10px 0 0;
	font-size: .8125rem;
}

.sc-glance__how a {
	color: var(--sc-petrol);
}

/* Contents */
.sc-toc {
	padding: 12px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-toc summary {
	color: var(--sc-petrol-dark);
	font-weight: 700;
	cursor: pointer;
}

.sc-toc ol {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding-inline-start: 1.3em;
	font-size: .875rem;
	line-height: 1.9;
}

.sc-toc a {
	color: var(--sc-ink);
}

/* Body text */
.sc-entry__body {
	font-size: 1rem;
	line-height: 2.05;
}

.sc-entry__body > :first-child {
	margin-top: 0;
}

.sc-entry__body h2 {
	margin: 28px 0 8px;
	color: var(--sc-petrol-dark);
	font-size: 1.1875rem;
	font-weight: 800;
	line-height: 1.6;
	scroll-margin-top: 90px;
}

.sc-entry__body h3 {
	margin: 18px 0 6px;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.sc-entry__body p {
	margin: 0 0 12px;
}

.sc-entry__body ul,
.sc-entry__body ol {
	margin: 0 0 14px;
	padding-inline-start: 1.3em;
}

.sc-entry__body li {
	margin-bottom: 6px;
}

/* Boxes inside the text */
.sc-tldr {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: var(--sc-r);
	background: var(--sc-petrol-soft);
}

.sc-tldr__t,
.sc-know__t,
.sc-label__t,
.sc-mind__t,
.sc-fitq__t {
	margin: 0 0 6px !important;
	font-size: .9375rem;
	font-weight: 800;
}

.sc-tldr__t {
	color: var(--sc-petrol-dark);
}

.sc-tldr ul {
	margin: 0 !important;
}

.sc-know {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid var(--sc-line);
	border-inline-start: 4px solid var(--sc-coral);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-know__t {
	color: var(--sc-coral-ink);
}

.sc-know p:last-child,
.sc-mind p:last-child,
.sc-label p:last-child {
	margin-bottom: 0;
}

.sc-label {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px dashed var(--sc-petrol);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-label__t {
	color: var(--sc-petrol-dark);
}

.sc-label ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	direction: ltr;
}

.sc-label li {
	margin: 0 !important;
	padding: 3px 10px;
	border-radius: 8px;
	background: var(--sc-bg);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.9;
}

.sc-when {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 14px;
}

.sc-when span {
	padding: 4px 14px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	background: var(--sc-surface);
	color: #b3aca3;
	font-size: .8125rem;
	font-weight: 700;
}

.sc-when .is-on {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff;
}

.sc-entry__body .sc-mistakes {
	padding: 0;
	list-style: none;
	counter-reset: sc-m;
}

.sc-mistakes li {
	position: relative;
	padding-inline-start: 2.3em;
	counter-increment: sc-m;
}

.sc-mistakes li::before {
	content: counter(sc-m, persian);
	position: absolute;
	top: .3em;
	inset-inline-start: 0;
	display: grid;
	place-items: center;
	width: 1.7em;
	height: 1.7em;
	border-radius: 50%;
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
	font-size: .8125rem;
	font-weight: 800;
	line-height: 1;
}

.sc-mind {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid var(--sc-line);
	border-inline-start: 4px solid var(--sc-petrol);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-mind__t {
	color: var(--sc-petrol-dark);
}

/* «مناسب منه؟» — answers stay in the browser. */
.sc-fitq {
	display: grid;
	gap: 4px;
	margin: 18px 0;
	padding: 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-fitq__t {
	color: var(--sc-petrol-dark);
	font-size: 1.0625rem !important;
}

.sc-fitq__sub {
	margin: 0 0 4px !important;
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-fitq__q {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--sc-line);
	font-size: .9375rem;
	line-height: 1.8;
}

.sc-fitq__q > span {
	flex: 1 1 14em;
}

.sc-fitq__btns {
	display: inline-flex;
	gap: 6px;
}

.sc-fitq button {
	min-width: 64px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	background: var(--sc-bg);
	color: var(--sc-ink);
	font: inherit;
	font-size: .875rem;
	cursor: pointer;
}

.sc-fitq button[aria-pressed="true"] {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff;
}

.sc-fitq__r {
	margin: 10px 0 0 !important;
	padding: 12px 14px;
	border-radius: var(--sc-r);
	font-size: .9375rem;
	line-height: 1.9;
}

.sc-fitq__r ul {
	margin: 6px 0 0 !important;
}

.sc-fitq__r--ok {
	background: #e6f0ec;
}

.sc-fitq__r--care {
	background: var(--sc-coral-soft);
}

.sc-fitq__r--stop {
	background: #f8e4e1;
}

.sc-fitq__more {
	display: block;
	margin-top: 4px;
	color: var(--sc-muted);
	font-size: .8125rem;
}

/* Myth card: tap to reveal the fact */
.sc-myth {
	overflow: hidden;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-myth summary {
	display: grid;
	gap: 6px;
	padding: 14px 16px;
	background: var(--sc-coral-soft);
	list-style: none;
	cursor: pointer;
}

.sc-myth summary::-webkit-details-marker {
	display: none;
}

.sc-myth__tag {
	justify-self: start;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--sc-surface);
	color: var(--sc-coral-ink);
	font-size: .75rem;
	font-weight: 700;
}

.sc-myth__q {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.8;
}

.sc-myth__tap {
	color: var(--sc-coral-ink);
	font-size: .8125rem;
	font-weight: 600;
}

.sc-myth[open] .sc-myth__tap {
	display: none;
}

.sc-myth__fact {
	padding: 14px 16px;
	background: #e6f0ec;
}

.sc-myth__fact .sc-myth__tag {
	color: #2c6a59;
}

.sc-myth__fact p {
	margin: 6px 0 0;
	line-height: 1.95;
}

/* Pairings */
.sc-pairs__cols {
	display: grid;
	gap: 12px;
}

.sc-pairs__col {
	padding: 14px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-pairs__col h3 {
	margin: 0 0 8px;
	font-size: .9375rem;
	font-weight: 800;
}

.sc-pairs__col--good h3 {
	color: #2c6a59;
}

.sc-pairs__col--care h3 {
	color: var(--sc-coral-ink);
}

.sc-pairs__col ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-pairs__col li {
	display: grid;
	gap: 2px;
	font-size: .875rem;
	line-height: 1.8;
}

.sc-pairs__col li > .sc-term,
.sc-pairs__col li > b {
	justify-self: start;
}

.sc-pairs__col li > span {
	color: var(--sc-muted);
}

/* Products */
.sc-dict__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.sc-entry__more {
	width: 100%;
	margin-top: 12px;
}

.sc-entry__empty {
	margin: 0;
	color: var(--sc-muted);
}

/* FAQ */
.sc-faq {
	display: grid;
	gap: 8px;
}

.sc-faq__item {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	font-weight: 700;
	line-height: 1.8;
	list-style: none;
	cursor: pointer;
}

.sc-faq__item summary::-webkit-details-marker {
	display: none;
}

.sc-faq__item summary::after {
	content: "+";
	flex: none;
	color: var(--sc-petrol);
	font-size: 1.25rem;
	font-weight: 400;
}

.sc-faq__item[open] summary::after {
	content: "−";
}

.sc-faq__item p {
	margin: 0;
	padding: 0 16px 14px;
	line-height: 2;
}

/* Sources: a button that opens the list */
.sc-sources {
	scroll-margin-top: 90px;
}

.sc-sources__box {
	border: 1px solid var(--sc-petrol);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
}

.sc-sources__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 16px;
	color: var(--sc-petrol);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.sc-sources__btn::-webkit-details-marker {
	display: none;
}

.sc-sources__btn::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	margin-inline-start: 4px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform .2s;
}

.sc-sources__box[open] .sc-sources__btn {
	border-bottom: 1px solid var(--sc-line);
	background: var(--sc-petrol-soft);
	border-radius: var(--sc-r) var(--sc-r) 0 0;
}

.sc-sources__box[open] .sc-sources__btn::after {
	transform: rotate(135deg);
}

.sc-sources__label {
	flex: 1;
}

.sc-sources__count {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--sc-petrol);
	color: #fff;
	font-size: .75rem;
}

.sc-sources__intro {
	margin: 0;
	padding: 12px 16px 0;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.9;
}

.sc-sources ol {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 12px 16px 16px;
	padding-inline-start: 2.2em;
	font-size: .8125rem;
	line-height: 1.8;
}

.sc-sources li a {
	display: block;
	color: var(--sc-ink);
	text-align: left;
	overflow-wrap: anywhere;
}

.sc-sources__why {
	display: block;
	color: var(--sc-muted);
}

/* Educational note and related */
.sc-note {
	display: grid;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--sc-line);
	border-inline-start: 4px solid var(--sc-petrol);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	font-size: .875rem;
	line-height: 1.95;
}

.sc-note p {
	margin: 0;
}

.sc-note .sc-btn {
	justify-self: start;
}

.sc-related {
	display: grid;
	gap: 12px;
}

.sc-related .sc-h2,
.sc-pairs .sc-h2,
.sc-faq .sc-h2,
.sc-entry__products .sc-h2,
.sc-checker .sc-h2,
.sc-method .sc-h2 {
	margin: 0 0 4px;
}

.sc-related__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-chip-link {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .875rem;
	text-decoration: none;
}

.sc-chip-link--hair {
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

/* Index: alphabet, filter, cards */
.sc-dict__result {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	font-size: .875rem;
	line-height: 1.9;
}

.sc-dict__result a {
	color: var(--sc-petrol);
	font-weight: 600;
	margin-inline-start: 6px;
}

.sc-az__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.sc-az__tabs,
.sc-az__filter {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	background: var(--sc-surface);
}

.sc-az__tabs button,
.sc-az__filter button {
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--sc-muted);
	font: inherit;
	font-size: .8125rem;
	font-weight: 600;
	cursor: pointer;
}

.sc-az__tabs [aria-selected="true"],
.sc-az__filter [aria-pressed="true"] {
	background: var(--sc-petrol);
	color: #fff;
}

.sc-az__letters {
	display: flex;
	gap: 6px;
	padding: 10px 0 4px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.sc-az__letters a,
.sc-az__letters span {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 800;
}

.sc-az__letters a {
	border: 1px solid var(--sc-line);
	background: var(--sc-surface);
	color: var(--sc-petrol);
	text-decoration: none;
}

.sc-az__letters a:hover,
.sc-az__letters a:focus-visible {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff;
}

.sc-az__letters span {
	color: #cdc6bd;
}

.sc-dict.is-az-fa [data-az-letters="en"],
.sc-dict.is-az-fa #sc-az-en,
.sc-dict.is-az-en [data-az-letters="fa"],
.sc-dict.is-az-en #sc-az-fa {
	display: none;
}

.sc-az__panel-title {
	margin: 8px 0 0;
	color: var(--sc-muted);
	font-size: .9375rem;
}

.sc-dict.is-az-en .sc-az__panel-title {
	display: none;
}

.sc-letter {
	scroll-margin-top: 90px;
}

.sc-letter[hidden] {
	display: none;
}

.sc-letter__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 8px;
	color: var(--sc-petrol);
	font-size: 1.25rem;
	font-weight: 800;
}

.sc-letter__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--sc-line);
}

.sc-icards {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-icards li[hidden] {
	display: none;
}

.sc-icard {
	display: grid;
	gap: 6px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	color: var(--sc-ink);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}

.sc-icard:hover,
.sc-icard:focus-visible {
	border-color: var(--sc-petrol);
	box-shadow: 0 6px 18px rgba(15, 92, 90, .1);
}

.sc-icard__names {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}

.sc-icard__fa {
	font-size: 1.0625rem;
	font-weight: 800;
}

.sc-icard__en {
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-icard__en--top {
	color: var(--sc-ink);
	font-size: 1rem;
	font-weight: 700;
}

.sc-icard__fa--sub {
	color: var(--sc-muted);
	font-size: .875rem;
	font-weight: 500;
}

.sc-icard__role {
	justify-self: start;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .75rem;
	font-weight: 600;
}

.sc-icard--hair .sc-icard__role {
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

.sc-icard__sum {
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.85;
}

.sc-icards--compact .sc-icard {
	padding: 10px 14px;
}

/* Ingredient-list checker */
.sc-checker,
.sc-method {
	display: grid;
	gap: 12px;
	padding: 18px 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
	scroll-margin-top: 90px;
}

.sc-checker p,
.sc-method p {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.95;
}

.sc-checker__text {
	width: 100%;
	min-height: 120px;
	padding: 12px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-bg);
	color: var(--sc-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.7;
	text-align: left;
	resize: vertical;
}

.sc-checker__text:focus {
	border-color: var(--sc-petrol);
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 92, 90, .15);
}

.sc-checker__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sc-checker__out:empty {
	display: none;
}

.sc-checker__out {
	display: grid;
	gap: 12px;
}

.sc-checker .sc-checker__note {
	color: var(--sc-muted);
	font-size: .75rem;
}

.sc-chk__sum {
	padding: 10px 14px;
	border-radius: var(--sc-r);
	background: var(--sc-petrol-soft);
	font-weight: 700;
}

.sc-chk__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-chk__item {
	display: grid;
	gap: 6px;
	padding: 12px 14px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
}

.sc-chk__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.sc-chk__pos {
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--sc-bg);
	color: var(--sc-muted);
	font-size: .75rem;
	font-weight: 700;
}

.sc-chk__inci {
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-chk__role {
	color: var(--sc-ink);
	font-size: .8125rem;
}

.sc-chk__watch {
	padding: 12px 14px;
	border-radius: var(--sc-r);
	background: var(--sc-coral-soft);
	font-size: .875rem;
	line-height: 1.9;
}

.sc-chk__watch ul {
	margin: 6px 0 0;
	padding-inline-start: 1.2em;
}

.sc-chk__unknown summary {
	color: var(--sc-petrol);
	font-size: .875rem;
	font-weight: 600;
	cursor: pointer;
}

.sc-chk__unknown p {
	margin: 8px 0 !important;
	color: var(--sc-muted);
	font-size: .8125rem !important;
}

.sc-chk__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	direction: ltr;
}

.sc-chk__chips span {
	padding: 2px 8px;
	border: 1px solid var(--sc-line);
	border-radius: 8px;
	background: var(--sc-bg);
	font-size: .75rem;
}

.sc-method__levels {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .875rem;
	line-height: 1.9;
}

.sc-method__levels li {
	display: grid;
	gap: 4px;
}

.sc-method__levels .sc-ev {
	justify-self: start;
	padding: 6px 10px;
}

/* Tablet and up */
@media (min-width: 600px) {
	.sc-icards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-pairs__cols {
		grid-template-columns: 1fr 1fr;
	}

	.sc-dict__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sc-entry__more {
		width: auto;
	}
}

@media (min-width: 768px) {
	.sc-dict {
		padding-top: 20px;
	}

	.sc-dict__wrap {
		gap: 24px;
	}

	.sc-entry__head,
	.sc-dict__hero {
		padding: 28px;
	}

	.sc-dict__title,
	.sc-entry__title {
		font-size: 1.875rem;
	}

	.sc-glance,
	.sc-checker,
	.sc-method {
		padding: 22px 24px;
	}

	.sc-dict__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.sc-icards--compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* One column that never grows past the screen: the alphabet strip (32 letters on one line)
   scrolls inside itself instead of widening the whole page on phones. */
.sc-dict__wrap {
	grid-template-columns: minmax(0, 1fr);
}
.sc-dict__wrap > * {
	min-width: 0;
}
