/* 她的后台：摆法和配色照她用惯的那套后台（主色黄、链接橙、正文黑灰、底浅灰、卡片白）。电脑上 1200 宽起排，手机上左栏收进「菜单」按钮。 */
:root{--y:#FFCF00;--yd:#E6B800;--ybg:#FFF2C4;--yh:#FEFBE8;--org:#F57A00;--bg:#F3F3F3;--bd:#E7E7E7;--hd:#FAFAFA;--tx:#222;--t2:#666;--t3:#999;--red:#E5432E;--grn:#00B8A0}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--bg);color:var(--tx);font:14px/1.5 "PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;-webkit-text-size-adjust:100%}
a{color:var(--org);text-decoration:none;cursor:pointer}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:var(--tx)}
.hide{display:none!important}

/* 按钮、输入框 */
.btn{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 15px;border:1px solid #D9D9D9;border-radius:4px;background:#fff;color:#333;white-space:nowrap}
.btn:hover{border-color:var(--y)}
.btn.y{background:var(--y);border-color:var(--y);color:#222}
.btn.y:hover{background:#FFD83D}
.btn.big{height:40px;font-size:16px;width:100%}
.btn.sm{height:26px;padding:0 10px;font-size:13px}
.btn:disabled{background:#F5F5F5;border-color:#E5E5E5;color:#BBB;cursor:default}
.ipt{height:32px;border:1px solid #D9D9D9;border-radius:4px;padding:0 10px;background:#fff;outline:0;min-width:0}
.ipt:focus{border-color:var(--y);box-shadow:0 0 0 2px rgba(255,207,0,.2)}
textarea.ipt{height:auto;padding:6px 10px;resize:vertical}
.ipt.bad{border-color:var(--red)}

/* 顶栏 */
#top{position:fixed;left:0;right:0;top:0;height:60px;background:#fff;display:flex;align-items:center;padding:0 12px 0 10px;z-index:20}
.logo{display:flex;align-items:center;white-space:nowrap;margin-right:28px}
.mk{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;background:var(--y);color:#222;font-size:10px;font-weight:bold;letter-spacing:-.5px;line-height:1}
.logo b{font-size:19px;margin-left:6px;letter-spacing:.5px}
.logo .tag{margin-left:6px;border:1px solid #222;border-radius:3px;font-size:11px;padding:0 4px;line-height:16px}
#topNav{display:flex;height:60px}
#topNav a{position:relative;display:flex;align-items:center;padding:0 9px;color:#333;font-size:15px;white-space:nowrap}
#topNav a.on{font-weight:bold;color:#111}
#topNav a.on:after{content:"";position:absolute;left:50%;bottom:8px;width:30px;margin-left:-15px;height:4px;border-radius:2px;background:var(--y)}
#top .sp{flex:1}
.shop{background:var(--bg);border-radius:4px;height:34px;padding:0 18px;display:flex;flex-direction:column;justify-content:center;line-height:1.2;margin-right:6px;white-space:nowrap}
.shop small{font-size:10px;color:var(--t3)}
.acct{position:relative;background:var(--bg);border-radius:4px;height:34px;line-height:34px;padding:0 10px;cursor:pointer;white-space:nowrap}
.acct:after{content:"";display:inline-block;margin-left:6px;border:4px solid transparent;border-top-color:#888;vertical-align:-1px}
.acct .menu{display:none;position:absolute;right:0;top:38px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.12);border-radius:4px;padding:4px 0;min-width:120px}
.acct.open .menu{display:block}
.acct .menu div{padding:0 16px;line-height:36px}
.acct .menu div:hover{background:var(--yh)}
#menuBtn{display:none;width:36px;height:36px;border:0;background:none;margin-right:6px}
#menuBtn i{display:block;height:2px;background:#333;margin:5px 8px;border-radius:1px}

/* 左栏 */
#side{position:fixed;left:0;top:60px;bottom:0;width:200px;background:#fff;border-radius:0 8px 0 0;margin-top:10px;padding:6px 10px;z-index:15;display:flex;flex-direction:column}
#side .it{display:flex;align-items:center;height:40px;margin-bottom:5px;padding:0 12px;border-radius:8px;color:#222;font-size:14.5px;cursor:pointer;white-space:nowrap}
#side .it:hover{background:var(--yh)}
#side .it.on{background:var(--y);font-weight:500}
#side .it svg{width:16px;height:16px;margin-right:12px;flex:none;fill:none;stroke:#555;stroke-width:1.4}
#side .it.on svg{stroke:#222}
#side .sp{flex:1}
#side .fold{color:#444;padding:10px 12px;font-size:14px}

/* 中间 */
#main{margin:70px 10px 10px 213px;background:#fff;border-radius:8px;min-height:calc(100vh - 80px);padding:10px 22px 30px}
#tabs{display:flex;align-items:center;flex-wrap:wrap;padding:2px 0 12px}
.tb{display:inline-flex;align-items:center;height:24px;padding:0 12px;margin-right:6px;border:1px solid transparent;border-radius:12px;background:#F6F6F6;color:#333;font-size:12.5px;cursor:pointer;white-space:nowrap}
.tb.on{background:var(--ybg);border-color:var(--y)}
.tb .x{margin-left:7px;color:#999;font-size:13px;line-height:1}
.ptitle{display:flex;align-items:center;font-size:18px;font-weight:500;margin:12px 0 14px}
.ptitle .back{font-size:20px;margin-right:10px;cursor:pointer;color:#333}
.ptitle .sp{flex:1}
.ptitle .ops a,.ptitle .ops span{font-size:14px;font-weight:normal;color:#333;margin-left:18px}
.note{color:var(--t3);font-size:12px}
.trial{background:#FFF8E0;border:1px solid #FFE38A;border-radius:4px;padding:6px 12px;color:#8A6D00;font-size:13px;margin-bottom:12px}

/* 筛选 */
.flt{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:6px}
.flt .f{display:flex;align-items:center;margin:0 22px 10px 0}
.flt .f>span{white-space:nowrap;margin-right:6px;color:#333}
.flt .ipt{width:200px}
.flt .ipt.d{width:140px}
.flt .to{margin:0 8px;color:#666}
.flt .btns .btn{margin-right:8px}
.seg{display:inline-flex;border:1px solid #D9D9D9;border-radius:4px;overflow:hidden}
.seg span{padding:0 10px;line-height:30px;border-left:1px solid #D9D9D9;cursor:pointer;white-space:nowrap}
.seg span:first-child{border-left:0}
.seg span.on{color:var(--org);background:#FFF4E8;box-shadow:inset 0 0 0 1px var(--org)}

/* 状态页签 */
.stabs{display:flex;border-bottom:1px solid #EEE;margin:6px 0 14px}
.stabs span{padding:8px 0;margin-right:22px;cursor:pointer;color:#333;white-space:nowrap}
.stabs span.on{font-weight:bold;box-shadow:inset 0 -3px 0 var(--y)}

/* 表格 */
.tbw{overflow-x:auto;border:1px solid var(--bd);border-radius:2px}
table.t{width:100%;border-collapse:collapse;background:#fff}
table.t th{background:var(--hd);font-weight:500;color:#222;text-align:left;padding:10px 10px;border-bottom:1px solid var(--bd);border-right:1px solid var(--bd);white-space:nowrap}
table.t td{padding:9px 10px;border-bottom:1px solid var(--bd);border-right:1px solid var(--bd);vertical-align:top}
table.t th:last-child,table.t td:last-child{border-right:0}
table.t tr:last-child td{border-bottom:0}
table.t tr:hover td{background:#FFFDF2}
table.t td.n,table.t th.n{text-align:right;white-space:nowrap}
table.t td.c,table.t th.c{text-align:center}
table.t td.nw{white-space:nowrap}
table.t tr.sum td{background:#FAFAFA;font-weight:500}
table.t.stk th:last-child,table.t.stk td:last-child{position:sticky;right:0;background:#fff;box-shadow:-6px 0 8px -6px rgba(0,0,0,.18)}
table.t.stk th:last-child{background:var(--hd)}
table.t.stk tr.sum td:last-child{background:#FAFAFA}
table.t.stk tr:hover td:last-child{background:#FFFDF2}
table.t td.nm{min-width:170px}
table.t .ops a{margin-right:6px}
table.t .ops i{display:inline-block;width:1px;height:10px;background:#DDD;margin:0 8px 0 2px}
.empty{padding:40px 0;text-align:center;color:var(--t3)}
.pager{display:flex;justify-content:flex-end;align-items:center;padding:16px 0 0;color:#333;font-size:13px}
.pager .pg{min-width:26px;height:26px;line-height:24px;border:1px solid transparent;border-radius:4px;text-align:center;margin:0 3px;cursor:pointer}
.pager .pg.on{border-color:var(--org);color:var(--org)}
.pager .pg.dis{color:#CCC;cursor:default}
.pager b{margin:0 3px}
.badge{display:inline-block;padding:0 6px;border-radius:3px;font-size:12px;line-height:20px;color:#fff;background:var(--grn)}
.badge.red{background:var(--red)}
.badge.org{background:#FF9F1A}
.st-off{color:var(--t3)}

/* 改价小气泡 */
.pc{white-space:nowrap}
.pc .ed{display:inline-block;width:14px;height:14px;margin-left:5px;vertical-align:-2px;cursor:pointer;stroke:#555;fill:none;stroke-width:1.5}
.pc .ed:hover{stroke:var(--org)}
.cell2{border-top:1px dashed #EEE;margin-top:6px;padding-top:6px}
.pop{position:absolute;z-index:40;background:#fff;border-radius:6px;box-shadow:0 6px 24px rgba(0,0,0,.16);padding:12px 14px;min-width:220px}
.pop .pt{font-weight:500;margin-bottom:8px}
.pop .ipt{width:100%}
.pop .pb{display:flex;justify-content:flex-end;margin-top:10px}
.pop .pb .btn{margin-left:8px}
.pop .pe{color:var(--red);font-size:12px;margin-top:4px;min-height:16px}

/* 卡片、数字 */
.kpis{display:flex;flex-wrap:wrap;margin:0 -6px 6px}
.kpi{flex:1 1 150px;margin:0 6px 12px;border:1px solid var(--bd);border-radius:4px;padding:12px 14px}
.kpi .l{color:#555;font-size:12.5px}
.kpi .tip{display:inline-block;width:13px;height:13px;line-height:11px;border:1px solid #AAA;border-radius:50%;text-align:center;font-size:10px;color:#888;margin-left:4px;cursor:help;vertical-align:1px}
.kpis.fix .kpi{flex:0 0 172px}
#catTree{width:150px;flex:none;border-right:1px solid #EEE;padding-right:10px;margin-right:14px}
#catTree .ct{position:relative;padding:6px 8px 6px 20px;cursor:pointer;border-radius:3px}
#catTree .ct.sub{padding:5px 8px 5px 32px;font-size:13px}
#catTree .ct.on{background:var(--ybg)}
#catTree .ct .ar{position:absolute;left:6px;font-size:10px}
.kpi .v{font-size:24px;margin:2px 0 4px;font-weight:500}
.kpi .s{color:var(--t3);font-size:12px;line-height:1.6}
.sec{font-size:15px;font-weight:bold;margin:18px 0 12px;padding-bottom:8px;border-bottom:1px solid #EEE}
.sec span{box-shadow:inset 0 -6px 0 rgba(255,207,0,.55)}
.cards{display:flex;flex-wrap:wrap;margin:0 -8px}
.card{flex:1 1 380px;margin:0 8px 16px;border:1px solid #EEE;border-radius:6px;padding:14px 16px;box-shadow:0 1px 6px rgba(0,0,0,.04)}
.card .ch{display:flex;align-items:center;font-weight:bold;font-size:15px;margin-bottom:10px}
.card .ch .ic{display:inline-block;width:12px;height:12px;border-radius:2px;background:var(--org);margin-right:6px}
.card .ch .sp{flex:1}
.card .ch a{font-weight:normal;font-size:13px}
.kv{display:flex;justify-content:space-between;padding:9px 12px;border-bottom:1px solid #F0F0F0}
.kv.hd{background:#F5F5F5;font-weight:500;border-bottom:0}
.kv.sub{padding-left:30px;color:#444}
.kv .k{color:#333}
.mets{display:flex;flex-wrap:wrap}
.met{width:33.33%;padding:8px 6px 10px 18px}
.met .l{color:#555;font-size:13px}
.met .v{font-size:22px;margin-top:2px}

/* 首页 */
.hello{font-size:20px;font-weight:500;margin:14px 0 20px}
.h2{font-size:16px;font-weight:500;margin:4px 0 12px}
.tiles{display:flex;flex-wrap:wrap;margin:0 -5px 18px}
.tile{flex:1 1 170px;margin:0 5px 10px;display:flex;align-items:center;height:76px;padding:0 16px;background:#FAFAFA;border-radius:6px;cursor:pointer;color:#222}
.tile:hover{background:var(--yh)}
.tile .ic{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:bold;margin-right:14px;flex:none}
.rlinks{display:flex;flex-wrap:wrap;margin:0 -6px 10px}
.rlink{flex:0 1 176px;margin:0 6px 12px;border:1px solid #EEE;border-radius:4px;padding:8px 14px;cursor:pointer}
.rlink b{display:block;font-weight:normal;border-left:3px solid #2DB84D;padding-left:8px;line-height:1.3}
.rlink small{display:block;color:var(--t3);padding-left:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rlink:hover{border-color:var(--y)}
.twocol{display:flex;align-items:flex-start}
.twocol .l{flex:1;min-width:0}
.twocol .r{width:300px;margin-left:18px;background:#F7F7F7;border-radius:6px;padding:14px 16px}
.twocol .r h4{font-size:15px;margin-bottom:8px}
.twocol .r p{color:#444;font-size:13px;margin-bottom:8px}

/* 编辑菜品 */
.atabs{display:flex;background:#F6F6F6;border-radius:4px;margin-bottom:16px}
.atabs a{color:#333;padding:7px 16px;font-size:13px}
.atabs a:hover{color:var(--org)}
.fsec{font-size:15px;font-weight:bold;border-left:3px solid var(--y);padding-left:8px;margin:20px 0 14px;line-height:1.1}
.frow{display:flex;align-items:flex-start;margin-bottom:14px}
.frow>label{width:120px;text-align:right;padding:6px 12px 0 0;color:#333;flex:none}
.frow>label.req:before{content:"* ";color:var(--red)}
.frow>label:after{content:"："}
.frow .fv{flex:1;min-width:0}
.frow .fv .ipt{width:320px;max-width:100%}
.frow .fv .ro{padding-top:6px;color:#333}
.skus{background:#F7F7F7;border-radius:4px;padding:10px 14px;max-width:560px}
.sku{display:flex;flex-wrap:wrap;align-items:flex-end;padding:8px 0;border-bottom:1px dashed #E2E2E2}
.sku:last-child{border-bottom:0}
.sku .sn{width:150px;padding-bottom:6px;font-weight:500}
.sku .fx{margin-right:16px}
.sku .fx small{display:block;color:#555;margin-bottom:3px}
.sku .fx .ipt{width:110px}
.radio{display:inline-flex;align-items:center;margin-right:22px;cursor:pointer;padding-top:5px}
.radio i{width:14px;height:14px;border:1px solid #BBB;border-radius:50%;margin-right:6px;position:relative}
.radio.on i{border-color:var(--y)}
.radio.on i:after{content:"";position:absolute;left:3px;top:3px;width:6px;height:6px;border-radius:50%;background:var(--y)}
.grp{border:1px solid #EEE;border-radius:4px;margin-bottom:10px;max-width:700px}
.grp .gh{background:#FAFAFA;padding:6px 12px;font-size:13px}
.grp .go{padding:6px 12px;font-size:13px;color:#444}
.imgs{display:flex;flex-wrap:wrap}
.im{position:relative;width:92px;height:92px;margin:0 10px 10px 0;border-radius:4px;overflow:hidden;background:#F3F3F3;border:1px solid #EEE}
.im img{width:100%;height:100%;object-fit:cover;display:block}
.im .main{position:absolute;left:0;top:0;background:var(--org);color:#fff;font-size:11px;padding:0 5px;border-radius:0 0 4px 0}
.im .rm{position:absolute;right:2px;top:2px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;text-align:center;line-height:19px;cursor:pointer;font-size:14px}
.im .lf{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.45);color:#fff;font-size:11px;text-align:center;line-height:20px;cursor:pointer}
.im.add{display:flex;align-items:center;justify-content:center;font-size:30px;color:#999;background:#fff;border:1px dashed #CCC;cursor:pointer}
.botbar{position:fixed;left:213px;right:10px;bottom:0;background:#fff;border-top:1px solid #EEE;padding:10px 22px;display:flex;justify-content:flex-end;z-index:10}
.botbar .btn{margin-left:10px;min-width:72px}
.pad-bot{height:60px}

/* 会员 */
.eye{cursor:pointer;margin-left:6px;width:15px;height:15px;vertical-align:-3px;fill:none;stroke:#666;stroke-width:1.3}
.eye:hover{stroke:var(--org)}
.info{display:flex;flex-wrap:wrap;margin-bottom:6px}
.info .i{width:33.33%;padding:6px 0;color:#222}
.info .i span{color:#555}

/* 对账 */
.rcst{border-radius:4px;padding:10px 14px;margin-bottom:14px;font-size:14px}
.rcst.ok{background:#E9F8F2;color:#0B7A5A}
.rcst.bad{background:#FDECEA;color:#B42318}
.rcst.todo{background:#FFF8E0;color:#8A6D00}
table.t td .ipt.act{width:110px;text-align:right}
.diff0{color:#0B7A5A}
.diffx{color:var(--red);font-weight:bold}
table.t tr.mis td{background:#FFF5F4}

/* 登录 */
#gate{display:none}
#gate.on{display:flex;position:fixed;left:0;right:0;top:0;bottom:0;background:var(--bg);z-index:100;align-items:center;justify-content:center;padding:16px}
.lg{background:#fff;border-radius:10px;padding:30px 28px 22px;width:360px;max-width:100%;box-shadow:0 6px 30px rgba(0,0,0,.06)}
.lgh{display:flex;align-items:center;font-size:17px;margin-bottom:22px}
.lgh b{margin:0 6px 0 8px}
.lg label{display:block;color:#333;margin-bottom:14px}
.lg label input{display:block;width:100%;height:40px;border:1px solid #D9D9D9;border-radius:4px;padding:0 12px;margin-top:6px;outline:0}
.lg label input:focus{border-color:var(--y)}
.lge{color:var(--red);min-height:20px;margin-bottom:6px;font-size:13px}
.lgn{color:var(--t3);font-size:12px;text-align:center;margin-top:12px}

#toast{position:fixed;left:50%;top:80px;transform:translateX(-50%);background:rgba(0,0,0,.78);color:#fff;padding:8px 18px;border-radius:4px;z-index:200;display:none;max-width:90%;text-align:center}
#toast.on{display:block}
#mask{display:none}

/* 手机：左栏收起，点「菜单」拉出来；表格横着滑 */
@media (max-width:820px){
  #menuBtn{display:block}
  .logo{margin-right:8px}
  .logo .tag,.logo b,.shop{display:none}
  .hm{display:none}
  table.t.stk th:last-child,table.t.stk td:last-child{position:static;box-shadow:none}
  table.t td.nm{min-width:120px}
  #catTree{width:auto;border-right:0;padding:0;margin:0 0 10px;display:flex;flex-wrap:wrap}
  #catTree .ct,#catTree .ct.sub{padding:4px 10px;margin:0 6px 6px 0;border:1px solid #E5E5E5;border-radius:14px;font-size:13px}
  #catTree .ct .ar{position:static;margin-right:3px}
  #topNav{overflow-x:auto}
  #topNav a{padding:0 7px;font-size:14px}
  #side{transform:translateX(-100%);transition:transform .2s;box-shadow:2px 0 12px rgba(0,0,0,.1);margin-top:0;border-radius:0}
  body.side-open #side{transform:none}
  body.side-open #mask{display:block;position:fixed;left:0;right:0;top:60px;bottom:0;background:rgba(0,0,0,.3);z-index:14}
  #main{margin:68px 0 0;border-radius:0;padding:8px 14px 30px}
  .botbar{left:0;right:0}
  .flt .f{margin-right:12px}
  .flt .ipt{width:160px}
  .flt .ipt.d{width:130px}
  .frow{display:block}
  .frow>label{display:block;width:auto;text-align:left;padding:0 0 4px}
  .twocol{display:block}
  .twocol .r{width:auto;margin:12px 0 0}
  .met{width:50%}
  .info .i{width:50%}
  .card{flex-basis:100%}
}
/* 柜台补完（11-11）：售罄、套餐里卖完的、订单详情的退菜和备注 */
.badge.so{margin-left:6px;vertical-align:1px}
.note.so2{color:var(--red);margin-top:2px}
.opt-out{color:#BBB;text-decoration:line-through}
tr.gone td{color:#AAA}
.rq{color:var(--red);font-size:12px}
/* 块 7（11-12）：对账表团购按平台的几行、费率没核的小字；订单状态「已并到柜台单」 */
table.t tr.gpr td{color:#777;font-size:13px;background:#FCFCFC}
.rcn{font-size:12px;color:#C25B00;white-space:normal;line-height:16px;margin-top:2px}
.badge.gry{background:#F2F2F2;color:#888}
table.t td.rcm{min-width:96px;white-space:nowrap}
table.t td.rcm .rcn{white-space:normal;max-width:130px}
.rcn1{display:inline-block;margin-left:4px;padding:0 4px;border-radius:3px;background:#FFF0E0;color:#C25B00;font-size:12px;line-height:18px;vertical-align:1px}
#rcTable th{white-space:normal;line-height:18px;padding:8px 8px}
#rcTable td{padding:9px 8px}
#rcTable .ipt.act{width:84px}
/* 块 8：营销中心（卡券、促销活动）、菜品角标 */
.ctag{display:inline-block;margin-left:6px;padding:0 5px;border-radius:2px;background:#FF8000;color:#fff;font-size:12px;line-height:18px;vertical-align:1px}
.h2{font-size:14px;font-weight:bold;margin:6px 0 10px}
.cpk{display:flex;flex-wrap:wrap;margin:0 -6px 12px}
.cpkc{flex:0 0 220px;margin:0 6px 8px;padding:12px 14px;border-radius:6px;background:#FFF8E0;cursor:pointer;border:1px solid #FFE9A6}
.cpkc:hover{border-color:var(--y)}
.cpkc b{display:block;font-size:15px;margin-bottom:4px}
.cpkc span{color:#666;font-size:12px}
.cpform{display:flex;align-items:flex-start}
.cpprev{flex:0 0 280px;margin-right:24px;border:1px solid #EEE;border-radius:6px;background:#F7F7F7;position:sticky;top:10px}
.cpph{padding:10px;font-size:13px;color:#555;border-bottom:1px solid #EEE;background:#fff;border-radius:6px 6px 0 0}
.cpcard{display:flex;margin:12px 10px 4px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.cpl{flex:0 0 76px;display:flex;align-items:center;justify-content:center;background:#FFF1E6;color:#FF6A00;font-size:20px;font-weight:bold}
.cpr{flex:1;min-width:0;padding:10px}
.cpn{font-size:14px;font-weight:bold;word-break:break-all}
.cps{font-size:12px;color:#888;margin-top:3px}
.cpf{flex:1;min-width:0}
.nr{display:inline-flex;align-items:center;margin:6px 18px 6px 0;cursor:pointer;white-space:nowrap}
.nr input{margin:0 6px 0 0}
.nck{display:inline-flex;align-items:center;margin:4px 14px 4px 0;cursor:pointer;white-space:nowrap}
.nck input{margin:0 5px 0 0}
.fl2{margin-top:6px}
.ipt.sm2{width:80px;height:28px}
.cpcats{margin:6px 0;padding:8px 12px;background:#FAFAFA;border:1px solid #EEE;border-radius:4px;max-width:640px}
.cpcats .cc b{display:inline-block;width:72px;color:#555;font-weight:normal}
.vgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 30px;max-width:900px;margin-top:6px}.vgrid span{color:#888}
@media (max-width:760px){.vgrid{grid-template-columns:1fr}}
@media (max-width:760px){.cpform{display:block}.cpprev{position:static;margin:0 0 12px}}
.frow .fv .ipt.sm2{width:80px;height:28px}
.frow .fv .ipt.d{width:150px}
.frow .fv select.ipt.sm2{width:72px}

/* 块 9：手机点餐设置、消息、会员协议 */
.nck{margin-right:14px;white-space:nowrap}
.mono{font-family:Menlo,Consolas,monospace;font-size:12px;word-break:break-all}
.tred{color:var(--red)}
.agw{display:flex;flex-wrap:wrap;margin:0 -8px}
.age,.agp{flex:1 1 420px;margin:0 8px 12px;min-width:0}
.age textarea{display:block;width:100%;height:560px;padding:10px;margin-top:6px;font-family:Menlo,Consolas,monospace;font-size:13px;line-height:1.6;box-sizing:border-box;resize:vertical}
.doc{border:1px solid var(--bd);border-radius:4px;padding:14px 20px;background:#fff;line-height:1.75;font-size:14px}
.agp .doc{margin-top:6px;height:560px;overflow:auto;box-sizing:border-box}
.doc h1{font-size:20px;margin:6px 0 10px}
.doc h2{font-size:16px;margin:18px 0 6px}
.doc p{margin:6px 0}
.doc li{margin:4px 0 4px 18px}
.doc .dnote{background:#FFF4E5;color:#8A5A00;padding:6px 10px;border-radius:4px;font-size:13px}
.doc mark{background:#FFE58F;padding:0 2px}
/* ---------- 块 10：左栏下面挂的小项、成本毛利、菜品销售分析、交班记录、规格做法、菜品成本 ---------- */
#side .it.grp{margin-bottom:2px}
#side .it.grp.on{background:transparent;font-weight:500}
#side .sub{height:34px;line-height:34px;margin:0 0 3px 28px;padding:0 12px;border-radius:8px;color:#444;font-size:13.5px;cursor:pointer;white-space:nowrap}
#side .sub:hover{background:var(--yh)}
#side .sub.on{background:var(--y);font-weight:500;color:#222}
.t tr.nocost td{color:#999}
.t td.wrap{white-space:normal;min-width:220px;max-width:520px;line-height:1.6}
.t a.off{color:#aaa;text-decoration:line-through}
.up{color:#D92D20}
.down{color:#0B7A5A}
.card .lgd{font-size:12px;color:#666;font-weight:normal}
.card .lgd i{display:inline-block;width:10px;height:10px;border-radius:2px;margin:0 3px 0 8px;vertical-align:-1px}
.lgd i.b1,.bars .b1{background:#FFC300}
.lgd i.b2,.bars .b2{background:#7FB3FF}
.card.rank{flex-basis:300px}
.cards.top{align-items:flex-start}
.bars{display:flex;align-items:flex-end;height:180px;padding:8px 4px 0;gap:6px}
.bars .bar{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}
.bars .bb{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;border-bottom:1px solid #EEE}
.bars .bb span{display:block;width:34%;max-width:26px;border-radius:3px 3px 0 0;position:relative;min-height:1px}
.bars .bb em{position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;color:#555}
.bars .bl{font-size:12px;color:#555;text-align:center;line-height:1.3;padding-top:4px}
.bars .bl small{color:#999}
.card.rank .rk{display:flex;align-items:center;padding:7px 0;border-bottom:1px dashed #F0F0F0}
.card.rank .rk:last-child{border-bottom:0}
.card.rank .no{width:22px;height:22px;border-radius:50%;background:#F2F2F2;color:#666;font-size:12px;text-align:center;line-height:22px;margin-right:10px;flex:none}
.card.rank .no.n1{background:#FFC300;color:#222}
.card.rank .no.n2{background:#FFD95C;color:#222}
.card.rank .no.n3{background:#FFE899;color:#222}
.card.rank .nm{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card.rank .vv{margin-left:8px;white-space:nowrap;color:#333}
.chips{display:flex;flex-wrap:wrap;gap:6px;padding-top:4px}
.chips span{background:#F6F6F6;border-radius:12px;padding:2px 10px;font-size:13px;color:#444}
.t tr.on td{background:#FFFBEA}
.slipw{margin:14px 0;display:flex}
.slipw .tkw{background:#F6F6F6;padding:14px;border-radius:6px}
.slipw .rc{background:#fff;border:1px solid #E5E5E5;box-shadow:0 1px 4px rgba(0,0,0,.1);width:280px;padding:12px;font-size:12px;line-height:18px}
.slipw .rc .c{text-align:center}
.slipw .rc .b16{font-size:16px;font-weight:bold}
.slipw .rc .b14{font-size:14px;font-weight:bold}
.slipw .rc .gr{color:#888}
.slipw .rc hr{border:0;border-top:1px dashed #BBB;margin:6px 0}
.slipw .rc .rr{display:flex;justify-content:space-between}
.slipw .rc .sub2{color:#666;font-size:11px}
.pop .pl{display:block;font-size:12px;color:#666;margin:6px 0 2px}
.fcadd{margin-top:10px;padding:10px 12px;background:#FAFAFA;border-radius:6px;line-height:2}
.fcadd .fcg{display:inline-block;margin-right:12px}
.fcadd select.ipt{width:auto;height:28px;margin-right:10px}
tr.rcrow td{background:#F3F8FF}
/* 块 10：列多的报表（成本毛利、菜品销售分析详情）收紧一点，1280 宽放得下 */
table.t.cmp th,table.t.cmp td{padding:8px 6px;font-size:13px}
table.t.cmp td:first-child{white-space:nowrap}
/* 块 11：充值撤销、删除会员的小框；四张营销、会员报表 */
.btn.dang{background:#E64340;border-color:#E64340;color:#fff}
.btn.dang:hover{background:#F05D5A}
.pop .kvp{font-size:13px;line-height:1.7;color:#333}
.pop .kvp .note{display:block}
#rrBox .nck,#mdBox .nck{display:flex;align-items:flex-start;white-space:normal;margin:4px 0;line-height:1.5}
#rrBox .nck input{margin:3px 6px 0 0;flex:none}
.pop .pl{display:block;font-size:12px;color:#666;margin:8px 0 2px}
table.t th.grp{text-align:center;border-bottom:1px solid #EEE}
table.t.rpk th,table.t.rpk td{padding:8px 6px;font-size:13px;white-space:nowrap}
.flt .byk{display:inline-flex;align-items:center;margin-right:12px;cursor:pointer;white-space:nowrap}
.flt .byk input{margin:0 4px 0 0}
table.t th .tip,.flt .tip{display:inline-block;width:13px;height:13px;line-height:11px;border:1px solid #AAA;border-radius:50%;text-align:center;font-size:10px;color:#888;margin-left:4px;cursor:help;vertical-align:1px;font-weight:normal}
