/* Stoku: pamja e telefonit (index.html), nga dizajni "Stoku Premium" (Claude Design).
   Ngarkohet pas stilit të brendshëm të index.html dhe pas stoku-tokens.css. Gjithçka nën html.sb, që të fitojë
   mbi stilin e vjetër pa e ndryshuar logjikën. Ngjyrat vetëm nga tokenat (var(--sb-…)), që tema e errët të punojë kudo. */

/* ---------- Variablat e aplikacionit marrin vlerat e dizajnit ---------- */
:root.sb {
  --sfond: var(--sb-bg); --header: var(--sb-bg); --fushe-bg: var(--sb-surface); --fushe-kufi: var(--sb-line);
  --vije: var(--sb-line-2); --tekst: var(--sb-ink); --gri: var(--sb-muted); --hover: var(--sb-surface-2);
  --dialog: var(--sb-surface); --dialog-tekst: var(--sb-ink-2); --rrezik: var(--sb-exp);
  --btn-off-bg: var(--sb-surface-2); --btn-off-tx: var(--sb-disabled);
  --toast-bg: var(--sb-inv-bg); --toast-tx: var(--sb-inv-fg);
  --af-kuqe: var(--sb-exp); --af-kuqe-tx: var(--sb-exp); --af-kuqe-bg: var(--sb-exp-tint);
  --af-verdhe: var(--sb-near); --af-verdhe-tx: var(--sb-near); --af-verdhe-bg: var(--sb-near-tint);
  --af-gjelber: var(--sb-ok); --af-gjelber-tx: var(--sb-ok); --af-gjelber-bg: var(--sb-ok-tint);
}
/* Ngjyra kryesore blu = bluja e dizajnit (ngjyrat e tjera të cilësimit mbeten ato të aplikacionit) */
:root.sb[data-aksent=""], :root.sb:not([data-aksent]) { --primar: var(--sb-accent); --btn-tekst: var(--sb-accent-text); }

.sb body { font-family: var(--sb-font); background: var(--sb-bg); color: var(--sb-ink); -webkit-font-smoothing: antialiased; }
.sb button, .sb input, .sb select, .sb textarea { font-family: inherit; }
.sb [hidden] { display: none !important; }

