/**
 * God Mode Build harness — Details drawer parity (sidebar).
 */
.flowbie-chat-widget .fcw-harness-progress {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 0.5rem;
}

.flowbie-chat-widget .fcw-harness-progress[hidden] {
	display: none !important;
}

.flowbie-chat-widget .fcw-harness-progress__label {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.72);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-harness-progress__track {
	height: 4px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	overflow: hidden;
}

.flowbie-chat-widget .fcw-harness-progress__fill {
	height: 100%;
	width: 0%;
	background: #22c55e;
	transition: width 0.25s ease;
}

.flowbie-chat-widget.fcw-hide-thinking-card .fcw-card--build-running .fcw-thinking-steps {
	display: flex !important;
	flex-direction: column;
}

/* Build harness card: title padded, drawer bleeds edge-to-edge */
.flowbie-chat-widget .fcw-card--build-harness {
	padding: 0 0 0;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-card__title-row {
	padding: 12px 12px 8px;
	margin-bottom: 0;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-card__body--details-drawer {
	margin: 0;
	padding: 0;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-card__confidence,
.flowbie-chat-widget .fcw-card--build-harness .fcw-card__links,
.flowbie-chat-widget .fcw-card--build-harness .fcw-card__cta-wrap,
.flowbie-chat-widget .fcw-card--build-harness .fcw-card__topics {
	padding-left: 12px;
	padding-right: 12px;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-card__links {
	padding-bottom: 14px;
	margin-top: 10px;
	gap: 8px;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-link-pill {
	background: #0f0f0f;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 600;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-link-pill:hover,
.flowbie-chat-widget .fcw-card--build-harness .fcw-link-pill:focus {
	background: #000000;
	color: #ffffff;
	border: none;
	text-decoration: none;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-link-pill__icon {
	color: #ffffff;
}

.flowbie-chat-widget .fcw-card--build-harness .fcw-card__cta-wrap {
	padding-bottom: 12px;
}

.flowbie-chat-widget .fcw-details-drawer {
	position: relative;
	background: #000;
	color: #fff;
	font-size: 1rem;
	margin-top: 0;
	padding-right: 6px;
}

.flowbie-chat-widget .fcw-details-drawer__rail {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 3px;
	background: rgba(34, 197, 94, 0.25);
	border-radius: 1px;
	overflow: hidden;
}

.flowbie-chat-widget .fcw-details-drawer__rail-fill {
	width: 100%;
	background: #22c55e;
	transition: height 0.25s ease;
}

.flowbie-chat-widget .fcw-details-stack {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.flowbie-chat-widget .fcw-details-prep {
	background: rgba(255, 255, 255, 0.03);
}

.flowbie-chat-widget .fcw-details-prep__trigger {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 2.25rem;
	padding: 0.35rem 0.75rem;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.flowbie-chat-widget .fcw-details-prep__badge {
	margin-left: auto;
	font-size: 1rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
}

.flowbie-chat-widget .fcw-details-prep__steps {
	list-style: none;
	margin: 0;
	padding: 0 0.75rem 0.5rem 1.75rem;
}

.flowbie-chat-widget .fcw-details-prep__step {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
	padding: 0.2rem 0;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-row-wrap {
	display: flex;
	flex-direction: column;
}

.flowbie-chat-widget .fcw-details-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	min-height: 0;
	padding: 0.5rem 0.75rem;
	background: rgba(255, 255, 255, 0.02);
}

.flowbie-chat-widget .fcw-details-row--active .fcw-details-row__title {
	color: #38bdf8;
}

.flowbie-chat-widget .fcw-details-row__meta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.2rem;
	min-width: 0;
}

.flowbie-chat-widget .fcw-details-row__title {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-row__keyword {
	display: block;
	font-size: 1rem;
	color: rgba(125, 211, 252, 0.75);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-row__date {
	display: block;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.55);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-row-body {
	padding: 0 0.75rem 0.75rem;
	background: rgba(0, 0, 0, 0.35);
}

.flowbie-chat-widget .fcw-details-summary {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0.5rem 0;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-summary strong {
	color: #fff;
	font-weight: 600;
}

.flowbie-chat-widget .fcw-details-generated {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
	width: 100%;
	min-height: 0;
	padding: 0.5rem 0.5rem;
	background: rgba(255, 255, 255, 0.04);
	border: 0;
	color: #fff;
	font-size: 1rem;
	text-align: left;
	cursor: pointer;
}

.flowbie-chat-widget .fcw-details-generated__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.flowbie-chat-widget .fcw-details-generated__icon {
	flex-shrink: 0;
	opacity: 0.85;
}

.flowbie-chat-widget .fcw-details-generated__label {
	font-weight: 600;
	flex-shrink: 0;
}

.flowbie-chat-widget .fcw-details-generated__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	min-width: 0;
}

.flowbie-chat-widget .fcw-details-generated__status {
	flex: 1 1 auto;
	min-width: 0;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 400;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-generated__progress {
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, 0.55);
}

.flowbie-chat-widget .fcw-details-generated__count {
	flex-shrink: 0;
	min-width: 1.75rem;
	text-align: center;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.flowbie-chat-widget .fcw-details-generated__download {
	flex-shrink: 0;
	background: transparent;
	border: 0;
	color: #38bdf8;
	cursor: pointer;
	padding: 0.35rem 0.5rem;
	font-size: 1rem;
	min-height: 2rem;
}

.flowbie-chat-widget .fcw-details-file-list {
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem 0.5rem;
}

.flowbie-chat-widget .fcw-details-file-list li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding: 0.5rem 0.5rem;
	font-size: 1rem;
}

.flowbie-chat-widget .fcw-details-file-list li span {
	display: block;
	width: 100%;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.flowbie-chat-widget .fcw-details-file-list button {
	background: transparent;
	border: 0;
	color: #38bdf8;
	cursor: pointer;
	font-size: 1rem;
	padding: 0.35rem 0;
	min-height: 2rem;
}
