/* NS POS PRO v3.4 - Bright tiled touch UI, same business flows as earlier POS. */
:root{--ns34-ink:#11234c;--ns34-body:#f1f5ff}
body{background:var(--ns34-body)}
header{background:linear-gradient(115deg,#063aa4 0%,#1462e4 64%,#12c7cf 100%);border-radius:0 0 18px 18px;color:#fff}
header .name{font-weight:950;font-size:clamp(19px,3.3vw,25px)}
#dashboard .ns31-hero{min-height:175px;background:linear-gradient(115deg,#102b8b 0%,#255ce8 65%,#11c4d0);border-radius:23px;box-shadow:0 13px 28px #1645b72e}
#dashboard .ns31-hero h1{font-size:clamp(21px,3.2vw,30px);letter-spacing:-.5px}
#dashboard .ns31-hero p{color:#edf8ff}
#dashboard .ns31-lifetime{display:none}
#dashboard .ns31-section-heading{margin-top:15px}
#dashboard .ns31-summary-heading{margin-top:15px}
#dashboard .ns31-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#dashboard .ns31-tile,#dashboard .ns31-tile.ns33-order-tile{border:0!important;border-radius:19px;min-height:134px;padding:13px 9px;box-shadow:0 10px 19px color-mix(in srgb,var(--tile-col) 25%,transparent);color:#fff!important;background:linear-gradient(135deg,var(--tile-col),var(--tile-col2))!important}
#dashboard .ns31-tileicon{background:#ffffff25!important;box-shadow:none!important;border:1px solid #ffffff36!important;width:52px;height:52px;flex-basis:52px;border-radius:15px;font-size:27px}
#dashboard .ns31-tile strong{color:#fff!important;font-size:14px;font-weight:900}
#dashboard .ns31-tile small{color:#fffde4!important;opacity:.93;font-size:10px;font-weight:600}
#dashboard .ns31-orange{--tile-col:#fd7b13;--tile-col2:#ffb321}
#dashboard .ns31-green{--tile-col:#07a976;--tile-col2:#18d391}
#dashboard .ns31-purple{--tile-col:#7a41ed;--tile-col2:#b369fa}
#dashboard .ns31-indigo{--tile-col:#067fef;--tile-col2:#16b9ea}
#dashboard .ns31-coral{--tile-col:#ee3560;--tile-col2:#ff847a}
#dashboard .ns31-teal{--tile-col:#00a2b3;--tile-col2:#21cbe6}
#dashboard .ns31-pink{--tile-col:#f43493;--tile-col2:#ff73bf}
#dashboard .ns31-slate{--tile-col:#596dde;--tile-col2:#9069f0}
#dashboard .ns31-blue{--tile-col:#1558ea;--tile-col2:#269fff}
#dashboard .ns31-tile.ns33-order-tile{--tile-col:#f3222d;--tile-col2:#ff8558}
#dashboard .ns2-grid.ns31-live-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#dashboard .ns2-card{min-height:102px;border:0!important;border-radius:17px;box-shadow:0 7px 16px #12348414;color:#fff!important;background:linear-gradient(127deg,#0eae69,#1be3a4)!important}
#dashboard .ns2-card:before{display:none}
#dashboard .ns2-card:nth-child(2){background:linear-gradient(135deg,#086bef,#16bcfd)!important}
#dashboard .ns2-card:nth-child(3){background:linear-gradient(135deg,#f8820e,#ffbd22)!important}
#dashboard .ns2-card:nth-child(4){background:linear-gradient(135deg,#7542e9,#ab68f7)!important}
#dashboard .ns2-card:nth-child(5){background:linear-gradient(135deg,#ec4669,#ff9479)!important}
#dashboard .ns2-card:nth-child(6){background:linear-gradient(135deg,#0aa0a6,#27d4cc)!important}
#dashboard .ns2-card span{background:#ffffff2d!important;color:#fff}
#dashboard .ns2-card strong,#dashboard .ns2-card small{color:#fff!important}
#dashboard .ns31-metrics{display:none}
.ns34-bottom-nav{display:none}
#settings .panel>h2{font-size:18px}
#orders .panel,#invoice .panel,#shops .panel{border-radius:18px}
@media(max-width:900px){#dashboard .ns31-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}#dashboard .ns2-grid.ns31-live-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
  #dashboard .ns31-hero{padding:18px 17px 36px;min-height:155px;margin-bottom:10px}
  #dashboard .ns31-hero h1{font-size:21px;max-width:300px}
  #dashboard .ns31-hero p{font-size:10px;max-width:275px;margin-bottom:10px}
  #dashboard .ns31-hero-art{display:none}
  #dashboard .ns31-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  #dashboard .ns31-tile,#dashboard .ns31-tile.ns33-order-tile{min-height:104px;border-radius:15px;padding:9px 3px;gap:4px}
  #dashboard .ns31-tileicon{width:41px;height:41px;flex-basis:41px;font-size:21px;border-radius:12px;margin:0}
  #dashboard .ns31-tile strong{font-size:11.5px}
  #dashboard .ns31-tile small{font-size:9px}
  #dashboard .ns31-section-heading h2{font-size:17px}
  #dashboard .ns2-card{min-height:84px;gap:9px;padding:11px!important}
  #dashboard .ns2-card strong{font-size:16px}
  .ns34-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:8;justify-content:space-around;gap:2px;background:#fff;box-shadow:0 -5px 25px #132b6140;border-radius:17px 17px 0 0;padding:8px 6px max(8px,env(safe-area-inset-bottom))}
  .ns34-bottom-nav button{flex:1;min-width:0;background:transparent;border:0;border-radius:10px;display:flex;align-items:center;flex-direction:column;gap:2px;color:#2c5dce;font-size:21px;line-height:1.05;padding:5px 1px}
  .ns34-bottom-nav span{font-size:10px;font-weight:800;color:#51637e}
  main{padding-bottom:115px}
  #toast{bottom:84px}
}
@media(max-width:350px){#dashboard .ns31-tile strong{font-size:10px}}
@media print{.ns34-bottom-nav{display:none!important}}

/* v3.8: Make dynamically added dashboard tiles as colorful as other tiles. */
#dashboard .ns31-shortcuts .ns31-tile.ns38-tile-vehicle{--tile-col:#0763f5;--tile-col2:#00c4e4;opacity:1!important;filter:none!important;color:#fff!important}
#dashboard .ns31-shortcuts .ns31-tile.ns38-tile-credit{--tile-col:#ff8a00;--tile-col2:#ffbc06;opacity:1!important;filter:none!important;color:#fff!important}
#dashboard .ns31-shortcuts .ns31-tile.ns38-tile-close{--tile-col:#a51be9;--tile-col2:#f42e92;opacity:1!important;filter:none!important;color:#fff!important}
#dashboard .ns31-shortcuts .ns31-tile:is(.ns38-tile-vehicle,.ns38-tile-credit,.ns38-tile-close) strong,
#dashboard .ns31-shortcuts .ns31-tile:is(.ns38-tile-vehicle,.ns38-tile-credit,.ns38-tile-close) small{color:#fff!important;opacity:1!important}
