@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500;600;700&display=swap');

/* Личный кабинет */
.lk-cabinet {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	width: 100%;
	padding: 0;
}
.lk-chat-notice {
	display: flex;
	flex: 0 0 100%;
	width: 100%;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: rgba(241, 190, 113, 0.2);
	border: 1px solid rgba(241, 190, 113, 0.5);
	border-radius: 10px;
	margin-bottom: 0;
	color: #fff;
	box-sizing: border-box;
	min-width: 0;
}
.lk-chat-notice-text {
	display: block;
	color: rgba(255, 255, 255, 0.95);
	font-weight: 500;
	min-width: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.lk-chat-notice-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0.4rem 0.75rem;
	color: #f1be71;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}
.lk-chat-notice-link:hover {
	background: rgba(241, 190, 113, 0.25);
	color: #fff;
}
.lk-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}
.lk-dashboard-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.lk-dashboard-card-label {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
}
.lk-dashboard-card-value {
	font-size: 1.75rem;
	font-weight: 600;
	color: #f1be71;
	font-family: 'Montserrat Alternates', sans-serif;
}
.lk-amount-rub {
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}
.lk-amount-rub .lk-ruble {
	margin-left: 0.2em;
	vertical-align: baseline;
}
.lk-content h3.lk-dashboard-section {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	font-size: 1.2rem;
	color: #f1be71;
	font-family: 'Montserrat Alternates', sans-serif;
}
.lk-sidebar {
	flex: 0 0 260px;
	padding: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	align-self: flex-start;
	position: sticky;
	top: 1.5rem;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid #f1be71;
	border-radius: 10px;
}
.lk-user-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(241, 190, 113, 0.4);
}
.lk-user-card-avatar {
	flex-shrink: 0;
}
.lk-user-card-avatar .lk-avatar,
.lk-avatar {
	border-radius: 50%;
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
}
.lk-user-card-info {
	flex: 1;
	min-width: 0;
}
.lk-user-name {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	color: #f1be71;
	line-height: 1.3;
	word-wrap: break-word;
}
.lk-nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.lk-nav-item {
	display: block;
	padding: 0.6rem 0.85rem;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
	border-radius: 8px;
	font-size: 0.9375rem;
	transition: background 0.15s ease, color 0.15s ease;
}
.lk-nav-item:hover {
	background: none;
	color: #f1be71;
}
.lk-nav-item.active {
	background: none;
	color: #f1be71;
}
.lk-nav-item.lk-logout {
	color: #ff6b6b;
}
.lk-nav-item.lk-logout:hover {
	background: rgba(179, 45, 46, 0.3);
	color: #ff6b6b;
}
.lk-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	margin-left: 0.35rem;
	background: #b32d2e;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 50%;
	vertical-align: middle;
}
.lk-content {
	flex: 1;
	min-width: 0;
	padding: 1.75rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid #f1be71;
	border-radius: 10px;
}
.lk-content h2 {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 1.375rem;
	color: #f1be71;
}
.lk-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
	color: #fff;
}
.lk-form p {
	margin-bottom: 1rem;
}
.lk-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}
.lk-content .lk-form label {
	color: rgba(255, 255, 255, 0.95);
}
.lk-auth-box .lk-form label,
.lk-auth-box form label {
	color: rgba(255, 255, 255, 0.95);
}
.lk-form .widefat,
.lk-form .regular-text {
	width: 100%;
	max-width: 500px;
}
/* Инпуты и поля в блоке контента кабинета (тёмный фон) */
.lk-content input[type="text"],
.lk-content input[type="email"],
.lk-content input[type="password"],
.lk-content input[type="number"],
.lk-content input[type="url"],
.lk-content textarea,
.lk-content .lk-form .widefat,
.lk-content .lk-form .regular-text {
	width: 100%;
	max-width: 500px;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	border-radius: 25px;
	border: 1px solid #F1BE71;
	height: 45px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-text-fill-color: #fff;
	box-sizing: border-box;
}
.lk-content input:-webkit-autofill,
.lk-content input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
}
.lk-content textarea {
	height: auto;
	min-height: 45px;
}
.lk-content input::placeholder,
.lk-content textarea::placeholder {
	color: rgba(255, 255, 255, 0.85);
}
.lk-content input::-webkit-input-placeholder,
.lk-content textarea::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.85);
}
.lk-content input::-moz-placeholder,
.lk-content textarea::-moz-placeholder {
	color: rgba(255, 255, 255, 0.85);
	opacity: 1;
}
.lk-content input:focus,
.lk-content textarea:focus {
	border-color: #f1be71;
	outline: none;
	background: rgba(255, 255, 255, 0.1);
}
/* Select и nice-select — в одном стиле с инпутами */
.lk-content select,
.lk-content .nice-select,
.lk-auth-box select,
.lk-auth-box .nice-select {
	border-radius: 25px;
	border: 1px solid #F1BE71;
	height: 45px;
	min-height: 45px;
	box-sizing: border-box;
	padding: 0 1rem;
	font-size: 1rem;
	font-family: inherit;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.lk-content .nice-select,
.lk-auth-box .nice-select {
	display: flex;
	align-items: center;
	line-height: 1.4;
	color: #fff;
	margin-bottom: 0.75rem;
}
.lk-content .nice-select .current,
.lk-content .nice-select .list .option,
.lk-auth-box .nice-select .current,
.lk-auth-box .nice-select .list .option {
	color: #fff;
}
.lk-content select:focus,
.lk-content .nice-select:focus,
.lk-auth-box select:focus,
.lk-auth-box .nice-select:focus {
	outline: none;
	border-color: #f1be71;
}
.lk-content .nice-select .list,
.lk-auth-box .nice-select .list {
	border-radius: 12px;
	border: 1px solid #F1BE71;
	background: rgba(0, 0, 0, 0.95);
	color: #fff;
}
.lk-content .nice-select .option:hover,
.lk-auth-box .nice-select .option:hover {
	background: rgba(241, 190, 113, 0.25);
}
.lk-content .nice-select .option.selected,
.lk-auth-box .nice-select .option.selected {
	background: rgba(241, 190, 113, 0.35);
	color: #f1be71;
}
.lk-form-message {
	display: block;
	margin-top: 1rem;
	padding: 0.6rem 0.75rem;
	border-radius: 6px;
	font-size: 0.9375rem;
}
.lk-form-message.lk-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.lk-form-message.lk-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
.lk-auth-box .lk-form-message {
	margin-bottom: 1rem;
}
.lk-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}
.lk-table th,
.lk-table td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid rgba(241, 190, 113, 0.4);
	color: #fff;
}
.lk-table th {
	background: transparent;
	font-weight: 600;
	color: #f1be71;
}
.lk-table td {
	color: rgba(255, 255, 255, 0.95);
}
.lk-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}
.lk-actions .lk-btn,
.lk-actions .button {
	white-space: nowrap;
	width: auto;
	height: 2.50625vw;
	font-size: 0.8vw;
}
/* Кнопки в таблицах «Мои заказы», «Заказы в работе», «Подходящие заказы» — уменьшенная высота, одинаковая ширина, перенос текста */
.lk-my-orders-table .lk-actions .lk-btn,
.lk-my-orders-table .lk-actions .button,
.lk-orders-in-work-table .lk-actions .lk-btn,
.lk-orders-in-work-table .lk-actions .button,
.lk-suitable-orders-table .lk-actions .lk-btn,
.lk-suitable-orders-table .lk-actions .button {
	height: auto;
	min-height: 32px;
	min-width: 150px;
	width: 150px;
	justify-content: center;
	padding: 0.4rem 0.5rem;
	font-size: 0.8125rem;
	box-sizing: border-box;
	white-space: normal;
	text-align: center;
	line-height: 1.25;
	margin-bottom: 0.3rem;
}
.lk-my-orders-table .lk-actions,
.lk-orders-in-work-table .lk-actions,
.lk-suitable-orders-table .lk-actions {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	align-items: flex-start;
}
.lk-btn,
.lk-btn-primary,
.lk-content .button,
.lk-withdraw-form .lk-btn {
	width: 100%;
	height: 3.50625vw;
	border-radius: 35px;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	font-family: "Montserrat Alternates", sans-serif;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: center;
	padding: 0 1.15625vw;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	cursor: pointer;
	font-size: 1.0416666667vw;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	color: #333;
	border: none;
	text-decoration: none;
	box-sizing: border-box;
	margin-right: 0;
	margin-bottom: 0.5rem;
}
.lk-btn:hover,
.lk-btn-primary:hover {
	opacity: 0.95;
	color: #333;
}
.lk-btn-primary {
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
}
.lk-create-order-footer .lk-btn,
.lk-create-order-footer .button {
	width: auto;
	max-width: 100%;
}
.lk-create-order-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.lk-create-order-link-wrap {
	text-align: right;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.lk-create-order-link-wrap .lk-btn,
.lk-create-order-link-wrap .button {
	width: auto;
	display: inline-flex;
}

/* Оформление заказа — поля и селекты на всю ширину */
#lk-create-order-form p > label {
	margin-top: 0.75rem;
	display: block;
}
#lk-create-order-form p:first-of-type > label {
	margin-top: 0;
}
#lk-create-order-form input[type="text"],
#lk-create-order-form input[type="date"],
#lk-create-order-form textarea,
#lk-create-order-form .widefat,
#lk-create-order-form select,
#lk-create-order-form .nice-select {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Кнопка «Прикрепить файлы» — на десктопе не на всю ширину, подсказка справа */
.lk-btn-attach {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	padding: 0 1.25rem;
	height: 45px;
	min-height: 45px;
	border-radius: 35px;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	font-family: "Montserrat Alternates", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #333 !important;
	cursor: pointer;
	transition: 0.3s;
	border: none;
	box-sizing: border-box;
	flex-shrink: 0;
	text-align: center;
	line-height: 1;
}
.lk-btn-attach input.lk-attach-input-hidden {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.lk-btn-attach::before {
	display: none;
}
.lk-btn-attach:hover {
	opacity: 0.95;
	color: #333;
}
.lk-attach-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}
#lk-create-order-form .lk-attach-row > label {
	display: flex;
}
.lk-attach-row .lk-field-hint,
.lk-attach-row .lk-attach-hint {
	margin-top: 0;
	flex: 1;
	min-width: 0;
	max-width: 400px;
}

