/* Fallback layout for IQMO uploads/* pages (архив без оригинальной сборки) */
:root {
	--bg: #f3f5f8;
	--ink: #11141a;
	--muted: #6b7280;
	--line: #e6e9ef;
	--card: #fff;
	--accent: #4f7bd6;
	--green: #3ec37a;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(17, 20, 26, 0.06), 0 8px 24px -12px rgba(17, 20, 26, 0.1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
.page__body {
	font-family: 'Manrope', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--bg);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}
.header {
	background: var(--card);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
	position: sticky;
	top: 0;
	z-index: 50;
}
.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.header__logo svg { display: block; height: 24px; }
.header__logo svg text { transition: fill 0.15s ease; }
.header__logo:hover svg text { fill: var(--accent); }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	border: 1.5px solid var(--line);
	background: var(--card);
	color: var(--ink);
	transition: border-color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--ink); }
.btn--secondary {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}
.page__main { flex: 1; padding: 24px 0 48px; }
.section { margin: 0; }
.item-style {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.reset-styles { all: revert; }
.reset-styles.item-style {
	all: unset;
	display: block;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 20px;
}
.footer {
	background: var(--card);
	border-top: 1px solid var(--line);
	margin-top: auto;
	font-size: 14px;
	color: var(--ink);
}
.footer__top-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
	padding: 36px 20px 28px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__title { font-weight: 700; margin-bottom: 4px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-container {
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}
.text-accent { color: var(--accent); }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.is-flex { display: flex; align-items: center; gap: 8px; }
.hidden { display: none !important; }

/* Modals (базово) */
.modal { display: none; position: fixed; inset: 0; z-index: 100; }
.modal.is-open { display: block; }
.modal__overlay {
	position: absolute; inset: 0;
	background: rgba(17, 20, 26, 0.45);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
}
.modal__content {
	position: relative;
	background: var(--card);
	border-radius: var(--radius);
	padding: 28px;
	max-width: 420px;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
.modal__close {
	position: absolute;
	top: 16px; right: 16px;
	width: 32px; height: 32px;
	cursor: pointer;
	opacity: 0.6;
}
.modal__close::before, .modal__close::after {
	content: '';
	position: absolute; left: 7px; top: 15px;
	width: 18px; height: 2px; background: var(--ink);
}
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }
.modal__title { margin: 0 0 10px; font-size: 22px; }
.modal__descr { margin: 0; color: var(--muted); font-size: 14px; }
.form-input {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	font: inherit;
}
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: var(--muted); }
.check__input { position: absolute; opacity: 0; }
.check__box {
	flex: 0 0 20px;
	width: 20px; height: 20px;
	border: 2px solid var(--line);
	border-radius: 4px;
	margin-top: 2px;
}
