/* Truebe admin styling. Scoped under .truebe-settings so it never leaks into wp-admin.
 * !important is used on input properties WordPress core (load-styles.php) overrides. */

.truebe-settings {
	max-width: 760px;
}

.truebe-settings h1 {
	margin-bottom: 12px;
}

/* 2FA recommendation banner. */
.truebe-2fa {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	border: 1px solid #f0f0f1;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 20px;
}
.truebe-2fa .truebe-2fa-left {
	display: flex;
	align-items: center;
	gap: 10px;
}
.truebe-2fa .truebe-2fa-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e1f5ee;
	color: #0f6e56;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 15px;
}
.truebe-2fa .truebe-2fa-text {
	font-size: 14px;
	color: #1d2327;
}

/* Card holding the fields. */
.truebe-card {
	background: #fff;
	border: 1px solid #f0f0f1;
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 0;
}

.truebe-field {
	padding-bottom: 32px;
}
.truebe-field:last-child {
	padding-bottom: 0;
}
.truebe-field + .truebe-field {
	border-top: 1px solid #f0f0f1;
	padding-top: 32px;
}

.truebe-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #50575e;
	margin-bottom: 7px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Inputs and tiles share one fixed height so rows line up exactly. */
.truebe-input,
.truebe-tile {
	height: 44px;
	box-sizing: border-box;
	border: 1px solid #e6e6e8 !important;
	border-radius: 10px !important;
}

.truebe-input {
	width: 100%;
	padding: 0 13px !important;
	font-size: 14px;
	transition: border-color 0.12s, box-shadow 0.12s;
	margin-bottom: 0;
}
.truebe-input:focus {
	outline: none;
	border-color: #0f6e56 !important;
	box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.12) !important;
}

/* Provider tiles. */
.truebe-providers {
	display: flex;
	gap: 10px;
}
.truebe-tile {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 13px;
	cursor: pointer;
	transition: border-color 0.12s, box-shadow 0.12s;
}
.truebe-tile input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.truebe-tile .truebe-dot {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid #c4c4c7;
	flex-shrink: 0;
	transition: border 0.12s;
}
.truebe-tile .truebe-tile-name {
	font-size: 14px;
	color: #1d2327;
}

/* Claude selected = Anthropic coral. No fill, no size change. */
.truebe-tile.truebe-claude.is-selected {
	border-color: #d8693c !important;
	box-shadow: inset 0 0 0 1px #d8693c;
}
.truebe-tile.truebe-claude.is-selected .truebe-dot {
border-color: #d8693c;
background: #d8693c;
}
.truebe-tile.truebe-claude.is-selected .truebe-tile-name {
	color: #993c1d;
	font-weight: 500;
}

/* ChatGPT selected = black/white. No fill, no size change. */
.truebe-tile.truebe-openai.is-selected {
	border-color: #1d2327 !important;
	box-shadow: inset 0 0 0 1px #1d2327;
}
.truebe-tile.truebe-openai.is-selected .truebe-dot {
border-color: #1d2327;
background: #1d2327;
}
.truebe-tile.truebe-openai.is-selected .truebe-tile-name {
	color: #1d2327;
	font-weight: 500;
}

/* Buttons (Truebe green pills). */
.truebe-btn {
	background: #0f6e56;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 26px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}
.truebe-btn:hover {
	background: #0c5a47;
	color: #fff;
}
.truebe-btn-sm {
	padding: 8px 16px;
	font-size: 13px;
	white-space: nowrap;
}
.truebe-save {
	margin-top: 18px;
}

/* Add a document: drop zone. */
.truebe-drop {
	border-radius: 12px;
	padding: 60px 20px;
	text-align: center;
	cursor: pointer;
	background: transparent;
}
#truebe-card {
	transition: background 0.12s, border-color 0.12s;
}
#truebe-card.is-over {
	background: #f0faf7;
	border-color: #86efac;
}
.truebe-drop-title {
	font-weight: 400;
	color: #999;
	margin-bottom: 24px;
}
.truebe-drop-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e1f5ee;
	color: #0f6e56;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
}
.truebe-drop-icon.dashicons,
.truebe-drop-icon.dashicons-media-document {
	width: 48px;
	height: 48px;
	font-size: 24px;
	line-height: 48px;
}
.truebe-btn-outline {
	background: transparent;
	color: #0f6e56;
	border: 1px solid #86efac;
	border-radius: 999px;
	margin-top: 12px;
	padding: 10px 26px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
}
.truebe-btn-outline:hover {
	background: #f0faf7;
	color: #0f6e56;
}