/* ---------- Header ---------- */
.sb header { background: var(--sb-bg); color: var(--sb-ink); padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 8px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb header h1 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sb header h1.logo { letter-spacing: -.02em; }
.sb #logoSlika { display: flex; height: auto; max-width: none; }
.sb .sb-brand { align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sb .sb-logo { width: 36px; height: 36px; display: block; flex: none; }
.sb .sb-brand__tekst { display: flex; flex-direction: column; min-width: 0; }
.sb .sb-store { font-size: 12px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .sb-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sb .btn-ikone { width: 44px; height: 44px; border-radius: 50%; background: var(--sb-surface); color: var(--sb-ink); box-shadow: var(--sb-ring); }
.sb .btn-ikone:active, .sb .btn-ikone.aktiv { background: var(--sb-surface-2); }
.sb #btnMbrapa, .sb .opsione-krye #opsPrapa, .sb .opsione-krye #afPrapa, .sb .opsione-krye #ekipiPrapa { width: 40px; height: 40px; font-size: 20px; margin-right: 4px; padding: 0; }
.sb #btnMbrapa svg, .sb #opsPrapa svg, .sb #afPrapa svg, .sb #ekipiPrapa svg, .sb #impPrapa svg, .sb #lxPrapa svg { display: block; margin-left: -2px; }
.sb #btnMbrapa { margin-left: 0; }
.sb .btn-ikone .af-shenje { box-shadow: 0 0 0 2px var(--sb-surface); background: var(--sb-badge); }

/* ---------- Fushat dhe butonat ---------- */
.sb input[type="text"], .sb input[type="search"], .sb input[type="number"], .sb input[type="password"], .sb input[type="email"], .sb input[type="date"], .sb select, .sb textarea {
  border: 0; box-shadow: var(--sb-ring); border-radius: 14px; background: var(--sb-surface); color: var(--sb-ink);
}
.sb input:focus, .sb select:focus, .sb textarea:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--sb-accent); outline: none; }
.sb input::placeholder, .sb textarea::placeholder { color: var(--sb-faint); opacity: 1; }
.sb .kerko-kuti { height: 48px; border-radius: 14px; border: 0; box-shadow: var(--sb-ring); background: var(--sb-surface); padding: 0 14px; }
.sb .kerko-kuti:focus-within { box-shadow: 0 0 0 2px var(--sb-accent); }
.sb .kerko-kuti input[type="search"], .sb .kerko-kuti input[type="text"], .sb .kerko-kuti input:focus { box-shadow: none; border-radius: 0; background: transparent; }
.sb .kerko-ikona { color: var(--sb-faint); }
.sb .btn { border-radius: 14px; min-height: 48px; font-weight: 600; background: var(--sb-accent); color: #fff; }
.sb .btn:active { background: var(--sb-accent-press); opacity: 1; }
.sb .btn:disabled { background: var(--sb-surface-2); color: var(--sb-disabled); }
.sb .btn.dyte { background: var(--sb-surface); border: 0; box-shadow: var(--sb-ring); color: var(--sb-ink); }
.sb .btn.dyte:active { background: var(--sb-surface-2); }
.sb .btn.tekst { background: transparent; box-shadow: none; color: var(--sb-accent-text); }
.sb .btn.tekst.rrezik { color: var(--sb-exp); }
.sb .btn.tekst:disabled { color: var(--sb-disabled); }
.sb .hap-btn { border: 0; border-radius: 12px; background: var(--sb-surface-2); color: var(--sb-ink); width: 44px; height: 44px; }
.sb .siper { padding: 6px 20px 4px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb .hint { color: var(--sb-muted); }
.sb label { color: var(--sb-ink-3); font-weight: 600; }

/* ---------- Kryefaqja (Stoku) ---------- */
.sb #btnKrijoFolder { display: none; }
.sb .folderat-rrjeti { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-rows: max-content; gap: 10px; padding: 8px 20px 24px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb .sb-home-krye, .sb .sb-home-fund { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.sb .sb-home-krye { gap: 18px; margin-bottom: -6px; }
.sb .sb-home-fund { margin-top: 8px; }
.sb .folder-karta { border: 0; box-shadow: var(--sb-ring); border-radius: 16px; background: var(--sb-surface); padding: 12px; display: block; min-height: 108px; }
.sb .folder-karta:active { background: var(--sb-surface-2); }
.sb .sb-folder__swatch { display: block; width: 28px; height: 28px; border-radius: 9px; margin-bottom: 12px; }
:root.sb[data-tema="dark"] .sb-folder__swatch { opacity: .85; }
.sb .folder-karta .emri { font-size: 14px; font-weight: 600; line-height: 1.25; }
.sb .folder-karta .numri { font-size: 12px; color: var(--sb-muted); margin-top: 2px; }
.sb .folder-fshij { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 14px; color: var(--sb-faint); }
.sb .folder-fshij:active { background: var(--sb-surface-2); }
.sb .folder-karta.po-zvarritet { box-shadow: 0 10px 28px rgba(0,0,0,.25), 0 0 0 2px var(--sb-accent); background: var(--sb-surface); }

.sb .sb-summary { border-radius: 22px; background: var(--sb-hero); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.sb .sb-summary__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sb .sb-summary__label { font-size: 13px; color: var(--sb-hero-muted); }
.sb .sb-summary__value { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 6px; }
.sb .sb-pill { font-size: 12px; padding: 5px 10px; border-radius: 20px; background: rgba(255,255,255,.1); color: #d7d9de; white-space: nowrap; }
.sb .sb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }
.sb .sb-stat { background: var(--sb-hero-2); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sb .sb-stat__value { font-size: 20px; font-weight: 700; }
.sb .sb-stat__value--exp { color: #f07a6f; }
.sb .sb-stat__label { font-size: 12px; color: var(--sb-hero-muted); }
.sb .sb-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sb .sb-section__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.sb .sb-link { font: inherit; font-size: 13px; font-weight: 600; color: var(--sb-accent-text); background: none; border: 0; padding: 6px 0; cursor: pointer; }
.sb .sb-empty { padding: 28px 0 8px; text-align: center; color: var(--sb-faint); font-size: 14px; }
.sb .sb-list { border-radius: 18px; background: var(--sb-surface); box-shadow: var(--sb-ring); display: flex; flex-direction: column; overflow: hidden; }
.sb .sb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sb .sb-row + .sb-row { border-top: 1px solid var(--sb-line-2); }
.sb .sb-row:active { background: var(--sb-surface-2); }
.sb .sb-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sb .sb-row__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .sb-row__name--bosh { font-style: italic; color: var(--sb-faint); font-weight: 500; }
.sb .sb-row__code { font-family: var(--sb-font); font-variant-numeric: tabular-nums; font-size: 11px; color: var(--sb-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .sb-row__qty { font-size: 15px; font-weight: 700; min-width: 34px; text-align: right; }
.sb .sb-row__qty--exp { color: var(--sb-exp); }
.sb .artikull .sasia--zero { color: var(--sb-exp); }

/* Lista brenda folderit dhe kërkimi */
.sb #lista, .sb #kerkoGlobalLista { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb .artikull { border-bottom: 1px solid var(--sb-line-2); }
.sb .artikull:active { background: var(--sb-surface-2); }
.sb .artikull .emri { font-size: 15px; font-weight: 600; }
.sb .artikull .kodi { font-family: var(--sb-font); font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--sb-faint); }
.sb .artikull .sasia { font-weight: 700; }
.sb .sasia-hap-btn { border: 0; box-shadow: var(--sb-ring); background: var(--sb-surface); }
.sb .folder-etikete { background: var(--sb-accent-tint); border-color: var(--sb-accent-line); color: var(--sb-accent-text); }
.sb footer { border-top: 1px solid var(--sb-line); background: var(--sb-bg); }

/* ---------- Menyja poshtë ---------- */
.sb #tabet { background: var(--sb-tabbar); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--sb-line); box-shadow: none; }
.sb #tabet .tab { color: var(--sb-faint); font-size: 11px; font-weight: 500; }
.sb #tabet .tab.aktiv { color: var(--sb-accent-text); font-weight: 600; }
.sb #tabet .tab.aktiv .tab-ikona { background: transparent; }
.sb #tabet .tab:active .tab-ikona { background: var(--sb-surface-2); }
.sb #tabet .tab-ikona { width: 44px; }
.sb #tabet svg { width: 22px; height: 22px; stroke-width: 1.9; }
.sb #tabet .af-shenje { background: var(--sb-badge); border-color: var(--sb-surface); top: -4px; right: 2px; font-size: 10px; font-weight: 700; }
.sb #tabet .af-shenje.verdhe { background: #f0b95a; color: #3b2a00; }

/* ---------- Faqet e plota (Afatet, Ekipa, Cilësimet, leximi i fletës, importi) ---------- */
.sb .faqe-kuti { background: var(--sb-bg); }
.sb .opsione-krye { background: var(--sb-bg); color: var(--sb-ink); padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); min-height: calc(58px + env(safe-area-inset-top)); }
.sb .opsione-krye h2 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.sb .faqe-trup { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb .opsione-trup { padding-left: 20px; padding-right: 20px; }
.sb .faqe-fund { background: var(--sb-bg); border-top: 1px solid var(--sb-line); }
.sb .segment { border-radius: 14px; background: var(--sb-sunken); padding: 4px; border: 0; }
.sb .segment button { border-radius: 10px; border: 0; background: transparent; color: var(--sb-ink-4); font-weight: 600; }
.sb .segment button.aktiv { background: var(--sb-seg-on); color: var(--sb-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sb .kategori-rresht { border: 0; box-shadow: var(--sb-ring); background: var(--sb-surface); border-radius: 18px; }
.sb .kat-ikona-badge { background: var(--sb-accent-tint); color: var(--sb-accent-text); }

/* ---------- Cilësimet (v128): grupe si karta, ikona me ngjyrë, profili në krye ---------- */
.sb #dlgOpsione .dialog.opsione { background: var(--sb-bg); }
.sb .kategori-menu { padding: 6px 0 18px; gap: 0; }
.sb .ops-grupi-titull { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sb-faint); margin: 22px 4px 8px; }
.sb .ops-grupi { background: var(--sb-surface); border-radius: 20px; box-shadow: var(--sb-ring); overflow: hidden; }
.sb .ops-grupi > .kategori-rresht { border-radius: 0; box-shadow: none; background: transparent; padding: 13px 16px; position: relative; text-decoration: none; color: inherit; }
.sb .ops-grupi > .kategori-rresht + .kategori-rresht::before { content: ''; position: absolute; left: 66px; right: 0; top: 0; border-top: 1px solid var(--sb-line-2); }
.sb .ops-grupi > .kategori-rresht:active { background: var(--sb-surface-2); }
.sb .kat-ikona-badge { width: 36px; height: 36px; border-radius: 11px; }
.sb .kat-tekst { font-size: 15.5px; font-weight: 600; color: var(--sb-ink); }
.sb .kat-status { font-size: 12.5px; color: var(--sb-muted); }
.sb .kategori-rresht .shigjeta { color: var(--sb-faint-2); font-size: 20px; }

.sb .ops-profil { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--sb-ink); background: var(--sb-surface); box-shadow: var(--sb-ring); border-radius: 22px; padding: 16px; margin-top: 4px; }
.sb .ops-profil:active { background: var(--sb-surface-2); }
.sb .ops-profil .shigjeta { color: var(--sb-faint-2); font-size: 20px; flex: none; }
.sb .ops-profil__emri { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--sb-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .ops-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3b7be0, #1f5fc4); box-shadow: 0 6px 14px -6px rgba(31,95,196,.7); }
.sb .ops-av.bosh { background: var(--sb-sunken); color: var(--sb-faint); box-shadow: none; }
.sb .ops-av--madh { width: 56px; height: 56px; font-size: 23px; }
.sb .ops-fundi { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 6px; color: var(--sb-muted); font-size: 13px; }
.sb .ops-fundi img { border-radius: 8px; display: block; }
.sb .ops-fundi b { color: var(--sb-ink-2); font-weight: 700; }
.sb .ops-app-btn { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px auto 0; padding: 7px 16px; min-height: 34px; border: 1px solid var(--sb-line, rgba(127,127,127,.28)); border-radius: 999px; background: transparent; color: var(--sb-ink-2); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .005em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sb .ops-app-btn[hidden] { display: none; }
.sb .ops-app-btn svg { color: var(--sb-muted); flex: none; }
.sb .ops-app-btn:active { background: var(--sb-surface-2); }
.sb .ops-app-btn + .ops-fundi { margin-top: 12px; }

/* Faqet brenda */
.sb .opsione-faqet { padding: 2px 0 18px; }
.sb .ops-intro { font-size: 14px; line-height: 1.45; color: var(--sb-ink-4); margin: 2px 4px 16px; }
.sb .opsione-faqe .seksion { padding: 0; border-bottom: 0; }
.sb .ops-karta, .sb .opsione-faqe > .seksion.ops-karta { background: var(--sb-surface); border-radius: 20px; box-shadow: var(--sb-ring); padding: 16px; margin-bottom: 12px; }
.sb .opsion-titull { font-size: 15px; font-weight: 700; color: var(--sb-ink); margin: 0 0 12px; letter-spacing: -.005em; }
.sb .ops-karta .hint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; }

/* Shembulli (pamja) */
.sb .ops-shembull { margin: 0 0 12px; padding: 12px; border-radius: 22px; background: var(--sb-sunken); }
.sb .ops-shembull .af-karta { display: flex; margin: 0; pointer-events: none; }

/* Zgjedhjet me pamje (tema, madhësia) */
.sb .ops-tema, .sb .ops-madhesia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sb .ops-zgjedhja__emri { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .ops-tema button, .sb .ops-madhesia button { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 10px 8px 11px; border-radius: 16px; border: 0; background: var(--sb-surface-2); box-shadow: inset 0 0 0 1.5px transparent; color: var(--sb-ink-3); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: box-shadow .15s, background .15s; }
/* (pas rregullit bazë: me të njëjtën specifikë fiton i fundit) */
@media (max-width: 360px) { .sb .ops-tema { gap: 7px; } .sb .ops-tema button { padding: 8px 4px 9px; font-size: 11.5px; letter-spacing: -.01em; } }
.sb .ops-tema button.aktiv, .sb .ops-madhesia button.aktiv { background: var(--sb-accent-tint); box-shadow: inset 0 0 0 2px var(--sb-accent); color: var(--sb-accent-text); }
.sb .ops-mock { position: relative; width: 100%; max-width: 84px; height: 66px; border-radius: 11px; overflow: hidden; display: flex; flex-direction: column; gap: 5px; padding: 8px 8px 0; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.sb .ops-mock b { display: block; width: 46%; height: 6px; border-radius: 3px; margin-bottom: 2px; }
.sb .ops-mock i { display: block; height: 16px; border-radius: 5px; }
.sb .ops-mock--light { background: #f6f5f2; }
.sb .ops-mock--light b { background: #14161b; } .sb .ops-mock--light i { background: #fff; box-shadow: 0 0 0 1px #e6e4df; }
.sb .ops-mock--dark { background: #0f1115; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.sb .ops-mock--dark b { background: #eceef2; } .sb .ops-mock--dark i { background: #1f232a; }
.sb .ops-mock--auto { background: linear-gradient(90deg, #f6f5f2 50%, #0f1115 50%); }
.sb .ops-mock--auto b { background: linear-gradient(90deg, #14161b 0 46%, transparent 46% 54%, #eceef2 54% 100%); width: 92%; }
.sb .ops-mock--auto i { background: linear-gradient(90deg, #fff 50%, #1f232a 50%); }
.sb .ops-mock i:nth-of-type(1) { position: relative; }
.sb .ops-mock i:nth-of-type(1)::after { content: ''; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border-radius: 3px; background: #f0b95a; }
.sb .ops-aa { height: 52px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--sb-ink); letter-spacing: -.02em; }
.sb .ops-aa--madh { font-size: 30px; }
.sb .ops-aa--vogel { font-size: 15px; }

/* Rreshtat me ikonë (Skenimi, Renditja) */
.sb .ops-grupi > .seksion { padding: 14px 16px; position: relative; }
.sb .ops-grupi > .seksion + .seksion::before { content: ''; position: absolute; left: 66px; right: 0; top: 0; border-top: 1px solid var(--sb-line-2); }
.sb .ops-grupi label.opsion-rresht { display: flex; align-items: center; gap: 14px; padding: 0; font-size: 15px; font-weight: 600; color: var(--sb-ink); }
.sb .ops-rresht__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.sb .ops-rresht__tekst .hint { font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--sb-muted); margin: 0; }
.sb .ops-grupi .kat-ikona-badge { flex: none; display: flex; align-items: center; justify-content: center; }
.sb .ops-grupi label.opsion-rresht .kat-ikona-badge { align-self: flex-start; }
.sb .ndez .pist { background: var(--sb-track); }
.sb .ndez input:checked + .pist { background: var(--sb-ok-dot); }
.sb .ops-radio button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--sb-ink); cursor: pointer; position: relative; text-align: left; }
.sb .ops-radio button + button::before { content: ''; position: absolute; left: 66px; right: 0; top: 0; border-top: 1px solid var(--sb-line-2); }
.sb .ops-radio button:active { background: var(--sb-surface-2); }
.sb .ops-radio__rreth { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sb-control); transition: box-shadow .15s; }
.sb .ops-radio button.aktiv .ops-radio__rreth { box-shadow: inset 0 0 0 7px var(--sb-accent); }
.sb .fsheh-plote { display: none !important; }

/* Llogaria */
.sb .ops-ll-krye { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sb .ops-ll-titull { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--sb-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .ops-ik-madh { width: 48px; height: 48px; border-radius: 15px; flex: none; display: flex; align-items: center; justify-content: center; }
.sb .ops-ll-status { display: flex; align-items: center; gap: 6px; white-space: normal; }
.sb .ops-pika { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sb-ok-dot); box-shadow: 0 0 0 3px var(--sb-ok-tint); }
.sb #dlgOpsione .rreshti { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.sb #dlgOpsione .rreshti .btn { width: 100%; margin: 0; }
.sb #cloudHyrjeSeksion .fushe { margin: 10px 0 0; }
.sb #cloudHyrjeSeksion .rreshti { margin-top: 14px; }
.sb #cloudHyrjeSeksion > .hint#cloudHint { margin: 0 0 4px; }
/* Prova si vizitor (v217): pa formë hyrjeje te Cilësimet (hyrja bëhet te porta), shiriti sipër folderave */
.sb #cloudHyrjeSeksion .ll-vizitor { display: none; }
.sb #cloudHyrjeSeksion.si-vizitor .ll-forma { display: none; }
.sb #cloudHyrjeSeksion.si-vizitor .ll-vizitor { display: block; }
.sb #dlgOpsione #cloudHyrjeSeksion .ll-vizitor .rreshti { grid-template-columns: 1fr; }
.sb .viz-shirit { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 8px 8px 14px; border-radius: 14px;
  background: var(--sb-accent-tint); color: var(--sb-accent-text); font-size: 13.5px; line-height: 1.35; }
.sb .viz-shirit[hidden] { display: none; }
.sb .viz-shirit b { font-weight: 700; }
.sb .viz-shirit .btn { flex: none; margin-left: auto; min-height: 36px; height: 36px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.sb .btn.ops-btn-dyte { background: var(--sb-surface-2); color: var(--sb-accent-text); box-shadow: none; min-height: 44px; font-size: 14.5px; }
.sb .btn.ops-btn-dyte:active { background: var(--sb-sunken); }
.sb #llogariaBrendaSeksion > .ops-grupi-titull { margin-top: 18px; }
.sb .ops-fusha-titull { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--sb-ink); margin-bottom: 10px; }
.sb .ops-fusha-titull .kat-ikona-badge { width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.sb .ops-inline { display: flex; gap: 8px; align-items: stretch; }
.sb .ops-inline .fushe { flex: 1; min-width: 0; margin: 0; }
.sb .ops-inline .fushe input { height: 46px; }
.sb .ops-inline .btn { flex: none; min-height: 46px; padding: 0 16px; }
.sb .ops-ndares { border-top: 1px solid var(--sb-line-2); margin: 16px -16px 14px; }
.sb #cloudRiautSeksion { margin-top: 12px; }
.sb #cloudRiautSeksion .fushe { margin: 8px 0; }
.sb .ops-dil { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: 18px; background: var(--sb-surface); box-shadow: var(--sb-ring); color: var(--sb-exp); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sb .ops-dil:active { background: var(--sb-exp-tint); }
/* Furnizuesit (Cilësimet → Stoku, vetëm administratori) */
.sb .ops-grupi-titull--pare { margin-top: 4px; }
.sb .ops-furn-kerko { margin: 0 0 10px; }
.sb .ops-furn-kerko[hidden] { display: none; }
.sb .ops-furn-rresht { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border: 0; background: transparent; font: inherit; color: var(--sb-ink); cursor: pointer; position: relative; text-align: left; }
.sb .ops-furn > * + *::before { content: ''; position: absolute; left: 66px; right: 0; top: 0; border-top: 1px solid var(--sb-line-2); }
.sb .ops-furn > * { position: relative; }
.sb .ops-furn-rresht:active { background: var(--sb-surface-2); }
.sb div.ops-furn-rresht { cursor: default; }
.sb div.ops-furn-rresht:active { background: transparent; }
.sb .kat-status--pritje { color: var(--sb-ic-portokalli); font-weight: 600; }
.sb .ops-furn-ik { flex: none; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.sb .ops-furn-emri { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .ops-furn-laps { flex: none; color: var(--sb-faint); display: flex; }
.sb .ops-furn-edit { padding: 14px 16px; background: var(--sb-accent-tint); display: flex; flex-direction: column; gap: 8px; }
.sb .ops-furn-edit .hint { margin: 0; font-size: 12.5px; color: var(--sb-ink-4); }
.sb .ops-furn-edit input { height: 46px; }
.sb .ops-furn-gabim { color: var(--sb-exp) !important; font-weight: 600; }
.sb .ops-furn-gabim:empty { display: none; }
.sb .ops-furn-veprime { display: flex; gap: 8px; }
.sb .ops-furn-veprime .btn { flex: 1; min-height: 44px; }
.sb .ops-furn-bosh { padding: 16px; font-size: 14px; color: var(--sb-muted); }
.sb .ops-me-shume { display: block; width: 100%; min-height: 50px; padding: 14px 16px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--sb-accent-text); cursor: pointer; }
.sb .ops-me-shume:active { background: var(--sb-surface-2); }
/* Njoftimet: hapat për orën */
.sb .ops-ora-zgjedhja { margin: 0 0 14px; }
.sb .ops-ora-zgjedhja button { min-height: 38px; font-size: 13.5px; }
.sb .ops-ll-krye .kat-status { white-space: normal; line-height: 1.4; }
.sb #njProveHint:empty { display: none; }
.sb #dlgOpsione .ops-nj-veprime { display: flex; flex-wrap: wrap; margin-top: 2px; }
.sb #dlgOpsione .ops-nj-veprime .btn { flex: 1 1 140px; width: auto; }
.sb .ops-hapat { margin: 2px 0 0; padding: 0; list-style: none; counter-reset: hapi; display: flex; flex-direction: column; gap: 12px; }
.sb .ops-hapat li { counter-increment: hapi; position: relative; padding-left: 36px; font-size: 14px; line-height: 1.45; color: var(--sb-ink-2); }
.sb .ops-hapat li::before { content: counter(hapi); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--sb-ic-blu-bg); color: var(--sb-ic-blu); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sb .ops-hapat b { font-weight: 700; color: var(--sb-ink); }

/* ---------- Afatet ---------- */
.sb .sb-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 4px 0 14px; }
/* v268 (ideja 5 e përdoruesit): butoni lundrues i folderit, vetëm ikona; eksporti te koka.
   v273 (pronari zgjodhi "ideja 2" pa tekst): dy katrorë të ndarë 72 × 72 (blu = kamera, i verdhë = Skanim i shpejtë), ikonat 40 px */
.sb .skan-fab { position: fixed; z-index: 20; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + var(--sab, 0px)); display: flex; gap: 12px; }
.sb .skan-fab button { width: 72px; height: 72px; border: 0; padding: 0; border-radius: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 24px rgba(20,22,30,.22); }
.sb[data-tema="dark"] .skan-fab button { box-shadow: 0 10px 26px rgba(0,0,0,.6); }
.sb .skan-fab button svg { width: 40px; height: 40px; }
.sb .skan-fab #btnKamera { background: var(--sb-accent); color: #fff; }
.sb .skan-fab #btnSkanimShpejt { background: #e8a92e; color: #2b2100; }
.sb .skan-fab button:active { filter: brightness(.92); }
/* v273: vendi i butonit (Cilësimet → Skenimi); pa atributin mbetet djathtas */
.sb .skan-fab[data-vendi="mes"] { right: auto; left: 50%; transform: translateX(-50%); }
.sb .skan-fab[data-vendi="majtas"] { right: auto; left: max(20px, env(safe-area-inset-left)); }
/* toast-i (në mes, 80 px nga fundi) s'bie mbi butonin kur ky është në mes: del mbi të */
html.me-fab #toast { bottom: calc(102px + var(--sab, 0px)); }
.sb .ops-fab-foto { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sb .ops-fab-foto .hint { margin: 0; }
/* fotoja e vogël: të njëjtët dy katrorë, më të vegjël */
.sb .ops-fab-pill { flex: none; display: flex; gap: 6px; }
.sb .ops-fab-pill > span { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(20,22,30,.18); }
.sb .ops-fab-pill svg { width: 22px; height: 22px; }
.sb .ops-fab-pill__k { background: var(--sb-accent); color: #fff; }
.sb .ops-fab-pill__sh { background: #e8a92e; color: #2b2100; }
/* pronari: te tri zgjedhjet vetëm emri (fotoja e butonit mjafton lart) */
.sb .ops-vendi button { justify-content: center; min-height: 48px; padding: 0 8px; }
.sb.me-fab #lista { padding-bottom: 104px; }
.sb .krye-excel { color: #1e7f45; }
.sb .krye-pdf { color: #c23030; }
.sb[data-tema="dark"] .krye-excel { color: #4cc783; }
.sb[data-tema="dark"] .krye-pdf { color: #ff7a7a; }
.sb .btn-ikone:disabled { opacity: .5; }
.sb #btnTastiera { width: 100%; margin: 0 0 10px; }
.sb #dlgAfatet.zgjedhje .sb-actions { display: none; }
.sb .sb-action-primary-kuti { grid-row: span 2; position: relative; display: flex; }
.sb .sb-action-primary { flex: 1; min-height: 132px; border-radius: 20px; background: var(--sb-accent); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 12px; border: 0; text-align: left; font: inherit; cursor: pointer; box-shadow: var(--sb-shadow-accent); }
.sb .sb-action-primary:active { background: var(--sb-accent-press); }
.sb .sb-action-primary__ik { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; }
.sb .sb-action-primary__title { display: block; font-size: 16px; font-weight: 700; }
.sb .sb-action-primary__sub { display: block; font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.35; margin-top: 3px; }
.sb .sb-action-galeria { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sb .sb-action-galeria:active { background: rgba(255,255,255,.3); }
.sb .sb-action { width: 100%; border-radius: 16px; background: var(--sb-surface); box-shadow: var(--sb-ring); padding: 12px 14px; min-height: 61px; display: flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--sb-ink); border: 0; cursor: pointer; }
.sb .sb-action svg { color: var(--sb-accent-text); flex: none; }
.sb .sb-action > svg:last-child:not(:first-child) { margin-left: auto; color: var(--sb-faint); }
.sb .sb-action:active { background: var(--sb-surface-2); }
/* v277 (pronari, ideja 10 "B"; v278 pa kornizën blu, si "Importo" / "Eksporto"): "Shto" dhe ikonën e barkodit; poshtë "Importo" dhe "Eksporto" pranë njëri-tjetrit
   (kornizë e hollë, pa sfond, ikona sipër tekstit). Ikonat 19 px, njësoj si te Android-i. */
.sb .sb-action.sb-action-shto { justify-content: center; background: transparent; box-shadow: inset 0 0 0 1.5px var(--sb-line); color: var(--sb-ink); font-size: 15px; }
.sb .sb-action.sb-action-shto:active { background: var(--sb-surface-2); }
.sb .sb-ie { display: flex; gap: 8px; min-width: 0; }
.sb .sb-ie > * { flex: 1 1 0; min-width: 0; }
.sb .sb-action.sb-action-kv { flex-direction: column; justify-content: center; gap: 5px; padding: 8px 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--sb-line); color: var(--sb-ink); font-size: 12px; height: 100%; }
.sb .sb-action.sb-action-kv:active { background: var(--sb-surface-2); }
.sb .sb-action.sb-action-shto > svg, .sb .sb-action.sb-action-shto > svg:first-child,
.sb .sb-action.sb-action-kv > svg, .sb .sb-action.sb-action-kv > svg:first-child { width: 19px; height: 19px; color: currentColor; }
.sb .sb-xls { font-family: var(--sb-mono); font-size: 10px; font-weight: 500; color: var(--sb-ok); }
.sb .sb-excel { position: relative; }
.sb .sb-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: max-content; /* v280: aq e gjerë sa teksti */ background: var(--sb-surface); border-radius: 14px; box-shadow: var(--sb-ring), 0 16px 40px -12px rgba(0,0,0,.3); padding: 6px; display: flex; flex-direction: column; }
.sb .sb-menu__item { white-space: nowrap; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--sb-ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.sb .sb-menu__item:active { background: var(--sb-surface-2); }
/* v278: në temën e errët menyja dallohet nga faqja (sfond më i çelët + vijë), se hija s'shihet */
.sb[data-tema="dark"] .sb-menu { background: var(--sb-surface-2); box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 16px 40px -12px rgba(0,0,0,.6); }
.sb[data-tema="dark"] .sb-menu__item:active { background: var(--sb-sunken); }
.sb .sb-menu__item svg { color: var(--sb-muted); flex: none; }

/* v185: rreshtat e filtrave rrëshqasin brenda vijave të faqes (s'dalin më skaj më skaj) */
.sb .af-filtrat { gap: 8px; margin: 0 0 12px; padding: 2px; border-radius: 18px; scroll-padding-inline: 2px; }
.sb .af-filtrat button { height: 36px; border: 0; border-radius: 18px; background: var(--sb-surface); color: var(--sb-ink-2); box-shadow: var(--sb-ring); padding: 0 14px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.sb .af-filtrat button.aktiv { background: var(--sb-inv-bg); color: var(--sb-inv-fg); box-shadow: none; }
.sb .sb-chip__count { font-size: 11px; opacity: .7; }
.sb .sb-chip__count:empty { display: none; }

.sb .af-karta { border: 0; border-radius: 18px; background: var(--sb-surface); box-shadow: var(--sb-ring); padding: 14px; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
/* Ngjyra të lehta sipas statusit (v128): e kuqe e lehtë = skaduar, e verdhë = afër, e gjelbër = në rregull */
.sb .af-karta.skaduar, .sb .af-karta.pa-date { background: var(--sb-card-exp); box-shadow: 0 0 0 1px var(--sb-card-exp-line); opacity: 1; }
.sb .af-karta.afer { background: var(--sb-card-near); box-shadow: 0 0 0 1px var(--sb-card-near-line); opacity: 1; }
.sb .af-karta.ok { background: var(--sb-card-ok); box-shadow: 0 0 0 1px var(--sb-card-ok-line); opacity: 1; }
.sb .af-karta.hequr { background: var(--sb-card-rem); box-shadow: 0 0 0 1px var(--sb-card-rem-line); opacity: 1; }
.sb .af-karta:active { filter: none; background: var(--sb-surface-2); }
.sb .af-karta.zgjedhur { box-shadow: 0 0 0 2px var(--sb-accent); }
.sb .af-zgjedh { align-self: center; }
.sb .sb-days { width: 52px; height: 52px; border-radius: 14px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; }
.sb .sb-days__big { font-size: 19px; font-weight: 700; }
.sb .sb-days__small { font-size: 9.5px; font-weight: 600; margin-top: 3px; padding: 0 2px; }
.sb .sb-days--exp { background: var(--sb-exp-tint); color: var(--sb-exp); }
.sb .sb-days--near { background: var(--sb-near-tint); color: var(--sb-near); }
.sb .sb-days--ok { background: var(--sb-ok-tint); color: var(--sb-ok); }
.sb .sb-days--rem { background: var(--sb-rem-tint); color: var(--sb-rem); }
.sb .af-karta .af-emri { font-size: 15px; font-weight: 600; }
.sb .af-karta .af-nen { font-size: 12px; color: var(--sb-muted); margin-top: 3px; }
.sb .af-kodi { font-family: var(--sb-font); font-variant-numeric: tabular-nums; font-size: 11px; color: var(--sb-faint); margin-top: 2px; overflow-wrap: anywhere; }
.sb .af-karta .af-mesazh { font-size: 12px; font-weight: 600; margin-top: 4px; }
.sb .af-karta.hequr .af-mesazh { color: var(--sb-rem); }
.sb .af-pill { border-radius: 10px; border-width: 0; box-shadow: 0 0 0 1.5px currentColor; padding: 6px 11px; }
.sb .af-grup-krye { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-muted); }
/* v248: merchandiseri: marketi te çdo afat dhe grupet sipas marketit ("Krejt marketet") */
.sb .af-karta .af-market { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; margin-top: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--sb-ic-gjelber-bg); color: var(--sb-ic-gjelber); font-size: 12px; font-weight: 700; }
.sb .af-karta .af-market span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .af-karta .af-market svg { flex: none; }
.sb .af-grup-krye.af-grup-market { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--sb-ic-gjelber); }
.sb .af-grup-krye.af-grup-market svg { flex: none; }
.sb .af-grup-krye--nen { font-size: 11px; padding-left: 4px; }
.sb .af-bosh { color: var(--sb-faint); font-size: 14px; padding: 48px 16px; }
.sb .af-bosh b { color: var(--sb-ink); }
.sb .af-bosh .ek-viz-hyr { display: block; width: fit-content; margin: 18px auto 0; padding: 0 22px; }
.sb .af-shiriti-zgjedhjes { background: var(--sb-inv-bg); color: var(--sb-inv-fg); box-shadow: none; border-radius: 14px; }
.sb .af-shiriti-zgjedhjes button { color: inherit; }

/* ---------- Ekipa ---------- */
.sb #ekipiData { font-size: 13px; font-weight: 500; color: var(--sb-muted); opacity: 1; }
.sb .ek-menu-kuti { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sb .ek-pult-pllakat { margin: 16px 0 4px; }
.sb .ek-pult-sfond { display: none; }
.sb .ek-pult-hero { margin-top: 4px; border: 0; box-shadow: var(--sb-ring); border-radius: 20px; background: var(--sb-surface); padding: 16px; }
.sb .ek-pult-hero .ek-hero-titulli { font-size: 16px; font-weight: 700; color: var(--sb-ink); margin-bottom: 14px; }
.sb .ek-hero-nr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb .ek-hero-nr button { border-radius: 14px; padding: 12px; font-size: 11px; font-weight: 500; }
.sb .ek-hero-nr b { font-size: 22px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.sb .ek-hero-nr .skaduar { background: var(--sb-exp-tint); color: var(--sb-exp); }
.sb .ek-hero-nr .afer { background: var(--sb-near-tint); color: var(--sb-near); }
.sb .ek-hero-nr .ok { background: var(--sb-ok-tint); color: var(--sb-ok); }
.sb .ek-hero-nr .skaduar b, .sb .ek-hero-nr .afer b, .sb .ek-hero-nr .ok b { color: inherit; }
.sb .ek-hero-shirit { display: none; }
.sb .ek-seksion { margin: 22px 0 10px; }
.sb .ek-seksion b { font-size: 17px; font-weight: 700; }
.sb .ek-seksion button { color: var(--sb-accent-text); font-weight: 600; }
.sb .ek-kart { border: 0; box-shadow: var(--sb-ring); border-radius: 18px; background: var(--sb-surface); padding: 12px 14px; }
.sb .ek-kart-data { width: 52px; height: 52px; border-radius: 14px; }
.sb .ek-kart-data b { font-weight: 700; font-size: 19px; }
.sb .ek-kart-trup .em { font-weight: 600; }
.sb .ek-kart-hiq { border-radius: 12px; background: var(--sb-exp); }
:root.sb[data-tema="dark"] .ek-kart-hiq { color: #14161b; }
.sb .ek-kart.mire { background: var(--sb-ok-tint); color: var(--sb-ok); box-shadow: none; }
.sb .ek-pult-kerkesat { background: var(--sb-accent-tint); border: 0; box-shadow: 0 0 0 1px var(--sb-accent-line); border-radius: 18px; }
.sb .ek-av.online::after { background: var(--sb-ok-dot); border-color: var(--sb-bg); }
.sb .ek-ngjarje, .sb .ek-nj { border-bottom-color: var(--sb-line-2); }
.sb .af-numer { background: var(--sb-surface); box-shadow: var(--sb-ring); }
.sb .af-numer.skaduar { background: var(--sb-exp-tint); color: var(--sb-exp); box-shadow: none; }
.sb .af-numer.afer { background: var(--sb-near-tint); color: var(--sb-near); box-shadow: none; }
.sb .af-numer.ok { background: var(--sb-ok-tint); color: var(--sb-ok); box-shadow: none; }
.sb .af-numer.hequr { background: var(--sb-rem-tint); color: var(--sb-rem); box-shadow: none; }

/* ---------- Dialogët: "bottom sheet" ---------- */
.sb .mbulese:not(.faqe-e-plote):not(#dlgOpsione) { background: var(--sb-overlay); align-items: flex-end; padding: 0; }
.sb .mbulese:not(.faqe-e-plote):not(#dlgOpsione) > .dialog { max-width: 560px; border-radius: 32px 32px 0 0; padding: 10px 20px calc(20px + var(--sab, env(safe-area-inset-bottom))); max-height: 92%; position: relative; animation: sbSheet .24s cubic-bezier(.2,.8,.2,1); }
.sb .mbulese:not(.faqe-e-plote):not(#dlgOpsione) > .dialog::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--sb-track); margin: 0 auto 14px; }
@keyframes sbSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sb .mbulese:not(.faqe-e-plote):not(#dlgOpsione) > .dialog { animation: none; } }
body.pa-animim .mbulese > .dialog { animation: none; }
.sb .dialog { background: var(--sb-surface); color: var(--sb-ink); }
.sb .dialog h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sb .dialog p { color: var(--sb-ink-2); }
.sb .dialog label, .sb .sb-field-label { font-size: 13px; font-weight: 600; color: var(--sb-ink-3); }
.sb .veprime { gap: 8px; padding-top: 10px; }
.sb #dlgOpsione { background: transparent; align-items: stretch; }
.sb .sb-sheet-krye { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sb .sb-sheet-krye h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sb .sb-sheet-krye .btn.tekst { flex: none; min-height: 40px; padding: 0 4px; color: var(--sb-muted); font-weight: 500; }
.sb .sb-hint { font-size: 12px; color: var(--sb-muted); }

/* Afat i ri: karta e errët e skanimit, datat e shpejta, sasia − / + */
.sb #dlgAfat .dialog { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.sb #dlgAfat .dialog > * { margin-top: 0; margin-bottom: 0; }
.sb #dlgAfat .sb-sheet-krye { margin-bottom: 0; }
.sb .sb-scan { border-radius: 20px; background: var(--sb-hero); color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.sb .sb-scan__status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sb-hero-muted); margin: 0 0 4px; }
.sb .sb-scan__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sb-ok-dot); box-shadow: 0 0 0 4px rgba(79,191,127,.2); flex: none; }
.sb .sb-scan .af-barkodi-rresht { display: flex; align-items: center; gap: 8px; margin: 0; }
.sb .sb-scan input[type="text"] { height: 40px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; color: #fff; }
.sb .sb-scan input[type="text"]:focus { box-shadow: 0 2px 0 0 rgba(255,255,255,.55); }
.sb .sb-scan input::placeholder { color: rgba(255,255,255,.45); }
.sb .sb-scan #afatBarkodi { flex: 1; min-width: 0; font-family: var(--sb-font); font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: .08em; }
.sb .sb-scan #afatEmri { font-size: 16px; font-weight: 600; }
.sb .sb-scan .af-skano { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.sb .sb-afat-seksion { display: flex; flex-direction: column; gap: 8px; }
.sb #afatData { height: 48px; }
.sb .sb-stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 16px; box-shadow: var(--sb-ring); padding: 10px 10px 10px 16px; }
.sb .sb-stepper label { display: flex; flex-direction: column; gap: 1px; margin: 0; }
.sb .sb-stepper__controls { display: flex; align-items: center; gap: 6px; }
.sb .sb-stepper__btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--sb-surface-2); color: var(--sb-ink); font-size: 22px; line-height: 1; cursor: pointer; user-select: none; padding: 0; }
.sb .sb-stepper__btn--plus { background: var(--sb-accent); color: #fff; }
.sb .sb-stepper .sb-stepper__value { width: 72px; height: 44px; padding: 0 4px; text-align: center; font-size: 22px; font-weight: 700; box-shadow: none; background: transparent; }
.sb .sb-stepper .sb-stepper__value:focus { box-shadow: 0 0 0 2px var(--sb-accent); }
.sb #dlgAfat .veprime { flex-wrap: nowrap; padding-top: 2px; }
.sb #afatRuaj { flex: 1; min-height: 56px; border-radius: 14px; font-size: 16px; font-weight: 700; box-shadow: var(--sb-shadow-accent); }
.sb #afatFshij { min-height: 56px; }
.sb .af-info-dlg { border-radius: 14px; }

/* Tost */
.sb #toast { border-radius: 14px; background: var(--sb-inv-bg); color: var(--sb-inv-fg); }

/* ---------- Zgjedhja e tekstit (v139 / 1.0.1) ----------
   Shtypja e gjatë s'e zgjedh më krejt faqen (titujt, butonat, menytë, numrat). Zgjidhen dhe kopjohen vetëm:
   barkodet, emrat e produkteve dhe krejt fushat ku shkruhet.
   (Kartat e afateve mbeten pa zgjedhje: aty shtypja e gjatë nis zgjedhjen e shumë afateve; barkodi kopjohet te dritarja e afatit.) */
html.sb body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sb input, .sb textarea, .sb select, .sb [contenteditable="true"],
.sb .artikull .emri, .sb .artikull .kodi,
.sb .sb-row__name, .sb .sb-row__code,
.sb .kodi-dialog {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}


/* Fotoja e profilit (Fotot.apliko te ekipa.js): fotoja mbulon shkronjën */
.sb .me-foto { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; background-color: var(--sb-sunken) !important; color: transparent !important; text-shadow: none !important; }
.sb #opsLlAv { cursor: pointer; }
.sb .ops-foto-rresht { margin-top: 12px; }
.sb .ops-foto-rresht .ops-foto-hiq { color: var(--sb-exp); }

/* Ikonat e folderave te kryefaqja (në vend të katrorëve me ngjyrë) */
.sb .sb-folder__swatch.folder-ikona { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; opacity: 1; }
:root.sb[data-tema="dark"] .sb-folder__swatch.folder-ikona { opacity: 1; } /* ngjyrat .ngj-* janë tashmë për temën e errët */
.sb #dlgFolder .fl-ikonat-titull { margin-top: 4px; }

/* Ekipa: "Kërko heqje nga rafti" (pulti) + butoni "E hoqa nga rafti" te njoftimet */
.sb .ek-kerko-heqje { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 4px; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--sb-surface); box-shadow: var(--sb-ring); color: var(--sb-ink); font: inherit; text-align: left; cursor: pointer; }
.sb .ek-kerko-heqje:active { background: var(--sb-surface-2); }
.sb .ek-kerko-heqje__ik { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--sb-ic-kuqe-bg); color: var(--sb-ic-kuqe); }
.sb .ek-kerko-heqje__tk { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sb .ek-kerko-heqje__tk b { font-size: 15px; font-weight: 700; }
.sb .ek-kerko-heqje__tk span { font-size: 12.5px; color: var(--sb-muted); }
.sb .ek-kerko-heqje .shigjeta { color: var(--sb-faint); font-size: 20px; }
.sb .ek-nj-veprim { margin-top: 8px; }
.sb .ek-nj-btn { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.sb .ek-nj-kryer { display: inline-block; font-size: 13px; font-weight: 700; color: var(--sb-ic-gjelber); }

/* Njoftimi ditor: zgjedhja e orës */
.sb input.nj-ora { flex: none; width: 96px; height: 44px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--sb-line); border-radius: 12px; background: var(--sb-surface); color: var(--sb-ink); font: inherit; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; color-scheme: light dark; }
.sb .ora-lidh { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; background: var(--sb-surface-2, var(--sb-surface)); box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb .ora-lidh__rresht { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sb input.nj-ora.ora-kodi { width: 140px; letter-spacing: 3px; }
.sb input.nj-ora.ora-kodi::placeholder { letter-spacing: 0; font-weight: 500; font-size: 15px; color: var(--sb-muted); opacity: 1; }
.sb input.nj-ora:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--sb-accent); outline: none; }

/* Ekipa: tabet (Afatet…Statistika) s'priten më në telefonat e ngushtë (360–375px): ngushtohen, e kur s'mjafton, kalojnë në rresht të dytë */
.sb .nj-serveri { margin: -4px 4px 14px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; background: var(--sb-ic-gjelber-bg); color: var(--sb-ic-gjelber); }
.sb .nj-serveri.keq { background: var(--sb-ic-portokalli-bg); color: var(--sb-ic-portokalli); }

/* Tema e çelët: kartela "Produkte gjithsej" e bardhë (në temën e errët mbetet e errët) */
html.sb:not([data-tema="dark"]) .sb-summary { background: var(--sb-surface); color: var(--sb-ink); box-shadow: 0 0 0 1px var(--sb-line), 0 6px 18px rgba(20,22,27,.05); }
html.sb:not([data-tema="dark"]) .sb-summary__label, html.sb:not([data-tema="dark"]) .sb-stat__label { color: var(--sb-muted); }
html.sb:not([data-tema="dark"]) .sb-pill { background: var(--sb-surface-2); color: var(--sb-ink-3); }
html.sb:not([data-tema="dark"]) .sb-stats { background: var(--sb-line); }
html.sb:not([data-tema="dark"]) .sb-stat { background: var(--sb-head); }
html.sb:not([data-tema="dark"]) .sb-stat__value--exp { color: var(--sb-exp, #d0453a); }

/* v179: heqja e kolegut pret miratimin e pronarit */
.sb .ek-kart-hiq.ek-kart-pritje { background: var(--sb-surface-2); color: var(--sb-ink-3); cursor: default; display: inline-flex; align-items: center; padding: 8px 12px; font-size: 12.5px; font-weight: 600; }
.sb .af-pill.ek-pill-pritje { display: inline-flex; color: var(--sb-ink-3); box-shadow: 0 0 0 1.5px var(--sb-line); cursor: default; margin-top: 8px; }
.sb .ek-nj-veprim .btn.tekst { margin-left: 6px; }

/* Ekipa: menyja si butona me ikona (ikona në kuti + emri poshtë), e çelët dhe e errët */
.sb .ek-pllakat, .sb .ek-pult-pllakat { display: flex; flex-wrap: nowrap; gap: 4px; padding: 0; border-radius: 0; background: transparent; overflow: visible; }
.sb .ek-pult-pllakat { margin: 14px 0 6px; }
.sb .ek-pllakat button, .sb .ek-pllaka { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 2px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--sb-ink-4); font: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0;
  white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sb .ek-pllakat .ek-pl-ik, .sb .ek-pllaka .ek-pl-ik { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px;
  background: var(--sb-surface); color: var(--sb-ink-2); box-shadow: var(--sb-ring); border: 0; transition: background .15s, color .15s, transform .1s; }
.sb .ek-pllakat .ek-pl-ik svg, .sb .ek-pllaka .ek-pl-ik svg { width: 21px; height: 21px; }
.sb .ek-pllakat button:active .ek-pl-ik, .sb .ek-pllaka:active .ek-pl-ik { transform: scale(.94); }
.sb .ek-pllakat button.aktiv, .sb .ek-pllaka.aktiv { background: transparent; box-shadow: none; color: var(--sb-accent-text); }
.sb .ek-pllakat button.aktiv .ek-pl-ik, .sb .ek-pllaka.aktiv .ek-pl-ik { background: var(--sb-accent); color: #fff; box-shadow: none; }
.sb .ek-pllakat .ek-pike, .sb .ek-pllaka .ek-pike { position: absolute; top: -2px; right: calc(50% - 27px); width: 10px; height: 10px; margin: 0; box-shadow: 0 0 0 2px var(--sb-bg); }
@media (max-width: 370px) {
  .sb .ek-pllakat .ek-pl-ik, .sb .ek-pllaka .ek-pl-ik { width: 42px; height: 42px; border-radius: 14px; }
  .sb .ek-pllakat button, .sb .ek-pllaka { font-size: 10.5px; }
}
/* v182: koka e Ekipës me lartësi të njëjtë në çdo pamje, që menyja poshtë saj të mos lëvizë */
.sb #dlgEkipi .opsione-krye { min-height: calc(76px + env(safe-area-inset-top)); box-sizing: border-box; }
.sb .ekipi-ti { white-space: nowrap; display: inline-block; }
/* v184: rolet si ikona (kurora = pronar, mburoja = admin); prekja tregon çka janë */
.sb .ek-roli { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 6px; border-radius: 50%; vertical-align: middle; cursor: help; flex: none; }
.sb .ek-roli.pronar { background: var(--sb-near-tint); color: var(--sb-near); }
.sb .ek-roli.admin { background: var(--sb-accent-tint); color: var(--sb-accent-text); }
/* v186: flluska e rolit brenda ikonës (absolute): del mbi ikonë, shigjeta tregon ikonën */
.sb .ek-roli { position: relative; }
.sb .ek-flluska { position: absolute; left: 50%; z-index: 50; width: max-content; max-width: min(260px, calc(100vw - 24px)); white-space: normal; text-align: left;
  padding: 9px 12px; border-radius: 12px; background: var(--sb-inv-bg); color: var(--sb-inv-fg); font-size: 13px; font-weight: 500; line-height: 1.35; letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); pointer-events: none; transform: translateX(calc(-50% + var(--zhvendosja, 0px))); animation: ekFlluska .14s ease-out; }
.sb .ek-flluska.lart { bottom: calc(100% + 10px); }
.sb .ek-flluska.poshte { top: calc(100% + 10px); }
.sb .ek-flluska::after { content: ''; position: absolute; left: calc(50% - 6px - var(--zhvendosja, 0px)); width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.sb .ek-flluska.lart::after { bottom: -5px; }
.sb .ek-flluska.poshte::after { top: -5px; }
@keyframes ekFlluska { from { opacity: 0; } to { opacity: 1; } }
/* v186: rreshtat e filtrave zbehen te skajet (si rrotullim), vetëm aty ku ka butona të fshehur */
.sb .af-filtrat { --fade: 28px; }
.sb .af-filtrat.fade-djathtas { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); }
.sb .af-filtrat.fade-majtas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); }
.sb .af-filtrat.fade-majtas.fade-djathtas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
.sb .artikull .kodi.ek-stat-nen { font-family: inherit; font-size: 12px; letter-spacing: 0; }
/* v196: Cilësimet → Stoku → Produktet (kujtesa e produkteve) */
.sb .btn.ops-kuj-harro { color: var(--sb-exp); }
/* v241: marketet (çipi "Je te", zgjedhja, Cilësimet → Marketet) */
.sb .mk-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--sb-line); border-radius: 16px; background: var(--sb-surface); color: var(--sb-ink); font: inherit; text-align: left; cursor: pointer; }
.sb .mk-chip[hidden] { display: none; }
.sb .mk-chip > svg:first-child { flex: none; color: var(--sb-ic-gjelber); }
.sb .mk-chip__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sb .mk-chip__lbl { font-size: 11.5px; font-weight: 600; color: var(--sb-muted); }
.sb .mk-chip__emri { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .mk-chip__shigj { flex: none; color: var(--sb-muted); }
.sb .sb-home-krye .mk-chip { margin: 0 0 12px; }
.sb .mk-fusha { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sb .mk-fusha[hidden] { display: none; }
.sb .mk-fusha select { height: 46px; border-radius: 12px; border: 1px solid var(--sb-line); background: var(--sb-surface); color: var(--sb-ink); font: inherit; font-size: 15px; padding: 0 12px; }
.sb .mk-dlg-nen { margin: 0 0 10px; color: var(--sb-muted); font-size: 13.5px; }
.sb .mk-dlg-nen:empty { display: none; }
.sb .mk-dlg-lista { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; margin-bottom: 6px; }
.sb .mk-dlg-lista button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--sb-line); border-radius: 14px; background: var(--sb-surface); color: var(--sb-ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.sb .mk-dlg-lista button.aktiv { border-color: var(--sb-accent); box-shadow: inset 0 0 0 1px var(--sb-accent); }
.sb .mk-dlg-lista button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .mk-dlg-lista button small { flex: none; font-size: 12px; font-weight: 600; color: var(--sb-muted); }
/* v246: "Ku je?" me pikat e Stoku-t afër */
.sb .mk-dlg-titull { margin: 6px 2px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sb-muted); }
.sb .mk-dlg-lista button.mk-afer { border-style: dashed; }
.sb #dlgMarketi .veprime { flex-wrap: wrap; }
.sb .mk-aktiv { display: flex; flex-direction: column; gap: 10px; }
.sb .mk-aktiv[hidden] { display: none; }
.sb .mk-shto { display: flex; gap: 8px; margin-top: 12px; }
.sb .mk-shto input { flex: 1; min-width: 0; height: 46px; }
/* v244: Cilësimet → Harta (harta.js, MapLibre) */
.sb .ht-harta { position: relative; height: min(52vh, 460px); margin: 2px 0 10px; border-radius: 16px; overflow: hidden; background: var(--sb-surface-2); border: 1px solid var(--sb-line); }
.sb .ht-harta .maplibregl-ctrl-attrib { font-size: 10.5px; }
.sb .ht-udhezim { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--sb-surface); color: var(--sb-ink); font: inherit; font-size: 13px; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.18); cursor: pointer; }
.sb .ht-udhezim[hidden] { display: none; }
/* v247: butoni Satelit / Hartë (grup kontrolli i MapLibre-s) dhe "Powered by Esri" mbi satelit */
.sb .ht-pamja .ht-pamja-btn { width: auto; min-width: 29px; padding: 0 11px; font: inherit; font-size: 12.5px; font-weight: 700; color: #1f2329; white-space: nowrap; }
.sb .ht-esri { position: absolute; left: 8px; bottom: 6px; z-index: 2; padding: 1px 6px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 10.5px; font-weight: 600; pointer-events: none; }
.sb .ht-esri[hidden] { display: none; }
.sb .ht-harta:has(.maplibregl-compact-show) .ht-esri { display: none; } /* burimet e hapura e kanë vetë "Powered by Esri" */
/* v250: administratori shton market në hartë: shenja në mes të hartës + forma */
.sb .ht-shenjestra { position: absolute; left: 50%; top: 50%; z-index: 3; width: 34px; height: 34px; transform: translate(-50%, -100%); color: #e8590c; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.sb .ht-shenjestra[hidden] { display: none; }
.sb .ht-shto { margin: 0 0 10px; }
.sb .ht-shto[hidden], .sb .ht-shto-forma[hidden] { display: none; }
.sb .ht-shto-forma { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sb .ht-shto-forma input { width: 100%; }
.sb .ht-gabim { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 2px 12px; font-size: 14px; color: var(--sb-ink-3); }
.sb .ht-gabim[hidden] { display: none; }
.sb .ht-info { margin: 0 2px 10px; }
.sb .ht-zgjedhur { background: var(--sb-accent-tint); }
.sb .mk-gabim { color: var(--sb-exp) !important; font-weight: 600; margin-top: 6px; }
.sb #dlgMarketiRi #mkrEmri { width: 100%; height: 48px; margin: 4px 0 6px; font-size: 16px; }
.sb #dlgMarketiRi .mk-vendi { padding: 10px 0; border: 0; background: none; }
.sb .mk-gabim:empty { display: none; }
.sb .mk-pd-btn { margin: 0 0 14px; }

/* v252: furnizuesi me sugjerime nën fushë (në vend të <datalist>: te Android-i hapej si listë ku s'shkruhej një furnizues
   i ri dhe s'mbyllej). Lista del mbi fushë (poshtë është tastiera). Merchandiserët s'e kanë furnizuesin (.furn-vetem). */
.sb .sugj { position: relative; }
.sb #afatFurnizuesi { display: block; width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px; font-size: 15px; }
.sb .sugj-lista { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 40; max-height: 232px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 4px; border-radius: 14px; background: var(--sb-surface); box-shadow: var(--sb-ring), 0 10px 28px rgba(0,0,0,.28); }
.sb .sugj-lista[hidden] { display: none; }
.sb .sugj-lista button { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--sb-ink);
  font: inherit; font-size: 15px; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .sugj-lista button:active { background: var(--sb-surface-2); }
.sb .sugj-lista .sugj-ri { color: var(--sb-accent); font-weight: 600; }
.sb .sugj-lista .sugj-mbyll { color: var(--sb-muted); font-size: 13px; text-align: center; min-height: 36px; }
.pa-furnizues .furn-vetem { display: none !important; }

/* v268: madhësitë e telefonit si në aplikacionin Android (vendas): butonat, fushat, shiriti poshtë, titujt */
/* Rreshti i tekstit sa shkronja (Onest 0.97 + 0.305 = 1.275, si te Android-i); "normal" në Chrome rrumbullakohet lart (12 px → 16 në vend të 15.3) */
.sb body { line-height: 1.275; }
.sb .sb-row__code, .sb .artikull .kodi, .sb .af-kodi, .sb .ek-kodi { line-height: 1.32; }
.sb { --tabet-lartesia: 65px; }
.sb #kryeButonatImport .btn-ikone, .sb #ekZile { width: 46px; height: 46px; }
.sb #kryeButonatFolderi { gap: 8px; }
.sb #kryeButonatFolderi .btn-ikone, .sb #btnMbrapa { width: 42px; height: 42px; }
.sb #btnMbrapa { margin-right: 2px; }
.sb .stk-etiketa__emri { line-height: 1.275; }
.sb .stk-etiketa__nen { line-height: 13px; }
.sb .kerko-kuti { height: 50px; }
.sb .sb-summary__value { line-height: 1.275; }
/* Shiriti poshtë: ikona 26, teksti 11 (4 nën ikonë), shenja e kuqe 18 lart djathtas te ikona */
.sb #tabet .tab { padding: 0; gap: 4px; }
.sb #tabet .tab-ikona { height: 26px; border-radius: 13px; }
.sb #tabet svg { width: 26px; height: 26px; }
.sb #tabet .af-shenje { top: -6px; right: -3px; min-width: 8px; height: 18px; line-height: 18px; padding: 0 5px; border: 0; border-radius: 9px; font-size: 11px; box-sizing: content-box; }
/* Folderi: − / + 30, sasia 68×50 */
.sb .sasia-hap { gap: 8px; }
.sb .sasia-hap-btn { width: 30px; height: 30px; border-radius: 15px; font-size: 16px; font-weight: 500; }
/* Produkti: − / + 44×50, sasia në mes pa shigjeta */
.sb #dlgSasiaMinus, .sb #dlgSasiaPlus { width: 44px; height: 50px; border-radius: 12px; font-size: 22px; font-weight: 600; }
.sb #dlgSasia { font-size: 18px; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.sb #dlgSasia::-webkit-outer-spin-button, .sb #dlgSasia::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Afatet */
.sb .sb-action-primary__title { font-size: 17px; }
.sb .sb-action { min-height: 65px; border-radius: 18px; padding: 0 16px; gap: 10px; font-size: 16px; }
.sb .sb-action > svg:first-child { width: 20px; height: 20px; }
/* Titujt e faqeve */
.sb .dialog .opsione-krye h2 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.sb .ek-titulli-kuti h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
/* Afat i ri */
.sb #afatTitulli { font-size: 26px; }
.sb #dlgAfat .sb-sheet-krye .btn.tekst { font-size: 15px; }
.sb .sb-scan { padding: 12px 12px 14px 18px; gap: 0; border-radius: 22px; }
.sb .sb-scan input[type="text"] { height: 50px; }
.sb .sb-scan #afatBarkodi { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.sb .sb-scan #afatEmri { font-size: 18px; }
.sb .sb-scan .af-skano { width: 48px; height: 48px; }
.sb #afatData, .sb #afatFurnizuesi { height: 50px; font-size: 16px; }
.sb .sb-stepper { padding: 10px 10px 10px 18px; border-radius: 18px; }
.sb .sb-stepper label .sb-field-label { font-size: 15px; color: var(--sb-ink); }
.sb .sb-stepper label .sb-hint { font-size: 12px; }
.sb .sb-stepper__controls { gap: 0; }
.sb .sb-stepper .sb-stepper__value { width: 80px; }
/* Faqja Stoku: hapësirat si te Android-i (kërkimi → 18 → kartela → 22 → Folderat → 10 → folderat → 24 → Ndryshuar së fundi) */
.sb #siperFolderat .kerko-kuti { margin-bottom: 6px; }
.sb .sb-home-krye { margin-bottom: 0; }
.sb .sb-home-krye > .sb-section__head { margin-top: 4px; }
.sb .sb-home-krye .mk-chip { margin: 0 0 -6px; }
.sb .sb-home-fund { margin-top: 14px; }
html.sb:not([data-tema="dark"]) .sb-summary { box-shadow: 0 0 0 1px var(--sb-line); }
.sb #tabet svg { stroke-width: 2; }
/* Afatet: koka 12 + 44, pastaj 16 → kartat, 12 → kërkimi, 12 → filtrat, 10 → muajt, 14 → lista.
   v271: pa muajin dhe pa ikonën e cloud-it; koka mbetet 44 e lartë (si te Android-i), që kartat të mos lëvizin */
.sb #dlgAfatet .opsione-krye { min-height: 0; padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 0; box-sizing: content-box; height: 44px; }
.sb #dlgAfatet .sb-actions { margin: 4px 0 12px; }
.sb #dlgAfatet .kerko-kuti { margin-bottom: 10px; }
.sb #afFiltrat { margin-bottom: 6px; }
.sb #afFiltrat:has(+ #afMuajt[hidden]), .sb #afMuajt { margin-bottom: 12px; }
/* Kartat e afateve: rreshtat si te Android-i (lartësia natyrale e shkronjës), numri i muajit 11 */
.sb .af-karta .af-mesazh { line-height: 1.275; }
.sb .sb-days { line-height: 1.275; }
.sb .sb-days__big { line-height: 1.05; }
.sb .sb-days__small { line-height: 1.275; }
.sb .af-muajt button .n { margin-left: 0; font-size: 11px; }
.sb .af-karta .af-pill { gap: 6px; font-size: 13px; padding: 4px 11px; margin-top: 9.5px; }
/* Afat i ri: si Flete te Android-i (shiriti 10 + 5 + 14, pastaj çdo pjesë me 14 ndërmjet) */
.sb #dlgAfat.mbulese:not(.faqe-e-plote) > .dialog::before { margin-bottom: 0; }
.sb #dlgAfat .sb-sheet-krye .btn.tekst { min-height: 0; padding: 6px; }
.sb #dlgAfat .sb-afat-seksion { display: flex; flex-direction: column; gap: 14px; }
.sb #dlgAfat .sb-afat-seksion label { margin: 0; }
.sb #afatDataHint:empty { display: none; }
.sb .sb-stepper .sb-stepper__value { height: 50px; }
.sb #afatStatusVeprime:empty { display: none; }
.sb #dlgAfat .veprime { padding-top: 0; }
/* Folderi: barkodi → 10 → kërko → 10 → "Produktet" + "Fshi të gjitha" (29) → 4 → lista; rreshti 12 + 50 + 12 */
.sb .kerko-kuti { gap: 10px; }
.sb .kerko-kuti > .kerko-ikona { width: 20px; height: 20px; }
.sb #siperFolderi .fushe { margin-bottom: 10px; }
.sb #siperFolderi .kerko-kuti { margin-bottom: 0; }
.sb .artikull { padding-top: 12px; padding-bottom: 12px; }
.sb .artikull .kodi { margin-top: 0; }
.sb #listaKrye { align-items: center; }
.sb #btnFshiTeGjitha { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; color: var(--sb-exp); }
.sb #btnFshiTeGjitha:disabled { color: var(--sb-disabled); cursor: default; }
.sb .sb-action-primary { min-height: 140px; border-radius: 22px; }
.sb .sb-action-primary__sub { line-height: 1.275; margin-top: 0; }
.sb .sb-action-galeria { top: 16px; right: 16px; }

/* v269: "Të fshihen të gjitha?" si Konfirmo te Android-i: dritare në mes (rrezja 24, 22 brenda), titulli 20, teksti 15,
   "Anulo" (0.7) me vijë + "Fshi të gjitha (5)" (1.3) e kuqe, 48 të larta, 10 ndërmjet, 10 brenda që numri të mos pritet */
.sb #dlgFshirje.mbulese:not(.faqe-e-plote) { align-items: center; justify-content: center; padding: 0 46px; }
.sb #dlgFshirje.mbulese:not(.faqe-e-plote) > .dialog { width: 100%; max-width: 360px; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; animation: sbKonf .18s ease-out; }
.sb #dlgFshirje.mbulese:not(.faqe-e-plote) > .dialog::before { content: none; display: none; }
.sb #dlgFshirje h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sb #dlgFshirje p { margin: 0; font-size: 15px; font-weight: 400; color: var(--sb-ink-2); }
.sb #dlgFshirje .veprime { display: flex; gap: 10px; margin: 0; padding: 8px 0 0; justify-content: stretch; }
.sb #dlgFshirje .veprime .btn { min-width: 0; min-height: 48px; margin: 0; padding: 0 10px; border-radius: 14px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb #fshiAnulo { flex: 0.7 1 0; }
.sb #fshiKonfirmo { flex: 1.3 1 0; background: var(--sb-exp); color: #fff; }
.sb #fshiKonfirmo:active { background: var(--sb-exp-ink, var(--sb-exp)); }
.sb #fshiKonfirmo:disabled { background: var(--sb-surface-2); color: var(--sb-disabled); }
@keyframes sbKonf { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sb #dlgFshirje.mbulese:not(.faqe-e-plote) > .dialog { animation: none; } }
/* v269 (opsioni 3 i përdoruesit): barkodi + butoni 🔍 50 × 50 në një rresht; "Kërko" poshtë vetëm kur hapet (ose ka tekst) */
.sb .barkodi-rresht { display: flex; gap: 10px; align-items: stretch; }
.sb .barkodi-rresht > .kerko-kuti { flex: 1; min-width: 0; }
.sb .btn-kerko { flex: none; width: 50px; height: 50px; border: 0; border-radius: 14px; padding: 0; background: var(--sb-surface); box-shadow: var(--sb-ring); color: var(--sb-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sb .btn-kerko:active { background: var(--sb-surface-2); }
.sb .btn-kerko.aktiv { background: var(--sb-accent-tint); color: var(--sb-accent-text); box-shadow: 0 0 0 1px var(--sb-accent-line); }