/* Список дисциплин (науки) */
.lk-discipline-columns {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}
.lk-discipline-columns-intro {
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
}
.lk-discipline-columns-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.lk-discipline-col {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 12px;
	padding: 1rem;
}
.lk-discipline-col-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: #f1be71;
	font-family: "Montserrat Alternates", sans-serif;
}
.lk-discipline-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.lk-discipline-list li {
	margin: 0;
}
.lk-discipline-btn {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.5rem 0.75rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.9);
	background: transparent;
	border: 1px solid rgba(241, 190, 113, 0.35);
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lk-discipline-btn:hover {
	background: rgba(241, 190, 113, 0.15);
	color: #f1be71;
	border-color: rgba(241, 190, 113, 0.6);
}
.lk-discipline-btn.selected {
	background: rgba(241, 190, 113, 0.25);
	color: #f1be71;
	border-color: #f1be71;
}

.lk-policy-text {
	font-size: 0.875rem;
	color: #666;
	max-width: 50%;
}
.lk-content .lk-policy-text {
	color: rgba(255, 255, 255, 0.95);
}
.lk-field-hint {
	display: block;
	font-size: 0.875rem;
	color: #666;
	margin-top: 0.25rem;
}
.lk-content .lk-field-hint {
	color: rgba(255, 255, 255, 0.75);
}
.lk-order-detail {
	margin-top: 2rem;
	padding: 1rem;
	border-radius: 8px;
}
.lk-order-detail a:not(.lk-btn) {
	color: #fff;
	text-decoration: underline;
}
.lk-order-detail a:not(.lk-btn):hover {
	color: rgba(255, 255, 255, 0.9);
}
.lk-order-detail .lk-btn {
	color: #333;
	text-decoration: none;
	width: auto;
	max-width: 100%;
}
.lk-order-detail .lk-btn:hover {
	color: #333;
	text-decoration: none;
}
.lk-order-detail > p .lk-btn {
	width: auto;
	display: inline-flex;
	margin-top: 0.5rem;
	margin-right: 0.5rem;
	height: auto;
	min-height: 34px;
	font-size: 0.875rem;
	padding: 0.4rem 0.9rem;
	white-space: normal;
	text-align: center;
}
.lk-order-detail .lk-btn-save-planned {
	width: auto;
	min-width: 140px;
	max-width: 100%;
	display: inline-flex;
	justify-content: center;
	font-size: 0.8125rem;
	padding: 0.35rem 0.9rem;
	height: auto;
}
.lk-order-detail .lk-planned-completion-edit {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.lk-order-detail .lk-planned-completion-edit input[type="date"] {
	height: 36px;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	border: 1px solid rgba(241, 190, 113, 0.8);
	background: rgba(0, 0, 0, 0.35);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	font-size: 0.875rem;
	box-sizing: border-box;
}
.lk-order-detail .lk-planned-completion-edit input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(0.85);
	cursor: pointer;
}
.lk-order-detail dl {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 0.5rem 1rem;
}
.lk-order-detail dt {
	font-weight: 600;
}