.truebe-drop-sub {
	font-size: 13px;
	color: #646970;
	margin-bottom: 18px;
}
.truebe-drop-filename {
	font-size: 13px;
	color: #0f6e56;
	margin-top: 14px;
	font-weight: 500;
}
.truebe-drop-note {
	font-size: 12px;
	color: #8a8a8a;
	text-align: center;
	margin: 14px 0 0;
	padding-bottom: 18px;
	border-bottom: 1px solid #f0f0f1;
}
.truebe-attest {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	cursor: pointer;
	margin-top: 18px;
}
.truebe-attest input {
	margin: 0;
	flex-shrink: 0;
}
.truebe-btn:disabled {
	background: #b5c9c2 !important;
	cursor: default;
	opacity: 1;
}
/* Upload progress bar. */
.truebe-progress-label {
font-size: 13px;
color: #646970;
margin-bottom: 8px;
}
.truebe-progress-label a {
color: #0f6e56;
text-decoration: none;
font-weight: 500;
}
.truebe-progress-track {
height: 8px;
background: #eceef0;
border-radius: 999px;
overflow: hidden;
}
.truebe-progress-fill {
height: 100%;
width: 0;
background: #0f6e56;
border-radius: 999px;
transition: width 0.4s ease;
}

/* First-run setup screen. */
.truebe-setup-lead {
	font-size: 16px;
	color: #1d2327;
	margin: 0 0 22px;
	font-weight: 500;
}
/* Compact provider toggle that sits above the AI key field. */
.truebe-providers-sm {
	margin-bottom: 9px;
}
.truebe-providers-sm .truebe-tile {
	height: 36px;
}
.truebe-save-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 20px 0 0;
}
.truebe-save-row .truebe-save {
margin-top: 0;
}

.truebe-keyhelp {
	display: flex;
	gap: 10px;
	margin-top: 9px;
}
.truebe-keyhelp-col {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 16px;
}
/* Claude is the left box; ChatGPT is the right box. Push the ChatGPT
   column's content to the right edge so it sits under the right tile. */
.truebe-keyhelp-openai {
	justify-content: flex-end;
}
.truebe-keyhelp-link {
	font-size: 13px;
	color: #0f6e56;
	text-decoration: none;
	font-weight: 500;
}
.truebe-keyhelp-link:hover {
	text-decoration: underline;
}
.truebe-keyhelp-guide {
	background: none;
	border: none;
	padding: 0;
	font-size: 13px;
	color: #50575e;
	text-decoration: underline;
	cursor: pointer;
}
.truebe-keyhelp-soon {
	color: #8a8a8a;
	text-decoration: none;
	cursor: default;
}

