.std-service-table,
.std-service-table * {
	box-sizing: border-box;
}

.std-service-table {
	--std-col-1: 34%;
	--std-col-2: 20%;
	--std-col-3: 24%;
	--std-section-pad-right: 34px;
	--std-section-pad-left: 34px;
	--std-section-name-gap: 12px;
	--std-icon-size: 16px;
	--std-list-height: 260px;
	width: 100%;
	min-width: 800px;
	margin-inline: auto;
	background: #eaf3f8;
	color: #344b59;
}

.std-service-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-color: #f2632a transparent;
	scrollbar-width: thin;
}

.std-service-table-scroll::-webkit-scrollbar {
	height: 8px;
}

.std-service-table-scroll::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #f2632a;
}

.std-service-table__header,
.std-service-table__toggle,
.std-service-table__discipline {
	display: grid;
	grid-template-columns: minmax(0, var(--std-col-1)) minmax(0, var(--std-col-2)) minmax(0, var(--std-col-3)) minmax(0, 1fr);
	align-items: center;
	column-gap: 12px;
	padding-right: var(--std-section-pad-right) !important;
	padding-left: var(--std-section-pad-left) !important;
}

.std-service-table__header {
	margin-bottom: 20px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.std-service-table__header > span,
.std-service-table__toggle > span,
.std-service-table__discipline > div {
	min-width: 0;
}

.std-service-table__sections {
	display: flex;
	flex-direction: column;
}

.std-service-table__section[hidden] {
	display: none !important;
}

.std-service-table__toggle {
	width: 100%;
	min-height: 64px;
	margin: 0;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.std-service-table__toggle:focus-visible,
.std-service-table__more:focus-visible,
.std-service-table__name a:focus-visible {
	outline: 3px solid #ff9b70;
	outline-offset: 3px;
}

.std-service-table__section-name {
	display: flex;
	align-items: center;
	gap: var(--std-section-name-gap);
	overflow: hidden;
	font-weight: 700;
}

.std-service-table__section-name > span,
.std-service-table__name > a,
.std-service-table__name > span {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.std-service-table__toggle > span:not(.std-service-table__section-name),
.std-service-table__header > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.std-service-table__chevron {
	flex: 0 0 auto;
	width: var(--std-icon-size);
	height: var(--std-icon-size);
	transform: rotate(0deg);
	transition: transform 220ms ease;
}

.std-service-table__section.is-open .std-service-table__chevron {
	transform: rotate(180deg);
}

.std-service-table__panel {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	visibility: hidden;
	transition: grid-template-rows 260ms ease, margin-top 260ms ease, visibility 0s linear 260ms;
}

.std-service-table__section.is-open .std-service-table__panel {
	grid-template-rows: 1fr;
	margin-top: 14px;
	visibility: visible;
	transition: grid-template-rows 260ms ease, margin-top 260ms ease, visibility 0s linear 0s;
}

.std-service-table__panel-clip {
	min-height: 0;
	overflow: hidden;
}

.std-service-table__body {
	max-height: var(--std-list-height);
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-color: #f2632a transparent;
	scrollbar-width: thin;
}

.std-service-table__body::-webkit-scrollbar {
	width: 7px;
}

.std-service-table__body::-webkit-scrollbar-track {
	margin-block: 16px;
	background: transparent;
}

.std-service-table__body::-webkit-scrollbar-thumb {
	border: 2px solid transparent;
	border-radius: 999px;
	background: #f2632a;
	background-clip: padding-box;
}

.std-service-table__discipline {
	min-height: 40px;
	line-height: 1.35;
}

.std-service-table__name {
	padding-left: calc(var(--std-icon-size) + var(--std-section-name-gap));
	font-weight: 600;
}

.std-service-table__name a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 180ms ease;
}

.std-service-table__empty {
	margin: 0;
	padding: 24px 34px;
	text-align: center;
}

.std-service-table__more-wrap {
	display: flex;
	margin-top: 26px;
}

.std-service-table__more-wrap[hidden] {
	display: none;
}

.std-service-table__more {
	border: 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.std-service-table__more:hover {
	transform: translateY(-1px);
}

.std-service-table__editor-notice {
	padding: 16px 20px;
	border-left: 4px solid #f2632a;
	background: #fff8f4;
	color: #263d4b;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.std-service-table__header,
	.std-service-table__toggle,
	.std-service-table__discipline {
		column-gap: 8px;
	}
}

@media (max-width: 767px) {
	.std-service-table__header {
		display: none;
	}

	.std-service-table--mobile-header .std-service-table__header {
		display: grid;
	}
}

@media (prefers-reduced-motion: reduce) {
	.std-service-table__panel,
	.std-service-table__chevron,
	.std-service-table__toggle,
	.std-service-table__more,
	.std-service-table__name a {
		transition-duration: 0.01ms !important;
	}
}
