.ii-iz {
	max-width: 100%;
	margin: 0;
	padding: 24px 0 48px;
}

.ii-iz__title {
	margin: 0 0 6px;
	font-size: 1.75rem;
}

.ii-iz__sub {
	color: #5a6474;
	margin-bottom: 8px;
	font-size: .95rem;
}

.ii-iz__sub--hub {
	margin-bottom: 22px;
}

.ii-iz__task-note {
	color: #6b7280;
	margin: 0 0 16px;
	font-size: .9rem;
}

.ii-iz__back {
	display: inline-block;
	margin-bottom: 16px;
	font-size: .9rem;
	color: #687385;
	text-decoration: none;
}

.ii-iz__back--hub {
	margin-top: 20px;
	margin-bottom: 0;
}

.ii-iz__back:hover {
	color: #000c2d;
	text-decoration: underline;
}

.ii-iz-auth {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 96, 137, 0.18);
	border-radius: 8px;
	background: rgba(0, 96, 137, 0.05);
}

.ii-iz-auth__text {
	margin: 0;
	color: #5a6474;
	font-size: .9rem;
	line-height: 1.5;
}

.ii-iz-auth__text a {
	color: #006089;
	font-weight: 600;
	text-decoration: none;
}

.ii-iz-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	margin-bottom: 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ii-iz-catalog {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.ii-iz-card-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	text-decoration: none !important;
	color: #111827 !important;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ii-iz-card-link:hover {
	border-color: #006089;
	background: #fff;
	box-shadow: 0 4px 14px -6px rgba(0, 96, 137, 0.35);
	color: #006089 !important;
}

.ii-iz-card-link__num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #dde4ea;
	font-weight: 700;
	font-size: .9rem;
	color: #006089;
}

.ii-iz-card-link__title {
	font-size: .92rem;
	line-height: 1.4;
}

.ii-iz-audio {
	width: 100%;
	margin-top: 4px;
}

.ii-iz-fipi-link {
	margin: 0 0 2px;
	font-size: .88rem;
	line-height: 1.4;
}

.ii-iz-fipi-link a {
	color: #006089;
	text-decoration: none;
}

.ii-iz-fipi-link a:hover {
	text-decoration: underline;
}

.ii-iz-ai-voice {
	margin: 0 0 10px;
	font-size: .88rem;
	line-height: 1.4;
	color: #6b7280;
}

.ii-iz label,
.ii-iz .ii-iz-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.ii-iz .hint {
	font-weight: 400;
	color: #6b7280;
	font-size: .85rem;
	margin-bottom: 8px;
}

.ii-iz textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	font: inherit;
	resize: vertical;
	line-height: 1.5;
	box-sizing: border-box;
	min-height: 220px;
}

.ii-iz-word-counter {
	margin: 8px 0 0;
	font-size: .85rem;
	color: #6b7280;
}

.ii-iz .field {
	margin-bottom: 18px;
}

.ii-iz-form--locked textarea:disabled {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}

.ii-iz button[type="submit"] {
	display: inline-block;
	padding: 4px 14px;
	margin-top: 16px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	color: #006089;
	background: #f9fafa;
	border: 2px solid #006089;
	border-radius: 4px;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ii-iz button[type="submit"]:hover:not(:disabled) {
	background: #006089;
	color: #ffeded;
	border-color: #006089;
}

.ii-iz button[type="submit"]:disabled {
	opacity: .6;
	cursor: wait;
}

.ii-iz .error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 12px;
	margin-top: 12px;
	display: none;
}

.ii-iz .hidden {
	display: none;
}

#iiiz-result {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ii-iz .score-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.ii-iz-score-blocks {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.ii-iz-score-block__label {
	display: block;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #6b7280;
	margin-bottom: 4px;
}

.ii-iz-grammar-exam-note {
	margin: -4px 0 10px;
	font-size: .85rem;
	line-height: 1.4;
	color: #6b7280;
}

.ii-iz .score-big {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1d4ed8;
}

.ii-iz .score-big--sm {
	font-size: 1.75rem;
}

.ii-iz .score-big span {
	font-size: 1.25rem;
	color: #6b7280;
	font-weight: 500;
}

.ii-iz .badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 600;
}

.ii-iz .badge-warn {
	background: #fef3c7;
	color: #92400e;
}

.ii-iz .badge-ok {
	background: #d1fae5;
	color: #065f46;
}

.ii-iz .disclaimer {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: .85rem;
	color: #64748b;
	margin-bottom: 16px;
}

