.et_pb_code_0 {
	height: auto !important;
	min-height: 56vh;
}

.twc-prompt-help {
	max-width: 760px;
	margin: 16px auto 18px;
	color: #555;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
	text-align: left;
}

.twc-request-counter {
	max-width: 760px;
	margin: -10px auto 18px;
	color: #084310;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
}

.twc-coach-response.is-ready {
	border-color: #084310;
	background: #fbfff9;
}

.twc-prompt-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

#twc-coach-button:disabled {
	cursor: wait;
	opacity: 0.78;
}

#twc-coach-response.twc-coach-response {
	margin: 28px auto 0;
	padding: 26px;
	border: 1px solid #d4af37;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(8, 67, 16, 0.12);
	color: #222;
}

#twc-coach-response.is-loading,
#twc-coach-response.is-error {
	padding: 18px 20px;
	text-align: center;
}

#twc-coach-response.is-loading {
	border-color: #084310;
}

#twc-coach-response.is-error {
	border-color: #a33;
	background: #fff8f8;
	color: #742a2a;
}

.twc-coach-result-title {
	margin-bottom: 22px;
	color: #084310;
	font-size: 24px;
	text-align: center;
}

.twc-coach-section {
	padding: 0 0 20px;
	margin: 0 0 20px;
	border-bottom: 1px solid #e7dfca;
	text-align: left;
}

.twc-coach-section:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.twc-coach-section h4 {
	margin-bottom: 8px;
	color: #084310;
	font-size: 18px;
	font-weight: 700;
}

.twc-coach-section p,
.twc-coach-section li {
	font-size: 15px;
	line-height: 1.65;
}

.twc-coach-section ul {
	padding-left: 22px;
	list-style: disc;
}

.twc-coach-section li {
	margin-bottom: 6px;
}

.twc-strong-prompt-editor {
	display: block;
	width: 100%;
	min-height: 180px;
	padding: 16px;
	border: 1px solid #b9b19d;
	border-left: 4px solid #d4af37;
	border-radius: 2px;
	background: #f8f4e8;
	color: #222;
	font: inherit;
	font-size: 15px;
	line-height: 1.65;
	resize: vertical;
	white-space: pre-wrap;
}

.twc-strong-prompt-editor:focus {
	border-color: #084310;
	box-shadow: 0 0 0 2px rgba(8, 67, 16, 0.14);
	outline: 0;
}

.twc-editor-help {
	margin: 8px 0 0;
	color: #555;
	font-size: 12px !important;
	line-height: 1.5 !important;
}

.twc-usage-guidance {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-left: 4px solid #084310;
	background: #f8f4e8;
	color: #333;
	font-size: 13px !important;
	line-height: 1.55 !important;
}

.twc-prompt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.twc-copy-prompt,
.twc-create-result {
	padding: 8px 14px !important;
	border: 1px solid #084310 !important;
	font-size: 13px !important;
	text-transform: none;
}

.twc-copy-prompt {
	border-color: #d4af37 !important;
	background: #084310 !important;
	color: #fff !important;
}

.twc-copy-prompt:hover {
	background: #0b5a17 !important;
}

.twc-create-result {
	background: #fff !important;
	color: #084310 !important;
}

.twc-create-result:hover {
	background: #f2ebd8 !important;
}

.twc-create-result:disabled {
	cursor: wait;
	opacity: 0.78;
}

.twc-result-note,
.twc-result-status {
	margin: 8px 0 0;
	font-size: 12px !important;
	line-height: 1.5 !important;
}

.twc-result-note {
	color: #666;
}

.twc-result-status.is-loading {
	color: #084310;
}

.twc-result-status.is-error {
	color: #742a2a;
}

.twc-result-content {
	padding: 18px;
	border-left: 4px solid #084310;
	background: #f8f4e8;
}

.twc-result-content p {
	margin: 0 0 14px;
	white-space: pre-wrap;
}

.twc-result-content p:last-child,
.twc-result-content ul:last-child,
.twc-result-content ol:last-child {
	margin-bottom: 0;
}

.twc-result-content ul,
.twc-result-content ol {
	margin: 0 0 14px;
	padding-left: 24px;
}

.twc-result-content ul {
	list-style: disc;
}

.twc-result-content ol {
	list-style: decimal;
}

.twc-preview-warning {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid #d4af37;
	background: #fffaf0;
	color: #4d430f;
	font-size: 12px !important;
	line-height: 1.5 !important;
}

.twc-capability-guidance,
.twc-preview-unavailable {
	margin-top: 12px;
	padding: 12px 14px;
	border-left: 4px solid #d4af37;
	background: #fffaf0;
	color: #333;
}

.twc-capability-guidance {
	font-size: 13px !important;
	line-height: 1.55 !important;
}

.twc-preview-unavailable {
	border: 1px solid #d4af37;
	border-left-width: 4px;
}

@media (max-width: 767px) {
	#twc-coach-response.twc-coach-response {
		padding: 20px 16px;
	}

	.twc-prompt-help {
		text-align: center;
	}

	.twc-request-counter {
		text-align: center;
	}
}

/* Version 2.1 Beta: voice and conversational follow-up controls. */
.twc-voice-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 14px 0 4px;
}

.twc-voice-button {
	background: #ffffff;
	border: 2px solid #084310;
	border-radius: 6px;
	color: #084310;
	cursor: pointer;
	font-weight: 700;
	padding: 10px 16px;
}

.twc-voice-button:hover:not(:disabled) {
	background: #f4f7f4;
}

.twc-voice-button.is-listening {
	background: #fff1f1;
	border-color: #9b1c1c;
	color: #9b1c1c;
}

.twc-voice-button:disabled {
	cursor: not-allowed;
	opacity: .6;
}

.twc-voice-status {
	color: #525b54;
	font-size: .92rem;
}

.twc-coach-response.is-followup {
	background: #fffdf4;
	border-left: 5px solid #d4af37;
	padding: 20px;
}

.twc-coach-response.is-followup ol {
	margin: 12px 0 12px 24px;
}

.twc-followup-note {
	font-weight: 600;
}