/* Guide modal. */
.truebe-modal[hidden] { display: none; }
.truebe-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.truebe-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 35, 39, 0.55);
}
.truebe-modal-box {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: min(560px, 92vw);
	max-height: 88vh;
	overflow-y: auto;
	padding: 30px 30px 22px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.truebe-modal-x {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #8a8a8a;
	cursor: pointer;
}
.truebe-step-count {
	font-size: 12px;
	font-weight: 600;
	color: #0f6e56;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}
.truebe-step-count-intro {
	color: #8a8a8a;
}
.truebe-step-title {
	font-size: 19px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 14px;
}
.truebe-step-body-box {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 10px;
	padding: 13px 15px;
	margin-bottom: 14px;
}
.truebe-step-body {
	font-size: 14px;
	line-height: 1.55;
	color: #3c434a;
	margin: 0;
}
.truebe-step-img {
	width: 100%;
	border: 1px solid #f0f0f1;
	border-radius: 10px;
	display: block;
}
.truebe-modal-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	margin-bottom: 18px;
}
.truebe-modal-nav-top {
	margin-top: 0;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f1;
}
.truebe-btn-ghost {
	background: #fff;
	color: #50575e;
	border: 1px solid #e6e6e8;
}
.truebe-btn-ghost:hover {
	background: #f6f7f7;
	color: #1d2327;
}
.truebe-btn-ghost:disabled {
	opacity: 0.4;
	cursor: default;
}

/* Setup gate on downstream screens. */
.truebe-gate {
	text-align: center;
	padding: 40px 28px;
}
.truebe-gate-lead {
	font-size: 17px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 8px;
}
.truebe-gate-sub {
	font-size: 14px;
	color: #646970;
	margin: 0 0 20px;
}
/* Disabled Next button until keys are ready. */
.truebe-field-help {
	font-size: 14px;
	color: #646970;
	line-height: 1.5;
	margin: 2px 0 10px;
}

/* Connected state. */
.truebe-connected-state {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 10px;
}
.truebe-connected-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16a34a;
	flex-shrink: 0;
}
.truebe-connected-label {
	font-size: 14px;
	font-weight: 500;
	color: #0f6e56;
	flex: 1;
}
.truebe-connected-manage {
	font-size: 13px;
	color: #0f6e56;
	text-decoration: none;
	font-weight: 500;
}
.truebe-connected-manage:hover {
	text-decoration: underline;
}

/* Connect button. */
.truebe-connect-btn {
	display: inline-block;
	width: auto;
	text-align: center;
	background: #0f6e56;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 26px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
}
.truebe-connect-btn:hover {
	background: #0c5a47;
	color: #fff;
}

.truebe-field-label-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}
.truebe-field-label-row .truebe-label {
	margin-bottom: 0;
}
.truebe-info-icon {
	font-size: 15px;
	color: #8a8a8a;
	cursor: default;
	position: relative;
}
.truebe-tooltip-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.truebe-tooltip {
	display: none;
	position: absolute;
	left: 22px;
	top: -4px;
	width: 220px;
	background: #fff;
	border: 1px solid #e6e6e8;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 12px;
	color: #50575e;
	line-height: 1.5;
	z-index: 9999;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.truebe-tooltip-wrap:hover .truebe-tooltip,
.truebe-tooltip-wrap:focus .truebe-tooltip {
	display: block;
}
.truebe-btn:focus {
  border-radius: 999px !important;
  outline: none !important;
  box-shadow: none !important;
}
.truebe-approve.is-approved {
  background: #c9d6d1;
  color: #33453e;
}
.truebe-approve.is-approved:hover {
  background: #bdccc6;
  color: #33453e;
}

.truebe-welcome {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 28px;
}
.truebe-welcome-greeting {
	font-size: 16px;
	color: #1d2327;
}
.truebe-welcome-greeting strong {
	font-weight: 600;
}
.truebe-welcome-status {
	font-size: 13px;
	color: #646970;
}
.truebe-tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 22px;
	border-bottom: 1px solid #f0f0f1;
}
.truebe-tab {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #646970;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.truebe-tab:hover {
	color: #1d2327;
}
.truebe-tab.is-active {
	color: #0f6e56;
	border-bottom-color: #0f6e56;
}
.truebe-tab:focus {
	outline: none;
	box-shadow: none;
}
.truebe-flash {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
	margin: 0;
}
.truebe-flash-pill {
	background: #e1f5ee;
	color: #0f6e56;
	font-size: 13px;
	font-weight: 500;
	border-radius: 999px;
	padding: 6px 14px;
}

