/* Gestionale della landing: switch Ristorazione / Retail e demo retail */

/* ---------- Switch ---------- */
.glp-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 760px; margin-bottom: .8rem; }
.glp-mode__b { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-3); color: var(--fg-2); text-align: left; cursor: pointer; transition: border-color .3s, background .3s, color .3s, box-shadow .3s; }
.glp-mode__b:hover { border-color: var(--line-2); color: var(--fg); }
.glp-mode__b i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.05); font-style: normal; font-size: 1.4rem; }
.glp-mode__b span { display: flex; flex-direction: column; min-width: 0; }
.glp-mode__b b { font-size: 1.08rem; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.glp-mode__b small { font-size: .76rem; line-height: 1.3; color: var(--fg-3); }
.glp-mode__b[aria-pressed="true"] { border-color: var(--acc); background: rgba(44,240,44,.09); box-shadow: 0 0 0 3px rgba(44,240,44,.12); }
.glp-mode__b[aria-pressed="true"] i { background: rgba(44,240,44,.16); }
.glp-mode__b[aria-pressed="true"] small { color: var(--fg-2); }
.glp-hint { margin: 0 0 1.2rem; font-size: .9rem; color: var(--fg-2); }

/* ---------- Icone schede ---------- */
.glp-gi--cassa { border-radius: 3px; }
.glp-gi--cassa::after { content: ''; position: absolute; left: 3px; right: 3px; top: 3.5px; height: 1.6px; background: currentColor; box-shadow: 0 3.5px 0 currentColor, 0 7px 0 currentColor; }
.glp-gi--cli { border: 0; }
.glp-gi--cli::before { content: ''; position: absolute; left: 5px; top: 0; width: 8px; height: 8px; border: 1.6px solid currentColor; border-radius: 50%; }
.glp-gi--cli::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: 0; height: 7px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 9px 9px 0 0; }
.glp-gi--ag { border-radius: 4px; }
.glp-gi--ag::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 1.6px; background: currentColor; }
.glp-gi--ag::after { content: ''; position: absolute; left: 3px; top: 7px; width: 3px; height: 3px; background: currentColor; box-shadow: 5px 0 0 currentColor, 0 4px 0 currentColor, 5px 4px 0 currentColor; }

/* ---------- App ---------- */
.glp-app .app__main { gap: 12px; }
.glp-app .app__url span { color: var(--fg); }
.glp-sect { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -2px 0; padding: 2px 0; }
.glp-sect::-webkit-scrollbar { display: none; }
.glp-sect__l { flex: none; margin-right: 6px; font: 500 .66rem var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.glp-sect button { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #15161d; color: var(--fg-2); font-size: .86rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.glp-sect button:hover { color: var(--fg); border-color: var(--line-2); }
.glp-sect button i { font-style: normal; }
.glp-sect button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--ink); font-weight: 600; }
.glp-gp { min-height: 450px; }

