.ipc-wrap { max-width: 880px; margin: 0; }
.ipc-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 24px 0 8px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border: 1px solid #fde68a;
	border-radius: 12px;
}
.ipc-header-text {
	font-size: 13px;
	color: #78716c;
	margin: 6px 0 0;
}
.ipc-card {
	margin-top: 16px;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e7e5e4;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ipc-card h2 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #1c1917;
}
.ipc-card p { color: #57534e; }
.ipc-card .form-table th { padding-left: 0; color: #44403c; font-weight: 500; }
.ipc-card .form-table td { padding-left: 0; }
.ipc-card .form-table input.regular-text,
.ipc-card .form-table select {
	border-color: #d6d3d1;
	border-radius: 6px;
}
.ipc-card .form-table input.regular-text:focus,
.ipc-card .form-table select:focus {
	border-color: #b45309;
	box-shadow: 0 0 0 1px #b45309;
}
.ipc-status {
	margin-top: 16px;
	padding: 16px 20px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
}
.ipc-status--active {
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
}
.ipc-status__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	display: inline-block;
	animation: ipc-pulse 2s ease-in-out infinite;
}
.ipc-status--active .ipc-status__dot { background: #16a34a; }
@keyframes ipc-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}
.ipc-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	background: #b45309;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s;
}
.ipc-btn-primary:hover,
.ipc-btn-primary:focus { background: #92400e; color: #fff !important; }
.ipc-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: #fff;
	color: #44403c !important;
	border: 1px solid #d6d3d1;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s;
}
.ipc-btn-secondary:hover,
.ipc-btn-secondary:focus { background: #fafaf9; border-color: #a8a29e; color: #44403c !important; }
.ipc-btn-disconnect {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	background: none;
	color: #dc2626 !important;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s;
}
.ipc-btn-disconnect:hover { background: #fef2f2; border-color: #fecaca; }
.ipc-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.ipc-divider { width: 100%; height: 1px; background: #e7e5e4; margin: 20px 0; border: none; }

/* Advanced Settings toggle */
.ipc-advanced {
	margin-top: 20px;
	border: 1px solid #e7e5e4;
	border-radius: 8px;
	overflow: hidden;
}
.ipc-advanced__toggle {
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #44403c;
	cursor: pointer;
	background: #fafaf9;
	list-style: none;
	user-select: none;
}
.ipc-advanced__toggle::-webkit-details-marker { display: none; }
.ipc-advanced__toggle::before {
	content: '\25B6';
	display: inline-block;
	margin-right: 8px;
	font-size: 10px;
	transition: transform 0.2s;
}
.ipc-advanced[open] > .ipc-advanced__toggle::before { transform: rotate(90deg); }
.ipc-advanced__toggle:hover { background: #f5f5f4; }
.ipc-advanced .form-table { padding: 0 20px 16px; }

/* Shortcode info box */
.ipc-shortcode-info {
	margin-top: 20px;
	padding: 16px 20px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
}
.ipc-shortcode-info h3 {
	margin: 0 0 8px;
	font-size: 14px;
	color: #92400e;
}
.ipc-shortcode-info p {
	margin: 4px 0;
	font-size: 13px;
	color: #78716c;
}
.ipc-shortcode-code {
	display: inline-block;
	padding: 6px 14px;
	background: #fff;
	border: 1px solid #d6d3d1;
	border-radius: 6px;
	font-family: monospace;
	font-size: 14px;
	color: #1c1917;
	user-select: all;
}
