/* ============================================================
   NEXEL — Boshqaruv paneli (admin / menejer / kassa)
   ============================================================ */

.pbody { background: var(--bg-soft); }

/* ============================================================
   LOGIN — animatsiyali fon
   ============================================================ */
.auth {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: linear-gradient(160deg, #06180F 0%, #0C3C2C 45%, #061711 100%);
  overflow: hidden;
}
.auth[hidden] { display: none; }
.auth__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.auth__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
  will-change: transform;
}
.auth__orb--1 {
  width: 520px; height: 520px; left: -140px; top: -160px;
  background: radial-gradient(circle at 35% 35%, rgba(201,154,51,.55), transparent 65%);
  animation: orb1 19s ease-in-out infinite;
}
.auth__orb--2 {
  width: 460px; height: 460px; right: -120px; bottom: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(42,160,121,.5), transparent 65%);
  animation: orb2 23s ease-in-out infinite;
}
.auth__orb--3 {
  width: 340px; height: 340px; right: 22%; top: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(231,201,118,.3), transparent 68%);
  animation: orb3 27s ease-in-out infinite;
}
@keyframes orb1 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(120px,90px) scale(1.16) } }
@keyframes orb2 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-110px,-70px) scale(1.12) } }
@keyframes orb3 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-90px,120px) scale(.88) } }

.auth__grid {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(231,201,118,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,201,118,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(600px) rotateX(62deg);
  animation: gridmove 22s linear infinite;
  pointer-events: none;
}
@keyframes gridmove { from { background-position: 0 0 } to { background-position: 0 54px } }

.auth__box {
  position: relative; z-index: 2;
  width: min(430px, 100%);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  padding: 38px 36px 30px;
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
  animation: authIn .7s cubic-bezier(.22,1,.36,1) both;
}
@keyframes authIn { from { opacity: 0; transform: translateY(22px) scale(.97) } to { opacity: 1; transform: none } }

.auth__logo { width: 94px; height: 94px; margin: 0 auto 20px; display: block; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.auth__logo .logo__word { fill: url(#nxGold); stroke: none; font-family: var(--font-brand); font-size: 54px; font-weight: 700; letter-spacing: -.045em; }
.auth__logo .logo__sub { fill: #DEB865; stroke: none; font-family: var(--font-brand); font-size: 16px; font-weight: 500; }

.auth__t { font-size: 25px; text-align: center; letter-spacing: -.045em; font-weight: 800; }
.auth__s { text-align: center; color: rgba(255,255,255,.6); font-size: 14px; margin: 7px 0 26px; }

.auth__form { display: grid; gap: 14px; }
.afield { position: relative; }
.afield svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: rgba(255,255,255,.45); pointer-events: none; z-index: 1;
}
.afield input {
  width: 100%; height: 54px; padding: 0 16px 0 48px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; color: #fff; font-size: 15px;
  transition: all .22s var(--ease);
}
.afield input::placeholder { color: rgba(255,255,255,.32); }
.afield input:focus {
  outline: none; background: rgba(255,255,255,.1);
  border-color: rgba(231,201,118,.65);
  box-shadow: 0 0 0 4px rgba(231,201,118,.14);
}
.afield input:focus ~ svg { color: var(--gold-2); }
.afield label {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3); pointer-events: none;
}
.auth__err {
  background: rgba(226,118,92,.16); border: 1px solid rgba(226,118,92,.4);
  color: #FFC9BB; border-radius: 12px; padding: 11px 14px; font-size: 13.5px; text-align: center;
  animation: shake .4s;
}
@keyframes shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-7px) } 75% { transform: translateX(7px) } }

