/**
 * BI Services Escrow & Marketplace Engine — public-facing styles.
 * Mobile-first. Brand colors are exposed as CSS variables at the top
 * so they can be overridden by a child theme or the (future) admin
 * branding settings hook without touching this file.
 */

:root {
	--biem-primary: #0f7a4b;
	--biem-primary-dark: #0b5c38;
	--biem-accent: #ffb020;
	--biem-danger: #d64545;
	--biem-success: #1a9c5c;
	--biem-warning: #b8860b;
	--biem-info: #2b6cb0;
	--biem-text: #1a1a1a;
	--biem-muted: #6b7280;
	--biem-border: #e5e7eb;
	--biem-bg: #f9fafb;
	--biem-card-bg: #ffffff;
	--biem-radius: 10px;
	--biem-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}

.biem-app {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--biem-text);
	box-sizing: border-box;
}
.biem-app *, .biem-app *::before, .biem-app *::after { box-sizing: inherit; }

.biem-muted { color: var(--biem-muted); font-size: 0.9em; }

/* Buttons */
.biem-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: var(--biem-radius);
	border: 1px solid var(--biem-border);
	background: #fff;
	color: var(--biem-text);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.biem-btn:hover { background: var(--biem-bg); }
.biem-btn:active { transform: translateY(1px); }
.biem-btn-primary { background: var(--biem-primary); border-color: var(--biem-primary); color: #fff; }
.biem-btn-primary:hover { background: var(--biem-primary-dark); }
.biem-btn-outline { background: transparent; border-color: var(--biem-primary); color: var(--biem-primary); }
.biem-btn-danger-outline { background: transparent; border-color: var(--biem-danger); color: var(--biem-danger); }
.biem-btn-danger-outline:hover { background: #fdf1f1; }
.biem-btn-large { padding: 14px 24px; font-size: 16px; }
.biem-btn-small { padding: 6px 12px; font-size: 12px; }
.biem-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Badges */
.biem-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #eef2f7;
	color: #374151;
	text-transform: capitalize;
}
.biem-badge-large { padding: 6px 16px; font-size: 14px; }
.biem-badge-approved, .biem-badge-completed, .biem-badge-live, .biem-badge-active, .biem-badge-success { background: #e6f7ee; color: var(--biem-success); }
.biem-badge-pending_kyc, .biem-badge-pending_review, .biem-badge-pending, .biem-badge-pending_admin_review, .biem-badge-awaiting_buyer_funding { background: #fff7e6; color: var(--biem-warning); }
.biem-badge-rejected, .biem-badge-failed, .biem-badge-banned, .biem-badge-disputed { background: #fdecec; color: var(--biem-danger); }
.biem-badge-cancelled { background: #f1f1f1; color: var(--biem-muted); }
.biem-badge-refunded, .biem-badge-suspended { background: #eef2ff; color: var(--biem-info); }

/* Alerts */
.biem-alert { padding: 14px 18px; border-radius: var(--biem-radius); margin-bottom: 16px; font-size: 14px; }
.biem-alert-success { background: #e6f7ee; color: #0b5c38; }
.biem-alert-error { background: #fdecec; color: #8a1f1f; }
.biem-alert-warning { background: #fff7e6; color: #7a5200; }
.biem-alert-info { background: #eef2ff; color: #1e3a8a; }

/* Stat cards */
.biem-stat-grid, .biem-dashboard-stats, .biem-wallet-balances {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 16px 0 24px;
}
.biem-stat-card {
	background: var(--biem-card-bg);
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	padding: 18px;
	box-shadow: var(--biem-shadow);
}
.biem-stat-value { display: block; font-size: 24px; font-weight: 700; }
.biem-stat-label { display: block; color: var(--biem-muted); font-size: 13px; margin-top: 4px; }
.biem-stat-link { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--biem-primary); text-decoration: none; }

/* Tables */
.biem-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--biem-radius); overflow: hidden; }
.biem-table th, .biem-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--biem-border); font-size: 14px; }
.biem-table th { color: var(--biem-muted); font-weight: 600; background: var(--biem-bg); }
.biem-empty { padding: 24px; text-align: center; color: var(--biem-muted); }
.biem-loading { padding: 24px; text-align: center; color: var(--biem-muted); }

/* Dashboard */
.biem-dashboard-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.biem-mode-toggle { display: inline-flex; border: 1px solid var(--biem-border); border-radius: var(--biem-radius); overflow: hidden; }
.biem-mode-btn { padding: 8px 16px; border: none; background: #fff; cursor: pointer; font-weight: 600; }
.biem-mode-btn.is-active { background: var(--biem-primary); color: #fff; }
.biem-dashboard-actions { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }

/* Marketplace */
.biem-marketplace-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.biem-search-input { padding: 10px 14px; border: 1px solid var(--biem-border); border-radius: var(--biem-radius); min-width: 240px; }
.biem-marketplace-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
@media (max-width: 760px) { .biem-marketplace-layout { grid-template-columns: 1fr; } }
.biem-marketplace-filters h3 { font-size: 13px; text-transform: uppercase; color: var(--biem-muted); margin: 18px 0 8px; }
.biem-category-filter { list-style: none; margin: 0; padding: 0; }
.biem-category-filter ul { list-style: none; padding-left: 16px; }
.biem-category-filter li { margin: 4px 0; }
.biem-price-filter { display: flex; gap: 8px; }
.biem-price-filter input { width: 100%; padding: 8px; border: 1px solid var(--biem-border); border-radius: 6px; }

.biem-marketplace-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-content: start; }
.biem-product-card { display: block; border: 1px solid var(--biem-border); border-radius: var(--biem-radius); overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow 0.15s, transform 0.1s; }
.biem-product-card:hover { box-shadow: var(--biem-shadow); transform: translateY(-2px); }
.biem-product-image { aspect-ratio: 1/1; background: var(--biem-bg); overflow: hidden; }
.biem-product-image img { width: 100%; height: 100%; object-fit: cover; }
.biem-product-body { padding: 12px; }
.biem-product-title { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.biem-product-price { font-weight: 700; color: var(--biem-primary); margin-bottom: 8px; }
.biem-product-seller { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--biem-muted); }
.biem-presence-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; display: inline-block; }
.biem-presence-dot.is-online { background: var(--biem-success); }
.biem-verified-badge { color: var(--biem-primary); font-weight: 700; }

/* Product detail */
.biem-back-link { display: inline-block; margin-bottom: 16px; color: var(--biem-muted); text-decoration: none; }
.biem-product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .biem-product-detail-layout { grid-template-columns: 1fr; } }
.biem-main-image { width: 100%; border-radius: var(--biem-radius); }
.biem-image-placeholder { aspect-ratio: 1/1; background: var(--biem-bg); border-radius: var(--biem-radius); }
.biem-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.biem-gallery-thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.biem-product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.biem-product-title-row h1 { margin: 0; flex: 1; }
.biem-product-price-large { font-size: 28px; font-weight: 700; color: var(--biem-primary); margin: 8px 0 16px; }

/* Share widget */
.biem-share-widget { position: relative; flex-shrink: 0; }
.biem-share-btn { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
.biem-share-icon { display: inline-block; }
.biem-share-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: 220px;
	background: #fff;
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	box-shadow: var(--biem-shadow);
	z-index: 400;
	padding: 6px;
}
.biem-share-option {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 10px;
	border-radius: 8px;
	border: none;
	background: none;
	color: var(--biem-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
}
.biem-share-option:hover { background: var(--biem-bg); }
.biem-share-option-icon { display: inline-flex; width: 20px; justify-content: center; font-size: 15px; }
.biem-share-native-btn { border-bottom: 1px solid var(--biem-border); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.biem-share-copy-btn.is-copied { color: var(--biem-success); font-weight: 700; }

@media (max-width: 480px) {
	.biem-product-title-row { flex-direction: column; }
	.biem-share-dropdown { right: auto; left: 0; }
}
.biem-seller-card { background: var(--biem-bg); border-radius: var(--biem-radius); padding: 14px; margin-bottom: 16px; }
.biem-seller-card-name { display: flex; align-items: center; gap: 8px; }
.biem-product-tags { margin: 12px 0; }
.biem-tag { display: inline-block; background: var(--biem-bg); padding: 4px 10px; border-radius: 999px; font-size: 12px; margin: 0 6px 6px 0; }
.biem-product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.biem-direct-buy-notice { margin-top: 8px; }

/* Wallet */
.biem-wallet-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--biem-border); margin-bottom: 20px; }
.biem-tab-btn { padding: 10px 18px; border: none; background: none; cursor: pointer; font-weight: 600; color: var(--biem-muted); border-bottom: 2px solid transparent; }
.biem-tab-btn.is-active { color: var(--biem-primary); border-color: var(--biem-primary); }
.biem-gateway-options { display: grid; gap: 10px; }
.biem-gateway-option { display: block; border: 1px solid var(--biem-border); border-radius: var(--biem-radius); padding: 12px; cursor: pointer; }
.biem-gateway-option input { margin-right: 8px; }
.biem-gateway-desc, .biem-gateway-limits { display: block; font-size: 12px; color: var(--biem-muted); margin-top: 4px; margin-left: 22px; }
.biem-gateway-memory-note { margin-top: 6px; }

/* Forms (generic, used across templates) */
.biem-app form p { margin-bottom: 14px; }
.biem-app label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.biem-app input[type=text], .biem-app input[type=email], .biem-app input[type=number], .biem-app input[type=search], .biem-app input[type=password], .biem-app select, .biem-app textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--biem-border); border-radius: 8px; font-size: 14px;
}
.biem-phone-input { display: flex; gap: 8px; }
.biem-cc-input { max-width: 90px; }

.biem-role-toggle { display: flex; gap: 10px; flex-wrap: wrap; }
.biem-role-option {
	flex: 1;
	min-width: 160px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	padding: 10px 12px;
	cursor: pointer;
	font-weight: 500;
	font-size: 13.5px;
}
.biem-role-option:has(input:checked) { border-color: var(--biem-primary); background: #f0faf5; }
.biem-role-option input { margin: 0; }

/* ---------------------------------------------------------------
   AUTH PAGE — login / register / verify / forgot / reset
   --------------------------------------------------------------- */
.biem-auth-page { display: flex; justify-content: center; padding-top: 40px; padding-bottom: 60px; }
.biem-auth-card {
	width: 100%;
	max-width: 420px;
	background: var(--biem-card-bg);
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	box-shadow: var(--biem-shadow);
	padding: 28px;
}
.biem-auth-tabs { display: flex; border-bottom: 1px solid var(--biem-border); margin-bottom: 22px; gap: 4px; }
.biem-auth-tab {
	flex: 1;
	padding: 10px;
	border: none;
	background: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	color: var(--biem-muted);
	border-bottom: 2px solid transparent;
}
.biem-auth-tab.is-active { color: var(--biem-primary); border-color: var(--biem-primary); }
.biem-auth-view h2 { margin-top: 0; }
.biem-auth-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.biem-checkbox-label { display: flex !important; align-items: center; gap: 6px; font-weight: 500 !important; margin: 0 !important; }
.biem-checkbox-label input { width: auto; }
.biem-link-btn { background: none; border: none; color: var(--biem-primary); font-weight: 600; font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.biem-btn-block { width: 100%; text-align: center; }
.biem-auth-error {
	background: #fdecec;
	color: #8a1f1f;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 14px;
}
.biem-auth-success {
	background: #e6f7ee;
	color: #0b5c38;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 14px;
}
.biem-auth-resend { text-align: center; font-size: 13px; color: var(--biem-muted); margin-top: 16px; }
.biem-otp-input { letter-spacing: 6px; font-size: 20px; text-align: center; font-weight: 700; }

/* ---------------------------------------------------------------
   PROFILE PAGE
   --------------------------------------------------------------- */
.biem-profile-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
@media (max-width: 700px) { .biem-profile-layout { grid-template-columns: 1fr; } }
.biem-profile-picture-panel { text-align: center; }
.biem-profile-picture-wrap { display: flex; justify-content: center; margin-bottom: 14px; }
.biem-profile-picture-img {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--biem-border);
}

/* Modal */
.biem-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.biem-modal-content { background: #fff; border-radius: var(--biem-radius); padding: 24px; max-width: 480px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
.biem-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--biem-muted); }

/* Deal room */
.biem-deal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.biem-deal-summary { margin-bottom: 20px; }
.biem-whatsapp-panel, .biem-panel { background: var(--biem-card-bg); border: 1px solid var(--biem-border); border-radius: var(--biem-radius); padding: 20px; margin-bottom: 20px; }
.biem-deal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.biem-notes { white-space: pre-wrap; background: var(--biem-bg); padding: 10px; border-radius: 6px; font-size: 12px; }

.biem-login-prompt { text-align: center; padding: 60px 20px; }

/* ---------------------------------------------------------------
   STICKY HEADER — modern two-row layout. Row 1 (brand + account) never
   wraps or scrolls. Row 2 (page nav + mode toggle) stays a single
   horizontal line at every width; on narrow screens it becomes a
   touch-scrollable strip instead of collapsing into a vertical menu,
   so navigation is always visible and reachable with a swipe, not
   hidden behind a hamburger tap.
   --------------------------------------------------------------- */
.biem-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255,255,255,0.92);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--biem-border);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Row 1 — brand + account, always a single compact line */
.biem-header-top {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.biem-header-brand {
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 800;
	font-size: 16px;
	color: var(--biem-text);
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}
.biem-header-brand-icon { font-size: 17px; }

.biem-header-top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.biem-header-balance {
	font-weight: 700;
	font-size: 12px;
	background: var(--biem-bg);
	border: 1px solid var(--biem-border);
	padding: 6px 11px;
	border-radius: 999px;
	white-space: nowrap;
}

/* Bell */
.biem-header-bell-wrap { position: relative; }
.biem-header-bell {
	position: relative;
	background: var(--biem-bg);
	border: 1px solid var(--biem-border);
	border-radius: 999px;
	width: 34px;
	height: 34px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.biem-bell-count {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--biem-danger);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	border: 2px solid #fff;
	box-sizing: content-box;
}
.biem-bell-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: min(300px, 90vw);
	max-height: 380px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	box-shadow: var(--biem-shadow);
	z-index: 600;
}
.biem-bell-dropdown-header { padding: 12px 16px; font-weight: 700; border-bottom: 1px solid var(--biem-border); font-size: 13px; }
.biem-bell-dropdown-body { padding: 6px; }
.biem-bell-item { padding: 10px; border-radius: 8px; font-size: 13px; }
.biem-bell-item.is-unread { background: #f0faf5; }
.biem-bell-item strong { display: block; margin-bottom: 2px; }
.biem-bell-item p { margin: 0 0 4px; color: var(--biem-muted); }
.biem-bell-time { font-size: 11px; color: var(--biem-muted); }

/* Account menu */
.biem-header-user-wrap { position: relative; }
.biem-header-user {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--biem-bg);
	border: 1px solid var(--biem-border);
	border-radius: 999px;
	padding: 4px 10px 4px 4px;
	cursor: pointer;
}
.biem-header-user img { border-radius: 50%; display: block; }
.biem-header-username { font-weight: 600; font-size: 12.5px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biem-header-caret { font-size: 10px; color: var(--biem-muted); }
.biem-header-user-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: 180px;
	background: #fff;
	border: 1px solid var(--biem-border);
	border-radius: var(--biem-radius);
	box-shadow: var(--biem-shadow);
	z-index: 600;
	padding: 6px;
}
.biem-header-user-dropdown a {
	display: block;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--biem-text);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
}
.biem-header-user-dropdown a:hover { background: var(--biem-bg); }
.biem-header-logout-link { color: var(--biem-danger) !important; border-top: 1px solid var(--biem-border); margin-top: 4px; padding-top: 10px !important; }

