/**
 * 烧烤老板工具箱 - 仪表盘 & 分享页样式（精致现代 · 暖橙品牌色）
 */

/* ---- 通用 ---- */
.bbq-dashboard,
.bbq-share-page {
	max-width: 1020px;
	margin: 0 auto;
	padding: 28px 20px 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #26343f;
}

/* ---- 按钮 ---- */
.bbq-btn {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	background: #fff;
	color: #3a4a57;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all .18s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	line-height: 1.4;
	text-decoration: none;
}
.bbq-btn:hover { border-color: #cbd2d8; background: #f8fafb; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.08); }
.bbq-btn:active { transform: translateY(0); }
.bbq-btn-primary {
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 60%, #d35400 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 2px 6px rgba(230,126,34,.35);
}
.bbq-btn-primary:hover { background: linear-gradient(135deg, #f0a01a 0%, #e8720f 60%, #c74d00 100%); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(230,126,34,.4); }
.bbq-btn-secondary { background: #f4f6f8; border-color: #dfe4e9; }
.bbq-btn-secondary:hover { background: #ebeff3; }
.bbq-btn-danger { color: #d64545; border-color: #f3d6d6; }
.bbq-btn-danger:hover { background: #fdf0ef; border-color: #e8b4b4; color: #c0392b; }
.bbq-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.bbq-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: #27ae60;
	letter-spacing: .3px;
}

/* ---- 顶部公告跑马灯 ---- */
.bbq-ticker {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff8ec;
	border: 1px solid #f4ddba;
	border-radius: 10px;
	padding: 6px 14px;
	margin-bottom: 16px;
	overflow: hidden;
	white-space: nowrap;
	font-size: 13px;
}
.bbq-ticker-icon {
	color: #e67e22;
	font-size: 16px;
	flex-shrink: 0;
	line-height: 1;
	z-index: 2;
	background: #fff8ec;
	padding-right: 4px;
}
.bbq-ticker-stage {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	position: relative;
	height: 20px;
	line-height: 20px;
}
.bbq-ticker-text {
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0;
	white-space: nowrap;
	color: #9a5b12;
	text-decoration: none;
	font-weight: 500;
	animation: bbq-ticker 14s linear infinite;
}
.bbq-ticker-text:hover { color: #d35400; }
@keyframes bbq-ticker {
	0% { transform: translateX(0); }
	15% { transform: translateX(0); }
	100% { transform: translateX(calc(-100% - 30px)); }
}

/* ---- Guest 横幅 ---- */
.bbq-guest-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #fff7ed, #fef1e0);
	border: 1px solid #f5d9b0;
	border-radius: 10px;
	padding: 8px 14px;
	margin-bottom: 14px;
	font-size: 13px;
	color: #7a4a12;
}
.bbq-guest-banner .bbq-btn { white-space: nowrap; padding: 6px 14px; font-size: 13px; }

/* ---- Header ---- */
.bbq-header {
	background: linear-gradient(135deg, #f8b64c 0%, #e67e22 55%, #c95f0e 100%);
	border-radius: 14px;
	padding: 26px 28px;
	color: #fff;
	margin-bottom: 22px;
	box-shadow: 0 6px 20px rgba(230,126,34,.25);
	position: relative;
	overflow: hidden;
}
.bbq-header::after {
	content: "🍢";
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 52px;
	opacity: .25;
}
.bbq-header h2 { margin: 0 0 4px; font-size: 26px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.bbq-sub { margin: 0; font-size: 15px; opacity: .95; }

/* ---- 导航栏（桌面 Tab / 移动端汉堡抽屉） ---- */
.bbq-navbar { position: relative; margin-bottom: 22px; }
.bbq-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 40px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	cursor: pointer;
}
.bbq-hamburger span { display: block; height: 2.5px; background: #e67e22; border-radius: 2px; transition: all .2s ease; }
.bbq-nav-title { display: none; font-weight: 600; color: #3a4a57; }
.bbq-nav-overlay { display: none; }

/* 移动端"常用菜单"快速入口（桌面隐藏，仅移动端显示） */
.bbq-quickmenus { display: none; }

/* 桌面：横向标签 */
.bbq-tabs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	padding: 8px;
	background: #f4f6f8;
	border-radius: 12px;
}
.bbq-tab {
	padding: 10px 18px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #5a6b78;
	border-radius: 8px;
	transition: all .18s ease;
}
.bbq-tab:hover { background: #e9edf1; color: #2c3e50; }
.bbq-tab.is-active {
	background: #fff;
	color: #e67e22;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

@media (max-width: 720px) {
	.bbq-navbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
	.bbq-quickmenus { display: flex; gap: 6px; flex: 1 1 auto; overflow-x: auto; }
	.bbq-quickmenus .bbq-quickmenu {
		padding: 8px 12px;
		background: #fff6ea;
		border: 1px solid #f3dcc0;
		border-radius: 8px;
		white-space: nowrap;
		font-size: 14px;
	}
	.bbq-quickmenus .bbq-quickmenu.is-active {
		background: #fff;
		color: #e67e22;
		font-weight: 600;
		box-shadow: 0 1px 4px rgba(0,0,0,.12);
	}
	.bbq-hamburger { display: flex; flex: none; }
	.bbq-nav-title { display: inline-block; font-size: 15px; flex: none; }
	.bbq-navbar.is-open .bbq-hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.bbq-navbar.is-open .bbq-hamburger span:nth-child(2) { opacity: 0; }
	.bbq-navbar.is-open .bbq-hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	/* 抽屉：右侧滑出 */
	.bbq-tabs {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: 260px;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 4px;
		padding: 18px 12px;
		background: #fff;
		box-shadow: -8px 0 24px rgba(0,0,0,.18);
		border-radius: 14px 0 0 14px;
		transform: translateX(100%);
		transition: transform .28s ease;
		z-index: 10002;
		overflow-y: auto;
		margin: 0;
	}
	.bbq-navbar.is-open .bbq-tabs { transform: translateX(0); }
	.bbq-tabs .bbq-tab {
		width: 100%;
		text-align: left;
		padding: 12px 14px;
		background: transparent;
		border-radius: 8px;
	}
	.bbq-tabs .bbq-tab.is-active { background: #fdf1e3; }
	.bbq-nav-overlay {
		display: block;
		position: fixed; inset: 0;
		background: rgba(15,23,32,.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s ease;
		z-index: 10001;
	}
	.bbq-nav-overlay.is-visible { opacity: 1; visibility: visible; }
	/* 计算器多行：窄屏允许横向滚动，避免挤压 */
	.bbq-combo-items, .bbq-stock-items, .bbq-staff-items { overflow-x: auto; padding-bottom: 4px; }
	.bbq-combo2-list { overflow-x: auto; padding-bottom: 4px; }
	.bbq-row-head, .bbq-combo-item, .bbq-stock-item, .bbq-staff-item, .bbq-combo2-head, .bbq-combo2-item { min-width: 340px; }
}

/* ---- Toolbar ---- */
.bbq-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.bbq-toolbar select,
.bbq-toolbar input[type="text"],
.bbq-toolbar input[type="number"] {
	padding: 8px 12px;
	border: 1px solid #dce1e6;
	border-radius: 8px;
	font-size: 14px;
	background: #fbfcfd;
}
.bbq-toolbar select:focus,
.bbq-toolbar input:focus { outline: none; border-color: #e67e22; box-shadow: 0 0 0 3px rgba(230,126,34,.15); }
.bbq-selected-count { color: #7f8c8d; font-size: 13px; }

/* ---- 菜品列表 ---- */
.bbq-lib-item,
.bbq-menu-item {
	border: 1px solid #edf0f3;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.04);
	transition: all .18s ease;
}
.bbq-lib-item {
	display: flex;
	align-items: center;
	gap: 14px;
}
.bbq-menu-item-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bbq-menu-item-top h4 { margin: 0; font-size: 16px; }
.bbq-menu-info { flex: 1; min-width: 0; }
.bbq-menu-info h4 { margin: 0 0 3px; font-size: 16px; }
.bbq-menu-edit { flex: none; white-space: nowrap; }
.bbq-menu-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid #eef1f4; }
.bbq-menu-thumb-ph { background: linear-gradient(135deg, #fff3e0, #ffe0b2); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.bbq-privacy-card { margin-top: 14px; }
.bbq-privacy-controls { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0; }
.bbq-privacy-radio { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.bbq-privacy-pw { margin: 8px 0; }
.bbq-privacy-pw label { display: block; font-size: 13px; color: #555; margin-bottom: 4px; }
.bbq-shop-password { padding: 7px 10px; border: 1px solid #d5dadd; border-radius: 8px; width: 220px; }
.bbq-privacy-clear { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; font-size: 13px; }
.bbq-privacy-actions { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.bbq-privacy-msg { font-size: 13px; color: #27ae60; }
.bbq-memo-add { margin-bottom: 14px; }
.bbq-memo-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 14px; resize: vertical; }
.bbq-memo-actions { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.bbq-memo-msg { font-size: 13px; color: #27ae60; }
.bbq-memo-item { background: #fff; border: 1px solid #edf0f3; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.bbq-memo-date { font-size: 13px; color: #e67e22; font-weight: 600; margin-bottom: 6px; }
.bbq-memo-content { font-size: 14px; color: #444; line-height: 1.6; white-space: pre-wrap; }
.bbq-memo-item .bbq-btn { margin-top: 8px; }
.bbq-supply-head, .bbq-supply-row { display: grid; grid-template-columns: 2fr 1fr 1.4fr 30px; gap: 8px; align-items: center; margin-bottom: 8px; }
.bbq-supply-row input { padding: 7px 10px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 14px; width: 100%; box-sizing: border-box; }
.bbq-supply-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.bbq-supply-preset-msg { font-size: 13px; color: #27ae60; }
.bbq-order-list { margin-top: 10px; }
.bbq-order-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #f0f2f5; }
.bbq-order-row:last-child { border-bottom: none; }
.bbq-order-check input { width: 17px; height: 17px; }
.od-name { flex: 1; font-size: 14px; font-weight: 600; }
.od-price { font-size: 13px; color: #888; width: 90px; }
.od-sub { font-size: 13px; color: #666; display: flex; align-items: center; gap: 4px; }
.od-qty { width: 60px; padding: 5px 8px; border: 1px solid #d5dadd; border-radius: 6px; }
.od-line-total { width: 80px; text-align: right; font-size: 14px; font-weight: 600; color: #e67e22; }
.bbq-order-total { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px 0 8px; border-top: 2px solid #f0cfa8; margin-top: 10px; }
.bbq-order-total-label { font-size: 15px; font-weight: 600; }
.bbq-order-total-amount { font-size: 22px; font-weight: 700; color: #e67e22; }
.bbq-order-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.bbq-order-msg { font-size: 13px; color: #27ae60; }
.bbq-export-order { text-decoration: none; }
@media (max-width: 600px) { .od-price { display: none; } }
.bbq-daily-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bbq-daily-target { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bbq-daily-target-label { font-size: 14px; font-weight: 600; }
.bbq-daily-target-input { width: 90px; padding: 7px 10px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 14px; text-align: center; }
.bbq-daily-target-msg { font-size: 13px; color: #27ae60; }
.bbq-daily-monthly { text-align: right; }
.bbq-daily-monthly-label { display: block; font-size: 13px; color: #888; }
.bbq-daily-monthly-amount { font-size: 26px; font-weight: 700; color: #e67e22; }
.bbq-daily-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.bbq-daily-stat { text-align: center; background: #fafbfc; border: 1px solid #edf0f3; border-radius: 10px; padding: 12px 6px; }
.bbq-daily-stat-label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.bbq-daily-stat-val { font-size: 18px; font-weight: 700; color: #3a4a57; }
.bbq-daily-stat-monthly .bbq-daily-monthly-amount { color: #e67e22; }
.bbq-daily-stat-monthly { background: #fff7f0; border-color: #f5d9b8; }
@media (max-width: 520px) { .bbq-daily-stats { grid-template-columns: repeat(2, 1fr); } }
#bbq-modal-daily label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #3a4a57; }
#bbq-modal-daily input[type="number"] { width: 100%; box-sizing: border-box; padding: 9px 12px; margin-top: 4px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 15px; }
.bbq-daily-modal-total { display: flex; justify-content: flex-end; align-items: center; gap: 10px; border-top: 2px solid #f0cfa8; padding: 12px 0 4px; margin-top: 4px; }
.bbq-daily-modal-total-label { font-size: 14px; font-weight: 600; }
.bbq-daily-modal-total-amount { font-size: 20px; font-weight: 700; color: #e67e22; }
.bbq-daily-cal { margin-top: 14px; }
.bbq-daily-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 12px; }
.bbq-daily-title { font-size: 16px; font-weight: 700; min-width: 110px; text-align: center; }
.bbq-daily-grid, .bbq-daily-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bbq-daily-dow { text-align: center; font-size: 13px; color: #999; font-weight: 600; padding: 4px 0; }
.bbq-daily-cell { min-height: 64px; border: 1px solid #edf0f3; border-radius: 10px; padding: 6px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; background: #fafbfc; cursor: pointer; transition: all .15s ease; position: relative; }
.bbq-daily-cell:hover { border-color: #ffb36b; box-shadow: 0 2px 8px rgba(230,126,34,.15); }
.bbq-daily-cell.is-blank { background: transparent; border-color: transparent; cursor: default; }
.bbq-daily-cell.is-today { border-color: #e67e22; border-width: 2px; }
.bbq-daily-daynum { font-size: 13px; color: #888; }
.bbq-daily-amt { font-size: 12px; font-weight: 700; }
.bbq-daily-cell.is-hit { background: #fdecea; border-color: #f5a3a0; }
.bbq-daily-cell.is-hit .bbq-daily-daynum { color: #c0392b; }
.bbq-daily-cell.is-hit .bbq-daily-amt { color: #c0392b; background: #f5c6c2; border-radius: 8px; padding: 1px 5px; font-weight: 700; }
.bbq-daily-cell.is-miss { background: #eafaf1; border-color: #a9dfbf; }
.bbq-daily-cell.is-miss .bbq-daily-daynum { color: #1e8449; }
.bbq-daily-cell.is-miss .bbq-daily-amt { color: #1e8449; background: #c8eeda; border-radius: 8px; padding: 1px 5px; font-weight: 700; }
@media (max-width: 520px) { .bbq-daily-cell { min-height: 50px; } .bbq-daily-amt { font-size: 11px; } }
.bbq-lib-item:hover,
.bbq-menu-item:hover { border-color: #f0cfa8; box-shadow: 0 4px 14px rgba(230,126,34,.12); }
.bbq-lib-item.is-imported { background: #f6faf6; }
.bbq-thumb { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; border: 1px solid #eef1f4; }
.bbq-thumb-placeholder { background: #f2f4f6; }
.bbq-lib-info { flex: 1; min-width: 0; }
.bbq-lib-info h4 { margin: 0 0 4px; font-size: 16px; }
.bbq-lib-title { color: #2c3e50; text-decoration: none; }
.bbq-lib-title:hover { color: #e67e22; }
.bbq-lib-link { color: #e67e22; text-decoration: none; font-size: 14px; margin-left: 4px; }
.bbq-lib-link:hover { color: #d35400; }
.bbq-meta { font-size: 13px; color: #7f8c8d; }
.bbq-steps { font-size: 13px; color: #95a5a6; margin-top: 4px; }
.bbq-lib-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ---- 菜单行内编辑 ---- */
.bbq-inline-edit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bbq-inline-edit label { font-size: 13px; color: #7f8c8d; }
.bbq-margin { font-size: 13px; color: #27ae60; font-weight: 600; }
.bbq-note { font-size: 13px; color: #8e6e53; margin-top: 6px; background: #fdf6ee; padding: 6px 10px; border-radius: 6px; }

/* ---- 分页 ---- */
.bbq-pagination { display: flex; align-items: center; gap: 12px; margin-top: 16px; justify-content: center; }
.bbq-page-info { color: #7f8c8d; font-size: 14px; }

/* ---- 百科 ---- */
.bbq-wiki-item { border: 1px solid #edf0f3; border-radius: 10px; padding: 14px; margin-bottom: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.bbq-wiki-item h4 { margin: 0 0 6px; }
.bbq-wiki-content { color: #555; font-size: 14px; margin-bottom: 8px; }

/* ---- 弹窗 ---- */
.bbq-modal {
	position: fixed; inset: 0; background: rgba(15,23,32,.55);
	display: flex; align-items: center; justify-content: center; z-index: 9999;
	backdrop-filter: blur(2px);
}
.bbq-modal-box {
	background: #fff; border-radius: 14px; padding: 26px;
	width: 90%; max-width: 480px; max-height: 90vh; overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0,0,0,.25);
	animation: bbq-pop .2s ease;
}
@keyframes bbq-pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bbq-modal-box h3 { margin-top: 0; font-size: 18px; color: #2c3e50; }
.bbq-modal-box label { display: block; margin-bottom: 12px; font-size: 14px; color: #555; }
.bbq-modal-box input[type="text"],
.bbq-modal-box input[type="number"],
.bbq-modal-box textarea { width: 100%; margin-top: 4px; box-sizing: border-box; padding: 9px 12px; border: 1px solid #dce1e6; border-radius: 8px; font-size: 14px; }
.bbq-modal-box input:focus, .bbq-modal-box textarea:focus { outline: none; border-color: #e67e22; box-shadow: 0 0 0 3px rgba(230,126,34,.15); }
.bbq-checkline { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.bbq-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---- 分享页 ---- */
.bbq-share-header { text-align: center; margin-bottom: 24px; padding: 28px; background: linear-gradient(135deg, #f8b64c, #e67e22); border-radius: 14px; color: #fff; box-shadow: 0 6px 20px rgba(230,126,34,.25); }
.bbq-share-header h1 { font-size: 26px; margin-bottom: 4px; color: #fff; }
.bbq-share-sub { color: rgba(255,255,255,.9); }
.bbq-share-login-tip { color: rgba(255,255,255,.9); }
.bbq-share-login-tip a { color: #fff; font-weight: 700; }
.bbq-share-copy-msg { margin-left: 10px; font-size: 14px; }
.bbq-share-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.bbq-share-table th, .bbq-share-table td { border: 1px solid #edf0f3; padding: 11px 14px; text-align: left; }
.bbq-share-table th { background: #f8f9fa; font-weight: 600; color: #3a4a57; }
.bbq-share-table tbody tr:hover { background: #fdf6ec; }

/* ---- 分享页卡片网格 ---- */
.bbq-share-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.bbq-share-card {
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	transition: transform .18s ease, box-shadow .18s ease;
}
.bbq-share-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(230,126,34,.15); }
.bbq-share-thumb {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}
.bbq-share-card-body { padding: 12px 14px 14px; }
.bbq-share-card-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: #2c3e50; }
.bbq-share-card-price { font-size: 17px; font-weight: 700; color: #e67e22; }
.bbq-share-locked { text-align: center; padding: 60px 20px; }
.bbq-share-locked-icon { font-size: 56px; margin-bottom: 12px; }
.bbq-share-locked-msg { font-size: 17px; color: #7f8c8d; margin-bottom: 18px; }
.bbq-share-pw { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.bbq-share-pw-input { padding: 8px 12px; border: 1px solid #d5dadd; border-radius: 8px; width: 220px; font-size: 14px; }
.bbq-share-pw-btn { }
.bbq-share-pw-err { width: 100%; color: #e74c3c; font-size: 13px; margin: 6px 0 0; }
@media (max-width: 600px) { .bbq-share-pw-input { width: 100%; } .bbq-share-pw { flex-direction: column; } }
.bbq-share-card-note { margin-top: 6px; font-size: 12px; color: #8e6e53; background: #fdf6ee; padding: 5px 8px; border-radius: 6px; }

.bbq-loading, .bbq-empty, .bbq-error { text-align: center; color: #95a5a6; padding: 30px; }
.bbq-error { color: #c0392b; }
.bbq-login-prompt { text-align: center; padding: 40px; }
.bbq-login-prompt a { margin-top: 12px; }

/* ---- 计算工具 ---- */
.bbq-calc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}
.bbq-card {
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
	transition: box-shadow .2s ease;
}
.bbq-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.bbq-card-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	border-bottom: 1px solid #eef1f4;
	padding-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.bbq-card-wide { grid-column: 1 / -1; }
.bbq-tip { font-size: 12px; color: #95a5a6; margin: 4px 0 10px; }
.bbq-frow { margin-bottom: 10px; }
.bbq-frow label { display: block; font-size: 13px; color: #7f8c8d; margin-bottom: 4px; }
.bbq-frow input[type="text"],
.bbq-frow input[type="number"],
.bbq-frow select {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #dce1e6;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fbfcfd;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bbq-frow input:focus,
.bbq-frow select:focus {
	outline: none;
	border-color: #e67e22;
	box-shadow: 0 0 0 3px rgba(230,126,34,.15);
	background: #fff;
}
.bbq-c-result { margin-top: 14px; }
.bbq-result-box {
	background: linear-gradient(135deg, #fffaf3, #fdf4e6);
	border: 1px solid #f2e0c4;
	border-radius: 10px;
	padding: 14px 16px;
}
.bbq-result-title { font-weight: 700; margin-bottom: 8px; color: #d35400; font-size: 15px; }
.bbq-result-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #f0e0c4; font-size: 14px; }
.bbq-result-row:last-child { border-bottom: none; }
.bbq-result-label { color: #7f8c8d; }
.bbq-result-value { font-weight: 600; color: #2c3e50; }
.bbq-result-tip { margin-top: 10px; font-size: 13px; font-weight: 600; }
.bbq-green { color: #27ae60; }
.bbq-red { color: #e74c3c; }
.bbq-warn { color: #f39c12; }
.bbq-highlight { background: #fdf5e6; padding: 2px 6px; border-radius: 4px; color: #e67e22; }

/* ---- 计算器多行输入（列头 + 行对齐）---- */
.bbq-row-head {
	display: grid;
	gap: 6px;
	align-items: center;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #8a97a3;
	padding: 0 2px;
}
.bbq-combo-head, .bbq-combo-item { grid-template-columns: 1.4fr 0.8fr 0.8fr 24px; }
.bbq-stock-head, .bbq-stock-item { grid-template-columns: 1.2fr 0.9fr 1fr 1fr 24px; }
.bbq-staff-head, .bbq-staff-item { grid-template-columns: 1.5fr 0.7fr 1fr 24px; }
.bbq-combo-item,
.bbq-staff-item,
.bbq-stock-item {
	display: grid;
	gap: 6px;
	align-items: center;
	margin-bottom: 8px;
}
.bbq-combo-item input,
.bbq-staff-item input,
.bbq-staff-item select,
.bbq-stock-item input {
	padding: 8px 10px;
	border: 1px solid #dce1e6;
	border-radius: 8px;
	font-size: 14px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	background: #fbfcfd;
}
.bbq-combo-item input:focus,
.bbq-staff-item input:focus,
.bbq-staff-item select:focus,
.bbq-stock-item input:focus {
	outline: none;
	border-color: #e67e22;
	box-shadow: 0 0 0 3px rgba(230,126,34,.15);
	background: #fff;
}
.bbq-staff-item select { width: 100%; }
.bbq-remove-row {
	color: #e74c3c;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 0 4px;
	user-select: none;
	text-align: center;
}

/* ---- 库存 ---- */
.bbq-inv-table th { background: #f8f9fa; font-weight: 600; color: #3a4a57; }
.bbq-inv-alerts { margin-top: 12px; }
.bbq-inv-alert {
	background: #fdecea;
	border: 1px solid #e74c3c;
	border-radius: 8px;
	padding: 10px 12px;
	color: #e74c3c;
	font-size: 14px;
}

/* ---- 行业预设知识库 ---- */
.bbq-wiki-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.bbq-wiki-table th, .bbq-wiki-table td { border: 1px solid #edf0f3; padding: 7px 10px; text-align: left; }
.bbq-wiki-table th { background: #f8f9fa; }
.bbq-wiki-preset .bbq-card { margin-bottom: 14px; }
.bbq-wiki-preset h4 { margin: 0 0 4px; }
.bbq-wiki-list-plain { margin: 8px 0 0; padding-left: 18px; }
.bbq-wiki-list-plain li { margin-bottom: 4px; }

/* ---- 系统菜品公开详情页 ---- */
.bbq-dish-page {
	max-width: 1020px;
	margin: 0 auto;
	padding: 24px 20px 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #26343f;
}
.bbq-dish-crumb { font-size: 13px; color: #95a5a6; margin-bottom: 16px; }
.bbq-dish-crumb a { color: #e67e22; text-decoration: none; }
.bbq-dish-detail {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 28px;
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.bbq-dish-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 80px;
	background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}
.bbq-dish-name { margin: 0 0 6px; font-size: 26px; font-weight: 700; color: #2c3e50; }
.bbq-dish-cats { font-size: 13px; color: #e67e22; margin-bottom: 14px; }
.bbq-dish-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 14px 0;
	padding: 14px 16px;
	background: linear-gradient(135deg, #fff8ec, #fdf0dc);
	border-radius: 10px;
	border: 1px solid #f4ddba;
}
.bbq-dish-price-label { font-size: 13px; color: #8a6d4a; }
.bbq-dish-price-amount { font-size: 28px; font-weight: 800; color: #e67e22; }
.bbq-dish-unit { font-size: 15px; font-weight: 500; color: #b07a3a; }
.bbq-dish-facts { list-style: none; margin: 0 0 18px; padding: 0; }
.bbq-dish-facts li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px dashed #eef1f4;
	font-size: 14px;
}
.bbq-fact-key { color: #7f8c8d; }
.bbq-fact-val { font-weight: 600; color: #2c3e50; }
.bbq-fact-margin { color: #27ae60; }
.bbq-dish-import-btn { display: inline-block; }
.bbq-dish-sections { margin-top: 24px; display: grid; gap: 16px; }
.bbq-dish-card {
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.bbq-dish-card h2 { margin: 0 0 12px; font-size: 17px; color: #2c3e50; }
.bbq-dish-steps, .bbq-dish-content { font-size: 15px; line-height: 1.8; color: #444; white-space: pre-line; }
.bbq-dish-notfound { text-align: center; padding: 60px 20px; }
.bbq-dish-notfound h1 { font-size: 26px; }
@media (max-width: 640px) {
	.bbq-dish-detail { grid-template-columns: 1fr; }
}

/* ============ 腌料换算器 ============ */
.bbq-marinade-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.bbq-marinade-pick select { flex: 1 1 220px; padding: 8px 10px; border: 1px solid #d5dadd; border-radius: 8px; }
.bbq-marinade-meta { color: #999; font-size: 13px; margin: 4px 0; }
.bbq-marinade-weight { display: flex; align-items: center; gap: 10px; }
.bbq-marinade-weight input { flex: 1; font-size: 26px; font-weight: 800; padding: 12px 14px; text-align: center; border: 2px solid #e67e22; border-radius: 10px; }
.bbq-marinade-weight select { padding: 10px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 15px; }
.bbq-marinade-ratio { font-size: 13px; color: #999; margin-top: 8px; }
.bbq-marinade-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bbq-marinade-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.bbq-marinade-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fafbfc; border: 1px solid #edf0f3; border-radius: 8px; }
.bbq-marinade-ing { flex: 1; font-weight: 600; }
.bbq-marinade-now { font-weight: 800; color: #e67e22; font-size: 17px; }
.bbq-marinade-base { color: #aaa; font-size: 12px; }
.bbq-marinade-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.bbq-marinade-row { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
.bbq-marinade-row input[type="text"] { flex: 2; }
.bbq-marinade-row input[type="number"] { flex: 1; }
.bbq-marinade-row select { flex: 1; }
.bbq-marinade-head { margin-top: 6px; }
.bbq-receipt-body { background: #fff; border: 1px dashed #bbb; padding: 14px; border-radius: 6px; max-height: 60vh; overflow: auto; }
.bbq-receipt-text { font-family: 'Courier New', monospace; white-space: pre-wrap; font-size: 13px; margin: 0; }

/* ============ 外卖换算器 ============ */
.bbq-takeout-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bbq-takeout-modes .is-active { background: #e67e22; color: #fff; border-color: #e67e22; }
.bbq-takeout-plat { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bbq-takeout-plat select { padding: 8px 10px; border: 1px solid #d5dadd; border-radius: 8px; }
.bbq-c-result { margin-top: 12px; padding: 12px; background: #fafbfc; border-radius: 8px; line-height: 1.9; }
.bbq-c-result b { margin-left: 4px; }
.bbq-big { font-size: 24px; font-weight: 800; color: #e67e22; }

/* ============ 组合套餐定价 ============ */
.bbq-combo-ratios { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bbq-combo-ratios .is-active { background: #e67e22; color: #fff; border-color: #e67e22; }
.bbq-combo-ratios .bbq-btn { min-width: 56px; }
.bbq-combo-ratio-slider-wrap { width: 100%; }
.cm-ratio-slider { width: 100%; }
.combo2 input,
.bbq-combo2-item input { padding: 8px 10px; border: 1px solid #d5dadd; border-radius: 8px; }
.cm2-qty { display: flex; align-items: center; justify-content: center; gap: 4px; }
.cm2-qty span { min-width: 22px; text-align: center; font-weight: 700; }
.bbq-btn-mini { padding: 3px 9px; font-size: 14px; }
.cm2-sub { font-weight: 700; min-width: 70px; text-align: right; }
.bbq-combo2-summary { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding-top: 10px; border-top: 2px solid #f0cfa8; }
.bbq-combo2-summary b { color: #e67e22; }
.bbq-combo2-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .bbq-combo2-dual { grid-template-columns: 1fr; } }
.bbq-combo2-panel { background: #fafbfc; border: 1px solid #edf0f3; border-radius: 10px; padding: 12px; }
.bbq-combo2-panel h4 { margin-top: 0; font-size: 15px; }
.bbq-health { margin-top: 8px; font-weight: 700; font-size: 15px; }
.bbq-combo2-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* 已保存套餐列表 */
.bbq-combo-saved-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.bbq-combo-saved-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fafbfc; border: 1px solid #edf0f3; border-radius: 8px; }
.bbq-combo-saved-main { display: flex; flex-direction: column; gap: 3px; }
.bbq-combo-saved-name { font-weight: 700; }
.bbq-combo-saved-meta { color: #999; font-size: 12px; }
.bbq-combo-saved-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* 我的菜单勾选弹窗 */
.bbq-pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; }
.bbq-pick-item { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #edf0f3; border-radius: 8px; }
.bbq-pick-name { font-weight: 600; flex: 1; }
.bbq-pick-meta { color: #999; font-size: 12px; }

/* 弹窗加宽 */
.bbq-modal-wide .bbq-modal-box { max-width: 620px; }

/* ============ 组合套餐：菜品拼装行（改用 Grid 排版，对齐表头） ============ */
.bbq-combo2-head, .bbq-combo2-item { grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr 0.9fr 24px; }
.bbq-combo2-item {
	display: grid;
	gap: 6px;
	align-items: center;
	margin-bottom: 8px;
}
.bbq-combo2-item input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 14px; }
.bbq-combo2-item .cm2-price, .bbq-combo2-item .cm2-cost { min-width: 0; }
.cm2-qty { display: flex; align-items: center; justify-content: center; gap: 4px; }
.cm2-qty span { min-width: 22px; text-align: center; font-weight: 700; }
.bbq-btn-mini { padding: 3px 9px; font-size: 14px; }
.cm2-sub { font-weight: 700; min-width: 70px; text-align: right; color: #e67e22; }
.cm2-del { color: #e74c3c; font-size: 20px; cursor: pointer; text-align: center; }
.bbq-combo2-addmanual { margin-top: 8px; }
