#ft-fc-app {
	--ft-fc-navy: #1B3A6B;
	--ft-fc-navy-soft: #EBF0FA;
	--ft-fc-emerald: #1B5E20;
	--ft-fc-purple: #4A148C;
	--ft-fc-amber: #F59E0B;
	--ft-fc-rose: #DC2626;
	--ft-fc-text: #222;
	--ft-fc-muted: #6B7280;
	--ft-fc-border: #E5E7EB;
	--ft-fc-bg: #FAFBFC;
	--ft-fc-card-bg: #FFFFFF;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Calibri, sans-serif;
	color: var(--ft-fc-text);
	max-width: 880px;
	margin: 48px auto 16px; /* v0.5.1: separación con navbar */
	padding: 0 16px;
	line-height: 1.55;
}

#ft-fc-app * { box-sizing: border-box; }

.ft-fc-noaccess {
	background: var(--ft-fc-navy-soft);
	border: 1px solid var(--ft-fc-navy);
	border-radius: 12px;
	padding: 28px;
	text-align: center;
}

/* ---------------------------------------------------------------
   TOPBAR: greeting + nav en la misma línea (Section A)
--------------------------------------------------------------- */
.ft-fc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--ft-fc-border);
	margin-bottom: 14px;
}
.ft-fc-topbar-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 0 8px;
}
.ft-fc-greeting {
	font-size: 15px;
	font-weight: 600;
	color: var(--ft-fc-navy);
	white-space: nowrap;
	flex-shrink: 0;
}
.ft-fc-howto-link {
	font-size: 12px;
	color: var(--ft-fc-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s;
}
.ft-fc-howto-link:hover {
	color: var(--ft-fc-navy);
	text-decoration: underline;
}
.ft-fc-nav {
	display: flex;
	gap: 0;
	padding-bottom: 0;
	flex-wrap: nowrap;
}
.ft-fc-tab {
	background: transparent;
	border: 0;
	padding: 10px 14px; /* A: was 12px 18px */
	font: inherit;
	color: var(--ft-fc-muted);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	font-weight: 500;
	font-size: 14px;
	white-space: nowrap;
}
.ft-fc-tab:hover { color: var(--ft-fc-text); }
.ft-fc-tab.ft-fc-active {
	color: var(--ft-fc-navy);
	border-bottom-color: var(--ft-fc-navy);
}

.ft-fc-view { padding: 4px 0 20px; } /* A: was 8px 0 32px */
.ft-fc-view h2 { color: var(--ft-fc-navy); margin: 0 0 12px; } /* A: was 0 0 16px */
.ft-fc-view h3 { color: var(--ft-fc-navy); margin: 18px 0 10px; font-size: 17px; } /* A: was 24px 0 12px / 18px */

.ft-fc-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
.ft-fc-stat {
	background: var(--ft-fc-card-bg);
	border: 1px solid var(--ft-fc-border);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
}
.ft-fc-stat-due {
	background: var(--ft-fc-navy-soft);
	border-color: var(--ft-fc-navy);
}
.ft-fc-stat-label { font-size: 12px; color: var(--ft-fc-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ft-fc-stat-value { font-size: 32px; font-weight: 700; color: var(--ft-fc-navy); margin-top: 4px; }

.ft-fc-state-bar {
	display: flex; gap: 16px; flex-wrap: wrap;
	margin-bottom: 16px; font-size: 13px; color: var(--ft-fc-muted); /* A: was 24px / 14px */
}
.ft-fc-state-bar b { color: var(--ft-fc-text); font-weight: 700; }
/* Punto 1: dato catálogo — separado visualmente con borde izquierdo sutil */
.ft-fc-stat-catalog {
	margin-left: auto;
	padding-left: 16px;
	border-left: 1px solid var(--ft-fc-border);
	color: var(--ft-fc-muted);
}

.ft-fc-welcome {
	background: var(--ft-fc-navy-soft);
	border: 1px solid var(--ft-fc-navy);
	border-radius: 10px;
	padding: 12px 16px; /* A: was 14px 18px */
	margin-bottom: 12px;
	font-size: 14px;
}
.ft-fc-welcome p { margin: 0; }

.ft-fc-cta-block {
	background: #fff;
	border: 1px solid var(--ft-fc-border);
	border-radius: 12px;
	padding: 14px 16px; /* A: was 20px */
	margin-bottom: 12px;
}
.ft-fc-muted { color: var(--ft-fc-muted); font-size: 14px; margin: 3px 0 0; }

.ft-fc-filter-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 8px; /* A: was 10px */
	margin: 10px 0; /* A: was 12px 0 */
}
.ft-fc-filter-row label,
.ft-fc-form label {
	display: flex; flex-direction: column; gap: 4px;
	font-size: 13px; color: var(--ft-fc-muted);
}
.ft-fc-filter-row select,
.ft-fc-form select,
.ft-fc-form input,
.ft-fc-form textarea {
	font: inherit;
	border: 1px solid var(--ft-fc-border);
	border-radius: 8px;
	padding: 7px 10px; /* A: was 8px 10px */
	background: #fff;
	color: var(--ft-fc-text);
}
.ft-fc-form textarea { resize: vertical; font-family: inherit; }

.ft-fc-btn {
	font: inherit;
	background: #fff;
	color: var(--ft-fc-navy);
	border: 1.5px solid var(--ft-fc-navy);
	padding: 9px 16px; /* A: was 10px 18px */
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.15s;
}
.ft-fc-btn:hover { background: var(--ft-fc-navy-soft); }
.ft-fc-btn-primary { background: var(--ft-fc-navy); color: #fff; }
.ft-fc-btn-primary:hover { background: #16305a; }
.ft-fc-btn-ghost { border-color: transparent; color: var(--ft-fc-muted); }
.ft-fc-btn-sm { font-size: 13px; padding: 6px 12px; border-radius: 8px; }
.ft-fc-btn-danger { border-color: var(--ft-fc-rose); color: var(--ft-fc-rose); }
.ft-fc-btn-danger:hover { background: #fef2f2; }

/* ---------------------------------------------------------------
   STUDY view
--------------------------------------------------------------- */
.ft-fc-study-header {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 10px; gap: 12px; flex-wrap: wrap; /* A: was 14px */
}
.ft-fc-progress-counter {
	font-size: 14px; color: var(--ft-fc-muted); font-variant-numeric: tabular-nums;
}
.ft-fc-progress-tag {
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
	padding: 3px 10px; border-radius: 999px;
	background: var(--ft-fc-navy-soft); color: var(--ft-fc-navy); font-weight: 600;
}

.ft-fc-kb-hint {
	text-align: center;
	margin: 0 0 6px; /* A: was 0 0 8px */
	font-size: 12px;
}
.ft-fc-kb-hint kbd {
	display: inline-block;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	padding: 1px 5px;
	font-size: 11px;
	font-family: inherit;
	color: var(--ft-fc-text);
}

.ft-fc-card-stage { perspective: 1000px; }
.ft-fc-card {
	background: var(--ft-fc-card-bg);
	border: 1px solid var(--ft-fc-border);
	border-radius: 14px; /* A: was 16px */
	padding: 14px 18px; /* A: was 22px 24px */
	min-height: 150px; /* A: was 220px */
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
	margin-bottom: 10px; /* A: was 14px */
}
.ft-fc-card-meta {
	display: flex; gap: 10px; flex-wrap: wrap;
	font-size: 12px; color: var(--ft-fc-muted);
	margin-bottom: 10px; /* A: was 16px */
	border-bottom: 1px dashed var(--ft-fc-border);
	padding-bottom: 8px; /* A: was 12px */
}
.ft-fc-card-meta span { display: inline; }
.ft-fc-card-meta span:not(:empty)::before { content: "· "; color: var(--ft-fc-border); }
.ft-fc-card-meta span:first-child::before { content: ""; }

.ft-fc-card-front {
	font-size: 17px; /* A: was 18px */
	font-weight: 500;
	color: var(--ft-fc-text);
	white-space: pre-wrap;
	line-height: 1.5;
}
.ft-fc-card-back {
	margin-top: 10px; /* A: was 14px */
	padding-top: 10px; /* A: was 14px */
	border-top: 2px solid var(--ft-fc-navy);
	font-size: 15px; /* A: was 16px */
	color: var(--ft-fc-text);
	white-space: pre-wrap;
	line-height: 1.6;
}
.ft-fc-card-hint {
	margin-top: 10px;
	padding: 8px 12px; /* A: was 10px 14px */
	background: #FFFDE7;
	border-left: 3px solid var(--ft-fc-amber);
	border-radius: 4px;
	font-size: 14px;
	color: #5b4604;
}

.ft-fc-actions {
	display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
	margin-top: 8px; /* A: was 10px */
}
.ft-fc-grades {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 7px; /* A: was 8px */
	margin-top: 12px; /* A: was 18px */
	padding-top: 10px; /* A: was 14px */
	border-top: 1px solid var(--ft-fc-border);
}
.ft-fc-grade {
	font: inherit;
	cursor: pointer;
	padding: 10px 6px; /* A: was 14px 8px */
	border-radius: 10px; /* A: was 12px */
	border: 2px solid;
	background: #fff;
	font-weight: 700;
	display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.ft-fc-grade small { font-weight: 400; font-size: 11px; opacity: 0.8; }
.ft-fc-grade-again { border-color: var(--ft-fc-rose);   color: var(--ft-fc-rose); }
.ft-fc-grade-hard  { border-color: var(--ft-fc-amber);  color: var(--ft-fc-amber); }
.ft-fc-grade-good  { border-color: var(--ft-fc-navy);   color: var(--ft-fc-navy); }
.ft-fc-grade-easy  { border-color: var(--ft-fc-emerald);color: var(--ft-fc-emerald); }
.ft-fc-grade-again:hover { background: #fef2f2; }
.ft-fc-grade-hard:hover  { background: #fffbeb; }
.ft-fc-grade-good:hover  { background: var(--ft-fc-navy-soft); }
.ft-fc-grade-easy:hover  { background: #f0fdf4; }

@media (max-width: 600px) {
	.ft-fc-grades { grid-template-columns: repeat(2, 1fr); }
}

/* DISCARD row (Section C: bigger buttons, secondary style) */
.ft-fc-discard-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px; /* A: was 14px */
	padding-top: 10px; /* A: was 12px */
	border-top: 1px dashed var(--ft-fc-border);
}
.ft-fc-discard-label {
	font-size: 11px;
	color: var(--ft-fc-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
.ft-fc-btn-discard {
	font: inherit;
	background: transparent;
	color: var(--ft-fc-navy); /* C: was muted */
	border: 1.5px solid var(--ft-fc-navy); /* C: was 1px border */
	padding: 7px 14px; /* C: was 4px 12px */
	border-radius: 10px; /* C: was 8px */
	cursor: pointer;
	font-size: 13px; /* C: was 12px */
	font-weight: 600; /* C: added */
	transition: all 0.15s;
}
.ft-fc-btn-discard:hover {
	color: var(--ft-fc-rose);
	border-color: var(--ft-fc-rose);
	background: #fef2f2;
}

/* EMPTY state (Section D) */
.ft-fc-empty {
	text-align: center;
	padding: 32px 16px; /* A: was 48px 16px */
	background: var(--ft-fc-card-bg);
	border: 1px dashed var(--ft-fc-border);
	border-radius: 12px;
}
.ft-fc-empty-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 14px;
}

/* GRADES LABEL (T5) */
.ft-fc-grades-label {
	grid-column: 1 / -1;
	font-size: 11px;
	color: var(--ft-fc-muted);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	padding-bottom: 2px;
}

/* ---------------------------------------------------------------
   ACTION BOXES (4 CTAs en el dashboard — Sections A + B)
--------------------------------------------------------------- */
.ft-fc-action-boxes {
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* B: was 3, now 4 */
	gap: 10px; /* A: was 12px */
	margin-bottom: 14px; /* A: was 20px */
}
@media (max-width: 700px) {
	.ft-fc-action-boxes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
	.ft-fc-action-boxes { grid-template-columns: 1fr; }
}
.ft-fc-action-box {
	background: var(--ft-fc-card-bg);
	border: 1px solid var(--ft-fc-border);
	border-radius: 12px; /* A: was 14px */
	padding: 12px 12px; /* A: was 20px 16px */
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px; /* A: was 6px */
	text-align: center;
}
.ft-fc-action-due {
	background: var(--ft-fc-navy-soft);
	border-color: var(--ft-fc-navy);
}
.ft-fc-action-num {
	font-size: 28px; /* A: was 40px */
	font-weight: 800;
	color: var(--ft-fc-navy);
	line-height: 1;
}
.ft-fc-action-num-icon {
	font-size: 24px; /* B: emoji icon for random box */
}
.ft-fc-action-label {
	font-size: 11px; /* A: was 12px */
	color: var(--ft-fc-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em; /* A: was 0.06em */
	margin-bottom: 5px; /* A: was 8px */
}
.ft-fc-action-box .ft-fc-btn {
	width: 100%;
	padding: 7px 10px; /* A: was 9px 12px */
	font-size: 13px; /* was 14px */
}

/* ---------------------------------------------------------------
   ONBOARDING BANNER (Section G)
--------------------------------------------------------------- */
.ft-fc-onboarding-banner {
	background: var(--ft-fc-navy-soft);
	border: 1px solid var(--ft-fc-navy);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 14px;
}
.ft-fc-banner-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.ft-fc-banner-content strong {
	font-size: 14px;
	color: var(--ft-fc-navy);
}
.ft-fc-banner-content p {
	margin: 4px 0 8px;
	font-size: 13px;
	color: var(--ft-fc-text);
}
.ft-fc-banner-close {
	background: transparent;
	border: none;
	color: var(--ft-fc-muted);
	cursor: pointer;
	font-size: 14px;
	padding: 0 2px;
	flex-shrink: 0;
	line-height: 1;
}
.ft-fc-banner-close:hover { color: var(--ft-fc-text); }

/* ---------------------------------------------------------------
   LIBRARY view
--------------------------------------------------------------- */
.ft-fc-lib-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 8px 0 14px; /* A: was 12px 0 20px */
}
.ft-fc-lib-filters label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: var(--ft-fc-muted);
	min-width: 140px; /* A: was 160px */
}
.ft-fc-lib-filters select {
	font: inherit;
	border: 1px solid var(--ft-fc-border);
	border-radius: 8px;
	padding: 7px 10px;
	background: #fff;
	color: var(--ft-fc-text);
}
.ft-fc-lib-topic {
	margin-bottom: 16px; /* A: was 24px */
}
.ft-fc-lib-topic-title {
	font-size: 13px; /* A: was 14px */
	font-weight: 700;
	color: var(--ft-fc-navy);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 6px; /* A: was 0 0 8px */
	padding-bottom: 5px;
	border-bottom: 1px solid var(--ft-fc-border);
}
.ft-fc-lib-reading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 10px; /* A: was 10px 12px */
	border-radius: 8px;
	margin-bottom: 3px; /* A: was 4px */
	background: #fff;
	border: 1px solid var(--ft-fc-border);
}
.ft-fc-lib-reading.ft-fc-lib-activated {
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.ft-fc-lib-reading-info {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.ft-fc-lib-reading-name {
	font-size: 13px; /* A: was 14px */
	font-weight: 500;
	color: var(--ft-fc-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ft-fc-lib-reading-count {
	font-size: 11px; /* A: was 12px */
	color: var(--ft-fc-muted);
}
.ft-fc-lib-badge-done {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ft-fc-emerald);
	background: #d1fae5;
	padding: 2px 8px; /* A: was 3px 10px */
	border-radius: 999px;
}
.ft-fc-lib-success {
	background: #d1fae5;
	border: 1px solid #6ee7b7;
	color: var(--ft-fc-emerald);
	border-radius: 8px;
	padding: 8px 12px; /* A: was 10px 14px */
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 10px;
}

/* ---------------------------------------------------------------
   CREATE form
--------------------------------------------------------------- */
.ft-fc-form { display: flex; flex-direction: column; gap: 10px; } /* A: was 14px */
.ft-fc-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 8px; /* A: was 10px */
}
.ft-fc-similar-warning {
	background: #FFF8E1;
	border: 1px solid var(--ft-fc-amber);
	border-radius: 10px;
	padding: 12px; /* A: was 14px */
}
.ft-fc-similar-warning ul { margin: 6px 0; padding-left: 18px; }
.ft-fc-similar-warning li { margin-bottom: 5px; font-size: 13px; }
.ft-fc-checkbox { flex-direction: row; align-items: center; gap: 8px; color: var(--ft-fc-text) !important; }
.ft-fc-form-feedback { font-size: 14px; min-height: 20px; }
.ft-fc-form-feedback.ok { color: var(--ft-fc-emerald); }
.ft-fc-form-feedback.err { color: var(--ft-fc-rose); }

/* ---------------------------------------------------------------
   UPSELL MODAL (Freemium gate)
--------------------------------------------------------------- */
.ft-fc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 16px;
}
/* display:flex anula el atributo hidden del HTML — forzar none cuando hidden está presente */
.ft-fc-modal-overlay[hidden] {
	display: none !important;
}
.ft-fc-modal {
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px 20px;
	max-width: 420px;
	width: 100%;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.ft-fc-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 16px;
	color: var(--ft-fc-muted);
	cursor: pointer;
	padding: 4px;
	line-height: 1;
}
.ft-fc-modal-close:hover { color: var(--ft-fc-text); }
.ft-fc-upsell-content {
	font-size: 15px;
	color: var(--ft-fc-text);
	line-height: 1.6;
	margin-bottom: 20px;
}
.ft-fc-upsell-content h3 {
	color: var(--ft-fc-navy);
	margin: 0 0 10px;
	font-size: 17px;
}
.ft-fc-upsell-content p { margin: 0 0 6px; }
.ft-fc-upsell-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.ft-fc-upsell-actions .ft-fc-btn,
.ft-fc-upsell-actions a.ft-fc-btn {
	flex: 1;
	text-align: center;
	text-decoration: none;
	justify-content: center;
}

/* Subtítulo plan Free en caja Biblioteca */
.ft-fc-action-free-hint {
	font-size: 10px;
	color: var(--ft-fc-muted);
	line-height: 1.3;
	text-align: center;
	margin-top: 1px;
}

/* Topics bloqueados en Biblioteca (Free) */
.ft-fc-lib-topic-locked .ft-fc-lib-topic-title {
	opacity: 0.5;
}
.ft-fc-lib-topic-locked .ft-fc-lib-topic-title::after {
	content: " 🔒";
	font-size: 12px;
}
.ft-fc-lib-topic-locked .ft-fc-lib-reading {
	opacity: 0.42;
	cursor: pointer;
}
.ft-fc-lib-topic-locked .ft-fc-lib-reading:hover {
	opacity: 0.65;
	border-color: var(--ft-fc-amber);
}

/* ---------------------------------------------------------------
   MY CARDS (Section F)
--------------------------------------------------------------- */
.ft-fc-my-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}
.ft-fc-my-header h2 { margin: 0 0 3px; }
.ft-fc-toggle-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	padding-top: 4px;
	color: var(--ft-fc-muted);
}
.ft-fc-toggle-label input { cursor: pointer; }
.ft-fc-my-card {
	background: #fff;
	border: 1px solid var(--ft-fc-border);
	border-radius: 10px;
	padding: 10px 12px; /* A: was 14px */
	margin-bottom: 6px; /* A: was 10px */
}
.ft-fc-my-card-status {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 999px;
	margin-bottom: 4px;
}
.ft-fc-status-pending  { background: #FFF8E1; color: #856404; }
.ft-fc-status-active   { background: #d1fae5; color: var(--ft-fc-emerald); }
.ft-fc-status-rejected { background: #fee2e2; color: var(--ft-fc-rose); }
.ft-fc-my-card-front { font-weight: 500; margin: 3px 0; font-size: 14px; }
.ft-fc-my-card-meta  { font-size: 12px; color: var(--ft-fc-muted); }
.ft-fc-my-card-actions {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}
.ft-fc-my-card-edit-form {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px dashed var(--ft-fc-border);
}
.ft-fc-my-card-edit-form textarea,
.ft-fc-my-card-edit-form input[type="text"],
.ft-fc-my-card-edit-form input[type="number"] {
	font: inherit;
	border: 1px solid var(--ft-fc-border);
	border-radius: 8px;
	padding: 7px 10px;
	color: var(--ft-fc-text);
	width: 100%;
	background: #fff;
}
.ft-fc-my-card-edit-form textarea { resize: vertical; }
.ft-fc-my-edit-actions {
	display: flex;
	gap: 8px;
}

/* ---------------------------------------------------------------
   v0.4.5 — DEMO MODE (visitantes anónimos)
--------------------------------------------------------------- */

/* Banner persistente arriba — color amber suave, no se puede descartar. */
.ft-fc-demo-banner {
	background: #FEF3C7;
	border: 1px solid #FCD34D;
	border-radius: 10px;
	padding: 10px 14px;
	margin-top: 48px;       /* v0.5.0: separación más generosa del menú navy flotante */
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
/* display:flex anula el atributo hidden del HTML — forzar none cuando hidden está presente.
   Mismo patrón que .ft-fc-modal-overlay[hidden]. */
.ft-fc-demo-banner[hidden] {
	display: none !important;
}
.ft-fc-demo-banner-text {
	font-size: 13.5px;
	color: #78350F;
	line-height: 1.5;
	flex: 1;
	min-width: 220px;
}
.ft-fc-demo-banner-text strong {
	color: #92400E;
	margin-right: 4px;
}
.ft-fc-demo-banner .ft-fc-btn {
	text-decoration: none;
	white-space: nowrap;
}

/* Pantalla "Has completado la demo" — fin de la sesión anónima. */
.ft-fc-view-demo-end {
	padding: 24px 0;
}
.ft-fc-demo-end-card {
	background: var(--ft-fc-card-bg);
	border: 1px solid var(--ft-fc-border);
	border-radius: 14px;
	padding: 32px 28px;
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.ft-fc-demo-end-card h2 {
	color: var(--ft-fc-navy);
	margin: 0 0 14px;
	font-size: 22px;
}
.ft-fc-demo-end-card p {
	margin: 8px 0;
	font-size: 15px;
}

/* Modal registro — reutiliza .ft-fc-modal-overlay / .ft-fc-modal del upsell.
   Solo añadimos estilos del contenido específico. */
.ft-fc-register-content {
	font-size: 15px;
	color: var(--ft-fc-text);
	line-height: 1.6;
	margin-bottom: 20px;
}
.ft-fc-register-content h3 {
	color: var(--ft-fc-navy);
	margin: 0 0 10px;
	font-size: 17px;
}
.ft-fc-register-content p { margin: 0 0 6px; }
