/* ChandraPOS Restaurant – Touch PC mode */
:root{
  --bg:#eef3ec; --panel:#f7faf5; --navy:#1d2547; --navy2:#2a3466; --red:#e0404f; --red2:#c9303f;
  --pink:#e45a72; --yellow:#f3d36b; --line:#d7ddd3; --text:#22262e; --muted:#6b7280; --white:#fff;
  --green:#1f9d63; --radius:14px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%}
body{font-family:"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:16px;
  user-select:none;-webkit-user-select:none;overflow:hidden;display:flex;flex-direction:column}
input,select,textarea{user-select:text;-webkit-user-select:text;font:inherit}
button{font:inherit;cursor:pointer;touch-action:manipulation}
[hidden]{display:none!important}
button,input,select,textarea{font-family:inherit}   /* buttons otherwise use the PC's default font – on some PCs it has no ₹ sign (shows a box) */
.muted{color:var(--muted)} .small{font-size:13px}

/* ---------- top bar ---------- */
.topbar{display:flex;align-items:center;gap:18px;padding:8px 14px;background:var(--panel);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px}
.logo{width:50px;height:50px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:28px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.15)}
.brand-sub{font-size:14px;font-weight:600;color:#555;line-height:1}
.brand-main{font-size:28px;font-weight:800;color:var(--navy);line-height:1}
.support{display:flex;flex-direction:column;margin-left:8px;line-height:1.1}
.support b{font-size:18px;color:#333}.support span{font-size:14px;color:#555;text-align:center}
.tabs{display:flex;gap:2px;flex:1}
.tabs button{background:var(--navy);color:#fff;border:0;padding:0 26px;height:52px;font-size:18px;font-weight:600;
  border-radius:4px;position:relative}
.tabs button:first-child{border-radius:8px 4px 4px 8px}.tabs button:last-child{border-radius:4px 8px 8px 4px}
.tabs button.active{background:var(--red)}
.badge{position:absolute;top:4px;right:6px;background:var(--yellow);color:#000;border-radius:10px;font-size:12px;padding:1px 7px}
.userbox{display:flex;align-items:center;gap:10px;font-size:14px;color:#444}
.uname{font-weight:600}
.shopline{font-size:13px;color:#555;padding:3px 16px;background:#e5ebe2;border-bottom:1px solid var(--line)}

/* ---------- buttons ---------- */
.btn{border:0;border-radius:10px;padding:12px 20px;font-size:17px;font-weight:600;color:#fff;background:var(--navy);
  min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.btn:active{transform:scale(.97)}
.btn.red{background:var(--red)} .btn.navy{background:var(--navy)} .btn.green{background:var(--green)}
.btn.blue{background:#2f80ed}.btn.teal{background:#17a2b8}.btn.purple{background:#a33bb8}.btn.orange{background:#e8731f}
.btn.ghost{background:transparent;color:var(--navy);border:2px solid var(--navy);min-height:38px;padding:6px 14px}
.btn.sm{font-size:14px;min-height:38px;padding:6px 14px}
.btn.xl{font-size:20px;min-height:60px}
.btn.block{width:100%}
.btn[disabled]{opacity:.45}

/* ---------- main / views ---------- */
main{flex:1;overflow:hidden;position:relative}
.view{height:100%;overflow:auto;padding:14px 24px 70px}
.page-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.page-head h2{margin:0;font-size:24px;color:#333;font-weight:600}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px}
.scroll{overflow:auto}

/* ---------- tables view ---------- */
.legend{display:flex;gap:24px;align-items:center;margin-bottom:6px}
.legend-title{display:flex;flex-direction:column;line-height:1.1}
.legend-title b{font-size:22px;color:#444;font-weight:600}.legend-title span{color:#555;font-size:15px}
.legend-items{display:flex;flex-direction:column;font-size:15px;color:#444}
.legend-items span{display:flex;align-items:center;gap:8px}
.dot{width:14px;height:14px;border-radius:50%;display:inline-block;border:2px solid #999}
.dot.running{background:var(--pink);border-color:var(--pink)}.dot.tendered{background:var(--yellow);border-color:#d9b84a}
.section-title{font-size:23px;color:#444;margin:18px 0 10px;font-weight:500}
.table-grid{display:flex;flex-wrap:wrap;gap:22px}
.tbl{width:120px;height:100px;border-radius:12px;border:1px solid #dfe5dc;background:#f6f9f4;
  box-shadow:0 2px 3px rgba(0,0,0,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-size:24px;color:#444;position:relative;text-align:center;line-height:1.15;padding:4px}
.tbl:active{transform:scale(.96)}
.tbl .min{font-size:13px;font-weight:700;position:absolute;top:8px}
.tbl .amt{font-size:13px;position:absolute;bottom:6px;opacity:.9}
.tbl.running{background:var(--pink);color:#fff;border-color:var(--pink);box-shadow:0 4px 8px rgba(228,90,114,.35)}
.tbl.tendered{background:var(--yellow);color:#333;border-color:#e3c157}
.running-total{position:fixed;right:28px;bottom:14px;font-size:15px;color:#333;background:var(--panel);
  padding:6px 14px;border-radius:8px;border:1px solid var(--line)}
.empty-note{padding:40px;text-align:center;color:var(--muted);font-size:18px}

/* ---------- order view ---------- */
.order-view{display:grid;grid-template-columns:250px 1fr 480px;gap:0;padding:0;overflow:hidden}
.cats{background:var(--navy);overflow:auto;height:100%}
.cat{display:block;width:100%;text-align:left;background:transparent;color:#fff;border:0;border-bottom:1px solid #3a4473;
  padding:10px 16px 16px;font-size:18px;min-height:82px}
.cat small{display:block;font-size:13px;opacity:.85;margin-bottom:4px}
.cat.active{background:var(--red)}
.items-pane{display:flex;flex-direction:column;overflow:hidden;padding:12px 14px}
.items-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.search{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #c9d0c5;border-radius:6px;padding:0 12px;height:50px}
.search span{font-size:22px;color:#555}.search input{border:0;outline:0;flex:1;font-size:18px;background:transparent}
.order-title{font-size:22px;color:#333;min-width:120px;text-align:right}
.items-grid{flex:1;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;align-content:start;padding-bottom:20px}
.item{background:#f8fbf6;border:1px solid #e1e6dd;border-left:4px solid var(--pink);border-radius:4px;min-height:100px;
  text-align:left;padding:28px 12px 12px;font-size:17px;color:#333;position:relative;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.item.veg{border-left-color:#2fa864}
.item .price{position:absolute;top:8px;right:10px;font-size:15px;color:#444}
.item .code{position:absolute;top:8px;left:10px;font-size:12px;color:#999}
.item .inc{position:absolute;bottom:6px;right:8px;background:var(--red);color:#fff;border-radius:10px;font-size:13px;padding:1px 8px}
.item:active{background:#ffe9ec}
.cart-pane{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.cart-head,.cline{display:grid;grid-template-columns:1fr 128px 64px 76px 34px;align-items:center;gap:6px;padding:8px 12px}
.cart-head{font-size:14px;color:#555;border-bottom:1px solid var(--line);background:#f4f6f2}
.cart-head span:not(:first-child){text-align:center}
.cart-list{flex:1;overflow:auto}
.cline{border-bottom:1px solid #eef0ec;font-size:16px}
.cline .nm{line-height:1.2}.cline .nm small{display:block;font-size:12px;color:var(--green)}
.cline .nm small.new{color:var(--red)}
.cline .rt,.cline .am{text-align:right}
.qty{display:flex;align-items:center;justify-content:center;gap:4px}
.qty button{width:38px;height:38px;border-radius:8px;border:0;background:#e9ecf5;font-size:22px;font-weight:700;color:var(--navy)}
.qty b{min-width:34px;text-align:center;font-size:17px;padding:6px 0;border-radius:6px;background:#f6f6f6}
.cart-sum{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;background:var(--navy);color:#fff}
.cart-sum div{padding:6px 10px;display:flex;flex-direction:column;align-items:center;border-right:1px solid #3a4473}
.cart-sum small{font-size:13px;opacity:.85}.cart-sum b{font-size:20px}
.cart-sum .grand{align-items:flex-end;justify-content:center}.cart-sum .grand b{font-size:30px}
.cart-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px}
.cart-empty{padding:40px 20px;text-align:center;color:var(--muted)}

/* ---------- modal ---------- */
.modal-back{position:fixed;inset:0;background:rgba(20,24,40,.55);display:flex;align-items:center;justify-content:center;z-index:50}
.modal{background:#fbfcf9;border-radius:16px;min-width:520px;max-width:96vw;max-height:94vh;overflow:auto;padding:22px 26px;position:relative;
  box-shadow:0 20px 50px rgba(0,0,0,.35)}
.modal h3{margin:0 0 14px;font-size:24px;color:#333}
.modal .close{position:absolute;top:14px;right:14px;width:42px;height:42px;border-radius:50%;border:0;background:var(--red);color:#fff;font-size:22px}
.tmodal{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:center;min-width:780px}
.tmodal .art{font-size:110px;text-align:center;opacity:.9}
.tinfo{font-size:20px;line-height:1.55;margin-bottom:14px}.tinfo .amt{color:var(--red);font-weight:700;font-size:24px}
.btn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.btn-grid .btn{min-height:62px;font-size:19px}
.pay{display:grid;grid-template-columns:1fr 300px;gap:24px;min-width:860px}
.pay-row{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:10px;margin-bottom:10px}
.pay-row label{font-size:17px;color:#444}
.pay-row input{height:50px;border:1px solid #c9d0c5;border-radius:8px;padding:0 12px;font-size:20px;background:#fff;width:100%}
.pay-row input.focus{outline:3px solid #a7b6ff}
.pay-sum{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:6px 0 14px}
.pay-sum div{display:flex;justify-content:space-between;font-size:18px;padding:3px 0}
.pay-sum .big{font-size:28px;font-weight:800;color:var(--red);border-top:1px dashed #ccc;margin-top:6px;padding-top:8px}
.pay-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pay-btns .btn{min-height:64px;font-size:21px}
.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.keypad button{height:64px;border-radius:10px;border:1px solid #d5dbe8;background:#fff;font-size:26px;font-weight:600;color:var(--navy)}
.keypad button:active{background:#e9ecf5}
.keypad .wide{grid-column:span 3;background:var(--navy);color:#fff}
.kp-display{font-size:34px;font-weight:700;text-align:right;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 14px;margin-bottom:10px;min-height:60px}
.pick-grid{display:flex;flex-wrap:wrap;gap:12px;max-width:760px}
.pick-grid .tbl{width:110px;height:84px;font-size:20px}

/* ---------- online ---------- */
.online-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.ocard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:8px}
.ocard .top{display:flex;justify-content:space-between;align-items:center}
.src{font-weight:700;border-radius:6px;padding:3px 10px;color:#fff;font-size:14px;text-transform:uppercase}
.src.swiggy{background:#fc8019}.src.zomato{background:#cb202d}.src.qr{background:var(--navy)}
.st{font-size:13px;padding:3px 10px;border-radius:12px;background:#eef;color:var(--navy);text-transform:capitalize}
.ocard ul{margin:0;padding-left:18px}.ocard .tot{font-weight:700;font-size:18px}
.ocard .acts{display:flex;gap:8px;flex-wrap:wrap}

/* ---------- reports / settings ---------- */
.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.filters input{height:46px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:16px}
.rep-summary{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 18px;min-width:150px}
.stat small{display:block;color:var(--muted);text-transform:uppercase;font-size:12px}.stat b{font-size:22px}
table.grid{width:100%;border-collapse:collapse;font-size:16px}
table.grid th{background:var(--navy);color:#fff;text-align:left;padding:10px;position:sticky;top:0}
table.grid td{padding:9px 10px;border-bottom:1px solid #eef0ec}
table.grid tr:nth-child(even) td{background:#f8faf7}
table.grid .r{text-align:right}
table.grid input{height:44px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:16px;width:100%}
.subtabs{display:flex;gap:6px}
.subtabs button{border:0;background:#dfe5dc;color:#333;padding:10px 18px;border-radius:10px;font-size:16px;font-weight:600;min-height:46px}
.subtabs button.active{background:var(--red);color:#fff}
.switch{width:64px;height:34px;border-radius:20px;border:0;background:#cfd5cc;position:relative}
.switch::after{content:"";position:absolute;top:4px;left:4px;width:26px;height:26px;border-radius:50%;background:#fff;transition:.15s}
.switch.on{background:var(--red)}.switch.on::after{left:34px}
.form-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}
.form-row label{display:flex;flex-direction:column;font-size:14px;color:#555;gap:4px}
.form-row input{height:48px;border:1px solid #c9d0c5;border-radius:8px;padding:0 12px;font-size:17px}

/* ---------- toast / login ---------- */
.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:var(--navy);color:#fff;padding:14px 24px;
  border-radius:12px;font-size:17px;z-index:99;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.toast.err{background:var(--red)}
.login-body{align-items:center;justify-content:center;background:linear-gradient(135deg,#eef3ec,#dfe7f7)}
.login-card{background:#fff;padding:34px 38px;border-radius:20px;width:440px;box-shadow:0 20px 50px rgba(0,0,0,.12);display:flex;flex-direction:column;gap:10px}
.login-card .brand.big .logo{width:64px;height:64px;font-size:34px}
.login-card label{font-size:15px;color:#444;margin-top:6px}
.login-card input{height:56px;border:1px solid #c9d0c5;border-radius:10px;padding:0 14px;font-size:19px}
.alert{background:#fde8ea;color:#a3202d;padding:10px 14px;border-radius:10px}

@media (max-width:1280px){
  .order-view{grid-template-columns:200px 1fr 420px}
  .tabs button{padding:0 14px;font-size:16px}
  .support{display:none}
}
.login-card.wide{width:760px;margin:30px auto}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
.grid2 label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#444;margin-top:6px}
.grid2 .span2{grid-column:span 2}
.login-card select,.grid2 select{height:56px;border:1px solid #c9d0c5;border-radius:10px;padding:0 10px;font-size:18px;background:#fff}
.alert.ok{background:#e3f6ec;color:#17643f}

/* ---------- v2: retail, printers, options, plans ---------- */
.shopline{display:flex;gap:16px;align-items:center;white-space:nowrap;overflow:hidden}
.shopline marquee{flex:1;color:#a3202d;font-weight:600}
.item .mrp{color:#999;font-size:13px}
.item .stk{position:absolute;bottom:6px;left:12px;font-size:12px;color:#2a7a4f}
.item .stk.low{color:#c0392b;font-weight:700}
body.retail .order-view{grid-template-columns:220px 1fr 500px}
.printer-list{display:flex;flex-direction:column;gap:10px;margin:8px 0}
.pcard{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fbfcfa}
.pcard .acts{display:flex;gap:8px}
.seg{display:flex;flex-wrap:wrap;gap:6px}
.seg button{border:1px solid #c9d0c5;background:#fff;border-radius:10px;padding:10px 14px;font-size:15px;min-height:48px}
.seg button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.hint{background:#eef3ff;border-radius:10px;padding:10px 12px;font-size:15px;color:#334;margin:8px 0}
.form-col{display:flex;flex-direction:column;gap:8px}
.form-col label,.grid3 label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#555}
.form-col input,.form-col select,.grid3 input,.grid3 select,.opts input,.opts select{height:48px;border:1px solid #c9d0c5;border-radius:8px;padding:0 12px;font-size:17px;background:#fff;width:100%}
.form-col label.inline{flex-direction:row;align-items:center;gap:10px;font-size:16px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.two-col{display:grid;grid-template-columns:1fr 1.2fr;gap:28px}
.two-col h3{margin:4px 0 10px;color:#333}
.opts td:last-child{width:220px}
.logo-box img{max-height:70px;max-width:200px;border:1px solid #ddd;border-radius:6px;background:#fff}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:12px 0}
.plan{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:6px}
.plan .price{font-size:28px;font-weight:800;color:var(--red)}
.pick-list{display:flex;flex-direction:column;gap:8px;min-width:420px}
.c{text-align:center}
.modal .alert{margin:8px 0}
.item .code{max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item .price{max-width:58%;text-align:right}

/* =================== MOBILE MODE (phones / small tablets) =================== */
.m-bar,.m-cart-top{display:none}
.ctile{position:relative;border:0;border-radius:16px;min-height:110px;padding:14px;text-align:left;color:#fff;
  background:var(--cc,#e0404f);box-shadow:0 4px 10px rgba(0,0,0,.12);display:flex;flex-direction:column;justify-content:flex-end;gap:4px}
.ctile b{font-size:19px;line-height:1.2}.ctile small{font-size:13px;opacity:.9}
.ctile .inc{position:absolute;top:10px;right:10px;background:#fff;color:#222;border-radius:12px;font-size:13px;padding:2px 9px;font-weight:700}
.ctile:active{transform:scale(.97)}

@media (max-width:900px){
  body{font-size:15px}
  .topbar{flex-wrap:wrap;gap:6px;padding:6px 8px}
  .brand .logo{width:36px;height:36px;font-size:20px}.brand-main{font-size:20px}.brand-sub{font-size:11px}
  .support,.uname,#clock{display:none}
  .userbox{margin-left:auto}
  .tabs{order:3;flex-basis:100%;overflow-x:auto;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tabs button{height:44px;padding:0 16px;font-size:15px;white-space:nowrap;flex:1 0 auto}
  .shopline{font-size:11px;padding:2px 8px}
  .view{padding:10px 10px 80px}

  /* tables */
  .legend{gap:12px}.legend-title b{font-size:18px}.legend-items{font-size:13px}
  .section-title{font-size:18px;margin:12px 0 8px}
  .table-grid{gap:10px}
  .tbl{width:calc(33.33% - 7px);height:84px;font-size:19px}
  .running-total{right:10px;bottom:10px;font-size:13px}

  /* order screen: categories -> items -> cart sheet */
  .order-view,body.retail .order-view{display:flex;flex-direction:column;height:100%}
  .cats{order:1;display:block;height:auto;overflow:visible;background:#fff;border-bottom:1px solid var(--line);padding:8px 10px;flex:0 0 auto}
  .cat-pick{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:14px;background:var(--navy);color:#fff;padding:8px 14px;min-height:56px;text-align:left}
  .cat-pick .cp-ico{font-size:22px}.cat-pick .cp-txt{flex:1;display:flex;flex-direction:column;line-height:1.15}
  .cat-pick small{font-size:12px;opacity:.75}.cat-pick b{font-size:18px}
  .cat-pick .cp-arrow{background:var(--red);border-radius:10px;padding:6px 12px;font-size:16px}
  .catmodal .cat-pop{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;max-height:70vh;overflow:auto;padding-bottom:6px}
  .catmodal .ctile{min-height:88px}
  .ctile.cur{outline:4px solid #1d2547;outline-offset:2px}
  .cats::-webkit-scrollbar{display:none}
  .cat{flex:0 0 auto;width:auto;min-height:40px;border:0;border-radius:20px;padding:8px 16px;font-size:15px;background:#eef0f6;color:var(--navy);white-space:nowrap}
  .cat small{display:none}
  .cat.active{background:var(--red);color:#fff}
  .cat.all{background:var(--navy);color:#fff}
  body.m-cats .cats{display:none}
  .items-pane{order:2;flex:1;padding:8px 10px;overflow:hidden}
  .items-head{flex-direction:column-reverse;align-items:stretch;gap:6px;margin-bottom:8px}
  .order-title{font-size:17px;text-align:left;font-weight:600}
  .search{height:46px}
  .items-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding-bottom:90px}
  .item{min-height:92px;font-size:15px;padding:26px 10px 10px}
  body.m-cats .items-grid{grid-template-columns:repeat(2,1fr)}

  .m-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:fixed;left:10px;right:10px;bottom:10px;z-index:20;
    background:var(--red);color:#fff;border:0;border-radius:14px;padding:12px 16px;font-size:15px;box-shadow:0 8px 20px rgba(224,64,79,.35)}
  .m-bar.empty{background:var(--navy);opacity:.9;box-shadow:none}
  .m-bar-total{font-size:20px;font-weight:800}.m-bar-go{font-weight:700}
  .cart-pane{position:fixed;inset:0;z-index:30;border:0;transform:translateY(100%);transition:transform .2s ease;visibility:hidden}
  .cart-pane.open{transform:none;visibility:visible}
  .m-cart-top{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--navy);color:#fff}
  .m-cart-top b{font-size:18px}.m-cart-top .btn{color:#fff;border-color:#fff}
  .cart-head,.cline{grid-template-columns:1fr 112px 70px 32px;gap:4px;padding:8px 10px}
  .cart-head span:nth-child(3),.cline .rt{display:none}
  .qty button{width:36px;height:36px}
  .cart-sum b{font-size:16px}.cart-sum .grand b{font-size:22px}
  .cart-actions{grid-template-columns:repeat(3,1fr);gap:6px;padding:8px}
  .cart-actions .btn{min-height:50px;font-size:15px;padding:8px}

  /* modals become full-width sheets */
  .modal-back{align-items:flex-end}
  .modal{min-width:0!important;width:100%;max-width:100%;max-height:92vh;border-radius:18px 18px 0 0;padding:18px 14px}
  .modal h3{padding-right:52px;font-size:20px}
  .tmodal{grid-template-columns:1fr;min-width:0}.tmodal .art{display:none}
  .btn-grid{grid-template-columns:repeat(2,1fr)}
  .pay{grid-template-columns:1fr;min-width:0}
  .pay-row{grid-template-columns:120px 1fr}
  .keypad button{height:52px;font-size:22px}
  .pick-list{min-width:0}
  .pform .seg button{flex:1 1 45%}
  .grid3{grid-template-columns:1fr 1fr}

  /* reports / settings / online */
  .page-head h2{font-size:20px}
  .filters input{height:42px}
  .subtabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%}
  .subtabs button{white-space:nowrap}
  #repBody,#setBody .card{overflow-x:auto}
  .two-col{grid-template-columns:1fr}
  .opts td:last-child{width:150px}
  .pcard{flex-direction:column;align-items:flex-start}
  .online-list{grid-template-columns:1fr}
  .form-row{flex-direction:column;align-items:stretch}
}
@media (max-width:420px){ .tbl{width:calc(50% - 5px)} }

/* ---------- help & support ---------- */
.help-contact{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 14px}
.help-contact .btn{flex:1 1 220px}
.help-tabs{margin-bottom:12px}
.helpmodal textarea{border:1px solid #c9d0c5;border-radius:8px;padding:10px;font-size:16px;width:100%;font-family:inherit}
.helpmodal .seg button.active{background:var(--red);border-color:var(--red);color:#fff}
.tip{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:8px}
.tip summary{padding:14px;font-weight:600;font-size:16px;cursor:pointer}
.tip p{margin:0;padding:0 14px 14px;color:#444;line-height:1.5}
.ticket{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px;background:#fff}
.ticket .top{display:flex;justify-content:space-between;gap:10px}
.ticket p{margin:6px 0;white-space:pre-wrap}
.ticket .reply{background:#e3f6ec;border-radius:8px;padding:8px 10px;color:#17643f}
.st.t-open{background:#fff3cd}.st.t-in_progress{background:#dbe8ff}.st.t-closed{background:#d9f5e5}

/* =================== TABLETS & LARGE SCREENS =================== */
/* small laptops / tablets in landscape (901–1180px) */
@media (min-width:901px) and (max-width:1180px){
  .topbar{gap:8px;padding:6px 10px}
  .support,.uname{display:none}
  .brand .logo{width:42px;height:42px;font-size:22px}.brand-main{font-size:22px}
  .tabs button{padding:0 12px;font-size:15px;height:46px}
  #clock{display:none}
  .order-view,body.retail .order-view{grid-template-columns:170px 1fr 380px}
  .cat{font-size:16px;min-height:66px;padding:8px 12px 12px}
  .items-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
  .item{min-height:92px;font-size:15px}
  .cart-head,.cline{grid-template-columns:1fr 112px 70px 32px}
  .cart-head span:nth-child(3),.cline .rt{display:none}
  .cart-actions .btn{font-size:15px;min-height:52px;padding:8px}
  .cart-sum .grand b{font-size:24px}
  .tbl{width:104px;height:88px;font-size:20px}
  .table-grid{gap:14px}
  .modal{min-width:0!important;max-width:94vw}
  .pay{min-width:0;grid-template-columns:1fr 260px}
  .tmodal{min-width:0;grid-template-columns:160px 1fr}.tmodal .art{font-size:80px}
  .two-col{grid-template-columns:1fr}
}
/* tablets in portrait / big phones in landscape (600–900px): phone flow with more columns */
@media (min-width:600px) and (max-width:900px){
  .items-grid,body.m-cats .items-grid{grid-template-columns:repeat(3,1fr)}
  .catmodal .cat-pop{grid-template-columns:repeat(3,1fr)}
  .tbl{width:calc(25% - 8px)}
  .cart-pane{left:auto;width:min(480px,100%);box-shadow:-10px 0 30px rgba(0,0,0,.25);transform:translateX(100%)}
  .cart-pane.open{transform:none}
  .m-bar{left:auto;width:420px}
  .modal{max-width:640px;border-radius:18px 18px 0 0}
  .modal-back{align-items:flex-end}
}
/* short landscape phones */
@media (max-width:900px) and (max-height:500px){
  .topbar{padding:4px 8px}.shopline{display:none}
  .items-grid,body.m-cats .items-grid{grid-template-columns:repeat(4,1fr)}
  .item{min-height:76px}
  .ctile{min-height:80px}
}
/* large touch screens / full-HD POS monitors */
@media (min-width:1600px){
  body{font-size:17px}
  .order-view,body.retail .order-view{grid-template-columns:280px 1fr 560px}
  .items-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
  .item{min-height:116px;font-size:18px}
  .tbl{width:140px;height:116px;font-size:26px}
  .cart-sum .grand b{font-size:34px}
}
/* header fit on common laptop widths */
.tabs button{white-space:nowrap}
.order-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:40%}
@media (min-width:901px) and (max-width:1440px){
  #clock,.uname{display:none}
  .topbar{gap:10px}
  .tabs button{padding:0 18px}
  .support b{font-size:16px}
}
.net{font-size:13px;font-weight:700;padding:6px 10px;border-radius:14px;white-space:nowrap}
.net.off{background:#fde8ea;color:#a3202d}
.net.sync{background:#dbe8ff;color:#1d2547}
.dev-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.dev-actions .btn{flex:1 1 300px}

/* ---------- ChandraPOS logo & wordmark ---------- */
.logo-img{width:50px;height:50px;border-radius:12px;flex:0 0 auto;box-shadow:0 3px 8px rgba(29,37,71,.25)}
.wordmark{display:flex;flex-direction:column;font-family:"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:26px;letter-spacing:-.5px;line-height:1;color:var(--navy)}
.wordmark span{color:var(--red)}
.wordmark small{font-size:11px;font-weight:500;letter-spacing:.2px;color:#5b6275;margin-top:4px}
.brand.big .logo-img{width:72px;height:72px;border-radius:17px}
.brand.big .wordmark{font-size:36px}.brand.big .wordmark small{font-size:14px}
@media (max-width:900px){ .logo-img{width:36px;height:36px;border-radius:9px} .wordmark{font-size:20px} .wordmark small{display:none} }
@media (min-width:901px) and (max-width:1180px){ .logo-img{width:42px;height:42px} .wordmark{font-size:22px} .wordmark small{display:none} }
.wordmark b{font-weight:800;white-space:nowrap}

/* ---------- category list: Yavaron style (dark navy → blue, white divider lines) ---------- */
@media (min-width:901px){
  .cats{background:linear-gradient(180deg,#121735 0%,#1a2257 35%,#22308f 100%);border-right:1px solid #0d1230}
  .cat{color:#eef1fb;font-weight:500;border-bottom:1.5px solid rgba(255,255,255,.55);text-shadow:0 1px 1px rgba(0,0,0,.35);
       background:transparent;padding:10px 18px 18px;line-height:1.25}
  .cat small{color:#ffffff;opacity:.95;font-weight:500;font-size:14px;margin-bottom:6px}
  .cat:active{background:rgba(255,255,255,.08)}
  .cat.active{background:linear-gradient(180deg,#e8455a,#d63148);border-bottom-color:rgba(255,255,255,.7);text-shadow:none}
}

/* ---------- item buttons v2: clean cards ---------- */
.items-grid{align-items:stretch;grid-auto-rows:max-content}
.items-grid .item{position:relative;display:block;padding:0;min-height:0;text-align:left;background:#ffffff;border:1px solid #e1e6ef;border-left:0;
  border-radius:14px;box-shadow:0 2px 6px rgba(29,37,71,.07);overflow:hidden;transition:transform .08s ease,box-shadow .15s ease}
.items-grid .item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--ic,#e0404f)}
.items-grid .item:hover{box-shadow:0 6px 16px rgba(29,37,71,.12)}
.items-grid .item:active{transform:scale(.97);box-shadow:0 1px 3px rgba(29,37,71,.1)}
.items-grid .item .it-in{display:flex;flex-direction:column;justify-content:space-between;gap:8px;box-sizing:border-box;height:100%;min-height:120px;padding:12px 14px 12px 18px}
.items-grid .item .it-top{display:flex;justify-content:space-between;align-items:center;min-height:22px}
.items-grid .item .code{position:static;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;color:#6b7385;background:#f1f3f8;border-radius:6px;padding:2px 7px;letter-spacing:.3px}
.items-grid .item .nm{display:block;font-size:17px;font-weight:600;color:#1d2547;line-height:1.25;word-break:break-word}
.items-grid .item .it-bot{display:flex;justify-content:space-between;align-items:flex-end;gap:6px}
.items-grid .item .price{position:static;max-width:none;font-size:15px;font-weight:800;color:#c8283d;background:#fff0f2;border-radius:20px;padding:4px 12px;white-space:nowrap;margin-left:auto}
.items-grid .item .price .mrp{color:#9aa1b0;font-weight:500;font-size:12px;margin-right:2px}
.items-grid .item .stk{position:static;font-size:12px;font-weight:600}
.items-grid .item .inc{position:static;background:var(--red);color:#fff;border-radius:14px;min-width:28px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;padding:0 8px;box-shadow:0 2px 6px rgba(224,64,79,.4)}
.items-grid .item.sel{box-shadow:0 0 0 2px var(--red),0 4px 12px rgba(224,64,79,.18);background:#fff8f9;border-color:transparent}
.items-grid .item.sel .nm{color:#b0202f}
@media (max-width:900px){ .items-grid .item .it-in{min-height:104px;padding:10px 10px 10px 15px} .items-grid .item .nm{font-size:15px} .items-grid .item .price{font-size:14px;padding:3px 10px} }

/* main action buttons: a little depth */
.btn{box-shadow:0 2px 0 rgba(0,0,0,.12),0 4px 10px rgba(29,37,71,.12);letter-spacing:.2px}
.btn.ghost{box-shadow:none}
.btn:active{box-shadow:0 1px 2px rgba(0,0,0,.15)}

/* ---------- barcode labels ---------- */
#view-labels{padding:14px 18px 40px}
.lab-wrap{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:16px;align-items:start}
.lab-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:8px}.lab-head h2{margin:0;font-size:22px;color:#333}
.lab-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.lab-tools .search{flex:1 1 280px}
.lab-items{max-height:calc(100vh - 260px);overflow:auto;display:flex;flex-direction:column;gap:6px}
.lab-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e1e6ef;border-radius:12px;background:#fff;cursor:pointer}
.lab-row.on{border:2px solid var(--red);background:#fff8f9;padding:9px 11px}
.lab-row .lr-name{display:flex;flex-direction:column;gap:2px;min-width:0}.lab-row .lr-name b{font-size:16px;color:#1d2547}
.lab-row .lr-name small{color:#6b7385;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-row .qty b{cursor:pointer;min-width:40px}
.lab-right{display:flex;flex-direction:column;gap:12px}
.lab-sub{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#5b6275;font-weight:700;margin-bottom:8px}
.lab-prev{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px 8px 10px;background:repeating-linear-gradient(45deg,#f3f5f1,#f3f5f1 8px,#eceff0 8px,#eceff0 16px);border-radius:10px;overflow:hidden}
.lab-paper{transform-origin:top center;box-shadow:0 4px 14px rgba(0,0,0,.18);background:#fff}
.lab-note{text-align:center}
.lab-opts{display:flex;flex-direction:column;gap:10px}
.lab-opts label,.lab-print label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#555}
.lab-opts input,.lab-opts select,.lab-print select{height:44px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:15px;background:#fff;width:100%}
.lab-tgs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lab-tg{flex-direction:row!important;align-items:center;gap:8px!important;font-size:14px!important;color:#333!important}
.lab-tg .switch{width:48px;height:28px;flex:0 0 auto}.lab-tg .switch::after{width:20px;height:20px}.lab-tg .switch.on::after{left:24px}
.lab-print{display:flex;flex-direction:column;gap:10px}.lab-print-row{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:1100px){ .lab-wrap{grid-template-columns:minmax(0,1fr)} .lab-items{max-height:none} }
@media (max-width:900px){ #view-labels{padding:8px 8px 40px} .lab-left{padding:10px} .lab-row{padding:8px 10px} .lab-row .lr-name b{font-size:15px} .lab-head h2{font-size:19px} }
@media (max-width:600px){ .lab-tgs{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* ---------- announcement bar (super admin notice) ---------- */
.shopline marquee{display:none}
.notice-bar{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#1d2547,#26306b);color:#fff;padding:0 14px 0 10px;height:38px;overflow:hidden;border-bottom:2px solid #e0404f}
.notice-bar .nb-ico{flex:0 0 auto;font-size:18px;background:#e0404f;border-radius:8px;width:30px;height:28px;display:grid;place-items:center}
.notice-bar .nb-track{flex:1;overflow:hidden;white-space:nowrap;position:relative;height:100%;display:flex;align-items:center;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.notice-bar .nb-text{display:inline-block;padding-left:100%;font-size:16px;font-weight:700;letter-spacing:.3px;color:#ffffff;animation:nbScroll 25s linear infinite}
.notice-bar:hover .nb-text{animation-play-state:paused}
@keyframes nbScroll{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (max-width:900px){ .notice-bar{height:34px} .notice-bar .nb-text{font-size:14px} }
@media (prefers-reduced-motion:reduce){ .notice-bar .nb-text{animation:none;padding-left:0} }

/* ---------- reports v2 ---------- */
.rep-quick{display:flex;gap:6px;flex-wrap:wrap}
#repUser{height:46px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:16px;background:#fff}
.stat.big b{color:var(--red)}
.sum-paper{max-width:440px;margin:6px auto;background:#fff;padding:18px 20px;font-family:"Courier New",Consolas,monospace;font-size:14px;color:#111;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.sum-paper .c{text-align:center}.sum-paper .b{font-weight:700}.sum-paper .r{text-align:right}
.sum-paper .hr{border-top:1px dashed #111;margin:6px 0}
.sum-paper table{width:100%;border-collapse:collapse}.sum-paper td,.sum-paper th{padding:1px 2px;font-size:13.5px;text-align:left}
.sum-paper .sumt th{border-bottom:1px dashed #111}.sum-paper .sumt td{font-size:12.5px}
table.itemrep .cat-row td{background:#eef1f8!important;font-weight:800;color:#1d2547;font-size:15px}
table.itemrep .sub-row td{font-weight:700;border-bottom:2px solid #d7ddd3;color:#333}
table.itemrep .grand-row td{background:#1d2547!important;color:#fff;font-weight:800;font-size:17px}
/* ---------- items & menu ---------- */
.menu-tools select{height:48px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:16px;background:#fff}
table.prodt tr[data-e]{cursor:pointer}table.prodt tr[data-e]:hover td{background:#fff6f7}
table.prodt tr.off td{color:#999}table.prodt tr.off b{color:#999;text-decoration:line-through}
.pform textarea{width:100%}
/* v2.8.0 mobile: items list tools + report cards */
@media (max-width: 700px) {
  .menu-tools { flex-direction: column; align-items: stretch; }
  .menu-tools .search { flex: 0 0 auto !important; max-width: none !important; }
  .rep-summary { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rep-summary .stat { min-width: 0; margin: 0; }
}
/* v2.8.1 Sensible / Android Print Bridge card */
.bridge-card{border:2px solid #2e9d5b;margin-bottom:14px}
.bridge-card h3{margin:0 0 6px;font-size:18px}
.bridge-card .sw-line{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:16px}
.bridge-opts label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;flex:1 1 200px}
.bridge-opts select{min-height:42px}
@media (max-width: 700px) { .bridge-opts label { flex: 0 0 auto; } .bridge-card .form-row .btn { flex: 0 0 auto; } }
/* v2.9.0 AC tables */
.tbl.ac{border:2px solid #4aa3df}
.tbl .ac-dot{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);font-size:11px;font-weight:800;color:#fff;background:#2f80ed;border-radius:10px;padding:1px 8px;white-space:nowrap}
.tbl.running .ac-dot,.tbl.tendered .ac-dot{bottom:auto;top:-9px}
.ac-tag{display:inline-block;font-size:13px;font-weight:800;color:#fff;background:#2f80ed;border-radius:10px;padding:2px 9px;vertical-align:middle}
.ac-chk{flex-direction:row!important;align-items:center;gap:8px;font-weight:700;color:#1f5fa8;white-space:nowrap}
.ac-chk input,.ac-box{width:22px;height:22px;accent-color:#2f80ed}
.ac-r{color:#1f5fa8;font-weight:700}
/* v2.9.1 billing screen: Bill Date / Bill No / Prev Bill No */
.bill-strip{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:7px 12px;font-size:13px;color:#555;
  background:#fff;border-top:3px solid #5b2a9c;border-bottom:1px solid var(--line)}
.bill-strip b{color:#1b1e3c;font-weight:800}

/* v2.10.3 remove a cart line */
.cline .del{width:32px;height:32px;border:1px solid #f1c3c8;background:#fff5f6;color:#c0262d;border-radius:8px;font-size:17px;font-weight:700;line-height:1;cursor:pointer;padding:0}
.cline .del:active{background:#ffd9de}
.toast .undo-btn{margin-left:12px;background:transparent;color:#fff;border:2px solid #fff;border-radius:8px;padding:4px 12px;font-weight:800;cursor:pointer;pointer-events:auto}

/* v2.11.0 general store / sweet shop tools + item entry popup (QTY · MRP · DISC % · RATE) */
.rtools{display:flex;gap:6px;flex:0 0 auto}
.rtools .btn{min-height:50px;padding:6px 12px;font-size:15px;white-space:nowrap}
.btn.amber{background:#f2a91a;color:#1d2547}
.modal.ie-modal{max-width:440px;width:96vw}
.ie h3{margin:0 0 2px;text-align:center;color:#1f5fa8}
.ie .ie-sub{text-align:center;margin-bottom:10px}
.ie .ie-name{display:flex;flex-direction:column;font-size:13px;font-weight:700;margin-bottom:8px}
.ie .ie-name input{height:46px;border:1px solid #c9d0c5;border-radius:8px;padding:0 10px;font-size:17px}
.ie-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ie-grid label{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:#555;gap:3px}
.ie-grid input{height:50px;border:2px solid #c9d0c5;border-radius:8px;text-align:right;padding:0 8px;font-size:20px;font-weight:700;min-width:0}
.ie-grid label.on input{border-color:#2f80ed;background:#f2f7ff}
.ie-pre{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:8px 0}
.ie-pre button{height:40px;border:0;border-radius:8px;background:#2f80ed;color:#fff;font-weight:800;font-size:15px;cursor:pointer}
.ie-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ie-keys button{height:52px;border:0;border-radius:8px;background:#1d2547;color:#fff;font-size:22px;font-weight:700;cursor:pointer}
.ie-keys button:active{background:#2f80ed}
.ie-keys button[data-k="⌫"]{background:#e6e8ef;color:#1d2547}
.ie-keys button.c{background:#fff;color:#c0262d;border:2px solid #f1c3c8}
.ie-keys button.nx{grid-column:span 2;background:#fff;color:#1f5fa8;border:2px solid #9cc2f5;font-size:17px}
.ie-amt{text-align:center;font-size:20px;margin:10px 0 8px}.ie-amt #ieSave{color:#147a3d;font-size:15px;font-weight:700}
.ie-btns{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.cline .nm[data-edit]{cursor:pointer}.cline .nm[data-edit]:hover{text-decoration:underline dotted}
@media (max-width:700px){ .items-head{flex-wrap:wrap} .rtools{width:100%} .rtools .btn{flex:1;min-height:44px;font-size:14px} }

/* v2.11.0 quotations */
.quotes-view{padding:14px 18px;overflow:auto}
.q-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.q-head h2{margin:0}
.q-filters{display:flex;gap:8px;margin-bottom:10px}.q-filters select{height:50px;border:1px solid #c9d0c5;border-radius:6px;padding:0 10px;font-size:15px;background:#fff}
table.qt tr[data-q]{cursor:pointer}table.qt tr[data-q]:hover td{background:#f4f8ff}
.qs{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:800}
.qs-open{background:#dbe8ff;color:#1f5fa8}.qs-acc{background:#dff5e7;color:#147a3d}.qs-rej{background:#eee;color:#666}.qs-bill{background:#1d2547;color:#fff}.qs-exp{background:#fff3cd;color:#8a6100}
.modal.q-modal{max-width:860px;width:96vw}
.q-doc-wrap{max-height:62vh;overflow:auto;border:1px solid #e1e6ef;border-radius:8px;padding:14px;background:#fff}
.q-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}.q-actions .btn{min-height:46px}
.btn.blue{background:#2f80ed}
.q-form .grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.q-form label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:700;color:#555}
.q-form input,.q-form textarea{border:1px solid #c9d0c5;border-radius:8px;padding:8px 10px;font-size:16px}.q-form input{height:44px}
@media (max-width:700px){ .quotes-view{padding:10px} table.qt th:nth-child(4),table.qt td:nth-child(4){display:none} .q-form .grid2{grid-template-columns:1fr} }
.modal.q-modal{padding-top:46px}
