/* Ajustes móviles de la exportación estática de Mesa Uno. */
:root { -webkit-text-size-adjust:100%; text-size-adjust:100%; }

/* Escala tipográfica legible para escritorio y pantallas amplias. */
.brand { font-size:16px; }
.nav-item { font-size:14px; }
.profile strong { font-size:13px; }
.profile small,.sidebar-bottom>p { font-size:10px; }
.sales-cta span { font-size:11px; }
.sales-cta strong { font-size:13px; }
.eyebrow { font-size:11px; line-height:1.35; }
h1 { font-size:34px; }
h2 { font-size:21px; }
.primary-button { font-size:13px; }
.filter-button,.text-button { font-size:11px; }
.demo-banner span { font-size:10px; }
.demo-banner strong { font-size:13px; }
.demo-banner button { font-size:11px; }
.metric-card p { font-size:13px; line-height:1.35; }
.metric-card strong { font-size:31px; }
.metric-card span { font-size:11px; line-height:1.35; }
.chart-summary strong { font-size:27px; }
.chart-summary span,.chart-labels { font-size:10px; }
.quick-grid strong { font-size:12px; }
.quick-grid small { font-size:10px; }
.order-row { font-size:12px; }
.order-row>strong { font-size:13px; }
.order-row small,.status { font-size:10px; }
.section-intro p { font-size:13px; line-height:1.4; }
.dark-button,.outline-button { font-size:12px; }
.live-badge { font-size:11px; }
.search-box input { font-size:12px; }
.category-tabs button { font-size:11px; }
.menu-card>strong,.menu-card>b { font-size:13px; }
.menu-card>small { color:#6f7770; font-size:11px; line-height:1.45; }
.cart-head select { font-size:11px; }
.guest-row strong,.cart-item strong { font-size:11px; }
.guest-row small,.cart-item small { font-size:10px; }
.guest-row button,.cart-item>b,.qty b,.order-note,.order-note input { font-size:10px; }
.cart-totals span,.cart-totals>strong { font-size:11px; }
.cart-totals>strong { font-size:15px; }
.wide-action { font-size:12px; }
.secondary-action { font-size:11px; }
.column-title strong { font-size:13px; }
.column-title b { font-size:11px; }
.kitchen-ticket header span,.kitchen-ticket li,.kitchen-ticket time { font-size:10px; }
.kitchen-ticket header strong { font-size:14px; }
.ticket-note,.kitchen-ticket button,.empty-column { font-size:10px; line-height:1.4; }
.inventory-alerts p { font-size:11px; }
.inventory-alerts small { font-size:10px; }
.inventory-alerts div strong { font-size:12px; }
.inventory-alerts article:first-child button { font-size:10px; }
.inventory-row { font-size:11px; }
.inventory-row.table-head { font-size:9px; }
.inventory-row strong { font-size:11px; }
.inventory-row small { font-size:9px; }
.simulation-note strong { font-size:11px; }
.simulation-note small { font-size:10px; }
.invoice-row { font-size:11px; }
.invoice-row small { font-size:9px; }
.invoice-row>button { font-size:10px; }
.positive { font-size:10px; }
.week-bars small,.week-bars b { font-size:9px; }
.product-rank strong,.product-rank>b,.product-rank>span { font-size:11px; }
.product-rank small { font-size:9px; }
.toast { font-size:12px; }
.field-label,.payment-methods button,.receipt-summary span,.demo-disclaimer { font-size:10px; }
.big-total small,.big-total span { font-size:10px; }
.success-state>p:not(.eyebrow) { font-size:12px; }
.success-ticket span,.success-ticket small { font-size:10px; }
.form-grid label,.form-grid input,.form-grid select { font-size:11px; }
.invoice-order small { font-size:9px; }
.invoice-order strong,.invoice-order>b { font-size:12px; }
.download-row button { font-size:10px; }

@media (max-width:720px) {
  html { scroll-padding-bottom:82px; }
  html,body { max-width:100%; overflow-x:hidden; }
  body { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  button,a { -webkit-tap-highlight-color:transparent; }

  .app-shell { min-height:100dvh; }
  .sidebar {
    z-index:30;
    height:62px;
    padding:0 15px;
    border-bottom:1px solid #303730;
  }
  .brand { gap:9px; padding:0; }
  .brand-mark { width:31px; height:31px; border-radius:8px; }
  .brand span:last-child { display:inline; font-size:12px; }
  .sidebar::after {
    content:"DEMO";
    margin-left:auto;
    padding:5px 7px;
    border:1px solid #4a534b;
    border-radius:6px;
    color:var(--lime);
    font-size:7px;
    font-weight:900;
    letter-spacing:.14em;
  }

  .nav-list {
    position:fixed;
    z-index:40;
    left:0;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:repeat(6,minmax(58px,1fr));
    gap:2px;
    margin:0;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));
    overflow-x:auto;
    color:#fff;
    background:#171b18;
    border-top:1px solid #394039;
    box-shadow:0 -8px 24px #171b1820;
    scrollbar-width:none;
  }
  .nav-list::-webkit-scrollbar { display:none; }
  .sidebar .nav-list .nav-item {
    position:relative;
    display:grid!important;
    grid-template-columns:1fr;
    grid-template-rows:21px auto;
    align-content:center;
    width:auto!important;
    min-width:58px;
    min-height:54px;
    padding:4px 2px;
    border-radius:8px;
    color:#aeb5af;
    text-align:center;
    font-size:7px;
    line-height:1.05;
  }
  .sidebar .nav-list .nav-item span { margin:auto; color:#8e978f; font-size:16px; }
  .sidebar .nav-list .nav-item.active { color:#fff; background:#2b312c; }
  .sidebar .nav-list .nav-item.active span { color:var(--lime); }
  .sidebar .nav-list .nav-item b {
    position:absolute;
    top:1px;
    right:7px;
    display:grid!important;
    place-items:center;
    min-width:15px;
    height:15px;
    padding:0 3px;
    font-size:7px;
  }
  .sidebar-bottom,.sales-cta { display:none; }

  .workspace { width:100%; padding:22px 14px 26px; }
  .topbar { align-items:center; gap:12px; margin-bottom:18px; }
  .topbar h1 { font-size:24px; line-height:1.05; }
  .top-actions { flex:none; }
  .primary-button { width:43px; min-width:43px; padding:0; }
  .primary-button span { margin:0; }

  .demo-banner { align-items:flex-start; gap:10px; padding:10px 12px; }
  .demo-banner div { flex-wrap:wrap; gap:7px 9px; }
  .demo-banner strong { display:block; width:100%; font-size:9px; line-height:1.35; }
  .demo-banner button { flex:none; min-width:32px; min-height:32px; }

  .metrics-grid { gap:8px; }
  .metric-card { min-height:114px; padding:15px; border-radius:13px; }
  .metric-card strong { font-size:22px; }
  .panel { padding:16px; border-radius:13px; }
  .chart { gap:5px; padding-inline:4px; }
  .quick-grid { gap:7px; }
  .quick-grid button { min-height:75px; padding:10px; }

  .section-intro { min-height:auto; margin-bottom:14px; }
  .section-intro p { max-width:65%; font-size:10px; }
  .section-actions { flex:none; }
  .dark-button,.outline-button { min-height:36px; padding:0 10px; }
  .search-box { max-width:none; }
  .category-tabs { scrollbar-width:none; }
  .category-tabs::-webkit-scrollbar { display:none; }

  .menu-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .menu-card { min-height:175px; padding:8px; border-radius:12px; }
  .food-visual { height:78px; margin-bottom:9px; font-size:34px; }
  .food-visual i { width:25px; height:25px; }
  .menu-card>small { min-height:22px; }
  .cart-panel { padding:15px; border-radius:13px; }

  .kitchen-column { padding:9px; }
  .kitchen-ticket { padding:12px; }
  .inventory-panel,.invoice-list { margin-inline:-2px; padding-inline:2px; }
  .table-tools { align-items:center; }
  .toast { bottom:calc(79px + env(safe-area-inset-bottom)); }
  .modal-backdrop { padding:12px; }
  .modal-card { width:100%; max-height:calc(100dvh - 24px); padding:23px 17px; }
}

@media (max-width:380px) {
  .nav-list { grid-template-columns:repeat(6,58px); }
  .workspace { padding-inline:11px; }
  .metric-card { padding:13px; }
  .metric-card strong { font-size:20px; }
  .menu-grid { gap:7px; }
  .menu-card { min-height:168px; }
}

/* Ajuste adicional para lectura cómoda en teléfonos. */
@media (max-width:720px) {
  .brand span:last-child { font-size:13px; }
  .sidebar .nav-list .nav-item { font-size:9px; line-height:1.15; }
  .sidebar .nav-list .nav-item span { font-size:18px; }
  .topbar h1 { font-size:27px; }
  .primary-button { font-size:0; }
  .eyebrow { font-size:10px; }
  .demo-banner strong { font-size:11px; }
  .demo-banner button { font-size:10px; }
  .demo-banner button::after { display:none; }
  .metric-card p { font-size:12px; }
  .metric-card strong { font-size:25px; }
  .metric-card span { font-size:10px; }
  .section-intro p { max-width:62%; font-size:12px; }
  .menu-card>strong,.menu-card>b { font-size:12px; }
  .menu-card>small { font-size:11px; }
  .search-box input,.order-note input,.form-grid input,.form-grid select,.cart-head select { font-size:16px; }
  .category-tabs button { font-size:10px; }
  .modal-card h2 { font-size:24px; }
}
