:root{--navy:#06162d;--navy2:#0a2344;--ink:#0f172a;--muted:#64748b;--line:#e5edf7;--bg:#f7fbff;--card:#ffffff;--blue:#0ea5e9;--blue2:#0284c7;--emerald:#10b981;--violet:#7c3aed;--orange:#f59e0b;--red:#ef4444;--shadow:0 18px 45px rgba(15,23,42,.08);--radius:18px}*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);margin:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:292px;background:linear-gradient(180deg,#06162d,#08213f 65%,#06172e);color:#e8f7ff;padding:18px;display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:30;box-shadow:20px 0 40px rgba(2,8,23,.18)}.sidebar-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#0ea5e9,#22d3ee);box-shadow:0 0 30px rgba(14,165,233,.4);font-weight:900}.brand-mark span{background:#06162d;color:#a7f3ff;border-radius:10px;padding:4px 5px;font-size:13px}.sidebar-brand b{font-size:20px;letter-spacing:-.02em}.sidebar-brand em{color:#35d3ff;font-style:normal}.sidebar-brand small{display:block;color:#9fb6ca;font-size:11px}.sidebar-close{display:none;background:transparent;border:0;color:white;margin-left:auto}.sidebar-nav{display:flex;flex-direction:column;gap:5px;overflow:auto;padding-right:2px}.sidebar-nav a{display:flex;align-items:center;gap:12px;color:#d8e9f7;text-decoration:none;padding:11px 12px;border-radius:12px;font-weight:700;font-size:14px;position:relative}.sidebar-nav a i{font-size:17px;color:#c5d8ea}.sidebar-nav a:hover,.sidebar-nav a.active{background:linear-gradient(90deg,#0284c7,#06b6d4);color:#fff;box-shadow:0 10px 28px rgba(14,165,233,.28)}.sidebar-nav a.active i,.sidebar-nav a:hover i{color:#fff}.nav-badge{margin-left:auto;background:#0ea5e9;color:#fff;border-radius:999px;padding:2px 8px;font-size:11px}.sidebar-footer{margin-top:auto;padding-top:14px}.plan-card-mini{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);padding:14px;border-radius:16px;display:flex;justify-content:space-between;gap:10px}.plan-card-mini small{display:block;color:#bcd3e7;margin-top:4px}.manage-plan,.logout-link{display:flex;align-items:center;gap:10px;color:#d8e9f7;text-decoration:none;padding:12px;border-radius:13px;margin-top:8px}.manage-plan:hover,.logout-link:hover{background:rgba(255,255,255,.08);color:white}.main{margin-left:292px;flex:1;min-width:0}.topbar{height:78px;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 28px;position:sticky;top:0;z-index:20}.mobile-toggle{display:none;border:0;background:#eef8ff;color:var(--blue);width:42px;height:42px;border-radius:12px}.branch-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 14px;min-width:270px;box-shadow:0 8px 20px rgba(2,8,23,.04)}.branch-card i{color:var(--blue);font-size:20px}.branch-card select{border:0;background:transparent;font-weight:800;outline:0;width:100%}.online-pill,.date-pill{background:#eafff5;color:#047857;border-radius:12px;padding:10px 14px;font-weight:800;font-size:13px}.date-pill{background:#fff;border:1px solid var(--line);color:#334155}.topbar-spacer{flex:1}.quick-action{border:1px solid var(--line);background:#fff;color:#1e293b;text-decoration:none;border-radius:14px;padding:10px 14px;font-weight:800;box-shadow:0 8px 20px rgba(2,8,23,.04)}.quick-action:hover{color:var(--blue);border-color:#bae6fd}.icon-btn{width:42px;height:42px;border-radius:14px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#334155;position:relative}.icon-btn span{position:absolute;top:-5px;right:-5px;background:var(--blue);color:white;border-radius:50%;font-size:10px;padding:2px 5px}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#7c3aed);display:grid;place-items:center;color:white;font-weight:900}.user-chip small{display:block;color:var(--muted);font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 28px 6px}.page-heading h1{font-size:29px;line-height:1.1;margin:4px 0 0;font-weight:900;letter-spacing:-.04em}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--blue);font-weight:900;font-size:11px}.content-wrap{padding:18px 28px 40px}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:16px;margin-bottom:18px}.kpi-card,.panel-card,.metric-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.kpi-card{padding:18px;display:flex;gap:14px;align-items:center;min-height:104px}.kpi-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#e0f2fe;color:#0284c7;font-size:22px}.kpi-card span{color:var(--muted);font-size:13px;font-weight:700}.kpi-card h3{font-size:24px;font-weight:950;margin:5px 0}.kpi-card small{color:#059669;font-weight:800}.panel-card{padding:20px}.panel-card h2,.panel-card h3{font-weight:950;letter-spacing:-.03em}.section-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-bottom:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.span-2{grid-column:span 2}.badge-soft-success,.badge-soft-warning,.badge-soft-danger,.badge-soft-info{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.badge-soft-success{background:#dcfce7;color:#047857}.badge-soft-warning{background:#fff7ed;color:#c2410c}.badge-soft-danger{background:#fee2e2;color:#b91c1c}.badge-soft-info{background:#e0f2fe;color:#0369a1}.table{vertical-align:middle}.table thead th{font-size:12px;text-transform:uppercase;color:#64748b;letter-spacing:.06em;border-bottom:1px solid var(--line)}.table td{border-color:#eef2f7}.btn-primary{background:linear-gradient(90deg,#0284c7,#06b6d4);border:0;font-weight:900;box-shadow:0 14px 26px rgba(14,165,233,.25)}.btn-success{font-weight:900;background:linear-gradient(90deg,#059669,#10b981);border:0}.btn-outline-primary{border-color:#bae6fd;color:#0284c7;font-weight:900}.form-control,.form-select{border-color:#dbe7f3;border-radius:12px;padding:10px 12px}.form-label{font-weight:800;color:#334155}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.product-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 28px rgba(2,8,23,.06);cursor:pointer;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(14,165,233,.16)}.product-img{height:118px;background:linear-gradient(135deg,#e0f2fe,#f0fdf4);display:grid;place-items:center;font-size:42px}.product-card .pbody{padding:13px}.cart-panel{position:sticky;top:100px}.cart-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:10px 0}.cart-thumb{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#e0f2fe}.cart-qty{display:flex;align-items:center;gap:6px}.qty-btn{width:26px;height:26px;border:1px solid var(--line);background:white;border-radius:8px}.pay-method{border:1px solid var(--line);border-radius:16px;padding:15px;text-align:center;cursor:pointer;background:#fff}.pay-method.active{border-color:#0ea5e9;background:#eef8ff;color:#0369a1;box-shadow:0 10px 24px rgba(14,165,233,.14)}.kds-board{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.kds-col{border-radius:18px;padding:14px;border:1px solid var(--line);background:#fff}.kds-col.priority{background:linear-gradient(180deg,#fff1f2,#fff)}.kds-col.progressing{background:linear-gradient(180deg,#fff7ed,#fff)}.kds-col.ready{background:linear-gradient(180deg,#ecfdf5,#fff)}.kds-ticket{border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px;margin-bottom:10px}.station-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;margin-bottom:12px}.station-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#e0f2fe;color:#0284c7;font-size:22px}.table-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.restaurant-table-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:18px;box-shadow:var(--shadow)}.table-icon{width:46px;height:46px;border-radius:16px;background:#e0f2fe;color:#0284c7;display:grid;place-items:center}.room-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.room-tabs a{padding:10px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);text-decoration:none;color:#334155;font-weight:800}.room-tabs a.active{background:#0ea5e9;color:white}.ticket-preview{max-width:330px;background:white;border:1px dashed #94a3b8;border-radius:14px;padding:18px;font-family:"Courier New",monospace}.export-buttons a{margin-left:6px}.installer-body{min-height:100vh;background:radial-gradient(circle at top left,#0ea5e9 0,#06162d 36%,#020617 100%);display:grid;place-items:center;padding:30px}.installer-shell{width:min(1180px,100%);display:grid;grid-template-columns:1fr 1.2fr;gap:24px;align-items:center}.installer-brand{color:white}.installer-brand h1{font-size:54px;font-weight:950;letter-spacing:-.05em}.installer-brand p{font-size:18px;color:#cbd5e1;max-width:560px}.installer-card{background:rgba(255,255,255,.92);backdrop-filter:blur(20px);border-radius:28px;padding:30px;box-shadow:0 35px 90px rgba(0,0,0,.35)}.check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}.check-item{background:#f8fafc;border:1px solid var(--line);padding:10px;border-radius:12px;font-weight:800}.login-body{min-height:100vh;background:linear-gradient(135deg,#06162d,#082f49 50%,#0e7490);display:grid;place-items:center;padding:24px}.login-card{width:min(460px,100%);background:rgba(255,255,255,.96);border-radius:28px;padding:32px;box-shadow:0 35px 90px rgba(0,0,0,.35)}.login-logo{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#0ea5e9,#7c3aed);color:white;display:grid;place-items:center;font-weight:950;margin-bottom:18px}.print-only{display:none}@media(max-width:1300px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.section-grid{grid-template-columns:1fr}.kds-board{grid-template-columns:1fr}.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}@media(max-width:880px){.sidebar{transform:translateX(-105%);transition:.25s}.sidebar.open{transform:translateX(0)}.sidebar-close,.mobile-toggle{display:grid;place-items:center}.main{margin-left:0}.topbar{padding:0 14px}.quick-action{display:none}.branch-card{min-width:0;flex:1}.page-heading{padding:16px}.content-wrap{padding:12px 16px 30px}.kpi-grid{grid-template-columns:1fr}.installer-shell{grid-template-columns:1fr}.installer-brand h1{font-size:36px}}@media print{.sidebar,.topbar,.page-heading,.no-print{display:none!important}.main{margin:0}.content-wrap{padding:0}.panel-card{box-shadow:none;border:0}.print-only{display:block}}

/* Premium production components */
.module-card,.qa-card,.audit-row,.mobile-preview,.domain-card,.backup-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:18px}.module-card{display:flex;gap:14px;align-items:flex-start}.module-card .module-icon{width:46px;height:46px;border-radius:16px;background:#e0f2fe;color:#0284c7;display:grid;place-items:center;font-size:22px}.status-dot{width:10px;height:10px;border-radius:999px;display:inline-block}.status-dot.green{background:#10b981}.status-dot.orange{background:#f59e0b}.status-dot.red{background:#ef4444}.floor-plan{min-height:430px;background:linear-gradient(135deg,#f8fafc,#edf7ff);border:1px solid var(--line);border-radius:24px;position:relative;overflow:hidden}.floor-plan::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.13) 1px,transparent 1px);background-size:34px 34px}.floor-table{position:absolute;z-index:2;min-width:96px;height:64px;border-radius:18px;background:#fff;border:2px solid #bae6fd;display:grid;place-items:center;font-weight:950;box-shadow:0 14px 34px rgba(2,8,23,.09)}.floor-table.occupied{border-color:#fb7185;background:#fff1f2}.floor-table.available{border-color:#34d399;background:#ecfdf5}.floor-table.reserved{border-color:#fbbf24;background:#fffbeb}.timeline{position:relative;padding-left:18px}.timeline::before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:2px;background:#e2e8f0}.timeline-item{position:relative;margin-bottom:14px}.timeline-item::before{content:"";position:absolute;left:-18px;top:4px;width:10px;height:10px;border-radius:50%;background:#0ea5e9}.pwa-phone{width:min(330px,100%);margin:auto;border:12px solid #07172d;border-radius:42px;background:#f8fafc;box-shadow:0 35px 80px rgba(2,8,23,.26);overflow:hidden}.pwa-phone-header{height:32px;background:#07172d}.pwa-phone-content{padding:18px}.report-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #dbeafe;background:#eff6ff;color:#075985;border-radius:999px;padding:8px 12px;font-weight:900;margin:4px}.permission-pill{display:inline-flex;border:1px solid #dbe7f3;border-radius:999px;padding:6px 10px;background:#fff;margin:3px;font-size:12px;font-weight:800}.empty-state{border:1px dashed #cbd5e1;border-radius:22px;padding:34px;text-align:center;background:linear-gradient(180deg,#fff,#f8fafc)}.lux-divider{height:1px;background:linear-gradient(90deg,transparent,#bae6fd,transparent);margin:18px 0}.live-glow{box-shadow:0 0 0 0 rgba(16,185,129,.7);animation:livePulse 1.8s infinite}@keyframes livePulse{70%{box-shadow:0 0 0 12px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}

/* Cliente real */
.kds-tv-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.kds-tv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:18px}.kds-tv-card{background:#fff;border:2px solid #dbeafe;border-radius:24px;padding:22px;box-shadow:0 22px 55px rgba(15,23,42,.10)}.kds-tv-card.warning{border-color:#fed7aa;background:linear-gradient(180deg,#fff7ed,#fff)}.kds-tv-card.danger{border-color:#fecaca;background:linear-gradient(180deg,#fff1f2,#fff)}.kds-tv-card h2{font-size:30px;font-weight:950}.kds-tv-card h3{font-size:24px;font-weight:950}.kds-time{display:inline-flex;align-items:center;gap:8px;background:#eef8ff;color:#0369a1;border-radius:999px;padding:8px 12px;font-weight:900}.empty-state{padding:28px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px}.fw-black{font-weight:950}@media(max-width:768px){.kds-tv-header{align-items:flex-start;flex-direction:column}.kds-tv-card h2{font-size:24px}.kds-tv-card h3{font-size:20px}.restaurant-table-card .btn{padding:12px 14px}.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.kpi-grid{grid-template-columns:1fr 1fr}.quick-action{display:none}}


.btn-xs{--bs-btn-padding-y:.12rem;--bs-btn-padding-x:.35rem;--bs-btn-font-size:.72rem}.badge-soft-warning{background:#fff7ed;color:#c2410c}.badge-soft-success{background:#ecfdf5;color:#047857}.badge-soft-danger{background:#fef2f2;color:#b91c1c}.badge-soft-info{background:#eff6ff;color:#1d4ed8}.kds-ticket.border-danger{box-shadow:0 10px 28px rgba(239,68,68,.12)}.swal2-input{height:44px!important}.active.btn-outline-primary{background:#0ea5e9;color:#fff;border-color:#0ea5e9}


/* Componentes operativos integrados */
.kds-board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:1rem}.kds-lane{background:#f8fbff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:1rem;min-height:420px}.kds-ticket{background:white;border-radius:22px;padding:1rem;margin-bottom:.85rem;box-shadow:0 12px 35px rgba(15,23,42,.08);border-left:6px solid #10b981}.kds-ticket.warning{border-left-color:#f59e0b}.kds-ticket.danger{border-left-color:#ef4444}.timer-pill{border-radius:999px;padding:.25rem .65rem;font-size:.78rem;font-weight:800;background:#eef6ff;color:#075985}.flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.flow-card{border-radius:24px;padding:1rem;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 40px rgba(15,23,42,.06)}.operation-hero{border-radius:32px;padding:1.4rem;background:linear-gradient(135deg,#081426,#0f3a5f 50%,#0ea5e9);color:#fff;box-shadow:0 24px 70px rgba(14,165,233,.25)}.operation-hero .badge{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25)}.split-board{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem}.ticket-preview{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#fff;border:1px dashed #94a3b8;border-radius:18px;padding:1rem;max-width:360px}.offline-led{width:12px;height:12px;border-radius:50%;display:inline-block;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}.offline-led.warn{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.12)}.offline-led.danger{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12)}@media(max-width:1100px){.kds-board,.split-board{grid-template-columns:1fr}}

/* Estabilización cliente piloto */
.pos-mobile-tools{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:1rem;background:linear-gradient(135deg,#ffffff,#eef7ff);border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:.85rem 1rem;box-shadow:0 12px 32px rgba(15,23,42,.08)}
.offline-indicator{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .8rem;border-radius:999px;background:#dcfce7;color:#166534;font-weight:800}.offline-indicator.offline{background:#fff7ed;color:#9a3412}.offline-led{width:12px;height:12px;border-radius:99px;background:#22c55e;display:inline-block;box-shadow:0 0 0 6px rgba(34,197,94,.12)}.offline-led.danger{background:#ef4444;box-shadow:0 0 0 6px rgba(239,68,68,.12)}
.permission-matrix th,.permission-matrix td{vertical-align:middle;white-space:nowrap}.perm-dot{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;font-weight:900}.perm-dot.ok{background:#dcfce7;color:#166534}.perm-dot.no{background:#f1f5f9;color:#94a3b8}.kds-live-stats{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:1rem;margin-bottom:1rem}.kds-live-stats>div{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:1rem;box-shadow:0 10px 30px rgba(15,23,42,.07);text-align:center}.kds-live-stats b{display:block;font-size:1.8rem;color:#0f172a}.kds-live-stats span{font-size:.8rem;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.kds-note{margin-top:.65rem;padding:.65rem;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:700}.kds-tv-card .btn{border-radius:18px}.flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.flow-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:1rem;box-shadow:0 12px 32px rgba(15,23,42,.07)}
@media(max-width:900px){.pos-layout{grid-template-columns:1fr!important}.cart-panel{position:static!important}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kds-live-stats{grid-template-columns:repeat(2,1fr)}.permission-matrix{font-size:.82rem}.pos-mobile-tools{position:sticky;top:0;z-index:5}}
@media print{.ticket-preview{width:80mm;box-shadow:none;border:0}.ticket-preview.ticket-58{width:58mm}.no-print,.sidebar,.topbar,.page-heading{display:none!important}.main{margin:0!important}.content-wrap{padding:0!important}}
/* POS delivery integration polish */
.delivery-pro-box{border:1px solid #bae6fd;background:linear-gradient(180deg,#f0f9ff,#ffffff);border-radius:18px;padding:16px;box-shadow:0 14px 32px rgba(14,165,233,.08)}
.delivery-mini-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:10px}
.delivery-mini-summary span{font-size:12px;color:#334155;background:#f8fafc;border-radius:10px;padding:8px}
@media(max-width:900px){.delivery-mini-summary{grid-template-columns:1fr 1fr}.delivery-pro-box .row>[class*=col-]{width:100%}}


.platform-card,.api-mini-card{border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:16px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 14px 35px rgba(15,23,42,.06)}
.api-mini-card{display:flex;flex-direction:column;gap:6px;height:100%}
.delivery-api-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.delivery-api-status a{text-decoration:none}
.delivery-mini-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px dashed rgba(14,165,233,.35);background:#f0f9ff;border-radius:14px;font-size:.88rem}
@media(max-width:768px){.delivery-mini-summary{grid-template-columns:1fr}.platform-card{padding:12px}}


/* Producción real */
.owner-v30-panel{background:linear-gradient(135deg,rgba(14,165,233,.10),rgba(16,185,129,.08)),#fff;border:1px solid rgba(14,165,233,.16)}
.kds-tv-card.danger{box-shadow:0 0 0 2px rgba(239,68,68,.35),0 22px 60px rgba(239,68,68,.18)}
.kds-tv-card.warning{box-shadow:0 0 0 2px rgba(245,158,11,.30),0 22px 60px rgba(245,158,11,.12)}
.hardware-mini-status{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.35rem .7rem;background:#eef6ff;color:#075985;font-weight:800;font-size:.78rem}
@media(max-width:768px){.owner-v30-panel .kpi-grid{grid-template-columns:1fr}.kds-tv-card h2{font-size:1.25rem}.kds-tv-card h3{font-size:1.05rem}}

/* ==========================================================
  Diseño visual unificado
  Aplica el mismo lenguaje oscuro premium en todo el panel.
  ========================================================== */
body.theme-unified-dark{
 --v32-bg:#050b18;--v32-bg2:#071427;--v32-panel:#0b1628;--v32-panel2:#0f1f36;--v32-border:rgba(148,163,184,.18);--v32-border-strong:rgba(56,189,248,.28);--v32-text:#f8fafc;--v32-muted:#9fb3c8;--v32-subtle:#64748b;--v32-blue:#0ea5e9;--v32-blue2:#2563eb;--v32-cyan:#22d3ee;--v32-green:#22c55e;--v32-emerald:#10b981;--v32-amber:#f59e0b;--v32-red:#ef4444;--v32-purple:#8b5cf6;--v32-shadow:0 18px 55px rgba(0,0,0,.32);--v32-glow:0 0 0 1px rgba(14,165,233,.16),0 18px 60px rgba(14,165,233,.08);
 color:var(--v32-text)!important;background:
  radial-gradient(circle at 18% 0%,rgba(14,165,233,.18),transparent 33%),
  radial-gradient(circle at 90% 12%,rgba(37,99,235,.14),transparent 34%),
  linear-gradient(135deg,#050b18 0%,#071427 45%,#050b18 100%)!important;
}
body.theme-unified-dark::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent 80%);z-index:-1}
.theme-unified-dark .app-shell{background:transparent;min-height:100vh}.theme-unified-dark .main{background:transparent;color:var(--v32-text)}
.theme-unified-dark .sidebar{background:linear-gradient(180deg,rgba(5,13,28,.98),rgba(7,20,39,.98) 55%,rgba(4,10,22,.98));border-right:1px solid rgba(56,189,248,.12);box-shadow:24px 0 80px rgba(0,0,0,.38);padding:22px 18px}.theme-unified-dark .sidebar::after{content:"";position:absolute;right:-1px;top:0;bottom:0;width:1px;background:linear-gradient(180deg,transparent,rgba(34,211,238,.45),transparent)}
.theme-unified-dark .sidebar-brand{padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid rgba(148,163,184,.12)}.theme-unified-dark .brand-mark{width:50px;height:50px;border-radius:18px;background:linear-gradient(135deg,#06b6d4,#2563eb);box-shadow:0 0 30px rgba(14,165,233,.45),inset 0 0 16px rgba(255,255,255,.12)}.theme-unified-dark .brand-mark span{background:#05101f;color:#dffbff;letter-spacing:.04em}.theme-unified-dark .sidebar-brand b{font-size:23px;color:#fff}.theme-unified-dark .sidebar-brand em{color:#22d3ee;text-shadow:0 0 18px rgba(34,211,238,.55)}.theme-unified-dark .sidebar-brand small{color:#93a8bc;letter-spacing:.02em}
.theme-unified-dark .sidebar-nav{gap:7px;padding-right:4px}.theme-unified-dark .sidebar-nav a{color:#dbeafe;border:1px solid transparent;border-radius:15px;padding:12px 13px;font-weight:850;letter-spacing:-.01em;transition:.18s ease}.theme-unified-dark .sidebar-nav a i{color:#a8c7e8}.theme-unified-dark .sidebar-nav a:hover{background:rgba(14,165,233,.09);border-color:rgba(14,165,233,.18);box-shadow:0 8px 28px rgba(14,165,233,.08);transform:translateX(2px)}.theme-unified-dark .sidebar-nav a.active{background:linear-gradient(90deg,#0284c7,#0ea5e9 70%,#2563eb);border-color:rgba(56,189,248,.55);box-shadow:0 12px 32px rgba(14,165,233,.32),inset 0 1px 0 rgba(255,255,255,.16);color:#fff}.theme-unified-dark .nav-badge{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.25)}
.theme-unified-dark .plan-card-mini{background:linear-gradient(135deg,rgba(14,165,233,.12),rgba(15,23,42,.52));border:1px solid rgba(56,189,248,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.07);color:#fff}.theme-unified-dark .plan-card-mini small{color:#9fb3c8}.theme-unified-dark .manage-plan,.theme-unified-dark .logout-link{border:1px solid rgba(148,163,184,.12);background:rgba(255,255,255,.025);color:#dbeafe}.theme-unified-dark .manage-plan:hover,.theme-unified-dark .logout-link:hover{background:rgba(14,165,233,.12);border-color:rgba(14,165,233,.26)}
.theme-unified-dark .topbar{height:86px;background:rgba(4,11,24,.78)!important;backdrop-filter:blur(20px);border-bottom:1px solid rgba(56,189,248,.14);box-shadow:0 10px 32px rgba(0,0,0,.25);color:#fff}.theme-unified-dark .branch-card,.theme-unified-dark .quick-action,.theme-unified-dark .icon-btn,.theme-unified-dark .date-pill{background:rgba(11,22,40,.76)!important;border:1px solid var(--v32-border)!important;color:#f8fafc!important;box-shadow:0 12px 35px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.05)}.theme-unified-dark .branch-card select{color:#fff}.theme-unified-dark .branch-card select option{color:#0f172a}.theme-unified-dark .branch-card i,.theme-unified-dark .quick-action i,.theme-unified-dark .icon-btn i{color:#38bdf8}.theme-unified-dark .online-pill{background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.25);color:#d1fae5}.theme-unified-dark .online-pill i{color:#22c55e}.theme-unified-dark .quick-action:hover,.theme-unified-dark .icon-btn:hover{border-color:rgba(56,189,248,.45)!important;box-shadow:0 0 0 1px rgba(14,165,233,.16),0 14px 38px rgba(14,165,233,.13)}.theme-unified-dark .user-chip b{color:#fff}.theme-unified-dark .user-chip small{color:#93a8bc}.theme-unified-dark .avatar{background:linear-gradient(135deg,#0ea5e9,#4f46e5);box-shadow:0 0 28px rgba(59,130,246,.35)}
.theme-unified-dark .page-heading{padding:28px 34px 10px;color:#fff}.theme-unified-dark .page-heading h1{font-size:38px;letter-spacing:-.055em;color:#fff;text-shadow:0 2px 18px rgba(255,255,255,.06)}.theme-unified-dark .eyebrow{color:#22d3ee;text-shadow:0 0 20px rgba(34,211,238,.35)}.theme-unified-dark .content-wrap{padding:20px 34px 48px}.theme-unified-dark .text-muted{color:var(--v32-muted)!important}.theme-unified-dark small{color:var(--v32-muted)}.theme-unified-dark h1,.theme-unified-dark h2,.theme-unified-dark h3,.theme-unified-dark h4,.theme-unified-dark h5,.theme-unified-dark h6{color:#fff}.theme-unified-dark p,.theme-unified-dark label,.theme-unified-dark .form-label{color:#cbd5e1}.theme-unified-dark a{color:#38bdf8}.theme-unified-dark hr{border-color:rgba(148,163,184,.17)}
.theme-unified-dark .kpi-card,.theme-unified-dark .panel-card,.theme-unified-dark .metric-card,.theme-unified-dark .restaurant-table-card,.theme-unified-dark .station-card,.theme-unified-dark .flow-card,.theme-unified-dark .platform-card,.theme-unified-dark .api-mini-card,.theme-unified-dark .delivery-pro-box,.theme-unified-dark .owner-v30-panel,.theme-unified-dark .kds-col,.theme-unified-dark .room-tabs a,.theme-unified-dark .floor-plan,.theme-unified-dark .pwa-phone-content{background:linear-gradient(180deg,rgba(15,31,54,.88),rgba(8,18,34,.92))!important;border:1px solid var(--v32-border)!important;color:#eaf6ff;box-shadow:var(--v32-shadow),inset 0 1px 0 rgba(255,255,255,.045)}.theme-unified-dark .panel-card,.theme-unified-dark .kpi-card{position:relative;overflow:hidden}.theme-unified-dark .panel-card::before,.theme-unified-dark .kpi-card::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(56,189,248,.35),transparent);opacity:.8}.theme-unified-dark .kpi-card{min-height:104px;border-radius:22px}.theme-unified-dark .kpi-icon,.theme-unified-dark .station-icon,.theme-unified-dark .table-icon{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;color:#fff!important;box-shadow:0 0 30px rgba(14,165,233,.25);border:1px solid rgba(255,255,255,.08)}.theme-unified-dark .kpi-card span{color:#a9bed3}.theme-unified-dark .kpi-card h3{color:#fff}.theme-unified-dark .kpi-card small{color:#34d399}.theme-unified-dark .section-grid,.theme-unified-dark .grid-2,.theme-unified-dark .grid-3,.theme-unified-dark .grid-4{gap:20px}.theme-unified-dark .span-2{grid-column:span 2}
.theme-unified-dark .table-responsive{border-radius:22px}.theme-unified-dark .table{--bs-table-bg:transparent;--bs-table-color:#eaf6ff;--bs-table-striped-bg:rgba(255,255,255,.025);--bs-table-hover-bg:rgba(14,165,233,.08);color:#eaf6ff!important;margin-bottom:0}.theme-unified-dark .table thead th{color:#a8c7e8!important;border-color:rgba(148,163,184,.16)!important;background:rgba(255,255,255,.02);letter-spacing:.08em}.theme-unified-dark .table td,.theme-unified-dark .table th{border-color:rgba(148,163,184,.12)!important}.theme-unified-dark .table tbody tr{transition:.18s ease}.theme-unified-dark .table tbody tr:hover{background:rgba(14,165,233,.07)}.theme-unified-dark .table b{color:#fff}.theme-unified-dark .border,.theme-unified-dark .border-bottom,.theme-unified-dark .border-top{border-color:rgba(148,163,184,.14)!important}.theme-unified-dark .bg-light{background:rgba(255,255,255,.045)!important;color:#dbeafe!important}.theme-unified-dark .alert{border-radius:18px;border:1px solid rgba(255,255,255,.12)}
.theme-unified-dark .form-control,.theme-unified-dark .form-select,.theme-unified-dark textarea,.theme-unified-dark input,.theme-unified-dark select{background:rgba(5,12,24,.72)!important;border:1px solid rgba(148,163,184,.2)!important;color:#f8fafc!important;border-radius:14px}.theme-unified-dark .form-control::placeholder,.theme-unified-dark textarea::placeholder{color:#7f93a8!important}.theme-unified-dark .form-control:focus,.theme-unified-dark .form-select:focus{border-color:#38bdf8!important;box-shadow:0 0 0 .22rem rgba(14,165,233,.16)!important}.theme-unified-dark option{color:#0f172a}.theme-unified-dark .input-group-text{background:rgba(14,165,233,.08);border-color:rgba(148,163,184,.2);color:#bae6fd}.theme-unified-dark .modal-content{background:linear-gradient(180deg,#0f1f36,#081222);border:1px solid rgba(56,189,248,.22);box-shadow:0 24px 80px rgba(0,0,0,.55);color:#eaf6ff}.theme-unified-dark .modal-header,.theme-unified-dark .modal-footer{border-color:rgba(148,163,184,.14)}.theme-unified-dark .btn-close{filter:invert(1) grayscale(1)}
.theme-unified-dark .btn{border-radius:14px;font-weight:900;letter-spacing:.01em}.theme-unified-dark .btn-primary{background:linear-gradient(90deg,#0284c7,#0ea5e9 55%,#2563eb);border:1px solid rgba(56,189,248,.25);box-shadow:0 16px 38px rgba(14,165,233,.22)}.theme-unified-dark .btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}.theme-unified-dark .btn-outline-primary{color:#bae6fd;border-color:rgba(56,189,248,.35);background:rgba(14,165,233,.04)}.theme-unified-dark .btn-outline-primary:hover,.theme-unified-dark .btn-outline-secondary:hover{background:rgba(14,165,233,.16);border-color:#38bdf8;color:#fff}.theme-unified-dark .btn-outline-secondary,.theme-unified-dark .btn-light{color:#dbeafe!important;background:rgba(255,255,255,.035)!important;border-color:rgba(148,163,184,.18)!important}.theme-unified-dark .btn-success{background:linear-gradient(90deg,#059669,#10b981);box-shadow:0 14px 34px rgba(16,185,129,.18)}.theme-unified-dark .btn-danger{background:linear-gradient(90deg,#dc2626,#ef4444);border:0}.theme-unified-dark .btn-warning{background:linear-gradient(90deg,#d97706,#f59e0b);border:0;color:#111827}
.theme-unified-dark .badge-soft-success{background:rgba(34,197,94,.14);color:#bbf7d0;border:1px solid rgba(34,197,94,.2)}.theme-unified-dark .badge-soft-warning{background:rgba(245,158,11,.14);color:#fde68a;border:1px solid rgba(245,158,11,.22)}.theme-unified-dark .badge-soft-danger{background:rgba(239,68,68,.14);color:#fecaca;border:1px solid rgba(239,68,68,.2)}.theme-unified-dark .badge-soft-info{background:rgba(14,165,233,.15);color:#bae6fd;border:1px solid rgba(14,165,233,.22)}.theme-unified-dark .badge,.theme-unified-dark .nav-pills .nav-link{border-radius:999px}.theme-unified-dark .nav-tabs{border-color:rgba(148,163,184,.14)}.theme-unified-dark .nav-tabs .nav-link{color:#a8c7e8;border-color:transparent}.theme-unified-dark .nav-tabs .nav-link.active{background:rgba(14,165,233,.14);border-color:rgba(14,165,233,.24);color:#fff}
.theme-unified-dark .product-card,.theme-unified-dark .pay-method,.theme-unified-dark .cart-panel,.theme-unified-dark .cart-item,.theme-unified-dark .ticket-preview{background:linear-gradient(180deg,rgba(15,31,54,.96),rgba(8,18,34,.98))!important;border:1px solid var(--v32-border)!important;color:#eaf6ff;box-shadow:0 16px 46px rgba(0,0,0,.22)}.theme-unified-dark .product-card:hover{transform:translateY(-4px);border-color:rgba(56,189,248,.4)!important;box-shadow:0 18px 55px rgba(14,165,233,.14)}.theme-unified-dark .product-img{background:linear-gradient(135deg,rgba(14,165,233,.16),rgba(16,185,129,.12))!important}.theme-unified-dark .cart-thumb{background:rgba(14,165,233,.14);color:#bae6fd}.theme-unified-dark .qty-btn{background:rgba(255,255,255,.035);border-color:rgba(148,163,184,.18);color:#fff}.theme-unified-dark .pay-method.active{background:linear-gradient(180deg,rgba(14,165,233,.22),rgba(37,99,235,.12))!important;border-color:#38bdf8!important;color:#fff!important}.theme-unified-dark .delivery-mini-summary{background:rgba(14,165,233,.08);border-color:rgba(14,165,233,.25)}.theme-unified-dark .delivery-mini-summary span{background:rgba(255,255,255,.04);color:#dbeafe}.theme-unified-dark .empty-state{background:rgba(255,255,255,.03);border-color:rgba(148,163,184,.18);color:#a8c7e8}.theme-unified-dark .floor-table{background:#0f1f36;color:#fff;border-color:rgba(56,189,248,.35)}.theme-unified-dark .floor-table.occupied{background:rgba(239,68,68,.16);border-color:rgba(239,68,68,.35)}.theme-unified-dark .floor-table.available{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35)}.theme-unified-dark .floor-table.reserved{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.35)}
.theme-unified-dark .kds-board{gap:18px}.theme-unified-dark .kds-col.priority{background:linear-gradient(180deg,rgba(239,68,68,.10),rgba(15,31,54,.86))!important}.theme-unified-dark .kds-col.progressing{background:linear-gradient(180deg,rgba(245,158,11,.11),rgba(15,31,54,.86))!important}.theme-unified-dark .kds-col.ready{background:linear-gradient(180deg,rgba(34,197,94,.10),rgba(15,31,54,.86))!important}.theme-unified-dark .kds-ticket,.theme-unified-dark .kds-tv-card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035))!important;border:1px solid rgba(148,163,184,.18)!important;color:#f8fafc}.theme-unified-dark .timer-pill{background:rgba(14,165,233,.16);color:#bae6fd;border:1px solid rgba(14,165,233,.22)}.theme-unified-dark .kds-live-stats>div{background:linear-gradient(180deg,rgba(15,31,54,.86),rgba(8,18,34,.92));border-color:rgba(148,163,184,.18);box-shadow:0 16px 42px rgba(0,0,0,.22)}.theme-unified-dark .kds-live-stats b{color:#fff}.theme-unified-dark .kds-live-stats span{color:#9fb3c8}.theme-unified-dark .kds-note{background:rgba(14,165,233,.10);color:#bae6fd;border:1px solid rgba(14,165,233,.18)}
.theme-unified-dark canvas{filter:drop-shadow(0 12px 24px rgba(14,165,233,.06))}.theme-unified-dark .progress{background:rgba(255,255,255,.06);height:.6rem;border-radius:999px}.theme-unified-dark .progress-bar{background:linear-gradient(90deg,#0ea5e9,#22d3ee)}.theme-unified-dark .pagination .page-link{background:rgba(255,255,255,.035);border-color:rgba(148,163,184,.15);color:#dbeafe}.theme-unified-dark .pagination .active .page-link,.theme-unified-dark .page-item.active .page-link{background:linear-gradient(90deg,#0284c7,#0ea5e9);border-color:#0ea5e9;color:#fff}.theme-unified-dark .dropdown-menu{background:#0b1628;border-color:rgba(148,163,184,.18);box-shadow:0 18px 55px rgba(0,0,0,.38)}.theme-unified-dark .dropdown-item{color:#dbeafe}.theme-unified-dark .dropdown-item:hover{background:rgba(14,165,233,.12);color:#fff}.theme-unified-dark .swal2-popup{background:#0f1f36!important;color:#eaf6ff!important;border:1px solid rgba(56,189,248,.18);border-radius:24px!important}.theme-unified-dark .swal2-title,.theme-unified-dark .swal2-html-container{color:#eaf6ff!important}
.theme-unified-dark.login-body{background:radial-gradient(circle at 20% 0%,rgba(14,165,233,.28),transparent 34%),linear-gradient(135deg,#050b18,#071427 58%,#030712)!important}.theme-unified-dark .login-card{background:linear-gradient(180deg,rgba(15,31,54,.92),rgba(8,18,34,.96));border:1px solid rgba(56,189,248,.24);box-shadow:0 30px 90px rgba(0,0,0,.56);color:#fff}.theme-unified-dark .login-logo{box-shadow:0 0 35px rgba(14,165,233,.5)}.theme-unified-dark .login-card .bg-light{background:rgba(14,165,233,.06)!important;border:1px solid rgba(14,165,233,.14)}
/* Public customer pages also inherit a premium version when body has no app shell */
body:not(.app-body) .public-premium-card,body:not(.app-body) .card{border-radius:22px;box-shadow:0 18px 50px rgba(2,8,23,.08)}
@media(max-width:1300px){.theme-unified-dark .page-heading h1{font-size:32px}.theme-unified-dark .kpi-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:880px){.theme-unified-dark .page-heading{padding:20px 16px 6px}.theme-unified-dark .content-wrap{padding:14px 16px 32px}.theme-unified-dark .page-heading h1{font-size:29px}.theme-unified-dark .topbar{height:74px}.theme-unified-dark .kpi-grid{grid-template-columns:1fr}.theme-unified-dark .sidebar{padding:18px 14px}.theme-unified-dark .brand-mark{width:44px;height:44px}.theme-unified-dark .user-chip div:not(.avatar){display:none}}
.theme-unified-dark.installer-body{background:radial-gradient(circle at 18% 0%,rgba(14,165,233,.28),transparent 34%),radial-gradient(circle at 100% 20%,rgba(139,92,246,.14),transparent 33%),linear-gradient(135deg,#050b18,#071427 54%,#030712)!important;color:#eaf6ff}.theme-unified-dark .installer-card{background:linear-gradient(180deg,rgba(15,31,54,.94),rgba(8,18,34,.98));border:1px solid rgba(56,189,248,.22);box-shadow:0 32px 90px rgba(0,0,0,.55);color:#eaf6ff}.theme-unified-dark .installer-brand h1{color:#fff;text-shadow:0 0 34px rgba(14,165,233,.18)}.theme-unified-dark .installer-brand p{color:#b8c8d9}.theme-unified-dark .check-item{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.18);color:#dbeafe}.theme-unified-dark .installer-card h2{color:#fff}

/* =====================================================================
  DISEÑO VISUAL DELUXE UNIFICADO
  Solo visual: no cambia la lógica funcional del sistema.
  Sistema visual operativo: dark SaaS deluxe + neon blue.
  ===================================================================== */
:root{
 --nx-bg-0:#020815;
 --nx-bg-1:#061020;
 --nx-bg-2:#0a1628;
 --nx-bg-3:#0f2038;
 --nx-card:rgba(8,19,36,.88);
 --nx-card-2:rgba(11,25,46,.92);
 --nx-card-3:rgba(14,30,52,.96);
 --nx-border:rgba(90,140,190,.22);
 --nx-border-strong:rgba(56,189,248,.38);
 --nx-text:#f6fbff;
 --nx-soft:#d7e4f4;
 --nx-muted:#8ea2bb;
 --nx-blue:#0ea5e9;
 --nx-blue-2:#1d4ed8;
 --nx-cyan:#22d3ee;
 --nx-green:#22c55e;
 --nx-emerald:#10b981;
 --nx-amber:#f59e0b;
 --nx-red:#ef4444;
 --nx-purple:#8b5cf6;
 --nx-teal:#14b8a6;
 --nx-radius:22px;
 --nx-radius-sm:14px;
 --nx-glow-blue:0 0 0 1px rgba(56,189,248,.22),0 20px 54px rgba(14,165,233,.14),inset 0 1px 0 rgba(255,255,255,.05);
 --nx-shadow:0 28px 80px rgba(0,0,0,.45);
}

html{background:var(--nx-bg-0)!important;}
body.app-body.nexorest-v33,
body.theme-unified-dark.nexorest-v33{
 min-height:100vh!important;
 background:
  radial-gradient(circle at 8% 5%,rgba(14,165,233,.18),transparent 25%),
  radial-gradient(circle at 98% 0%,rgba(37,99,235,.15),transparent 27%),
  radial-gradient(circle at 65% 100%,rgba(34,211,238,.08),transparent 35%),
  linear-gradient(135deg,#020815 0%,#050d1a 44%,#071426 100%)!important;
 color:var(--nx-text)!important;
 letter-spacing:-.01em;
 overflow-x:hidden;
}

.nexorest-v33 ::selection{background:rgba(14,165,233,.45);color:#fff;}
.nexorest-v33 a{color:#8bdfff;}
.nexorest-v33 .text-muted{color:var(--nx-muted)!important;}
.nexorest-v33 small{color:#9fb3c8;}
.nexorest-v33 code{background:rgba(14,165,233,.09);border:1px solid rgba(14,165,233,.18);border-radius:9px;color:#bae6fd;padding:.12rem .35rem;}

/* App shell */
.nexorest-v33 .app-shell{min-height:100vh;background:transparent!important;}
.nexorest-v33 .sidebar{
 width:320px!important;
 padding:24px 20px!important;
 background:
  linear-gradient(180deg,rgba(4,13,29,.98),rgba(5,16,33,.98) 52%,rgba(3,10,23,.99)),
  radial-gradient(circle at 30% 0%,rgba(14,165,233,.16),transparent 28%)!important;
 border-right:1px solid rgba(56,189,248,.13)!important;
 box-shadow:22px 0 70px rgba(0,0,0,.44)!important;
 overflow:hidden!important;
}
.nexorest-v33 .sidebar::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(56,189,248,.05),transparent 45%);pointer-events:none;}
.nexorest-v33 .sidebar-brand{position:relative;gap:15px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid rgba(148,163,184,.11);}
.nexorest-v33 .brand-mark{width:54px!important;height:54px!important;border-radius:18px!important;background:linear-gradient(135deg,#06b6d4,#0284c7 58%,#2563eb)!important;box-shadow:0 0 34px rgba(14,165,233,.34),inset 0 1px 0 rgba(255,255,255,.22)!important;}
.nexorest-v33 .brand-mark span{background:rgba(2,8,23,.84)!important;color:#bff3ff!important;font-size:14px!important;font-weight:950!important;letter-spacing:-.04em;border:1px solid rgba(255,255,255,.08);}
.nexorest-v33 .sidebar-brand b{font-size:26px!important;line-height:1!important;color:#fff;letter-spacing:-.055em;text-shadow:0 0 24px rgba(14,165,233,.18);}
.nexorest-v33 .sidebar-brand em{color:#29c7ff!important;text-shadow:0 0 22px rgba(34,211,238,.25);}
.nexorest-v33 .sidebar-brand small{margin-top:6px;color:#9fb3c8!important;font-size:13px!important;letter-spacing:.01em;}

.nexorest-v33 .sidebar-nav{position:relative;display:flex;flex-direction:column;gap:7px;overflow:auto;padding-right:4px;min-height:0;scrollbar-width:thin;scrollbar-color:rgba(14,165,233,.45) transparent;}
.nexorest-v33 .sidebar-nav::-webkit-scrollbar{width:6px}.nexorest-v33 .sidebar-nav::-webkit-scrollbar-thumb{background:rgba(14,165,233,.36);border-radius:999px;}
.nexorest-v33 .sidebar-nav a{
 min-height:46px!important;
 padding:12px 15px!important;
 border-radius:16px!important;
 color:#d7e4f4!important;
 border:1px solid transparent!important;
 background:transparent!important;
 font-weight:800!important;
 letter-spacing:-.015em;
 position:relative;
 transition:.2s ease;
}
.nexorest-v33 .sidebar-nav a i{font-size:19px!important;color:#a7bed6!important;filter:drop-shadow(0 0 8px rgba(14,165,233,.0));}
.nexorest-v33 .sidebar-nav a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.nexorest-v33 .sidebar-nav a:hover{background:rgba(14,165,233,.08)!important;border-color:rgba(56,189,248,.18)!important;transform:translateX(2px);}
.nexorest-v33 .sidebar-nav a:hover i{color:#7dd3fc!important;filter:drop-shadow(0 0 12px rgba(14,165,233,.28));}
.nexorest-v33 .sidebar-nav a.active{
 color:#fff!important;
 background:linear-gradient(90deg,#0284c7,#0ea5e9 62%,#2563eb)!important;
 border-color:rgba(56,189,248,.5)!important;
 box-shadow:0 14px 34px rgba(14,165,233,.26),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.nexorest-v33 .sidebar-nav a.active i{color:#fff!important;filter:drop-shadow(0 0 15px rgba(255,255,255,.25));}
.nexorest-v33 .nav-badge{margin-left:auto;min-width:26px;height:26px;display:inline-grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.15);color:#fff;font-size:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);}

.nexorest-v33 .sidebar-footer{position:relative;margin-top:auto;padding-top:18px;border-top:1px solid rgba(148,163,184,.1);display:grid;gap:12px;}
.nexorest-v33 .plan-card-mini{
 background:linear-gradient(180deg,rgba(15,31,54,.92),rgba(7,18,34,.95))!important;
 border:1px solid rgba(56,189,248,.18)!important;
 border-radius:22px!important;
 padding:18px!important;
 box-shadow:0 18px 44px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);
}
.nexorest-v33 .plan-card-mini b{display:block;color:#fff;font-size:18px;line-height:1.2}.nexorest-v33 .plan-card-mini small{display:block;margin-top:6px;color:#a7bed6;}
.nexorest-v33 .manage-plan,.nexorest-v33 .logout-link{border-radius:16px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(148,163,184,.13);padding:13px 15px;color:#dbeafe!important;text-decoration:none;font-weight:850;display:flex;align-items:center;gap:10px;}
.nexorest-v33 .logout-link{background:rgba(255,255,255,.025)!important;}
.nexorest-v33 .manage-plan:hover,.nexorest-v33 .logout-link:hover{border-color:rgba(56,189,248,.24);background:rgba(14,165,233,.08)!important;}

/* Main layout */
.nexorest-v33 .main{margin-left:320px!important;min-height:100vh;background:transparent!important;}
.nexorest-v33 .topbar{
 height:102px!important;
 padding:22px 34px!important;
 background:linear-gradient(180deg,rgba(3,10,23,.82),rgba(3,10,23,.44))!important;
 backdrop-filter:blur(22px);
 border-bottom:1px solid rgba(56,189,248,.12)!important;
 position:sticky;top:0;z-index:20;
 box-shadow:0 8px 45px rgba(0,0,0,.16);
}
.nexorest-v33 .branch-card,.nexorest-v33 .online-pill,.nexorest-v33 .quick-action,.nexorest-v33 .icon-btn,.nexorest-v33 .user-chip,.nexorest-v33 .date-pill{
 background:linear-gradient(180deg,rgba(15,31,54,.9),rgba(8,18,34,.92))!important;
 border:1px solid rgba(148,163,184,.18)!important;
 border-radius:18px!important;
 color:#f8fbff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 34px rgba(0,0,0,.16);
}
.nexorest-v33 .branch-card{height:58px!important;padding:0 18px;gap:12px;min-width:310px;}
.nexorest-v33 .branch-card i{font-size:22px;color:#22d3ee;}
.nexorest-v33 .branch-card select{background:transparent!important;color:#fff!important;border:0!important;font-weight:900;font-size:16px;box-shadow:none!important;}
.nexorest-v33 .branch-card option{color:#071426!important;background:#fff!important;}
.nexorest-v33 .online-pill{height:58px;padding:0 18px!important;display:inline-flex;align-items:center;gap:9px;font-weight:950;}
.nexorest-v33 .online-pill i{color:#22c55e;filter:drop-shadow(0 0 10px rgba(34,197,94,.35));}
.nexorest-v33 .quick-action{height:58px;padding:0 22px!important;display:inline-flex!important;align-items:center;gap:10px;text-decoration:none;font-weight:950;}
.nexorest-v33 .quick-action i{font-size:20px;color:#9de8ff;}
.nexorest-v33 .quick-action:hover{border-color:rgba(56,189,248,.38)!important;background:linear-gradient(90deg,rgba(14,165,233,.18),rgba(37,99,235,.12))!important;transform:translateY(-1px);}
.nexorest-v33 .icon-btn{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;color:#dbeafe!important;position:relative;}
.nexorest-v33 .icon-btn i{font-size:20px;}
.nexorest-v33 .icon-btn span{position:absolute;right:-7px;top:-8px;background:#0ea5e9;color:#fff;border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;font-size:11px;font-weight:950;border:2px solid #061020;}
.nexorest-v33 .user-chip{height:58px;padding:7px 14px 7px 8px!important;gap:12px;min-width:230px;}
.nexorest-v33 .avatar{width:46px!important;height:46px!important;border-radius:999px;background:linear-gradient(135deg,#0ea5e9,#4f46e5)!important;color:#fff;font-weight:950;display:grid;place-items:center;box-shadow:0 0 26px rgba(14,165,233,.3);}
.nexorest-v33 .user-chip b{color:#fff;font-size:15px}.nexorest-v33 .user-chip small{color:#93a4b8;font-size:12px;}
.nexorest-v33 .mobile-toggle{background:rgba(15,31,54,.9)!important;border:1px solid rgba(56,189,248,.2)!important;color:#fff!important;border-radius:14px!important;}

.nexorest-v33 .page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:32px 34px 14px!important;background:transparent!important;}
.nexorest-v33 .page-heading .eyebrow,.nexorest-v33 .eyebrow{text-transform:uppercase;letter-spacing:.27em;color:#22d3ee!important;font-weight:950;font-size:12px;text-shadow:0 0 18px rgba(34,211,238,.22);}
.nexorest-v33 .page-heading h1{font-size:42px!important;line-height:1.02;margin:8px 0 0;color:#fff!important;letter-spacing:-.055em;text-shadow:0 0 38px rgba(14,165,233,.13);}
.nexorest-v33 .date-pill{height:54px;padding:0 18px!important;display:flex;align-items:center;gap:10px;font-weight:950;white-space:nowrap;}
.nexorest-v33 .date-pill i{color:#a5e9ff;}
.nexorest-v33 .content-wrap{padding:18px 34px 48px!important;}

/* Core cards */
.nexorest-v33 .panel-card,
.nexorest-v33 .kpi-card,
.nexorest-v33 .backup-card,
.nexorest-v33 .flow-card,
.nexorest-v33 .product-card,
.nexorest-v33 .cart-panel,
.nexorest-v33 .pay-method,
.nexorest-v33 .ticket-preview,
.nexorest-v33 .alert,
.nexorest-v33 .card{
 background:linear-gradient(180deg,rgba(15,31,54,.88),rgba(7,17,32,.94))!important;
 border:1px solid rgba(148,163,184,.16)!important;
 border-radius:var(--nx-radius)!important;
 color:var(--nx-soft)!important;
 box-shadow:var(--nx-glow-blue)!important;
 position:relative;
 overflow:hidden;
}
.nexorest-v33 .panel-card::before,.nexorest-v33 .kpi-card::before,.nexorest-v33 .product-card::before{
 content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(56,189,248,.07),transparent 42%,rgba(34,211,238,.03));pointer-events:none;
}
.nexorest-v33 .panel-card>* , .nexorest-v33 .kpi-card>* , .nexorest-v33 .product-card>*{position:relative;}
.nexorest-v33 .panel-card{padding:24px!important;margin-bottom:20px;}
.nexorest-v33 .panel-card h2,.nexorest-v33 .panel-card h3,.nexorest-v33 .panel-card h4{color:#fff!important;font-weight:950!important;letter-spacing:-.04em;}
.nexorest-v33 .panel-card p{color:#9fb3c8;}

.nexorest-v33 .kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin-bottom:22px;}
.nexorest-v33 .kpi-card{padding:22px!important;display:flex;align-items:center;gap:16px;min-height:118px;transition:.2s ease;}
.nexorest-v33 .kpi-card:hover,.nexorest-v33 .panel-card:hover{border-color:rgba(56,189,248,.25)!important;}
.nexorest-v33 .kpi-icon{width:56px!important;height:56px!important;border-radius:18px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;color:#fff!important;box-shadow:0 16px 34px rgba(14,165,233,.25)!important;flex:0 0 auto;}
.nexorest-v33 .kpi-card:nth-child(3n+1) .kpi-icon{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;}
.nexorest-v33 .kpi-card:nth-child(3n+2) .kpi-icon{background:linear-gradient(135deg,#06b6d4,#0ea5e9)!important;}
.nexorest-v33 .kpi-card:nth-child(3n+3) .kpi-icon{background:linear-gradient(135deg,#f59e0b,#d97706)!important;}
.nexorest-v33 .kpi-icon i{font-size:24px;}
.nexorest-v33 .kpi-card span{display:block;color:#bdd1e7!important;font-weight:850;font-size:14px;}
.nexorest-v33 .kpi-card h3{font-size:28px!important;margin:3px 0 2px;color:#fff!important;font-weight:950;letter-spacing:-.04em;}
.nexorest-v33 .kpi-card small{color:#8ea2bb!important;}

.nexorest-v33 .section-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);gap:20px;margin-bottom:22px;}
.nexorest-v33 .grid-4{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.nexorest-v33 .grid-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.nexorest-v33 .flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.nexorest-v33 .flow-card{display:block;padding:22px;text-decoration:none!important;transition:.2s ease;}
.nexorest-v33 .flow-card:hover{transform:translateY(-3px);border-color:rgba(56,189,248,.35)!important;}

/* Buttons */
.nexorest-v33 .btn{border-radius:15px!important;font-weight:950!important;letter-spacing:-.01em;padding:.72rem 1.08rem;border-width:1px!important;box-shadow:none;}
.nexorest-v33 .btn-primary{
 background:linear-gradient(90deg,#0284c7,#0ea5e9 55%,#2563eb)!important;
 border-color:rgba(56,189,248,.42)!important;
 color:#fff!important;
 box-shadow:0 18px 42px rgba(14,165,233,.24),inset 0 1px 0 rgba(255,255,255,.2)!important;
}
.nexorest-v33 .btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px);}
.nexorest-v33 .btn-outline-primary,.nexorest-v33 .btn-outline-secondary,.nexorest-v33 .btn-light{
 background:rgba(255,255,255,.035)!important;
 border-color:rgba(148,163,184,.18)!important;
 color:#dbeafe!important;
}
.nexorest-v33 .btn-outline-primary:hover,.nexorest-v33 .btn-outline-secondary:hover,.nexorest-v33 .btn-light:hover{background:rgba(14,165,233,.14)!important;border-color:rgba(56,189,248,.38)!important;color:#fff!important;}
.nexorest-v33 .btn-success{background:linear-gradient(90deg,#059669,#22c55e)!important;border:0!important;color:#fff!important;}
.nexorest-v33 .btn-warning{background:linear-gradient(90deg,#d97706,#f59e0b)!important;border:0!important;color:#111827!important;}
.nexorest-v33 .btn-danger{background:linear-gradient(90deg,#dc2626,#ef4444)!important;border:0!important;color:#fff!important;}

/* Forms */
.nexorest-v33 .form-control,.nexorest-v33 .form-select,.nexorest-v33 textarea,.nexorest-v33 input:not([type="checkbox"]):not([type="radio"]),.nexorest-v33 select{
 background:rgba(3,10,23,.68)!important;
 border:1px solid rgba(148,163,184,.2)!important;
 color:#f8fbff!important;
 border-radius:15px!important;
 min-height:46px;
}
.nexorest-v33 .form-control::placeholder,.nexorest-v33 textarea::placeholder{color:#6f849d!important;}
.nexorest-v33 .form-control:focus,.nexorest-v33 .form-select:focus{border-color:rgba(56,189,248,.58)!important;box-shadow:0 0 0 .24rem rgba(14,165,233,.12)!important;}
.nexorest-v33 .form-label,.nexorest-v33 label{color:#d7e4f4;font-weight:820;}
.nexorest-v33 .input-group-text{background:rgba(14,165,233,.08)!important;border-color:rgba(148,163,184,.2)!important;color:#bae6fd!important;border-radius:15px!important;}
.nexorest-v33 option{background:#071426!important;color:#fff!important;}

/* Tables */
.nexorest-v33 .table-responsive{border-radius:20px;overflow:auto;}
.nexorest-v33 .table{--bs-table-bg:transparent!important;--bs-table-color:#eaf6ff!important;--bs-table-striped-bg:rgba(255,255,255,.025)!important;--bs-table-hover-bg:rgba(14,165,233,.075)!important;color:#eaf6ff!important;margin:0;border-collapse:separate!important;border-spacing:0!important;}
.nexorest-v33 .table thead th{background:rgba(255,255,255,.025)!important;color:#a8c7e8!important;border-color:rgba(148,163,184,.13)!important;font-weight:950!important;text-transform:uppercase;font-size:12px;letter-spacing:.12em;padding:16px 16px!important;white-space:nowrap;}
.nexorest-v33 .table tbody td,.nexorest-v33 .table tbody th{border-color:rgba(148,163,184,.10)!important;padding:16px!important;vertical-align:middle;color:#dceafa!important;}
.nexorest-v33 .table tbody tr{transition:.18s ease;background:rgba(255,255,255,.005)!important;}
.nexorest-v33 .table tbody tr:hover{background:rgba(14,165,233,.07)!important;}
.nexorest-v33 .table b{color:#fff!important;font-weight:950;}
.nexorest-v33 .table small{color:#8ea2bb!important;}
.nexorest-v33 .table .btn{padding:.52rem .82rem!important;border-radius:12px!important;}

/* Badges */
.nexorest-v33 .badge,.nexorest-v33 [class^="badge-soft"],.nexorest-v33 [class*=" badge-soft"]{display:inline-flex;align-items:center;gap:6px;border-radius:999px!important;padding:.42rem .68rem!important;font-weight:950;font-size:.78rem;line-height:1;border:1px solid transparent;white-space:nowrap;}
.nexorest-v33 .badge-soft-success{background:rgba(34,197,94,.13)!important;color:#bbf7d0!important;border-color:rgba(34,197,94,.24)!important;}
.nexorest-v33 .badge-soft-warning{background:rgba(245,158,11,.14)!important;color:#fde68a!important;border-color:rgba(245,158,11,.26)!important;}
.nexorest-v33 .badge-soft-danger{background:rgba(239,68,68,.14)!important;color:#fecaca!important;border-color:rgba(239,68,68,.26)!important;}
.nexorest-v33 .badge-soft-info{background:rgba(14,165,233,.15)!important;color:#bae6fd!important;border-color:rgba(14,165,233,.28)!important;}
.nexorest-v33 .report-chip{display:inline-flex;margin:6px 7px 0 0;background:rgba(14,165,233,.1);border:1px solid rgba(14,165,233,.22);color:#bae6fd;border-radius:999px;padding:.55rem .8rem;font-weight:850;}

/* POS visual */
.nexorest-v33 .pos-layout{display:grid!important;grid-template-columns:minmax(0,1.4fr) 430px;gap:22px;align-items:start;}
.nexorest-v33 .product-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;}
.nexorest-v33 .product-card{cursor:pointer;transition:.22s ease;min-height:220px;}
.nexorest-v33 .product-card:hover{transform:translateY(-5px);border-color:rgba(56,189,248,.38)!important;box-shadow:0 22px 56px rgba(14,165,233,.16)!important;}
.nexorest-v33 .product-img{height:112px;border-radius:18px 18px 0 0;background:linear-gradient(135deg,rgba(14,165,233,.22),rgba(34,197,94,.08))!important;display:grid;place-items:center;font-size:42px;border-bottom:1px solid rgba(148,163,184,.12);}
.nexorest-v33 .product-card .pbody{padding:16px}.nexorest-v33 .product-card b{color:#fff}.nexorest-v33 .product-card small{color:#8ea2bb!important;}
.nexorest-v33 .cart-panel{position:sticky;top:122px;padding:22px!important;max-height:calc(100vh - 145px);overflow:auto;}
.nexorest-v33 .cart-item{background:rgba(255,255,255,.035);border:1px solid rgba(148,163,184,.14);border-radius:18px;padding:14px;margin-bottom:10px;}
.nexorest-v33 .cart-thumb{background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;border-radius:14px;}
.nexorest-v33 .pay-method{display:flex;align-items:center;justify-content:center;min-height:58px;padding:14px;text-align:center;font-weight:950;cursor:pointer;transition:.2s ease;}
.nexorest-v33 .pay-method.active,.nexorest-v33 .service-methods .pay-method:has(input:checked){background:linear-gradient(90deg,rgba(2,132,199,.88),rgba(14,165,233,.88))!important;border-color:rgba(56,189,248,.55)!important;box-shadow:0 16px 40px rgba(14,165,233,.18)!important;color:#fff!important;}
.nexorest-v33 .delivery-pro-box,.nexorest-v33 .delivery-mini-summary{background:rgba(14,165,233,.07)!important;border:1px solid rgba(14,165,233,.18)!important;border-radius:20px!important;padding:16px!important;color:#dbeafe;}
.nexorest-v33 .qty-btn{background:rgba(255,255,255,.04);border:1px solid rgba(148,163,184,.16);color:#fff;border-radius:10px;}

/* KDS pages keep strong TV design */
.nexorest-v33.kds-tv-body{background:#020815!important;}
.nexorest-v33 .kds-tv-page{background:radial-gradient(circle at 0 0,rgba(14,165,233,.18),transparent 25%),linear-gradient(135deg,#020815,#071426 70%,#030712)!important;color:#fff;min-height:100vh;}
.nexorest-v33 .kds-rail{background:rgba(3,10,23,.92)!important;border-right:1px solid rgba(56,189,248,.13)!important;box-shadow:22px 0 70px rgba(0,0,0,.38);}
.nexorest-v33 .kds-rail-logo{background:linear-gradient(135deg,#06b6d4,#2563eb)!important;box-shadow:0 0 28px rgba(14,165,233,.38);}
.nexorest-v33 .kds-rail a{border-radius:16px!important;color:#cce1f7!important;}
.nexorest-v33 .kds-rail a.active{background:linear-gradient(90deg,#0284c7,#2563eb)!important;color:#fff!important;box-shadow:0 14px 34px rgba(14,165,233,.25);}
.nexorest-v33 .kds-main{padding:28px!important;}
.nexorest-v33 .kds-header h1{font-size:42px!important;color:#fff!important;letter-spacing:-.05em;text-shadow:0 0 38px rgba(14,165,233,.16);}
.nexorest-v33 .kds-filter-bar button,.nexorest-v33 .kds-status-card,.nexorest-v33 .kds-column,.nexorest-v33 .kds-tv-card,.nexorest-v33 .kds-footer-strip{background:linear-gradient(180deg,rgba(15,31,54,.88),rgba(7,17,32,.94))!important;border:1px solid rgba(148,163,184,.16)!important;border-radius:22px!important;color:#f8fbff!important;box-shadow:0 20px 56px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)!important;}
.nexorest-v33 .kds-filter-bar button.active,.nexorest-v33 .kds-filter-bar .active{background:linear-gradient(90deg,#0284c7,#0ea5e9,#2563eb)!important;border-color:rgba(56,189,248,.5)!important;}

/* Modals, dropdowns, alerts */
.nexorest-v33 .modal-content{background:linear-gradient(180deg,rgba(15,31,54,.98),rgba(7,17,32,.99))!important;border:1px solid rgba(56,189,248,.22)!important;border-radius:26px!important;color:#eaf6ff!important;box-shadow:0 34px 90px rgba(0,0,0,.62)!important;}
.nexorest-v33 .modal-header,.nexorest-v33 .modal-footer{border-color:rgba(148,163,184,.12)!important;}
.nexorest-v33 .btn-close{filter:invert(1) grayscale(1);}
.nexorest-v33 .dropdown-menu{background:#071426!important;border:1px solid rgba(148,163,184,.18)!important;border-radius:16px!important;box-shadow:0 20px 60px rgba(0,0,0,.45)!important;}
.nexorest-v33 .dropdown-item{color:#dbeafe!important;border-radius:10px;}
.nexorest-v33 .dropdown-item:hover{background:rgba(14,165,233,.12)!important;color:#fff!important;}
.nexorest-v33 .alert{padding:16px 18px!important;}
.nexorest-v33 .alert-info{background:rgba(14,165,233,.08)!important;color:#bae6fd!important;border-color:rgba(14,165,233,.24)!important;}
.nexorest-v33 .alert-warning{background:rgba(245,158,11,.1)!important;color:#fde68a!important;border-color:rgba(245,158,11,.25)!important;}
.nexorest-v33 .alert-danger{background:rgba(239,68,68,.1)!important;color:#fecaca!important;border-color:rgba(239,68,68,.25)!important;}
.nexorest-v33 .alert-success{background:rgba(34,197,94,.1)!important;color:#bbf7d0!important;border-color:rgba(34,197,94,.25)!important;}

/* Login + installer */
.nexorest-v33.login-body,.nexorest-v33.installer-body{background:radial-gradient(circle at 18% 0%,rgba(14,165,233,.27),transparent 34%),radial-gradient(circle at 88% 18%,rgba(37,99,235,.15),transparent 30%),linear-gradient(135deg,#020815,#071426 65%,#030712)!important;color:#fff!important;}
.nexorest-v33 .login-card,.nexorest-v33 .installer-card{background:linear-gradient(180deg,rgba(15,31,54,.93),rgba(7,17,32,.97))!important;border:1px solid rgba(56,189,248,.22)!important;border-radius:30px!important;color:#eaf6ff!important;box-shadow:0 34px 100px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.05)!important;}
.nexorest-v33 .login-logo{background:linear-gradient(135deg,#06b6d4,#2563eb)!important;box-shadow:0 0 44px rgba(14,165,233,.4)!important;}
.nexorest-v33 .installer-brand h1,.nexorest-v33 .login-card h1,.nexorest-v33 .login-card h2{color:#fff!important;text-shadow:0 0 32px rgba(14,165,233,.18);}
.nexorest-v33 .check-item{background:rgba(255,255,255,.04)!important;border:1px solid rgba(148,163,184,.15)!important;border-radius:18px!important;color:#dbeafe!important;}

/* Utilities + public */
.nexorest-v33 .border,.nexorest-v33 .border-top,.nexorest-v33 .border-bottom,.nexorest-v33 .border-start,.nexorest-v33 .border-end{border-color:rgba(148,163,184,.12)!important;}
.nexorest-v33 .bg-light{background:rgba(255,255,255,.04)!important;color:#dbeafe!important;}
.nexorest-v33 .shadow,.nexorest-v33 .shadow-sm{box-shadow:0 22px 58px rgba(0,0,0,.22)!important;}
.nexorest-v33 .progress{height:8px;background:rgba(255,255,255,.07)!important;border-radius:999px;overflow:hidden;}
.nexorest-v33 .progress-bar{background:linear-gradient(90deg,#0284c7,#0ea5e9,#22d3ee)!important;}
.nexorest-v33 .pagination .page-link{background:rgba(255,255,255,.035)!important;border-color:rgba(148,163,184,.16)!important;color:#dbeafe!important;border-radius:12px!important;margin:0 3px;}
.nexorest-v33 .pagination .active .page-link,.nexorest-v33 .page-item.active .page-link{background:linear-gradient(90deg,#0284c7,#0ea5e9)!important;color:#fff!important;border-color:rgba(56,189,248,.42)!important;box-shadow:0 12px 30px rgba(14,165,233,.2);}
.nexorest-v33 .swal2-popup{background:#071426!important;color:#eaf6ff!important;border:1px solid rgba(56,189,248,.22)!important;border-radius:28px!important;box-shadow:0 30px 90px rgba(0,0,0,.55)!important;}
.nexorest-v33 .swal2-title,.nexorest-v33 .swal2-html-container{color:#eaf6ff!important;}

/* Scrollbars */
.nexorest-v33 *{scrollbar-width:thin;scrollbar-color:rgba(14,165,233,.38) rgba(255,255,255,.02);}
.nexorest-v33 ::-webkit-scrollbar{width:9px;height:9px}.nexorest-v33 ::-webkit-scrollbar-track{background:rgba(255,255,255,.02)}.nexorest-v33 ::-webkit-scrollbar-thumb{background:rgba(14,165,233,.34);border-radius:999px;border:2px solid rgba(2,8,23,.9)}.nexorest-v33 ::-webkit-scrollbar-thumb:hover{background:rgba(14,165,233,.55)}

/* Responsive */
@media(max-width:1500px){
 .nexorest-v33 .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
 .nexorest-v33 .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
 .nexorest-v33 .flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .nexorest-v33 .pos-layout{grid-template-columns:1fr;}.nexorest-v33 .cart-panel{position:relative;top:0;max-height:none;}
}
@media(max-width:1050px){
 .nexorest-v33 .sidebar{transform:translateX(-100%);transition:.24s ease;}
 .nexorest-v33 .sidebar.open{transform:translateX(0);}
 .nexorest-v33 .sidebar-close{display:grid!important;place-items:center;margin-left:auto;background:rgba(255,255,255,.05);border:1px solid rgba(148,163,184,.18);border-radius:12px;color:#fff;}
 .nexorest-v33 .main{margin-left:0!important;}
 .nexorest-v33 .mobile-toggle{display:grid!important;place-items:center;}
 .nexorest-v33 .branch-card{min-width:0;width:100%;}
 .nexorest-v33 .topbar{height:auto!important;min-height:88px;flex-wrap:wrap;padding:18px!important;}
 .nexorest-v33 .page-heading{padding:24px 18px 8px!important;}.nexorest-v33 .content-wrap{padding:14px 18px 40px!important;}
}
@media(max-width:760px){
 .nexorest-v33 .page-heading{display:block}.nexorest-v33 .page-heading h1{font-size:32px!important}.nexorest-v33 .date-pill{margin-top:14px;display:inline-flex;}
 .nexorest-v33 .kpi-grid,.nexorest-v33 .section-grid,.nexorest-v33 .grid-4,.nexorest-v33 .grid-3,.nexorest-v33 .flow-grid{grid-template-columns:1fr!important;}
 .nexorest-v33 .quick-action,.nexorest-v33 .user-chip{min-width:auto}.nexorest-v33 .user-chip div:not(.avatar){display:none;}
 .nexorest-v33 .content-wrap{padding-bottom:80px!important;}
}


/* Marca cliente / white-label operativo */
.brand-logo-wrap{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(14,165,233,.25),rgba(124,58,237,.18));border:1px solid rgba(56,189,248,.35);box-shadow:0 0 28px rgba(14,165,233,.18);overflow:hidden;flex:0 0 auto}
.brand-logo-img{width:100%;height:100%;object-fit:contain;padding:5px;background:#fff;border-radius:15px}
.sidebar-brand .brand-logo-img{background:#fff}
.login-logo-img{max-width:240px;max-height:94px;object-fit:contain;border-radius:22px;background:#fff;padding:10px;box-shadow:0 24px 70px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.2)}
.ticket-logo{max-width:170px;max-height:70px;object-fit:contain;margin:0 auto 8px;display:block}
.public-brand-logo{max-width:260px;max-height:96px;object-fit:contain;background:#fff;border-radius:22px;padding:10px;border:1px solid rgba(255,255,255,.15);box-shadow:0 18px 50px rgba(0,0,0,.25)}
.client-logo-preview{max-width:260px;max-height:100px;object-fit:contain;background:#fff;border-radius:18px;padding:10px;border:1px solid rgba(148,163,184,.25)}


/* SaaS owner / module activation UI */
.module-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.module-check{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid rgba(59,130,246,.22);border-radius:18px;background:linear-gradient(180deg,rgba(15,30,54,.82),rgba(7,16,31,.86));box-shadow:0 10px 28px rgba(2,8,23,.18);color:#e8f3ff}.module-check input{margin-top:5px}.module-check span{display:flex;flex-direction:column;gap:3px}.module-check small{color:#8ea7c5;line-height:1.35}.module-check em{margin-left:auto;color:#38bdf8;font-size:.72rem;font-style:normal;border:1px solid rgba(14,165,233,.25);border-radius:999px;padding:2px 8px}.module-check.is-inactive{opacity:.62}.module-check.is-active{border-color:rgba(14,165,233,.48);box-shadow:0 0 0 1px rgba(14,165,233,.12),0 14px 38px rgba(14,165,233,.08)}

/* SaaS Cliente Producción */
.system-link-box{display:flex;flex-direction:column;gap:.15rem;min-width:220px}.system-link-box a{color:#38bdf8;font-weight:800;text-decoration:none;word-break:break-all}.system-link-box a:hover{text-decoration:underline}.tenant-actions{display:flex;gap:.35rem;flex-wrap:wrap}.support-banner{position:sticky;top:0;z-index:1100;background:linear-gradient(90deg,#0f172a,#083344);border-bottom:1px solid rgba(56,189,248,.35);color:#dbeafe;padding:.65rem 1rem;font-weight:700;display:flex;gap:.75rem;align-items:center}.support-banner a{color:#67e8f9;margin-left:auto}.module-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.65rem}.module-check{display:flex;gap:.55rem;align-items:flex-start;padding:.8rem;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(15,23,42,.55)}.module-check small{display:block;color:#8aa3bd;font-size:.77rem}.badge-soft-info{display:inline-flex;align-items:center;border-radius:999px;padding:.32rem .65rem;background:rgba(14,165,233,.14);color:#7dd3fc;border:1px solid rgba(56,189,248,.25);font-weight:800}
