/* ============ P1 手机评分页专属(设计稿 p1-review.html <style> 1:1 抽取) ============ */
/* 后加载于 sals.css,同名微调以本文件为准(1:1 保真) */

.page { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; display: flex; flex-direction: column; }

/* Toast 位置:评价流底部有操作栏,按设计稿 p1 内联 bottom:84px 抬高避让 */
.toast-wrap { bottom: 84px; }

/* 台号选择屏(员工口吻) */
.sel-head { padding: 18px 18px 6px; display: flex; align-items: center; gap: 10px; }
.sel-head .h-title { font-size: 16px; font-weight: 800; color: #1e293b; }
.sel-head .h-sub { font-size: 12px; color: var(--text-3); }
.zone-title { margin: 14px 0 9px; }
.table-grid { gap: 9px; }
.tbl-card { padding: 11px 6px 9px; }
.tbl-card .t-no { font-size: 15px; }
/* 加办O:开单可评台高亮(M6 success 族) */
.tbl-card.has-bill { border-color: var(--success-line); background: var(--success-bg); }
.tbl-card.has-bill .t-no { color: var(--success); font-weight: 700; }
/* 加办U:已评关闭态(规则13修订:仅做完/没做完视觉,不露评价内容)——灰显+✓,点击仍走 toast 拦截 */
.tbl-card.is-done { opacity: .55; filter: grayscale(.6); border-color: var(--border-2); background: var(--block); position: relative; }
.tbl-card.is-done .t-no { color: var(--text-3); font-weight: 500; }
.tbl-card .t-done-ic { position: absolute; top: 6px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--border-2); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.sk-card { height: 82px; border-radius: var(--radius); }

/* 底部弹层(原设计稿 .sheet:详情弹层已按第13条作废,复用为提交二次确认弹层) */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-width: 430px; margin: 0 auto; background: var(--card); border-top: 1px solid var(--border-2); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 32px rgba(15, 23, 42, .14); animation: sheetUp .26s cubic-bezier(.16, 1, .3, 1); max-height: 74%; overflow-y: auto; }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-grip { width: 38px; height: 4px; border-radius: 3px; background: var(--border-2); margin: 10px auto 0; }
.sheet-body { padding: 14px 22px 22px; text-align: center; }
.sheet-body h3 { margin: 6px 0 4px; font-size: 16px; color: #1e293b; }
.sheet-body p { margin: 0 0 16px; font-size: 12.5px; color: var(--text-2); }
.sheet-mask { position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 42, .35); animation: fadeIn .2s ease; }

/* 四卡评价流(客人口吻) */
.fl-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.fl-top .fl-table { font-size: 14px; font-weight: 700; color: #1e293b; }
.fl-dots { display: flex; gap: 6px; margin-left: auto; }
.fl-dots .fd { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); transition: all .2s; }
.fl-dots .fd.on { background: var(--primary); transform: scale(1.2); }
.fl-dots .fd.done { background: var(--primary-line); }
.fl-body { padding: 20px 20px 96px; }
.fl-ask { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0 0 4px; }
.fl-sub { font-size: 12.5px; color: var(--text-3); margin: 0 0 18px; }
.fl-foot { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; max-width: 430px; margin: 0 auto; background: var(--card); border-top: 1px solid var(--border); padding: 12px 20px 16px; display: flex; gap: 10px; }
.fl-foot .btn { flex: 1; min-height: 46px; font-size: 15px; }
.rate-btn { min-height: 62px; padding: 15px 20px; margin-bottom: 13px; font-size: 17px; }
.rate-btn .r-ic { font-size: 23px; }
.dish-chip { border: 1.5px solid var(--border-2); border-radius: 10px; background: var(--card); padding: 11px 8px; font-size: 14px; font-weight: 500; color: var(--text); text-align: center; cursor: pointer; transition: all .12s; user-select: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dish-chip:hover { border-color: var(--text-3); }
.dish-chip.on-good { border-color: var(--success); background: var(--success-bg); color: var(--success); font-weight: 600; }
.dish-chip.on-bad { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); font-weight: 600; }
.dish-chip.dim { opacity: .4; cursor: not-allowed; }
.sk-chip { height: 44px; border-radius: 10px; }

/* 提交成功温度页 */
.ok-page { text-align: center; padding: 60px 24px 40px; }
.ok-page .ok-ring { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; background: var(--success-bg); border: 2px solid var(--success-line); display: flex; align-items: center; justify-content: center; animation: okPop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes okPop { from { transform: scale(.4); opacity: 0; } }