/* Способы оплаты — карточки */
.lk-pay-methods {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}
.lk-pay-methods li {
	margin: 0;
}
.lk-pay-methods label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 12px;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.95);
	transition: background 0.2s, border-color 0.2s;
}
.lk-pay-methods label:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(241, 190, 113, 0.6);
}
.lk-pay-methods label:has(input:checked) {
	background: rgba(241, 190, 113, 0.15);
	border-color: #f1be71;
	color: #f1be71;
}
.lk-pay-methods input[type="radio"] {
	margin: 0;
	accent-color: #f1be71;
	flex-shrink: 0;
}

/* Заявка на вывод */
.lk-withdraw-balance {
	margin-top: 1.5rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
}
.lk-withdraw-balance-row {
	margin: 0 0 0.5rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9375rem;
}
.lk-withdraw-balance-row:last-child {
	margin-bottom: 0;
}
.lk-withdraw-available {
	margin-bottom: 0.75rem;
	font-size: 1.0625rem;
}
.lk-withdraw-available .lk-withdraw-amount-value {
	color: #f1be71;
	font-weight: 600;
	font-family: "Montserrat Alternates", sans-serif;
}
.lk-withdraw-form p {
	margin-bottom: 1.25rem;
}
.lk-withdraw-form p:last-of-type {
	margin-bottom: 0;
}
.lk-withdraw-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
}
.lk-withdraw-form .required {
	color: #f1be71;
}
.lk-withdraw-form .lk-input,
.lk-withdraw-form input[type="text"],
.lk-withdraw-form input[type="number"] {
	width: 100%;
	max-width: 400px;
	margin-top: 0.25rem;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	border-radius: 25px;
	border: 1px solid #F1BE71;
	height: 45px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-text-fill-color: #fff;
	box-sizing: border-box;
}
.lk-withdraw-form .lk-input::placeholder,
.lk-withdraw-form input::placeholder {
	color: rgba(255, 255, 255, 0.85);
}
.lk-withdraw-form .lk-input:focus,
.lk-withdraw-form input:focus {
	border-color: #f1be71;
	outline: none;
	background: rgba(255, 255, 255, 0.1);
}
.lk-withdraw-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
}
.lk-radio-inline {
	display: inline-flex;
	align-items: center;
	margin-right: 1.25rem;
	margin-top: 0.35rem;
	font-weight: normal;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.9);
}
.lk-radio-inline input {
	margin-right: 0.4rem;
	accent-color: #f1be71;
}
.lk-withdraw-no-funds {
	display: inline-block;
	margin-left: 0.75rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
}
.lk-withdraw-form .lk-btn {
	margin-bottom: 0;
	max-width: 400px;
}
.lk-notice {
	display: block;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}
.lk-notice-success {
	background: rgba(117, 166, 94, 0.25);
	color: #d4edda;
	border: 1px solid rgba(117, 166, 94, 0.5);
}
.lk-notice-error {
	background: rgba(179, 45, 46, 0.2);
	color: #f8d7da;
	border: 1px solid rgba(179, 45, 46, 0.4);
}
.lk-content h3 + .lk-table.lk-withdraw-list {
	margin-top: 0.75rem;
}

