.sentient-forms-qna-panel,
.sentient-forms-qna-row {
	box-sizing: border-box;
	color: #1d2327;
}

.sentient-forms-qna-panel {
	max-width: 980px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.sentient-forms-qna-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-bottom: 1px solid #dcdcde;
	background: #f6f7f7;
}

.sentient-forms-qna-panel__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	justify-content: flex-end;
}

.sentient-forms-qna-action-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid #d8dee7;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
	color: #0f172a;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.sentient-forms-qna-action-button:hover {
	border-color: #c5d0df;
	background: #fbfcfe;
	box-shadow: 0 2px 4px rgba(16, 24, 40, 0.1);
	color: #0f172a;
}

.sentient-forms-qna-action-button:active {
	box-shadow: 0 1px 1px rgba(16, 24, 40, 0.08);
	transform: translateY(1px);
}

.sentient-forms-qna-action-button__icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.sentient-forms-qna-action-button__label {
	white-space: nowrap;
}

.sentient-forms-qna-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	pointer-events: none;
}

.sentient-forms-qna-icon-state {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sentient-forms-qna-icon-state[hidden] {
	display: none !important;
}

.sentient-forms-qna-icon-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 34px;
	padding: 0;
	border: 1px solid #d8dee7;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	color: #0f172a;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
	transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease, transform 120ms ease;
}

.sentient-forms-qna-icon-button:hover {
	border-color: #c5d0df;
	background: #fbfcfe;
	box-shadow: 0 2px 4px rgba(16, 24, 40, 0.1);
	color: #0a4b78;
}

.sentient-forms-qna-icon-button:active {
	box-shadow: 0 1px 1px rgba(16, 24, 40, 0.08);
	transform: translateY(1px);
}

.sentient-forms-qna-icon-button[aria-pressed="true"],
.sentient-forms-qna-icon-button.is-active {
	border-color: #9ec2e6;
	background: #f0f6fc;
	color: #0a4b78;
}

.sentient-forms-qna-summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	min-width: 0;
}

.sentient-forms-qna-summary__count {
	font-size: 13px;
	line-height: 1.3;
}

.sentient-forms-qna-summary__updated {
	color: #646970;
	font-size: 12px;
	line-height: 1.4;
}

.sentient-forms-qna-pill,
.sentient-forms-qna-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.sentient-forms-qna-pill {
	padding: 5px 8px;
	background: #e7f5f8;
	color: #0a4b78;
}

.sentient-forms-qna-pill--attention {
	background: #fcf0d4;
	color: #7a3b00;
}

.sentient-forms-qna-status {
	padding: 4px 7px;
	border: 1px solid transparent;
}

.sentient-forms-qna-status--completed {
	border-color: #8fd7a3;
	background: #edfaef;
	color: #135e26;
}

.sentient-forms-qna-status--answered {
	border-color: #9ec2e6;
	background: #f0f6fc;
	color: #0a4b78;
}

.sentient-forms-qna-status--open,
.sentient-forms-qna-status--required {
	border-color: #f0c36d;
	background: #fff8e5;
	color: #7a3b00;
}

.sentient-forms-qna-tabs-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 16px;
	border-bottom: 1px solid #dcdcde;
	background: #fff;
}

.sentient-forms-qna-tabs {
	display: flex;
	gap: 6px;
}

.sentient-forms-qna-tabs__actions {
	display: flex;
	justify-content: flex-end;
	margin-left: auto;
}

.sentient-forms-qna-tabs__actions[hidden] {
	display: none !important;
}

.sentient-forms-qna-tab {
	width: 38px;
	height: 36px;
	min-width: 38px;
	border-color: #dcdcde;
	background: #f6f7f7;
}

.sentient-forms-qna-tab.is-active {
	background: #fff;
	border-color: #2271b1;
	color: #0a4b78;
	box-shadow: inset 0 -2px 0 #2271b1, 0 1px 2px rgba(16, 24, 40, 0.06);
}

.sentient-forms-qna-tab:focus-visible,
.sentient-forms-qna-icon-button:focus-visible,
.sentient-forms-qna-action-button:focus-visible,
.sentient-forms-qna-copy:focus-visible,
.sentient-forms-qna-export:focus-visible,
.sentient-forms-qna-review-filter__button:focus-visible,
.sentient-forms-qna-review-button:focus-visible,
.sentient-forms-qna-review-search input:focus-visible,
.sentient-forms-qna-review-sort select:focus-visible,
.sentient-forms-qna-card__toggle:focus-visible,
.sentient-forms-qna-row__toggle:focus-visible,
.sentient-forms-qna-row__detail:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.sentient-forms-qna-view {
	padding: 16px;
}

