.AlertPushRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	margin-bottom: 14px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface);
}
.AlertPushRow.AlertPushRowNeed {
	border-color: #e85d04;
	background: rgba(232, 93, 4, 0.1);
	box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.16);
}
.AlertPushCopy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.AlertPushCopy strong { font-size: 14px; }
.AlertPushHint { font-size: 13px; color: var(--ink-3); }
.AlertPushRowNeed .AlertPushHint { color: #9a3412; font-weight: 550; }
#AlertPushBtn.AlertPushNeed {
	background: #e85d04;
	color: #fff;
	border: none;
	font-weight: 700;
}
#AlertPushBtn.AlertPushNeed:hover {
	background: #c2410c;
}
.AlertRuleGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.AlertRuleCard {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface);
	cursor: pointer;
	position: relative;
}
.AlertRuleCardWide { grid-column: 1 / -1; flex-direction: column; cursor: default; }
.AlertRuleTop { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.AlertRuleCard > input[type="checkbox"],
.AlertRuleTop > input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.AlertRuleMark {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	border: 2px solid var(--control-line);
	background: var(--surface);
	flex: none;
	position: relative;
}
.AlertRuleCard input:checked + .AlertRuleMark,
.AlertRuleTop input:checked + .AlertRuleMark {
	background: var(--brand);
	border-color: var(--brand);
}
.AlertRuleCard input:checked + .AlertRuleMark:after,
.AlertRuleTop input:checked + .AlertRuleMark:after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.AlertRuleCopy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.AlertRuleCopy strong { font-size: 15px; }
.AlertRuleCopy span { font-size: 13px; color: var(--ink-3); }
.AlertRuleExtra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-left: 34px; width: 100%; }
.AlertEventChecks { display: flex; flex-wrap: wrap; gap: 10px; }
.AlertMiniCheck { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.AlertNum { width: 88px; }
.AlertNumHint { font-size: 13px; color: var(--ink-3); }
.AlertSetupFoot { margin-top: 16px; }
.AlertContactMini { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.AlertContactEmpty { margin: 0; font-size: 13px; color: var(--ink-3); }
.AlertContactChip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 10px;
	border-radius: 999px;
	background: var(--brand-tint);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}
.AlertChipX {
	width: 22px;
	height: 22px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--ink-2);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}
.AlertChipX:hover { background: rgba(46,50,71,.08); color: var(--risk); }
.AlertBellBtn {
	position: relative;
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	color: var(--ink);
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.AlertBellBtn:hover { background: var(--nav-hover); }
.AlertBellBadge {
	display: none;
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #E24B4B;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}
.AlertBellBadge.on { display: block; }
.AppWordmark { font-size: 18px; font-weight: 700; }
.AppWordmark em { font-style: normal; color: var(--brand); }
.AlertInboxScrim { z-index: 83; }
.AlertInboxPanel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	height: 100dvh;
	width: min(440px, 100vw);
	background: var(--surface);
	z-index: 84;
	display: flex;
	flex-direction: column;
	box-shadow: -16px 0 40px rgba(40, 36, 90, .18);
	transform: translateX(105%);
	transition: transform .22s ease;
	border-left: 1px solid var(--border);
}
.AlertInboxPanel.open { transform: translateX(0); }
.AlertInboxHead {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: calc(14px + var(--safe-top)) 14px 12px 18px;
	border-bottom: 1px solid var(--border);
}
.AlertInboxHead h3 { margin: 0; font-size: 18px; font-weight: 700; }
.AlertInboxTools { display: flex; align-items: center; gap: 4px; flex: none; }
.AlertIcoBtn {
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--ink-2);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}
.AlertIcoBtn:hover { background: var(--nav-hover); color: var(--ink); }
.AlertIcoBtn.on { background: var(--brand-tint); color: var(--brand); }
.AlertInboxBodyScroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 14px 16px calc(16px + var(--safe-bottom));
}
.AlertsInboxList { display: flex; flex-direction: column; gap: 10px; }
.AlertInboxCard {
	background: var(--surface-sunk);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 16px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px 12px;
}
.AlertInboxCard.unread { box-shadow: inset 3px 0 0 var(--brand); }
.AlertInboxWhen { font-size: 12px; color: var(--ink-3); }
.AlertInboxTitle { font-weight: 700; font-size: 15px; }
.AlertInboxBody { font-size: 13px; color: var(--ink-2); grid-column: 1 / -1; }
.AlertInboxActs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
	.AlertRuleGrid { grid-template-columns: 1fr; }
	.AlertPushRow { flex-direction: column; align-items: flex-start; }
}