/* Отключить себя */
.lk-disable-actions {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.lk-disable-actions .lk-btn,
.lk-disable-actions .button {
	width: auto;
	max-width: 100%;
	min-width: 200px;
	cursor: pointer;
	position: relative;
	z-index: 1;
}

/* Настройки (Мой кабинет) */
.lk-settings-top {
	display: grid;
	grid-template-columns: minmax(500px, 1fr) auto minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	margin-bottom: 1rem;
	width: 100%;
}
.lk-settings-fields {
	grid-column: 1;
	min-width: 500px;
	justify-self: start;
}
.lk-settings-form .lk-settings-fields input[type="text"],
.lk-settings-form .lk-settings-fields input[type="email"],
.lk-settings-form .lk-settings-fields input[type="tel"] {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
.lk-settings-form .lk-settings-fields .regular-text {
	width: 100% !important;
	max-width: 100% !important;
}
.lk-settings-avatar {
	grid-column: 3;
	justify-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}
.lk-settings-avatar-img {
	display: block;
	border-radius: 50%;
	object-fit: cover;
	width: 96px;
	height: 96px;
	border: 2px solid rgba(241, 190, 113, 0.5);
}
.lk-settings-avatar-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 140px;
	padding: 0.4rem 0.75rem;
	font-family: "Montserrat Alternates", sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #f1be71;
	background: none;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: 0.3s;
	box-sizing: border-box;
}
.lk-settings-avatar-label:hover {
	color: #fff;
}
.lk-attach-input-hidden {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}
.lk-settings-password-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.5rem;
	margin-bottom: 1rem;
}
.lk-settings-password-row p {
	margin-bottom: 0;
}
.lk-settings-form .button,
.lk-settings-form .lk-btn,
.lk-settings-submit .button,
.lk-settings-telegram-link .button {
	width: auto !important;
	max-width: 100%;
	min-width: 200px;
}
.lk-settings-submit {
	display: block !important;
	margin-top: 1.25rem;
	margin-bottom: 0;
	text-align: right !important;
}
.lk-settings-submit .button {
	display: inline-block;
}
.lk-settings-notify {
	display: block;
}
.lk-settings-notify-select-wrap {
	display: block;
	width: 100%;
	margin-bottom: 2rem !important;
}
.lk-settings-form .lk-settings-notify-select-wrap .nice-select,
.lk-settings-form .lk-settings-notify-select-wrap select,
.lk-settings-form .lk-settings-notify .nice-select {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 280px;
	margin-bottom: 1vw;
	box-sizing: border-box;
}
.lk-settings-notify-select-wrap + .lk-settings-telegram-link {
	margin-top: 2rem;
}
.lk-settings-notify > p {
	display: block;
	width: 100%;
}
.lk-settings-notify .lk-settings-telegram-link {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	clear: both;
	margin-top: 2rem;
	margin-bottom: 0;
	padding-top: 0;
}
.lk-settings-telegram-link .lk-telegram-status {
	display: block;
}
.lk-settings-telegram-link .button {
	margin-top: 0;
}

