/* Oryvanta Restaurante OS Pro · V2 Light Pro UI */
:root{
  --ory-bg:#f3f6fc; --ory-card:#ffffff; --ory-soft:#f8faff; --ory-soft-2:#eef5ff;
  --ory-text:#1e2a44; --ory-muted:#64748b; --ory-line:#dbe5f3;
  --ory-blue:#2f80ed; --ory-blue-2:#1d6fe2; --ory-cyan:#00e6ff; --ory-violet:#7b3cff; --ory-amber:#ffb000;
  --ory-green:#22c55e; --ory-red:#e63946; --ory-radius:24px; --ory-shadow:0 20px 55px rgba(30,42,68,.10);
}
body{background:var(--ory-bg)}
body.ory-v2{font-feature-settings:"ss01" on;}
.ory-v2 .app-shell{background:linear-gradient(180deg,#f7faff 0%,#f3f6fc 42%,#eef4fb 100%)}
.ory-v2 .sidebar{width:304px;background:rgba(255,255,255,.94);backdrop-filter:blur(22px);border-right:1px solid rgba(219,229,243,.88)}
.ory-v2 .sidebar-brand{border-radius:22px;background:linear-gradient(135deg,#f9fcff,#eef7ff);border:1px solid rgba(219,234,254,.9)}
.ory-v2 .sidebar-brand img{width:48px;height:48px;filter:drop-shadow(0 10px 16px rgba(47,128,237,.15))}.ory-v2 .sidebar-brand strong{letter-spacing:-.03em}.ory-v2 .sidebar-brand span{color:#6b7c95}.ory-v2 .side-nav small{display:flex;align-items:center;gap:8px;margin-top:14px}.ory-v2 .side-nav small:after{content:"";height:1px;background:#edf2f8;flex:1}.ory-v2 .side-nav a{min-height:45px;border:1px solid transparent}.ory-v2 .side-nav a:hover{background:#f4f8ff;border-color:#e7eef8}.ory-v2 .side-nav a.active{background:linear-gradient(135deg,#eaf4ff,#f7fbff);border-color:#d7e9ff;box-shadow:0 10px 25px rgba(47,128,237,.09)}.ory-v2 .side-nav a.active span{box-shadow:0 8px 18px rgba(47,128,237,.24)}
.ory-v2 .branch-box{background:linear-gradient(135deg,#0b1220,#132145);color:#fff;box-shadow:0 18px 40px rgba(11,18,32,.22);position:relative;overflow:hidden}.ory-v2 .branch-box:after{content:"";position:absolute;right:-40px;bottom:-45px;width:120px;height:120px;border-radius:999px;background:radial-gradient(circle,rgba(0,230,255,.3),transparent 68%)}.ory-v2 .branch-box span{color:#cbd5e1}.ory-v2 .topbar{height:78px;background:rgba(248,250,255,.88);box-shadow:0 12px 30px rgba(30,42,68,.06)}.ory-v2 .icon-btn{transition:.18s ease}.ory-v2 .icon-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(30,42,68,.12)}
.topbar-actions{display:flex;align-items:center;gap:10px}.profile-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--ory-line);padding:8px 12px;border-radius:999px;box-shadow:0 12px 26px rgba(30,42,68,.06)}.profile-chip img{width:30px;height:30px;object-fit:contain}.profile-chip span{font-size:.78rem;font-weight:900;color:var(--ory-muted)}
.v2-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:stretch;margin-bottom:18px}.v2-hero-main{background:radial-gradient(circle at top right,rgba(0,230,255,.20),transparent 36%),linear-gradient(135deg,#fff,#f5faff 62%,#edf7ff);border:1px solid var(--ory-line);border-radius:32px;padding:30px;box-shadow:var(--ory-shadow);position:relative;overflow:hidden}.v2-hero-main:before{content:"";position:absolute;right:24px;top:20px;width:80px;height:80px;background:url('../img/oryvanta-symbol.png') center/contain no-repeat;opacity:.10}.v2-hero-main h1{font-size:clamp(2rem,4vw,4.3rem);line-height:.95;letter-spacing:-.06em;margin:12px 0}.v2-hero-main p{max-width:780px;color:var(--ory-muted);font-size:1.06rem}.v2-hero-aside{background:linear-gradient(135deg,#0b1220,#111f44);border-radius:32px;padding:26px;color:#fff;box-shadow:var(--ory-shadow);position:relative;overflow:hidden}.v2-hero-aside:after{content:"";position:absolute;right:-80px;bottom:-70px;width:220px;height:220px;background:radial-gradient(circle,rgba(123,60,255,.34),transparent 64%)}.v2-hero-aside img{width:170px;max-width:70%;height:auto;object-fit:contain;margin-bottom:18px}.v2-hero-aside strong{display:block;font-size:1.3rem}.v2-hero-aside p{color:#cbd5e1}.ory-pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.ory-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eef7ff;border:1px solid #d7e9ff;color:#2463bb;font-weight:900;font-size:.78rem}.ory-pill.dark{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.14);color:#e0faff}
.v2-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.v2-kpi{background:#fff;border:1px solid var(--ory-line);border-radius:26px;padding:20px;box-shadow:var(--ory-shadow);position:relative;overflow:hidden}.v2-kpi small{color:var(--ory-muted);font-weight:900;text-transform:uppercase;letter-spacing:.06em}.v2-kpi strong{display:block;font-size:2.1rem;letter-spacing:-.05em;margin:8px 0 4px}.v2-kpi span{color:var(--ory-muted);font-weight:700}.v2-kpi.good:after,.v2-kpi.warn:after,.v2-kpi.info:after{content:"";position:absolute;right:-38px;bottom:-38px;width:120px;height:120px;border-radius:999px}.v2-kpi.good:after{background:radial-gradient(circle,rgba(34,197,94,.18),transparent 70%)}.v2-kpi.warn:after{background:radial-gradient(circle,rgba(255,176,0,.18),transparent 70%)}.v2-kpi.info:after{background:radial-gradient(circle,rgba(0,230,255,.20),transparent 70%)}
.ui-section{background:#fff;border:1px solid var(--ory-line);border-radius:30px;padding:22px;margin-bottom:18px;box-shadow:var(--ory-shadow)}.ui-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.ui-section-head h2{margin:0;letter-spacing:-.04em}.ui-section-head p{margin:6px 0 0;color:var(--ory-muted)}.ui-actions{display:flex;gap:8px;flex-wrap:wrap}.ory-btn{border:0;border-radius:16px;padding:12px 15px;font-weight:950;display:inline-flex;align-items:center;gap:8px;cursor:pointer;text-decoration:none}.ory-btn.primary{background:linear-gradient(135deg,var(--ory-blue),#00a7ff);color:#fff;box-shadow:0 14px 28px rgba(47,128,237,.23)}.ory-btn.soft{background:#eef6ff;color:#2463bb;border:1px solid #d6e8ff}.ory-btn.dark{background:#0b1220;color:#fff}.ory-btn.ghost{background:#fff;border:1px solid var(--ory-line);color:var(--ory-text)}.ory-btn.danger{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.ory-btn.success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
.quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.quick-card{display:grid;gap:10px;background:#fff;border:1px solid var(--ory-line);border-radius:22px;padding:16px;text-decoration:none;color:var(--ory-text);transition:.18s ease;box-shadow:0 12px 30px rgba(30,42,68,.06)}.quick-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(30,42,68,.12)}.quick-card .qicon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#eef7ff,#e5fbff);color:#2563eb;font-size:1.25rem}.quick-card strong{font-size:.98rem}.quick-card span{font-size:.8rem;color:var(--ory-muted);font-weight:800}
.product-toolbar,.filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.search-box{flex:1;min-width:220px;display:flex;align-items:center;gap:10px;background:#f8fbff;border:1px solid var(--ory-line);border-radius:18px;padding:11px 13px;color:var(--ory-muted)}.search-box input{border:0;background:transparent;outline:0;flex:1;color:var(--ory-text);font-weight:800}.chip-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:2px}.chip-tab{white-space:nowrap;border:1px solid var(--ory-line);background:#fff;color:var(--ory-muted);font-weight:900;padding:10px 13px;border-radius:999px}.chip-tab.active{background:#eaf4ff;border-color:#bfdbfe;color:#1d5cba}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{background:#fff;border:1px solid var(--ory-line);border-radius:24px;overflow:hidden;box-shadow:0 12px 28px rgba(30,42,68,.08);position:relative}.product-img{height:126px;background:linear-gradient(135deg,#eaf4ff,#f9fcff);display:grid;place-items:center;color:#2563eb;font-size:2.5rem}.product-card .body{padding:14px}.product-card h3{font-size:1rem;margin:0 0 4px}.product-card p{color:var(--ory-muted);font-size:.82rem;margin:0 0 12px}.price-row{display:flex;justify-content:space-between;align-items:center}.price-row strong{font-size:1.15rem}.add-round{width:42px;height:42px;border-radius:16px;border:0;background:linear-gradient(135deg,var(--ory-blue),#00a7ff);color:#fff;font-size:1.35rem;font-weight:900;box-shadow:0 12px 22px rgba(47,128,237,.25)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:950}.badge.green{background:#ecfdf5;color:#047857}.badge.blue{background:#eff6ff;color:#1d4ed8}.badge.red{background:#fff1f2;color:#be123c}.badge.amber{background:#fffbeb;color:#b45309}.order-panel{background:#fff;border:1px solid var(--ory-line);border-radius:26px;padding:18px;box-shadow:var(--ory-shadow);position:sticky;top:98px;max-height:calc(100vh - 120px);overflow:auto}.order-line{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f7}.order-thumb{width:48px;height:48px;border-radius:16px;background:#eef7ff;display:grid;place-items:center}.order-line strong{font-size:.92rem}.order-line span{display:block;color:var(--ory-muted);font-size:.78rem}.order-total{display:flex;justify-content:space-between;align-items:center;margin:18px 0;font-size:1.15rem}.fixed-action{width:100%;justify-content:center}
.table-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.table-card{border:1px solid var(--ory-line);background:#fff;border-radius:26px;padding:18px;box-shadow:0 12px 30px rgba(30,42,68,.08);position:relative;overflow:hidden}.table-card:before{content:"";position:absolute;right:-35px;top:-35px;width:100px;height:100px;border-radius:50%;background:#eef7ff}.table-card h3{margin:0;font-size:1.25rem}.table-card .status{margin:12px 0}.table-card footer{display:flex;justify-content:space-between;color:var(--ory-muted);font-weight:850}.table-card.busy{border-color:#bfdbfe;background:linear-gradient(135deg,#fff,#f5fbff)}.table-card.ready{border-color:#bbf7d0}.table-card.debt{border-color:#fecdd3}.timeline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.timeline span{background:#f1f5f9;color:#64748b;border-radius:999px;padding:8px 10px;font-weight:900;font-size:.78rem}.timeline span.active{background:#eaf4ff;color:#1d5cba}.kds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kds-ticket{background:#fff;border:1px solid var(--ory-line);border-radius:24px;padding:16px;box-shadow:0 12px 28px rgba(30,42,68,.08);border-top:5px solid var(--ory-blue)}.kds-ticket.warn{border-top-color:var(--ory-amber)}.kds-ticket.ready{border-top-color:var(--ory-green)}.kds-ticket header{display:flex;justify-content:space-between;gap:8px}.kds-ticket h3{margin:0}.kds-ticket ul{padding-left:18px;color:var(--ory-text);font-weight:800}.kds-ticket li{margin:7px 0}.kds-ticket .note{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:10px;color:#92400e;font-weight:800}.cash-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cash-summary{background:#fff;border:1px solid var(--ory-line);border-radius:26px;padding:18px;box-shadow:var(--ory-shadow)}.cash-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf2f7}.cash-row strong:last-child{font-size:1.05rem}.payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.payment-methods button{border:1px solid var(--ory-line);background:#fff;border-radius:18px;padding:14px;font-weight:900;color:var(--ory-text)}.payment-methods button.active{background:#eaf4ff;border-color:#bfdbfe;color:#1d5cba}.ory-table{width:100%;border-collapse:separate;border-spacing:0 10px}.ory-table th{text-align:left;color:var(--ory-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;padding:0 12px}.ory-table td{background:#fff;padding:14px 12px;border-top:1px solid var(--ory-line);border-bottom:1px solid var(--ory-line);font-weight:800}.ory-table td:first-child{border-left:1px solid var(--ory-line);border-radius:16px 0 0 16px}.ory-table td:last-child{border-right:1px solid var(--ory-line);border-radius:0 16px 16px 0}.thumb-mini{width:42px;height:42px;border-radius:14px;background:#eef7ff;display:inline-grid;place-items:center;margin-right:10px;vertical-align:middle}.qr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.qr-card{background:#fff;border:1px solid var(--ory-line);border-radius:26px;padding:18px;box-shadow:var(--ory-shadow);text-align:center}.qr-box{width:138px;height:138px;margin:8px auto 14px;border-radius:24px;background:repeating-linear-gradient(45deg,#0f172a 0 8px,#fff 8px 16px);border:10px solid #f8fbff;box-shadow:0 8px 20px rgba(30,42,68,.10)}.chart-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.fake-chart{height:260px;border-radius:24px;background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid var(--ory-line);display:flex;align-items:flex-end;gap:14px;padding:20px}.bar{flex:1;border-radius:12px 12px 0 0;background:linear-gradient(180deg,#2f80ed,#00a7ff);min-height:40px}.donut{width:220px;height:220px;border-radius:50%;margin:auto;background:conic-gradient(var(--ory-blue) 0 42%,var(--ory-cyan) 42% 68%,var(--ory-violet) 68% 85%,#dbe5f3 85%);position:relative}.donut:after{content:"";position:absolute;inset:48px;border-radius:50%;background:#fff}.settings-list{display:grid;gap:10px}.setting-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--ory-line);border-radius:20px;padding:14px;background:#fff}.setting-item p{margin:4px 0 0;color:var(--ory-muted)}
.mobile-more-sheet{display:none}.drawer-close{display:none}
@media (max-width:1199px){.ory-v2 .sidebar{width:min(92vw,390px)}.drawer-close{display:grid;position:absolute;right:14px;top:14px}.v2-hero{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-layout{grid-template-columns:1fr}.order-panel{position:relative;top:auto;max-height:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-grid,.chart-grid{grid-template-columns:1fr}.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.ory-v2 .topbar{height:62px}.topbar-actions .profile-chip{display:none}.v2-hero-main,.v2-hero-aside,.ui-section{border-radius:22px;padding:18px}.v2-hero-main h1{font-size:2.35rem}.v2-kpi-grid,.quick-grid,.product-grid,.table-grid,.kds-grid,.cash-grid,.qr-grid{grid-template-columns:1fr}.ui-section-head{display:grid}.product-toolbar,.filter-bar{display:grid}.chip-tabs{margin-left:-4px;margin-right:-4px}.product-img{height:150px}.order-panel{border-radius:22px}.bottom-nav{height:72px}.mobile-more-sheet{display:block;position:fixed;left:10px;right:10px;bottom:calc(88px + var(--safe-bottom));z-index:86;background:#fff;border:1px solid var(--ory-line);border-radius:28px;padding:16px;box-shadow:0 22px 60px rgba(30,42,68,.25);transform:translateY(18px);opacity:0;pointer-events:none;transition:.2s ease}.mobile-more-sheet.open{transform:translateY(0);opacity:1;pointer-events:auto}.mobile-more-sheet h3{margin:0 0 12px}.more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.more-grid a{display:grid;place-items:center;gap:5px;text-decoration:none;color:var(--ory-text);background:#f8fbff;border:1px solid var(--ory-line);border-radius:18px;padding:12px 8px;font-weight:900}.more-grid span:first-child{font-size:1.25rem}.more-grid small{font-size:.68rem;color:var(--ory-muted)}}
@media (min-width:1920px){.ory-v2 .sidebar{width:350px}.ory-v2 .app-shell{grid-template-columns:350px 1fr}.v2-kpi strong{font-size:2.7rem}.product-img{height:170px}.kds-ticket{font-size:1.12rem}.table-card h3{font-size:1.7rem}.v2-hero-main h1{font-size:4.8rem}.content{max-width:1880px}}

.ory-v2 .side-nav a em{display:block;font-style:normal;font-size:.70rem;color:#8a98ad;font-weight:800;margin-top:2px}.ory-v2 .side-nav a.active em{color:#4074bd}.muted{color:var(--ory-muted);font-weight:800}
