:root {
	--tbi-ink: #101215;
	--tbi-muted: #68707a;
	--tbi-line: #dde1e6;
	--tbi-soft: #f4f6f8;
	--tbi-white: #ffffff;
}

.tbi-catalog-shell,
.tbi-kb-single {
	box-sizing: border-box;
}

.tbi-catalog-shell *,
.tbi-kb-single * {
	box-sizing: border-box;
}

.tbi-catalog-shell {
	clear: both;
	display: grid;
	grid-template-columns: minmax(238px, 278px) minmax(0, 1fr);
	gap: clamp(26px, 3vw, 46px);
	width: 100%;
	margin-top: 30px;
	align-items: start;
}

.tbi-catalog-results {
	grid-column: 2;
	min-width: 0;
}

.tbi-catalog-sidebar {
	grid-column: 1;
	grid-row: 1;
	position: sticky;
	top: 34px;
	border: 1px solid var(--tbi-line);
	background: var(--tbi-white);
}

.admin-bar .tbi-catalog-sidebar {
	top: 66px;
}

.tbi-catalog-sidebar__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	padding: 24px;
	background: var(--tbi-ink);
	color: var(--tbi-white);
}

.tbi-catalog-sidebar__header span {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .19em;
}

.tbi-catalog-sidebar__header strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
}

.tbi-catalog-sidebar__header button {
	display: none;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.tbi-catalog-filter-group,
.tbi-catalog-attribute-form {
	padding: 24px;
	border-bottom: 1px solid var(--tbi-line);
}

.tbi-catalog-filter-group h2,
.tbi-catalog-attribute-form h2 {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tbi-catalog-subcategories {
	display: grid;
	gap: 2px;
}

.tbi-catalog-subcategories a {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 18px;
	gap: 10px;
	align-items: center;
	min-height: 47px;
	padding: 10px 8px 10px 12px;
	border-left: 2px solid transparent;
	color: var(--tbi-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, padding .18s ease;
}

.tbi-catalog-subcategories a:hover,
.tbi-catalog-subcategories a:focus-visible {
	border-left-color: var(--tbi-ink);
	background: var(--tbi-soft);
	padding-left: 16px;
	outline: 0;
}

.tbi-catalog-subcategories small {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 27px;
	height: 24px;
	padding: 0 6px;
	background: var(--tbi-soft);
	color: var(--tbi-muted);
	font-size: 11px;
	font-weight: 700;
}

.tbi-catalog-subcategories svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.tbi-catalog-attribute-form__title p {
	margin: -6px 0 18px;
	color: var(--tbi-muted);
	font-size: 12px;
	line-height: 1.5;
}

.tbi-catalog-select {
	display: grid;
	gap: 7px;
	margin-top: 15px;
}

.tbi-catalog-select > span {
	font-size: 12px;
	font-weight: 750;
}

.tbi-catalog-select select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--tbi-line);
	border-radius: 0;
	padding: 0 35px 0 12px;
	background-color: var(--tbi-white);
	color: var(--tbi-ink);
	font-size: 13px;
}

.tbi-catalog-attribute-form__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
}