/* Appearance tab. */
.truebe-settings:has(.truebe-ap){max-width:960px;}
.truebe-ap-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start;}
.truebe-ap-colors{display:flex;flex-direction:column;gap:16px;}
.truebe-ap-cgroup{display:flex;flex-direction:column;}
.truebe-ap-chead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:7px;}
.truebe-ap-cname{font-size:13px;color:#1d2327;}

.truebe-ap-chex{font-size:12px;color:#8a8a8a;text-transform:uppercase;font-variant-numeric:tabular-nums;width:80px;text-align:right;border:1px solid #dcdcde !important;background:#fff !important;box-shadow:none !important;padding:2px 6px !important;margin:0 !important;min-height:0 !important;line-height:1.4;font-family:inherit;border-radius:4px;}
.truebe-ap-chex:hover{color:#50575e;border-color:#b0b0b0 !important;}
.truebe-ap-chex:focus{outline:none !important;color:#1d2327;box-shadow:0 0 0 1px #0f6e56 !important;border-color:#0f6e56 !important;}

.truebe-ap-cbar{width:100%;height:18px;border:none !important;border-radius:40px;padding:0;cursor:pointer;background:none;-webkit-appearance:none;appearance:none;overflow:hidden;}
.truebe-ap-cbar:focus{outline:none;box-shadow:none;}
.truebe-ap-cbar::-webkit-color-swatch-wrapper{padding:0;}
.truebe-ap-cbar::-webkit-color-swatch{border:none;border-radius:40px;}
.truebe-ap-cbar::-moz-color-swatch{border:none;border-radius:40px;}
.truebe-ap-cbar::-moz-focus-inner{border:0;}
.truebe-ap-presets{display:flex;gap:8px;}
.truebe-ap-preset{flex:1;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #e6e6e8;border-radius:10px;font-size:14px;cursor:pointer;background:#fff;color:#3c434a;}
.truebe-ap-preset.is-active{border-color:#0f6e56;box-shadow:inset 0 0 0 1px #0f6e56;color:#0f6e56;font-weight:500;}
.truebe-ap-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.truebe-ap-rowtext{font-size:14px;color:#1d2327;}
.truebe-ap-rowhint{font-size:12px;color:#8a8a8a;margin-top:2px;}
.truebe-ap-switch{display:inline-flex;cursor:pointer;position:relative;flex-shrink:0;}
.truebe-ap-switch input{position:absolute;opacity:0;pointer-events:none;}
.truebe-ap-track{width:42px;height:24px;border-radius:999px;background:#d6d6d8;position:relative;transition:background 0.15s;}
.truebe-ap-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left 0.15s;}
.truebe-ap-switch input[type=checkbox]:checked ~ .truebe-ap-track{background:#0f6e56;}
.truebe-ap-switch input[type=checkbox]:checked ~ .truebe-ap-track .truebe-ap-knob{left:21px;}
.truebe-ap-pvlabel{font-size:11px;font-weight:600;color:#8a8a8a;text-transform:uppercase;letter-spacing:0.06em;margin:0 0 12px;}
.truebe-ap-pv{background:#fff;border:1px solid #f0f0f1;border-radius:12px;padding:18px;margin:0 auto;transition:max-width 0.2s;box-sizing:border-box;}
.truebe-ap-pvhead{font-size:15px;font-weight:500;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #f0f0f1;}
.truebe-ap-bub{padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.5;margin-bottom:10px;max-width:85%;width:fit-content;}
.truebe-ap-user{margin-left:auto;width:fit-content;}
.truebe-ap-fb{border-radius:8px;padding:12px;}
.truebe-ap-fbtitle{font-weight:500;font-size:13px;margin-bottom:4px;}
.truebe-ap-fbsub{font-size:12px;margin-bottom:10px;}
.truebe-ap-fbitem{border-radius:6px;padding:8px;font-size:13px;margin-bottom:10px;}
.truebe-ap-fbitem:last-child{margin-bottom:0;}
.truebe-ap-inrow{display:flex;align-items:center;gap:4px;margin-top:14px;}
.truebe-ap-inbox{flex:1;height:38px;border:1px solid #e6e6e8;border-radius:10px;display:flex;align-items:center;padding:0 12px;font-size:13px;color:#8a8a8a;}
.truebe-ap-ic{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#0f6e56;flex-shrink:0;}
@media(max-width:782px){.truebe-ap-grid{grid-template-columns:1fr;}}


/* Internal chat: kill wp-admin's blue focus ring on the bare input inside the pill,
 * and force it to fill the pill — wp-admin's own input width rules otherwise win
 * over the inline width:100% and shrink it to the browser's default text-input size. */
.truebe-ap-inbox input[type="text"],
.truebe-ap-inbox input[type="text"]:focus {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Internal chat: restore the native select chevron wp-admin strips. */
.truebe-tile:focus,
.truebe-tile:active,
.truebe-tile input:focus,
.truebe-tile input:active {
	outline: none !important;
	box-shadow: none !important;
}
.truebe-tile.is-selected {
	box-shadow: none !important;
}

.truebe-nav-btn { 
	width:28px;
	height:28px;
	border-radius:50%;
	border:1px solid #c3c4c7;
	background:#fff;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	color:#0f6e56;
	transition:background 0.12s,border-color 0.12s,color 0.12s; 
}
	.truebe-nav-btn:hover { background:#0f6e56;border-color:#0f6e56;color:#fff; }
	.truebe-add-btn { 
		width:18px;
		height:18px;
		border-radius:50%;
		border:none;
		background:#e1f5ee;
		color:#0f6e56;
		font-size:14px;
		cursor:pointer;
		display:inline-flex;
		align-items:center;
		justify-content:center;
		transition:background 0.12s,color 0.12s; 
		padding-bottom:5px;
	}
	.truebe-add-btn:hover { 
		background:#0f6e56;
		color:#fff;
	}

/* Chatbot widget styling. */
#truebe-chatbot-widget {
max-width: 480px;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
line-height: 1.6;
color: #1d2327;
}

.truebe-chat-container {
background: #fff;
border: 1px solid #f0f0f1;
border-radius: 12px;
padding: 20px;
display: flex;
flex-direction: column;
max-height: 600px;
overflow-y: auto;
}

.truebe-chat-message {
display: flex;
flex-direction: column;
gap: 4px;
margin-bottom: 14px;
}

.truebe-chat-timestamp {
font-size: 12px;
color: #8a8a8a;
}

.truebe-chat-bubble {
padding: 12px;
border-radius: 8px;
word-wrap: break-word;
}

.truebe-chat-user {
align-self: flex-end;
background: #e1f5ee;
color: #0f6e56;
max-width: 85%;
}

.truebe-chat-bot {
align-self: flex-start;
background: #f6f7f7;
max-width: 85%;
}

.truebe-chat-header {
font-size: 15px;
font-weight: 500;
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: 1px solid #f0f0f1;
}

.truebe-chat-source {
font-size: 12px;
color: #8a8a8a;
margin-top: 6px;
}

.truebe-chat-source a {
color: #0f6e56;
text-decoration: none;
font-weight: 500;
}

.truebe-messages:not(:empty) {
margin-bottom: 12px;
}

.truebe-chat-input-row {
display: flex;
align-items: center;
gap: 4px;
}

.truebe-chat-input {
flex: 1;
padding: 10px;
border: 1px solid #e6e6e8;
border-radius: 10px;
font-size: 14px;
}

.truebe-chat-input:focus {
outline: none;
border-color: #0f6e56;
box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.12);
}

.truebe-chat-btn {
padding: 8px;
background: none;
border: none;
cursor: pointer;
color: #0f6e56;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
}

.truebe-chat-btn:focus {
outline: none;
box-shadow: none;
}

.truebe-chat-btn-mic {
color: #8a8a8a;
padding-right: 0;
}

.truebe-chat-btn-mic.is-recording {
color: #0f6e56;
}

.truebe-chat-btn-mic:disabled {
opacity: 0.4;
cursor: default;
}

.truebe-fallback {
align-self: flex-start;
max-width: 85%;
padding: 12px;
border-radius: 8px;
background: #FFF9E6;
color: #664D00;
}

.truebe-fallback-title {
font-weight: 500;
margin-bottom: 4px;
}

.truebe-fallback-sub {
font-size: 13px;
margin-bottom: 10px;
}

.truebe-fallback-suggestions {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 0;
}

.truebe-fallback-item {
background: #FFF3CC;
padding: 8px;
border-radius: 6px;
cursor: pointer;
transition: background 0.12s;
}

.truebe-fallback-item:hover {
background: #FFECB3;
}

.truebe-fallback-email {
width: 100%;
padding: 8px;
margin-top: 10px;
background: #ffffff;
border: 1px solid #e6e6e8;
border-radius: 40px;
font-size: 13px;
color: #1d2327;
cursor: pointer;
}

.truebe-fallback-email:hover {
background: #ffffff;
}

/* Add the Chatbot (Implement) page. */
.truebe-impl-code {
	font-family: Menlo, Monaco, Consolas, monospace;
	font-size: 15px;
	background: #f6f7f7;
	border: 1px solid #e6e6e8;
	border-radius: 10px;
	padding: 14px 16px;
	color: #0f6e56;
	margin-bottom: 14px;
}
.truebe-impl-copyrow {
	display: flex;
	align-items: center;
	gap: 12px;
}
.truebe-impl-copied {
	display: none;
}
.truebe-impl-h {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
	margin: 14px 0 2px;
}

/* Getting Started page. */
.truebe-gs-lead {
	font-size: 15px;
	color: #3c434a;
	line-height: 1.6;
	margin: 0;
}
.truebe-gs-step {
	display: flex;
	gap: 14px;
	margin-bottom: 20px;
}
.truebe-gs-step:last-child {
	margin-bottom: 0;
}
.truebe-gs-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0f6e56;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.truebe-gs-step .truebe-impl-h {
	margin-top: 3px;
	margin-bottom: 4px;
}
.truebe-nav-btn:focus { outline: none; box-shadow: none; }
.truebe-add-btn:focus { outline: none; box-shadow: none; }

a.truebe-nav-btn:focus,
a.truebe-nav-btn:active {
	border-radius: 50% !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Merged confirm-and-upload action. */
.truebe-upload-action {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.truebe-upload-action .truebe-save {
	margin-top: 0;
}
.truebe-attest-line {
	font-size: 12px;
	color: #8a8a8a;
	text-align: center;
	line-height: 1.5;
	margin: 0;
}

/* Upload success panel. */
/* Upload success panel. */
.truebe-success {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 12px;
	padding: 64px 32px;
	text-align: center;
	margin-top: 24px;
	margin-bottom: 18px;
}
.truebe-success-check {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #0f6e56;
	color: #fff;
	font-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}
.truebe-success-title {
	font-size: 17px;
	font-weight: 500;
	color: #0f6e56;
	margin-bottom: 10px;
}
.truebe-success-sub {
	font-size: 13px;
	color: #0f6e56;
	margin-top: 32px;
	margin-bottom: 32px;
}

.truebe-success-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}
.truebe-success-actions .truebe-btn-ghost {
	background: #fff;
	color: #0f6e56;
	border: 1px solid #86efac;
}
.truebe-success-actions .truebe-btn-ghost:hover {
	background: #fff;
	color: #0c5a47;
}

/* Fact Library tabs. */
.truebe-tabs {
	display: flex;
	gap: 24px;
	border-bottom: 1px solid #dcdcde;
	margin: 0 0 20px;
}
.truebe-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 2px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #646970;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.truebe-tab:hover { color: #0f6e56; }
.truebe-tab.is-active {
	color: #0f6e56;
	border-bottom-color: #0f6e56;
}
.truebe-tab-badge {
	background: #0f6e56;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	border-radius: 999px;
	padding: 1px 8px;
	line-height: 1.6;
}

/* Unanswered gap rows. */
.truebe-gap-row {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 12px;
}
.truebe-gap-q {
	font-size: 15px;
	font-weight: 500;
	color: #1d2327;
	margin-bottom: 4px;
}
.truebe-gap-meta {
	font-size: 12px;
	color: #8a8a8a;
	margin-bottom: 14px;
}
.truebe-gap-actions {
	display: flex;
	gap: 10px;
}

.truebe-btn.is-done {
	background: #d6efe4 !important;
	color: #0f6e56 !important;
	cursor: default;
}

.truebe-btn:focus {
  border-radius: 999px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ─── Upload file chips ─────────────────────────────────── */
.truebe-file-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 16px auto 0;
}
.truebe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 260px;
  padding: 3px 10px;
  border: 1px solid #c3c4c7;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  line-height: 1.4;
  color: #1d2327;
}
.truebe-chip-icon {
  color: #0f6e56;
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 1;
  flex: 0 0 auto;
}
.truebe-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.truebe-chip-remove {
  flex: 0 0 auto;
  border: none;
  background: none;
  padding: 0 0 0 2px;
  margin: 0;
  font-size: 16px;
  line-height: 1;
  color: #787c82;
  cursor: pointer;
}
.truebe-chip-remove:hover {
  color: #b32d2e;
}
.truebe-chip-status {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 11px;
  color: #0f6e56;
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid #d6d8db;
}
.truebe-chip-status-done {
  color: #0f6e56;
  font-weight: 600;
}
.truebe-chip-status-failed,
.truebe-chip-status-failed a {
  color: #b32d2e;
}
.truebe-chip-status-working {
  color: #0f6e56;
}
.truebe-chip-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid #bfe3d6;
  border-top-color: #0f6e56;
  border-radius: 50%;
  animation: truebe-spin 0.7s linear infinite;
}
@keyframes truebe-spin {
  to { transform: rotate(360deg); }
}
.truebe-chip:has(.truebe-chip-status-done) {
  background: #e7f4ef;
  border-color: #0f6e56;
}
.truebe-chip:has(.truebe-chip-status-failed) {
  background: #fbeaea;
  border-color: #b32d2e;
}
.truebe-chip:has(.truebe-chip-status-working) {
  background: #f0f0f1;
  border-color: transparent;
}

.truebe-collision-btn {
	white-space: nowrap;
	padding: 0 16px;
	height: 30px;
	line-height: 28px;
	font-size: 12px;
	border-radius: 20px;
	cursor: pointer;
}
.truebe-collision-keep {
	border: 1px solid #dcdcde;
	background: #fff;
	color: #1d2327;
	margin: 0 6px 0 0;
}
.truebe-collision-delete {
	border: none;
	background: #b32d2e;
	color: #fff;
}

/* Confidence score breakdown: animated color-coded bars with reasons. */
.truebe-confidence-score:hover {
	background: #c0e5df;
}
.truebe-score-row {
	margin-bottom: 12px;
}
.truebe-score-row:last-child {
	margin-bottom: 0;
}
.truebe-score-toprow {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 4px;
}
.truebe-score-track {
	width: 100%;
	height: 6px;
	background: #eceef0;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 4px;
}
.truebe-score-fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	transition: width 0.6s ease;
}
.truebe-score-fill.green {
	background: #0f6e56;
}
.truebe-score-fill.yellow {
	background: #f59e0b;
}
.truebe-score-fill.red {
	background: #dc2626;
}
.truebe-score-reason {
	font-size: 11px;
	color: #8a8a8a;
	line-height: 1.4;
}