.stpw-wrap {
	max-width: 1280px;
	margin: 1.5rem auto;
	padding: 0 1rem;
}

.stpw-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 1rem 1.25rem 1.25rem;
	box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

.stpw-titlebar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.stpw-titlebar h2 {
	margin: 0;
	font-size: 1.2rem;
	white-space: nowrap;
	flex: 0 0 auto;
}

.stpw-topnav {
	display: flex;
	gap: .9rem;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
}

.stpw-topnav a {
	text-decoration: none;
	color: #2271b1;
	font-weight: 500;
	white-space: nowrap;
}

.stpw-topnav a:hover {
	text-decoration: underline;
}

.stpw-notice {
	padding: .875rem 1rem;
	border-radius: 8px;
	margin: 0 0 1rem;
}

.stpw-notice--success {
	background: #edfaef;
	border: 1px solid #72aee6;
}

.stpw-notice--error {
	background: #fcf0f1;
	border: 1px solid #d63638;
}

.stpw-form,
.stpw-stack {
	display: grid;
	gap: 1rem;
}

.stpw-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.stpw-grid--5 {
	grid-template-columns: 2fr 1.2fr 1fr 1.2fr 1.5fr;
	align-items: end;
}

.stpw-form label,
.stpw-stack label {
	display: block;
	font-weight: 600;
	margin-bottom: .4rem;
}

.stpw-form input[type="text"],
.stpw-form input[type="url"],
.stpw-form input[type="datetime-local"],
.stpw-form select,
.stpw-form textarea,
.stpw-stack input[type="url"],
.stpw-stack select {
	width: 100%;
	padding: .7rem .8rem;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	box-sizing: border-box;
}

.stpw-code {
	font-family: Consolas, Monaco, monospace;
	min-height: 520px;
}

@media (max-width: 960px) {
	.stpw-grid,
	.stpw-grid--5 {
		grid-template-columns: 1fr;
	}

	.stpw-titlebar {
		flex-direction: column;
		align-items: flex-start;
	}

	.stpw-topnav {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: .65rem;
	}
}


.stpw-brand {
	font-size: 1.2rem;
	font-weight: 600;
	white-space: nowrap;
}

.stpw-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .85rem;
	flex: 1 1 auto;
	min-width: 0;
}

.stpw-topnav a {
	display: inline-flex;
	align-items: center;
	padding: .35rem .15rem;
	border-bottom: 2px solid transparent;
}

.stpw-topnav a.is-active {
	color: #1d2327;
	border-bottom-color: #2271b1;
}

.stpw-quickactions {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex-wrap: wrap;
}

.stpw-quickactions .button {
	white-space: nowrap;
}

@media (max-width: 960px) {
	.stpw-toolbar {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}