.sentient-forms-qna-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 12px;
}

.sentient-forms-qna-cards--review {
	align-items: start;
}

.sentient-forms-qna-cards--compact {
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: 8px;
}

.sentient-forms-qna-card {
	border: 1px solid #dcdcde;
	border-left-width: 4px;
	border-radius: 6px;
	background: #fff;
	padding: 11px 12px;
}

.sentient-forms-qna-card[hidden] {
	display: none !important;
}

.sentient-forms-qna-card--completed {
	border-left-color: #00a32a;
}

.sentient-forms-qna-card--answered {
	border-left-color: #2271b1;
}

.sentient-forms-qna-card--open {
	border-left-color: #dba617;
}

.sentient-forms-qna-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.sentient-forms-qna-card__action,
.sentient-forms-qna-card__target {
	color: #646970;
	font-size: 12px;
	line-height: 1.35;
}

.sentient-forms-qna-card__toggle {
	margin-left: auto;
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-color: #cfd8e3;
	background: #f8fafc;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
	color: #0a4b78;
}

.sentient-forms-qna-card__toggle:hover {
	border-color: #8bb7df;
	background: #eef6fd;
	box-shadow: 0 2px 5px rgba(16, 24, 40, 0.12);
}

.sentient-forms-qna-card__toggle[aria-expanded="false"] {
	color: #42526a;
}

.sentient-forms-qna-card__toggle .sentient-forms-qna-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

.sentient-forms-qna-card__question {
	margin: 0 0 8px;
	color: #1d2327;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.42;
}

.sentient-forms-qna-card__answer {
	margin: 0;
	color: #2c3338;
	font-size: 13px;
	line-height: 1.45;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.sentient-forms-qna-card__body[hidden] {
	display: none !important;
}

.sentient-forms-qna-card__reason,
.sentient-forms-qna-card__late-notice,
.sentient-forms-qna-more,
.sentient-forms-qna-empty {
	margin: 8px 0 0;
	color: #646970;
	font-size: 12px;
	line-height: 1.45;
}

.sentient-forms-qna-card__late-notice {
	padding: 8px 10px;
	border: 1px solid #f0c36d;
	border-radius: 6px;
	background: #fff8e5;
	color: #7a3b00;
}

.sentient-forms-qna-card__late-notice strong {
	color: #1d2327;
}

.sentient-forms-qna-review-toolbar {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fbfcfd;
}

.sentient-forms-qna-review-toolbar__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	color: #50575e;
	font-size: 12px;
	line-height: 1.35;
}

.sentient-forms-qna-review-toolbar__summary strong {
	color: #1d2327;
	font-size: 13px;
}

.sentient-forms-qna-review-toolbar__label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 4px 7px;
	border-radius: 999px;
	background: #e7f5f8;
	color: #0a4b78;
	font-weight: 700;
	line-height: 1;
}

.sentient-forms-qna-review-toolbar__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.sentient-forms-qna-review-filter {
	display: inline-flex;
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid #d8dee7;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.sentient-forms-qna-review-filter__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 58px;
	min-height: 34px;
	padding: 0 10px;
	border: 0;
	border-right: 1px solid #e3e7ee;
	background: transparent;
	color: #2c3338;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.sentient-forms-qna-review-filter__button:last-child {
	border-right: 0;
}

.sentient-forms-qna-review-filter__button strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	padding: 3px 6px;
	border-radius: 999px;
	background: #edf1f5;
	color: #50575e;
	font-size: 11px;
	line-height: 1;
}

.sentient-forms-qna-review-filter__button.is-active {
	background: #f0f6fc;
	color: #0a4b78;
}

.sentient-forms-qna-review-filter__button.is-active strong {
	background: #dbeafe;
	color: #0a4b78;
}