.tbi-catalog-attribute-form__actions button {
	min-height: 42px;
	border: 1px solid var(--tbi-ink);
	padding: 0 16px;
	background: var(--tbi-ink);
	color: var(--tbi-white);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.tbi-catalog-attribute-form__actions a {
	color: var(--tbi-muted);
	font-size: 12px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.tbi-catalog-sidebar__help {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	padding: 22px 24px;
	background: var(--tbi-soft);
}

.tbi-catalog-sidebar__help svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--tbi-ink);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.tbi-catalog-sidebar__help p {
	margin: 0;
	color: var(--tbi-muted);
	font-size: 12px;
	line-height: 1.5;
}

.tbi-catalog-sidebar__help strong {
	color: var(--tbi-ink);
}

body .tbi-catalog-shell > .tbi-catalog-toggle,
body .tbi-catalog-shell > .tbi-catalog-overlay {
	display: none !important;
}

.tbi-knowledge61__card.is-linked {
	position: relative;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tbi-knowledge61__card.is-linked:hover,
.tbi-knowledge61__card.is-linked:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(16, 18, 21, .1);
}

.tbi-knowledge-card-link {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.tbi-knowledge-card-link:focus-visible {
	outline: 3px solid #2367d1;
	outline-offset: 3px;
}

.tbi-knowledge61__card.is-linked footer em {
	color: var(--tbi-ink);
	font-style: normal;
	font-weight: 800;
}

.tbi-kb-single {
	background: var(--tbi-white);
	color: var(--tbi-ink);
}

.tbi-kb-container {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.tbi-kb-hero {
	padding: clamp(42px, 7vw, 96px) 0 clamp(48px, 7vw, 86px);
	border-bottom: 1px solid var(--tbi-line);
	background: var(--tbi-soft);
}

.tbi-kb-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: clamp(34px, 5vw, 66px);
	color: var(--tbi-muted);
	font-size: 13px;
}

.tbi-kb-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.tbi-kb-breadcrumbs a:hover {
	color: var(--tbi-ink);
}

.tbi-kb-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 126px;
	gap: clamp(30px, 6vw, 90px);
	align-items: start;
}

.tbi-kb-kicker {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .19em;
	text-transform: uppercase;
}

.tbi-kb-hero h1 {
	max-width: 890px;
	margin: 0;
	font-size: clamp(40px, 6.5vw, 78px);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: .98;
}

.tbi-kb-lead {
	max-width: 810px;
	margin: 27px 0 0;
	color: var(--tbi-muted);
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.65;
}

.tbi-kb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 27px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tbi-kb-hero__icon {
	display: grid;
	place-items: center;
	width: 126px;
	height: 126px;
	border-left: 4px solid var(--tbi-ink);
	background: var(--tbi-white);
}

.tbi-kb-hero__icon svg {
	width: 58px;
	height: 58px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.tbi-kb-body {
	padding: clamp(48px, 7vw, 96px) 0;
}

.tbi-kb-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
	justify-content: space-between;
	gap: clamp(42px, 7vw, 100px);
	align-items: start;
}

.tbi-kb-content {
	font-size: 17px;
	line-height: 1.78;
}

.tbi-kb-content > p:first-child,
.tbi-kb-content .tbi-kb-intro {
	margin-top: 0;
	font-size: 21px;
	line-height: 1.65;
}

.tbi-kb-content h2 {
	margin: 62px 0 18px;
	padding-top: 5px;
	font-size: clamp(29px, 3.2vw, 42px);
	letter-spacing: -.035em;
	line-height: 1.12;
}

.tbi-kb-content p,
.tbi-kb-content ul,
.tbi-kb-content ol {
	margin: 0 0 24px;
}

.tbi-kb-content li + li {
	margin-top: 9px;
}

.tbi-kb-key-points,
.tbi-kb-note {
	margin: 40px 0;
	border-left: 4px solid var(--tbi-ink);
	padding: 26px 30px;
	background: var(--tbi-soft);
}

.tbi-kb-key-points > strong,
.tbi-kb-note > strong {
	display: block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tbi-kb-key-points ul,
.tbi-kb-note p {
	margin-bottom: 0;
}

.tbi-kb-table-wrap {
	overflow-x: auto;
	margin: 36px 0;
	border: 1px solid var(--tbi-line);
}

.tbi-kb-table-wrap table {
	width: 100%;
	min-width: 590px;
	border: 0;
	border-collapse: collapse;
}

.tbi-kb-table-wrap th,
.tbi-kb-table-wrap td {
	border: 0;
	border-bottom: 1px solid var(--tbi-line);
	padding: 16px 18px;
	text-align: left;
	vertical-align: top;
}

.tbi-kb-table-wrap th {
	background: var(--tbi-ink);
	color: var(--tbi-white);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tbi-kb-table-wrap tr:last-child td {
	border-bottom: 0;
}

.tbi-kb-aside {
	position: sticky;
	top: 36px;
}

.admin-bar .tbi-kb-aside {
	top: 68px;
}

.tbi-kb-aside__box {
	border: 1px solid var(--tbi-line);
	padding: 26px;
}

.tbi-kb-aside__box + .tbi-kb-aside__box {
	margin-top: 18px;
}

.tbi-kb-aside h2 {
	margin: 0 0 18px;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tbi-kb-aside nav {
	display: grid;
}

.tbi-kb-aside nav a {
	padding: 11px 0;
	border-top: 1px solid var(--tbi-line);
	color: var(--tbi-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

.tbi-kb-aside nav a:hover {
	color: var(--tbi-ink);
}

.tbi-kb-aside__contact {
	background: var(--tbi-ink);
	color: var(--tbi-white);
}

.tbi-kb-aside__contact p {
	margin: 0 0 18px;
	color: #c8ccd1;
	font-size: 13px;
	line-height: 1.6;
}

.tbi-kb-aside__contact a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	border: 1px solid var(--tbi-white);
	padding: 0 16px;
	color: var(--tbi-white);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.tbi-kb-back {
	padding: 36px 0 72px;
	border-top: 1px solid var(--tbi-line);
}

.tbi-kb-back a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--tbi-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 900px) {
	.tbi-catalog-shell {
		display: block;
		margin-top: 22px;
	}

	body .tbi-catalog-shell > .tbi-catalog-toggle {
		display: flex !important;
		width: 100%;
		min-height: 52px;
		justify-content: center;
		align-items: center;
		gap: 12px;
		margin-bottom: 22px;
		border: 1px solid var(--tbi-ink);
		padding: 0 20px;
		background: var(--tbi-ink);
		color: var(--tbi-white);
		font-size: 13px;
		font-weight: 800;
		cursor: pointer;
	}

	.tbi-catalog-toggle__icon {
		display: grid;
		gap: 4px;
		width: 18px;
	}

	.tbi-catalog-toggle__icon i {
		display: block;
		height: 1px;
		background: currentColor;
	}

	.tbi-catalog-sidebar {
		grid-column: auto;
		grid-row: auto;
		position: fixed;
		z-index: 100002;
		top: 0;
		left: 0;
		width: min(88vw, 390px);
		height: 100dvh;
		overflow-y: auto;
		transform: translateX(-104%);
		box-shadow: 18px 0 50px rgba(0, 0, 0, .22);
		transition: transform .25s ease;
	}

	.admin-bar .tbi-catalog-sidebar {
		top: 0;
	}

	.tbi-catalog-sidebar__header {
		position: sticky;
		z-index: 2;
		top: 0;
	}

	.tbi-catalog-sidebar__header button {
		display: block;
	}

	body .tbi-catalog-shell > .tbi-catalog-overlay {
		position: fixed;
		z-index: 100001;
		inset: 0;
		display: block !important;
		background: rgba(10, 12, 14, .58);
		backdrop-filter: blur(2px);
	}

	body .tbi-catalog-shell > .tbi-catalog-overlay[hidden] {
		display: none !important;
	}

	.tbi-catalog-shell.is-filter-open .tbi-catalog-sidebar {
		transform: translateX(0);
	}

	body.tbi-filter-lock {
		overflow: hidden;
	}

	.tbi-kb-hero__grid {
		grid-template-columns: minmax(0, 1fr) 88px;
		gap: 24px;
	}

	.tbi-kb-hero__icon {
		width: 88px;
		height: 88px;
	}

	.tbi-kb-hero__icon svg {
		width: 42px;
		height: 42px;
	}

	.tbi-kb-body__grid {
		grid-template-columns: 1fr;
	}

	.tbi-kb-aside {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.tbi-kb-aside__box + .tbi-kb-aside__box {
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	.tbi-kb-container {
		width: min(100% - 32px, 1180px);
	}

	.tbi-kb-hero__grid {
		grid-template-columns: 1fr;
	}

	.tbi-kb-hero__icon {
		display: none;
	}

	.tbi-kb-hero h1 {
		font-size: clamp(38px, 12vw, 56px);
	}

	.tbi-kb-content {
		font-size: 16px;
	}

	.tbi-kb-content > p:first-child,
	.tbi-kb-content .tbi-kb-intro {
		font-size: 18px;
	}

	.tbi-kb-key-points,
	.tbi-kb-note {
		padding: 22px;
	}

	.tbi-kb-aside {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbi-catalog-sidebar,
	.tbi-catalog-subcategories a,
	.tbi-knowledge61__card.is-linked {
		transition: none;
	}
}
