.per-request-panel {
	margin: 0 0 1rem;
	position: relative;
	z-index: 3;
}

.per-request-action-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
	align-items: start;
}

.per-request-details {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	position: relative;
}

.per-request-details > summary {
	list-style: none;
}

.per-request-details > summary::-webkit-details-marker {
	display: none;
}

.per-bar-button {
	appearance: none;
	border: 1px solid rgba(11, 95, 255, .2);
	border-radius: 6px;
	background: #0b5fff;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	font-weight: 700;
	font-size: .86rem;
	line-height: 1.1;
	min-height: 32px;
	padding: .35rem .65rem;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.per-my-edits-button {
	background: #17324d;
	border-color: rgba(23, 50, 77, .24);
}

.per-bar-button:hover,
.per-bar-button:focus {
	background: #0649c9;
	color: #fff;
	text-decoration: none;
}

.per-my-edits-button:hover,
.per-my-edits-button:focus {
	background: #0f2438;
}

.per-request-form-wrap {
	background: #fff;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(0,0,0,.08);
	box-sizing: border-box;
	margin-top: 8px;
	padding: 1rem;
	width: calc(200% + 8px);
}

.per-request-form-wrap textarea,
.per-readonly-reference {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 8px;
	padding: .75rem;
	font: inherit;
}

.per-readonly-reference {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: .9rem;
	background: #f6f7f7;
}

.per-field-help,
.per-request-help {
	color: #50575e;
	font-size: .95rem;
}

.per-page-reference {
	margin: 1rem 0;
}

.per-page-reference summary {
	cursor: pointer;
	font-weight: 700;
}

.per-submit-button {
	appearance: none;
	border: 0;
	border-radius: 8px;
	background: #17324d;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: .75rem 1rem;
}

.per-request-message {
	background: #e7f7ed;
	border: 1px solid #8bd1a7;
	border-radius: 8px;
	color: #0a6b2b;
	margin-bottom: .6rem;
	padding: .75rem 1rem;
}

.per-my-edits {
	margin: 1.5rem 0;
}

.per-my-edits-list {
	display: grid;
	gap: 12px;
}

.per-my-edits-card,
.per-my-edits-empty {
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 10px;
	padding: 1rem;
}

.per-my-edits-card header,
.per-my-edits-card footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.per-my-edits-card h3 {
	margin: 0;
}

.per-my-edits-card footer {
	border-top: 1px solid rgba(0,0,0,.08);
	margin-top: .8rem;
	padding-top: .8rem;
}

.per-status {
	display: inline-block;
	border-radius: 999px;
	padding: 3px 9px;
	font-weight: 700;
	font-size: 12px;
	background: #f0f0f1;
	white-space: nowrap;
}

.per-status-pending,
.per-status-in_review {
	background: #e7f1ff;
	color: #004b93;
}

.per-status-addressed {
	background: #e7f7ed;
	color: #0a6b2b;
}

.per-status-rejected {
	background: #fcf0f1;
	color: #8a2424;
}

.per-rejection-note {
	background: #fcf0f1;
	border-radius: 8px;
	padding: .75rem;
}

.per-inline-admin-link {
	display: inline-block;
	font-weight: 700;
}

@media (max-width: 640px) {
	.per-request-action-bar {
		grid-template-columns: 1fr;
	}

	.per-request-form-wrap {
		width: 100%;
	}

	.per-my-edits-card header,
	.per-my-edits-card footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