/* ---------- Cassa ---------- */
.glp-pos { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.glp-shelf { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; padding: 12px; }
.glp-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: none; }
.glp-cats::-webkit-scrollbar { display: none; }
.glp-cats button { flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,.05); color: var(--fg-2); font-size: .82rem; cursor: pointer; }
.glp-cats button[aria-pressed="true"] { background: rgba(44,240,44,.16); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(44,240,44,.45); }
.glp-grid { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; align-content: start; scrollbar-width: thin; }
.glp-prod { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 108px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 13px; background: #1b1c25; color: var(--fg); text-align: left; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.glp-prod:hover { border-color: var(--line-2); background: #20212b; }
.glp-prod:active { transform: scale(.96); border-color: var(--acc); background: rgba(44,240,44,.12); }
.glp-prod[hidden] { display: none; }
.glp-prod i { font-style: normal; font-size: 1.55rem; line-height: 1.2; margin-bottom: 4px; }
.glp-prod span { font-size: .8rem; line-height: 1.2; font-weight: 500; }
.glp-prod b { margin-top: auto; padding-top: 4px; font: 500 .8rem var(--f-m); color: var(--acc); }
.glp-prod small { font: 400 .6rem var(--f-m); color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.glp-prod.is-low small { color: var(--amber); }
.glp-prod.is-out { opacity: .42; }
.glp-prod.is-out small { color: var(--red); }

.glp-size { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; padding: 14px; border-radius: 16px; background: rgba(24,25,33,.98); border: 1px solid var(--line-2); box-shadow: 0 -20px 50px -10px rgba(0,0,0,.7); animation: glp-up .35s var(--ease); }
.glp-size p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.glp-size p > i { font-style: normal; font-size: 1.6rem; }
.glp-size p span { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: .9rem; }
.glp-size p small { font: 400 .7rem var(--f-m); color: var(--fg-2); }
.glp-size div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.glp-size div button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; border: 1px solid var(--line-2); border-radius: 12px; background: #1d1e27; color: var(--fg); cursor: pointer; }
.glp-size div button:hover:not(:disabled) { border-color: var(--acc); background: rgba(44,240,44,.1); }
.glp-size div button b { font-size: 1.1rem; }
.glp-size div button small { font: 400 .62rem var(--f-m); color: var(--fg-3); }
.glp-size div button:disabled { opacity: .35; cursor: not-allowed; }
.glp-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--fg); font-size: 1.3rem; line-height: 1; cursor: pointer; }
@keyframes glp-up { from { opacity: 0; transform: translateY(24px); } }

