:root {
	--pk-primary: #1e293b;
	--pk-primary-hover: #0f172a;
	--pk-accent: #059669;
	--pk-accent-hover: #047857;
	--pk-bg: #f8fafc;
	--pk-card-bg: #ffffff;
	--pk-border: #e2e8f0;
	--pk-text: #334155;
	--pk-text-muted: #64748b;
	--pk-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
	--pk-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);
}

.pk-doc-wrap {
	max-width: 1100px;
	margin: 20px 20px 20px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--pk-text);
}

.pk-header {
	background: linear-gradient(135deg, var(--pk-primary) 0%, #334155 100%);
	color: #fff;
	padding: 35px;
	border-radius: 12px;
	margin-bottom: 25px;
	box-shadow: var(--pk-shadow);
	position: relative;
	overflow: hidden;
}

.pk-header::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 50%;
	height: 200%;
	background: linear-gradient(to bottom, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
	transform: rotate(30deg);
	pointer-events: none;
}

.pk-header h1 {
	color: #fff;
	font-size: 2.2em;
	margin: 0 0 8px 0;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pk-header p {
	font-size: 1.1em;
	margin: 0;
	opacity: 0.9;
	max-width: 600px;
	line-height: 1.5;
}

.pk-body {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 25px;
	align-items: start;
}

@media (max-width: 768px) {
	.pk-body {
		grid-template-columns: 1fr;
	}
}

/* Sidebar Nav */
.pk-nav {
	background: var(--pk-card-bg);
	border-radius: 12px;
	padding: 15px;
	box-shadow: var(--pk-shadow);
	border: 1px solid var(--pk-border);
}

.pk-nav-item {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	color: var(--pk-text);
	text-decoration: none;
	border-radius: 8px;
	margin-bottom: 6px;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	background: transparent;
	width: 100%;
	text-align: left;
}

.pk-nav-item:hover {
	background: #f1f5f9;
	color: var(--pk-primary);
}

.pk-nav-item.active {
	background: var(--pk-primary);
	color: #fff;
	box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.pk-nav-item svg {
	margin-right: 12px;
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

/* Content Cards */
.pk-content {
	background: var(--pk-card-bg);
	border-radius: 12px;
	padding: 35px;
	box-shadow: var(--pk-shadow);
	border: 1px solid var(--pk-border);
	min-height: 450px;
}

.pk-tab-pane {
	display: none;
	animation: pkFadeIn 0.3s ease;
}

.pk-tab-pane.active {
	display: block;
}

@keyframes pkFadeIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

.pk-tab-pane h2 {
	font-size: 1.8em;
	margin: 0 0 20px 0;
	color: var(--pk-primary);
	border-bottom: 2px solid var(--pk-border);
	padding-bottom: 12px;
	font-weight: 700;
}

.pk-tab-pane h3 {
	font-size: 1.3em;
	margin: 25px 0 12px 0;
	color: var(--pk-primary);
	font-weight: 600;
}

.pk-tab-pane p {
	line-height: 1.6;
	font-size: 15px;
	margin: 0 0 15px 0;
	color: var(--pk-text);
}

/* Code block */
.pk-code-box {
	background: #0f172a;
	color: #f8fafc;
	padding: 15px 20px;
	border-radius: 8px;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 15px 0;
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
	overflow-x: auto;
}

.pk-code-text {
	white-space: nowrap;
	overflow-x: auto;
	padding-right: 15px;
}

.pk-copy-btn {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.pk-copy-btn:hover {
	background: var(--pk-accent);
	border-color: var(--pk-accent);
}

/* Step List */
.pk-steps {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.pk-step-item {
	display: flex;
	margin-bottom: 18px;
	align-items: flex-start;
}

.pk-step-num {
	background: #e2e8f0;
	color: var(--pk-primary);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	margin-right: 15px;
	margin-top: 2px;
	flex-shrink: 0;
}

.pk-step-content {
	flex: 1;
}

.pk-step-content strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
	color: var(--pk-primary);
}

/* Info alerts */
.pk-alert {
	background: #ecfdf5;
	border-left: 4px solid var(--pk-accent);
	color: #065f46;
	padding: 15px 20px;
	border-radius: 0 8px 8px 0;
	margin: 20px 0;
	font-size: 14px;
	line-height: 1.5;
}

.pk-alert strong {
	color: #047857;
}

.pk-alert-warn {
	background: #fffbeb;
	border-left: 4px solid #f59e0b;
	color: #92400e;
}

.pk-alert-warn strong {
	color: #d97706;
}

/* Badges */
.pk-badge {
	background: #f1f5f9;
	color: var(--pk-text-muted);
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 12px;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
}

.pk-badge-lite {
	background: #f1f5f9;
	color: var(--pk-text-muted);
}