/* Чат */
.lk-chat-layout {
	display: flex;
	gap: 1rem;
	min-height: 400px;
}
.lk-chat-list {
	flex: 0 0 280px;
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 8px;
	overflow-y: auto;
	max-height: 500px;
	background: rgba(0, 0, 0, 0.3);
}
.lk-chat-item {
	display: block;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid rgba(241, 190, 113, 0.25);
	text-decoration: none;
	color: #fff;
}
.lk-chat-item:hover,
.lk-chat-item.active {
	background: rgba(241, 190, 113, 0.15);
	color: #f1be71;
}
.lk-chat-item .lk-chat-preview {
	display: block;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 0.25rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.lk-badge {
	font-size: 0.75rem;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	margin-left: 0.5rem;
}
.lk-paid { background: #d4edda; color: #155724; }
.lk-unpaid { background: #fff3cd; color: #856404; }
.lk-chat-window {
	flex: 1;
	border: 1px solid rgba(241, 190, 113, 0.4);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	background: rgba(0, 0, 0, 0.3);
}
#lk-chat-messages {
	flex: 1;
	padding: 1rem;
	overflow-y: auto;
	min-height: 300px;
	color: #fff;
}
#lk-chat-messages p {
	color: #fff;
}
.lk-chat-pay-row .lk-btn {
	width: auto !important;
	max-width: 100%;
	min-width: 0;
	height: auto !important;
	min-height: 34px;
	font-size: 14px !important;
	padding: 0.35rem 0.9rem !important;
}
.lk-chat-send {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid rgba(241, 190, 113, 0.4);
}
.lk-chat-send-bar {
	display: flex;
	align-items: flex-end;
	min-height: 45px;
	padding: 0.35rem 0.35rem 0.35rem 1rem;
	gap: 0.35rem;
	background: #fff;
	border: 1px solid #F1BE71;
	border-radius: 25px;
	box-sizing: border-box;
}
.lk-chat-send-bar textarea {
	flex: 1;
	min-width: 0;
	min-height: 38px;
	height: 38px;
	padding: 0.5rem 0.5rem;
	border: none;
	resize: none;
	background: transparent;
	font-size: 1rem;
	line-height: 1.35;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	font-family: inherit;
	overflow-y: hidden;
}
.lk-chat-send-bar textarea::placeholder {
	color: rgba(0, 0, 0, 0.55);
}
.lk-chat-send-bar textarea::-webkit-input-placeholder {
	color: rgba(0, 0, 0, 0.55);
}
.lk-chat-send-bar textarea::-moz-placeholder {
	color: rgba(0, 0, 0, 0.55);
	opacity: 1;
}
.lk-chat-send-bar textarea:focus {
	outline: none;
}
.lk-chat-placeholder {
	padding: 2rem;
	text-align: center;
	color: #fff;
}
.lk-msg {
	margin-bottom: 1rem;
	padding: 0.4rem 0.75rem 0.35rem;
	border-radius: 12px;
	width: fit-content;
	max-width: 80%;
	color: #fff;
	display: flex;
	gap: 0.5rem;
	align-items: flex-end;
}
.lk-msg.own {
	background: rgba(117, 166, 94, 0.85);
	margin-left: auto;
	flex-direction: row-reverse;
	padding: 0.35rem 0.65rem 0.3rem;
	border-radius: 16px 16px 4px 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.lk-msg.own .lk-msg-body {
	max-width: 100%;
}
.lk-msg:not(.own) {
	background: #5EA3A6;
	border-radius: 16px 16px 16px 4px;
}
.lk-msg-avatar {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.lk-msg-avatar-placeholder {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	display: block;
}
.lk-msg-body {
	color: #fff;
}
.lk-msg-author-name,
.lk-msg-text,
.lk-msg .lk-msg-meta {
	color: #fff;
}
.lk-msg .lk-msg-meta {
	font-size: 0.75rem;
	opacity: 0.9;
	margin-top: 0.25rem;
}
.lk-msg-attachments {
	margin-top: 0.5rem;
}
.lk-msg-attachment {
	display: inline-block;
	margin-right: 0.5rem;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	color: #f1be71;
	text-decoration: none;
}
.lk-msg-attachment:hover {
	text-decoration: underline;
	color: #fff;
}
.lk-chat-send-bar .lk-chat-send-row {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	margin-left: auto;
}
.lk-chat-attach-input {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}
.lk-chat-attach-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
	flex-shrink: 0;
	transition: opacity 0.2s;
}
.lk-chat-attach-label:hover {
	opacity: 0.9;
}
.lk-chat-attach-icon {
	pointer-events: none;
}
.lk-chat-send-bar .lk-chat-btn-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.lk-chat-files-preview {
	min-width: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.lk-chat-files-preview-has {
	color: #f1be71;
	font-weight: 500;
}
.lk-chat-send-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	color: #333;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity 0.2s;
	font-family: "Montserrat Alternates", sans-serif;
}
.lk-chat-send-btn:hover {
	opacity: 0.9;
	color: #333;
}

/* Модальное окно (привязка MAX, уведомления) — поверх всего экрана */
.lk-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.65);
	padding: 1rem;
	box-sizing: border-box;
}
.lk-modal-overlay .lk-modal {
	background: rgba(30, 28, 26, 0.98);
	border: 1px solid rgba(241, 190, 113, 0.5);
	border-radius: 12px;
	padding: 1.5rem 2rem;
	max-width: 440px;
	width: 100%;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}
.lk-modal-overlay .lk-modal-title {
	margin: 0 0 1rem;
	color: #f1be71;
	font-size: 1.25rem;
}
.lk-modal-overlay .lk-modal-text {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.55;
	white-space: pre-line;
	word-break: break-word;
}
.lk-modal-overlay .lk-modal-close {
	display: block;
	width: 100%;
}

