.aism-plans {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin: 24px 0;
}

.aism-plan,
.aism-panel {
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 48px 30px 30px;
	background: #fff;
}

.aism-plan {
	position: relative;
	text-align: center;
}

.aism-plan.is-popular {
	border: 2px solid #ff6b00;
}

.aism-plan-badge {
	background: #ff6b00;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	left: 50%;
	padding: 8px 20px;
	position: absolute;
	top: -16px;
	transform: translateX(-50%);
	white-space: nowrap;
}

.aism-plan h3 {
	color: #13213a;
	font-size: 1.35rem;
	margin: 0 0 8px;
}

.aism-validity {
	color: #5f6f8d;
	margin: 0 0 16px;
}

.aism-price {
	color: #13213a;
	font-size: 1rem;
	font-weight: 700;
	margin: 8px 0 24px;
}

.aism-price span {
	font-size: 2.8rem;
	line-height: 1;
}

.aism-plan ul {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	text-align: left;
}

.aism-plan li {
	align-items: center;
	display: flex;
	font-size: 1rem;
	gap: 12px;
	margin: 16px 0;
}

.aism-plan li span {
	display: inline-block;
	font-weight: 700;
	width: 18px;
}

.aism-plan li.is-included span {
	color: #10b981;
}

.aism-plan li.is-excluded {
	color: #71809a;
	text-decoration: line-through;
}

.aism-plan li.is-excluded span {
	color: #f87171;
	text-decoration: none;
}

.aism-subscribe-button,
.aism-danger {
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	padding: 10px 14px;
}

.aism-subscribe-button {
	background: #2d75e8;
	border-radius: 10px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	width: 100%;
}

.aism-plan:not(.is-popular) .aism-subscribe-button {
	background: #fff;
	border: 1px solid #dfe3ea;
	color: #0f172a;
}

.aism-subscribe-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.aism-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	margin: 20px 0;
	padding: 12px 14px;
}

.aism-modal-overlay {
	align-items: center;
	background: rgba(15, 23, 42, 0.58);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 99999;
}

.aism-modal {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
	max-width: 460px;
	padding: 26px;
	width: min(100%, 460px);
}

.aism-modal h3 {
	color: #13213a;
	font-size: 1.45rem;
	margin: 0 0 12px;
}

.aism-modal-message {
	color: #334155;
	line-height: 1.6;
}

.aism-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
}

.aism-modal-button {
	background: #fff;
	border: 1px solid #d7dce5;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	padding: 10px 16px;
}

.aism-modal-button.is-primary {
	background: #2d75e8;
	border-color: #2d75e8;
	color: #fff;
}

.aism-modal-button.is-danger {
	background: #b91c1c;
	border-color: #b91c1c;
	color: #fff;
}

.aism-danger {
	background: #b91c1c;
	color: #fff;
}

.aism-dashboard {
	display: grid;
	gap: 18px;
	margin: 24px 0;
	max-width: 100%;
	overflow-x: hidden;
}

.aism-dashboard .aism-panel {
	min-width: 0;
	padding: 30px;
}

.aism-dashboard .aism-panel h3 {
	font-size: clamp(1.45rem, 6vw, 2.2rem);
	line-height: 1.15;
	margin: 0 0 24px;
	overflow-wrap: anywhere;
}

.aism-dashboard code {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
}

.aism-table {
	border-collapse: collapse;
	table-layout: auto;
	width: 100%;
}

.aism-table th,
.aism-table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 10px;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

@media (max-width: 640px) {
	.aism-plans {
		gap: 22px;
		grid-template-columns: minmax(0, 1fr);
	}

	.aism-plan,
	.aism-panel {
		padding: 28px 18px 22px;
	}

	.aism-dashboard {
		gap: 14px;
		margin: 16px 0;
		width: 100%;
	}

	.aism-dashboard .aism-panel {
		border-radius: 10px;
		padding: 24px 18px;
		width: 100%;
	}

	.aism-dashboard .aism-panel p {
		font-size: 1rem;
		line-height: 1.55;
		margin: 14px 0;
	}

	.aism-danger {
		border-radius: 999px;
		font-size: 0.95rem;
		line-height: 1.2;
		max-width: 100%;
		white-space: normal;
	}

	.aism-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		width: 100%;
	}

	.aism-table th,
	.aism-table td {
		font-size: 0.9rem;
		padding: 9px 10px;
	}

	.aism-table td {
		max-width: 190px;
		white-space: normal;
	}
}

@media (max-width: 420px) {
	.aism-dashboard .aism-panel {
		padding: 22px 14px;
	}

	.aism-dashboard .aism-panel h3 {
		font-size: 1.65rem;
	}
}
