body {
	top: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.2;
	color: #333;
	background-color: #f8f9fa;
	max-width: 800px;
	margin: 0px auto;
	padding: 0 10px;
}
code {
	padding: 2px 6px;
	border-radius: 4px;
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #f8f9fa;
	border-bottom: 1px solid #000000;
	padding: 1px;
}

footer {
	border-top: 1px solid #000000;
}

h1 {
	text-align: center;
	line-height: 0.0;
}
h4 {
	text-align: center;
	line-height: 0.0;
}
h5 {
	text-align: center;
	font-weight: normal;
	font-size: 1.0rem;
	line-height: 0.0;
	margin-top: 2.0rem;
	margin-bottom: 1.0rem;
}

tbody tr > :first-child {
	text-align: left;
}

.text-bold {
    font-weight: bold;
}

.text-italic {
    font-style: italic;
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px); /* Легкое размытие для солидности */
}

/* Сама коробка с текстом */
.modal-box {
  background-color: #ffffff;
  margin: 5vh auto;
  padding: 30px;
  width: 90%; max-width: 850px;
  height: 80vh;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Контейнер для скролла внутри окна */
.modal-scroll-content {
  height: 100%;
  overflow-y: auto;
  padding-right: 15px;
  color: #333; /* Темный читаемый текст на белом фоне */
}

/* Кнопка закрытия (крестик) */
.close-modal-btn {
  position: absolute; right: 20px; top: 15px;
  font-size: 32px; font-weight: bold; color: #aaa;
  cursor: pointer; z-index: 10000;
}
.close-modal-btn:hover { color: #000; }

.footer-container {
    display: flex; /* Включаем Flexbox */
    justify-content: space-between; /* Располагает блоки по разным краям */
    width: 100%; /* Задайте нужную ширину */
}

<style>
	table {
		width: 100%;
	}
	table, th, td {
		border: 1px solid #a8a9aa;
		border-collapse: collapse;
	}
	table td {
		line-height: 2;
		padding: 1; /* рекомендуется убрать стандартные отступы */
	}
	.col-1 { width: 20%; } /* Первая колонка — 20% */
	.col-2 { width: 40%; } /* Вторая колонка — 50% */
	.col-3 { width: 40%; } /* Третья колонка — 30% */
</style>