.sentient-forms-qna-review-field {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.sentient-forms-qna-review-field__icon {
	position: absolute;
	left: 12px;
	z-index: 1;
	width: 14px;
	height: 14px;
	color: #646970;
	pointer-events: none;
}

.sentient-forms-qna-review-search {
	flex: 1 1 220px;
	min-width: min(100%, 190px);
}

.sentient-forms-qna-review-sort {
	flex: 0 1 150px;
	min-width: min(100%, 140px);
}

.sentient-forms-qna-review-search input,
.sentient-forms-qna-review-sort select {
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	min-height: 42px;
	margin: 0;
	border: 1px solid #d8dee7;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	color: #1d2327;
	font-size: 13px;
	line-height: 1.2;
}

.sentient-forms-qna-review-search input {
	padding: 0 10px 0 38px;
}

.sentient-forms-qna-review-sort select {
	padding: 0 28px 0 38px;
}

.gform-settings-panel__content .sentient-forms-qna-panel .sentient-forms-qna-review-search input {
	padding: 0 10px 0 38px;
}

.gform-settings-panel__content .sentient-forms-qna-panel .sentient-forms-qna-review-sort select {
	padding: 0 28px 0 38px;
}

.sentient-forms-qna-review-button {
	flex: 0 0 34px;
	white-space: nowrap;
}

.sentient-forms-qna-review-button--expand {
	gap: 7px;
	width: auto;
	min-width: 104px;
	flex: 0 0 auto;
	padding: 0 12px;
	justify-content: center;
}

.sentient-forms-qna-review-button__label {
	color: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.sentient-forms-qna-review-empty {
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	background: #fff8e5;
	color: #7a3b00;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.sentient-forms-qna-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.sentient-forms-qna-table th,
.sentient-forms-qna-table td {
	padding: 9px 10px;
	border: 1px solid #dcdcde;
	text-align: left;
	vertical-align: top;
	font-size: 13px;
	line-height: 1.4;
}

.sentient-forms-qna-table th {
	background: #f6f7f7;
	font-weight: 700;
}

.sentient-forms-qna-json {
	box-sizing: border-box;
	max-height: 420px;
	margin: 0;
	padding: 12px;
	overflow: auto;
	border: 1px solid #dcdcde;
	border-radius: 5px;
	background: #101517;
	color: #e8f0f2;
	font-size: 12px;
	line-height: 1.45;
	white-space: pre-wrap;
}

.sentient-forms-qna-row {
	margin-top: 8px;
	padding: 8px 10px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #f6f7f7;
}

.sentient-forms-qna-entry-detail-fallback {
	margin: 12px 0 18px;
}

.sentient-forms-qna-row .sentient-forms-qna-summary {
	margin-bottom: 4px;
}

.sentient-forms-qna-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	font-size: 12px;
}

.sentient-forms-qna-row__separator {
	color: #a7aaad;
}

.sentient-forms-qna-row__preview {
	margin-top: 8px;
}

.sentient-forms-qna-cell-summary {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
}

.sentient-forms-qna-panel--error {
	padding: 12px;
	border-color: #d63638;
}

.sentient-forms-qna-panel--error p {
	margin: 6px 0;
}

.sentient-forms-qna-panel--error pre {
	max-height: 240px;
	overflow: auto;
	white-space: pre-wrap;
}

.sentient-forms-qna-copy-source {
	display: none;
}

@media screen and (max-width: 782px) {
	.sentient-forms-qna-panel__header {
		flex-direction: column;
		align-items: stretch;
	}

	.sentient-forms-qna-panel__actions {
		justify-content: flex-start;
	}

	.sentient-forms-qna-tabs {
		overflow-x: auto;
	}

	.sentient-forms-qna-cards {
		grid-template-columns: 1fr;
	}

	.sentient-forms-qna-review-filter {
		width: 100%;
	}

	.sentient-forms-qna-review-filter__button {
		flex: 1 0 auto;
		justify-content: center;
	}

	.sentient-forms-qna-table {
		display: block;
		overflow-x: auto;
	}
}

@media print {
	.sentient-forms-qna-panel {
		max-width: none;
		border-color: #8c8f94;
		break-inside: avoid;
	}

	.sentient-forms-qna-panel__actions,
	.sentient-forms-qna-tabs,
	.sentient-forms-qna-row__actions,
	.sentient-forms-qna-review-toolbar,
	.sentient-forms-qna-card__toggle {
		display: none !important;
	}

	.sentient-forms-qna-table th,
	.sentient-forms-qna-table td {
		border-color: #8c8f94;
	}
}
