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

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

/* ---- 工作台首页（APP 软件化） ---- */
.bbq-home { }
.bbq-home-notice {
	display: flex; align-items: center; gap: 10px;
	background: linear-gradient(90deg, #fff7ea, #fff);
	border: 1px solid #f3e2c4; border-radius: 12px;
	padding: 12px 16px; margin-bottom: 18px;
}
.bbq-home-notice-icon { font-size: 18px; flex: 0 0 auto; }
.bbq-home-notice-text { color: #a06a1c; font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbq-home-notice-text:hover { color: #e67e22; text-decoration: underline; }

.bbq-home-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px;
}
.bbq-home-stat {
	background: linear-gradient(135deg, #ff9a3d, #f97b22);
	border-radius: 16px; padding: 18px 16px 14px; color: #fff;
	box-shadow: 0 6px 18px rgba(249,123,34,.28);
	display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.bbq-home-stat::after {
	content: ''; position: absolute; right: -22px; top: -22px; width: 90px; height: 90px;
	background: rgba(255,255,255,.14); border-radius: 50%;
}
.bbq-home-stat:nth-child(2) { background: linear-gradient(135deg, #3ec0a1, #24a07f); box-shadow: 0 6px 18px rgba(36,160,127,.28); }
.bbq-home-stat:nth-child(3) { background: linear-gradient(135deg, #5b8def, #3d6fe0); box-shadow: 0 6px 18px rgba(61,111,224,.28); }
.bbq-home-stat:nth-child(4) { background: linear-gradient(135deg, #e06a8e, #c94d72); box-shadow: 0 6px 18px rgba(201,77,114,.28); }
.bbq-home-stat-label { font-size: 13px; opacity: .92; }
.bbq-home-stat-val { font-size: 30px; font-weight: 700; line-height: 1.2; margin: 6px 0 4px; }
.bbq-home-stat-link { color: #fff; font-size: 12px; opacity: .85; text-decoration: none; }
.bbq-home-stat-link:hover { opacity: 1; text-decoration: underline; }

.bbq-home-grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.bbq-home-tile {
	border: 1px solid #eef0f3; background: #fff; border-radius: 16px;
	padding: 20px 10px; text-align: center; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.bbq-home-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.10); border-color: #ffd9b0; }
.bbq-home-tile-ico {
	width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	font-size: 26px; background: #fff3e6;
}
.bbq-home-tile:nth-child(3n+1) .bbq-home-tile-ico { background: #e9f7f2; }
.bbq-home-tile:nth-child(3n+2) .bbq-home-tile-ico { background: #e8effd; }
.bbq-home-tile-name { font-size: 14px; font-weight: 600; color: #38484f; }
.bbq-home-foot { text-align: center; color: #b0b8bd; font-size: 12px; margin: 26px 0 0; }
@media (max-width: 640px) {
	.bbq-home-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.bbq-home-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.bbq-home-tile { padding: 14px 8px; }
	.bbq-home-tile-ico { width: 46px; height: 46px; font-size: 22px; }
	.bbq-home-stat-val { font-size: 24px; }
	/* 最后一个（店主备忘录）单独一整排放成横向长方形 */
	.bbq-home-tile-w {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		padding: 16px 10px;
		border-radius: 12px;
	}
}

/* ---- 按钮 ---- */
.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;
	flex: 1 1 auto;
	min-width: 0;
	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: 11px; }
.bbq-mobilebar { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.bbq-nav-title { display: none; font-weight: 600; color: #3a4a57; }
.bbq-nav-overlay { display: none; }

/* 移动端"常用菜单"快速入口（仅移动端曾显示，V23.1 起取消） */
.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: block; }
	.bbq-mobilebar { display: flex; align-items: center; gap: 8px; width: 100%; }
	.bbq-mobilebar .bbq-ticker { margin-bottom: 0; }
	/* 取消移动端"常用菜单"3 个快速导航 */
	.bbq-quickmenus { display: none; }
	/* 公告占 80%，☰菜单图标占 20% */
	.bbq-mobilebar .bbq-ticker { flex: 1 1 auto; min-width: 0; }
	.bbq-nav-title { display: inline-block; font-size: 15px; flex: none; }
	/* 移动端：完全取消 Tab 菜单栏（导航只靠首页工作台快捷宫格） */
	.bbq-tabs, .bbq-nav-overlay { display: none !important; }
	/* 计算器多行：窄屏允许横向滚动，避免挤压 */
	.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; }
	/* 移动端收紧整体留白，保证内容完整 */
	.bbq-dashboard, .bbq-share-page { padding: 4px 12px 28px; }
	.bbq-card { padding: 14px; }
	.bbq-panel { padding: 0 2px; }
}

/* ---- 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; }

/* ---- 备货 v2 系统模板库（只读，勾选一键导入） ---- */
.bbq-tpllib { margin-bottom: 14px; border: 1px dashed #cdb795; background: #fdfaf4; border-radius: 10px; overflow: hidden; }
.bbq-tpllib-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; background: #faf3e4; }
.bbq-tpllib-toggle { background: none; border: 0; font-size: 15px; font-weight: 600; color: #b06a1c; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.bbq-tpllib-caret { display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #b06a1c; }
.bbq-tpllib.open .bbq-tpllib-caret { border-top: 0; border-bottom: 6px solid #b06a1c; }
.bbq-tpllib-hint { font-size: 12px; color: #a08b6e; }
.bbq-tpllib-body { padding: 10px 12px; }
.bbq-tpllib-empty { color: #a08b6e; font-size: 13px; margin: 0; }
.bbq-tpllib-block { border: 1px solid #eee2cc; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.bbq-tpllib-block:last-child { margin-bottom: 0; }
.bbq-tpllib-block-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; }
.bbq-tpllib-block-toggle { background: none; border: 0; cursor: pointer; padding: 0; width: 26px; height: 26px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.bbq-tpllib-chev { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid #fff; display: inline-block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); transition: transform .15s; }
.bbq-tpllib-block.open .bbq-tpllib-chev { transform: rotate(180deg); }
.bbq-tpllib-block-toggle { background: #e67e22; border-radius: 6px; }
.bbq-tpllib-block-toggle:hover { background: #d06a10; }
.bbq-tpllib-block-name { font-weight: 600; font-size: 14px; color: #5a4630; flex: 1; min-width: 80px; }
.bbq-tpllib-checkall { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #777; cursor: pointer; }
.bbq-tpllib-checkall input { width: 14px; height: 14px; }
.bbq-tpllib-import { font-size: 13px; padding: 5px 12px; }
.bbq-tpllib-items { padding: 4px 10px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.bbq-tpllib-item { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: #faf6ef; border: 1px solid #efe4d2; border-radius: 6px; font-size: 13px; cursor: pointer; }
.bbq-tpllib-item input { width: 14px; height: 14px; flex: 0 0 auto; }
.bbq-tpllib-item-name { flex: 1; color: #4a3a28; }
.bbq-tpllib-item-meta { font-size: 11px; color: #a08b6e; white-space: nowrap; }

/* ---- 备货下单 v2（多清单 Tab + 分组 + 双单位） ---- */
.bbq-supply2-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.bbq-supply2-tabbar { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.bbq-supply2-tab-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.bbq-supply2-tab-actions .bbq-btn { white-space: nowrap; }
.bbq-supply2-tab { padding: 8px 16px; border: 1px solid #e2a05e; background: #fff8ee; color: #b06a1c; border-radius: 8px; font-size: 14px; cursor: pointer; }
.bbq-supply2-tab.is-active { background: #e67e22; color: #fff; border-color: #e67e22; font-weight: 600; }

.bbq-supply2-tabtools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 12px; background: #faf6f0; border: 1px solid #efe2d0; border-radius: 10px; margin-bottom: 14px; }
.bbq-supply2-tabname { flex: 1; min-width: 160px; padding: 8px 10px; border: 1px solid #d5dadd; border-radius: 8px; font-size: 15px; font-weight: 600; }
.bbq-supply2-pricebox { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; white-space: nowrap; }
.bbq-supply2-pricebox input { width: 16px; height: 16px; }

.bbq-supply2-group { border: 1px solid #eee2cf; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.bbq-supply2-group-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff8ee; cursor: pointer; }
.bbq-supply2-delgroup { flex: 0 0 auto; min-width: 0; padding: 3px 8px; border: 1px solid #e0b4a8; background: #fdeeea; color: #c0392b; border-radius: 6px; font-size: 12px; cursor: pointer; line-height: 1.4; }
.bbq-supply2-gname { flex: 1; min-width: 120px; padding: 6px 10px; border: 1px solid #eadcc8; border-radius: 7px; font-size: 14px; font-weight: 600; background: #fff; }
.bbq-supply2-count { font-size: 12px; color: #b06a1c; white-space: nowrap; }
.bbq-supply2-fold { cursor: pointer; font-size: 18px; color: #b06a1c; user-select: none; padding: 2px 10px; background: #fff; border: 1px solid #e2a05e; border-radius: 8px; line-height: 1; transition: background .15s; flex: 0 0 auto; }
.bbq-supply2-fold:hover { background: #fdeeea; }
.bbq-supply2-fold::before { content: '▾ '; }
.bbq-supply2-fold::after { content: '收起'; font-size: 13px; }
.bbq-supply2-group.is-folded .bbq-supply2-fold { background: #e67e22; color: #fff; border-color: #e67e22; }
.bbq-supply2-group.is-folded .bbq-supply2-fold::before { content: '▸ '; }
.bbq-supply2-group.is-folded .bbq-supply2-fold::after { content: '展开'; }
.bbq-supply2-group.is-folded .bbq-supply2-group-body { display: none; }
.bbq-supply2-group-body { padding: 10px 12px; }

.bbq-supply2-item-head, .bbq-supply2-item { display: grid; gap: 8px; align-items: center; margin-bottom: 8px; }
.bbq-supply2-item-head { font-size: 12px; color: #999; font-weight: 600; }
.bbq-supply2-item-head span { white-space: nowrap; }
.bbq-supply2-item-head span:first-child { width: 20px; }
/* 无价格：勾选/名称/单位/数量步进/删除 */
.bbq-supply2-item-head:not(.has-price), .bbq-supply2-item:not(.has-price) { grid-template-columns: 20px 1.6fr 92px 100px 26px; }
/* 有价格：多一列价格 */
.bbq-supply2-item-head.has-price, .bbq-supply2-item.has-price { grid-template-columns: 20px 1.4fr 92px 96px 100px 26px; }

.bbq-supply2-item input, .bbq-supply2-item select { width: 100%; padding: 6px 8px; border: 1px solid #d5dadd; border-radius: 7px; font-size: 14px; box-sizing: border-box; background: #fff; }
.bbq-supply2-item .sp-check { width: 17px; height: 17px; padding: 0; }
.bbq-supply2-item .bbq-remove-row { text-align: center; cursor: pointer; color: #c0392b; font-size: 18px; line-height: 1; }
.bbq-supply2-item .sp-qty { font-weight: 600; }
.bbq-qty-step { display: inline-flex; align-items: center; width: 100%; }
.bbq-qty-step .sp-qty { width: 100%; text-align: center; -moz-appearance: textfield; }
.bbq-qty-step .sp-qty::-webkit-outer-spin-button, .bbq-qty-step .sp-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bbq-qty-btn { flex: 0 0 auto; width: 24px; height: 28px; line-height: 1; border: 1px solid #e0a86a; background: #fff4e6; color: #b06a1c; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 6px; padding: 0; }
.bbq-qty-btn:hover { background: #ffe3c2; }
.bbq-qty-step .sp-qty { border-left: 0; border-right: 0; border-radius: 0; min-width: 0; }

.bbq-supply2-additem { margin-top: 6px; }
.bbq-supply2-savebar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.bbq-supply2-msg { font-size: 13px; color: #27ae60; }

.bbq-supply2-preview { margin: 10px 0; background: #f7f9fb; border: 1px dashed #c9d4dd; border-radius: 10px; padding: 12px; min-height: 40px; }
.bbq-supply2-preview-empty { font-size: 13px; color: #999; margin: 0; }
.bbq-supply2-preview-text { margin: 0; font-family: inherit; font-size: 13px; color: #444; white-space: pre-wrap; word-break: break-all; line-height: 1.6; }
.bbq-supply2-preview-text:first-line { font-weight: 700; color: #b06a1c; }

.bbq-export-order { text-decoration: none; }
@media (max-width: 600px) { .od-price { display: none; } }

/* ---- 备货 v2 移动端：紧凑，货品一排放下 ---- */
@media (max-width: 640px) {
	/* Tab 行：第一排 = Tab 标签；第二排 = 新建 + 删除本清单 */
	.bbq-supply2-tabs { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 10px; }
	.bbq-supply2-tabbar { flex: none; width: 100%; gap: 6px; }
	.bbq-supply2-tab { padding: 6px 12px; font-size: 13px; }
	.bbq-supply2-tab-actions { flex: none; width: 100%; gap: 8px; justify-content: stretch; }
	.bbq-supply2-tab-actions .bbq-btn { flex: 1; padding: 7px 10px; font-size: 13px; text-align: center; }

	/* 清单编辑区 */
	.bbq-supply2-tabtools { gap: 8px; padding: 8px; margin-bottom: 10px; }
	.bbq-supply2-tabname { min-width: 0; flex: 1 1 130px; padding: 6px 8px; font-size: 14px; }
	.bbq-supply2-pricebox { font-size: 12px; gap: 4px; }

	/* 分组 */
	.bbq-supply2-group { margin-bottom: 8px; }
	.bbq-supply2-group-head { gap: 6px; padding: 6px 8px; }
	.bbq-supply2-delgroup { padding: 2px 6px; font-size: 11px; }
	.bbq-supply2-gname { min-width: 0; padding: 4px 6px; font-size: 13px; }
	.bbq-supply2-count { font-size: 11px; }
	.bbq-supply2-fold { padding: 1px 8px; font-size: 15px; }
	.bbq-supply2-fold::before { font-size: 13px; }
	.bbq-supply2-fold::after { font-size: 11px; }
	.bbq-supply2-group-body { padding: 8px; }

	/* 货品行：不横向滑动，全部一排，紧凑。数量为 +/− 步进 */
	.bbq-supply2-group-body { overflow-x: visible; }
	.bbq-supply2-item-head, .bbq-supply2-item { min-width: 0; gap: 4px; margin-bottom: 5px; }
	.bbq-supply2-item-head:not(.has-price), .bbq-supply2-item:not(.has-price) { grid-template-columns: 18px 1fr 44px 80px 22px; }
	.bbq-supply2-item-head.has-price, .bbq-supply2-item.has-price { grid-template-columns: 18px 1fr 44px 52px 80px 22px; }
	.bbq-supply2-item-head { font-size: 11px; }
	.bbq-supply2-item input { padding: 4px 5px; font-size: 13px; border-radius: 6px; }
	.bbq-supply2-item .sp-check { width: 16px; height: 16px; }
	.bbq-supply2-item .bbq-remove-row { font-size: 16px; }
	.bbq-supply2-item .sp-name { padding: 4px 5px; }
	.bbq-supply2-item .sp-unit { padding: 4px 2px; min-width: 0; text-align: center; font-size: 12px; }
	.bbq-supply2-item .sp-price { padding: 4px 3px; }
	.bbq-qty-btn { width: 20px; height: 26px; font-size: 14px; }
	.bbq-qty-step .sp-qty { padding: 4px 0; font-size: 14px; min-width: 0; }

	.bbq-supply2-additem { margin-top: 4px; padding: 5px 10px; font-size: 12px; }
	.bbq-supply2-savebar { gap: 8px; margin-top: 10px; }
}
.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 {
	height: 62px;
	border: 1px solid #edf0f3;
	border-radius: 10px;
	padding: 5px 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	background: #fafbfc;
	cursor: pointer;
	transition: all .15s ease;
	position: relative;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
}
.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; line-height: 1; }
.bbq-daily-amt {
	font-size: 12px;
	font-weight: 700;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}
.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; }
/* 大金额（万/k 缩写后仍超宽）时进一步缩小，保证格子不被撑破 */
.bbq-daily-amt.is-big { font-size: 10px; padding-left: 3px; padding-right: 3px; }
@media (max-width: 520px) {
	.bbq-daily-grid, .bbq-daily-cells { gap: 4px; }
	.bbq-daily-cell { height: 48px; border-radius: 8px; padding: 3px 2px; gap: 2px; }
	.bbq-daily-daynum { font-size: 11px; }
	.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; }