/* ========== Вход, регистрация, восстановление пароля ========== */
html.lk-auth-html,
html.lk-auth-html body.lk-auth-body {
	min-height: 100vh;
	margin: 0;
}
body.lk-auth-body {
	display: flex;
	flex-direction: column;
}
body.lk-auth-body .lk-auth-page {
	flex: 1;
	min-height: max-content;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	box-sizing: border-box;
}
.lk-auth-page {
	min-height: max-content;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	box-sizing: border-box;
}
.lk-auth-box,
.lk-auth-box.lk-login-box {
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid #f1be71;
	padding: 2.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
	max-width: 420px;
	width: 100%;
	box-sizing: border-box;
}
.lk-auth-box h2,
.lk-auth-box .lk-form-description {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 1.375rem;
	color: #f1be71;
}
.lk-auth-box .lk-form,
.lk-auth-box form {
	display: block;
}
.lk-auth-box .lk-form p,
.lk-auth-box form p {
	display: block;
	margin-bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
}
.lk-auth-box input[type="text"],
.lk-auth-box input[type="email"],
.lk-auth-box input[type="password"],
.lk-auth-box input[type="number"],
.lk-auth-box input[type="tel"] {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	border-radius: 25px;
	border: 1px solid #F1BE71;
	height: 45px;
	box-sizing: border-box;
	margin-top: 0.25rem;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-text-fill-color: #fff;
}
.lk-auth-box input:-webkit-autofill,
.lk-auth-box input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
}
.lk-auth-box input::placeholder {
	color: rgba(255, 255, 255, 0.85);
}
.lk-auth-box input::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.85);
}
.lk-auth-box input::-moz-placeholder {
	color: rgba(255, 255, 255, 0.85);
	opacity: 1;
}
.lk-auth-box .lk-message {
	display: block;
	margin-bottom: 1rem;
	padding: 0.6rem 0.75rem;
	border-radius: 6px;
	font-size: 0.9375rem;
	color: #fff;
}
.lk-auth-box .lk-message.lk-error {
	background: rgba(179, 45, 46, 0.4);
	color: #ffb3b3;
	border: 1px solid rgba(179, 45, 46, 0.6);
}
.lk-auth-box .lk-message.lk-success {
	background: rgba(117, 166, 94, 0.3);
	color: #e8f5e5;
	border: 1px solid rgba(117, 166, 94, 0.5);
}
.lk-auth-box input:focus {
	border-color: #f1be71;
	outline: none;
	background: rgba(255, 255, 255, 0.12);
}
.lk-auth-box .button,
.lk-auth-box button[type="submit"],
.lk-auth-box input[type="submit"] {
	width: 100%;
	height: 3.50625vw;
	border-radius: 35px;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	font-family: "Montserrat Alternates", sans-serif;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: center;
	padding: 0 1.15625vw;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	cursor: pointer;
	font-size: 1.0416666667vw;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	color: #333;
	border: none;
	margin-top: 0.5rem;
	text-decoration: none;
	box-sizing: border-box;
}
.lk-auth-box .button:hover,
.lk-auth-box button[type="submit"]:hover,
.lk-auth-box input[type="submit"]:hover {
	opacity: 0.95;
	color: #333;
}
.lk-auth-footer-link,
.lk-auth-footer-links {
	display: block;
	margin-top: 1.25rem;
	margin-bottom: 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(241, 190, 113, 0.4);
}
.lk-auth-footer-link a,
.lk-auth-footer-links a {
	text-decoration: none;
	color: #f1be71;
}
.lk-auth-footer-link a:hover,
.lk-auth-footer-links a:hover {
	text-decoration: underline;
	color: #fff;
}
.lk-auth-footer-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.lk-auth-link-left,
.lk-auth-link-right {
	display: inline-block;
}
/* Форма входа WordPress (wp_login_form) внутри .lk-auth-box */
.lk-login-box #loginform,
.lk-login-box .login-form {
	padding: 0;
	margin: 0 0 1rem;
	background: none;
	border: none;
	box-shadow: none;
}
.lk-login-box .login-username,
.lk-login-box .login-password {
	margin-bottom: 1.25rem;
}
.lk-login-box .login-username label,
.lk-login-box .login-password label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
}
.lk-login-box .login-username input,
.lk-login-box .login-password input {
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	border-radius: 25px;
	border: 1px solid #F1BE71;
	height: 45px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-text-fill-color: #fff;
}
.lk-login-box .login-username input:focus,
.lk-login-box .login-password input:focus {
	border-color: #f1be71;
	background: rgba(255, 255, 255, 0.12);
}
.lk-login-box .login-submit {
	margin-top: 0.5rem;
	margin-bottom: 0;
}
.lk-login-box .login-submit .button,
.lk-login-box .login-submit input[type="submit"] {
	width: 100%;
	height: 3.50625vw;
	border-radius: 35px;
	background: linear-gradient(127deg, #f5fab7 0%, #c99a54 50%, #fdfdbf 100%);
	font-family: "Montserrat Alternates", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.15625vw;
	transition: 0.3s;
	font-size: 1.0416666667vw;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #333;
	border: none;
	box-sizing: border-box;
}
.lk-login-box .login-remember {
	margin-bottom: 1rem;
}
.lk-login-box .login-remember label {
	color: rgba(255, 255, 255, 0.9);
}

/* Регистрация и восстановление пароля */
.lk-register-form {
	max-width: 100%;
}
.lk-register-form .lk-form p {
	margin-bottom: 1rem;
}
.lk-register-agree {
	margin-bottom: 0.75rem;
}
.lk-register-agree label {
	display: block;
	cursor: pointer;
	font-weight: normal;
}
.lk-register-agree input[type="checkbox"] {
	margin: 0 0.4rem 0 0;
	vertical-align: middle;
}
.lk-register-agree a {
	color: #fff;
	text-decoration: underline;
}
.lk-register-agree a:hover {
	color: #f1be71;
	text-decoration: underline;
}
.lk-form-description {
	margin-bottom: 1rem;
	color: #555;
}
.lk-form-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}
.lk-form-footer a {
	text-decoration: none;
	color: #f1be71;
}
.lk-form-footer a:hover {
	text-decoration: underline;
}