.glp-cart { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; padding: 12px; border-left: 1px solid var(--line); background: #101118; }
.glp-cart__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.glp-cart__h div { display: flex; flex-direction: column; min-width: 0; }
.glp-cart__h strong { font-size: .95rem; font-weight: 600; }
.glp-cart__h small { font: 400 .64rem var(--f-m); color: var(--fg-3); white-space: nowrap; }
.glp-scan { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: transparent; color: var(--fg); font-size: .8rem; cursor: pointer; transition: border-color .2s, background .2s; }
.glp-scan:hover { border-color: var(--acc); background: rgba(44,240,44,.08); }
.glp-bc { display: inline-block; width: 18px; height: 14px; background: repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 3px, currentColor 3px 4px, transparent 4px 6px, currentColor 6px 8.5px, transparent 8.5px 9.5px); }
.glp-laser { display: none; position: absolute; left: 12px; right: 12px; top: 58px; z-index: 3; height: 78px; place-items: center; border-radius: 12px; background: rgba(16,17,24,.94); border: 1px dashed rgba(255,91,91,.55); }
.glp-laser i { position: absolute; left: 10px; right: 10px; top: 14px; height: 2px; border-radius: 2px; background: var(--red); box-shadow: 0 0 12px 2px rgba(255,91,91,.8); animation: glp-laser .37s ease-in-out infinite alternate; }
.glp-bc--big { width: 140px; height: 46px; color: var(--fg); }
.glp-cart.is-scan .glp-laser { display: grid; }
@keyframes glp-laser { to { top: 62px; } }
.glp-ean { height: 1.1em; margin: -2px 0 0; font: 400 .64rem/1.1 var(--f-m); color: var(--acc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .3s; }
.glp-ean.is-on { opacity: 1; }
.glp-lines { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.glp-lines li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto 34px; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .8rem; line-height: 1.25; }
.glp-lines li > i { font-style: normal; font-size: 1.1rem; }
.glp-lines li span { min-width: 0; }
.glp-lines li span small { display: block; font: 400 .64rem var(--f-m); color: var(--fg-3); }
.glp-lines li em { font: 500 .64rem var(--f-m); font-style: normal; color: var(--amber); }
.glp-lines li > b { font: 500 .78rem var(--f-m); white-space: nowrap; }
.glp-lines li button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(255,255,255,.06); color: var(--fg-2); font-size: 1.1rem; cursor: pointer; }
.glp-lines li button:hover { background: rgba(255,91,91,.18); color: var(--red); }
.glp-lines li.is-new { animation: glp-flash .9s var(--ease); }
.glp-lines li.glp-empty { display: block; padding: 2.2rem .5rem; border: 0; text-align: center; color: var(--fg-3); font-size: .82rem; }
@keyframes glp-flash { from { background: rgba(44,240,44,.22); transform: translateX(-8px); } }
.glp-tot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.glp-tot span { font: 400 .74rem var(--f-m); color: var(--fg-2); }
.glp-tot strong { font-size: 1.65rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.glp-cart__btns { display: grid; grid-template-columns: 1fr 2fr; gap: 6px; }
.glp-btn { min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: opacity .2s, transform .2s; }
.glp-btn:active:not(:disabled) { transform: scale(.97); }
.glp-btn--pay { background: var(--acc); color: var(--acc-ink); }
.glp-btn--ghost { background: rgba(255,255,255,.06); color: var(--fg); }
.glp-btn:disabled { opacity: .35; cursor: default; }

/* Pagamento */
.glp-pay { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px; background: rgba(16,17,24,.985); animation: viewin .4s var(--ease); }
.glp-pay[hidden] { display: none; }
.glp-pay__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .86rem; color: var(--fg-2); }
.glp-pay__h strong { font-size: 1.6rem; font-weight: 600; color: var(--fg); letter-spacing: -.03em; }
.glp-pay__h strong.is-acc { color: var(--acc); }
.glp-pay__s { font-size: .84rem; color: var(--fg-2); text-align: center; }
.glp-pay__h + .glp-pay__s { text-align: left; }
.glp-pm { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #1b1c25; color: var(--fg); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.glp-pm:hover { border-color: var(--acc); background: rgba(44,240,44,.08); }
.glp-pm i { font-style: normal; font-size: 1.6rem; }
.glp-pm span { display: flex; flex-direction: column; }
.glp-pm b { font-size: .98rem; }
.glp-pm small { font-size: .72rem; color: var(--fg-3); }
.glp-dev { position: relative; display: grid; place-items: center; height: 130px; }
.glp-dev--cash .glp-dev__slot { position: absolute; left: 50%; top: 78px; translate: -50% 0; width: 150px; height: 40px; border-radius: 10px; background: linear-gradient(180deg, #2a2c37, #1a1b23); border: 1px solid var(--line-2); }
.glp-dev--cash .glp-dev__slot i { position: absolute; left: 14px; right: 14px; top: 8px; height: 6px; border-radius: 6px; background: #050608; box-shadow: 0 0 10px rgba(44,240,44,.6), inset 0 0 0 1px rgba(44,240,44,.5); }
.glp-dev__note { position: absolute; left: 50%; top: 10px; translate: -50% 0; display: grid; place-items: center; width: 104px; height: 52px; border-radius: 5px; background: linear-gradient(135deg, #c7d9b0, #8fae7c); color: #1f3317; font: 600 .9rem var(--f-m); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); animation: glp-float 1.4s ease-in-out infinite alternate; }
.glp-pay.is-in .glp-dev__note { animation: glp-in .9s var(--ease) forwards; }
@keyframes glp-float { to { transform: translateY(8px) rotate(-2deg); } }
@keyframes glp-in { to { transform: translateY(66px) scaleY(.2); opacity: 0; } }
.glp-dev--pos { width: 92px; height: 126px; margin: 0 auto; border-radius: 16px; background: linear-gradient(180deg, #2a2c37, #1a1b23); border: 1px solid var(--line-2); align-content: start; padding-top: 12px; }
.glp-dev__scr { display: grid; place-items: center; width: 72px; height: 42px; border-radius: 7px; background: #07080b; color: var(--fg); font: 500 .62rem var(--f-m); text-align: center; transition: background .3s, color .3s; }
.glp-dev__scr.is-ok { background: var(--acc); color: var(--acc-ink); font-weight: 600; }
.glp-dev--pos i { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; width: 22px; height: 22px; border: 2px solid var(--blue); border-color: var(--blue) transparent transparent; border-radius: 50%; opacity: 0; animation: glp-wave 1.4s ease-out infinite; }
.glp-dev--pos i:nth-of-type(2) { animation-delay: .35s; } .glp-dev--pos i:nth-of-type(3) { animation-delay: .7s; }
@keyframes glp-wave { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.2); } }
.glp-rcpt { flex: 0 1 auto; min-height: 0; overflow: auto; padding: 12px 14px 10px; border-radius: 3px; background: var(--rcpt); color: #2a2a2a; font: 400 .68rem/1.5 var(--f-m); box-shadow: 0 16px 30px -12px rgba(0,0,0,.7); animation: glp-print .8s var(--ease); transform-origin: 50% 0; }
.glp-rcpt ul { margin: 6px 0; padding: 6px 0; border-block: 1px dashed #b9b5aa; }
.glp-rcpt li, .glp-rcpt__t, .glp-rcpt__m { display: flex; justify-content: space-between; gap: 8px; }
.glp-rcpt li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glp-rcpt__c { text-align: center; }
.glp-rcpt__t { font-weight: 600; font-size: .82rem; }
.glp-rcpt__f { margin-top: 6px; color: #6d6a62; }
.glp-bc--rc { display: block; width: 70%; height: 24px; margin: 6px auto 0; color: #2a2a2a; }
@keyframes glp-print { from { clip-path: inset(0 0 100% 0); transform: translateY(-10px); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Pannelli a scorrimento ---------- */
.glp-scroll { position: absolute; inset: 0; overflow: auto; padding: 12px; scrollbar-width: thin; }

/* Magazzino */
.glp-stkh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.glp-stkh > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.04); font: 400 .72rem var(--f-m); color: var(--fg-2); }
.glp-stkh b { color: var(--fg); font-weight: 500; }
.glp-stkh .is-low b { color: var(--red); }
.glp-stkh .is-order b { color: var(--blue); }
.glp-stkh .glp-on { margin-left: auto; color: var(--acc); background: rgba(44,240,44,.08); }
.glp-on i { position: relative; width: 26px; height: 15px; border-radius: 9px; background: var(--acc); }
.glp-on i::after { content: ''; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--acc-ink); }
.glp-stk { display: grid; gap: 4px; }
.glp-stk li { display: grid; grid-template-columns: 1.6rem minmax(120px, 1.1fr) 2fr 8.2rem; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; background: rgba(255,255,255,.025); font-size: .86rem; transition: background .4s; }
.glp-stk li > i { font-style: normal; font-size: 1.1rem; }
.glp-stk__n { min-width: 0; line-height: 1.25; }
.glp-stk__n small { display: block; font: 400 .64rem var(--f-m); color: var(--fg-3); }
.glp-stk__bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); overflow: hidden; }
.glp-stk__bar b { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--acc); transition: width 1s var(--ease), background .5s; }
.glp-stk__sz { display: flex; gap: 4px; }
.glp-stk__sz em { flex: 1; min-width: 0; padding: 3px 0; border-radius: 6px; background: rgba(44,240,44,.1); color: var(--acc-2); font: 500 .66rem var(--f-m); font-style: normal; text-align: center; white-space: nowrap; transition: background .4s, color .4s; }
.glp-stk__sz em.is-1 { background: rgba(255,181,71,.14); color: var(--amber); }
.glp-stk__sz em.is-0 { background: rgba(255,91,91,.16); color: var(--red); }
.glp-stk__q { font: 400 .66rem/1.3 var(--f-m); color: var(--fg-3); text-align: right; }
.glp-stk__q span { display: block; font-size: .8rem; color: var(--fg); }
.glp-stk li.is-low { background: rgba(255,91,91,.06); }
.glp-stk li.is-low .glp-stk__bar b { background: var(--red); }
.glp-stk li.is-low .glp-stk__q { color: var(--red); }
.glp-stk li.is-order { background: rgba(53,199,240,.06); }
.glp-stk li.is-order .glp-stk__bar b { background: var(--blue); }
.glp-stk li.is-order .glp-stk__q { color: var(--blue); }

/* Clienti */
.glp-cstat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.glp-cstat div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); min-width: 0; }
.glp-cstat small { display: block; font: 500 .6rem var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glp-cstat b { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.glp-promo { margin: 10px 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255,181,71,.45); background: rgba(255,181,71,.06); color: var(--amber); font-size: .82rem; }
.glp-promo:empty { display: none; }
.glp-cli { display: grid; gap: 4px; }
.glp-cli li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 5.5rem; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.025); font-size: .88rem; }
.glp-cli li.is-new { animation: glp-flash 1.2s var(--ease); }
.glp-cli li > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink-4); font: 500 .74rem var(--f-m); font-style: normal; color: var(--fg); }
.glp-cli li span small { display: block; font: 400 .64rem var(--f-m); color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glp-cli em { padding: 3px 9px; border-radius: 999px; font: 500 .62rem var(--f-m); font-style: normal; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.06); color: var(--fg-2); }
.glp-cli em.lv-gold { background: rgba(255,181,71,.16); color: var(--amber); }
.glp-cli em.lv-silver { background: rgba(207,211,223,.14); color: #d6d9e3; }
.glp-cli li > b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.glp-cli li > b small { display: block; font: 400 .6rem var(--f-m); color: var(--fg-3); }

/* Agenda */
.glp-ag { position: absolute; inset: 0; display: flex; flex-direction: column; }
.glp-ag__ops { display: grid; grid-template-columns: 3.4rem repeat(3, 1fr); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.glp-ag__ops span { display: inline-flex; align-items: center; gap: 7px; font: 500 .74rem var(--f-m); color: var(--fg); padding-left: 4px; }
.glp-ag__ops i { width: 9px; height: 9px; border-radius: 50%; }
.glp-ag__body { flex: 1; min-height: 0; overflow: auto; padding: 8px 12px 14px; scrollbar-width: thin; }
.glp-ag__grid { --ax: 3.4rem; position: relative; }
.glp-ag__hr { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); padding-top: 2px; font: 400 .62rem var(--f-m); color: var(--fg-3); }
.glp-ag__now { position: absolute; left: calc(var(--ax) - 6px); right: 0; z-index: 2; height: 2px; background: var(--red); box-shadow: 0 0 8px rgba(255,91,91,.7); transition: top 1s linear; }
.glp-ag__now::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.glp-appt { position: absolute; left: calc(var(--ax) + (100% - var(--ax)) / 3 * var(--op, 0) + 3px); width: calc((100% - var(--ax)) / 3 - 6px); padding: 3px 7px; overflow: hidden; border-radius: 8px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 15%, #16171e); font-size: .7rem; line-height: 1.25; transition: opacity .6s; }
.glp-appt b { font-weight: 600; }
.glp-appt span { color: var(--fg-2); }
.glp-appt small { display: block; font: 400 .6rem var(--f-m); color: var(--fg-3); }
.glp-appt[data-st="live"] { box-shadow: 0 0 0 1px var(--c), 0 0 18px -4px var(--c); }
.glp-appt[data-st="live"]::after { content: 'IN CORSO'; position: absolute; right: 5px; top: 3px; padding: 0 4px; border-radius: 4px; background: var(--c); color: #0b0c10; font: 600 .5rem/1.5 var(--f-m); }
.glp-appt[data-st="paid"] { opacity: .42; }
.glp-appt[data-st="noshow"] { opacity: .3; text-decoration: line-through; }
.glp-appt.is-fresh { animation: glp-pop 1.4s var(--ease); }
@keyframes glp-pop { 0% { transform: scale(.7); opacity: 0; box-shadow: 0 0 0 0 var(--c); } 40% { transform: scale(1.04); opacity: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 30%, transparent); } }

/* Report */
.glp-rep { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.glp-rep__box { min-width: 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.025); }
.glp-rep__chart { grid-column: 1 / -1; }
.glp-rep__h { margin-bottom: 10px; font: 500 .7rem var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.glp-bars { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; height: 200px; }
.glp-bars div { display: flex; flex-direction: column; min-width: 0; }
.glp-bars span { height: 1.3em; font: 400 .56rem var(--f-m); color: var(--fg-3); text-align: center; white-space: nowrap; overflow: visible; }
.glp-bars em { flex: 1; display: flex; align-items: flex-end; min-height: 0; }
.glp-bars i { display: block; width: 100%; min-height: 2px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(44,240,44,.75), rgba(44,240,44,.25)); transition: height .9s var(--ease); }
.glp-bars .is-now i { background: var(--acc); box-shadow: 0 0 16px rgba(44,240,44,.5); }
.glp-bars .is-now span { color: var(--acc); }
.glp-bars .is-next i { opacity: .2; }
.glp-bars small { margin-top: 5px; font: 400 .62rem var(--f-m); color: var(--fg-3); text-align: center; }
.glp-rl { display: grid; gap: 9px; }
.glp-rl li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: .82rem; }
.glp-rl li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glp-rl li span + span { font: 500 .72rem var(--f-m); color: var(--fg-2); }
.glp-rl li i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.glp-rl li i b { display: block; height: 100%; border-radius: 5px; background: var(--acc); transition: width 1s var(--ease); }

/* ---------- Schermi medi e telefono ---------- */
@media (max-width: 1100px) {
  .glp-pos { grid-template-columns: minmax(0, 1fr) 270px; }
  .glp-stk li { grid-template-columns: 1.5rem minmax(100px, 1fr) 1.6fr 7rem; gap: 10px; }
}
@media (max-width: 900px) {
  .glp-sect__l { display: none; }
  .glp-app .app__nav { order: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .glp-app .app__nav [aria-pressed="true"]::before { top: auto; bottom: -6px; }
  .glp-app .app__nav button { min-height: 52px; }
  .glp-gp { min-height: 0; }
  .glp-pos { position: relative; inset: auto; grid-template-columns: 1fr; }
  .glp-shelf { padding: 10px; }
  .glp-cats button { min-height: 40px; }
  .glp-grid { overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .glp-prod { min-height: 100px; padding: 9px; }
  .glp-prod span { font-size: .74rem; }
  .glp-size { position: fixed; left: 10px; right: 10px; bottom: 82px; z-index: 450; }
  .glp-cart { min-height: 360px; border-left: 0; border-top: 1px solid var(--line); }
  .glp-lines { max-height: 240px; }
  .glp-lines li { grid-template-columns: 1.5rem minmax(0, 1fr) auto 40px; }
  .glp-lines li button { width: 40px; height: 40px; }
  .glp-scroll { position: relative; inset: auto; max-height: 560px; }
  .glp-stk li { grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: 6px 10px; }
  .glp-stk__bar, .glp-stk__sz { grid-column: 2 / -1; grid-row: 2; }
  .glp-stkh .glp-on { margin-left: 0; }
  .glp-cstat b { font-size: 1.05rem; }
  .glp-cstat div { padding: 8px 10px; }
  .glp-cli li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; }
  .glp-cli li > i { width: 34px; height: 34px; }
  .glp-cli em { display: none; }
  .glp-ag { position: relative; inset: auto; height: 500px; }
  .glp-rep { grid-template-columns: 1fr; }
  .glp-bars { height: 160px; gap: 4px; }
  .glp-bars span { visibility: hidden; }
  .glp-bars .is-now span { visibility: visible; }
}
@media (max-width: 560px) {
  .glp-mode { gap: 8px; }
  .glp-mode__b { gap: 10px; min-height: 60px; padding: 10px 12px; border-radius: 15px; }
  .glp-mode__b i { width: 36px; height: 36px; font-size: 1.15rem; border-radius: 10px; }
  .glp-mode__b b { font-size: .98rem; }
  .glp-mode__b small { display: none; }
  .glp-mode__b { justify-content: center; }
  .glp-hint { font-size: .84rem; }
  .glp-sect button { padding: 0 12px; font-size: .8rem; }
  .glp-ag__ops { grid-template-columns: 2.6rem repeat(3, 1fr); padding: 8px; }
  .glp-ag__body { padding: 6px 8px 12px; }
  .glp-ag__grid { --ax: 2.6rem; }
  .glp-appt { padding: 3px 5px; font-size: .64rem; }
  .glp-appt span { display: none; }
  .glp-appt[data-st="live"]::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glp-dev__note, .glp-dev--pos i, .glp-laser i { animation: none; }
}