.auth__demo { margin-top: 24px; text-align: center; }
.auth__demo > span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.auth__chips { display: flex; gap: 8px; justify-content: center; margin-top: 11px; flex-wrap: wrap; }
.achip {
  padding: 8px 13px; border-radius: 999px; font-size: 12.5px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78); transition: all .2s var(--ease);
}
.achip:hover { background: rgba(231,201,118,.16); border-color: rgba(231,201,118,.5); color: #F3DFA8; }

.auth__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.auth__back { font-size: 13px; color: rgba(255,255,255,.55); }
.auth__back:hover { color: var(--gold-2); }

/* til almashtirgich */
.langsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); }
.langsw button {
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.55); transition: all .18s var(--ease);
}
.langsw button.is-on { background: var(--gold); color: #1B1403; }
.ptop .langsw { background: var(--bg-soft); }
.ptop .langsw button { color: var(--muted); }
.ptop .langsw button.is-on { background: var(--green); color: #fff; }
[data-theme="dark"] .ptop .langsw button.is-on { color: #061009; }

/* ============================================================
   PANEL KARKASI
   ============================================================ */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.shell[hidden] { display: none; }

.side {
  background: #0C2C21; color: #fff;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
[data-theme="dark"] .side { background: #08110D; border-right: 1px solid var(--line); }
.side__logo { display: flex; align-items: center; gap: 11px; padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.side__logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.side__logo .logo__n { fill: url(#nxGold); stroke: none; font-family: var(--font-brand); font-size: 27px; font-weight: 600; }
.side__logo b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .2em; }
.side__logo i { font-style: normal; font-size: 11.5px; color: var(--gold-2); }

.side__nav { flex: 1; padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.snav {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 11px;
  font-size: 14.5px; color: rgba(255,255,255,.66);
  transition: all .18s var(--ease); text-align: left; width: 100%;
}
.snav:hover { background: rgba(255,255,255,.07); color: #fff; }
.snav.is-on { background: var(--gold); color: #1B1403; font-weight: 600; }
.snav svg { width: 19px; height: 19px; flex-shrink: 0; }
.snav .n { margin-left: auto; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.13); }
.snav.is-on .n { background: rgba(0,0,0,.16); }

.side__foot { padding: 14px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.side__user { display: flex; align-items: center; gap: 11px; padding: 6px 4px 12px; }
.side__av { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1B1403; display: grid; place-items: center; font-weight: 700; }
.side__user b { display: block; font-size: 14px; }
.side__user i { font-style: normal; font-size: 12px; color: rgba(255,255,255,.5); }
.side__out {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 11px; font-size: 14px;
  color: rgba(255,255,255,.6); transition: all .18s var(--ease);
}
.side__out:hover { background: rgba(226,118,92,.16); color: #FFC0AF; }
.side__out svg { width: 18px; height: 18px; }

.main { display: flex; flex-direction: column; min-width: 0; }
.ptop {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  height: 66px; padding: 0 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.ptop__t { font-size: 19px; }
.ptop__r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pburger { display: none; width: 38px; height: 38px; place-items: center; color: var(--text-2); }
.pburger svg { width: 22px; height: 22px; }

.pmain { padding: 24px; flex: 1; }
.pmain > * { animation: fadeUp .35s var(--ease) both; }

/* ============================================================
   UMUMIY BLOKLAR
   ============================================================ */
.card2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card2__h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card2__h h3 { font-size: 15.5px; }
.card2__h .sub { font-size: 12.5px; color: var(--muted); }
.card2__b { padding: 18px 20px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.kpi__t { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.kpi__t svg { width: 16px; height: 16px; }
.kpi__v { font-size: 27px; font-weight: 800; letter-spacing: -.045em; margin: 8px 0 3px; font-variant-numeric: tabular-nums; }
.kpi__d { font-size: 12px; color: var(--muted); }
.kpi__d b { color: var(--success); font-weight: 600; }
.kpi--gold .kpi__v { color: var(--gold); }

.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }

/* diagrammalar */
.chart { width: 100%; height: 200px; }
.chart .bar { fill: var(--green); transition: fill .2s; }
[data-theme="dark"] .chart .bar { fill: var(--green-2); }
.chart .bar:hover { fill: var(--gold); }
.chart .gl { stroke: var(--line-2); stroke-width: 1; }
.chart .lb { fill: var(--muted); font-size: 9px; }
.donut__wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donut { width: 150px; height: 150px; flex-shrink: 0; }
.dleg { display: grid; gap: 7px; flex: 1; min-width: 140px; }
.dleg__i { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.dleg__c { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.dleg__n { margin-left: auto; color: var(--muted); font-size: 12.5px; }

/* jadval */
.tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.tools .psearch { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.tools .psearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.tools .psearch input {
  width: 100%; height: 42px; padding: 0 14px 0 40px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.tools .psearch input:focus { outline: none; border-color: var(--green); }

.tbl__wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left; padding: 12px 14px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--bg-soft); }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl__im { width: 44px; height: 44px; border-radius: 9px; background: #fff; border: 1px solid var(--line-2); object-fit: contain; padding: 3px; }
.tbl__im--ic { display: grid; place-items: center; background: var(--bg-soft); }
.tbl__im--ic svg { width: 22px; height: 22px; color: var(--green); }
.tbl__nm { font-weight: 500; }
.tbl__sub { font-size: 12px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill--ok { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.pill--warn { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.pill--bad { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }
.pill--info { background: var(--green-soft); color: var(--green); }
[data-theme="dark"] .pill--info { color: var(--green-2); }
.pill--mut { background: var(--bg-soft); color: var(--muted); }

.ibtn {
  width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center;
  color: var(--muted); border: 1px solid transparent; transition: all .18s var(--ease);
}
.ibtn:hover { background: var(--bg-soft); color: var(--green); border-color: var(--line); }
.ibtn--del:hover { color: var(--danger); border-color: var(--danger); }
.ibtn svg { width: 17px; height: 17px; }
.rowacts { display: flex; gap: 4px; justify-content: flex-end; }

.pempty { text-align: center; padding: 60px 20px; color: var(--muted); }
.pempty svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: .4; }

/* forma */
.pform { display: grid; gap: 15px; }
.pform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.pform .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
.pf label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.pf input, .pf select, .pf textarea {
  width: 100%; height: 44px; padding: 0 14px; font-size: 14.5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.pf textarea { height: auto; min-height: 84px; padding: 11px 14px; resize: vertical; }
.pf input:focus, .pf select:focus, .pf textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 10%, transparent); }
.pf select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377837C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; padding-right: 34px; }
.formfoot { display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; }

/* modal */
.pmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.pmodal[hidden] { display: none; }
.pmodal__bd { position: absolute; inset: 0; background: rgba(8,18,14,.6); backdrop-filter: blur(5px); }
.pmodal__box {
  position: relative; z-index: 1; width: min(760px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 26px 28px; animation: popIn .26s var(--ease);
}
.pmodal__box--wide { width: min(980px, 100%); }
.pmodal__box--sm { width: min(460px, 100%); }
.pmodal__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
.pmodal__x:hover { color: var(--danger); border-color: var(--danger); }
.pmodal__x svg { width: 16px; height: 16px; }
.pmodal h2 { font-size: 20px; margin-bottom: 18px; padding-right: 40px; }

/* ============================================================
   KASSA (POS)
   ============================================================ */
.pos { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.pos__left { min-width: 0; }
.postabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.postabs::-webkit-scrollbar { display: none; }
.postab {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
}
.postab.is-on { background: var(--green); border-color: var(--green); color: #fff; }
[data-theme="dark"] .postab.is-on { color: #061009; }

.posgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.pitem {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px; text-align: left; transition: all .18s var(--ease); cursor: pointer;
}
.pitem:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.pitem:disabled { opacity: .45; cursor: not-allowed; }
.pitem__im { height: 78px; border-radius: 8px; background: #fff; display: grid; place-items: center; margin-bottom: 9px; overflow: hidden; }
.pitem__im img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pitem__im svg { width: 42%; height: 42%; color: var(--green); }
.pitem__n { display: block; font-size: 12.5px; line-height: 1.35; height: 34px; overflow: hidden; }
.pitem__p { display: block; font-size: 14px; font-weight: 650; margin-top: 6px; }
.pitem__s { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.check {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  position: sticky; top: 82px; display: flex; flex-direction: column; max-height: calc(100vh - 100px);
}
.check__h { padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; }
.check__h h3 { font-size: 15.5px; }
.check__list { flex: 1; overflow-y: auto; padding: 8px 10px; min-height: 120px; }
.crow { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 8px; border-radius: 9px; }
.crow:hover { background: var(--bg-soft); }
.crow__n { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.crow__p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.crow__r { display: flex; align-items: center; gap: 8px; }
.qty2 { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 30px; }
.qty2 button { width: 28px; height: 100%; display: grid; place-items: center; color: var(--text-2); font-size: 15px; }
.qty2 button:hover { color: var(--green); }
.qty2 span { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 600; }
.crow__s { font-size: 13.5px; font-weight: 600; min-width: 92px; text-align: right; white-space: nowrap; }
.crow__x { color: var(--muted); font-size: 17px; line-height: 1; padding: 0 2px; }
.crow__x:hover { color: var(--danger); }

.check__f { border-top: 1px solid var(--line-2); padding: 14px 18px 16px; display: grid; gap: 9px; }
.crow2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.crow2 b { color: var(--text); }
.crow2--tot { padding-top: 9px; border-top: 1px solid var(--line-2); font-size: 16px; }
.crow2--tot b { font-size: 22px; font-weight: 650; }
.paytabs { display: flex; gap: 6px; }
.paytab { flex: 1; padding: 9px; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.paytab.is-on { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 600; }
[data-theme="dark"] .paytab.is-on { color: var(--green-2); }
.cashrow { display: grid; grid-template-columns: auto minmax(120px, 1fr); gap: 10px; align-items: center; }
.cashrow input {
  width: 100%; min-width: 0; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 15px; font-weight: 600; text-align: right;
}
.cashrow input:focus { outline: none; border-color: var(--green); }
.change { font-size: 15px; font-weight: 650; text-align: right; }
.change b { color: var(--gold); }

.shiftbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.shiftbar .pill { font-size: 12.5px; }
.shiftbar .sp { flex: 1; }

/* chek (chop etish) */
.receipt { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.6; }
.receipt__h { text-align: center; margin-bottom: 14px; }
.receipt__h b { font-size: 17px; letter-spacing: .18em; }
.receipt__h div { font-size: 11.5px; color: var(--muted); }
.receipt hr { border: 0; border-top: 1px dashed var(--line); margin: 10px 0; }
.receipt__r { display: flex; justify-content: space-between; gap: 12px; }
.receipt__t { font-size: 15px; font-weight: 700; }
.receipt__f { text-align: center; margin-top: 12px; font-size: 11.5px; color: var(--muted); }

@media print {
  body > *:not(#pmodal) { display: none !important; }
  .pmodal, .pmodal__box { position: static !important; box-shadow: none; border: 0; max-height: none; }
  .pmodal__bd, .pmodal__x, .noprint { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .pos { grid-template-columns: 1fr; }
  .check { position: static; max-height: none; }
}
@media (max-width: 940px) {
  .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 80;
    transform: translateX(-100%); transition: transform .3s var(--ease);
    height: 100dvh;
  }
  .side.is-open { transform: none; box-shadow: 0 0 0 100vw rgba(0,0,0,.45); }
  .pburger { display: grid; }
  .pmain { padding: 16px; }
  .ptop { padding: 0 16px; }
  .pform .row2, .pform .row3 { grid-template-columns: 1fr; }
}

/* diagramma yozuvlari */
.chartbox { width: 100%; }
.chart { width: 100%; height: 190px; display: block; }
.chartlb { display: flex; margin-top: 8px; }
.chartlb span {
  flex: 1; text-align: center; font-size: 10.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden;
}
.chartlb span:nth-child(even) { visibility: hidden; }
@media (min-width: 1200px) { .chartlb span:nth-child(even) { visibility: visible; } }