.ii-iz-grammar-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
	font-size: .88rem;
}

#dle-content .ii-iz table,
.ii-iz table {
	display: table;
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: .9rem;
}

#dle-content .ii-iz thead,
.ii-iz thead {
	display: table-header-group;
}

#dle-content .ii-iz tbody,
.ii-iz tbody {
	display: table-row-group;
}

#dle-content .ii-iz tr,
.ii-iz tr {
	display: table-row;
}

#dle-content .ii-iz th,
#dle-content .ii-iz td,
.ii-iz th,
.ii-iz td {
	display: table-cell;
}

.ii-iz th:nth-child(1),
.ii-iz td:nth-child(1) {
	width: 110px;
	min-width: 110px;
}

.ii-iz th:nth-child(2),
.ii-iz td:nth-child(2) {
	width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

.ii-iz th:nth-child(3),
.ii-iz td:nth-child(3) {
	width: 72px;
}

.ii-iz th,
.ii-iz td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

.ii-iz th {
	background: #f8fafc;
	font-weight: 600;
}

.ii-iz .pts {
	font-weight: 700;
	white-space: nowrap;
	color: #1d4ed8;
}

.ii-iz .pts-zero {
	color: #dc2626;
}

.ii-iz .pts-full {
	color: #059669;
}

.ii-iz .section-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 20px 0 10px;
	color: #374151;
}

.ii-iz .section-title--sm {
	font-size: .92rem;
	margin-top: 14px;
}

.ii-iz .recs,
.ii-iz .errors-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ii-iz .recs li {
	padding: 4px 0;
	font-size: .9rem;
	line-height: 1.45;
}

.ii-iz .recs li::before {
	content: "→ ";
}

.ii-iz .errors-list li {
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: .9rem;
	line-height: 1.45;
}

.ii-iz-microtheme-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ii-iz-microtheme {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: .88rem;
}

.ii-iz-microtheme__num {
	font-weight: 700;
	color: #374151;
}

.ii-iz-microtheme__status {
	font-weight: 600;
}

.ii-iz-microtheme.is-ok .ii-iz-microtheme__status {
	color: #059669;
}

.ii-iz-microtheme.is-partial .ii-iz-microtheme__status {
	color: #d97706;
}

.ii-iz-microtheme.is-missing .ii-iz-microtheme__status,
.ii-iz-microtheme.is-extra .ii-iz-microtheme__status {
	color: #dc2626;
}

.ii-iz-microtheme__note {
	color: #6b7280;
	flex: 1 1 100%;
}

.ii-iz-history__title {
	margin: 0 0 14px;
	font-size: 1.1rem;
}

.ii-iz-history__note {
	margin: 0;
	color: #6b7280;
	font-size: .9rem;
	line-height: 1.5;
}

.ii-iz-history__note code {
	font-size: .85em;
}

.ii-iz-history__empty {
	margin: 0;
	color: #6b7280;
	font-size: .9rem;
}

.ii-iz-history-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ii-iz-history-item + .ii-iz-history-item {
	margin-top: 8px;
}

.ii-iz-history-item__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.ii-iz-history-item__btn:hover {
	border-color: rgba(0, 96, 137, 0.35);
	background: rgba(0, 96, 137, 0.03);
}

.ii-iz-history-item.is-active .ii-iz-history-item__btn {
	border-color: #006089;
	background: rgba(0, 96, 137, 0.06);
}

.ii-iz-history-item__main {
	min-width: 0;
}

.ii-iz-history-item__topic {
	display: block;
	font-weight: 600;
	color: #111827;
	margin-bottom: 4px;
}

.ii-iz-history-item__meta {
	display: block;
	font-size: .82rem;
	color: #6b7280;
}

.ii-iz-history-item__score {
	flex-shrink: 0;
	font-weight: 700;
	color: #1d4ed8;
	white-space: nowrap;
}

.ii-iz-history-item__score.is-zero {
	color: #dc2626;
}

.ii-iz-history-item--collapsed {
	display: none;
}

.ii-iz-history__show-all {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 10px 14px;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	font-size: .9rem;
	color: #006089;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.ii-iz-history__show-all:hover {
	border-color: rgba(0, 96, 137, 0.35);
	background: rgba(0, 96, 137, 0.03);
}

@media (max-width: 640px) {
	.ii-iz-catalog {
		grid-template-columns: 1fr;
	}

	.ii-iz .score-big {
		font-size: 2rem;
	}
}