/* Row 2 — horizontally scrollable nav strip (pages only) */
.biem-header-scroll-wrap {
	border-top: 1px solid rgba(0,0,0,0.04);
}
.biem-header-scroll {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 16px 10px;
	display: flex;
	align-items: center;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.biem-header-scroll::-webkit-scrollbar { display: none; }

.biem-header-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.biem-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border-radius: 999px;
	color: var(--biem-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 13.5px;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.biem-nav-link-icon { font-size: 13px; }
.biem-nav-link:hover { background: var(--biem-bg); color: var(--biem-text); }
.biem-nav-link.is-active { background: var(--biem-primary); color: #fff; }
.biem-nav-link-accent:not(.is-active) { color: var(--biem-warning); }
.biem-nav-link-accent:not(.is-active):hover { background: #fff7e6; }

.biem-header-mode-toggle { flex-shrink: 0; transform: scale(0.9); transform-origin: right center; }

@media (max-width: 760px) {
	.biem-header-brand-text { display: none; }
	.biem-header-balance { display: none; }
	.biem-header-username { display: none; }
	.biem-header-user { padding: 4px; }
	.biem-header-top-actions { gap: 6px; }
	.biem-header-mode-toggle { transform: scale(0.82); transform-origin: right center; }
}

@media (max-width: 420px) {
	.biem-header-top { padding: 8px 12px 6px; }
	.biem-header-scroll { padding: 6px 12px 8px; gap: 10px; }
	.biem-nav-link { padding: 6px 10px; font-size: 13px; }
	.biem-header-mode-toggle { transform: scale(0.78); }
}

/* ---------------------------------------------------------------
   FEE PREVIEW — live-calculated escrow fee shown as a buyer types
   an amount (product purchase modal + off-marketplace deal modal).
   --------------------------------------------------------------- */
.biem-fee-preview {
	background: var(--biem-bg);
	border-radius: 8px;
	padding: 10px 12px;
	margin: -4px 0 14px;
	font-size: 13px;
	min-height: 0;
}
.biem-fee-preview:empty { padding: 0; margin: 0; }
.biem-fee-preview.is-error { background: #fdecec; color: #8a1f1f; padding: 10px 12px; }
.biem-fee-row { display: flex; justify-content: space-between; padding: 2px 0; color: var(--biem-muted); }
.biem-fee-row.biem-fee-total { color: var(--biem-text); font-weight: 700; border-top: 1px dashed var(--biem-border); margin-top: 4px; padding-top: 6px; }
.biem-loading-inline { color: var(--biem-muted); font-style: italic; }

/* ---------------------------------------------------------------
   DEVICE NOTIFICATION PERMISSION BANNER
   --------------------------------------------------------------- */
.biem-notif-permission-banner {
	position: fixed;
	bottom: 16px;
	left: 16px;
	right: 16px;
	max-width: 480px;
	margin: 0 auto;
	background: #1a1a1a;
	color: #fff;
	border-radius: var(--biem-radius);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	z-index: 700;
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
	font-size: 13px;
}
.biem-notif-banner-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.biem-notif-permission-banner .biem-btn-link { background: none; border: none; color: #ccc; text-decoration: underline; cursor: pointer; font-size: 12px; }