/* ========== Мобильная адаптация личного кабинета ========== */
@media (max-width: 767px) {
	.lk-cabinet {
		flex-direction: column;
		gap: 1rem;
		padding: 0;
	}
	.lk-sidebar {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		position: static;
		padding: 1rem;
		margin-top: 13vh;
	}
	.lk-user-card {
		margin-bottom: 1rem;
		padding-bottom: 1rem;
	}
	.lk-nav {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.35rem;
	}
	.lk-nav-item {
		padding: 0.5rem 0.65rem;
		font-size: 0.875rem;
	}
	.header-account {
		height: 19.770833vw !important;
	}
	.lk-content {
		padding: 1rem;
		min-width: 0;
		overflow-x: auto;
		margin-bottom: 10vh;
	}
	.lk-content h2 {
		font-size: 1.2rem;
		margin-bottom: 1rem;
	}
	.lk-content h3 {
		font-size: 1rem;
	}
	.lk-dashboard-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
		margin-bottom: 1.5rem;
	}
	.lk-dashboard-card {
		padding: 0.75rem 1rem;
	}
	.lk-dashboard-card-value {
		font-size: 1.4rem;
	}
	.lk-content input[type="text"],
	.lk-content input[type="email"],
	.lk-content input[type="password"],
	.lk-content input[type="number"],
	.lk-content input[type="url"],
	.lk-content textarea,
	.lk-content .lk-form .widefat,
	.lk-content .lk-form .regular-text {
		max-width: 100%;
	}
	.lk-create-order-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}
	.lk-policy-text {
		max-width: 100%;
	}
	.lk-discipline-columns-inner {
		grid-template-columns: 1fr;
	}
	.lk-attach-row {
		flex-direction: column;
		align-items: stretch;
	}
	.lk-attach-row .lk-btn-attach {
		width: 100%;
		justify-content: center;
	}
	.lk-attach-row .lk-field-hint,
	.lk-attach-row .lk-attach-hint {
		max-width: 100%;
	}
	.lk-order-detail dl {
		grid-template-columns: 1fr;
		gap: 0.25rem 0.5rem;
	}
	.lk-order-detail dt {
		margin-top: 0.5rem;
	}
	.lk-order-detail dt:first-child {
		margin-top: 0;
	}
	.lk-order-detail > p {
		display: flex;
		flex-direction: column;
		gap: 0.25rem;
		padding-top: 1rem;
	}
	.lk-order-detail > p .lk-btn,
	.lk-order-detail > p button.lk-btn {
		width: 100%;
		box-sizing: border-box;
		height: 9vw;
		min-height: 38px;
		font-size: 3.2vw;
		padding: 0 0.75rem;
		justify-content: center;
	}
	.lk-actions {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.lk-actions .lk-btn,
	.lk-actions .button {
		height: 2.50625vw;
		font-size: 3.8vw;
	}
	.lk-my-orders-table .lk-actions .lk-btn,
	.lk-my-orders-table .lk-actions .button,
	.lk-orders-in-work-table .lk-actions .lk-btn,
	.lk-orders-in-work-table .lk-actions .button,
	.lk-suitable-orders-table .lk-actions .lk-btn,
	.lk-suitable-orders-table .lk-actions .button {
		width: 100%;
		min-width: 0;
	}
	.lk-create-order-link-wrap {
		text-align: left;
	}
	.lk-create-order-link-wrap .lk-btn,
	.lk-create-order-link-wrap .button {
		width: 100% !important;
		display: flex;
		justify-content: center;
	}
	.lk-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.lk-table th,
	.lk-table td {
		padding: 0.4rem 0.5rem;
		font-size: 0.875rem;
		white-space: nowrap;
	}
	/* Чат на мобильных */
	.lk-chat-layout {
		flex-direction: column;
		min-height: 320px;
		gap: 0.75rem;
	}
	.lk-chat-list {
		flex: 0 0 auto;
		max-height: 180px;
		min-height: 120px;
		width: 100%;
	}
	.lk-chat-item {
		padding: 0.6rem 0.75rem;
	}
	.lk-chat-window {
		flex: 1;
		min-height: 280px;
	}
	#lk-chat-messages {
		min-height: 200px;
		padding: 0.75rem;
	}
	.lk-chat-send {
		padding: 0.5rem;
	}
	.lk-chat-send-bar {
		flex-wrap: wrap;
		min-height: 44px;
		padding: 0.3rem 0.35rem 0.3rem 0.75rem;
	}
	.lk-chat-send-bar textarea {
		min-height: 36px;
		font-size: 16px; /* предотвращает зум при фокусе в iOS */
	}
	.lk-msg {
		max-width: 92%;
		padding: 0.35rem 0.6rem;
	}
	/* Уведомление о новых сообщениях — скрыто на мобильных */
	.lk-chat-notice {
		display: none !important;
	}
	/* Модальное окно */
	.lk-modal {
		margin: 1rem;
		max-width: calc(100% - 2rem);
	}
	/* Таблицы как блоки (карточки) на мобильных — оплата, мои заказы, заказы в работе, подходящие заказы */
	.lk-pay-invoices,
	.lk-my-orders-table,
	.lk-orders-in-work-table,
	.lk-suitable-orders-table,
	.lk-withdraw-list,
	.lk-pay-invoices thead,
	.lk-my-orders-table thead,
	.lk-orders-in-work-table thead,
	.lk-suitable-orders-table thead,
	.lk-withdraw-list thead,
	.lk-pay-invoices tbody,
	.lk-my-orders-table tbody,
	.lk-orders-in-work-table tbody,
	.lk-suitable-orders-table tbody,
	.lk-withdraw-list tbody,
	.lk-pay-invoices tr,
	.lk-my-orders-table tr,
	.lk-orders-in-work-table tr,
	.lk-suitable-orders-table tr,
	.lk-withdraw-list tr,
	.lk-pay-invoices th,
	.lk-my-orders-table th,
	.lk-orders-in-work-table th,
	.lk-suitable-orders-table th,
	.lk-withdraw-list th,
	.lk-pay-invoices td,
	.lk-my-orders-table td,
	.lk-orders-in-work-table td,
	.lk-suitable-orders-table td,
	.lk-withdraw-list td {
		display: block;
	}
	.lk-pay-invoices thead,
	.lk-my-orders-table thead,
	.lk-orders-in-work-table thead,
	.lk-suitable-orders-table thead,
	.lk-withdraw-list thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.lk-pay-invoices tbody tr,
	.lk-my-orders-table tbody tr,
	.lk-orders-in-work-table tbody tr,
	.lk-suitable-orders-table tbody tr,
	.lk-withdraw-list tbody tr {
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(241, 190, 113, 0.4);
		border-radius: 12px;
		padding: 1rem;
		margin-bottom: 0.75rem;
	}
	.lk-pay-invoices tbody tr:last-child,
	.lk-my-orders-table tbody tr:last-child,
	.lk-orders-in-work-table tbody tr:last-child,
	.lk-suitable-orders-table tbody tr:last-child,
	.lk-withdraw-list tbody tr:last-child {
		margin-bottom: 0;
	}
	.lk-pay-invoices tbody td,
	.lk-my-orders-table tbody td,
	.lk-orders-in-work-table tbody td,
	.lk-suitable-orders-table tbody td,
	.lk-withdraw-list tbody td {
		padding: 0.4rem 0;
		border: none;
		white-space: normal;
		font-size: 0.9375rem;
	}
	.lk-pay-invoices tbody td::before,
	.lk-my-orders-table tbody td::before,
	.lk-orders-in-work-table tbody td::before,
	.lk-suitable-orders-table tbody td::before,
	.lk-withdraw-list tbody td::before {
		content: attr(data-label);
		display: block;
		font-weight: 600;
		color: #f1be71;
		font-size: 0.8125rem;
		margin-bottom: 0.2rem;
	}
	.lk-pay-invoices tbody td.lk-actions,
	.lk-my-orders-table tbody td.lk-actions,
	.lk-orders-in-work-table tbody td.lk-actions,
	.lk-suitable-orders-table tbody td.lk-actions {
		padding-top: 0.75rem;
		margin-top: 0;
		border-top: 1px solid rgba(241, 190, 113, 0.3);
	}
	.lk-pay-invoices tbody td.lk-actions::before,
	.lk-my-orders-table tbody td.lk-actions::before,
	.lk-orders-in-work-table tbody td.lk-actions::before,
	.lk-suitable-orders-table tbody td.lk-actions::before {
		margin-bottom: 0.35rem;
	}
	.lk-order-detail.lk-pay-detail {
		padding: 0.75rem 0;
	}
	.lk-pay-methods {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	.lk-pay-methods label {
		padding: 0.85rem;
	}
	.lk-pay-instructions {
		margin-top: 1rem;
		padding: 0;
	}
	.lk-pay-instructions .description {
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	/* Авторизация */
	.lk-auth-page-inner {
		padding: 1rem 0.75rem;
	}
	.lk-auth-box,
	.lk-auth-box.lk-login-box {
		padding: 1.5rem 1rem;
		max-width: 100%;
	}
	.lk-auth-footer-links {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.nice-select .list {
		padding: 0.5rem 0;
		max-height: 60vh;
	}
	.nice-select .list .option {
		padding: 0.6rem 1rem;
		min-height: 44px;
		display: flex;
		align-items: center;
	}
	.open span {
		background-color: transparent !important;
	}
	.lk-withdraw-balance {
		padding: 1rem;
	}
	.lk-withdraw-form .lk-input,
	.lk-withdraw-form input[type="text"],
	.lk-withdraw-form input[type="number"] {
		max-width: 100%;
	}
	.lk-radio-inline {
		display: flex;
		margin-bottom: 0.25rem;
	}
	.lk-settings-top {
		grid-template-columns: 1fr;
	}
	.lk-settings-fields {
		min-width: 0;
	}
	.lk-settings-fields,
	.lk-settings-avatar {
		grid-column: 1;
		width: 100%;
	}
	.lk-settings-password-row {
		grid-template-columns: 1fr;
	}
	.lk-settings-form .regular-text,
	.lk-settings-form input[type="text"],
	.lk-settings-form input[type="email"],
	.lk-settings-form input[type="tel"],
	.lk-settings-form input[type="password"],
	.lk-settings-form select,
	.lk-settings-form .nice-select {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.lk-settings-notify-select-wrap .nice-select,
	.lk-settings-notify-select-wrap select {
		width: 100% !important;
		max-width: 100% !important;
	}
	.lk-settings-telegram-link {
		align-items: stretch;
	}
	.lk-settings-telegram-link .button,
	#lk-telegram-link-btn,
	.lk-settings-max-link .button,
	#lk-max-link-btn,
	.lk-settings-submit .button,
	.lk-disable-actions .lk-btn,
	.lk-disable-actions .button {
		width: 100% !important;
		min-width: 0;
		display: flex;
		justify-content: center;
	}
	.lk-settings-submit {
		margin-top: 2.5rem !important;
	}
	.lk-settings-submit {
		margin-top: 2rem;
	}
	.lk-btn,
	.lk-btn-primary,
	.lk-content .button,
	.lk-withdraw-form .lk-btn,
	.lk-auth-box .button,
	.lk-auth-box button[type="submit"],
	.lk-auth-box input[type="submit"],
	.lk-login-box .login-submit .button,
	.lk-login-box .login-submit input[type="submit"] {
		font-size: 3.75vw;
		line-height: 4.6875vw;
		letter-spacing: 0.03em;
		height: 12vw;
		min-height: 44px;
		padding: 0 4vw;
	}
}
@media (max-width: 480px) {
	.lk-dashboard-cards {
		grid-template-columns: 1fr;
	}
	.lk-nav-item {
		font-size: 0.8125rem;
		padding: 0.45rem 0.5rem;
	}
	.lk-table th,
	.lk-table td {
		padding: 0.35rem 0.4rem;
		font-size: 0.8125rem;
	}
}