/* ───────── Carbon табла (демо) ───────── */
body.has-owner { overflow: hidden; }
.owner { position: fixed; inset: 0; z-index: 150; background: #050403; color: var(--cream); opacity: 0; transition: opacity .5s var(--ease-soft); }
.owner[hidden] { display: none; }
.owner.is-open { opacity: 1; }

/* — влез: темно, па светлото се пали — */
.login { position: absolute; inset: 0; z-index: 3; display: grid; place-items: start center; overflow-y: auto; background: #050403; transition: background 1.4s .5s ease, opacity 1s ease, visibility 0s 1s; overflow: hidden; }
.lg__glow { position: absolute; left: 50%; top: 0; width: 150vmax; aspect-ratio: 1; translate: -50% -22%; scale: .04; opacity: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(246,196,122,.5), rgba(217,153,63,.2) 32%, transparent 62%); }
.lg__lamp { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.lg__cord { position: absolute; left: -.5px; top: -4svh; width: 1px; height: calc(9svh + 4svh); background: #3a3026; }
.lg__shade { max-width: none; position: absolute; width: 120px; left: -60px; top: 13svh; height: 60px; overflow: visible; }
.lg__bulb { position: absolute; left: -6px; top: calc(13svh + 54px); width: 12px; height: 12px; border-radius: 50%; background: #5a4630; transition: background .2s; }
.lg__cone { position: absolute; left: -34vmin; width: 68vmin; top: calc(13svh + 58px); height: 86svh; clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); opacity: 0;
  background: linear-gradient(rgba(246,196,122,.32), rgba(246,196,122,0) 92%); }
.lg__panel { position: relative; width: min(92vw, 470px); margin-top: calc(13svh + 92px); padding: 8px 26px 28px; text-align: left; transition: opacity .6s ease, transform .6s var(--ease); filter: brightness(.78); }
.lg__panel h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.lg__lead { margin: 1rem 0 1.4rem; opacity: .7; font-size: .92rem; max-width: 40ch; }
.lg__staff { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1.3rem; }
.lg__staff button:first-child { grid-column: 1 / -1; }
.lg__staff button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(241,232,218,.14); background: rgba(255,255,255,.02); text-align: left; transition: border-color .3s, background .3s; }
.lg__staff button:hover { border-color: rgba(217,153,63,.6); }
.lg__staff button.on { border-color: var(--amber); background: rgba(217,153,63,.1); }
.lg__staff b { display: block; font-weight: 500; font-size: .86rem; } .lg__staff small { opacity: .55; font-size: .74rem; letter-spacing: .06em; }
.av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #2a2119; color: var(--amber-hot); font-size: .8rem; letter-spacing: .06em; border: 1px solid rgba(217,153,63,.35); }
.av--lg { width: 52px; height: 52px; font-size: 1rem; }
.lg__go { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.lg__panel .linkbtn { display: block; margin-inline: auto; }

.owner.is-click .lg__panel { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.owner.is-click .lg__bulb { animation: bulbOn 1.1s .15s steps(1, end) forwards; }
@keyframes bulbOn { 0% { background: #5a4630; } 12% { background: #fff3d2; box-shadow: 0 0 40px 14px rgba(246,196,122,.9); } 22% { background: #5a4630; box-shadow: none; } 38% { background: #fff3d2; box-shadow: 0 0 40px 14px rgba(246,196,122,.9); } 46% { background: #7a6446; box-shadow: 0 0 10px rgba(246,196,122,.3); } 100% { background: #fff3d2; box-shadow: 0 0 46px 16px rgba(246,196,122,.95); } }
.owner.is-lit .lg__cone { opacity: 1; transition: opacity 1.2s ease; }
.owner.is-lit .lg__glow { scale: 1; opacity: 1; transition: scale 2s var(--ease), opacity 1.4s ease; }
.owner.is-lit .login { background: rgba(5,4,3,0); }
.owner.is-live .login { opacity: 0; visibility: hidden; pointer-events: none; }
.owner.is-live .lg__glow { opacity: 0; transition: opacity 1.2s ease; }

/* — табла — */
.dash { position: absolute; inset: 0; display: grid; grid-template-columns: 236px 1fr; opacity: 0; transition: opacity 1.4s .35s ease;
  background: radial-gradient(70% 50% at 70% -10%, rgba(217,153,63,.10), transparent 70%), #0d0a08; }
.owner.is-lit .dash { opacity: 1; }
.dash__side { display: flex; flex-direction: column; gap: 18px; padding: 22px 14px; border-right: 1px solid rgba(241,232,218,.08); background: rgba(0,0,0,.25); }
.dash__brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .02em; display: block; }
.dash__brand small { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--amber); }
.dash__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nv { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 10px; background: none; font-size: .74rem; letter-spacing: .16em; text-align: left; opacity: .65; transition: background .25s, opacity .25s; }
.nv:hover { opacity: 1; background: rgba(255,255,255,.04); }
.nv.on { opacity: 1; background: rgba(217,153,63,.13); color: var(--amber-hot); box-shadow: inset 2px 0 0 var(--amber); }
.badge { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: var(--amber); color: var(--coal-950); font-style: normal; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.dash__user { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid rgba(241,232,218,.08); }
.dash__user b { display: block; font-size: .84rem; font-weight: 500; } .dash__user small { font-size: .7rem; opacity: .55; }
.dash__out { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(241,232,218,.14); background: none; font-size: .7rem; letter-spacing: .16em; }
.dash__out:hover { border-color: var(--ember); color: #ff9a6b; }
.dash__main { min-width: 0; overflow-x: hidden; overflow-y: auto; padding: 24px clamp(16px, 3vw, 40px) 70px; scroll-behavior: auto; }
.dash__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.dash__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: .06em; outline: none; }
.dash__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: .62rem; letter-spacing: .22em; border: 1px solid; }
.pill--demo { color: var(--amber-hot); border-color: rgba(217,153,63,.5); }
.clock { font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; opacity: .8; }
.pay--inline { width: auto; padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .dash__top .pay--inline { padding: 9px 12px; }
  .dash__side { order: 2; flex-direction: row; align-items: center; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 4px; border-right: 0; border-top: 1px solid rgba(241,232,218,.1); background: #0a0806; }
  .dash__brand, .dash__user { display: none; }
  .dash__nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .nv { flex-direction: column; gap: 3px; padding: 7px 10px; min-width: 66px; font-size: .56rem; letter-spacing: .08em; text-align: center; }
  .nv.on { box-shadow: inset 0 2px 0 var(--amber); }
  .badge { position: absolute; top: 2px; right: 8px; margin: 0; }
  .dash__out { padding: 8px; } .dash__out span { display: none; }
}

/* — благи анимации само додека светлото се пали — */
.owner.is-lit:not(.is-live) .kpi, .owner.is-lit:not(.is-live) .card2 { animation: settle .9s var(--ease) both; animation-delay: calc(1.2s + var(--i, 0) * 70ms); }
.owner.is-lit:not(.is-live) .tile:not(.tile--free) { animation: tileLit 1.4s ease both; animation-delay: calc(1.6s + var(--i, 0) * 80ms); }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tileLit { 0% { box-shadow: 0 0 0 rgba(242,180,90,0); } 45% { box-shadow: 0 0 34px rgba(242,180,90,.55); } 100% { box-shadow: 0 0 0 rgba(242,180,90,0); } }

/* — компоненти — */
.card2 { background: linear-gradient(160deg, #1b1611, #120e0b); border: 1px solid rgba(241,232,218,.08); border-radius: 18px; padding: 18px; }
.card2__t { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--amber); font-weight: 500; margin-bottom: 14px; }
.card2--wide { margin-top: 16px; } .card2--floor { padding: 12px; }
.home__hi { margin-bottom: 18px; opacity: .8; } .home__hi b { font-family: var(--font-display); font-weight: 400; font-size: 1.2em; color: var(--cream); }
.home__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 1100px) { .home__cols { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpis--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { padding: 16px 16px 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(241,232,218,.08); display: grid; gap: 8px; }
.kpi.lead { background: linear-gradient(150deg, rgba(217,153,63,.2), rgba(217,153,63,.04)); border-color: rgba(217,153,63,.4); }
.kpi__l { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.kpi__v { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-variant-numeric: lining-nums tabular-nums; }
.empty { opacity: .5; font-size: .9rem; padding: 14px 4px; }
.note { font-size: .82rem; opacity: .6; max-width: 62ch; margin-bottom: 12px; }
.hint { font-size: .74rem; opacity: .55; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

/* статуси (текст + форма + боја) */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px 4px 7px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.st .ic { width: 13px; height: 13px; }
.st--free { color: #9a9086; } .st--occupied { color: var(--amber); } .st--ordering { color: var(--amber-hot); }
.st--bill { color: var(--cream); } .st--payment { color: #ff9a6b; } .st--paid { color: #8fc39b; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.os { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.07); }
.s-new .os, .os.s-new { background: var(--amber); color: var(--coal-950); }
.os.s-prep { background: rgba(255,154,107,.2); color: #ffb08a; } .os.s-ready { background: rgba(143,195,155,.2); color: #a8d8b3; }
.os.s-served { background: rgba(241,232,218,.12); color: var(--cream); } .os.s-closed { background: rgba(255,255,255,.06); color: #9a9086; }

/* распоред на маси */
.floor { position: relative; aspect-ratio: 16 / 8.6; border-radius: 14px; background: radial-gradient(circle, rgba(241,232,218,.06) 1px, transparent 1.4px) 0 0 / 26px 26px, rgba(0,0,0,.25); border: 1px dashed rgba(241,232,218,.1); }
.tile { position: absolute; width: 14.5%; min-width: 108px; aspect-ratio: 1.3; padding: 8px; display: grid; align-content: center; justify-items: center; gap: 4px; text-align: center; border-radius: 16px; background: #17120e; border: 1.5px solid var(--tc, rgba(241,232,218,.18)); color: var(--cream); transition: transform .25s var(--ease), background .25s; }
.tile:hover { transform: translateY(-3px); background: #1f1913; }
.tile--round { border-radius: 40px; }
.tile__n { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.tile__meta { font-size: .66rem; opacity: .6; } .tile__amt { font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--amber-hot); }
.tile__new { position: absolute; top: 8px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber-hot); box-shadow: 0 0 10px var(--amber-hot); }
.tile--free { --tc: rgba(241,232,218,.16); border-style: dashed; background: rgba(255,255,255,.015); }
.tile--occupied { --tc: var(--amber); background: rgba(217,153,63,.08); }
.tile--ordering { --tc: var(--amber-hot); background: rgba(242,180,90,.14); }
.tile--bill { --tc: var(--cream); background: rgba(241,232,218,.08); }
.tile--payment { --tc: #ff9a6b; background: rgba(255,154,107,.1); }
.tile--paid { --tc: #8fc39b; background: rgba(143,195,155,.09); }
.floor--compact { aspect-ratio: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; padding: 10px; background: none; border: 0; }
.floor--compact .tile { position: static; width: auto; min-width: 0; aspect-ratio: 1.15; }
.floor--compact .tile__n { font-size: 1.4rem; } .floor--compact .st { font-size: .56rem; padding: 3px 7px 3px 5px; }
@media (max-width: 900px) {
  .floor { aspect-ratio: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 10px; background: none; border: 0; }
  .floor .tile { position: static; width: auto; min-width: 0; aspect-ratio: 1.2; }
}

/* панел на маса / модали на таблата */
.modal--drawer { place-items: stretch end; padding: 0; }
.drawer__p { width: min(100%, 470px); height: 100svh; max-height: 100svh; border-radius: 0; border-width: 0 0 0 1px; transform: translateX(40px); }
.modal.is-in .drawer__p { transform: none; }
.dr__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.dr__head small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.dr__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: .04em; }
.dr__state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.dr__time { font-size: .8rem; opacity: .65; }
.dr__order { border: 1px solid rgba(241,232,218,.1); border-radius: 14px; padding: 12px; margin-bottom: 12px; background: rgba(255,255,255,.02); }
.dr__order > header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.dr__order > header small { opacity: .55; margin-right: auto; }
.btn--tiny { padding: 6px 10px; font-size: .62rem; }
.dr__note { font-size: .78rem; opacity: .65; margin-bottom: 6px; }
.dr__items li, .bl li { display: grid; grid-template-columns: 32px 1fr auto; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(241,232,218,.07); }
.bl li { grid-template-columns: 32px 1fr auto auto; }
.q { opacity: .6; font-variant-numeric: tabular-nums; }
.n small { display: block; font-size: .72rem; opacity: .55; }
.dr__items .acts { grid-column: 2 / -1; display: flex; gap: 16px; }
.dr__items .is-x { opacity: .45; } .dr__items .is-x .n { text-decoration: line-through; }
.linkbtn--warn { color: #ff9a6b; }
.dr__acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tips--dash { margin: 4px 0 8px; } .tips__c { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
.sum { display: grid; gap: 6px; padding: 10px 0; }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; }
.sum__t { font-family: var(--font-display); font-size: 1.6rem; padding-top: 8px; border-top: 1px solid rgba(241,232,218,.25); }
.sum__big { font-family: var(--font-display); font-size: 2.4rem; text-align: center; }
.dr__close { margin-top: 8px; }
.cfm { width: min(100%, 420px); }
.cfm__in { display: grid; gap: 14px; } .cfm__in h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.cfm__b { display: flex; justify-content: flex-end; gap: 10px; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(241,232,218,.22); background: none; font-size: .78rem; }
.chip.on { background: var(--cream); color: var(--coal-950); border-color: var(--cream); }
.qty--lg button { width: 42px; height: 42px; font-size: 20px; } .qty--lg em { font-size: 1.4rem; min-width: 40px; }
.billm { width: min(100%, 560px); } .billm__in { display: grid; gap: 12px; }
.bl { display: grid; }
.rcwrap { display: grid; gap: 14px; justify-items: center; width: 100%; }
.rcform { width: 100%; background: #17120e; border: 1px solid rgba(217,153,63,.3); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.rcform small { opacity: .6; font-size: .74rem; }
.qrp__in { display: grid; justify-items: center; gap: 12px; text-align: center; } .qrp__in h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }
.journey { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .62rem; letter-spacing: .12em; }
.journey li { padding: 4px 9px; border: 1px solid rgba(217,153,63,.4); border-radius: 999px; color: var(--amber-hot); }
.journey li + li::before { content: "→ "; opacity: .5; }

/* брза нарачка */
.qo { width: min(100%, 1000px); height: min(760px, calc(100svh - 32px)); padding: 0; display: flex; }
.qo__in { display: flex; flex-direction: column; width: 100%; padding: 20px; min-height: 0; }
.qo__cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; flex: 1; min-height: 0; }
.qo__left, .qo__right { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.qo__right { border-left: 1px solid rgba(241,232,218,.1); padding-left: 16px; }
.qo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.prod { position: relative; padding: 14px 12px; min-height: 84px; border-radius: 14px; border: 1px solid rgba(241,232,218,.14); background: rgba(255,255,255,.03); text-align: left; display: grid; align-content: space-between; gap: 6px; transition: border-color .2s, transform .15s; }
.prod:hover:not(:disabled) { border-color: var(--amber); } .prod:active:not(:disabled) { transform: scale(.98); }
.prod:disabled { opacity: .4; cursor: not-allowed; } .prod b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; line-height: 1.15; }
.prod .pr { color: var(--amber-hot); font-size: .9rem; } .prod.has { border-color: var(--amber); background: rgba(217,153,63,.1); }
.prod__n { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--amber); color: var(--coal-950); font-style: normal; font-size: .74rem; font-weight: 700; display: grid; place-items: center; }
.cl__list { flex: 1; min-height: 80px; overflow-y: auto; }
.cl { padding: 8px 0; border-bottom: 1px solid rgba(241,232,218,.08); }
.cl__row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.cl__n small { display: block; font-size: .7rem; opacity: .55; } .cl__ed { display: grid; gap: 8px; padding-top: 8px; }
@media (max-width: 800px) { .qo__cols { grid-template-columns: 1fr; overflow-y: auto; } .qo__right { border-left: 0; padding-left: 0; border-top: 1px solid rgba(241,232,218,.1); padding-top: 12px; overflow: visible; } .qo__left { overflow: visible; } }

/* нарачки */
.ofilter { padding-inline: 0; } .ofilter .tab b { margin-left: 4px; opacity: .7; }
.board { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { background: rgba(255,255,255,.02); border: 1px solid rgba(241,232,218,.07); border-radius: 16px; padding: 12px; min-width: 230px; }
.col__h { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: .68rem; letter-spacing: .2em; margin-bottom: 10px; font-weight: 500; }
.col__h b { background: rgba(255,255,255,.08); border-radius: 10px; padding: 1px 9px; }
.col.s-new .col__h { color: var(--amber-hot); } .col.s-prep .col__h { color: #ffb08a; } .col.s-ready .col__h { color: #a8d8b3; }
.col__b { display: grid; gap: 10px; }
.oc { border-radius: 14px; padding: 12px; background: #1a1510; border: 1px solid rgba(241,232,218,.09); border-left: 3px solid #3a3026; display: grid; gap: 8px; }
.oc.s-new { border-left-color: var(--amber-hot); box-shadow: 0 0 22px rgba(242,180,90,.14); } .oc.s-prep { border-left-color: #ff9a6b; } .oc.s-ready { border-left-color: #8fc39b; } .oc.s-served { border-left-color: var(--cream); }
.oc__h { display: flex; justify-content: space-between; gap: 8px; }
.oc__t { background: none; border: 0; padding: 0; text-align: left; } .oc__t b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; } .oc__t small { font-size: .7rem; opacity: .55; }
.tag { align-self: start; font-size: .58rem; letter-spacing: .16em; padding: 3px 8px; border: 1px solid rgba(241,232,218,.25); border-radius: 6px; text-transform: uppercase; }
.oc__items li { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 3px 0; } .oc__items b { color: var(--amber-hot); font-weight: 600; } .oc__items small { display: block; font-size: .72rem; opacity: .6; }
.oc__note { font-size: .76rem; opacity: .7; padding: 6px 8px; background: rgba(255,255,255,.04); border-radius: 8px; }
.oc__f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: space-between; padding-top: 4px; }
.olist { display: grid; gap: 10px; } .olist--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .board { grid-template-columns: repeat(4, 84%); } }

/* сметки */
.obills { display: flex; flex-wrap: wrap; gap: 10px; }
.ob { display: grid; gap: 6px; justify-items: start; padding: 12px 14px; min-width: 170px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(241,232,218,.14); }
.ob b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; } .ob:hover { border-color: var(--amber); }
.bills .card2 + .card2 { margin-top: 16px; }
.tbl-wrap { overflow-x: auto; } .tbl { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 560px; }
.tbl th { text-align: left; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .55; font-weight: 500; padding: 8px 10px; border-bottom: 1px solid rgba(241,232,218,.14); }
.tbl td { padding: 10px; border-bottom: 1px solid rgba(241,232,218,.07); vertical-align: middle; }
.tbl tr.clk { cursor: pointer; } .tbl tr.clk:hover td, .tbl tr.clk:focus-visible td { background: rgba(217,153,63,.08); }
.tm__n { font-family: var(--font-display); font-size: 1.05rem; } .tm__act { white-space: nowrap; display: flex; gap: 14px; }
.tbl--mat td.yes { color: #8fc39b; } .tbl--mat td.no { opacity: .3; } .tbl--mat td { text-align: center; } .tbl--mat td:first-child, .tbl--mat th:first-child { text-align: left; }
.fld--sm { padding: 8px 10px; border-radius: 10px; font-size: .84rem; } .fld--price { width: 96px; }
select.fld { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
select.fld option { background: #17120e; }

/* мени-управување */
.mlist { display: grid; }
.mrow { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(241,232,218,.07); }
.mrow.is-off .mrow__n { opacity: .45; } .mrow__n b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; display: block; } .mrow__n small { opacity: .5; font-size: .74rem; }
.mrow__mv { display: flex; flex-direction: column; gap: 3px; } .iconbtn--sm { width: 26px; height: 26px; font-size: .55rem; } .iconbtn:disabled { opacity: .25; cursor: default; }
.mrow__p { display: flex; align-items: center; gap: 6px; } .mrow__p small { opacity: .6; }
.sw2 { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font-size: .72rem; min-width: 96px; }
.sw2 i { width: 36px; height: 20px; border-radius: 10px; background: #3a3026; position: relative; transition: background .25s; } .sw2 i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: transform .25s var(--ease); }
.sw2.on i { background: var(--amber); } .sw2.on i::after { transform: translateX(16px); }
.madd { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .madd .fld { flex: 1; min-width: 160px; } .madd .fld--price { flex: 0 0 110px; min-width: 0; }
@media (max-width: 640px) { .mrow { grid-template-columns: auto 1fr auto; } .mrow__p { grid-column: 2; } .sw2 { grid-column: 2; } .mrow > .iconbtn { grid-row: 1; grid-column: 3; } }

/* вработени / поставки */
.scs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sc { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(241,232,218,.08); }
.sc b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; } .sc small { display: block; opacity: .55; font-size: .76rem; } .sc .st { grid-column: 1 / -1; justify-self: start; }
.integ li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid rgba(241,232,218,.07); } .integ small { grid-column: 1 / -1; opacity: .55; }
.settings .card2 + .card2 { margin-top: 16px; }

/* графикони */
.chart { width: 100%; height: auto; } .chart .gl { stroke: rgba(241,232,218,.09); } .chart .bar { fill: rgba(217,153,63,.6); } .chart .bar.cur { fill: var(--amber-hot); } .chart .ax { fill: rgba(241,232,218,.5); font-size: 10px; }
.hb { display: grid; gap: 12px; } .hb li { display: grid; grid-template-columns: minmax(110px, 1.2fr) 2fr auto; gap: 12px; align-items: center; font-size: .86rem; }
.hb i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); position: relative; } .hb i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--ember), var(--amber-hot)); }
.mm__bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; margin-bottom: 14px; }
.mm i.m0 { background: var(--amber-hot); } .mm i.m1 { background: var(--ember); } .mm i.m2 { background: var(--cream); } .mm i.m3 { background: #8fc39b; }
.mm ul { display: grid; gap: 8px; } .mm li { display: flex; align-items: center; gap: 10px; font-size: .86rem; } .mm li i { width: 10px; height: 10px; border-radius: 3px; } .mm li b { margin-left: auto; font-weight: 500; }
.analytics .home__cols { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .owner, .owner * { transition-duration: .01ms !important; animation: none !important; }
  .owner .dash { opacity: 1; } .owner .lg__cone, .owner .lg__glow { opacity: 1; }
}
