body { background: #f4f6f9; }
.site-footer-fixed {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	z-index: 1030;
}
.navbar { box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.card { box-shadow: 0 1px 4px rgba(0,0,0,.1); border: none; }
.card-header { font-weight: 600; }
.table th { background: #f8f9fa; }
.nav-tabs .nav-link { color: #495057; }
.sidebar { min-height: calc(100vh - 56px); background: #212529; }
.sidebar .nav-link { color: #adb5bd; border-radius: 6px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: #343a40; color: #fff; }
.badge-poi { background: #0d6efd22; color: #0d6efd; border-radius: 4px; padding: 2px 8px; font-size:.85rem; }
.asset-preview { max-height: 80px; max-width: 140px; object-fit: contain; border-radius: 4px; border: 1px solid #dee2e6; }
.answer-row { background: #f8f9fa; border-radius: 8px; padding: 12px; margin-bottom: 8px; }
.answer-correct { border-left: 4px solid #198754; }
.answer-wrong   { border-left: 4px solid #dc3545; }
.bg-dark { background-color: #2a4367 !important;}

.app-preview-card { position: sticky; top: 1rem; }
.app-preview-phone {
	--preview-header-bg: rgba(255, 251, 245, 0.97);
	--preview-header-text: #17324d;
	--preview-main-bg: linear-gradient(160deg, #ede6d6 0%, #f7f4ec 50%, #e8e2d8 100%);
	--preview-main-text: #1e2f3f;
	--preview-footer-bg: rgba(255, 251, 245, 0.97);
	--preview-footer-text: #17324d;
	--preview-primary-bg: #d95d39;
	--preview-primary-text: #ffffff;
	--preview-secondary-bg: rgba(23, 50, 77, 0.08);
	--preview-secondary-text: #17324d;
	--preview-warning-bg: #f7d77a;
	--preview-warning-text: #5c4200;
	--preview-error-bg: rgba(154, 61, 48, 0.1);
	--preview-error-text: #9a3d30;
	--preview-success-bg: rgba(50, 107, 83, 0.1);
	--preview-success-text: #326b53;
	--preview-info-bg: rgba(23, 50, 77, 0.06);
	--preview-info-text: #17324d;
	--preview-pin-pending-color: #27a0cc;
	--preview-pin-failed-color: #e7441c;
	--preview-pin-success-color: #13c816;
	width: min(100%, 360px);
	margin: 0 auto;
	border: 10px solid #1e1e1e;
	border-radius: 32px;
	overflow: hidden;
	background: var(--preview-main-bg);
	color: var(--preview-main-text);
	box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.app-preview-topbar,
.app-preview-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
}
.app-preview-topbar {
	background: var(--preview-header-bg);
	color: var(--preview-header-text);
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.app-preview-home {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 999px;
	background: var(--preview-header-bg);
	color: var(--preview-header-text);
}
.app-preview-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}
.navbar-brand span {
    position: relative;
    top: 2px;
}
.app-preview-logo,
.app-preview-card-logo,
.app-preview-logo--placeholder {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}
.app-preview-logo--placeholder {
	display: grid;
	place-items: center;
	background: var(--preview-secondary-bg);
	color: var(--preview-secondary-text);
	font-weight: 700;
}
.app-preview-top-title {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.app-preview-stats {
	text-align: right;
	font-size: .75rem;
}
.app-preview-stats strong,
.app-preview-stats span {
	display: block;
}
.app-preview-main {
	padding: 16px;
	background: var(--preview-main-bg);
}
.app-preview-panel {
	background: rgba(255,255,255,.72);
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 20px;
	padding: 16px;
	display: grid;
	gap: 12px;
	backdrop-filter: blur(6px);
}
.app-preview-eyebrow {
	margin: 0;
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .75;
}
.app-preview-card-logo {
	width: 72px;
	height: 72px;
	border-radius: 16px;
}
.app-preview-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.1;
}
.app-preview-story {
	margin: 0;
	font-size: .92rem;
	line-height: 1.45;
	opacity: .8;
}
.app-preview-partner-logo,
.app-preview-partner-placeholder {
	width: min(180px, 100%);
	max-height: 70px;
	object-fit: contain;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.08);
	background: rgba(255,255,255,.75);
	padding: 8px 10px;
}
.app-preview-partner-placeholder {
	display: grid;
	place-items: center;
	color: var(--preview-secondary-text);
	font-weight: 600;
}
.app-preview-select {
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255,255,255,.8);
	border: 1px solid rgba(0,0,0,.08);
	font-size: .88rem;
}
.app-preview-primary,
.app-preview-secondary {
	border: none;
	border-radius: 999px;
	padding: 11px 16px;
	font-weight: 600;
}
.app-preview-primary {
	background: var(--preview-primary-bg);
	color: var(--preview-primary-text);
}
.app-preview-secondary {
	background: var(--preview-secondary-bg);
	color: var(--preview-secondary-text);
}
.app-preview-info {
	display: grid;
	gap: 6px;
	padding: 12px;
	border-radius: 14px;
	background: var(--preview-info-bg);
	color: var(--preview-info-text);
	font-size: .86rem;
}
.app-preview-alerts {
	display: grid;
	gap: 8px;
}
.app-preview-alert {
	padding: 8px 10px;
	border-radius: 10px;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1;
}
.app-preview-alert--error {
	background: var(--preview-error-bg);
	color: var(--preview-error-text);
}
.app-preview-alert--warning {
	background: var(--preview-warning-bg);
	color: var(--preview-warning-text);
}
.app-preview-alert--success {
	background: var(--preview-success-bg);
	color: var(--preview-success-text);
}
.app-preview-alert--info {
	background: var(--preview-info-bg);
	color: var(--preview-info-text);
}
.app-preview-pins {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.app-preview-pin {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .75rem;
	font-weight: 600;
	color: var(--preview-main-text);
}
.app-preview-pin::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}
.app-preview-pin--pending {
	color: var(--preview-pin-pending-color);
}
.app-preview-pin--failed {
	color: var(--preview-pin-failed-color);
}
.app-preview-pin--success {
	color: var(--preview-pin-success-color);
}
.app-preview-footer {
	justify-content: space-between;
	background: var(--preview-footer-bg);
	color: var(--preview-footer-text);
	border-top: 1px solid rgba(0,0,0,.08);
}
.app-preview-footer-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	text-align: center;
	font-size: .72rem;
	font-weight: 600;
}
.app-preview-footer-item img {
	max-width: 20px;
}
footer .grid_logos {

    display: grid;
    grid-template-areas: 
        "logo1 logo2 logo3 logo4 logo5 logo6 logo7 logo8 logo9";
    list-style: none;
    gap: 10px;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}
footer .grid_logos li {
	display: flex;
	align-items: center;
	justify-content: center;
}
footer .grid_logos img {
	max-height: 36px;
	width: auto;
	object-fit: contain;
}
footer .smallest {
	margin-top: 10px;
	font-size: .65rem;
}