@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#122033;--ink2:#26364b;--coral:#ff5a36;--coral2:#ff7a52;--teal:#0daea5;--sand:#fff8ef;--cream:#fffdf9;--line:#e8e4de;--muted:#687386;--white:#fff;--shadow:0 18px 55px rgba(28,43,61,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:'DM Sans',Arial,sans-serif}button{font:inherit;cursor:pointer}img{max-width:100%;display:block}.hidden{display:none!important}
.topbar{height:76px;padding:0 clamp(22px,5vw,72px);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:rgba(255,253,249,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);z-index:50}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.8px}.brand strong{color:var(--coral)}.brand-mark{display:grid;place-items:center;width:36px;height:42px;background:var(--coral);color:#fff;border-radius:9px 9px 9px 3px;font-size:27px;font-weight:800;box-shadow:0 7px 18px rgba(255,90,54,.25)}nav{display:flex;gap:4px;padding:5px;background:#f4f1ec;border-radius:30px}.nav-link{border:0;background:transparent;color:var(--muted);padding:9px 17px;border-radius:24px;font-weight:600}.nav-link.active{color:var(--ink);background:#fff;box-shadow:0 2px 9px #0000000b}.cart-button{border:0;background:var(--ink);color:#fff;padding:10px 12px 10px 18px;border-radius:24px;display:flex;gap:10px;align-items:center;font-weight:700}.cart-button b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--coral)}
.hero{min-height:650px;padding:75px clamp(22px,7vw,110px);display:grid;grid-template-columns:1fr 1.05fr;gap:7vw;align-items:center;background:radial-gradient(circle at 80% 20%,#d7f6f1 0,transparent 31%),linear-gradient(140deg,var(--sand),#fff)}.hero-copy{max-width:630px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.5px;color:var(--teal);text-transform:uppercase}.eyebrow.dark{color:var(--coral)}h1,h2,h3{font-family:Manrope,sans-serif}.hero h1{font-size:clamp(46px,5vw,78px);line-height:1.03;letter-spacing:-3.5px;margin:18px 0}.hero h1 em{font-style:normal;color:var(--coral)}.hero-copy>p{font-size:19px;color:var(--muted);max-width:570px;line-height:1.65}.location-card{display:flex;align-items:center;gap:14px;margin:27px 0 19px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px 13px 13px 17px;max-width:540px;box-shadow:0 12px 34px rgba(21,37,52,.08)}.location-icon{font-size:28px}.location-card div{display:flex;flex-direction:column;flex:1}.location-card small{color:var(--muted)}.location-card button,.delivery-summary button{border:0;background:#eff9f8;color:#087e78;font-weight:700;border-radius:10px;padding:10px 12px}.trust-row{display:flex;gap:20px;font-size:13px;font-weight:700;color:#536174}.trust-row span::first-letter{color:var(--teal)}.hero-visual{position:relative}.hero-visual:before{content:"";position:absolute;inset:-15px 20px 15px -15px;border:2px solid var(--coral);border-radius:45% 18% 44% 20%;transform:rotate(-2deg)}.hero-visual img{position:relative;width:100%;height:510px;object-fit:cover;border-radius:44% 18% 44% 20%;box-shadow:var(--shadow)}.floating-card{position:absolute;right:-20px;bottom:38px;background:#fff;padding:14px 22px;border-radius:15px;box-shadow:var(--shadow);display:flex;flex-direction:column}.floating-card span{font-size:12px;color:var(--muted)}.floating-card strong{font-size:20px;color:var(--teal)}
.restaurant-section{padding:85px clamp(22px,7vw,110px);max-width:1500px;margin:auto}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.section-heading h2,.how-it-works h2{font-size:40px;letter-spacing:-1.5px;margin:7px 0}.section-heading p{margin:0;color:var(--muted)}.status-chip{padding:10px 14px;border:1px solid #bce4cf;background:#f0fbf5;border-radius:22px;font-size:13px;font-weight:700;color:#227346}.status-chip i,.live i{display:inline-block;width:8px;height:8px;background:#25b868;border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px #25b86820}.category-tabs{display:flex;gap:9px;margin:35px 0 24px;overflow:auto}.category-tabs button{border:1px solid var(--line);background:#fff;border-radius:24px;padding:10px 17px;color:var(--muted);white-space:nowrap}.category-tabs button.active{background:var(--ink);border-color:var(--ink);color:#fff}.menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product-card{min-height:285px;display:grid;grid-template-columns:42% 1fr;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.25s}.product-card:hover{transform:translateY(-3px);box-shadow:0 18px 35px rgba(22,38,53,.09)}.product-image{position:relative;min-height:285px;background:#e8f6f5}.product-image img{width:100%;height:100%;object-fit:cover}.product-image>span,.beer>span:last-child{position:absolute;left:12px;top:12px;background:var(--coral);color:#fff;border-radius:14px;padding:6px 10px;font-size:11px;font-weight:800}.product-image.beer{display:grid;place-items:center;background:linear-gradient(150deg,#d1f4f0,#edf9f7)}.beer-emoji{font-size:100px;filter:drop-shadow(0 14px 9px #0002)}.product-info{padding:28px;display:flex;flex-direction:column}.product-info small{font-size:10px;letter-spacing:1.2px;font-weight:800;color:var(--teal)}.product-info h3{font-size:24px;margin:7px 0}.product-info p{color:var(--muted);line-height:1.5;font-size:14px;margin:0 0 20px}.product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.product-footer>strong{font-size:19px;color:var(--coral)}.stepper{display:flex;align-items:center;border:1px solid #cdd6db;border-radius:12px;overflow:hidden}.stepper button,.mini-stepper button{width:35px;height:35px;border:0;background:#f5f8f8;color:var(--teal);font-size:21px}.stepper b{min-width:27px;text-align:center}.muted-card{min-height:210px;grid-template-columns:30% 1fr}.dish-icon{display:grid;place-items:center;font-size:74px;background:#fff4e7}.add-button{width:40px;height:40px;border:0;background:var(--coral);color:#fff;border-radius:50%;font-size:24px}.muted-card .product-info{padding:23px}.muted-card .product-info h3{font-size:20px}
.how-it-works{padding:80px clamp(22px,7vw,110px);text-align:center;background:var(--ink);color:#fff}.how-it-works h2{max-width:700px;margin:10px auto 42px}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;max-width:1250px;margin:auto;background:#ffffff1a}.steps article{position:relative;padding:30px 22px;background:var(--ink)}.steps b{position:absolute;top:12px;right:15px;color:#ffffff1a;font-size:45px}.steps span{display:block;color:#4bd3ca;font-family:Manrope,sans-serif;font-size:20px;font-weight:800}.steps p{color:#aeb9c5;font-size:13px;line-height:1.5}
.cart-drawer{position:fixed;right:0;top:0;width:min(480px,100%);height:100%;background:#fff;z-index:100;transform:translateX(105%);transition:.3s ease;box-shadow:-25px 0 70px #10203033;padding:28px;overflow:auto}.cart-drawer.open{transform:none}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:#0d1c2dcc;backdrop-filter:blur(3px);z-index:90}.drawer-header{display:flex;justify-content:space-between;align-items:flex-start}.drawer-header h2{margin:5px 0}.drawer-header>button{border:0;background:#f0f1f2;border-radius:50%;width:38px;height:38px;font-size:25px}.delivery-summary,.promoter{display:flex;align-items:center;gap:12px;border-radius:14px;padding:14px;margin:22px 0;background:#f0faf9}.delivery-summary>span{font-size:25px}.delivery-summary div,.promoter div{display:flex;flex-direction:column;flex:1}.delivery-summary small,.promoter small{color:var(--muted)}.cart-items article{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-items article>div:first-child{display:flex;flex-direction:column}.cart-items article small{color:var(--muted);margin-top:4px}.cart-items article>strong{grid-column:2;font-size:14px;color:var(--coral)}.mini-stepper{display:flex;align-items:center;border-radius:9px;overflow:hidden}.mini-stepper b{padding:0 9px}.note-label{display:block;font-weight:700;font-size:13px;margin-top:20px}.note-label textarea{width:100%;height:65px;resize:none;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px;font:inherit}.promoter{background:#fff7ef;border:1px dashed #ffb692}.promoter>span{font-size:25px}.promoter>b{color:var(--teal)}.totals{border-top:1px solid var(--line);padding-top:15px}.totals>div{display:flex;justify-content:space-between;margin:10px 0;color:var(--muted)}.totals .grand-total{color:var(--ink);font-size:21px;border-top:1px solid var(--line);padding-top:15px}.grand-total strong{color:var(--coral)}.checkout{width:100%;border:0;background:linear-gradient(90deg,var(--coral),var(--coral2));color:#fff;border-radius:14px;padding:16px;font-weight:800;font-size:16px;box-shadow:0 12px 25px #ff5a3638}
.modal-backdrop{display:grid;place-items:center;z-index:110;padding:20px}.success-card{width:min(590px,100%);padding:40px;background:#fff;border-radius:26px;text-align:center;box-shadow:var(--shadow)}.success-icon{margin:0 auto 15px;display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--teal);color:#fff;font-size:30px}.success-card h2{font-size:30px;margin:8px}.success-card>p{color:var(--muted)}.timeline{display:grid;grid-template-columns:repeat(4,1fr);margin:35px 0 24px;position:relative}.timeline:before{content:"";height:3px;background:#e4e8e9;position:absolute;top:8px;left:12%;right:12%}.timeline div{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.timeline i{width:18px;height:18px;border:4px solid #e4e8e9;border-radius:50%;background:#fff;z-index:2}.timeline .done i{border-color:var(--teal);background:var(--teal)}.timeline .done{color:var(--teal);font-weight:800}.eta{display:block;background:#f0faf9;border-radius:12px;padding:14px;color:#087e78}.success-card>button{margin-top:22px;border:0;border-radius:12px;padding:13px 28px;background:var(--ink);color:#fff;font-weight:800}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,80px);opacity:0;background:var(--ink);color:#fff;padding:12px 20px;border-radius:22px;z-index:120;transition:.25s}.toast.show{transform:translate(-50%,0);opacity:1}
.dashboard{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 76px);background:#f3f5f6}.dashboard-nav{background:var(--ink);color:#fff;padding:26px 18px;display:flex;flex-direction:column;gap:5px}.brand.inverse{color:#fff;font-size:17px;margin-bottom:25px}.dashboard-nav>p{font-size:10px;color:#8290a0;letter-spacing:1px;margin:10px}.dashboard-nav>button,.dashboard-nav>a{border:0;background:transparent;color:#aeb7c2;text-align:left;padding:12px;border-radius:9px;text-decoration:none;font:inherit;cursor:pointer}.dashboard-nav>button.active,.dashboard-nav>button:hover,.dashboard-nav>a.active,.dashboard-nav>a:hover{background:#ffffff12;color:#fff}.restaurant-mini{margin-top:auto;display:flex;gap:10px;align-items:center;border-top:1px solid #ffffff15;padding-top:18px}.restaurant-mini>span,.courier>span{display:grid;place-items:center;width:35px;height:35px;background:var(--coral);border-radius:10px;font-weight:800}.restaurant-mini div,.courier div{display:flex;flex-direction:column}.restaurant-mini small{color:#45c68c}.dashboard-main{padding:34px}.dashboard-header{display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{font-size:34px;margin:6px 0}.live{background:#e9f8f0;color:#28764a;padding:10px 15px;border-radius:22px;font-size:13px;font-weight:700}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:25px 0}.metrics article{background:#fff;border:1px solid #e2e7ea;border-radius:15px;padding:19px;display:flex;flex-direction:column}.metrics span{font-size:12px;color:var(--muted)}.metrics strong{font-size:27px;margin:8px 0}.metrics strong small{font-size:11px}.metrics em{font-style:normal;font-size:10px;color:#25865a}.orders-board{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.orders-board section{background:#e9edef;border-radius:15px;padding:12px}.orders-board h3{font-size:13px;margin:4px 5px 12px}.orders-board h3 b{display:inline-grid;place-items:center;margin-left:5px;width:20px;height:20px;border-radius:50%;background:#d2dade}.order-card{background:#fff;border:1px solid #dce2e5;border-radius:13px;padding:16px;margin-bottom:10px}.order-card.highlight{border-top:4px solid var(--coral)}.order-top{display:flex;justify-content:space-between}.order-top span{font-size:11px;color:var(--muted)}.order-card h4{margin:15px 0 10px}.order-card ul{list-style:none;padding:0;font-size:13px}.order-card li{margin:8px 0}.order-card li b{color:var(--coral)}.order-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.order-card>small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.order-card>button{width:100%;border:0;background:var(--coral);color:#fff;border-radius:9px;padding:11px;margin-top:14px;font-weight:800}.order-card>button.accepted{background:var(--teal)}progress{width:100%;height:8px;accent-color:var(--teal)}.courier{display:flex;align-items:center;gap:9px;margin-top:17px}.courier small{color:var(--muted)}
@media(max-width:1000px){.hero{grid-template-columns:1fr;padding-top:45px}.hero-copy{max-width:none}.hero-visual img{height:380px}.menu-grid{grid-template-columns:1fr}.steps{grid-template-columns:repeat(3,1fr)}.dashboard{grid-template-columns:1fr}.dashboard-nav{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.orders-board{grid-template-columns:1fr}.topbar nav{display:none}}
@media(max-width:600px){.topbar{height:66px;padding:0 14px}.brand{font-size:16px}.brand-mark{width:31px;height:36px;font-size:23px}.cart-button span{display:none}.hero{padding:42px 18px 55px}.hero h1{font-size:45px;letter-spacing:-2.5px}.hero-copy>p{font-size:16px}.trust-row{flex-wrap:wrap;gap:8px 15px}.hero-visual img{height:270px}.restaurant-section{padding:55px 16px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2,.how-it-works h2{font-size:31px}.product-card{grid-template-columns:1fr}.product-image{height:220px;min-height:0}.muted-card{grid-template-columns:28% 1fr}.muted-card .dish-icon{font-size:55px}.product-info{padding:22px}.steps{grid-template-columns:1fr}.how-it-works{padding:55px 18px}.cart-drawer{padding:20px}.dashboard-main{padding:20px 13px}.metrics{grid-template-columns:1fr 1fr}.metrics strong{font-size:21px}.dashboard-header{align-items:flex-start;gap:10px}.dashboard-header h1{font-size:27px}.live{font-size:10px}.timeline span{font-size:9px}}

/* Evita desplazamientos laterales en pantallas estrechas. */
html,body{max-width:100%;overflow-x:hidden}
.modal-backdrop{overflow-x:hidden}
.success-card{width:min(590px,calc(100vw - 40px));max-width:100%}

/* Las categorías se pueden deslizar en móvil sin mostrar una barra horizontal. */
.category-tabs{scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain}
.category-tabs::-webkit-scrollbar{display:none;width:0;height:0}

/* Panel de entregas */
.delivery-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.delivery-metrics article{background:#fff;border:1px solid #dde3e8;border-radius:18px;padding:20px}.delivery-metrics span{display:block;color:#69788d;font-size:13px;margin-bottom:8px}.delivery-metrics strong{font-size:32px;color:#102137}.delivery-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.delivery-board>section{background:#e9eef1;border-radius:18px;padding:14px;min-height:420px}.delivery-board h3{display:flex;align-items:center;gap:8px;font-size:14px}.delivery-board h3 b{background:#d7e0e5;border-radius:999px;padding:3px 8px}.delivery-card{margin-top:12px}.delivery-card-head,.delivery-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-card-head span{font-size:12px;color:#708095}.delivery-card h4{font-size:16px;margin:16px 0 10px}.delivery-card p{color:#536277;line-height:1.5}.delivery-meta{border-top:1px solid #e1e5e8;margin-top:14px;padding-top:14px}.delivery-meta small{color:#708095}.delivery-action{width:100%;border:0;border-radius:10px;background:#ff573d;color:#fff;font-weight:800;padding:13px;margin-top:14px;cursor:pointer}.delivery-action:disabled{opacity:.65}.delivery-complete{display:block;text-align:center;background:#e6f8f3;color:#078474;border-radius:10px;font-weight:800;padding:12px;margin-top:14px}
@media(max-width:900px){.delivery-metrics,.delivery-board{grid-template-columns:1fr}.delivery-board>section{min-height:auto}.dashboard-main{min-width:0}}

/* Checkout, pagos y seguimiento del cliente */
.topbar-actions{display:flex;align-items:center;gap:9px}.tracking-button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 13px;border-radius:24px;display:flex;gap:8px;align-items:center;font-weight:700}.tracking-button b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:20px;background:#edf4f4;color:#087e78}.payment-card{width:min(650px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:26px;padding:30px;box-shadow:var(--shadow)}.payment-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.payment-card-head h2{font-size:30px;margin:6px 0}.payment-card-head>button{border:0;background:#f0f1f2;border-radius:50%;width:38px;height:38px;font-size:25px}.payment-intro{color:var(--muted);margin:5px 0 20px}.payment-options{display:grid;gap:12px}.payment-option{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #dce3e6;background:#fff;border-radius:16px;padding:15px;transition:.2s}.payment-option:hover,.payment-option.selected{border-color:var(--teal);box-shadow:0 0 0 3px #0daea512}.payment-option>div{display:flex;flex-direction:column;gap:3px}.payment-option small{color:var(--muted);line-height:1.35}.payment-option em{font-style:normal;color:#7d4b22;font-size:11px}.payment-option>b{font-size:25px;color:#9aa5af}.payment-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#f2f7f7;font-size:23px;font-weight:900;color:#df1e78}.qr-icon{color:var(--teal)}.qr-preview{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:center;margin:18px 0 0;padding:16px;background:#f4faf9;border-radius:16px}.qr-preview p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.fake-qr{width:100px;height:100px;display:grid;place-items:center;border:9px solid #fff;outline:1px solid #d8e0e2;background:repeating-conic-gradient(#152234 0 25%,#fff 0 50%) 0/18px 18px}.fake-qr span{display:grid;place-items:center;width:45px;height:28px;background:#fff;color:var(--coral);font-weight:900;font-size:12px}.payment-submit{width:100%;border:0;background:linear-gradient(90deg,var(--coral),var(--coral2));color:#fff;border-radius:14px;padding:15px;font-weight:800;font-size:16px;margin-top:18px}.payment-submit:disabled,.checkout:disabled{opacity:.6;cursor:not-allowed}.cart-locked{padding:12px;border-radius:12px;background:#fff4e7;color:#865421;font-size:13px;font-weight:700;margin:12px 0;display:grid;gap:10px}.cart-locked>div{display:grid;gap:4px}.cart-locked span{font-weight:500;line-height:1.4}.cart-cancel-pending{width:100%;border:1px solid #d87a55;background:#fff;color:#a4462a;border-radius:10px;padding:10px 12px;font-weight:800;cursor:pointer}.cart-cancel-pending:hover{background:#fff8f4}.product-card.unavailable{opacity:.55}.product-card.unavailable .add-button{background:#aeb7c2;cursor:not-allowed}.unavailable-label{display:block;color:#a75039!important;margin-top:6px}.payment-queue{background:#fff;border:1px solid #e1e6e8;border-radius:16px;padding:16px;margin:24px 0}.payment-queue-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.payment-queue-head>div{display:flex;align-items:center;gap:8px;font-weight:800}.payment-queue-head strong{display:grid;place-items:center;min-width:24px;height:24px;border-radius:20px;background:#fff0e9;color:var(--coral)}.payment-queue-head small{color:var(--muted)}.payment-pending-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.payment-pending-list .order-card{margin:0}.payment-badge{display:inline-flex;align-items:center;width:max-content;border-radius:20px;padding:5px 9px;margin-top:8px;background:#fff4e7;color:#8f5a26;font-size:11px;font-weight:800}.payment-badge.paid{background:#e8f8f3;color:#067c6e}.payment-confirm{background:var(--teal)!important}.tracking-page{max-width:1250px;margin:0 auto;padding:60px clamp(18px,6vw,80px);min-height:calc(100vh - 76px)}.tracking-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}.tracking-page-head h1{font-size:42px;margin:7px 0}.tracking-page-head p{color:var(--muted);margin:0}.tracking-page-head button{border:0;background:var(--ink);color:#fff;border-radius:12px;padding:12px 17px;font-weight:800}.customer-orders{display:grid;gap:16px}.customer-order-card,.customer-order-empty{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}.customer-order-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.customer-order-head h3{font-size:22px;margin:0 0 4px}.customer-order-head small{color:var(--muted)}.customer-order-total{font-size:20px;font-weight:800;color:var(--coral)}.customer-payment-state{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f7f7;border-radius:12px;padding:12px 14px;margin:16px 0;font-size:13px}.customer-payment-state.pending{background:#fff4e7;color:#865421}.customer-payment-state.confirmed{background:#e9f8f4;color:#067c6e}.customer-order-card .timeline{max-width:700px;margin:24px 0 12px}.customer-order-details{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:13px}.pending-state .success-icon{background:#f0a431}.success-card.pending-state .timeline .done i{border-color:var(--teal);background:var(--teal)}.success-card.pending-state .timeline .done{color:var(--teal);font-weight:800}
@media(max-width:900px){.payment-pending-list{grid-template-columns:1fr}.tracking-page-head{align-items:flex-start;flex-direction:column}.payment-queue-head{align-items:flex-start;flex-direction:column}.qr-preview{grid-template-columns:1fr}.fake-qr{margin:auto}}
@media(max-width:600px){.topbar-actions{gap:5px}.tracking-button{padding:9px}.tracking-button span{display:none}.payment-card{padding:22px 17px}.payment-option{grid-template-columns:42px 1fr auto;padding:13px}.tracking-page{padding:35px 15px}.tracking-page-head h1{font-size:32px}.customer-order-head{flex-direction:column}.customer-order-card .timeline span{font-size:9px}}

/* Pulido de carrito/checkout: un carrito vacío no parece una acción de pago y
   una solicitud pendiente queda congelada hasta que el restaurante confirme. */
.checkout.empty-cart{background:#e7ebee;color:#69788d;box-shadow:none}
.note-label textarea:disabled,.delivery-summary button:disabled,#change-location:disabled{opacity:.55;cursor:not-allowed}

/* Entrega o recogida */
.fulfillment-option{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #dce3e6;background:#fff;border-radius:16px;padding:15px;transition:.2s;cursor:pointer}.fulfillment-option:hover,.fulfillment-option.selected{border-color:var(--teal);box-shadow:0 0 0 3px #0daea512}.fulfillment-option>div{display:flex;flex-direction:column;gap:3px}.fulfillment-option small{color:var(--muted);line-height:1.35}.fulfillment-option>b{font-size:25px;color:#9aa5af}.pickup-icon{color:var(--teal)}.fulfillment-badge{display:inline-flex;width:max-content;margin:-3px 0 10px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#eef8f7;color:#087e78}.fulfillment-badge.pickup{background:#fff4e7;color:#865421}.delivery-metrics,.delivery-board{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.delivery-metrics,.delivery-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.delivery-metrics,.delivery-board{grid-template-columns:1fr}}
@media(max-width:600px){.fulfillment-option{grid-template-columns:42px 1fr auto;padding:13px}}


/* Operativa de reparto */
.route-operation{display:flex;flex-wrap:wrap;gap:7px 14px;margin:12px 0;padding:10px 12px;border-radius:11px;background:#f0f8f7;color:#41566a;font-size:12px}.route-operation strong{color:#102137}.route-controls{display:grid;gap:8px;margin-top:14px}.route-controls>button{margin-top:0}.secondary-action{width:100%;border:1px solid #ccd7dc!important;background:#fff!important;color:#31475e!important;border-radius:10px;font-weight:800;padding:11px;cursor:pointer}.delivery-operation-detail{display:grid;gap:6px;margin:12px 0;padding:11px 12px;border-radius:11px;background:#f0f8f7;color:#536277;font-size:12px}.delivery-operation-detail strong{color:#102137}.customer-service-notice{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;margin:10px 0 15px;border-radius:12px;padding:12px 14px;font-size:13px}.customer-service-notice span{color:#5d6b7b}.customer-service-notice.pickup-ready{background:#fff4e7;color:#8a541e}.customer-service-notice.delivery-info{background:#eef8f7;color:#087e78}.customer-service-notice.delivery-info span{color:#55717a}
#courier-modal{display:grid;place-items:center;padding:20px;overflow:auto}#courier-modal.hidden{display:none!important}.courier-card{width:min(540px,calc(100vw - 36px));background:#fff;border-radius:24px;padding:28px;box-shadow:var(--shadow)}.courier-card .payment-card-head h2{font-size:28px;margin:6px 0}.courier-card .payment-card-head>button{border:0;background:#f0f1f2;border-radius:50%;width:38px;height:38px;font-size:25px}.courier-order-line{display:flex;flex-direction:column;gap:5px;background:#f5f8f8;border-radius:13px;padding:13px 15px;margin:15px 0 18px}.courier-order-line span{color:var(--muted);font-size:13px}.courier-field{display:grid;gap:7px;margin:14px 0}.courier-field>span{font-size:13px;font-weight:800;color:#263b50}.courier-field input{width:100%;box-sizing:border-box;border:1px solid #d5dde1;border-radius:12px;padding:13px 14px;font:inherit;outline:none}.courier-field input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0daea512}.courier-eta-input{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.courier-eta-input b{font-size:13px;color:var(--muted)}.courier-help{font-size:12px;line-height:1.5;color:var(--muted);background:#fff8ee;border-radius:11px;padding:11px 12px}.courier-card .payment-submit{margin-top:12px}
@media(max-width:700px){.route-operation{display:grid}.courier-card{padding:22px 17px}}

/* Confirmación final de recepción por el cliente */
.delivery-metrics,.delivery-board{grid-template-columns:repeat(5,minmax(0,1fr))}
.delivery-complete.awaiting-receipt{background:#fff4e7;color:#8a541e;border:1px solid #f1d5b4}
.customer-service-notice.receipt-pending{justify-content:space-between;background:#fff4e7;color:#8a541e;border:1px solid #f0d1ad}
.customer-service-notice.receipt-pending>div{display:flex;flex-direction:column;gap:4px;min-width:220px;flex:1}
.customer-service-notice.receipt-pending span{color:#765f49}
.confirm-receipt{border:0;background:#0daea5;color:#fff;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap}
.confirm-receipt:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:1450px){.delivery-metrics,.delivery-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.delivery-metrics,.delivery-board{grid-template-columns:1fr}.customer-service-notice.receipt-pending{align-items:stretch}.confirm-receipt{width:100%}}


/* Panel móvil independiente del repartidor */
.courier-page{min-height:calc(100vh - 76px);background:linear-gradient(180deg,#f4f8f8 0,#fffdf9 52%);padding:34px clamp(16px,5vw,64px) 70px}
.courier-page-shell{max-width:980px;margin:0 auto}
.courier-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
.courier-page-head h1{font-size:40px;margin:7px 0}.courier-page-head p{margin:0;color:var(--muted)}
.courier-live{display:flex;align-items:center;gap:8px;background:#e9f8f0;color:#28764a;border-radius:999px;padding:10px 14px;font-size:12px;font-weight:800}
.courier-live i{width:8px;height:8px;border-radius:50%;background:#25b868;box-shadow:0 0 0 4px #25b86820}
.courier-login-card{max-width:600px;margin:40px auto;background:#fff;border:1px solid #dfe6e8;border-radius:24px;padding:28px;box-shadow:var(--shadow);display:grid;gap:16px}
.courier-login-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#eef8f7;font-size:31px}
.courier-login-card h2{font-size:28px;margin:6px 0}.courier-login-card p{color:var(--muted);line-height:1.5;margin:0}
.courier-primary{width:100%;border:0;border-radius:13px;background:linear-gradient(90deg,var(--coral),var(--coral2));color:#fff;padding:14px 16px;font-weight:800}
.courier-primary:disabled{opacity:.6;cursor:not-allowed}
.courier-identity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#122033;color:#fff;border-radius:18px;padding:15px 17px;margin-bottom:17px}
.courier-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#ffffff12;font-size:24px}.courier-identity div:nth-child(2){display:flex;flex-direction:column}.courier-identity small{color:#aeb8c5}.courier-identity strong{font-size:19px}.courier-identity button{border:1px solid #ffffff28;background:#ffffff10;color:#fff;border-radius:10px;padding:9px 12px;font-weight:700}
.courier-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:17px 0}.courier-metrics article{background:#fff;border:1px solid #dfe6e8;border-radius:15px;padding:15px;display:flex;flex-direction:column}.courier-metrics span{font-size:11px;color:var(--muted)}.courier-metrics strong{font-size:26px;margin-top:5px}
.courier-board{display:grid;gap:18px}.courier-board>section{background:#edf1f2;border-radius:18px;padding:13px}
.courier-section-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 10px}.courier-section-head h2{font-size:16px;margin:0}.courier-section-head span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#d5dde1;font-weight:800;font-size:12px}
.courier-list{display:grid;gap:10px}.courier-task{background:#fff;border:1px solid #dce4e7;border-radius:16px;padding:16px}.courier-task.empty{color:var(--muted)}
.courier-task-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.courier-task-top>div{display:flex;flex-direction:column;gap:3px}.courier-task-top span{font-size:18px;font-weight:800}.courier-task-top small{color:var(--muted)}.courier-task-top>strong{color:#087e78;background:#e9f8f4;border-radius:999px;padding:6px 9px;font-size:12px;white-space:nowrap}
.courier-destination{display:flex;gap:10px;align-items:center;background:#f4f8f8;border-radius:12px;padding:12px;margin:13px 0}.courier-destination>span{font-size:21px}.courier-destination div{display:flex;flex-direction:column}.courier-destination small{color:var(--muted);font-size:11px}.courier-destination strong{font-size:15px}
.courier-items{font-size:13px;line-height:1.55;color:#4e6073;margin:12px 2px}.courier-task-meta{display:grid;gap:5px;border-top:1px solid var(--line);padding-top:11px;margin-top:11px;font-size:12px;color:#657487}.courier-task-meta strong{color:#203347}
.courier-task .courier-primary{margin-top:13px}.courier-waiting,.courier-complete{margin-top:13px;border-radius:11px;padding:11px 12px;text-align:center;font-size:12px;font-weight:800}.courier-waiting{background:#fff4e7;color:#855421}.courier-complete{background:#e9f8f4;color:#067c6e}
@media(max-width:800px){.courier-page{padding:24px 13px 55px}.courier-page-head{flex-direction:column}.courier-page-head h1{font-size:32px}.courier-metrics{grid-template-columns:repeat(2,1fr)}.courier-login-card{margin:20px auto;padding:20px}.courier-task{padding:14px}}
@media(max-width:480px){.courier-metrics{grid-template-columns:1fr 1fr}.courier-task-top span{font-size:16px}.courier-identity{grid-template-columns:auto 1fr}.courier-identity button{grid-column:1/-1;width:100%}}

/* Repartidores con PIN */
.courier-field select{width:100%;box-sizing:border-box;border:1px solid #d5dde1;border-radius:12px;padding:13px 14px;font:inherit;outline:none;background:#fff;color:#15263a}.courier-field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0daea512}.courier-help.compact{margin:-5px 0 8px}.courier-identity-code{font-size:11px;color:#8fd8ce;margin-top:2px;font-weight:700;letter-spacing:.04em}.route-supervision{display:block;flex:1;text-align:center}.courier-admin-create,.courier-admin-panel{background:#fff;border:1px solid #dde5e7;border-radius:20px;padding:20px;margin-bottom:18px}.courier-admin-create{display:grid;grid-template-columns:minmax(220px,.7fr) 1.3fr;gap:24px;align-items:end}.courier-admin-create h2,.courier-admin-panel h2{margin:0 0 6px;font-size:20px}.courier-admin-create p,.courier-admin-panel p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.courier-admin-form{display:grid;grid-template-columns:1fr 170px 150px;gap:12px;align-items:end}.courier-admin-form .courier-field{margin:0}.courier-admin-form .courier-primary{height:46px}.courier-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.courier-admin-head>strong{display:grid;place-items:center;min-width:35px;height:35px;border-radius:50%;background:#edf2f3;color:#122033}.courier-admin-list{display:grid;gap:10px}.courier-admin-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid #dfe6e8;border-radius:15px;padding:14px}.courier-admin-card.inactive{opacity:.62;background:#fafafa}.courier-admin-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eef8f7;font-size:21px}.courier-admin-info{display:grid;gap:5px}.courier-admin-info>div{display:flex;align-items:center;gap:9px}.courier-admin-info strong{font-size:16px}.courier-admin-info small{color:var(--muted)}.courier-status{font-size:10px;font-weight:800;border-radius:999px;padding:4px 7px}.courier-status.active{background:#e8f8ef;color:#227947}.courier-status.inactive{background:#f1f1f1;color:#6e7478}.courier-admin-actions{display:flex;gap:8px}.courier-admin-actions button{border-radius:10px;padding:9px 11px;font-weight:750;border:1px solid #d5dde1;background:#fff;color:#203347}.courier-admin-actions .danger-soft{color:#a14235;background:#fff5f2;border-color:#f2d6cf}.courier-admin-empty{border:1px dashed #cfd9dc;border-radius:14px;padding:22px;color:var(--muted);text-align:center}.courier-admin-empty.error{color:#9b4338;background:#fff4f2}
@media(max-width:900px){.courier-admin-create{grid-template-columns:1fr}.courier-admin-form{grid-template-columns:1fr 1fr}.courier-admin-form .courier-primary{grid-column:1/-1}.courier-admin-card{grid-template-columns:auto 1fr}.courier-admin-actions{grid-column:1/-1}.courier-admin-actions button{flex:1}}
@media(max-width:560px){.courier-admin-form{grid-template-columns:1fr}.courier-admin-form .courier-primary{grid-column:auto}.courier-admin-card{grid-template-columns:1fr}.courier-admin-avatar{display:none}.courier-admin-actions{grid-column:auto;flex-direction:column}}

/* Autenticación por rol */
.account-button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:1px solid #dfe6e8;background:#fff;border-radius:12px;padding:8px 12px;color:#1b2b34;font:inherit;cursor:pointer;min-width:96px}
.account-button span{font-size:11px;color:#78858d;text-transform:uppercase;letter-spacing:.04em;font-weight:800}.account-button small{font-size:12px;font-weight:800;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-backdrop{z-index:1200}.auth-card{width:min(500px,calc(100vw - 32px));background:#fff;border-radius:24px;padding:28px;box-shadow:0 22px 70px rgba(19,34,44,.26);display:grid;gap:14px}.auth-card h2{margin:4px 0 0;font-size:29px}.auth-intro{margin:0;color:#67747c;line-height:1.5}.auth-field{display:grid;gap:7px}.auth-field>span{font-size:13px;font-weight:800;color:#35444c}.auth-field em{font-weight:500;color:#839097}.auth-field input{width:100%;box-sizing:border-box;border:1px solid #d7e0e3;border-radius:12px;padding:13px 14px;font:inherit;outline:none}.auth-field input:focus{border-color:#0daea5;box-shadow:0 0 0 3px rgba(13,174,165,.08)}.auth-help{margin:0;color:#7b878e;font-size:12px;line-height:1.45}.auth-lock{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#eff8f7;font-size:27px}.auth-error{margin:0;border-radius:12px;background:#fff0ed;color:#9f3527;padding:11px 13px;font-size:13px}.restaurant-logout{margin:10px 14px 18px;border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;border-radius:10px;padding:10px 12px;cursor:pointer}.restaurant-logout:hover{background:rgba(255,255,255,.08)}
@media(max-width:760px){.account-button{min-width:auto;padding:7px 9px}.account-button span{display:none}.account-button small{max-width:86px}.auth-card{padding:22px 18px}.auth-card h2{font-size:25px}}

/* Configuración de pagos */
.payment-settings-panel{max-width:980px}.payment-settings-card{background:#fff;border:1px solid #dce3e6;border-radius:18px;padding:24px;display:grid;gap:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:22px 0;border-bottom:1px solid #e8ecee}.setting-row:first-child{padding-top:0}.setting-row h2{margin:0 0 5px;font-size:18px}.setting-row p{margin:0;color:#687386;line-height:1.45}.setting-column{display:block}.setting-row-head{display:flex;align-items:center;justify-content:space-between;gap:30px}.setting-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.setting-fields label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#4c5967}.setting-fields input,.setting-fields select{width:100%;box-sizing:border-box;border:1px solid #d6dfe3;border-radius:11px;padding:12px 13px;background:#fff;color:#152234;font:inherit}.switch{position:relative;display:inline-block;width:52px;height:30px;flex:0 0 auto}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;border-radius:999px;background:#dbe1e4;cursor:pointer;transition:.2s}.switch span:before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.2s}.switch input:checked+span{background:#0daea5}.switch input:checked+span:before{transform:translateX(22px)}.provider-status{align-self:end;border-radius:11px;background:#f4f7f7;padding:12px 14px;color:#5c6875;font-size:12px}.provider-status.ready{background:#e8f8f4;color:#087d71}.provider-status.pending{background:#fff4e8;color:#8b5b21}.settings-save{margin-top:22px;border:0;border-radius:12px;background:#ff5a3d;color:#fff;padding:14px 18px;font-weight:800;cursor:pointer}.settings-message{min-height:18px;margin:8px 0 0;color:#087d71}.payment-option:disabled{opacity:.5;cursor:not-allowed;background:#f5f6f6}.payment-option:disabled:hover{border-color:#dce3e6;box-shadow:none}
@media(max-width:700px){.setting-fields{grid-template-columns:1fr}.setting-row-head{align-items:flex-start}.payment-settings-card{padding:18px}}

/* Pago Nequi directo + QR demo por pedido */
.payment-detail{margin-top:16px;padding:16px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa;display:grid;gap:11px}.payment-detail.hidden{display:none!important}.payment-detail>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.payment-detail .detail-label{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.payment-detail p{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.payment-copy-row>div{display:block}#copy-nequi-number{border:1px solid var(--teal);background:#fff;color:#087e78;border-radius:10px;padding:9px 12px;font-weight:800}.qr-code-box{width:150px;height:150px;display:grid;place-items:center;background:#fff;border:1px solid #d8e0e2;border-radius:12px;padding:8px;box-sizing:border-box}.qr-code-box svg{width:100%;height:100%;display:block}.qr-placeholder{display:grid;place-items:center;width:100%;height:100%;background:repeating-conic-gradient(#152234 0 25%,#fff 0 50%) 0/22px 22px;color:var(--coral);font-weight:900}.qr-copy{min-width:0}.qr-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;font-size:12px;color:var(--muted)}.qr-meta b{color:var(--ink)}.qr-status{margin-top:12px;padding:9px 11px;border-radius:10px;background:#e8f8f3;color:#067c6e;font-size:12px;font-weight:700}.qr-status.error{background:#fff0e9;color:#a75039}.payment-options.processing{opacity:.55;pointer-events:none}
@media(max-width:600px){.payment-detail>div{align-items:flex-start;flex-direction:column}.payment-copy-row{flex-direction:row!important;align-items:center!important}.qr-code-box{width:190px;height:190px}}

/* QR demo V2: before generation there must be no decorative/fake QR. */
.qr-code-box.pending { display:flex; align-items:center; justify-content:center; background:#f7faf9; border:1px dashed #c7d6d3; }
.qr-code-box.pending .qr-placeholder { display:flex; min-height:118px; width:118px; padding:12px; box-sizing:border-box; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center; color:#667784; background:none !important; border:0 !important; }
.qr-code-box.pending .qr-placeholder::before, .qr-code-box.pending .qr-placeholder::after { display:none !important; content:none !important; }
.qr-code-box.pending .qr-placeholder strong { font-size:13px; color:#10243a; }
.qr-code-box.pending .qr-placeholder span { font-size:10px; line-height:1.25; }

/* === Ventas reales === */
.real-metrics strong { font-variant-numeric: tabular-nums; }
.sales-header { align-items: flex-start; gap: 24px; }
.sales-range { display: inline-flex; padding: 4px; border-radius: 999px; background: #f0eee9; gap: 4px; }
.sales-range button { border: 0; background: transparent; color: #667085; font-weight: 700; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.sales-range button.active { background: #fff; color: #0d1b2f; box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
.sales-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.sales-kpis article { background: #fff; border: 1px solid #dde3e8; border-radius: 16px; padding: 18px; min-height: 112px; }
.sales-kpis span { display: block; color: #7a8698; font-size: 12px; margin-bottom: 8px; }
.sales-kpis strong { display: block; color: #0d1b2f; font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sales-kpis em { display: block; margin-top: 8px; font-size: 11px; color: #31966f; font-style: normal; }
.sales-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.sales-panel { background: #fff; border: 1px solid #dde3e8; border-radius: 16px; padding: 18px; }
.sales-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.sales-panel-head h2 { margin: 3px 0 0; font-size: 18px; color: #0d1b2f; }
.sales-panel-head > strong { font-size: 18px; color: #0d1b2f; font-variant-numeric: tabular-nums; }
.sales-panel-head > small { color: #7a8698; }
.sales-breakdown { display: grid; gap: 16px; }
.sales-breakdown-row { display: grid; gap: 8px; }
.sales-breakdown-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sales-breakdown-top > div { min-width: 0; }
.sales-breakdown-top strong { display: block; color: #182438; font-size: 14px; }
.sales-breakdown-top small { display: block; color: #7b8796; margin-top: 3px; font-size: 11px; }
.sales-breakdown-top b { color: #ff5b3d; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sales-progress { height: 8px; background: #edf1f3; border-radius: 999px; overflow: hidden; }
.sales-progress span { display: block; height: 100%; border-radius: inherit; background: #12afa4; }
.sales-empty { color: #7b8796; margin: 0; }
.sales-trend-panel { margin-bottom: 16px; }
.sales-trend { min-height: 220px; display: flex; gap: 10px; align-items: stretch; overflow-x: auto; padding: 8px 2px 0; }
.sales-day { min-width: 62px; flex: 1 0 62px; display: grid; grid-template-rows: 145px auto auto auto; gap: 3px; text-align: center; }
.sales-bar-area { height: 145px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid #e7ebee; }
.sales-bar { width: min(34px, 68%); min-height: 4px; background: #12afa4; border-radius: 8px 8px 2px 2px; }
.sales-day strong { font-size: 11px; color: #263548; }
.sales-day small { color: #8792a1; font-size: 10px; }
.sales-day em { color: #ff5b3d; font-size: 10px; font-style: normal; white-space: nowrap; }
.sales-table-wrap { overflow-x: auto; }
.sales-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.sales-table th { text-align: left; color: #8a95a4; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid #e3e7ea; }
.sales-table td { padding: 13px 12px; border-bottom: 1px solid #edf0f2; color: #415067; font-size: 12px; }
.sales-table td strong { color: #0d1b2f; }
.sales-table .sales-amount { text-align: right; color: #ff5b3d; font-weight: 800; white-space: nowrap; }
.sales-chip { display: inline-flex; border-radius: 999px; background: #e9f8f5; color: #087e76; padding: 5px 8px; font-weight: 700; font-size: 10px; white-space: nowrap; }

@media (max-width: 1050px) {
  .sales-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sales-header { flex-direction: column; }
  .sales-kpis { grid-template-columns: 1fr; }
  .sales-range { width: 100%; }
  .sales-range button { flex: 1; }
}

/* === Prescriptores y comisiones === */
.prescriber-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.prescriber-kpis article{background:#fff;border:1px solid #dde3e8;border-radius:16px;padding:18px;min-height:110px}.prescriber-kpis span{display:block;color:#7a8698;font-size:12px;margin-bottom:8px}.prescriber-kpis strong{display:block;color:#0d1b2f;font-size:24px;line-height:1.15;font-variant-numeric:tabular-nums}.prescriber-kpis em{display:block;margin-top:8px;font-size:11px;color:#31966f;font-style:normal}.prescriber-create-panel,.prescriber-list-panel{background:#fff;border:1px solid #dde3e8;border-radius:18px;padding:20px;margin-bottom:18px}.prescriber-create-panel{display:grid;grid-template-columns:minmax(250px,.62fr) 1.38fr;gap:24px;align-items:end}.prescriber-create-panel h2,.prescriber-list-panel h2{margin:0 0 6px;font-size:20px}.prescriber-create-panel p,.prescriber-list-panel p{margin:0;color:#768291;font-size:13px;line-height:1.45}.prescriber-create-form{display:grid;grid-template-columns:1.2fr 1fr 1fr .7fr 1fr .85fr auto;gap:10px;align-items:end}.prescriber-create-form label,.prescriber-edit-grid label{display:grid;gap:6px;color:#526070;font-size:11px;font-weight:800}.prescriber-create-form input,.prescriber-create-form select,.prescriber-edit-grid input,.prescriber-edit-grid select{width:100%;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:11px 12px;font:inherit;outline:none}.prescriber-create-form input:focus,.prescriber-create-form select:focus,.prescriber-edit-grid input:focus,.prescriber-edit-grid select:focus{border-color:#0daea5;box-shadow:0 0 0 3px rgba(13,174,165,.08)}.prescriber-primary{border:0;border-radius:11px;background:#ff5a3d;color:#fff;padding:12px 15px;font-weight:800;cursor:pointer;white-space:nowrap}.prescriber-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.prescriber-list-head>strong{display:grid;place-items:center;min-width:35px;height:35px;border-radius:50%;background:#edf2f3;color:#122033}.prescriber-list-head>span{color:#7a8793;font-size:12px}.prescriber-admin-list{display:grid;gap:12px}.prescriber-card{border:1px solid #e0e6e9;border-radius:16px;padding:16px;display:grid;gap:14px}.prescriber-card.inactive{opacity:.68;background:#fafafa}.prescriber-card-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.prescriber-identity{display:flex;gap:11px;align-items:center;min-width:0}.prescriber-avatar{width:44px;height:44px;border-radius:13px;background:#eef8f7;display:grid;place-items:center;font-size:20px}.prescriber-identity strong{font-size:16px;color:#16253a}.prescriber-identity small{display:block;color:#7b8795;margin-top:3px}.prescriber-code{font-weight:900;color:#0b7d76!important;letter-spacing:.03em}.prescriber-state{font-size:10px;font-weight:900;border-radius:999px;padding:5px 8px;background:#e8f8ef;color:#237a48}.prescriber-card.inactive .prescriber-state{background:#eceff1;color:#6d7378}.prescriber-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.prescriber-stat{background:#f7f9fa;border-radius:12px;padding:11px}.prescriber-stat span{display:block;color:#81909d;font-size:10px;margin-bottom:5px}.prescriber-stat strong{font-size:14px;color:#17253a;font-variant-numeric:tabular-nums}.prescriber-stat.pending strong{color:#c65b26}.prescriber-stat.settled strong{color:#078076}.prescriber-edit-grid{display:grid;grid-template-columns:1.2fr 1fr .75fr 1fr .9fr;gap:10px}.prescriber-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.prescriber-actions button{border:1px solid #d4dde1;background:#fff;color:#23374a;border-radius:10px;padding:10px 12px;font-weight:800;cursor:pointer}.prescriber-actions .save{background:#13243a;color:#fff;border-color:#13243a}.prescriber-actions .settle{background:#0daea5;color:#fff;border-color:#0daea5}.prescriber-actions .settle:disabled{opacity:.45;cursor:not-allowed}.prescriber-actions .danger-soft{color:#a14235;background:#fff5f2;border-color:#f2d6cf}.prescriber-note{margin-left:auto;color:#7e8994;font-size:11px}.prescriber-warning{border-radius:11px;padding:10px 12px;background:#fff4e8;color:#8a5c25;font-size:12px}.prescriber-empty{border:1px dashed #d1dade;border-radius:14px;padding:22px;text-align:center;color:#7d8995}.prescriber-settlement-list{overflow-x:auto}.prescriber-settlement-table{width:100%;border-collapse:collapse;min-width:720px}.prescriber-settlement-table th{text-align:left;color:#8b96a3;font-size:10px;text-transform:uppercase;letter-spacing:.05em;padding:9px 11px;border-bottom:1px solid #e5e9ec}.prescriber-settlement-table td{padding:12px 11px;border-bottom:1px solid #edf0f2;color:#405066;font-size:12px}.prescriber-settlement-table td strong{color:#17253a}.prescriber-settlement-table .money{text-align:right;color:#0b8d83;font-weight:900;white-space:nowrap}
@media(max-width:1250px){.prescriber-create-panel{grid-template-columns:1fr}.prescriber-create-form{grid-template-columns:repeat(3,1fr)}.prescriber-create-form .prescriber-primary{grid-column:1/-1}.prescriber-stats{grid-template-columns:repeat(3,1fr)}.prescriber-edit-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.prescriber-kpis{grid-template-columns:repeat(2,1fr)}.prescriber-create-form,.prescriber-edit-grid{grid-template-columns:1fr 1fr}.prescriber-stats{grid-template-columns:repeat(2,1fr)}.prescriber-note{width:100%;margin-left:0}}
@media(max-width:560px){.prescriber-kpis{grid-template-columns:1fr}.prescriber-create-form,.prescriber-edit-grid,.prescriber-stats{grid-template-columns:1fr}.prescriber-card-top{flex-direction:column}.prescriber-actions{flex-direction:column;align-items:stretch}.prescriber-actions button{width:100%}}

/* Detalle histórico del pedido del cliente */
.customer-order-actions{display:flex;justify-content:flex-end;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.view-order-detail{border:1px solid #cfdadd;background:#fff;color:var(--ink);border-radius:11px;padding:10px 15px;font-weight:800;cursor:pointer;transition:.18s}
.view-order-detail:hover{border-color:var(--teal);color:#087e78;box-shadow:0 0 0 3px #0daea512}
#customer-order-detail-modal{display:grid;place-items:center;padding:20px;overflow:auto;z-index:1300}
#customer-order-detail-modal.hidden{display:none!important}
.customer-order-detail-card{width:min(720px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;box-sizing:border-box;background:#fff;border-radius:24px;padding:28px;box-shadow:0 22px 70px rgba(19,34,44,.28)}
.customer-order-detail-card .payment-card-head h2{margin:5px 0 0;font-size:29px}
.customer-order-detail-card .payment-card-head>button{cursor:pointer}
.customer-order-detail-intro{margin:6px 0 20px;color:var(--muted);line-height:1.45}
.customer-order-detail-content{display:grid;gap:16px}
.customer-order-detail-loading,.customer-order-detail-error,.customer-order-detail-empty{padding:20px;border-radius:14px;background:#f5f8f8;color:var(--muted);text-align:center}
.customer-order-detail-error{background:#fff0ed;color:#9f3527}
.customer-order-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.customer-order-detail-summary>div,.customer-order-detail-meta>div{border:1px solid var(--line);background:#fbfcfc;border-radius:12px;padding:12px;display:grid;gap:4px}
.customer-order-detail-summary span,.customer-order-detail-meta span{font-size:11px;color:var(--muted)}
.customer-order-detail-summary strong,.customer-order-detail-meta strong{font-size:13px;color:var(--ink);line-height:1.35;word-break:break-word}
.customer-order-detail-section{border:1px solid var(--line);border-radius:16px;padding:16px}
.customer-order-detail-section h3{margin:0 0 12px;font-size:16px}
.customer-order-detail-items{display:grid;gap:0}
.customer-order-detail-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.customer-order-detail-item:first-child{padding-top:2px}
.customer-order-detail-item:last-child{border-bottom:0}
.customer-order-detail-item>div{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center;min-width:0}
.customer-order-detail-item b{color:var(--coral)}
.customer-order-detail-item span{font-weight:700;color:var(--ink)}
.customer-order-detail-item small{grid-column:2;color:var(--muted);font-size:11px}
.customer-order-detail-item>strong{white-space:nowrap;color:var(--ink)}
.customer-order-detail-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:10px;padding-top:14px;border-top:2px solid #edf1f2}
.customer-order-detail-total span{font-weight:700;color:var(--muted)}
.customer-order-detail-total strong{font-size:21px;color:var(--coral)}
.customer-order-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.customer-order-detail-note{margin:0;background:#fff8ef;border-radius:12px;padding:13px;color:#5f5143;white-space:pre-wrap;line-height:1.5}
.customer-order-history-note{margin:0;padding:11px 13px;border-radius:11px;background:#edf9f7;color:#087e78;font-size:12px;line-height:1.45}
@media(max-width:650px){
  .customer-order-actions{justify-content:stretch}.view-order-detail{width:100%}
  .customer-order-detail-card{padding:22px 17px}
  .customer-order-detail-summary,.customer-order-detail-meta{grid-template-columns:1fr}
  .customer-order-detail-item{align-items:flex-start}
  .customer-order-detail-total{align-items:flex-end}
}

.customer-order-detail-actions{display:grid;gap:8px;padding-top:2px}.repeat-customer-order{width:100%;border:0;background:linear-gradient(90deg,var(--coral),var(--coral2));color:#fff;border-radius:13px;padding:13px 16px;font-weight:850;font-size:15px;cursor:pointer;box-shadow:0 8px 22px rgba(255,92,62,.16)}.repeat-customer-order:hover{filter:brightness(.98)}.repeat-customer-order:disabled{opacity:.6;cursor:wait}.customer-order-detail-actions small{color:var(--muted);text-align:center;line-height:1.4}

/* Compartir y recomendar — cliente */
.customer-share-button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:16px;padding:11px 14px;display:inline-flex;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:.2s;box-shadow:0 8px 20px rgba(22,38,53,.04)}
.customer-share-button:hover{transform:translateY(-1px);border-color:#9fdcd8;box-shadow:0 12px 24px rgba(22,38,53,.08)}
.customer-share-button>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eef9f8;color:var(--teal);font-size:19px;font-weight:900}
.customer-share-button>div{display:grid;gap:2px}.customer-share-button strong{font-size:13px}.customer-share-button small{font-size:10px;color:var(--muted)}
.platform-share-button{margin-top:16px}.restaurant-heading-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;justify-content:flex-end}.restaurant-share-button{padding:9px 12px}
#customer-referral-share-modal{display:grid;place-items:center;padding:20px;overflow:auto;z-index:1320}
#customer-referral-share-modal.hidden{display:none!important}
.customer-referral-share-card{width:min(620px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;box-sizing:border-box;background:#fff;border-radius:24px;padding:28px;box-shadow:0 22px 70px rgba(19,34,44,.28)}
.customer-referral-share-card .payment-card-head h2{margin:5px 0 0;font-size:29px}.customer-referral-share-card .payment-card-head>button{cursor:pointer}
.customer-referral-share-description{margin:8px 0 18px;color:var(--muted);line-height:1.5}
.customer-referral-code-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-radius:13px;background:#eff9f8;margin-bottom:14px}.customer-referral-code-row span{font-size:12px;color:var(--muted)}.customer-referral-code-row strong{font-size:16px;color:#087e78;letter-spacing:.4px}
.customer-referral-link-field{display:grid;gap:7px}.customer-referral-link-field>span{font-size:12px;font-weight:800;color:#42515a}.customer-referral-link-field>div{display:grid;grid-template-columns:1fr auto;border:1px solid var(--line);border-radius:12px;overflow:hidden}.customer-referral-link-field input{min-width:0;border:0;padding:12px 13px;font:inherit;color:#42515a;background:#fbfcfc;outline:none}.customer-referral-link-field button{border:0;border-left:1px solid var(--line);background:#fff;color:#087e78;padding:0 15px;font-weight:850;cursor:pointer}
.customer-referral-share-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.customer-referral-share-actions button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:12px;font-weight:800;cursor:pointer}.customer-referral-share-actions button.whatsapp{background:#effaf3;border-color:#bce8ca;color:#18723b}.customer-referral-share-actions button:hover{filter:brightness(.98)}
.customer-referral-share-info{margin-top:16px;padding:14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa}.customer-referral-share-info b{font-size:12px}.customer-referral-share-info p{margin:5px 0 0;color:#7a6046;font-size:12px;line-height:1.5}
.customer-referral-share-stats{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:12px}.customer-referral-share-stats b{color:var(--ink)}
@media(max-width:600px){.restaurant-heading-actions{width:100%;justify-content:space-between;align-items:center}.restaurant-share-button{width:100%;justify-content:flex-start}.customer-referral-share-card{padding:22px 17px}.customer-referral-share-actions{grid-template-columns:1fr}.customer-referral-link-field>div{grid-template-columns:1fr}.customer-referral-link-field button{border-left:0;border-top:1px solid var(--line);padding:10px}.platform-share-button{width:100%}}

/* === Carta / catálogo multiestablecimiento === */
.live.pending{background:#fff5e8;color:#9a621d}.live.pending i{background:#f0a43a}
.catalog-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.catalog-kpis article{background:#fff;border:1px solid #dde3e8;border-radius:16px;padding:17px}.catalog-kpis span{display:block;color:#7a8698;font-size:11px;margin-bottom:7px}.catalog-kpis strong{display:block;color:#0d1b2f;font-size:20px;line-height:1.2}.catalog-kpis article:last-child strong{font-size:14px;color:#0b8178}
.catalog-admin-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:16px;margin-bottom:16px}.catalog-panel{background:#fff;border:1px solid #dde3e8;border-radius:18px;padding:18px}.catalog-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.catalog-panel-head h2{margin:3px 0 0;font-size:20px}.catalog-panel-head p{margin:5px 0 0;color:#778390;font-size:12px}.catalog-create-row{display:grid;grid-template-columns:1fr 90px auto;gap:9px;align-items:end;margin-bottom:14px}.catalog-create-row input,.catalog-product-form input,.catalog-product-form select,.catalog-product-form textarea,.catalog-category-row input,.catalog-product-edit-grid input,.catalog-product-edit-grid select,.catalog-product-edit-grid textarea{width:100%;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:10px 11px;font:inherit;outline:none}.catalog-create-row input:focus,.catalog-product-form input:focus,.catalog-product-form select:focus,.catalog-product-form textarea:focus,.catalog-category-row input:focus,.catalog-product-edit-grid input:focus,.catalog-product-edit-grid select:focus,.catalog-product-edit-grid textarea:focus{border-color:#0daea5;box-shadow:0 0 0 3px rgba(13,174,165,.08)}
.catalog-primary{border:0;border-radius:10px;background:#ff5a3d;color:#fff;padding:11px 14px;font-weight:850;cursor:pointer}.catalog-secondary{border:1px solid #cfd9dd;border-radius:10px;background:#fff;color:#173044;padding:10px 12px;font-weight:800;cursor:pointer}.catalog-primary:disabled,.catalog-secondary:disabled{opacity:.6;cursor:wait}
.catalog-category-list{display:grid;gap:8px}.catalog-category-row{display:grid;grid-template-columns:1fr 80px auto;gap:8px;align-items:center;padding:9px;border-radius:12px;background:#f6f9f9}.catalog-empty{padding:18px;border:1px dashed #cfdadd;border-radius:12px;color:#7d8995;text-align:center;margin:0}
.catalog-product-form{display:grid;grid-template-columns:1.25fr 1fr .8fr .55fr;gap:10px}.catalog-product-form label,.catalog-product-edit-grid label{display:grid;gap:6px;color:#526070;font-size:11px;font-weight:800}.catalog-product-form textarea,.catalog-product-edit-grid textarea{min-height:76px;resize:vertical}.catalog-wide{grid-column:1/-1}.catalog-availability{display:flex!important;align-items:center;gap:8px;font-size:12px!important;font-weight:800;color:#375064!important}.catalog-availability input{width:auto!important;accent-color:#0daea5}
.catalog-products-panel{margin-bottom:20px}.catalog-product-list{display:grid;gap:12px}.catalog-product-row{border:1px solid #e1e7ea;border-radius:15px;padding:14px;display:grid;gap:13px;transition:.18s}.catalog-product-row.is-disabled{background:#fafafa;opacity:.82}.catalog-product-summary{display:flex;align-items:center;gap:11px}.catalog-product-thumb{width:52px;height:52px;border-radius:12px;background:#eef7f6;overflow:hidden;display:grid;place-items:center;font-size:23px;flex:none}.catalog-product-thumb img{width:100%;height:100%;object-fit:cover}.catalog-product-summary strong{display:block;font-size:15px}.catalog-product-summary small{display:block;color:#7b8794;margin-top:3px}.catalog-product-edit-grid{display:grid;grid-template-columns:1.3fr 1fr .72fr .55fr;gap:9px}.catalog-product-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf0f2;padding-top:12px}
@media(max-width:1150px){.catalog-kpis{grid-template-columns:repeat(2,1fr)}.catalog-admin-grid{grid-template-columns:1fr}.catalog-product-form,.catalog-product-edit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.catalog-kpis{grid-template-columns:1fr}.catalog-create-row{grid-template-columns:1fr 80px}.catalog-create-row .catalog-primary{grid-column:1/-1}.catalog-category-row{grid-template-columns:1fr 70px}.catalog-category-row .catalog-secondary{grid-column:1/-1}.catalog-product-form,.catalog-product-edit-grid{grid-template-columns:1fr}.catalog-wide{grid-column:auto}.catalog-product-actions{align-items:stretch;flex-direction:column}.catalog-product-actions .catalog-secondary{width:100%}}

/* Fotos de productos: carga desde PC, galería o cámara móvil */
.catalog-image-editor{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:stretch;border:1px solid #dfe7e9;background:#f8fbfb;border-radius:14px;padding:12px}.catalog-image-preview{min-height:112px;border-radius:12px;border:1px dashed #cbd7da;background:#fff;display:grid;place-items:center;align-content:center;gap:5px;overflow:hidden;color:#8a96a1}.catalog-image-preview>span{font-size:30px}.catalog-image-preview>small{font-size:11px}.catalog-image-preview.has-image{border-style:solid}.catalog-image-preview img{width:100%;height:100%;min-height:112px;max-height:150px;object-fit:cover;display:block}.catalog-image-tools{display:grid;align-content:start;gap:6px}.catalog-image-tools>strong{font-size:13px;color:#152234}.catalog-image-tools>p{margin:0;color:#71808d;font-size:11px;line-height:1.45}.catalog-image-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.catalog-upload-button{display:inline-flex!important;align-items:center!important;justify-content:center;gap:6px!important;border:1px solid #cfd9dd;border-radius:10px;background:#fff;color:#173044;padding:9px 11px!important;font-size:12px!important;font-weight:850!important;cursor:pointer}.catalog-upload-button:hover{border-color:#0daea5;background:#f6fffe}.catalog-camera-button{border-color:#bfe5e2;background:#f4fffd;color:#087e77}.catalog-image-clear:disabled,.catalog-image-remove:disabled{opacity:.45;cursor:not-allowed}.catalog-image-hint{color:#82909b;font-size:10px;line-height:1.35}.catalog-image-url-details{margin-top:2px}.catalog-image-url-details summary{cursor:pointer;color:#667582;font-size:11px;font-weight:800}.catalog-image-url-details label{margin-top:7px}.catalog-existing-image-editor{grid-template-columns:110px 1fr}.catalog-existing-image-editor .catalog-image-preview{min-height:94px}.catalog-existing-image-editor .catalog-image-preview img{min-height:94px;max-height:120px}
@media(max-width:650px){.catalog-image-editor,.catalog-existing-image-editor{grid-template-columns:1fr}.catalog-image-preview{min-height:190px}.catalog-image-preview img,.catalog-existing-image-editor .catalog-image-preview img{min-height:190px;max-height:240px}.catalog-image-buttons{display:grid;grid-template-columns:1fr 1fr}.catalog-image-buttons .catalog-image-clear,.catalog-image-buttons .catalog-image-remove{grid-column:1/-1}.catalog-upload-button{min-height:44px}}
.catalog-product-action-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.catalog-danger{border-color:#f0c4bc!important;background:#fff7f5!important;color:#a63b2a!important}.catalog-danger:hover{background:#ffede9!important;border-color:#e49b8d!important}.catalog-reactivate{border-color:#b9ddd1!important;background:#f1fbf7!important;color:#167458!important}.catalog-reactivate:hover{background:#e7f8f1!important}@media(max-width:650px){.catalog-product-action-buttons{display:grid;grid-template-columns:1fr}.catalog-product-action-buttons .catalog-secondary{width:100%}}


/* Filtros del catálogo: publicados, retirados y todos */
.catalog-products-head{align-items:center}.catalog-product-filters{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.catalog-product-filter{border:1px solid #d7e0e3;background:#f7f9f9;color:#526270;border-radius:999px;padding:8px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:.16s}.catalog-product-filter b{min-width:22px;height:22px;border-radius:999px;background:#e9eff1;color:#42515c;display:inline-grid;place-items:center;font-size:11px}.catalog-product-filter:hover{border-color:#9fcfc9;background:#f1fbf9}.catalog-product-filter.is-active{background:#0daea5;border-color:#0daea5;color:#fff;box-shadow:0 4px 12px rgba(13,174,165,.16)}.catalog-product-filter.is-active b{background:rgba(255,255,255,.2);color:#fff}.catalog-product-filter:focus-visible{outline:3px solid rgba(13,174,165,.2);outline-offset:2px}
@media(max-width:760px){.catalog-products-head{align-items:flex-start;flex-direction:column}.catalog-product-filters{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.catalog-product-filter{justify-content:center;padding:10px 7px}}

/* --------------------------------------------------------------------------
   Directorio público multiestablecimiento
   -------------------------------------------------------------------------- */
.public-directory{max-width:1380px;margin:0 auto;padding:64px 5vw 18px}
.directory-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.55fr);gap:34px;align-items:stretch;margin-bottom:46px}
.directory-hero>div:first-child{padding:34px 0 10px}
.directory-hero h1{font-size:clamp(42px,5vw,72px);line-height:.98;margin:14px 0 20px;color:#142337;letter-spacing:-.04em}
.directory-hero h1 em{font-style:normal;color:#ff5a36}
.directory-hero p{max-width:690px;color:#647184;font-size:17px;line-height:1.6}
.directory-hero-card{background:linear-gradient(145deg,#f2fbf8,#fff7ee);border:1px solid #dce8e4;border-radius:28px;padding:32px;display:flex;flex-direction:column;justify-content:center;min-height:240px;box-shadow:0 18px 46px rgba(26,52,65,.08)}
.directory-hero-card span{font-size:12px;font-weight:900;letter-spacing:.12em;color:#0b8e82}
.directory-hero-card strong{font-size:64px;line-height:1;color:#142337;margin:16px 0 12px}
.directory-hero-card p{font-size:14px;margin:0;color:#697689}
.directory-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}
.directory-heading h2{font-size:32px;margin:7px 0 5px;color:#142337}
.directory-heading p{margin:0;color:#697689}
.public-establishment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.public-establishment-card{border:1px solid #dfe6e8;border-radius:24px;background:#fff;overflow:hidden;display:grid;grid-template-columns:210px 1fr;min-height:210px;box-shadow:0 12px 32px rgba(18,42,57,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.public-establishment-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(18,42,57,.1);border-color:#c9dbd8}
.public-establishment-cover{min-height:210px;background:#edf6f4;display:grid;place-items:center;overflow:hidden;position:relative}
.public-establishment-cover img{width:100%;height:100%;object-fit:cover;display:block}
.public-establishment-cover .directory-placeholder{font-size:56px}
.public-establishment-body{padding:24px;display:flex;flex-direction:column;gap:13px}
.public-establishment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.public-establishment-type{font-size:11px;font-weight:900;letter-spacing:.11em;color:#ff5a36;text-transform:uppercase}
.public-establishment-card h3{font-size:25px;margin:3px 0 0;color:#142337}
.public-establishment-badge{font-size:11px;font-weight:800;background:#e8f8f3;color:#087d6f;border-radius:999px;padding:7px 10px;white-space:nowrap}
.public-establishment-meta{display:flex;gap:8px 14px;flex-wrap:wrap;color:#667487;font-size:13px}
.public-establishment-products{color:#657385;font-size:13px;line-height:1.45;min-height:38px}
.public-establishment-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
.public-establishment-actions small{color:#7e8997}
.public-establishment-open{border:0;background:#13243a;color:#fff;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}
.directory-loading,.directory-empty{grid-column:1/-1;border:1px dashed #ccd9dc;border-radius:20px;padding:34px;text-align:center;color:#6c7889;background:#fff}
.storefront-back-row{max-width:1380px;margin:0 auto;padding:24px 5vw 0}
.storefront-back-button{border:1px solid #d9e1e4;background:#fff;color:#15253a;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}
.product-card.dynamic-product .product-image{min-height:190px}
.product-card.dynamic-product .product-image img{width:100%;height:100%;object-fit:cover}
.product-card.dynamic-product .dish-icon{min-height:190px;display:grid;place-items:center;font-size:48px;background:#eef8f6}
.product-card.dynamic-product .product-info small{color:#0b8e82}
.category-tabs button[disabled]{opacity:.45;cursor:default}
@media(max-width:900px){.directory-hero{grid-template-columns:1fr}.directory-hero-card{min-height:170px}.public-establishment-grid{grid-template-columns:1fr}.public-establishment-card{grid-template-columns:170px 1fr}}
@media(max-width:620px){.public-directory{padding:34px 18px 12px}.directory-hero{margin-bottom:34px}.directory-hero>div:first-child{padding-top:10px}.directory-hero-card{padding:24px}.public-establishment-card{grid-template-columns:1fr}.public-establishment-cover{min-height:180px}.public-establishment-body{padding:20px}.directory-heading h2{font-size:27px}.storefront-back-row{padding:16px 18px 0}}
.settings-stack{display:grid;gap:20px}.settings-card-title{padding-bottom:18px;border-bottom:1px solid #e8ecee}.settings-card-title h2{margin:4px 0 5px;font-size:22px}.settings-card-title p{margin:0;color:#687386;line-height:1.45}.account-settings-card{margin-top:0}.account-security-note{margin:18px 0 0;padding:13px 15px;border:1px solid #d7e6e3;border-radius:12px;background:#f2faf8;color:#315e5a;font-size:13px;line-height:1.5}.account-fields{grid-template-columns:1fr 1fr}.account-fields label:last-child{grid-column:2}.security-save{background:#132238}.security-save:hover{background:#0b1728}.settings-message.error{color:#a2332b}
@media(max-width:700px){.account-fields{grid-template-columns:1fr}.account-fields label:last-child{grid-column:auto}}


/* v40.2 · QR propio con portada y carta visual con fotos */
.marketing-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:20px;align-items:start}.marketing-card{background:#fff;border:1px solid #dfe6e8;border-radius:18px;padding:22px;box-shadow:0 10px 28px rgba(16,34,56,.04)}.marketing-qr-layout{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:center;padding:24px 0}.marketing-qr-preview{width:230px;height:230px;border:1px solid #dce4e6;border-radius:18px;background:#fff;padding:13px;display:grid;place-items:center;color:#718091;text-align:center}.marketing-qr-preview svg{width:100%;height:100%;display:block}.marketing-qr-copy{min-width:0;display:grid;gap:10px}.marketing-qr-copy>strong{font-size:25px}.marketing-qr-copy>small{color:#687386;font-weight:700}.marketing-link-row{display:grid;grid-template-columns:1fr auto;gap:8px}.marketing-link-row input{min-width:0;border:1px solid #d6dfe2;border-radius:11px;padding:11px 12px;color:#465469;background:#f8faf9}.marketing-link-row button{border:1px solid #0b968b;background:#fff;color:#087e78;border-radius:11px;padding:0 14px;font-weight:800}.marketing-stats{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:5px;color:#687386;font-size:12px}.marketing-stats b{color:#132238}.marketing-actions{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid #edf0f1;padding-top:18px}.marketing-actions button{min-height:43px}.marketing-help{margin:11px 0 0;color:#7b8795;font-size:11px}.menu-print-preview{margin:22px 0;padding:18px;border:1px dashed #cad7da;border-radius:16px;background:#f7faf9}.menu-print-preview>div{display:flex;gap:12px;align-items:center}.menu-print-preview>div>div{display:grid;gap:3px}.menu-print-preview small{color:#687386}.menu-print-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#132238;color:#fff;font-size:22px}.menu-print-preview ul{padding-left:19px;margin:16px 0 0;color:#607083;font-size:12px;line-height:1.8}.menu-print-card .settings-save{width:100%}
.marketing-location-card{grid-column:1/-1}.marketing-location-recommendation{margin:18px 0;padding:14px 16px;border:1px solid #cfe8e5;border-radius:14px;background:#f2fbfa;display:grid;gap:4px}.marketing-location-recommendation strong{color:#087e78}.marketing-location-recommendation span{color:#607083;font-size:12px;line-height:1.55}.marketing-location-controls{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(200px,1fr) minmax(190px,.9fr) auto;gap:12px;align-items:end}.marketing-location-controls label{display:grid;gap:6px}.marketing-location-controls label>span{font-size:11px;font-weight:800;color:#526174}.marketing-location-controls select{width:100%;min-height:43px;border:1px solid #d6dfe2;border-radius:11px;background:#fff;color:#132238;padding:9px 11px}.marketing-location-controls .settings-save{min-height:43px;white-space:nowrap}.marketing-location-summary{margin-top:14px;padding-top:13px;border-top:1px solid #edf0f1;display:flex;justify-content:space-between;gap:18px;align-items:center}.marketing-location-summary strong{font-size:12px}.marketing-location-summary span{font-size:11px;color:#7b8795;text-align:right;max-width:680px}@media(max-width:980px){.marketing-location-controls{grid-template-columns:1fr 1fr}.marketing-location-controls .settings-save{grid-column:1/-1}.marketing-location-summary{align-items:flex-start;flex-direction:column}.marketing-location-summary span{text-align:left}}@media(max-width:620px){.marketing-location-controls{grid-template-columns:1fr}}
@media(max-width:1050px){.marketing-grid{grid-template-columns:1fr}}@media(max-width:650px){.marketing-qr-layout{grid-template-columns:1fr}.marketing-qr-preview{width:min(100%,280px);height:auto;aspect-ratio:1;margin:auto}.marketing-link-row{grid-template-columns:1fr}.marketing-link-row button{padding:11px}.marketing-actions{display:grid}.marketing-actions button{width:100%}}

/* v41 · Perfil público completo del establecimiento */
.public-establishment-badge.is-open{background:#e8f8f3;color:#087d6f}.public-establishment-badge.is-closed{background:#fff0ed;color:#a33b2d}.public-establishment-badge.is-unknown{background:#f1f4f5;color:#66737d}.directory-logo-image{object-fit:contain!important;padding:26px;background:#fff}.status-chip.is-closed{background:#fff0ed;border-color:#f0c1ba;color:#a33b2d}.status-chip.is-closed i{background:#d34d3e;box-shadow:0 0 0 4px #d34d3e20}.storefront-contact-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 0}.storefront-contact-actions a{display:inline-flex;align-items:center;border:1px solid #d8e2e3;border-radius:999px;background:#fff;color:#17665f;padding:8px 12px;font-size:12px;font-weight:800;text-decoration:none}.storefront-contact-actions a:hover{border-color:#9bcfc9;background:#f4fbfa}
.profile-public-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;margin-bottom:20px}.profile-images-card,.profile-data-card,.profile-service-card,.profile-hours-card{margin:0}.profile-image-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:18px;margin-top:18px}.profile-image-block{display:grid;gap:10px}.profile-image-block>strong{font-size:13px}.profile-image-preview{border:1px dashed #cad7da;border-radius:16px;background:#f8fbfb;display:grid;place-items:center;align-content:center;gap:7px;overflow:hidden;color:#7a8791;min-height:220px}.profile-image-preview.cover{aspect-ratio:16/9}.profile-image-preview.logo{aspect-ratio:1/1;min-height:0}.profile-image-preview.has-image{border-style:solid;background:#fff}.profile-image-preview img{width:100%;height:100%;object-fit:cover;display:block}.profile-image-preview.logo img{object-fit:contain;padding:14px}.profile-image-preview>span{font-size:34px}.profile-image-preview>small{font-size:11px}.profile-image-actions{display:flex;gap:7px;flex-wrap:wrap}.profile-fields{grid-template-columns:1fr 1fr;margin-top:18px}.profile-fields .wide{grid-column:1/-1}.profile-fields textarea{width:100%;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:10px 11px;font:inherit;outline:none;resize:vertical}.profile-service-card{margin-bottom:20px}.profile-service-options{display:grid;grid-template-columns:1.2fr 1.2fr .7fr .7fr;gap:14px;align-items:end;margin-top:18px}.profile-check{min-height:46px;border:1px solid #dce4e6;border-radius:12px;padding:11px 13px;display:flex;align-items:center;gap:9px;font-weight:800;color:#344957}.profile-check input{accent-color:#0daea5}.profile-service-options>label:not(.profile-check){display:grid;gap:6px;color:#526070;font-size:11px;font-weight:800}.profile-minute-field{display:grid;grid-template-columns:1fr auto;border:1px solid #d7dfe3;border-radius:10px;overflow:hidden}.profile-minute-field input{border:0!important;border-radius:0!important}.profile-minute-field b{display:grid;place-items:center;padding:0 10px;background:#f4f7f7;color:#697783;font-size:11px}.profile-opening-hours{display:grid;gap:8px;margin:18px 0}.profile-hour-row{display:grid;grid-template-columns:150px minmax(260px,1fr) 110px;gap:16px;align-items:center;border:1px solid #e0e6e8;border-radius:13px;padding:11px 13px;background:#fbfcfc}.profile-day-toggle{display:flex;align-items:center;gap:9px}.profile-day-toggle input{accent-color:#0daea5}.profile-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-time-pair label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;color:#657481;font-size:11px}.profile-time-pair input{border:1px solid #d7dfe3;border-radius:9px;padding:8px;font:inherit}.profile-time-pair input:disabled{background:#f2f4f5;color:#a0a8ad}.profile-day-closed{text-align:right;color:#72808a;font-size:11px;font-weight:800}.live.closed{background:#fff0ed;color:#a33b2d}.live.closed i{background:#d34d3e}.live.open{background:#e8f8f3;color:#087d6f}
@media(max-width:1100px){.profile-public-grid{grid-template-columns:1fr}.profile-service-options{grid-template-columns:1fr 1fr}.profile-hour-row{grid-template-columns:120px 1fr 90px}}@media(max-width:700px){.profile-image-grid,.profile-fields,.profile-service-options{grid-template-columns:1fr}.profile-fields .wide{grid-column:auto}.profile-hour-row{grid-template-columns:1fr}.profile-time-pair{grid-template-columns:1fr 1fr}.profile-day-closed{text-align:left}.profile-image-actions{display:grid;grid-template-columns:1fr 1fr}.profile-image-actions .catalog-secondary{grid-column:1/-1}.storefront-contact-actions{display:grid}.storefront-contact-actions a{justify-content:center}}
.storefront-hours-details{margin:10px 0 0;max-width:420px;border:1px solid #dce4e6;border-radius:13px;background:#fff;padding:10px 13px}.storefront-hours-details summary{cursor:pointer;color:#315e5a;font-size:12px;font-weight:850}.storefront-hours-details>div{display:grid;gap:5px;margin-top:9px}.storefront-hours-details>div>div{display:flex;justify-content:space-between;gap:14px;color:#687386;font-size:11px}.storefront-hours-details strong{color:#33444d}

/* v41.1 · Estado horario útil y copia rápida de horario */
.public-establishment-badge{white-space:normal;text-align:center;line-height:1.2;max-width:145px}
.public-establishment-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.public-establishment-hours{border:1px solid #cfdbde;background:#fff;color:#315e5a;border-radius:12px;padding:11px 13px;font-weight:800;cursor:pointer}
.public-establishment-hours:hover{border-color:#9bcfc9;background:#f4fbfa}
.directory-hours{border:1px solid #dce4e6;border-radius:12px;background:#f9fbfb;padding:9px 11px;display:grid;gap:4px}
.directory-hours.hidden{display:none}
.directory-hours>div{display:flex;justify-content:space-between;gap:14px;color:#687386;font-size:11px}
.directory-hours strong{color:#33444d}
.profile-day-tools{display:grid;justify-items:end;gap:6px}
.profile-copy-hours{border:1px solid #cfdadd;background:#fff;color:#17665f;border-radius:9px;padding:7px 9px;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}
.profile-copy-hours:hover:not(:disabled){border-color:#8fc8c1;background:#f2fbf9}
.profile-copy-hours:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.profile-day-tools{justify-items:start}.public-establishment-actions{align-items:flex-start;flex-direction:column}.public-establishment-action-buttons{width:100%;justify-content:stretch}.public-establishment-action-buttons button{flex:1}}

/* v41.2 · Estado horario interactivo dentro del establecimiento */
.storefront-status-wrap{position:relative;display:inline-flex;align-items:center}.storefront-status-button{font:inherit;display:inline-flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}.storefront-status-button small{font-size:10px;font-weight:850;opacity:.78}.storefront-status-button:not(.has-hours){cursor:default}.storefront-status-button:disabled{opacity:1}.storefront-hours-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:255px;border:1px solid #dce4e6;border-radius:13px;background:#fff;padding:11px 13px;box-shadow:0 14px 36px rgba(21,37,52,.13)}.storefront-hours-panel>div{display:grid;gap:5px}.storefront-hours-panel>div>div{display:flex;justify-content:space-between;gap:14px;color:#687386;font-size:11px}.storefront-hours-panel strong{color:#33444d}.storefront-hours-panel.is-unavailable{display:none!important}@media(max-width:600px){.storefront-status-wrap{width:100%}.storefront-status-button{width:100%;justify-content:center}.storefront-hours-panel{left:0;right:auto;width:min(100%,310px)}}

/* v42 · zonas, ubicaciones, QR opcional y equipo de servicio */
.fulfillment-location-fields{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fbfb;display:grid;gap:11px}.fulfillment-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fulfillment-location-fields label{display:grid;gap:6px}.fulfillment-location-fields label>span{font-size:12px;font-weight:800;color:#42515c}.fulfillment-location-fields select,.fulfillment-location-fields input,.fulfillment-location-fields textarea{width:100%;border:1px solid #d2dde1;border-radius:10px;padding:11px 12px;background:#fff;font:inherit;box-sizing:border-box}.fulfillment-location-fields textarea{min-height:76px;resize:vertical}.fulfillment-context-help{margin:0;color:#71808d;font-size:11px;line-height:1.45}.fulfillment-option.selected{box-shadow:0 0 0 2px rgba(13,174,165,.18);border-color:#0daea5}.fulfillment-option[disabled]{opacity:.45;cursor:not-allowed}
.service-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.service-kpis article{background:#fff;border:1px solid #e1e7ea;border-radius:14px;padding:15px;display:grid;gap:5px}.service-kpis span{font-size:11px;color:#73808b}.service-kpis strong{font-size:24px;color:#132238}.service-admin-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;align-items:start}.service-panel{background:#fff;border:1px solid #e1e7ea;border-radius:18px;padding:18px;display:grid;gap:16px}.service-panel-head h2{margin:4px 0;font-size:21px}.service-panel-head p{margin:0;color:#71808d;line-height:1.5}.service-zone-create{display:grid;grid-template-columns:1fr .8fr auto;gap:8px}.service-zone-create input,.service-zone-create select,.service-bulk-create input,.service-bulk-create select,.service-staff-form select{border:1px solid #d4dfe3;border-radius:10px;padding:10px 11px;background:#fff;font:inherit}.service-bulk-create{display:grid;grid-template-columns:1fr 1fr .8fr 80px auto 80px auto;gap:7px;align-items:center;padding:12px;border:1px dashed #cedadd;border-radius:13px;background:#fafcfc}.service-bulk-create>strong{grid-column:1/-1;font-size:12px}.service-bulk-create>span{font-size:11px;color:#71808d;text-align:center}.service-zone-list{display:grid;gap:12px}.service-zone-card{border:1px solid #dfe6e9;border-radius:15px;padding:13px;display:grid;gap:12px}.service-zone-card.inactive{opacity:.65;background:#fafafa}.service-zone-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.service-zone-title{display:flex;gap:10px;align-items:center}.service-zone-icon{width:40px;height:40px;display:grid;place-items:center;background:#eff8f7;border-radius:12px;font-size:20px}.service-zone-title strong{display:block;font-size:15px}.service-zone-title small{display:block;margin-top:3px;color:#77858e}.service-zone-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.service-zone-actions button,.service-point-actions button{border:1px solid #d2dce0;background:#fff;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:750;cursor:pointer}.service-zone-assignment{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:9px 11px;background:#f8fbfb;border-radius:11px}.service-zone-assignment span{font-size:11px;font-weight:800}.service-zone-assignment select{border:1px solid #d4dfe3;border-radius:9px;padding:8px 9px;background:#fff}.service-point-create{display:grid;grid-template-columns:1fr .65fr auto;gap:7px}.service-point-create input{border:1px solid #d4dfe3;border-radius:9px;padding:9px 10px}.service-point-list{display:grid;gap:7px}.service-point-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border-top:1px solid #eef2f3;padding-top:8px}.service-point-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.service-point-meta strong{font-size:12px}.service-point-meta small{font-size:10px;color:#73808b}.service-point-chip{font-size:9px;border-radius:99px;padding:3px 7px;background:#eff8f7;color:#087e78;font-weight:800}.service-point-chip.qr{background:#fff1ed;color:#b94a31}.service-point-actions{display:flex;gap:5px}.service-staff-form{grid-template-columns:1fr 1fr!important}.service-staff-form button{grid-column:1/-1}.courier-admin-role{display:inline-flex;align-items:center;gap:5px;background:#eff8f7;color:#087e78;border-radius:99px;padding:3px 7px;font-size:10px;font-weight:800}.courier-admin-card .courier-admin-avatar{font-size:20px}.service-context-card{width:min(560px,calc(100vw - 30px))}.service-context-card textarea{min-height:75px;border:1px solid #d4dfe3;border-radius:10px;padding:10px;font:inherit;resize:vertical}.order-location-tools{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.order-location-tools button{border:1px solid #d4dfe3;background:#fff;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:800;cursor:pointer}.service-source{font-size:10px;color:#7a8790}.staff-location-button{width:100%;margin-top:8px;border:1px solid #cad8dc;background:#fff;color:#173044;border-radius:10px;padding:9px;font-weight:800;cursor:pointer}
@media(max-width:1100px){.service-admin-grid{grid-template-columns:1fr}.service-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.fulfillment-location-grid{grid-template-columns:1fr}.service-zone-create{grid-template-columns:1fr}.service-bulk-create{grid-template-columns:1fr 1fr}.service-bulk-create>strong{grid-column:1/-1}.service-bulk-create select{grid-column:1/-1}.service-bulk-create button{grid-column:1/-1}.service-staff-form{grid-template-columns:1fr!important}.service-kpis{grid-template-columns:1fr 1fr}.service-zone-head{flex-direction:column}.service-zone-actions{justify-content:flex-start}.service-zone-assignment{grid-template-columns:1fr}.service-point-create{grid-template-columns:1fr}.service-point-row{grid-template-columns:1fr}.service-point-actions{justify-content:flex-start}}
/* v42.0 · retoques equipo y servicio en mesa */
.fulfillment-badge.onsite{background:#eef8ff;color:#276187;border-color:#cfe3f2}.service-staff-inline-edit{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(150px,1fr) auto;gap:7px;margin-top:9px;align-items:center}.service-staff-inline-edit select,.service-staff-inline-edit input{width:100%;box-sizing:border-box;border:1px solid #d4dfe3;border-radius:9px;padding:8px 9px;background:#fff;font:inherit;font-size:11px}.service-staff-inline-edit button,.courier-secondary{border:1px solid #cad8dc;background:#fff;color:#173044;border-radius:10px;padding:9px 11px;font-weight:800;cursor:pointer}.courier-onsite-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.courier-task.onsite-task .courier-task-top>strong{background:#eef8ff;color:#276187}.courier-task.onsite-task .courier-destination{background:#f4faff}
@media(max-width:700px){.service-staff-inline-edit{grid-template-columns:1fr}.courier-onsite-actions{grid-template-columns:1fr}.courier-secondary{width:100%}}
.fulfillment-staff-assign{display:flex!important;align-items:flex-start;gap:10px;border:1px dashed #c8d8dc;border-radius:11px;background:#fff;padding:10px 11px;cursor:pointer}.fulfillment-staff-assign input{width:auto!important;margin-top:2px}.fulfillment-staff-assign>span{display:grid;gap:2px}.fulfillment-staff-assign strong{font-size:12px;color:#173044}.fulfillment-staff-assign small{font-size:10px;color:#71808d;line-height:1.4}
.service-mode-note{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:13px 15px;border:1px solid #cfe3df;border-radius:13px;background:#f3fbf9;color:#315e5a}.service-mode-note strong{white-space:nowrap;font-size:12px}.service-mode-note span{font-size:11px;line-height:1.45;color:#5f7473}@media(max-width:700px){.service-mode-note{display:grid}.service-mode-note strong{white-space:normal}}


/* v42.1 · responsable visible para el cliente */
.hero-service-attendant{margin-top:2px!important;color:#0a8f86!important;font-weight:800!important;font-size:11px!important}
.fulfillment-attendant-hint{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#eef9f7;border:1px solid #cfeae6;color:#2d5e5a;font-size:12px;font-weight:700}
.fulfillment-attendant-hint strong{color:#132238}

/* v43 · Entrega a domicilio: zonas, costes y reparto */
.delivery-zone-panel{margin-top:18px;background:#fff;border:1px solid #dde5e8;border-radius:18px;padding:18px}.delivery-zone-create{display:grid;grid-template-columns:1.2fr .65fr .8fr .38fr auto .38fr auto 1fr auto;gap:8px;align-items:center;margin-top:14px}.delivery-zone-create input,.delivery-zone-create select{border:1px solid #d8e1e4;border-radius:10px;padding:10px 11px;font:inherit;min-width:0}.delivery-zone-list{display:grid;gap:10px;margin-top:14px}.delivery-zone-row{border:1px solid #e0e7ea;border-radius:14px;padding:13px;display:grid;grid-template-columns:1.2fr .55fr .65fr .6fr 1fr auto;gap:10px;align-items:center}.delivery-zone-row.inactive{opacity:.62;background:#fafafa}.delivery-zone-row>div{display:grid;gap:3px}.delivery-zone-row small{color:#76838d}.delivery-zone-row input,.delivery-zone-row select{border:1px solid #d7e0e3;border-radius:9px;padding:9px;font:inherit;min-width:0}.delivery-zone-actions{display:flex!important;gap:6px;flex-wrap:wrap}.delivery-zone-actions button{border:1px solid #d4dde1;background:#fff;border-radius:9px;padding:8px 10px;font-weight:750;cursor:pointer}.delivery-zone-actions button.primary{background:#132238;color:#fff;border-color:#132238}.delivery-zone-summary{border:1px solid #dce5e8;border-radius:12px;padding:10px 12px;background:#f7fbfb;font-size:12px;line-height:1.45;color:#4d5b65;align-self:end}.delivery-zone-summary strong{color:#132238}.delivery-fee-free{color:#087e78;font-weight:800}.delivery-fee-paid{color:#b04d2f;font-weight:800}
@media(max-width:1150px){.delivery-zone-create{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-zone-create>span{display:none}.delivery-zone-row{grid-template-columns:1fr 1fr 1fr}.delivery-zone-actions{grid-column:1/-1}}
@media(max-width:700px){.delivery-zone-create,.delivery-zone-row{grid-template-columns:1fr}.delivery-zone-actions{grid-column:auto}}

/* v43.1 · Seguimiento dinámico de entrega y ETA del repartidor */
.courier-route-actions{display:grid;gap:10px;margin-top:13px}.courier-eta-panel{border:1px solid #d6e5e5;background:#f6fbfb;border-radius:13px;padding:11px;display:grid;gap:9px}.courier-eta-panel>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.courier-eta-panel strong{font-size:12px;color:#173044}.courier-eta-panel span{font-size:10px;color:#6f7e88}.courier-eta-buttons{display:flex;gap:6px;flex-wrap:wrap}.courier-eta-buttons button{border:1px solid #cbdadd;background:#fff;color:#173044;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}.courier-eta-buttons button.active{background:#e3f7f4;border-color:#0daea5;color:#087d75}.courier-eta-buttons button:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){.courier-eta-panel>div:first-child{display:grid}.courier-eta-buttons button{flex:1 1 calc(33.333% - 6px)}}

/* v44 · Centro de notificaciones en tiempo real */
.notification-button{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid #d7e0e3;background:#fff;border-radius:13px;cursor:pointer;font-size:19px;color:#152234;box-shadow:0 5px 16px rgba(21,34,52,.06)}
.notification-button:hover{border-color:#0daea5;background:#f5fbfa}.notification-button>b{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#ff5a36;color:#fff;font-size:10px;line-height:1;font-weight:900;border:2px solid #fff}.notification-button>b:empty,.notification-button>b[data-empty="1"]{display:none}.dashboard-head-actions,.courier-head-actions{display:flex;align-items:center;gap:10px}.dashboard-head-actions .notification-button,.courier-head-actions .notification-button{flex:none}
.notification-backdrop{position:fixed;inset:0;background:rgba(18,31,43,.22);z-index:1390}.notification-drawer{position:fixed;right:0;top:0;bottom:0;width:min(430px,100vw);background:#fff;z-index:1400;box-shadow:-18px 0 55px rgba(18,31,43,.18);padding:22px;display:flex;flex-direction:column;gap:14px}.notification-drawer.hidden,.notification-backdrop.hidden{display:none!important}.notification-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e4eaec;padding-bottom:14px}.notification-drawer-head h2{margin:3px 0 0;font-size:28px}.notification-drawer-head>button{width:38px;height:38px;border:0;border-radius:50%;background:#f0f3f4;color:#152234;font-size:25px;cursor:pointer}.notification-drawer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#687386;font-size:12px}.notification-drawer-toolbar button{border:0;background:transparent;color:#0b8f88;font-weight:800;cursor:pointer}.notification-list{overflow:auto;display:grid;gap:9px;padding:2px 2px 20px}.notification-item{border:1px solid #e0e7e9;border-radius:15px;padding:13px;display:grid;grid-template-columns:38px 1fr;gap:11px;background:#fff;cursor:pointer}.notification-item.unread{border-color:#b9e7e2;background:#f3fbfa}.notification-item-icon{width:38px;height:38px;border-radius:12px;background:#eef7f6;display:grid;place-items:center;font-size:19px}.notification-item-content{min-width:0}.notification-item-content strong{display:block;font-size:13px;color:#152234;margin-bottom:3px}.notification-item-content p{margin:0;color:#65727c;font-size:12px;line-height:1.4}.notification-item-content time{display:block;margin-top:5px;color:#9aa5ad;font-size:10px}.notification-empty{border:1px dashed #d9e2e5;border-radius:15px;padding:24px;text-align:center;color:#78858e;font-size:13px}.notification-pulse{animation:notificationPulse .65s ease 1}@keyframes notificationPulse{0%{transform:scale(1)}45%{transform:scale(1.13)}100%{transform:scale(1)}}
@media(max-width:600px){.notification-button{width:38px;height:38px}.customer-notification-button{margin-left:auto}.notification-drawer{padding:18px;width:100vw}.notification-drawer-head h2{font-size:24px}.topbar-actions{gap:6px}.courier-head-actions{align-items:flex-end;flex-direction:column}.dashboard-head-actions{align-items:flex-end;flex-direction:column}}
.dashboard-notification-nav{display:flex!important;align-items:center;justify-content:space-between}.dashboard-notification-nav>b{min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#ff5a36;color:#fff;font-size:10px}.dashboard-notification-nav>b[data-empty="1"]{display:none}
/* v45 · Push web */
.notification-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.notification-drawer-toolbar .push-toggle{border:1px solid #b8ded9;background:#eef9f7;color:#087e78;border-radius:9px;padding:7px 10px;font-weight:850}.notification-drawer-toolbar .push-toggle.is-active{background:#0b8f88;color:#fff;border-color:#0b8f88}.notification-drawer-toolbar .push-toggle:disabled{opacity:.55;cursor:not-allowed}.push-help{font-size:11px;color:#7b878e;line-height:1.4;margin:-5px 0 3px}
@media(max-width:600px){.notification-drawer-toolbar{align-items:flex-start;flex-direction:column}.notification-toolbar-actions{width:100%;justify-content:space-between}}

/* v45.1 · sonido desbloqueable + cabecera móvil robusta */
.notification-drawer-toolbar .sound-test{border:1px solid #d8e1e4;background:#fff;color:#173044;border-radius:9px;padding:7px 10px;font-weight:850}
@media(max-width:700px){
  .topbar{height:66px;padding:0 8px;gap:6px;overflow:visible}
  .topbar>.brand{min-width:0;flex:1 1 auto;gap:6px;font-size:14px}
  .topbar>.brand .brand-mark{flex:none}
  .topbar-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto;min-width:0;overflow:visible}
  .topbar-actions .notification-button{width:38px;height:38px;flex:0 0 38px}
  .topbar-actions .account-button{width:38px;height:38px;min-width:38px;max-width:38px;padding:0;display:grid;place-items:center;border-radius:12px;overflow:hidden;flex:0 0 38px}
  .topbar-actions .account-button span,.topbar-actions .account-button small{display:none!important}
  .topbar-actions .account-button::before{content:'👤';font-size:18px;line-height:1}
  .topbar-actions .tracking-button{width:42px;height:38px;min-width:42px;padding:0 4px;justify-content:center;gap:2px;flex:0 0 42px;border-radius:12px}
  .topbar-actions .tracking-button span{display:none!important}
  .topbar-actions .tracking-button::before{content:'📋';font-size:15px}
  .topbar-actions .tracking-button b{min-width:18px;height:18px;padding:0 4px;font-size:9px}
  .topbar-actions .cart-button{width:44px;height:38px;min-width:44px;padding:0 4px;justify-content:center;gap:2px;flex:0 0 44px;border-radius:12px}
  .topbar-actions .cart-button span{display:none!important}
  .topbar-actions .cart-button::before{content:'🛒';font-size:15px}
  .topbar-actions .cart-button b{width:18px;height:18px;min-width:18px;font-size:9px}
}
@media(max-width:430px){
  .topbar>.brand>span:last-child{display:none}
  .topbar>.brand{flex:1 1 auto}
}

/* v46.0 · Cuentas, saldos y recomendaciones */
.account-hub{margin:18px 0 24px}.account-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.account-hub-head h2{margin:4px 0 0}.account-hub-head button,.courier-identity-actions button{border:1px solid #d9e1e4;background:#fff;color:#173044;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.courier-identity-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.account-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.account-balance-grid article{background:#fff;border:1px solid #e0e6e8;border-radius:16px;padding:16px;display:grid;gap:5px}.account-balance-grid span{font-size:11px;text-transform:uppercase;letter-spacing:.7px;font-weight:850;color:#74808a}.account-balance-grid strong{font-size:23px;color:#152234}.account-balance-grid small{color:#7b8794;line-height:1.35}.account-share-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dfe7e9;background:linear-gradient(135deg,#f2fbfa,#fff8f2);border-radius:16px;padding:16px;margin:14px 0}.account-share-card>div{display:grid;gap:4px}.account-share-card span{font-size:11px;text-transform:uppercase;font-weight:850;letter-spacing:.7px;color:#687386}.account-share-card strong{font-size:21px;color:#0a817a}.account-share-card small{color:#6f7b84;line-height:1.4}.account-share-card button,.customer-account-actions button{border:0;background:#152234;color:#fff;border-radius:11px;padding:11px 14px;font-weight:850;cursor:pointer;white-space:nowrap}.account-info-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:13px;padding:13px 14px;color:#7b512d;font-size:13px;line-height:1.5}.account-movements{margin-top:18px}.account-movements h3{margin:0 0 10px}.wallet-movement{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf0f2}.wallet-movement>div{display:grid;gap:3px}.wallet-movement span,.wallet-movement small{font-size:11px;color:#7b8794}.wallet-movement>div:last-child{text-align:right}.wallet-movement b{font-size:14px}.customer-account-card{width:min(680px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:0 22px 70px rgba(19,34,44,.26)}#customer-account-modal{display:grid;place-items:center;padding:15px;z-index:1250}#customer-account-modal.hidden{display:none!important}.customer-account-identity{display:flex;align-items:center;gap:12px;margin:12px 0 4px}.customer-account-avatar{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#eff8f7;font-size:24px}.customer-account-identity>div:last-child{display:grid;gap:3px}.customer-account-identity span{color:#7b8794;font-size:12px}.customer-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.customer-account-actions button{background:#eff7f6;color:#0a817a;border:1px solid #cfe8e5}.account-logout-button{width:100%;margin-top:20px;border:1px solid #e3d5d1;background:#fff;color:#9f4938;border-radius:11px;padding:11px;font-weight:850;cursor:pointer}.restaurant-account-share{margin:15px 0}.courier-account-hub{border-top:1px solid #e5eaec;padding-top:18px}
@media(max-width:720px){.account-balance-grid{grid-template-columns:1fr}.account-share-card{align-items:stretch;flex-direction:column}.account-share-card button{width:100%}.customer-account-actions{grid-template-columns:1fr}.customer-account-card{padding:20px 16px}.courier-identity-actions{width:100%;justify-content:stretch}.courier-identity-actions button{flex:1}}

/* v46.1.2 · stock, agotados, vaciar carrito y cancelación */
.cart-clear{width:100%;margin:10px 0 2px;border:1px solid #e6c5bd;background:#fff8f6;color:#a44735;border-radius:11px;padding:10px 12px;font:inherit;font-weight:800;cursor:pointer}.cart-clear:hover{background:#fff0ec}.cart-clear:disabled{opacity:.5;cursor:not-allowed}.stock-label{color:#287464!important;font-weight:700}.menu-stock{display:inline-flex;width:max-content;margin:2px 0 7px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}.menu-stock.low-stock{background:#fff4df;color:#98621d}.menu-stock.sold-out{background:#fff0ec;color:#a44735}.catalog-stock-editor{display:grid;grid-template-columns:1.15fr .8fr 1.15fr .8fr auto;gap:10px;align-items:end;padding:13px;border:1px solid #dce7e4;border-radius:13px;background:#f8fcfb}.catalog-stock-editor>label:not(.catalog-availability){display:grid;gap:6px;color:#526070;font-size:11px;font-weight:800}.catalog-stock-editor input[type="number"]{width:100%;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:10px 11px;font:inherit}.catalog-stock-help{grid-column:1/-1;color:#71808b;font-size:11px;line-height:1.4}.catalog-stock-out{align-self:end;white-space:nowrap}.danger-action{border:1px solid #e6b4aa!important;background:#fff7f5!important;color:#a83c2b!important}.danger-action:hover{background:#ffede9!important}.customer-cancel-actions{border-top:1px solid #eee;padding-top:14px}.customer-order-actions{display:flex;gap:9px;flex-wrap:wrap}.customer-order-actions .danger-action{margin-left:auto}
@media(max-width:900px){.catalog-stock-editor{grid-template-columns:1fr 1fr}.catalog-stock-out{width:100%}.catalog-stock-help{grid-column:1/-1}}
@media(max-width:650px){.catalog-stock-editor{grid-template-columns:1fr}.catalog-stock-help{grid-column:auto}.customer-order-actions .danger-action{margin-left:0}}

/* v46.1.3 · crédito por restaurante y cancelaciones */
.restaurant-credit-payment-info{margin:0 0 16px;padding:14px 15px;border-radius:14px;background:#eef8f7;border:1px solid #c9e8e4;color:#31535a;display:grid;gap:0}.restaurant-credit-payment-info.hidden{display:none!important}.restaurant-credit-payment-info .restaurant-credit-breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid rgba(8,126,120,.10)}.restaurant-credit-payment-info .restaurant-credit-breakdown-row:last-of-type{border-bottom:0}.restaurant-credit-payment-info .restaurant-credit-breakdown-row span{font-size:12px;font-weight:800;color:#57717a}.restaurant-credit-payment-info .restaurant-credit-breakdown-row strong{font-size:15px;color:#31535a;text-align:right}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.highlight strong{font-size:19px;color:#087e78}.restaurant-credit-payment-info p{margin:10px 0 4px;line-height:1.4;font-weight:700}.restaurant-credit-payment-info small{margin:0;line-height:1.4;color:#6e7f86}.restaurant-credit-payment-info.credit-applied{border-color:#9fd6d1}.payment-options.credit-covered{opacity:.45;pointer-events:none}.payment-options.credit-pending{opacity:.45;pointer-events:none}.restaurant-credit-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf0f2}.restaurant-credit-row>div{display:grid;gap:3px}.restaurant-credit-row span{font-size:11px;color:#7b8794}.restaurant-credit-row b{font-size:16px;color:#087e78}.customer-service-notice.cancellation-info{background:#fff0ed;color:#9f4938;border:1px solid #f3cbc2;align-items:flex-start}.customer-service-notice.cancellation-info>div{display:grid;gap:4px}.customer-service-notice.cancellation-info span{color:#7a5b55}.customer-cancellation-detail{background:#fff7f5;border-color:#f2d5cf!important}.cancel-credit-note{display:flex;align-items:center;gap:10px;margin-top:10px;padding:11px 12px;border-radius:11px;background:#eef8f7;color:#31535a}.cancel-credit-note strong{font-size:18px;color:#087e78}.cancel-credit-note span{font-size:12px;line-height:1.4}

/* v46.1.3 · Cancelación informada y crédito ligado al restaurante */
.restaurant-cancel-card{width:min(610px,calc(100vw - 34px))}
.restaurant-cancel-card textarea{min-height:92px;resize:vertical}
.restaurant-cancel-warning{margin:14px 0 4px;padding:14px 16px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;color:#74401f;line-height:1.45}
.restaurant-cancel-warning strong{display:block;margin-bottom:4px;color:#8b3d27}
.restaurant-cancel-warning p{margin:0;font-size:13px}
.restaurant-cancel-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:16px}
.restaurant-cancel-actions>button{min-height:48px;border-radius:13px;font-weight:800}
.restaurant-cancel-actions>#restaurant-cancel-back{border:1px solid #dce3e6;background:#fff;color:#425466}
.restaurant-cancel-actions>.payment-submit{margin:0;background:linear-gradient(90deg,#d84d32,#f06b4c)}
@media(max-width:600px){.restaurant-cancel-actions{grid-template-columns:1fr}.restaurant-cancel-card{width:min(96vw,610px)}}

/* v46.1.3.1 · seguimiento de pedidos cancelados */
.timeline.cancelled{grid-template-columns:minmax(130px,180px);justify-content:flex-start;max-width:220px}
.timeline.cancelled:before{display:none}
.timeline.cancelled>div:not(:first-child){display:none}
.timeline.cancelled .cancelled-step i{border-color:#e25b52;background:#e25b52}
.timeline.cancelled .cancelled-step{color:#a83c35;font-weight:800}
.customer-order-card .timeline.cancelled{margin:20px 0 14px}
.success-card .timeline.cancelled{margin-left:auto;margin-right:auto;justify-content:center}

/* v46.1.3.2 · conciliación de cancelaciones del restaurante */
.delivery-refund-liability{background:#fff8f5!important;border-color:#f1c8bc!important}.delivery-refund-liability strong{color:#b44e39!important}.delivery-refund-liability small{display:block;margin-top:7px;color:#8b6a61;font-size:12px}.delivery-cancelled-section{background:#f5ece9!important}.delivery-card.is-cancelled{border-color:#efc3b8}.delivery-card.is-cancelled .delivery-card-head span{color:#b44e39;font-weight:800}.delivery-cancellation-detail{display:grid;gap:7px;background:#fff3ef;border:1px solid #f1c8bc;border-radius:10px;padding:11px 12px;margin-top:12px;color:#7a4b40;font-size:12px;line-height:1.45}.delivery-complete.delivery-cancelled{background:#fff0ec;color:#b44e39}.delivery-board{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1200px){.delivery-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.delivery-board{grid-template-columns:1fr}}

/* v46.1.3.3 · tablero compacto, cancelaciones primero y conciliación visible */
.delivery-metrics{grid-template-columns:repeat(7,minmax(170px,1fr))!important;overflow-x:auto;align-items:stretch;padding-bottom:6px}
.delivery-metrics>article{min-width:170px}
.delivery-board{grid-template-columns:repeat(6,minmax(230px,1fr))!important;overflow-x:auto;align-items:start;padding-bottom:10px;scrollbar-gutter:stable}
.delivery-board>section{min-width:230px;min-height:285px}
.delivery-cancelled-section{order:-1}
.delivery-list-toggle{width:100%;margin-top:12px;border:1px solid #d4dde3;background:#fff;color:#25384d;border-radius:10px;padding:11px 12px;font-weight:800;cursor:pointer}
.delivery-list-toggle:hover{background:#f7f9fa}
.delivery-card-collapsed{display:none!important}
@media(max-width:900px){
  .delivery-metrics{grid-template-columns:repeat(7,minmax(165px,1fr))!important}
  .delivery-board{grid-template-columns:repeat(6,minmax(250px,1fr))!important}
  .delivery-board>section{min-width:250px}
}

/* === v46.2.0 · Dashboard avanzado del restaurante === */
.business-dashboard-header{align-items:flex-start;gap:24px}.business-dashboard-header h1{margin-bottom:6px}.business-dashboard-header p{margin:0;color:#718093;max-width:650px}.business-range-wrap{display:grid;justify-items:end;gap:10px;max-width:760px}.business-range{flex-wrap:wrap;justify-content:flex-end}.business-range button{padding:9px 13px}.business-custom-range{display:flex;gap:8px;align-items:end;justify-content:flex-end;flex-wrap:wrap}.business-custom-range label{display:grid;gap:4px;color:#738091;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.business-custom-range input{border:1px solid #d9e0e4;border-radius:9px;background:#fff;color:#1d2c40;padding:8px 10px;font:inherit;font-size:12px}.business-custom-range button{border:0;border-radius:9px;background:#16263b;color:#fff;padding:9px 12px;font-size:11px;font-weight:800}.business-period-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-4px 0 13px;padding:0 2px;color:#68778a}.business-period-line span{font-weight:800;color:#27364a}.business-period-line small{font-size:11px}.business-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:14px}.business-kpis article{background:#fff;border:1px solid #dde4e8;border-radius:17px;padding:17px;min-height:118px;box-shadow:0 5px 16px rgba(25,42,58,.025)}.business-kpis article.referral-kpi{background:linear-gradient(145deg,#effbf9,#fff);border-color:#cce9e5}.business-kpis article.credit-kpi{background:#fff8f5;border-color:#f0d7ce}.business-kpis span{display:block;color:#7b8797;font-size:11px;margin-bottom:8px}.business-kpis strong{display:block;color:#102036;font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.business-kpis .referral-kpi strong{color:#078d84}.business-kpis .credit-kpi strong{color:#b74a34}.business-kpis em{display:block;margin-top:7px;color:#5f916e;font-size:10px;font-style:normal;line-height:1.35}.business-accumulated{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dae2e6;border:1px solid #dae2e6;border-radius:17px;overflow:hidden;margin-bottom:16px}.business-accumulated>div{background:#18283e;color:#fff;padding:18px 19px;min-height:104px}.business-accumulated>div.accent{background:linear-gradient(135deg,#067d77,#0daea5)}.business-accumulated span{display:block;color:#99a7b8;font-size:9px;letter-spacing:.08em;font-weight:900}.business-accumulated .accent span{color:#d6fffb}.business-accumulated strong{display:block;margin:8px 0 4px;font-family:Manrope,sans-serif;font-size:23px;font-variant-numeric:tabular-nums}.business-accumulated small{color:#aeb9c6;font-size:10px}.business-accumulated .accent small{color:#d9f6f3}.business-referral-hero{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(500px,1.3fr);gap:24px;align-items:center;border-radius:20px;padding:24px;background:linear-gradient(130deg,#102239 0%,#16344a 60%,#0a7d78 100%);color:#fff;margin-bottom:16px;box-shadow:0 13px 32px rgba(15,37,55,.13)}.business-referral-copy .eyebrow{color:#65e1d8}.business-referral-copy h2{margin:7px 0 8px;font-size:25px;letter-spacing:-.7px}.business-referral-copy p{margin:0;color:#c1cfda;font-size:12px;line-height:1.55;max-width:540px}.business-referral-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.business-referral-stats>div{background:#ffffff12;border:1px solid #ffffff1d;border-radius:14px;padding:14px;min-height:102px}.business-referral-stats span{display:block;color:#c6d7df;font-size:10px}.business-referral-stats strong{display:block;margin:7px 0 3px;font-family:Manrope,sans-serif;font-size:22px;color:#fff;font-variant-numeric:tabular-nums}.business-referral-stats small{display:block;color:#78e1da;font-size:9px;line-height:1.35}.business-two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.business-trend-panel{margin-bottom:16px}.business-trend{min-height:235px}.business-trend .sales-day{grid-template-rows:150px auto auto auto}.business-ranking-list{display:grid;gap:9px}.business-rank-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f2}.business-rank-row:last-child{border-bottom:0}.business-rank-main{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:center}.business-rank-index{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#edf7f6;color:#087f78;font-weight:900;font-size:11px}.business-rank-main strong{display:block;color:#1a293d;font-size:12px}.business-rank-main small{display:block;color:#84909d;font-size:10px;margin-top:2px}.business-rank-value{text-align:right}.business-rank-value strong{display:block;color:#ff5b3d;font-size:12px;font-variant-numeric:tabular-nums}.business-rank-value small{display:block;color:#84909d;font-size:9px;margin-top:2px}.business-panel-description{margin:4px 0 0;color:#7c8997;font-size:11px;line-height:1.4}.business-referrers-panel,.business-referred-panel{margin-bottom:16px}.business-table{min-width:860px}.business-table td{vertical-align:middle}.business-table .money{font-weight:900;color:#0c8b82;white-space:nowrap}.business-table .muted-money{font-weight:800;color:#627287;white-space:nowrap}.business-table .positive{color:#0b8c73;font-weight:800}.business-table .pending{color:#a66b3c;font-weight:800}.business-table .customer-name{display:grid;gap:2px}.business-table .customer-name small{color:#8b96a3}.business-referred-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}.business-referred-head h2{margin:0 0 4px;font-size:20px}.business-referral-tools{display:grid;justify-items:end;gap:8px}.business-referral-tools input{min-width:260px;border:1px solid #d7dfe4;border-radius:10px;padding:10px 12px;font:inherit;color:#18283c;background:#fff;outline:none}.business-referral-tools input:focus{border-color:#0daea5;box-shadow:0 0 0 3px #0daea512}.business-referral-filters{display:inline-flex;background:#f0f3f4;border-radius:999px;padding:3px;gap:2px}.business-referral-filters button{border:0;background:transparent;color:#748092;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.business-referral-filters button.active{background:#fff;color:#112237;box-shadow:0 1px 5px #00000010}.business-status-chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;white-space:nowrap}.business-status-chip.consumed{background:#e8f8f2;color:#18765b}.business-status-chip.pending{background:#fff4e8;color:#9a622f}.business-referred-table-wrap{max-height:560px;overflow:auto}.business-referred-table-wrap thead{position:sticky;top:0;background:#fff;z-index:2}.business-loading{opacity:.6;pointer-events:none}.business-error{border:1px solid #f2d2c9;background:#fff3ef;color:#a14131;border-radius:14px;padding:16px;margin-bottom:16px;font-size:12px}.business-highlight-note{color:#0a8a81!important}.business-cancel-note{color:#a75845!important}
@media(max-width:1320px){.business-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.business-accumulated{grid-template-columns:repeat(2,minmax(0,1fr))}.business-referral-hero{grid-template-columns:1fr}.business-referral-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.business-dashboard-header{flex-direction:column}.business-range-wrap{justify-items:start;max-width:none;width:100%}.business-range{justify-content:flex-start}}
@media(max-width:980px){.business-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.business-two-grid{grid-template-columns:1fr}.business-referral-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.business-referred-head{flex-direction:column}.business-referral-tools{justify-items:start;width:100%}.business-referral-tools input{width:100%;min-width:0}}
@media(max-width:650px){.business-kpis,.business-accumulated{grid-template-columns:1fr}.business-referral-stats{grid-template-columns:1fr 1fr}.business-range{width:100%;display:grid;grid-template-columns:repeat(2,1fr);border-radius:14px}.business-custom-range{width:100%;justify-content:stretch}.business-custom-range label{flex:1;min-width:130px}.business-custom-range input{width:100%}.business-custom-range button{width:100%}.business-period-line{align-items:flex-start;flex-direction:column;gap:3px}.business-referral-hero{padding:19px}.business-referral-copy h2{font-size:21px}.business-referral-stats strong{font-size:19px}}

/* === v46.2.0.1 · Dashboard UX responsive / 100% zoom === */
#sales-dashboard{min-width:0;max-width:100%;overflow-x:hidden;padding:28px clamp(18px,2vw,34px)}
#sales-dashboard>*{min-width:0}
#sales-dashboard .sales-panel,#sales-dashboard .sales-table-wrap,#sales-dashboard .business-two-grid>*{min-width:0;max-width:100%}
.business-dashboard-header{flex-direction:column;align-items:stretch;gap:16px}
.business-dashboard-header>div:first-child{max-width:780px}
.business-range-wrap{width:100%;max-width:none;justify-items:stretch;gap:8px}
.business-range{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));width:100%;padding:4px;border-radius:14px;gap:4px}
.business-range button{min-width:0;padding:9px 8px;white-space:nowrap}
.business-custom-range{width:100%;justify-content:flex-end}
.business-period-line{margin:0 0 10px}
.business-section-nav{position:sticky;top:78px;z-index:12;display:flex;gap:6px;align-items:center;overflow-x:auto;max-width:100%;padding:7px;margin:0 0 14px;border:1px solid #dfe5e8;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 5px 16px rgba(20,36,52,.05);backdrop-filter:blur(8px);scrollbar-width:thin}
.business-section-nav a{flex:0 0 auto;text-decoration:none;color:#607083;font-size:11px;font-weight:800;padding:8px 11px;border-radius:9px;white-space:nowrap}
.business-section-nav a:hover,.business-section-nav a:focus{background:#eaf7f5;color:#087f78;outline:none}
#business-summary,#business-recommendations,#business-evolution,#business-referred-customers,#business-orders-history{scroll-margin-top:140px}
.business-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.business-kpis article{min-width:0;padding:16px;min-height:112px}
.business-kpis strong{font-size:clamp(20px,1.65vw,25px);overflow-wrap:anywhere}
.business-accumulated{grid-template-columns:repeat(4,minmax(0,1fr))}
.business-accumulated>div{min-width:0}
.business-accumulated strong{font-size:clamp(19px,1.45vw,23px);overflow-wrap:anywhere}
.business-referral-hero{grid-template-columns:1fr;gap:17px;padding:22px}
.business-referral-copy{max-width:760px}
.business-referral-stats{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
.business-referral-stats>div{min-width:0;min-height:94px}
.business-trend-panel{overflow:hidden}
.business-trend{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.business-two-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sales-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.business-table{width:100%;min-width:760px}
.business-referred-table-wrap{width:100%;max-width:100%}
.business-referred-head{min-width:0}
.business-referral-tools{min-width:0}
.business-referral-tools input{max-width:100%}
@media(max-width:1450px){
  .business-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
  .business-referral-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1180px){
  .business-kpis,.business-accumulated{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-referral-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-two-grid{grid-template-columns:1fr}
  .business-range{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  #sales-dashboard{padding:20px 13px}
  .business-section-nav{top:68px}
  .business-custom-range{justify-content:stretch}
  .business-custom-range label{flex:1 1 160px}
  .business-custom-range button{flex:1 1 150px}
}
@media(max-width:650px){
  .business-range{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-kpis,.business-accumulated{grid-template-columns:1fr}
  .business-referral-stats{grid-template-columns:1fr 1fr}
  .business-dashboard-header h1{font-size:28px}
  .business-referral-copy h2{font-size:21px}
  .business-section-nav{margin-left:-2px;margin-right:-2px}
}

/* === v46.2.1 · Incentivo adicional del restaurante por recomendaciones === */
.restaurant-referral-bonus-panel{margin-bottom:16px;padding:20px;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f7fcfb 100%);border-color:#cfe8e4}
.restaurant-referral-bonus-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}
.restaurant-referral-bonus-head h2{margin:4px 0 5px;font-size:20px;color:#152234}.restaurant-referral-bonus-head p{margin:0;color:#708090;font-size:11px;line-height:1.5;max-width:760px}
.referral-bonus-switch{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#274054;font-size:11px;font-weight:850;cursor:pointer}
.referral-bonus-switch .switch{position:relative;width:48px;height:27px;flex:none}.referral-bonus-switch .switch input{position:absolute;opacity:0;pointer-events:none}.referral-bonus-switch .switch>span{position:absolute;inset:0;border-radius:999px;background:#d7dee2;transition:.2s ease;box-shadow:inset 0 0 0 1px #c7d0d5}.referral-bonus-switch .switch>span::after{content:'';position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:.2s ease}.referral-bonus-switch .switch input:checked+span{background:#0ca79f;box-shadow:none}.referral-bonus-switch .switch input:checked+span::after{transform:translateX(21px)}
.referral-bonus-status{margin:0 0 15px;padding:10px 12px;border-radius:11px;font-size:11px;line-height:1.45;font-weight:750}.referral-bonus-status.disabled{background:#f2f4f5;color:#6c7986;border:1px solid #e1e6e8}.referral-bonus-status.enabled{background:#eaf9f5;color:#13745f;border:1px solid #bfe9dc}
.restaurant-referral-bonus-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:16px;align-items:start}.referral-bonus-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #dfe8e8;border-radius:15px;background:#fff}.referral-bonus-config label{display:grid;gap:6px;min-width:0;color:#526070;font-size:10px;font-weight:850}.referral-bonus-config label>span{letter-spacing:.01em}.referral-bonus-config input,.referral-bonus-config select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:10px 11px;font:inherit;font-size:12px;outline:none}.referral-bonus-config input:focus,.referral-bonus-config select:focus{border-color:#0ba79f;box-shadow:0 0 0 3px #0ba79f12}.referral-bonus-config small{color:#8a95a1;font-size:9px;font-weight:650}.referral-bonus-config .settings-save{align-self:end;min-height:39px;border:0;border-radius:10px;background:#152234;color:#fff;padding:10px 14px;font-weight:900;cursor:pointer}.referral-bonus-config .settings-save:hover{background:#0e827b}.referral-bonus-config .settings-save:disabled{opacity:.55;cursor:wait}.referral-bonus-config .settings-message{grid-column:1/-1;margin:0;min-height:15px;color:#647385;font-size:10px}.referral-bonus-config .settings-message.success{color:#0b846c}.referral-bonus-config .settings-message.error{color:#aa4939}
.referral-bonus-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.referral-bonus-summary article{min-width:0;border:1px solid #dce7e7;border-radius:14px;background:#f7fbfb;padding:13px;display:grid;gap:5px}.referral-bonus-summary span{color:#697886;font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:900}.referral-bonus-summary strong{font-size:18px;color:#087f78;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.referral-bonus-summary small{color:#84919d;font-size:9px;line-height:1.35}.referral-bonus-explainer{grid-column:1/-1;margin:0;padding:12px 14px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#7d542f;font-size:10px;line-height:1.55}.referral-bonus-explainer strong{color:#664126}
.account-section-help{margin:-4px 0 8px;color:#7c8997;font-size:11px;line-height:1.45}.restaurant-reward-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f2}.restaurant-reward-row:last-child{border-bottom:0}.restaurant-reward-row>div:first-child{display:grid;gap:3px;min-width:0}.restaurant-reward-row strong{color:#1a293d;font-size:13px}.restaurant-reward-row span{color:#758391;font-size:10px;line-height:1.35}.restaurant-reward-amount{text-align:right;display:grid;gap:2px}.restaurant-reward-amount b{color:#078b82;font-size:14px;font-variant-numeric:tabular-nums}.restaurant-reward-amount small{color:#9a6b3b;font-size:9px;white-space:nowrap}
.restaurant-credit-payment-info .restaurant-credit-breakdown-row.reward-source{background:#f0fbf8;margin:0 -7px;padding-left:7px;padding-right:7px}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.reward-source strong{color:#087f78}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.reward-highlight strong{font-size:16px;color:#087f78}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.pending-row{border-bottom:0;padding-top:4px;color:#8a6b45}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.pending-row strong{color:#9a6b3b;font-size:11px}
@media(max-width:1180px){.restaurant-referral-bonus-grid{grid-template-columns:1fr}.referral-bonus-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.restaurant-referral-bonus-head{flex-direction:column}.referral-bonus-switch{align-self:flex-start}.referral-bonus-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.restaurant-referral-bonus-panel{padding:15px}.referral-bonus-config{grid-template-columns:1fr}.referral-bonus-config .settings-message{grid-column:auto}.referral-bonus-summary{grid-template-columns:1fr 1fr}.restaurant-reward-row{grid-template-columns:1fr}.restaurant-reward-amount{text-align:left}}
.customer-referral-restaurant-bonus{display:grid;gap:4px;margin:10px 0 13px;padding:12px 13px;border:1px solid #bfe8dd;border-radius:12px;background:#eaf9f5;color:#285e56}.customer-referral-restaurant-bonus.hidden{display:none!important}.customer-referral-restaurant-bonus strong{font-size:12px;color:#087f78}.customer-referral-restaurant-bonus span{font-size:10px;line-height:1.5;color:#527069}

/* === v46.2.2 · Fidelización financiada por el restaurante === */
#business-loyalty{scroll-margin-top:140px}
.restaurant-loyalty-panel{margin-bottom:16px;padding:20px;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#fbfdfd 58%,#f4fbfa 100%);border-color:#d7e5e4}
.restaurant-loyalty-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}
.restaurant-loyalty-head h2{margin:4px 0 5px;font-size:20px;color:#152234}.restaurant-loyalty-head p{margin:0;color:#708090;font-size:11px;line-height:1.5;max-width:850px}
.restaurant-loyalty-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:16px;align-items:start}
.loyalty-rule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.loyalty-rule-card{min-width:0;border:1px solid #dfe8e8;border-radius:15px;background:#fff;padding:14px;box-shadow:0 3px 12px rgba(22,47,56,.025)}
.loyalty-rule-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.loyalty-rule-title>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;row-gap:2px;min-width:0}.loyalty-rule-title strong{grid-column:2;font-size:13px;color:#172638}.loyalty-rule-title small{grid-column:2;color:#7b8996;font-size:9px;line-height:1.45}.loyalty-rule-icon{grid-row:1/3;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eaf8f6;color:#087f78;font-size:13px;font-weight:950}
.loyalty-rule-title>.switch{position:relative;width:42px;height:24px;flex:none}.loyalty-rule-title>.switch input{position:absolute;opacity:0;pointer-events:none}.loyalty-rule-title>.switch>span{position:absolute;inset:0;border-radius:999px;background:#d7dee2;transition:.2s ease}.loyalty-rule-title>.switch>span::after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:.2s ease}.loyalty-rule-title>.switch input:checked+span{background:#0ca79f}.loyalty-rule-title>.switch input:checked+span::after{transform:translateX(18px)}
.loyalty-rule-fields{display:grid;gap:9px}.loyalty-rule-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.loyalty-rule-fields.campaign-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.loyalty-rule-fields label{display:grid;gap:5px;min-width:0;color:#5f6d7b;font-size:9px;font-weight:850}.loyalty-rule-fields input,.loyalty-rule-sentence input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:9px;background:#fff;color:#152234;padding:9px 10px;font:inherit;font-size:11px;outline:none}.loyalty-rule-fields input:focus,.loyalty-rule-sentence input:focus{border-color:#0ba79f;box-shadow:0 0 0 3px #0ba79f12}.loyalty-rule-fields small{color:#8a95a1;font-size:8px;font-weight:650}
.loyalty-rule-sentence{display:grid;grid-template-columns:auto minmax(90px,1fr) auto minmax(90px,1fr) auto;gap:7px;align-items:center;color:#5f6d7b;font-size:10px;font-weight:800}.loyalty-rule-sentence span{white-space:nowrap}
.loyalty-save-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:12px;align-items:center}.loyalty-save-row .settings-save{min-height:41px;border:0;border-radius:10px;background:#152234;color:#fff;padding:10px 15px;font-weight:900;cursor:pointer}.loyalty-save-row .settings-save:hover{background:#0e827b}.loyalty-save-row .settings-save:disabled{opacity:.55;cursor:wait}.loyalty-save-row .settings-message{margin:0;min-height:15px;color:#647385;font-size:10px}.loyalty-save-row .settings-message.success{color:#0b846c}.loyalty-save-row .settings-message.error{color:#aa4939}
.loyalty-summary-wrap{display:grid;gap:10px;min-width:0}.loyalty-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.loyalty-origin-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loyalty-origin-summary>div{border:1px solid #e0e8e8;border-radius:11px;background:#fff;padding:10px;display:grid;gap:4px}.loyalty-origin-summary span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#75838f;font-weight:900}.loyalty-origin-summary strong{font-size:13px;color:#087f78;font-variant-numeric:tabular-nums}.loyalty-explainer{margin-top:14px}
.restaurant-reward-split{display:flex!important;flex-wrap:wrap;gap:5px!important;margin-top:2px}.restaurant-reward-pill{display:inline-flex!important;width:max-content;padding:3px 6px;border-radius:999px;background:#eef7f6;color:#38726c!important;font-size:9px!important;font-weight:800}.restaurant-reward-pill.loyalty{background:#fff4e8;color:#8d6233!important}.restaurant-loyalty-progress{display:grid!important;gap:3px!important;margin-top:5px}.restaurant-loyalty-progress small{white-space:normal!important;color:#71808c!important;line-height:1.35}.restaurant-reward-amount .reward-pending-detail{white-space:normal;text-align:right}
.restaurant-credit-payment-info .restaurant-credit-breakdown-row.loyalty-source{background:#fff8ef;margin:0 -7px;padding-left:7px;padding-right:7px}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.loyalty-source strong{color:#9a6730}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.referral-source{background:#f0fbf8;margin:0 -7px;padding-left:7px;padding-right:7px}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.referral-source strong{color:#087f78}
@media(max-width:1300px){.restaurant-loyalty-grid{grid-template-columns:1fr}.loyalty-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.loyalty-origin-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.loyalty-rule-list{grid-template-columns:1fr}.loyalty-rule-fields.three,.loyalty-rule-fields.campaign-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.loyalty-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.loyalty-origin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.restaurant-loyalty-panel{padding:15px}.restaurant-loyalty-head{flex-direction:column}.loyalty-rule-fields.three,.loyalty-rule-fields.campaign-fields{grid-template-columns:1fr}.loyalty-rule-sentence{grid-template-columns:1fr 1fr}.loyalty-rule-sentence span{white-space:normal}.loyalty-save-row{grid-template-columns:1fr}.loyalty-summary,.loyalty-origin-summary{grid-template-columns:1fr 1fr}}

/* === v46.2.3 · ROI de fidelización y crecimiento === */
#business-loyalty-roi{scroll-margin-top:140px}
.loyalty-roi-panel{margin-bottom:16px;padding:20px;background:linear-gradient(145deg,#fff 0%,#f8fcfb 100%);border-color:#d8e5e4;overflow:hidden}
.loyalty-roi-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.loyalty-roi-head h2{margin:4px 0 5px;font-size:21px;color:#152234}.loyalty-roi-head p{margin:0;max-width:900px;color:#708090;font-size:11px;line-height:1.5}.loyalty-roi-period{flex:none;border-radius:999px;background:#eef7f6;color:#24756f;padding:7px 10px;font-size:9px;font-weight:900}
.loyalty-roi-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:12px;margin-bottom:12px;border-radius:17px;background:linear-gradient(125deg,#13263c 0%,#16455a 62%,#0b9e95 100%);padding:18px;color:#fff}.loyalty-roi-message{display:grid;align-content:center;gap:6px}.loyalty-roi-message>span{color:#67e4db;font-size:9px;font-weight:950;letter-spacing:.08em}.loyalty-roi-message strong{font-family:Manrope,sans-serif;font-size:20px;line-height:1.3;letter-spacing:-.3px}.loyalty-roi-message small{color:#c8d8df;font-size:10px;line-height:1.45}.loyalty-roi-score{display:grid;align-content:center;justify-items:end;text-align:right;border-left:1px solid #ffffff28;padding-left:18px}.loyalty-roi-score span{color:#c5d9df;font-size:9px}.loyalty-roi-score strong{font-family:Manrope,sans-serif;font-size:34px;line-height:1.15;color:#fff;font-variant-numeric:tabular-nums}.loyalty-roi-score small{color:#7de7df;font-size:9px;margin-top:3px}
.loyalty-roi-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:10px}.loyalty-roi-kpis article{min-width:0;border:1px solid #dfe8e8;border-radius:13px;background:#fff;padding:12px;display:grid;gap:5px}.loyalty-roi-kpis article.accent{background:#effaf8;border-color:#bfe7e2}.loyalty-roi-kpis span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#74828e;font-weight:900}.loyalty-roi-kpis strong{font-size:16px;color:#102238;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.loyalty-roi-kpis article.accent strong{color:#078c83}.loyalty-roi-kpis small{font-size:8px;line-height:1.4;color:#8995a0}
.loyalty-roi-secondary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:#dfe6e9;border:1px solid #dfe6e9;border-radius:13px;overflow:hidden;margin-bottom:10px}.loyalty-roi-secondary>div{min-width:0;background:#f8fafb;padding:11px 12px;display:grid;gap:4px}.loyalty-roi-secondary span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#75838f;font-weight:900}.loyalty-roi-secondary strong{font-size:14px;color:#173047;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.loyalty-roi-secondary small{font-size:8px;line-height:1.35;color:#7f8d98}.loyalty-roi-note{display:flex;gap:5px;padding:11px 13px;border-radius:11px;background:#fff7ed;border:1px solid #fed7aa;color:#7d542f;font-size:9px;line-height:1.5}.loyalty-roi-note strong{color:#674126;white-space:nowrap}
@media(max-width:1350px){.loyalty-roi-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.loyalty-roi-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.loyalty-roi-head{flex-direction:column}.loyalty-roi-hero{grid-template-columns:1fr}.loyalty-roi-score{justify-items:start;text-align:left;border-left:0;border-top:1px solid #ffffff28;padding:12px 0 0}.loyalty-roi-kpis,.loyalty-roi-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.loyalty-roi-panel{padding:15px}.loyalty-roi-kpis,.loyalty-roi-secondary{grid-template-columns:1fr}.loyalty-roi-note{display:grid}.loyalty-roi-note strong{white-space:normal}}

/* === v46.3.0 · Impacto total RestaurantEnTuMano === */
#business-growth-impact{scroll-margin-top:140px}
.growth-impact-panel{margin-bottom:16px;padding:20px;background:linear-gradient(145deg,#fff 0%,#f7fbfb 100%);border-color:#d6e5e4;overflow:hidden}
.growth-impact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.growth-impact-head h2{margin:4px 0 5px;font-size:21px;color:#152234}.growth-impact-head p{margin:0;max-width:900px;color:#708090;font-size:11px;line-height:1.5}.growth-impact-period{flex:none;border-radius:999px;background:#eef7f6;color:#24756f;padding:7px 10px;font-size:9px;font-weight:900}
.growth-impact-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:12px;margin-bottom:10px;border-radius:17px;background:linear-gradient(118deg,#12243a 0%,#17435a 56%,#0b9e95 100%);padding:18px;color:#fff}.growth-impact-main{display:grid;align-content:center;gap:5px}.growth-impact-main>span{font-size:9px;font-weight:950;letter-spacing:.08em;color:#69e7de}.growth-impact-main>strong{font-family:Manrope,sans-serif;font-size:28px;line-height:1.15;letter-spacing:-.5px}.growth-impact-main>small{max-width:900px;font-size:10px;line-height:1.45;color:#c8d9df}.growth-impact-share{display:grid;align-content:center;justify-items:end;text-align:right;border-left:1px solid #ffffff28;padding-left:18px}.growth-impact-share span{font-size:9px;color:#c5d9df}.growth-impact-share strong{font-family:Manrope,sans-serif;font-size:34px;line-height:1.1;color:#fff}.growth-impact-share small{font-size:9px;color:#7de7df;margin-top:4px}
.growth-impact-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:10px}.growth-impact-kpis article{min-width:0;border:1px solid #dfe8e8;border-radius:13px;background:#fff;padding:12px;display:grid;gap:5px}.growth-impact-kpis article.accent{background:#effaf8;border-color:#bfe7e2}.growth-impact-kpis span,.growth-impact-channels span,.growth-impact-accumulated span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#74828e;font-weight:900}.growth-impact-kpis strong{font-size:16px;color:#102238;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.growth-impact-kpis article.accent strong{color:#078c83}.growth-impact-kpis small{font-size:8px;line-height:1.4;color:#8995a0}
.growth-impact-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:10px}.growth-impact-channels article{min-width:0;border-radius:14px;padding:14px;border:1px solid #dbe7e7;background:#f9fbfb;display:grid;gap:5px}.growth-impact-channels article:nth-child(1){background:#f3f8ff;border-color:#d6e3f3}.growth-impact-channels article:nth-child(2){background:#effaf8;border-color:#c8e9e4}.growth-impact-channels article.overlap{background:#fff8ee;border-color:#f2dcc0}.growth-impact-channels strong{font-size:18px;color:#13273c;font-variant-numeric:tabular-nums}.growth-impact-channels article:nth-child(2) strong{color:#078c83}.growth-impact-channels small{font-size:9px;line-height:1.4;color:#768691}
.growth-impact-accumulated{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dfe6e9;border:1px solid #dfe6e9;border-radius:13px;overflow:hidden;margin-bottom:10px}.growth-impact-accumulated>div{min-width:0;background:#f8fafb;padding:11px 12px;display:grid;gap:4px}.growth-impact-accumulated strong{font-size:14px;color:#173047;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.growth-impact-accumulated small{font-size:8px;color:#7f8d98;line-height:1.35}.growth-impact-note{display:flex;gap:5px;padding:10px 12px;border-radius:11px;background:#fff7ed;border:1px solid #fed7aa;color:#7d542f;font-size:9px;line-height:1.5}.growth-impact-note strong{color:#674126;white-space:nowrap}
@media(max-width:1350px){.growth-impact-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-impact-accumulated{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.growth-impact-head{flex-direction:column}.growth-impact-hero{grid-template-columns:1fr}.growth-impact-share{justify-items:start;text-align:left;border-left:0;border-top:1px solid #ffffff28;padding:12px 0 0}.growth-impact-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-impact-channels{grid-template-columns:1fr}}
@media(max-width:600px){.growth-impact-panel{padding:15px}.growth-impact-kpis,.growth-impact-accumulated{grid-template-columns:1fr}.growth-impact-note{display:grid}.growth-impact-note strong{white-space:normal}}


/* v46.3.0 · CRM del restaurante */
.crm-dashboard-header{align-items:flex-end}.crm-refresh-wrap{display:flex;align-items:center;gap:10px;color:#7a8794;font-size:10px}.crm-refresh-wrap button{border:0;border-radius:10px;background:#15263b;color:#fff;padding:10px 14px;font-weight:900;cursor:pointer}.crm-refresh-wrap button:hover{background:#0b8f87}
.crm-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.crm-kpis article{min-width:0;border:1px solid #dbe4e7;border-radius:15px;background:#fff;padding:14px;display:grid;gap:5px}.crm-kpis span{font-size:8px;text-transform:uppercase;letter-spacing:.045em;color:#768491;font-weight:900}.crm-kpis strong{font-family:Manrope,sans-serif;font-size:22px;color:#13233a;overflow-wrap:anywhere}.crm-kpis small{font-size:8px;line-height:1.4;color:#81909c}.crm-kpis article.vip{background:#f5f2ff;border-color:#ded5fa}.crm-kpis article.vip strong{color:#6848a8}.crm-kpis article.risk{background:#fff7f2;border-color:#f4d4c6}.crm-kpis article.risk strong{color:#b9533c}.crm-kpis article.advocate{background:#effaf8;border-color:#bee8df}.crm-kpis article.advocate strong{color:#078c83}
.crm-insights-panel{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.6fr);gap:18px;margin-bottom:14px;padding:20px;border-radius:18px;background:linear-gradient(125deg,#13263d 0%,#16465a 58%,#0b978f 100%);color:#fff}.crm-insights-copy{display:grid;align-content:center;gap:6px}.crm-insights-copy .eyebrow{color:#66e1d8}.crm-insights-copy h2{margin:0;font-size:21px}.crm-insights-copy p{margin:0;color:#cad9df;font-size:10px;line-height:1.55;max-width:620px}.crm-insights-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.crm-insights-grid article{min-width:0;border:1px solid #ffffff20;border-radius:13px;background:#ffffff0d;padding:12px;display:grid;gap:5px}.crm-insights-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#bed1d8;font-weight:900}.crm-insights-grid strong{font-size:18px;color:#fff;overflow-wrap:anywhere}.crm-insights-grid small{font-size:8px;line-height:1.35;color:#8fe5de}
.crm-list-panel{padding:18px;margin-bottom:14px}.crm-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:10px}.crm-list-head h2{margin:3px 0 4px;font-size:20px}.crm-list-head p{margin:0;color:#758390;font-size:10px}.crm-tools{display:flex;gap:8px;min-width:min(520px,45%)}.crm-tools input,.crm-tools select{min-width:0;border:1px solid #d8e1e5;border-radius:10px;background:#fff;padding:9px 11px;font:inherit;font-size:10px}.crm-tools input{flex:1}.crm-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}.crm-filters button{border:1px solid #dce5e7;border-radius:999px;background:#f7f9fa;color:#657483;padding:7px 11px;font-size:9px;font-weight:850;cursor:pointer}.crm-filters button.active{background:#15263b;border-color:#15263b;color:#fff}.crm-table-wrap{max-width:100%;overflow:auto}.crm-table{min-width:1120px}.crm-table td{vertical-align:middle}.crm-table td small{display:block;color:#8a96a1;font-size:8px;margin-top:3px}.crm-customer-link{display:grid;gap:2px;text-align:left;border:0;background:none;padding:0;color:#17263b;cursor:pointer}.crm-customer-link strong{font-size:11px}.crm-customer-link small{font-size:8px;color:#80909d}.crm-money{color:#087f78}.crm-badges,.crm-detail-badges{display:flex;gap:4px;flex-wrap:wrap}.crm-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:7px;font-weight:900;white-space:nowrap;background:#eef3f5;color:#556572}.crm-badge.vip{background:#eee8ff;color:#6649a4}.crm-badge.new{background:#eaf6ff;color:#2c6a91}.crm-badge.returning{background:#eaf9f5;color:#0a7b68}.crm-badge.risk{background:#fff0ea;color:#b25139}.crm-badge.inactive{background:#f1f1f1;color:#777}.crm-badge.advocate{background:#e8fbf8;color:#067e76}.crm-badge.active{background:#edf7ef;color:#34724a}.crm-view-button{border:1px solid #cfe0df;border-radius:9px;background:#f1faf8;color:#087f78;padding:7px 9px;font-size:8px;font-weight:900;cursor:pointer}
.crm-opportunity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.crm-mini-list{display:grid;gap:7px}.crm-mini-row{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;border:1px solid #e2e9eb;border-radius:11px;background:#fff;padding:10px;text-align:left;cursor:pointer}.crm-mini-row:hover{border-color:#a8d8d3;background:#f7fcfb}.crm-mini-row span{display:grid;gap:2px}.crm-mini-row strong{font-size:10px;color:#17263b}.crm-mini-row small{font-size:8px;color:#83909a}.crm-mini-row b{font-size:9px;color:#087f78;text-align:right}
.crm-drawer{position:fixed;inset:0;z-index:1200;display:grid;grid-template-columns:1fr minmax(420px,580px)}.crm-drawer.hidden{display:none!important}.crm-drawer-backdrop{border:0;background:#102238a8;backdrop-filter:blur(2px);cursor:default}.crm-drawer-panel{height:100vh;overflow:auto;background:#fff;padding:24px;box-shadow:-18px 0 50px #001a2b25}.crm-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px}.crm-drawer-head h2{margin:4px 0 2px;font-size:24px}.crm-drawer-head p{margin:0;color:#788794;font-size:11px}.crm-close{width:38px;height:38px;border:0;border-radius:50%;background:#f0f3f4;color:#1a2736;font-size:25px;line-height:1;cursor:pointer}.crm-detail-badges{margin-bottom:14px}.crm-detail-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.crm-detail-kpis article{border:1px solid #dfe7e9;border-radius:13px;background:#f8fbfb;padding:12px;display:grid;gap:4px}.crm-detail-kpis span,.crm-detail-grid span{font-size:8px;text-transform:uppercase;color:#788794;font-weight:900}.crm-detail-kpis strong{font-size:17px;color:#13243a}.crm-detail-section{border-top:1px solid #e4eaec;padding:15px 0}.crm-detail-section h3{margin:0 0 10px;font-size:14px}.crm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crm-detail-grid>div{border-radius:11px;background:#f7f9fa;padding:10px;display:grid;gap:3px}.crm-detail-grid strong{font-size:11px;color:#173047;overflow-wrap:anywhere}.crm-detail-progress,.crm-detail-insight{margin:10px 0 0;padding:11px 12px;border-radius:11px;background:#eef9f7;color:#34645f;font-size:10px;line-height:1.5}.crm-detail-insight{background:#fff7ed;color:#765132}.crm-drawer-open{overflow:hidden}
@media(max-width:1350px){.crm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-insights-panel{grid-template-columns:1fr}.crm-insights-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-opportunity-grid{grid-template-columns:1fr 1fr}.crm-opportunity-grid>section:last-child{grid-column:1/-1}}
@media(max-width:900px){.crm-dashboard-header{align-items:stretch}.crm-refresh-wrap{justify-content:space-between}.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-list-head{align-items:stretch;flex-direction:column}.crm-tools{min-width:0;width:100%}.crm-opportunity-grid{grid-template-columns:1fr}.crm-opportunity-grid>section:last-child{grid-column:auto}.crm-drawer{grid-template-columns:1fr}.crm-drawer-backdrop{display:none}.crm-drawer-panel{width:100%;box-sizing:border-box}}
@media(max-width:600px){.crm-kpis{grid-template-columns:1fr 1fr}.crm-insights-panel{padding:15px}.crm-insights-grid{grid-template-columns:1fr 1fr}.crm-tools{display:grid}.crm-detail-grid,.crm-detail-kpis{grid-template-columns:1fr 1fr}.crm-drawer-panel{padding:18px}}

/* v46.3.1 · CRM accionable: etiquetas, notas y filtros propios */
.crm-tag-filter-row{display:flex;align-items:center;gap:9px;margin:-2px 0 12px;color:#788794;font-size:9px;font-weight:850}.crm-tag-filter-row>span{white-space:nowrap}.crm-tag-filters{display:flex;gap:6px;flex-wrap:wrap}.crm-tag-filters button{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce5e7;border-radius:999px;background:#fff;color:#657483;padding:6px 10px;font-size:8px;font-weight:850;cursor:pointer}.crm-tag-filters button.active{background:#e9f7f5;border-color:#9fd6d0;color:#087f78}.crm-tag-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex:0 0 auto}.crm-tag-dot.tag-teal{background:#0c9c91}.crm-tag-dot.tag-blue{background:#3c78b5}.crm-tag-dot.tag-green{background:#4b8b59}.crm-tag-dot.tag-amber{background:#bd7d24}.crm-tag-dot.tag-red{background:#bd5549}.crm-tag-dot.tag-purple{background:#7459ad}.crm-tag-dot.tag-slate{background:#697984}
.crm-badge.custom-tag{border:1px solid transparent}.crm-badge.custom-tag.tag-teal{background:#e8f8f6;color:#087f78;border-color:#c6eae6}.crm-badge.custom-tag.tag-blue{background:#edf5fc;color:#356e9f;border-color:#d4e5f4}.crm-badge.custom-tag.tag-green{background:#eef8f0;color:#3d7749;border-color:#d7eadb}.crm-badge.custom-tag.tag-amber{background:#fff7e8;color:#9a641a;border-color:#f0dfba}.crm-badge.custom-tag.tag-red{background:#fff0ed;color:#a8463b;border-color:#f0d3ce}.crm-badge.custom-tag.tag-purple{background:#f2effb;color:#654e9b;border-color:#ddd6ef}.crm-badge.custom-tag.tag-slate{background:#f1f4f5;color:#596872;border-color:#dfe5e7}
.crm-actionable-section{padding-bottom:28px}.crm-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.crm-section-title h3{margin-bottom:3px}.crm-section-title p{margin:0 0 10px;color:#7a8995;font-size:9px}.crm-manage-block{border:1px solid #e1e8ea;border-radius:13px;background:#fafcfc;padding:12px;margin-top:10px}.crm-manage-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.crm-manage-head span{font-size:10px;font-weight:900;color:#173047}.crm-manage-head small{font-size:8px;color:#89959e}.crm-custom-tags{display:flex;gap:5px;flex-wrap:wrap;min-height:24px;align-items:center;margin-bottom:8px}.crm-empty-inline{font-size:9px;color:#8a969f}.crm-tag-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:9px}.crm-tag-option-row{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:4px}.crm-tag-toggle{display:flex;align-items:center;gap:6px;min-width:0;border:1px solid #dce5e7;border-radius:9px;background:#fff;color:#62717d;padding:7px 8px;font-size:8px;font-weight:850;cursor:pointer;text-align:left}.crm-tag-toggle.active{background:#eef9f7;border-color:#aadbd6;color:#087f78}.crm-tag-delete{border:1px solid #ead9d5;border-radius:8px;background:#fff;color:#a65a4d;font-size:16px;line-height:1;cursor:pointer}.crm-new-tag-row{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;gap:6px}.crm-new-tag-row input,.crm-new-tag-row select,.crm-notes-block textarea{width:100%;box-sizing:border-box;border:1px solid #d8e1e5;border-radius:9px;background:#fff;padding:8px 9px;font:inherit;font-size:9px;color:#26384b}.crm-new-tag-row button,.crm-note-compose button{border:0;border-radius:9px;background:#0b8f87;color:#fff;padding:8px 10px;font-size:8px;font-weight:900;cursor:pointer}.crm-new-tag-row button:disabled,.crm-note-compose button:disabled,.crm-tag-toggle:disabled{opacity:.55;cursor:wait}.crm-notes-block textarea{resize:vertical;min-height:68px;line-height:1.45}.crm-note-compose{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}.crm-note-compose small{font-size:8px;color:#698079}.crm-note-list{display:grid;gap:7px;margin-top:10px;max-height:320px;overflow:auto}.crm-note-empty{margin:0;padding:9px;border-radius:9px;background:#f3f6f7;color:#81909a;font-size:9px;line-height:1.4}.crm-note-empty.error{background:#fff1ee;color:#a54f42}.crm-note-item{border:1px solid #e1e8ea;border-radius:10px;background:#fff;padding:9px}.crm-note-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:5px}.crm-note-meta span{font-size:7px;color:#85929c;font-weight:800}.crm-note-meta button{border:0;background:none;color:#a45a4f;font-size:7px;font-weight:850;cursor:pointer;padding:2px}.crm-note-item p{margin:0;color:#31465a;font-size:9px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.crm-tag-filter-row{align-items:flex-start;flex-direction:column}.crm-tag-options{grid-template-columns:1fr}.crm-new-tag-row{grid-template-columns:1fr}.crm-note-list{max-height:none}}

/* v46.4.0 · autoalta, modo prueba y aprobación */
.restaurant-trial-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,#fff8ef,#f5fbfa);border:1px solid #f0d8bc;border-radius:16px;padding:16px 18px;margin-bottom:20px;box-shadow:0 8px 24px #17364a0d}.restaurant-trial-copy{display:flex;flex-direction:column;gap:3px}.restaurant-trial-copy>span{text-transform:uppercase;letter-spacing:.9px;font-size:9px;font-weight:900;color:#d86c23}.restaurant-trial-copy>strong{font-size:16px;color:#13283e}.restaurant-trial-copy p{margin:2px 0;color:#647383;font-size:12px;line-height:1.45;max-width:850px}.restaurant-trial-copy small{color:#0b8279;font-size:10px;font-weight:750}.restaurant-trial-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.restaurant-trial-actions button{border:1px solid #bddbd8;background:#fff;color:#0b8279;border-radius:10px;padding:10px 13px;font:inherit;font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer}.restaurant-trial-actions button.primary{background:#079b93;border-color:#079b93;color:#fff}.restaurant-trial-actions button:disabled{opacity:.48;cursor:not-allowed}.restaurant-preview-banner{position:fixed;z-index:9999;left:0;right:0;top:0;min-height:48px;background:#10253d;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px clamp(14px,4vw,50px);box-shadow:0 3px 14px #0002}.restaurant-preview-banner>div{display:flex;align-items:baseline;gap:12px;min-width:0}.restaurant-preview-banner strong{font-size:12px;color:#7ee2da;white-space:nowrap}.restaurant-preview-banner span{font-size:11px;color:#d5dce3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant-preview-banner a,.restaurant-preview-banner button{background:#fff;color:#10253d;text-decoration:none;border:0;border-radius:8px;padding:7px 11px;font:inherit;font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer}.restaurant-preview-banner button{background:#dff8f4;color:#0b6f68}.restaurant-preview-actions{display:flex;align-items:center;gap:8px}.restaurant-preview-mode{padding-top:48px}.restaurant-preview-mode .topbar{top:48px}.restaurant-preview-mode #checkout{opacity:1}@media(max-width:700px){.restaurant-trial-banner{align-items:flex-start;flex-direction:column}.restaurant-trial-actions{width:100%;justify-content:flex-start}.restaurant-preview-banner>div{display:block}.restaurant-preview-banner span{display:none}.restaurant-preview-banner{min-height:44px}.restaurant-preview-mode{padding-top:44px}.restaurant-preview-mode .topbar{top:44px}}
/* v46.7.0 · Formas de pago avanzadas + PayPal */
.management-fee-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:12px;margin-top:16px;padding:15px;border:1px solid #e4e9eb;border-radius:14px;background:#fafcfc}.management-fee-fields label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#4c5967}.management-fee-fields input,.management-fee-fields select{width:100%;box-sizing:border-box;border:1px solid #d6dfe3;border-radius:10px;padding:10px 11px;background:#fff;color:#152234;font:inherit}.management-fee-public-note{margin-top:18px;padding:14px 16px;border-radius:13px;border:1px solid #d7e6e3;background:#f2faf8;color:#315e5a}.management-fee-public-note p{margin:5px 0 0;font-size:13px;line-height:1.5}.paypal-fields .wide-field{grid-column:1/-1}.paypal-security-note{margin-top:14px;padding:12px 14px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#7c4b16;font-size:12px;line-height:1.5}.paypal-actions{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin-top:14px}.paypal-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.secondary-settings-button{border:1px solid #0daea5;background:#fff;color:#087e78;border-radius:11px;padding:11px 14px;font-weight:800;cursor:pointer}.secondary-settings-button:disabled{opacity:.55;cursor:wait}.paypal-icon{color:#153b75!important;background:#eef5ff!important}.management-fee-preview{background:#f8fbff!important;border-color:#dbeafe!important}.management-fee-preview .payment-total-row{padding-top:9px;border-top:1px solid #dbeafe}.management-fee-preview .payment-total-row strong{font-size:18px}.paypal-preview{background:#f7f9ff!important;border-color:#dbe4ff!important}.paypal-button-container{min-height:45px;margin-top:6px}.paypal-preview .qr-status{margin-top:8px}.payment-option em[id$="management-fee"]{color:#7d4b22;font-weight:700}.payment-option em[id$="management-fee"].free{color:#087d71}.payment-option em[id$="management-fee"].charged{color:#9a4f18}
@media(max-width:850px){.management-fee-fields{grid-template-columns:1fr 1fr}.paypal-actions{grid-template-columns:1fr}}
@media(max-width:520px){.management-fee-fields{grid-template-columns:1fr}}

/* v46.7.1 · cancelaciones inteligentes */
.restaurant-cancel-detail-panel{margin:12px 0;padding:13px 14px;border:1px solid #dce8e7;border-radius:13px;background:#f7fbfa;display:grid;gap:8px}.restaurant-cancel-detail-panel.hidden{display:none!important}.restaurant-cancel-detail-panel>strong{color:#173b3b}.restaurant-cancel-detail-panel>p{margin:0;color:#677785;font-size:12px;line-height:1.45}.restaurant-cancel-stock-items{display:grid;gap:8px}.restaurant-cancel-stock-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px;align-items:center;padding:10px 11px;border:1px solid #e2e8eb;border-radius:11px;background:#fff}.restaurant-cancel-stock-row>div{display:grid;gap:2px}.restaurant-cancel-stock-row strong{font-size:13px;color:#152b3c}.restaurant-cancel-stock-row small{font-size:11px;color:#75818c}.restaurant-cancel-stock-row label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#667684;text-transform:uppercase}.restaurant-cancel-stock-row input{width:100%;min-height:38px;border:1px solid #ccd7dc;border-radius:9px;padding:8px 9px}.customer-cancellation-card{width:min(620px,calc(100vw - 34px))}.customer-cancellation-reason,.customer-cancellation-stock,.customer-cancellation-credit{margin:12px 0;padding:14px 15px;border-radius:13px;display:grid;gap:7px}.customer-cancellation-reason{background:#fff7f5;border:1px solid #f2d5cf;color:#704b44}.customer-cancellation-reason strong{color:#9f4938}.customer-cancellation-stock{background:#fff9ed;border:1px solid #f2dfb9;color:#6e5731}.customer-cancellation-stock.hidden,.customer-cancellation-credit.hidden{display:none!important}.customer-cancellation-stock-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid rgba(120,90,40,.12)}.customer-cancellation-stock-row:last-child{border-bottom:0}.customer-cancellation-stock-row span{font-size:12px}.customer-cancellation-stock-row strong{font-size:12px;text-align:right}.customer-cancellation-credit{background:#eef8f7;border:1px solid #c9e8e4;color:#31535a}.customer-cancellation-credit strong{color:#087e78}.cancellation-payment-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900}.cancellation-payment-badge.unpaid{background:#f3f5f6;color:#56616b}.cancellation-payment-badge.paid{background:#e9f7f4;color:#087e78}.customer-cancellation-detail-grid{display:grid;gap:8px;margin-top:10px}.customer-cancellation-detail-grid>div{display:flex;justify-content:space-between;gap:14px;padding:9px 10px;border-radius:10px;background:#fff}.customer-cancellation-detail-grid span{font-size:12px;color:#68747d}.customer-cancellation-detail-grid strong{font-size:12px;text-align:right}.customer-order-detail-actions .adjust-cancelled-order{background:#087e78;color:#fff;border:0}.customer-order-detail-actions .back-to-menu-from-cancel{background:#fff;border:1px solid #ccd7dc;color:#425466}
@media(max-width:600px){.restaurant-cancel-stock-row{grid-template-columns:1fr}.customer-cancellation-card{width:min(96vw,620px)}}


/* v46.7.1.1 · decisión explícita de cobro al cancelar pagos manuales */
.restaurant-cancel-payment-decision{display:grid;gap:10px}
.restaurant-cancel-payment-choice{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #d9e2e8;border-radius:12px;background:#fff;cursor:pointer}
.restaurant-cancel-payment-choice input{margin-top:3px;accent-color:#0aa7a4}
.restaurant-cancel-payment-choice span{display:grid;gap:3px}
.restaurant-cancel-payment-choice small{color:#687785;line-height:1.35}
.restaurant-cancel-payment-choice:has(input:checked){border-color:#0aa7a4;background:#f1fbfa}


/* v46.9.2 · Cobros por establecimiento */
.collections-header{align-items:flex-start}.collections-header p{max-width:790px}.collections-settings-button{margin:0;white-space:nowrap}.collections-responsibility{display:grid;grid-template-columns:auto 1fr;gap:12px 18px;align-items:start;border:1px solid #cfe8e3;background:#f1faf8;color:#315e5a;border-radius:15px;padding:14px 16px;margin-bottom:14px;font-size:12px;line-height:1.45}.collections-responsibility strong{color:#087d71}.collections-kpis{margin-bottom:16px}.collections-method-card,.collections-table-panel{margin-bottom:16px}.collections-method-card .settings-card-head,.collections-table-panel .settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.collections-method-card h2,.collections-table-panel h2{margin:0 0 4px}.collections-method-card p,.collections-table-panel p{margin:0;color:#758390;font-size:11px}.collections-link-button,.collections-action{border:0;border-radius:9px;background:#132238;color:#fff;padding:9px 11px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.collections-action.secondary{background:#eef5f4;color:#16685f}.collections-action:disabled{opacity:.6;cursor:wait}.collections-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}.collections-methods>div{border:1px solid #e0e6e9;border-radius:12px;padding:12px 13px;background:#fbfcfc}.collections-methods span{display:block;color:#7b8797;font-size:9px;margin-bottom:5px}.collections-methods strong{font-size:11px;color:#18283c}.collections-paypal-note{border:1px solid #e3e9eb;background:#f8fafb;border-radius:11px;padding:11px 13px;margin:12px 0;color:#607080;font-size:10px;line-height:1.45}.collections-paypal-note strong{color:#24364b}.collections-table{min-width:980px}.collections-table td{vertical-align:middle}.collections-state{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;white-space:nowrap}.collections-state.confirmed{background:#e8f8f2;color:#18765b}.collections-state.pending{background:#fff4df;color:#946127}.collections-state.closed{background:#f1f2f3;color:#6f7478}.collections-state.neutral{background:#eef3f5;color:#65727e}.collections-no-action{color:#9aa4ad}.collections-table-panel .sales-table-wrap{margin-top:0}
@media(max-width:900px){.collections-responsibility{grid-template-columns:1fr}.collections-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.collections-header{flex-direction:column}.collections-settings-button{width:100%}}
@media(max-width:560px){.collections-methods{grid-template-columns:1fr}}
.collections-paypal-action{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.collections-paypal-query-result{display:block;max-width:220px;color:#607080;font-size:9px;line-height:1.35;white-space:normal}.collections-technical-time{display:block;margin-top:3px;color:#8a96a1;font-size:8px;line-height:1.2}

/* v46.9.5 · resultado persistente de Consulta PayPal */
.collections-paypal-persisted-result{display:block;margin-top:6px;max-width:250px;color:#526675;font-size:9px;line-height:1.35;white-space:normal;font-weight:700}.collections-paypal-query-result:not(:empty){padding:5px 7px;border-radius:7px;background:#f3f7f7;color:#315e5a;font-size:9px;font-weight:700}.collections-technical-time{font-size:9px;font-weight:700;color:#607080}

/* v46.9.6 · avisos PayPal persistentes hasta cierre manual */
.toast.persistent{display:flex;align-items:center;gap:12px;max-width:min(760px,calc(100vw - 32px));border-radius:14px;padding:14px 16px}.toast.persistent .toast-message{flex:1;min-width:0}.toast-close{border:0;border-radius:999px;padding:7px 11px;background:rgba(255,255,255,.16);color:#fff;font:inherit;font-weight:800;cursor:pointer}.toast-close:hover{background:rgba(255,255,255,.24)}

/* v46.9.7 · Cobros: lenguaje comprensible + estado técnico literal */
.collections-paypal-technical-status{display:block;margin-top:5px;color:#87929d;font-size:8px;line-height:1.3;font-weight:700;white-space:normal}.collections-paypal-persisted-result{margin-top:4px}

/* v46.10.0 · Preparación PayPal Live por establecimiento */
.paypal-live-readiness{margin-top:18px;border:1px solid #d9e8e5;border-radius:16px;background:#fbfefd;padding:18px;display:grid;gap:14px}.paypal-live-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.paypal-live-readiness-head h3{margin:3px 0 5px;font-size:18px}.paypal-live-readiness-head p{margin:0;color:#687386;line-height:1.45}.paypal-live-badge{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.paypal-live-badge.sandbox{background:#eef2f6;color:#536273}.paypal-live-badge.incomplete{background:#fff1df;color:#8a5b1d}.paypal-live-badge.ready{background:#e6f7f2;color:#087d71}.paypal-live-badge.active{background:#dff5ed;color:#05705f}.paypal-live-summary{border-radius:12px;padding:11px 13px;background:#eef7f5;color:#2a5b55;font-size:12px;line-height:1.45}.paypal-live-summary.warning{background:#fff6e9;color:#7b5622}.paypal-live-summary.success{background:#e6f7f2;color:#087d71}.paypal-live-checklist{display:grid;gap:8px}.paypal-live-check{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e4ecea;border-radius:12px;padding:10px 12px;background:#fff}.paypal-live-check-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f1f4f5;color:#62707c;font-size:11px;font-weight:800}.paypal-live-check strong{display:block;font-size:12px;color:#1b2a38}.paypal-live-check small{display:block;margin-top:2px;color:#75808d;line-height:1.35}.paypal-live-check b{font-size:11px;color:#7d8790}.paypal-live-check.ok{border-color:#cfe9e2;background:#fbfffd}.paypal-live-check.ok .paypal-live-check-icon{background:#e4f6f0;color:#087d71}.paypal-live-check.ok b{color:#087d71}.paypal-live-check.pending{border-color:#f0dfc8;background:#fffdfa}.paypal-live-check.pending .paypal-live-check-icon{background:#fff1df;color:#8a5b1d}.paypal-live-check.pending b{color:#8a5b1d}.paypal-live-activation{margin-top:3px;border-style:dashed}.paypal-live-activation.ok{border-style:solid}.paypal-live-readiness.preview-change{border-color:#f0cf9e;background:#fffdfa}@media(max-width:720px){.paypal-live-readiness-head{display:grid}.paypal-live-badge{justify-self:start}.paypal-live-check{grid-template-columns:30px minmax(0,1fr)}.paypal-live-check b{grid-column:2}}

/* v46.15.0 · Cuenta B2B del establecimiento con RestaurantEnTuMano */
.platform-account-boundary{margin-top:2px}.platform-account-kpis{margin-bottom:16px}.platform-account-statements{margin-bottom:16px}.platform-account-statements .sales-table{min-width:820px}.platform-account-statements td small{display:block;color:#87929b;font-size:10px;margin-top:3px}.account-statement-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:900;white-space:nowrap;background:#eef3f5;color:#61717d}.account-statement-status.issued{background:#fff3df;color:#8b5b23}.account-statement-status.paid{background:#e8f8f2;color:#18765b}.account-statement-status.void{background:#f1f2f3;color:#757b80}.platform-fee-movement b{font-size:13px}.account-subheading{margin:28px 0 8px}.account-subheading h2{margin:3px 0 4px;color:#152234}.account-subheading p{margin:0;color:#74808a;font-size:12px}

/* v46.16.0 · Historial operativo completo + CRM 360 */
.restaurant-order-history-panel{margin-top:28px;background:#fff;border:1px solid #dfe7e4;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(18,38,51,.05)}
.restaurant-order-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.restaurant-order-history-head h2{margin:4px 0 6px;font-size:23px;color:#10243a}.restaurant-order-history-head p{margin:0;max-width:860px;color:#64748b;line-height:1.5}
.restaurant-order-history-head>button,.restaurant-order-history-more{border:0;border-radius:10px;background:#10243a;color:#fff;padding:10px 14px;font-weight:750;cursor:pointer;white-space:nowrap}
.restaurant-order-history-tools{display:grid;grid-template-columns:minmax(240px,1fr) 165px 195px 175px 205px auto;gap:10px;align-items:center;margin-bottom:14px}
.restaurant-order-history-tools input,.restaurant-order-history-tools select{width:100%;border:1px solid #d7e0e3;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:#172b3f}
.restaurant-order-history-tools small{color:#66778a;text-align:right}.restaurant-order-history-list,.crm-order-history-list{display:grid;gap:12px}
.restaurant-order-history-more{display:block;margin:16px auto 0;background:#eef4f2;color:#173a34}.restaurant-order-history-more.hidden{display:none}
.audit-history-empty{padding:22px;border:1px dashed #ccd9d5;border-radius:12px;text-align:center;color:#6b7a88;background:#fbfdfc}.audit-history-empty.error{color:#a33a2f;border-color:#efc8c2;background:#fff8f6}
.audit-order-card{border:1px solid #dce5e2;border-radius:14px;padding:14px 15px;background:#fff;box-shadow:0 4px 14px rgba(20,40,50,.035)}
.audit-order-card.completed{border-left:4px solid #1f9f88}.audit-order-card.cancelled{border-left:4px solid #dc654f}.audit-order-card.active{border-left:4px solid #2c7db8}.audit-order-card.pending{border-left:4px solid #d4a72c}
.audit-order-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:11px}.audit-order-head>div{display:flex;flex-direction:column;gap:2px}.audit-order-head strong{font-size:15px;color:#14273a}.audit-order-head span{font-size:11px;color:#718195}
.audit-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#eef2f5;color:#46576b}.audit-status.completed{background:#e7f8f3;color:#087461}.audit-status.cancelled{background:#fff0ed;color:#b94332}.audit-status.active{background:#edf6ff;color:#266b99}.audit-status.pending{background:#fff8e7;color:#8b6712}
.audit-order-grid{display:grid;grid-template-columns:1.05fr 1fr 1.3fr 1.25fr;gap:10px}.audit-order-grid>div{min-width:0;background:#f8fbfa;border:1px solid #edf2f0;border-radius:10px;padding:9px 10px;display:flex;flex-direction:column;gap:3px}.audit-order-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#789}.audit-order-grid strong{font-size:13px;color:#183046}.audit-order-grid small{font-size:11px;color:#66778a;line-height:1.35;overflow-wrap:anywhere}
.audit-economic-row{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;padding:9px 10px;border-radius:10px;background:#fff8ef;border:1px solid #f4dcc1;color:#725238;font-size:11px}.audit-economic-row b{color:#443225}
.audit-timeline{display:flex;gap:7px;overflow-x:auto;padding-top:11px;margin-top:10px;border-top:1px solid #eef2f1}.audit-timeline-event{position:relative;min-width:130px;padding-left:14px;display:flex;flex-direction:column;gap:2px}.audit-timeline-event i{position:absolute;left:0;top:4px;width:7px;height:7px;border-radius:50%;background:#16a28d}.audit-timeline-event b{font-size:11px;color:#263c50}.audit-timeline-event small{font-size:10px;color:#7b8b99}.audit-empty-inline{font-size:11px;color:#7b8b99}
.crm-history-section{background:#f9fbfb}.crm-history-section .audit-order-card{box-shadow:none}.crm-economic-head{margin-top:16px}.crm-economic-history-list{display:grid;gap:8px;margin-top:8px}.crm-economic-movement{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #e3e9e7;border-radius:10px;padding:10px 11px;background:#fff}.crm-economic-movement>div{display:flex;flex-direction:column;gap:2px}.crm-economic-movement strong{font-size:12px;color:#1c3447}.crm-economic-movement small{font-size:10px;color:#768697}.crm-economic-movement>b{font-size:12px;white-space:nowrap}.crm-economic-movement>b.positive{color:#0e7f69}.crm-economic-movement>b.negative{color:#a54b3e}
.crm-drawer-panel{width:min(920px,96vw)}
@media(max-width:1380px){.audit-order-grid{grid-template-columns:1fr 1fr}.restaurant-order-history-tools{grid-template-columns:minmax(240px,1fr) 165px 190px 175px}.restaurant-order-history-tools select:nth-of-type(4){grid-column:1/3}.restaurant-order-history-tools small{grid-column:3/5;text-align:right}}
@media(max-width:1050px){.restaurant-order-history-tools{grid-template-columns:minmax(220px,1fr) 1fr 1fr}.restaurant-order-history-tools select:nth-of-type(4){grid-column:auto}.restaurant-order-history-tools small{grid-column:1/-1;text-align:left}}
@media(max-width:720px){.restaurant-order-history-head{flex-direction:column}.restaurant-order-history-head>button{width:100%}.restaurant-order-history-tools{grid-template-columns:1fr}.restaurant-order-history-tools small{grid-column:auto}.audit-order-grid{grid-template-columns:1fr}.audit-order-head{align-items:center}.audit-timeline-event{min-width:112px}}

/* v46.16.1 · Ficha CRM panorámica y legible sin scroll horizontal */
@media(min-width:1101px){
  .crm-drawer{grid-template-columns:minmax(0,1fr) auto}
  .crm-drawer-panel{
    width:min(1180px,78vw);
    max-width:calc(100vw - 56px);
    height:100dvh;
    box-sizing:border-box;
    overflow-y:auto;
    overflow-x:hidden;
    padding:24px 28px 32px;
  }
  .crm-drawer-panel .crm-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
  .crm-drawer-panel .crm-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .crm-drawer-panel .audit-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crm-drawer-panel .audit-timeline{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
    gap:10px 14px;
    overflow:visible;
  }
  .crm-drawer-panel .audit-timeline-event{min-width:0}
}
@media(max-width:1100px){
  .crm-drawer-panel{height:100dvh;overflow-y:auto;overflow-x:hidden}
  .crm-drawer-panel .audit-timeline{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
    overflow:visible;
  }
  .crm-drawer-panel .audit-timeline-event{min-width:0}
}
@media(max-width:720px){
  .crm-drawer-panel .audit-timeline{grid-template-columns:1fr}
}

/* v46.16.3 · Detalle integral de pedido + responsive final CRM */
.audit-order-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.audit-detail-button{border:1px solid #c9dbd6;border-radius:8px;background:#f2faf8;color:#087d70;padding:6px 9px;font:inherit;font-size:9px;font-weight:850;cursor:pointer;white-space:nowrap}
.audit-detail-button:hover{background:#e7f6f2;border-color:#acd3c9}
.order-detail-open{overflow:hidden}
.order-detail-modal{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:24px}
.order-detail-modal.hidden{display:none!important}
.order-detail-backdrop{position:absolute;inset:0;border:0;background:rgba(10,27,43,.72);backdrop-filter:blur(3px)}
.order-detail-panel{position:relative;width:min(1180px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;background:#f9fbfa;border:1px solid #dbe6e2;border-radius:20px;box-shadow:0 28px 90px rgba(0,18,32,.35)}
.order-detail-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #e4ece9}
.order-detail-head>div{min-width:0}.order-detail-head span{display:block;color:#ff553e;font-size:10px;letter-spacing:.12em;font-weight:900}.order-detail-head h2{margin:4px 0 2px;color:#13263a;font-size:25px}.order-detail-head p{margin:0;color:#6d7d8d;font-size:11px}
.order-detail-close{width:38px;height:38px;flex:0 0 auto;border:0;border-radius:50%;background:#edf2f1;color:#172638;font-size:25px;line-height:1;cursor:pointer}
.order-detail-content{display:grid;gap:14px;padding:18px 22px 28px}
.order-detail-section{background:#fff;border:1px solid #dfe8e5;border-radius:15px;padding:15px 16px;box-shadow:0 4px 16px rgba(18,38,51,.035)}
.order-detail-section.alert{border-color:#f0d0be;background:#fffaf6}.order-detail-summary{background:#f5fbf9}
.order-detail-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:11px}.order-detail-section-head span{display:block;color:#7b8c98;font-size:9px;letter-spacing:.12em;font-weight:900}.order-detail-section-head h3{margin:3px 0 0;color:#173047;font-size:16px}
.order-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.order-detail-facts>div{min-width:0;border:1px solid #e6ecea;border-radius:10px;background:#f8fbfa;padding:9px 10px;display:grid;gap:3px}.order-detail-facts span,.order-detail-provider-facts span,.order-detail-order-id span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#7b8a96;font-weight:850}.order-detail-facts strong{font-size:11px;color:#193248;overflow-wrap:anywhere}
.order-detail-order-id{margin-top:9px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.order-detail-order-id code,.order-detail-provider-facts code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#344b5d;overflow-wrap:anywhere}
.order-detail-items{display:grid;gap:7px}.order-detail-items article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 10px;border:1px solid #e6ecea;border-radius:10px;background:#fbfdfc}.order-detail-items article>div:first-child{display:grid;gap:2px;min-width:0}.order-detail-items b{font-size:12px;color:#173047}.order-detail-items small,.order-detail-items span{font-size:10px;color:#748492}.order-detail-items article>div:last-child{display:flex;align-items:center;gap:12px;white-space:nowrap}.order-detail-items strong{font-size:12px;color:#0d7e70}
.order-detail-provider-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.order-detail-provider-facts>div{min-width:0;border:1px dashed #cfded9;border-radius:9px;padding:8px 9px;background:#fbfefd;display:grid;gap:3px}
.order-detail-subblock{margin-top:14px;padding-top:12px;border-top:1px solid #edf2f0}.order-detail-subblock h4{margin:0 0 8px;color:#233c50;font-size:12px}.order-detail-tech-list{display:grid;gap:8px}.order-detail-tech-list>article{border:1px solid #e3eae8;border-radius:10px;padding:10px;background:#fbfdfc}.order-detail-tech-list>article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-detail-tech-list b{font-size:11px;color:#20394e}.order-detail-tech-list small{font-size:9px;color:#7b8995}.order-detail-tech-list dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0 0}.order-detail-tech-list dl>div{min-width:0}.order-detail-tech-list dt{font-size:8px;text-transform:uppercase;color:#7b8b97}.order-detail-tech-list dd{margin:2px 0 0;font-size:9px;color:#334b5e;overflow-wrap:anywhere}.order-detail-error{margin:8px 0 0;padding:7px 9px;border-radius:8px;background:#fff2ef;color:#9c4336;font-size:10px}
.order-detail-provider-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.order-detail-provider-events article{display:grid;gap:2px;border:1px solid #e6ecea;border-radius:9px;padding:8px 9px;background:#fff}.order-detail-provider-events b{font-size:10px;color:#243d50}.order-detail-provider-events span,.order-detail-provider-events small{font-size:9px;color:#788794}
.order-detail-economic-list{display:grid;gap:7px}.order-detail-economic-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e5ecea;border-radius:10px;padding:9px 10px;background:#fbfdfc}.order-detail-economic-list article>div{display:grid;gap:2px}.order-detail-economic-list b{font-size:11px;color:#20394c}.order-detail-economic-list small{font-size:9px;color:#768694}.order-detail-economic-list>article>strong{font-size:11px;white-space:nowrap}.order-detail-economic-list strong.positive{color:#0c806d}.order-detail-economic-list strong.negative{color:#b14c3b}
.order-detail-shortage{display:grid;gap:4px;margin-top:10px;padding:10px;border-radius:9px;background:#fff2e9;color:#754d32;font-size:10px}.order-detail-shortage strong{font-size:11px}.order-detail-internal{margin-top:10px;border-top:1px solid #edf1ef;padding-top:9px}.order-detail-internal summary{cursor:pointer;color:#627481;font-size:10px;font-weight:800}.order-detail-internal .order-detail-facts{margin-top:8px}.order-detail-empty{margin:0;color:#71818e;font-size:11px}.order-detail-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px 12px;overflow:visible;margin-top:0;border-top:0;padding-top:0}.order-detail-timeline .audit-timeline-event{min-width:0}

/* A partir de pantallas medias la ficha CRM pasa a ocupar toda la superficie útil. */
@media(max-width:1280px){
  .crm-drawer{grid-template-columns:1fr}
  .crm-drawer-backdrop{display:none}
  .crm-drawer-panel{width:100vw!important;max-width:none!important;height:100dvh;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;padding:22px 24px 30px}
  .crm-drawer-panel .crm-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
  .crm-drawer-panel .crm-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crm-drawer-panel .audit-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .order-detail-modal{padding:0}
  .order-detail-panel{width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border:0}
  .order-detail-content{padding:15px 16px 24px}.order-detail-head{padding:16px}
  .order-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-detail-provider-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-detail-tech-list dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-detail-provider-events{grid-template-columns:1fr}
}
@media(max-width:720px){
  .audit-order-head{align-items:flex-start}.audit-order-head-actions{align-items:flex-end;flex-direction:column}.audit-detail-button{white-space:normal;text-align:center}
  .crm-drawer-panel{padding:16px}
  .crm-drawer-panel .crm-detail-kpis,.crm-drawer-panel .crm-detail-grid,.crm-drawer-panel .audit-order-grid{grid-template-columns:1fr}
  .order-detail-facts,.order-detail-provider-facts,.order-detail-tech-list dl{grid-template-columns:1fr}
  .order-detail-items article{align-items:flex-start;flex-direction:column}.order-detail-items article>div:last-child{width:100%;justify-content:space-between}
  .order-detail-economic-list article{align-items:flex-start;flex-direction:column}
  .order-detail-economic-list>article>strong{align-self:flex-end}
  .order-detail-timeline{grid-template-columns:1fr}
}

/* v46.16.7 · Alertas preventivas de conciliación */
.restaurant-order-history-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
.restaurant-history-alert{appearance:none;width:100%;text-align:left;border:1px solid #dce6e3;border-radius:14px;background:#f8fbfa;padding:14px 16px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;color:#173047}
.restaurant-history-alert:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,43,52,.08)}
.restaurant-history-alert-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#6b7c8d;margin-bottom:6px}
.restaurant-history-alert>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.restaurant-history-alert strong{font-size:15px}.restaurant-history-alert b{font-size:26px;line-height:1}
.restaurant-history-alert p{margin:7px 0 10px;color:#64748b;font-size:13px;line-height:1.4}.restaurant-history-alert small{font-weight:800;color:#254b44}
.restaurant-history-alert.critical{border-color:#f2b7ab;background:#fff6f3}.restaurant-history-alert.critical b,.restaurant-history-alert.critical small{color:#b63c25}
.restaurant-history-alert.warning{border-color:#efd8a1;background:#fffbef}.restaurant-history-alert.warning b,.restaurant-history-alert.warning small{color:#986600}
.restaurant-history-alert.resolved{border-color:#bfe5d8;background:#f3fbf8}.restaurant-history-alert.resolved b,.restaurant-history-alert.resolved small{color:#19755e}
.restaurant-history-alert-loading{grid-column:1/-1;border:1px dashed #d7e1de;border-radius:12px;padding:12px 14px;color:#64748b;background:#fafcfc}.restaurant-history-alert-loading.error{color:#a93f2b;border-color:#efc6bc;background:#fff8f6}
@media(max-width:860px){.restaurant-order-history-alerts{grid-template-columns:1fr}}

/* v46.17.1 · Identificación y purga segura de datos de prueba */
.audit-test-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:4px 8px;background:#efe9ff;color:#6647a2;font-size:8px;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.audit-order-card.is-test{border-style:dashed;background:linear-gradient(180deg,#fcfaff 0%,#fff 42%)}
.order-detail-test-warning{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #d8c8f2;border-radius:14px;background:#f8f4ff;padding:13px 15px;color:#49386d}
.order-detail-test-warning>div{display:grid;gap:3px;min-width:0}.order-detail-test-warning span{font-size:9px;font-weight:900;letter-spacing:.09em;color:#6d4ca4}.order-detail-test-warning strong{font-size:13px;color:#392b59}.order-detail-test-warning p{margin:0;font-size:10px;line-height:1.45;color:#6c5a86}
.order-detail-test-delete{flex:0 0 auto;border:1px solid #e5aaa2;border-radius:9px;background:#fff1ef;color:#a23b31;padding:9px 12px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.order-detail-test-delete:hover{background:#ffe7e3;border-color:#d98d84}
@media(max-width:720px){.order-detail-test-warning{align-items:flex-start;flex-direction:column}.order-detail-test-delete{width:100%}}

/* v46.17.2 · Confirmación visible y resultado explícito de purga de pruebas */
.toast{z-index:2300}
.test-purge-modal{position:fixed;inset:0;z-index:2200;display:grid;place-items:center;padding:20px}
.test-purge-modal.hidden{display:none!important}
.test-purge-backdrop{position:absolute;inset:0;border:0;background:rgba(13,28,45,.76);backdrop-filter:blur(3px)}
.test-purge-card{position:relative;z-index:1;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border:1px solid #e2e8e6;border-radius:20px;box-shadow:0 28px 90px rgba(0,18,32,.34);padding:22px;display:grid;gap:16px}
.test-purge-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e8eceb;padding-bottom:14px}
.test-purge-card header span{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#b34839}.test-purge-card h3{margin:4px 0 5px;font-size:22px;color:#17283c}.test-purge-card header p{margin:0;color:#697784;font-size:12px;line-height:1.45;max-width:500px}
.test-purge-close{width:38px;height:38px;border:0;border-radius:50%;background:#f0f3f4;color:#17283c;font-size:24px;line-height:1;cursor:pointer;flex:0 0 auto}
.test-purge-card label{display:grid;gap:7px}.test-purge-card label>span{font-size:12px;font-weight:850;color:#283b4c}.test-purge-card textarea,.test-purge-card input{width:100%;box-sizing:border-box;border:1px solid #d6dfe2;border-radius:11px;padding:11px 12px;font:inherit;color:#17283c;background:#fff;outline:none}.test-purge-card textarea:focus,.test-purge-card input:focus{border-color:#c56b5f;box-shadow:0 0 0 3px rgba(197,107,95,.10)}.test-purge-card label small{color:#75818d;font-size:10px}
.test-purge-error{border:1px solid #efb6ad;background:#fff3f0;color:#9e3025;border-radius:11px;padding:11px 13px;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.test-purge-error.hidden{display:none!important}
.test-purge-card footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e8eceb;padding-top:14px}.test-purge-cancel,.test-purge-submit{border:0;border-radius:10px;padding:11px 15px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.test-purge-cancel{background:#eef2f3;color:#334453}.test-purge-submit{background:#b23f33;color:#fff}.test-purge-submit:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:620px){.test-purge-modal{padding:0}.test-purge-card{width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border:0}.test-purge-card footer{display:grid;grid-template-columns:1fr}.test-purge-cancel,.test-purge-submit{width:100%}}

/* v46.17.3 · Datos de contacto visibles + búsqueda CRM por teléfono/email */
.crm-search-field{display:grid;gap:4px;flex:1;min-width:0}
.crm-search-field input{width:100%}
.crm-search-field small{color:#7a8895;font-size:8px;line-height:1.35;padding-left:2px}
.crm-contact-card{border:1px solid #dce8e5;border-radius:14px;background:linear-gradient(180deg,#f7fcfa 0%,#fff 100%);padding:14px 15px;margin:0 0 14px}
.crm-contact-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}
.crm-contact-card-head h3{margin:3px 0 2px;font-size:14px;color:#173047}
.crm-contact-card-head p{margin:0;color:#71818e;font-size:9px;line-height:1.4}
.crm-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.crm-contact-grid>div{min-width:0;border:1px solid #e5ecea;border-radius:10px;background:#fff;padding:9px 10px;display:grid;gap:3px}
.crm-contact-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#7b8995;font-weight:850}
.crm-contact-grid strong{font-size:11px;color:#193248;overflow-wrap:anywhere}
.crm-contact-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.crm-contact-actions button{border:1px solid #cbded9;border-radius:9px;background:#f0f9f6;color:#087d70;padding:7px 10px;font:inherit;font-size:9px;font-weight:850;cursor:pointer}
.crm-contact-actions button:hover{background:#e4f5ef;border-color:#acd3c9}
.crm-contact-actions button.hidden{display:none!important}
@media(max-width:900px){.crm-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.crm-contact-grid{grid-template-columns:1fr}.crm-contact-actions{display:grid;grid-template-columns:1fr 1fr}.crm-contact-actions button{width:100%}.crm-search-field small{font-size:9px}}


/* v46.17.4 · Fecha real de alta del cliente separada de su relación con el restaurante */
@media(min-width:1200px){.crm-contact-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* v46.17.5 · edición de datos personales del cliente */
.customer-account-identity{position:relative}.customer-account-identity-copy{display:grid;gap:3px;min-width:0;flex:1}.customer-account-edit-profile{margin-left:auto;border:1px solid #cfe8e5;background:#eff8f7;color:#087e78;border-radius:10px;padding:9px 12px;font-weight:850;cursor:pointer;white-space:nowrap}.customer-account-edit-profile:hover{background:#e5f5f3}.customer-account-identity #customer-account-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}.customer-profile-card{width:min(560px,calc(100vw - 32px))}#customer-profile-modal{z-index:1320}#customer-profile-modal.hidden{display:none!important}#customer-profile-pin-field.hidden{display:none!important}
@media(max-width:720px){.customer-account-identity{align-items:flex-start;flex-wrap:wrap}.customer-account-edit-profile{width:100%;margin:5px 0 0}.customer-account-identity #customer-account-email{max-width:calc(100vw - 125px)}}

/* v46.18.0 · Cuenta profesional de personal/repartidor */
.courier-account-intro{margin:6px 0 0;color:#71808a;font-size:13px;line-height:1.45}.courier-professional-identity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 22px}.courier-professional-identity>div{border:1px solid #dfe7e9;background:#fbfcfc;border-radius:14px;padding:13px 14px;display:grid;gap:4px}.courier-professional-identity span,.courier-performance-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.65px;font-weight:850;color:#7a8790}.courier-professional-identity strong{font-size:14px;color:#142437;overflow-wrap:anywhere}.courier-account-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-top:1px solid #e5eaec;padding-top:20px;margin-top:8px}.courier-account-section-head.rewards{margin-top:24px}.courier-account-section-head h3{margin:3px 0 4px;font-size:19px}.courier-account-section-head p{margin:0;color:#74808a;font-size:12px;line-height:1.45}.courier-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.courier-performance-grid article{border:1px solid #dfe7e9;background:#fff;border-radius:15px;padding:14px;display:grid;gap:5px}.courier-performance-grid strong{font-size:22px;color:#132438}.courier-performance-grid small{font-size:11px;color:#7a8790;line-height:1.35}.courier-service-history-wrap{border:1px solid #dfe7e9;border-radius:17px;background:#fff;padding:15px 16px}.courier-service-history-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.courier-service-history-head h3{margin:0 0 4px;font-size:17px}.courier-service-history-head p{margin:0;color:#7b8790;font-size:12px}.courier-service-history-head>span{font-size:11px;color:#73808a;white-space:nowrap}.courier-service-history{display:grid;gap:8px}.courier-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:11px 12px;border:1px solid #e5eaec;border-radius:13px;background:#fbfcfc}.courier-history-row.cancelled{border-color:#f0d3cc;background:#fff8f6}.courier-history-row.test{border-style:dashed;background:#fbf9ff}.courier-history-main{display:grid;gap:3px;min-width:0}.courier-history-main>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.courier-history-main strong{font-size:14px;color:#16283b}.courier-history-main span{font-size:12px;font-weight:750;color:#2a3d4f}.courier-history-main small{font-size:11px;color:#7d8992;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.courier-history-state{display:grid;gap:3px;text-align:right}.courier-history-state strong{font-size:12px;color:#0a817a}.courier-history-row.cancelled .courier-history-state strong{color:#b65342}.courier-history-state span,.courier-history-state small{font-size:10px;color:#7d8992}.courier-history-test{display:inline-flex!important;align-items:center;border-radius:999px;background:#f1eaff;color:#7051a1!important;padding:3px 7px;font-size:9px!important;font-weight:850!important;letter-spacing:.3px}.courier-account-hub .account-balance-grid{margin-top:14px}
@media(max-width:900px){.courier-professional-identity,.courier-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.courier-professional-identity,.courier-performance-grid{grid-template-columns:1fr}.courier-service-history-head{display:grid}.courier-history-row{grid-template-columns:1fr}.courier-history-state{text-align:left;border-top:1px solid #e7ecee;padding-top:8px}.courier-history-main small{white-space:normal}.courier-account-section-head{display:grid}}


/* v46.18.2 · ficha y búsqueda del equipo de servicio */
.service-staff-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:center;margin:2px 0 4px}.service-staff-tools input{width:100%;box-sizing:border-box;border:1px solid #d4dfe3;border-radius:11px;padding:10px 12px;font:inherit}.service-staff-tools small{color:#71808d;white-space:nowrap}.courier-admin-actions .courier-view-profile{background:#eef8f7;color:#087e78;border-color:#cbe6e3}.restaurant-staff-profile-card{width:min(1060px,calc(100vw - 36px));max-height:92vh;overflow:auto}.restaurant-staff-profile-subtitle{margin:5px 0 0;color:#71808d;font-size:13px}.restaurant-staff-profile-loading{padding:30px;text-align:center;color:#71808d}.restaurant-staff-profile-content{display:grid;gap:14px}.restaurant-staff-profile-summary,.restaurant-staff-performance-grid,.restaurant-staff-wallet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.restaurant-staff-profile-summary>div,.restaurant-staff-performance-grid article,.restaurant-staff-wallet-grid article{border:1px solid #dfe7e9;background:#f8fbfb;border-radius:13px;padding:12px;display:grid;gap:5px}.restaurant-staff-profile-summary span,.restaurant-staff-performance-grid span,.restaurant-staff-wallet-grid span{font-size:10px;color:#71808d;text-transform:uppercase;letter-spacing:.04em}.restaurant-staff-profile-summary strong,.restaurant-staff-performance-grid strong,.restaurant-staff-wallet-grid strong{font-size:15px;color:#15263a}.restaurant-staff-profile-section{border:1px solid #dfe7e9;border-radius:15px;padding:15px;background:#fff;display:grid;gap:12px}.restaurant-staff-profile-section.security{background:#fffaf3;border-color:#f0dfc5}.restaurant-staff-profile-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.restaurant-staff-profile-section-head h3{margin:3px 0;font-size:18px}.restaurant-staff-profile-section-head p{margin:0;color:#71808d;font-size:12px}.restaurant-staff-profile-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.restaurant-staff-profile-form label,.restaurant-staff-pin-form label{display:grid;gap:5px}.restaurant-staff-profile-form label>span,.restaurant-staff-pin-form label>span{font-size:11px;font-weight:800}.restaurant-staff-profile-form input,.restaurant-staff-profile-form select,.restaurant-staff-pin-form input{width:100%;box-sizing:border-box;border:1px solid #d4dfe3;border-radius:10px;padding:10px 11px;background:#fff;font:inherit}.restaurant-staff-profile-actions{display:flex;gap:8px;flex-wrap:wrap}.restaurant-staff-profile-actions button,.restaurant-staff-pin-form button{border-radius:10px;padding:10px 13px;font-weight:800}.restaurant-staff-profile-actions .danger-soft{color:#a14235;background:#fff5f2;border:1px solid #f2d6cf}.restaurant-staff-pin-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.restaurant-staff-profile-help{margin:0;color:#8b6b40;font-size:11px}.restaurant-staff-performance-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.restaurant-staff-assignment-list{display:flex;gap:7px;flex-wrap:wrap}.restaurant-staff-assignment-list>span:not(.muted){display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef8f7;color:#087e78;font-size:11px;font-weight:800}.restaurant-staff-history{display:grid;gap:7px}.restaurant-staff-history-row{display:grid;grid-template-columns:1fr auto;gap:14px;border:1px solid #e1e8ea;border-radius:11px;padding:10px 11px}.restaurant-staff-history-row.cancelled{border-left:3px solid #d65a45}.restaurant-staff-history-row.test{border-style:dashed}.restaurant-staff-history-row>div{display:grid;gap:3px}.restaurant-staff-history-row>div:first-child>div{display:flex;gap:7px}.restaurant-staff-history-row strong{font-size:13px}.restaurant-staff-history-row span{font-size:9px;background:#f2eaff;color:#7353a1;border-radius:99px;padding:2px 6px;width:max-content}.restaurant-staff-history-row small{font-size:10px;color:#71808d}.restaurant-staff-history-row>div:last-child{text-align:right}.restaurant-staff-history-row b{font-size:11px;color:#183047}
@media(max-width:900px){.restaurant-staff-profile-summary,.restaurant-staff-wallet-grid{grid-template-columns:1fr 1fr}.restaurant-staff-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-staff-profile-form{grid-template-columns:1fr 1fr}.restaurant-staff-pin-form{grid-template-columns:1fr 1fr}.restaurant-staff-pin-form button{grid-column:1/-1}.service-staff-tools{grid-template-columns:1fr}}
@media(max-width:600px){.restaurant-staff-profile-card{width:100vw;max-height:100vh;border-radius:0}.restaurant-staff-profile-summary,.restaurant-staff-wallet-grid,.restaurant-staff-performance-grid,.restaurant-staff-profile-form,.restaurant-staff-pin-form{grid-template-columns:1fr}.restaurant-staff-history-row{grid-template-columns:1fr}.restaurant-staff-history-row>div:last-child{text-align:left}.restaurant-staff-profile-actions{display:grid}.service-staff-tools small{white-space:normal}}

/* v46.18.2 · Cuenta profesional editable y solicitudes de liquidación */
.courier-account-section-head.personal{margin-top:2px}.courier-profile-editor,.courier-pin-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.courier-profile-editor label,.courier-pin-editor label,.courier-payout-profile-grid label,.courier-payout-request-card label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#5f6e78}.courier-profile-editor input,.courier-pin-editor input,.courier-payout-profile-grid input,.courier-payout-profile-grid select,.courier-payout-request-card input{width:100%;box-sizing:border-box;border:1px solid #d7e0e3;border-radius:11px;background:#fff;padding:11px 12px;font:inherit;color:#142437}.courier-profile-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.courier-profile-actions button,.courier-pin-editor button,.courier-payout-request-card button{border:0;border-radius:11px;background:#ff5f43;color:#fff;padding:11px 15px;font-weight:850;cursor:pointer}.courier-profile-actions button:disabled,.courier-pin-editor button:disabled,.courier-payout-request-card button:disabled{opacity:.5;cursor:not-allowed}.courier-profile-actions span{font-size:11px;color:#6f7d86}.courier-pin-editor{border:1px solid #f1dcc7;background:#fff9f2;border-radius:15px;padding:14px}.courier-pin-editor button{align-self:end}.courier-payout-workspace{margin-top:14px}.courier-account-section-head.payout{margin-top:22px}.courier-payout-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.courier-payout-request-card{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:14px;align-items:end;border:1px solid #d9e9e5;background:#f5fbfa;border-radius:16px;padding:15px;margin:16px 0}.courier-payout-request-card>div{display:grid;gap:4px}.courier-payout-request-card>div>span{font-size:10px;text-transform:uppercase;letter-spacing:.65px;font-weight:850;color:#697984}.courier-payout-request-card strong{font-size:18px;color:#0a817a}.courier-payout-request-card small{font-size:11px;line-height:1.4;color:#70808a}.courier-payout-requests-wrap{border:1px solid #dfe7e9;border-radius:17px;background:#fff;padding:15px 16px}.courier-payout-request-list{display:grid;gap:8px}.courier-payout-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #e4eaec;border-radius:13px;padding:11px 12px;background:#fbfcfc}.courier-payout-request-row.requested,.courier-payout-request-row.reviewing{border-color:#ead9b1;background:#fffaf1}.courier-payout-request-row.paid{border-color:#cfe7de;background:#f5fbf9}.courier-payout-request-row.rejected,.courier-payout-request-row.cancelled{border-color:#efd6cf;background:#fff8f6}.courier-payout-request-row>div{display:grid;gap:3px}.courier-payout-request-row strong{font-size:14px;color:#17283a}.courier-payout-request-row span,.courier-payout-request-row small{font-size:11px;color:#74818a}.courier-payout-request-row .request-state{text-align:right}.courier-payout-request-row .request-state b{font-size:12px}.courier-payout-request-row button{border:1px solid #e3d1cb;background:#fff;color:#a24d3b;border-radius:9px;padding:7px 9px;font-weight:800;cursor:pointer;margin-top:5px}
@media(max-width:900px){.courier-profile-editor,.courier-pin-editor,.courier-payout-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.courier-payout-request-card{grid-template-columns:1fr 180px}.courier-payout-request-card button{grid-column:1/-1}}
@media(max-width:600px){.courier-profile-editor,.courier-pin-editor,.courier-payout-profile-grid,.courier-payout-request-card{grid-template-columns:1fr}.courier-payout-request-row{grid-template-columns:1fr}.courier-payout-request-row .request-state{text-align:left;border-top:1px solid #e8edef;padding-top:8px}}

/* v46.19.0 · Motor universal de crecimiento */
.universal-growth-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.universal-growth-actions button{border:1px solid #d8e3e5;background:#fff;color:#173044;border-radius:11px;padding:10px 13px;font-weight:850;cursor:pointer}.universal-growth-actions .catalog-primary,.universal-growth-actions button:first-child{background:#152234;color:#fff;border-color:#152234}.universal-referral-share-card{width:min(660px,calc(100vw - 36px))}.universal-referral-target-row{margin:15px 0}.universal-referral-target-row label{display:grid;gap:7px}.universal-referral-target-row label>span{font-size:12px;font-weight:850;color:#576676}.universal-referral-target-row select{width:100%;border:1px solid #d9e1e4;border-radius:12px;padding:12px;background:#fff;color:#17263a;font:inherit}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.platform-credit-source{background:#f4f0ff;margin:0 -7px;padding-left:7px;padding-right:7px}.restaurant-credit-payment-info .restaurant-credit-breakdown-row.platform-credit-source strong,.restaurant-credit-payment-info .restaurant-credit-breakdown-row.platform-credit-highlight strong{color:#6546b8}.prescriber-universal-code{color:#087e78!important;font-weight:800}.prescriber-actions .prescriber-share-platform,.prescriber-actions .prescriber-share-restaurant{border:1px solid #cfe4e1;background:#f1faf8;color:#087e78;border-radius:9px;padding:8px 10px;font-weight:800;cursor:pointer}.universal-referral-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:720px){.universal-growth-actions{width:100%;justify-content:stretch}.universal-growth-actions button{flex:1 1 100%}.universal-referral-summary{grid-template-columns:1fr!important}}

/* v46.20.0 · Entorno integral de prueba */
.customer-order-card.is-test{border-style:dashed;border-color:#cdbfea;background:linear-gradient(135deg,#fff,#fbf9ff)}
.customer-order-card.is-test .customer-order-head h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.order-detail-trial-note{margin:0 0 12px;border:1px dashed #c8b9e8;background:#fbf8ff;color:#654b93;border-radius:11px;padding:10px 12px;font-size:11px;font-weight:750;line-height:1.45}
@media(max-width:700px){.restaurant-preview-actions{gap:5px}.restaurant-preview-banner button,.restaurant-preview-banner a{padding:6px 8px;font-size:10px}}

/* v46.21.1 · decisión del momento de cobro tras aceptación */
.accept-payment-timing-modal,.customer-payment-timing-modal{z-index:2350}.accept-payment-timing-card,.customer-payment-timing-card{width:min(620px,calc(100vw - 30px));max-height:calc(100dvh - 30px);overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:var(--shadow)}.accept-payment-timing-card .payment-card-head,.customer-payment-timing-card .payment-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.accept-payment-timing-card .payment-card-head small,.customer-payment-timing-card .payment-card-head small{color:var(--coral);font-weight:900;letter-spacing:1px}.accept-payment-timing-card .payment-card-head h2,.customer-payment-timing-card .payment-card-head h2{margin:6px 0}.accept-payment-timing-card .payment-card-head p,.customer-payment-timing-card .payment-card-head p{margin:0;color:var(--muted);line-height:1.45}.accept-payment-close,.customer-payment-timing-close{border:0;background:#f0f1f2;border-radius:50%;width:38px;height:38px;font-size:25px;cursor:pointer}.accept-payment-timing-options,.customer-payment-timing-options{display:grid;gap:10px;margin:20px 0}.accept-payment-timing-options>button,.customer-payment-timing-options>button{display:grid;gap:4px;text-align:left;border:1px solid #dfe6e8;background:#fff;border-radius:15px;padding:15px 16px;cursor:pointer;color:var(--ink)}.accept-payment-timing-options>button:hover,.customer-payment-timing-options>button:hover,.accept-payment-timing-options>button.selected{border-color:var(--teal);box-shadow:0 0 0 3px #0daea510;background:#f4fbfa}.accept-payment-timing-options strong,.customer-payment-timing-options strong{font-size:15px}.accept-payment-timing-options span,.customer-payment-timing-options span{font-size:13px;color:var(--muted);line-height:1.4}.accept-payment-timing-options em{font-style:normal;font-size:11px;color:var(--teal);font-weight:850}.accept-payment-timing-card footer{display:flex;justify-content:flex-end;gap:10px}.accept-payment-confirm{border:0;background:linear-gradient(90deg,var(--coral),var(--coral2));color:#fff;border-radius:12px;padding:12px 18px;font-weight:850;cursor:pointer}.accept-payment-cancel{border:1px solid #dfe6e8;background:#fff;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}.customer-payment-timing-options>button{padding:18px}.customer-payment-timing-options>button strong{font-size:17px;color:var(--teal)}
@media(max-width:620px){.accept-payment-timing-modal,.customer-payment-timing-modal{padding:0}.accept-payment-timing-card,.customer-payment-timing-card{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:22px}.accept-payment-timing-card footer{display:grid;grid-template-columns:1fr}.accept-payment-confirm,.accept-payment-cancel{width:100%}}

/* v46.22.0.2 · timeline dinámico de hasta 7 hitos */
.success-card .timeline{column-gap:4px}
.success-card .timeline>div{min-width:0}
.success-card .timeline>div span{white-space:normal;line-height:1.15}
@media(max-width:600px){.success-card .timeline{overflow-x:auto;justify-content:start;padding-bottom:5px}.success-card .timeline>div{min-width:68px}}

/* v46.22.0.41 · Cuenta unificada CLI/COL · modal responsive sin scroll horizontal */
#customer-account-modal{overflow-x:hidden}
.customer-account-card{box-sizing:border-box;max-width:680px;overflow-y:auto;overflow-x:hidden}
.customer-account-card *{box-sizing:border-box;min-width:0}
.customer-account-card .account-balance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-account-card .customer-account-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.customer-account-card .customer-account-actions button{white-space:normal;overflow-wrap:anywhere;line-height:1.25}
.customer-account-card .account-share-card button{white-space:normal}
.customer-account-card strong,.customer-account-card small,.customer-account-card span,.customer-account-card p{overflow-wrap:anywhere}
.customer-professional-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
@media(max-width:720px){
  .customer-account-card .account-balance-grid{grid-template-columns:1fr}
  .customer-account-card .customer-account-actions{grid-template-columns:1fr}
  .customer-professional-head{flex-direction:column}
}

/* v46.22.0.46 — desglose de economía profesional multirrol */
.customer-professional-breakdown{margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.customer-professional-individual-wrap{margin-top:10px;display:grid;gap:8px}
.customer-professional-individual-wrap>strong{font-size:13px;color:#1a293d}
.customer-professional-incentive-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e8edef}
.customer-professional-incentive-row:last-child{border-bottom:0}
.customer-professional-incentive-row>div{display:grid;gap:3px;min-width:0}
.customer-professional-incentive-row>div:last-child{text-align:right}
.customer-professional-incentive-row strong{font-size:12px;color:#1a293d}
.customer-professional-incentive-row small{font-size:10px;color:#758391;line-height:1.35}
@media(max-width:650px){.customer-professional-breakdown{grid-template-columns:1fr}.customer-professional-incentive-row{grid-template-columns:1fr}.customer-professional-incentive-row>div:last-child{text-align:left}}

/* v46.22.0.54 — datos de cobro profesional COL en cuenta unificada */
.customer-professional-payout-wrap{margin-top:10px;display:grid;gap:10px}
.customer-professional-payout-wrap>strong{font-size:13px;color:#1a293d}
.customer-professional-payout-wrap>small{font-size:10px;color:#758391;line-height:1.4}
.customer-professional-payout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-professional-payout-grid .auth-field{margin:0}
.customer-professional-payout-grid input,.customer-professional-payout-grid select{width:100%}
.customer-professional-payout-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.customer-professional-payout-actions button{border:1px solid #b8ded8;background:#eff9f7;color:#007d73;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}
.customer-professional-payout-actions button:disabled{opacity:.6;cursor:wait}
.customer-professional-payout-actions small{font-size:10px;color:#758391}
@media(max-width:650px){.customer-professional-payout-grid{grid-template-columns:1fr}}

/* v46.22.0.56 — liquidación trazable del incentivo individual del restaurante */
.prescriber-settlement-card{width:min(720px,100%);max-height:min(88vh,820px);overflow:auto;background:#fff;border-radius:22px;box-shadow:var(--shadow);padding:24px;color:var(--ink)}
.prescriber-settlement-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.prescriber-settlement-head h2{margin:5px 0 6px;font-size:25px}.prescriber-settlement-head p{margin:0;color:var(--muted);font-size:13px}.prescriber-settlement-head>button{border:0;background:#f1f3f3;border-radius:12px;width:38px;height:38px;font-size:24px;cursor:pointer}
.prescriber-settlement-declared{margin:18px 0 14px;border:1px solid #dbe7e5;background:#f2fbf9;border-radius:13px;padding:12px 14px;display:grid;gap:4px}.prescriber-settlement-declared strong{font-size:12px}.prescriber-settlement-declared span{font-size:12px;color:#55706c}
.prescriber-settlement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prescriber-settlement-grid label,.prescriber-settlement-confirm{display:grid;gap:6px;font-size:12px;font-weight:800;color:#536171}.prescriber-settlement-grid input,.prescriber-settlement-grid select,.prescriber-settlement-confirm input{width:100%;box-sizing:border-box;border:1px solid #d6dfe2;border-radius:10px;padding:11px 12px;background:#fff;color:#182638;font:inherit;outline:none}.prescriber-settlement-grid input:focus,.prescriber-settlement-grid select:focus,.prescriber-settlement-confirm input:focus{border-color:#0daea5;box-shadow:0 0 0 3px rgba(13,174,165,.08)}.prescriber-settlement-grid input[readonly]{background:#f5f7f8;color:#536171}
.prescriber-settlement-confirm{margin-top:14px}.prescriber-settlement-confirm small{font-weight:500;color:#7d8792}.prescriber-settlement-warning{margin-top:14px;border:1px solid #efb5aa;background:#fff4f1;color:#9b4538;border-radius:12px;padding:12px 14px;display:grid;gap:4px;font-size:12px}.prescriber-settlement-warning span{font-size:11px}.prescriber-settlement-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.prescriber-settlement-actions button{border:0;border-radius:11px;padding:11px 15px;font-weight:900;cursor:pointer}.prescriber-settlement-actions .secondary{background:#eef1f1;color:#40505d}.prescriber-settlement-actions .danger{background:#b53b2d;color:#fff}.prescriber-settlement-actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){.prescriber-settlement-grid{grid-template-columns:1fr}.prescriber-settlement-card{padding:18px}.prescriber-settlement-actions{flex-direction:column-reverse}.prescriber-settlement-actions button{width:100%}}


/* v46.22.0.63 — acciones táctiles críticas del carrito */
.cart-drawer{
  height:100dvh;
  max-height:100dvh;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding-bottom:calc(20px + env(safe-area-inset-bottom));
}
.checkout,
.payment-submit{
  position:relative;
  z-index:4;
  min-height:52px;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  -webkit-user-select:none;
  cursor:pointer;
}
.cart-drawer .checkout{
  position:sticky;
  bottom:max(0px, env(safe-area-inset-bottom));
  z-index:8;
  isolation:isolate;
}
.checkout:not(:disabled):active,
.payment-submit:not(:disabled):active{
  transform:translateY(1px);
}
@media(max-width:600px){
  .cart-drawer{padding-bottom:calc(16px + env(safe-area-inset-bottom));}
  .cart-drawer .checkout{min-height:56px;}
}

/* v46.23.0 · Menús / combos de productos */
.catalog-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
.catalog-menus-panel{margin-bottom:16px}
.catalog-menu-head{align-items:center}
.catalog-menu-create{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:16px;padding:16px;border:1px solid #dfe7e9;border-radius:16px;background:#f8fbfb;margin-bottom:18px}
.catalog-menu-fields{display:grid;grid-template-columns:1.25fr .75fr;gap:10px;align-content:start}
.catalog-menu-fields label,.catalog-menu-edit-grid label{display:grid;gap:6px;color:#526070;font-size:11px;font-weight:800}
.catalog-menu-fields input,.catalog-menu-fields textarea,.catalog-menu-edit-grid input,.catalog-menu-edit-grid textarea{width:100%;box-sizing:border-box;border:1px solid #d7dfe3;border-radius:10px;background:#fff;color:#152234;padding:10px 11px;font:inherit;outline:none}
.catalog-menu-fields textarea,.catalog-menu-edit-grid textarea{min-height:78px;resize:vertical}
.catalog-menu-description{grid-column:1/-1}
.catalog-menu-composition{display:grid;gap:10px;align-content:start}
.catalog-menu-composition>div:first-child{display:grid;gap:3px}.catalog-menu-composition>div:first-child strong{font-size:13px;color:#152234}.catalog-menu-composition>div:first-child small{color:#71808d;line-height:1.4}
.catalog-menu-product-picker{display:grid;gap:7px;max-height:310px;overflow:auto;padding-right:4px}
.catalog-menu-product-option{display:grid!important;grid-template-columns:auto minmax(0,1fr) 76px;align-items:center;gap:9px;padding:9px 10px!important;border:1px solid #e0e7e9;border-radius:11px;background:#fff;color:#26394a!important;cursor:pointer}
.catalog-menu-product-option.is-retired{background:#fafafa;opacity:.72}.catalog-menu-product-option>input[type="checkbox"]{width:auto!important;accent-color:#0daea5}.catalog-menu-product-option>span{display:grid;gap:2px}.catalog-menu-product-option b{font-size:12px}.catalog-menu-product-option small{font-size:10px;color:#7a8792;line-height:1.3}.catalog-menu-product-qty{width:76px!important;text-align:center}
.catalog-menu-create>.catalog-primary{grid-column:1/-1;justify-self:end;min-width:170px}
.catalog-menu-existing-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 11px;padding-top:4px}.catalog-menu-existing-head>div{display:grid;gap:3px}.catalog-menu-existing-head small{color:#7a8792}.catalog-menu-existing-head>b{display:grid;place-items:center;min-width:34px;height:28px;border-radius:999px;background:#eef7f6;color:#087e78}
.catalog-menu-list{display:grid;gap:12px}.catalog-menu-row{border:1px solid #dfe6e9;border-radius:15px;padding:14px;display:grid;gap:13px;background:#fff}.catalog-menu-row.is-disabled{background:#fafafa;opacity:.82}
.catalog-menu-summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center}.catalog-menu-thumb{width:58px;height:58px;border-radius:13px;background:#eef7f6;overflow:hidden;display:grid;place-items:center;font-size:26px}.catalog-menu-thumb img{width:100%;height:100%;object-fit:cover}.catalog-menu-summary>div:nth-child(2){display:grid;gap:3px}.catalog-menu-summary strong{font-size:15px}.catalog-menu-summary small{color:#6e7e89}.catalog-menu-summary p{margin:0;color:#7d8994;font-size:11px;line-height:1.35}.catalog-menu-summary>b{font-size:16px;color:#0d1b2f;white-space:nowrap}
.catalog-menu-edit-grid{display:grid;grid-template-columns:1.25fr .75fr .5fr 1fr;gap:9px}.catalog-menu-edit-grid .catalog-menu-description{grid-column:1/-1}.catalog-menu-composition.compact{padding:12px;border:1px solid #e4eaec;border-radius:13px;background:#fbfdfd}.catalog-menu-composition.compact .catalog-menu-product-picker{max-height:250px}.catalog-menu-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f2;padding-top:11px}

.product-card[data-menu-category="Menús"]{border-color:#cfe5df;background:linear-gradient(180deg,#fff 0%,#f8fdfb 100%)}
.product-card[data-menu-category="Menús"] .product-info>small:first-child{color:#087e78;font-weight:900}.product-card[data-menu-category="Menús"] .product-footer strong{color:#0a7d75}
.cart-menu-badge,.order-menu-badge{display:inline-flex;align-items:center;width:max-content;padding:2px 6px;border-radius:999px;background:#e9f8f5;color:#087e78;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.5px;vertical-align:middle}
.cart-menu-components{display:block!important;color:#647784!important;line-height:1.4!important;margin:3px 0 2px}.cart-menu-line{background:#fbfefd}.order-menu-components{margin:5px 0 0 22px;padding:0;list-style:none;color:#657684;font-size:11px;display:grid;gap:2px}.order-menu-item>.order-menu-components li{padding:0}
.customer-order-detail-item.is-menu,.order-detail-items article.is-menu{background:#f7fcfb;border-color:#d8ebe7}.customer-order-menu-components,.order-detail-menu-components{display:grid;gap:2px;margin:5px 0 2px;padding-left:2px}.customer-order-menu-components>span,.order-detail-menu-components>span{font-size:9px;font-weight:900;color:#087e78;text-transform:uppercase;letter-spacing:.5px}.customer-order-menu-components small,.order-detail-menu-components small{color:#61727f!important;font-size:11px!important}

@media(max-width:1150px){.catalog-kpis{grid-template-columns:repeat(3,1fr)}.catalog-menu-create{grid-template-columns:1fr}.catalog-menu-edit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.catalog-kpis{grid-template-columns:1fr 1fr}.catalog-menu-fields,.catalog-menu-edit-grid{grid-template-columns:1fr}.catalog-menu-description{grid-column:auto}.catalog-menu-product-option{grid-template-columns:auto minmax(0,1fr) 68px}.catalog-menu-create>.catalog-primary{width:100%;justify-self:stretch;min-height:44px}.catalog-menu-summary{grid-template-columns:52px minmax(0,1fr)}.catalog-menu-summary>b{grid-column:2}.catalog-menu-actions{display:grid;grid-template-columns:1fr}.catalog-menu-actions button{width:100%}}
@media(max-width:460px){.catalog-kpis{grid-template-columns:1fr}.catalog-menu-product-picker{max-height:360px}}

/* v46.23.0.2 — composición visual de menús */
.menu-bundle-card .product-info{gap:0}
.menu-component-list{display:grid;gap:7px;margin:2px 0 18px;padding-top:2px}
.menu-component-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:4px 0;border-bottom:1px solid #e8efed}
.menu-component-item:last-child{border-bottom:0}
.menu-component-item img,.menu-component-placeholder{width:44px;height:44px;border-radius:10px;object-fit:cover;background:#eef5f3;border:1px solid #dce8e4}
.menu-component-placeholder{display:grid;place-items:center;font-size:19px}
.menu-component-item span{font-size:13px;line-height:1.25;color:var(--ink);font-weight:700}
.menu-component-item b{font-size:12px;color:#65737c;white-space:nowrap}
.menu-bundle-card .product-footer{padding-top:4px}
@media(max-width:600px){
  .menu-component-list{gap:5px;margin-bottom:14px}
  .menu-component-item{grid-template-columns:38px minmax(0,1fr) auto;gap:9px;min-height:38px}
  .menu-component-item img,.menu-component-placeholder{width:38px;height:38px;border-radius:9px}
  .menu-component-item span{font-size:12.5px}
}

/* v46.23.0.4 — tarjeta de menú compacta + detalle desplegable */
.menu-bundle-card .product-info{gap:8px}
.menu-details-toggle{width:max-content;max-width:100%;border:1px solid #cfe5df;background:#f4fbf9;color:#087e78;border-radius:999px;padding:7px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.2s}
.menu-details-toggle:hover{background:#eaf7f4;border-color:#b8ddd5}
.menu-details-toggle:focus-visible{outline:3px solid rgba(8,126,120,.18);outline-offset:2px}
.menu-component-list.hidden{display:none!important}
.menu-bundle-card .menu-component-list{margin:2px 0 8px;padding:9px 10px;border:1px solid #e3efec;border-radius:12px;background:#fbfefd}
.menu-bundle-card .menu-component-item{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;min-height:36px;padding:4px 0}
.menu-bundle-card .menu-component-item img,.menu-bundle-card .menu-component-placeholder{width:36px;height:36px;border-radius:8px}
.menu-bundle-card .menu-component-item span{font-size:12px}
.menu-bundle-card .menu-component-item b{font-size:11px}
@media(max-width:700px){
  .menu-details-toggle{min-height:38px;padding:8px 13px}
  .menu-bundle-card .menu-component-item{grid-template-columns:34px minmax(0,1fr) auto}
  .menu-bundle-card .menu-component-item img,.menu-bundle-card .menu-component-placeholder{width:34px;height:34px}
}

/* v46.23.0.5 · Presentación configurable de carta */
.catalog-presentation-panel{margin-top:18px}
.catalog-presentation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.catalog-presentation-box{border:1px solid #dfe7e9;border-radius:14px;padding:15px;background:#f9fcfc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.catalog-presentation-box>strong,.catalog-presentation-box>small{grid-column:1/-1}
.catalog-presentation-box>small{color:#71808b;line-height:1.4}
.catalog-presentation-box label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#526070}
.catalog-presentation-box select{min-height:40px;border:1px solid #d7e0e3;border-radius:10px;background:#fff;padding:0 10px;font:inherit;color:#152234}
.catalog-presentation-actions{display:flex;align-items:center;gap:12px;margin-top:12px}
#catalog-presentation-status{font-size:12px;color:#087e78;font-weight:800}
@media(max-width:760px){.catalog-presentation-grid{grid-template-columns:1fr}.catalog-presentation-box{grid-template-columns:1fr}.catalog-presentation-box>strong,.catalog-presentation-box>small{grid-column:auto}.catalog-presentation-actions{align-items:stretch;flex-direction:column}.catalog-presentation-actions button{width:100%}}

/* Densidad de la carta pública. La configuración solo cambia presentación. */
#public-menu-grid.catalog-view-large{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#public-menu-grid.catalog-view-large .product-card.dynamic-product{min-height:330px;grid-template-columns:48% 1fr}
#public-menu-grid.catalog-view-large .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-large .product-card.dynamic-product .dish-icon{min-height:330px}
#public-menu-grid.catalog-view-medium{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#public-menu-grid.catalog-view-medium .product-card.dynamic-product{min-height:285px;grid-template-columns:42% 1fr}
#public-menu-grid.catalog-view-medium .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-medium .product-card.dynamic-product .dish-icon{min-height:285px}
#public-menu-grid.catalog-view-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
#public-menu-grid.catalog-view-compact .product-card.dynamic-product{min-height:215px;grid-template-columns:38% 1fr;border-radius:16px}
#public-menu-grid.catalog-view-compact .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-compact .product-card.dynamic-product .dish-icon{min-height:215px}
#public-menu-grid.catalog-view-compact .product-info{padding:16px}
#public-menu-grid.catalog-view-compact .product-info h3{font-size:18px}
#public-menu-grid.catalog-view-compact .product-info p{font-size:12px;margin-bottom:12px}
#public-menu-grid.catalog-view-compact .product-footer>strong{font-size:15px}
@media(max-width:1100px){#public-menu-grid.catalog-view-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){#public-menu-grid.catalog-view-large,#public-menu-grid.catalog-view-medium{grid-template-columns:1fr}}
@media(max-width:600px){#public-menu-grid.catalog-view-large,#public-menu-grid.catalog-view-medium,#public-menu-grid.catalog-view-compact{grid-template-columns:1fr}#public-menu-grid.catalog-view-large .product-card.dynamic-product,#public-menu-grid.catalog-view-medium .product-card.dynamic-product,#public-menu-grid.catalog-view-compact .product-card.dynamic-product{grid-template-columns:1fr;min-height:0}#public-menu-grid.catalog-view-large .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-large .product-card.dynamic-product .dish-icon{height:280px;min-height:0}#public-menu-grid.catalog-view-medium .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-medium .product-card.dynamic-product .dish-icon{height:220px;min-height:0}#public-menu-grid.catalog-view-compact .product-card.dynamic-product .product-image,#public-menu-grid.catalog-view-compact .product-card.dynamic-product .dish-icon{height:150px;min-height:0;padding:10px}#public-menu-grid.catalog-view-compact .product-image img{width:118px;height:118px;cursor:zoom-in}}

/* v46.23.0.6 · ampliación de foto en carta cliente */
.customer-photo-hover-preview{position:fixed;z-index:9998;border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 24px 70px rgba(18,32,46,.28);pointer-events:none}.customer-photo-hover-preview img{width:100%;height:100%;object-fit:cover;display:block}.customer-photo-lightbox{position:fixed;inset:0;z-index:10050;background:rgba(9,17,28,.78);display:grid;place-items:center;padding:24px;backdrop-filter:blur(3px)}.customer-photo-lightbox img{max-width:min(900px,92vw);max-height:88vh;object-fit:contain;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.45);background:#fff}.customer-photo-lightbox-close{position:fixed;top:max(18px,env(safe-area-inset-top));right:18px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#132238;font-size:30px;line-height:1;box-shadow:0 10px 30px rgba(0,0,0,.2);cursor:pointer}@media(max-width:600px){.customer-photo-hover-preview{display:none!important}.customer-photo-lightbox{padding:14px}.customer-photo-lightbox img{max-width:96vw;max-height:82vh;border-radius:15px}}


/* v46.24.0 · Cuenta abierta / múltiples pedidos */
.customer-open-account-card{
  border:1px solid rgba(16,185,129,.28);background:linear-gradient(180deg,#f3fffb 0%,#fff 100%);
  border-radius:18px;padding:16px;margin:0 0 14px;box-shadow:0 10px 28px rgba(15,23,42,.06)
}
.customer-open-account-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.customer-open-account-head small{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#0f9f84}
.customer-open-account-head h3{margin:3px 0 2px;font-size:18px}
.customer-open-account-head span,.customer-open-account-copy{color:#64748b;font-size:13px}
.customer-open-account-head>strong{font-size:20px;color:#0f766e;white-space:nowrap}
.customer-open-account-copy{margin-top:10px;line-height:1.45}
.customer-open-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.customer-open-account-actions button{border:1px solid #d8e4e2;background:#fff;border-radius:11px;padding:10px 14px;font-weight:750;cursor:pointer}
.customer-open-account-actions .open-account-request-bill{background:#0f766e;color:#fff;border-color:#0f766e}
.customer-open-account-actions button:disabled{opacity:.55;cursor:not-allowed}
.account-closing-chip{display:inline-flex;border-radius:999px;background:#fff2df;color:#9a6700;padding:7px 10px;font-weight:750;font-size:12px}
@media(max-width:640px){
  .customer-open-account-head{align-items:flex-start}
  .customer-open-account-head>strong{font-size:17px}
  .customer-open-account-actions{display:grid;grid-template-columns:1fr}
  .customer-open-account-actions button{width:100%;min-height:46px}
}


/* v46.24.0.1 · Acciones del seguimiento de cuenta abierta */
.success-card .success-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px}
.success-card .success-actions button{margin-top:0;border:0;border-radius:12px;font-weight:800;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.success-card .success-actions .success-order-more{background:#16a36a;color:#fff;padding:14px 24px;font-size:15px;box-shadow:0 7px 18px rgba(22,163,106,.18)}
.success-card .success-actions .success-order-more:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(22,163,106,.24)}
.success-card .success-actions .success-orders-link{background:var(--ink);color:#fff;padding:11px 16px;font-size:13px;min-width:auto}
.success-card .success-actions .success-account-detail{background:#fff;color:var(--ink);border:1px solid #cdd6df;padding:11px 16px;font-size:13px;min-width:auto}
.success-card .success-actions .success-account-detail:hover{transform:translateY(-1px);border-color:#9eabb8}
.success-card .success-actions .success-orders-link:hover{transform:translateY(-1px)}
.success-card .success-actions .success-primary-action{background:var(--ink);color:#fff;padding:13px 28px;font-size:14px}
.success-card .success-actions button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.customer-open-account-actions .open-account-more{background:#16a36a;color:#fff;border-color:#16a36a}
.customer-open-account-actions .open-account-more:hover{filter:brightness(.97)}
@media(max-width:520px){
  .success-card .success-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}
  .success-card .success-actions .success-order-more{width:100%;padding:14px 16px}
  .success-card .success-actions .success-orders-link{white-space:nowrap;padding:11px 13px}
}

/* v46.24.1 · ampliar una única cuenta abierta */
.cart-account-extension{margin:0 0 14px;padding:14px;border:1px solid #b7e7df;border-radius:14px;background:#f4fbf9}
.cart-account-extension>div:first-child{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}
.cart-account-extension>div:first-child small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#168d7f}
.cart-account-extension>div:first-child strong{font-size:15px;color:#183047}
.cart-existing-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #dbeeea}
.cart-existing-line div{display:flex;flex-direction:column;gap:2px}.cart-existing-line small{color:#6f7f8d}.cart-existing-line>span{font-weight:800;white-space:nowrap}
.cart-existing-line.is-rejected{opacity:.58;text-decoration:line-through}.cart-existing-line.is-rejected>span{color:#b94f47}
.cart-account-existing-total{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;margin-top:8px;padding-top:10px;border-top:1px solid #b7e7df;color:#173a37}
.cart-new-round-title{display:flex!important;flex-direction:column!important;gap:3px!important;margin:14px -14px -14px;padding:12px 14px;background:#fff;border-radius:0 0 14px 14px;border-top:1px solid #dbeeea}
.cart-new-round-title strong{color:#15283c}.cart-new-round-title small{color:#748395}
.cart-add-more-empty{margin:8px 0 0;color:#748395}
.account-round-badge{display:inline-block;margin-left:6px;padding:3px 7px;border-radius:999px;background:#eaf8f5;color:#0d8779;font-size:10px;font-style:normal;font-weight:800;vertical-align:middle}
.order-card>ul>li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.order-card>ul>li>span:first-child{min-width:0}.order-card>ul>li.is-rejected{opacity:.62;text-decoration:line-through}
.order-item-rejected{display:block;margin-top:3px;color:#b94f47;font-size:11px;font-weight:700;text-decoration:none}
.reject-account-item{flex:0 0 auto;border:1px solid #e3a39d;background:#fff5f4;color:#a23b33;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer}
.reject-account-item:hover{background:#fee9e7}.reject-account-item:disabled{opacity:.55;cursor:wait}
@media(max-width:680px){.order-card>ul>li{align-items:center}.reject-account-item{padding:7px 8px}.cart-account-extension{padding:12px}}

/* v46.24.1.1 · una cuenta abierta se representa como una sola tarjeta operativa. */
.order-card.has-new-extension{border-color:#f0a12b;box-shadow:0 0 0 2px rgba(240,161,43,.12)}
.account-rounds-panel{margin:12px 0;border:1px solid #dce5e8;border-radius:12px;overflow:hidden;background:#f8fbfb}
.account-rounds-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#eef7f6;border-bottom:1px solid #dce5e8}
.account-rounds-title strong{font-size:13px;color:#183047}.account-rounds-title span{font-size:11px;color:#607184}
.account-round{padding:11px 12px;border-top:1px solid #e1e8ea;background:#fff}
.account-round:first-of-type{border-top:0}.account-round.is-new{background:#fff9ef;border-left:4px solid #f0a12b}
.account-round-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}
.account-round-head>div{display:flex;flex-direction:column;gap:2px}.account-round-head small{font-size:10px;font-weight:800;letter-spacing:.06em;color:#e17f00}.account-round-head strong{font-size:13px;color:#15263b}.account-round-head>span{font-size:12px;font-weight:800;color:#15263b;white-space:nowrap}
.account-round ul{margin:5px 0 8px;padding:0;list-style:none}.account-round .route-controls{margin-top:8px}.account-round-controls button{font-size:12px}
.account-round-done{font-size:12px;font-weight:700;color:#10856b}.account-round-cancelled{font-size:12px;font-weight:700;color:#b1483f}

/* v46.24.1.7 · Historial del cliente consolidado por cuenta, no por ronda técnica. */
.customer-account-history-card{margin:0 0 16px;padding:18px;border:1px solid #d9e4e5;border-radius:16px;background:#fff}
.customer-account-history-card.is-cancelled{border-color:#efd4d0;background:#fffdfd}
.customer-account-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.customer-account-history-head>div{min-width:0;display:flex;flex-direction:column;gap:3px}.customer-account-history-head small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#0d8b7a}.customer-account-history-card.is-cancelled .customer-account-history-head small{color:#b44840}.customer-account-history-head h3{margin:0;font-size:18px;color:#16263a}.customer-account-history-head span{font-size:12px;color:#738191}.customer-account-history-head>strong{font-size:18px;color:#14283c;white-space:nowrap}
.customer-account-history-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:10px;background:#eaf8f5;color:#0b7f70;font-size:12px;margin-bottom:10px}.customer-account-history-card.is-cancelled .customer-account-history-state{background:#fff0ed;color:#ae433b}
.customer-account-history-rounds{border-top:1px solid #e5eaec}.customer-account-history-round{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #e5eaec}.customer-account-history-round>span{display:flex;flex-direction:column;gap:2px}.customer-account-history-round b{font-size:13px;color:#1d2e42}.customer-account-history-round small{font-size:11px;color:#7a8795}.customer-account-history-round>strong{font-size:13px;white-space:nowrap}.customer-account-history-round.is-cancelled{opacity:.58;text-decoration:line-through}

.customer-account-history-round.is-collapsed-round{display:none}.customer-account-history-round.is-collapsed-round.is-expanded-round{display:flex}.account-history-rounds-toggle{margin:10px 0 0;border:0;background:transparent;color:#0b7f70;font-weight:800;font-size:12px;cursor:pointer;padding:4px 0}.account-history-rounds-toggle:hover{text-decoration:underline}
.customer-account-history-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#71808f;font-size:11px}.customer-account-history-footer button{border:1px solid #ccd8dd;background:#fff;color:#14283c;border-radius:9px;padding:8px 11px;font-weight:800;cursor:pointer;white-space:nowrap}
@media(max-width:620px){.customer-account-history-card{padding:14px}.customer-account-history-head{gap:10px}.customer-account-history-head>strong{font-size:16px}.customer-account-history-footer{align-items:flex-start;flex-direction:column}.customer-account-history-footer button{width:100%}}
.customer-open-account-rounds{margin:10px 0;border-top:1px solid #dbe9e8}.customer-open-account-round{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #dbe9e8}.customer-open-account-round>span{display:flex;flex-direction:column;gap:2px}.customer-open-account-round b{font-size:12px;color:#173047}.customer-open-account-round small{font-size:10px;color:#748392}.customer-open-account-round>strong{font-size:12px;white-space:nowrap}.customer-open-account-round.is-cancelled{opacity:.58;text-decoration:line-through}

/* v46.24.1.11 · detalle consolidado de cuenta */
.customer-account-detail-round-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.customer-account-detail-round-head h3{margin:0}.customer-account-detail-round-head small{display:block;margin-top:3px;color:var(--muted,#718096)}.customer-account-detail-round.is-cancelled{opacity:.72}.customer-account-detail-round.is-cancelled .customer-order-detail-item{text-decoration:line-through}.customer-account-detail-note{margin-top:12px;padding:12px 14px;border-radius:10px;background:#eefaf8;color:#167d73;font-size:.9rem}

/* v46.24.1.12 · agrupar rondas canceladas en detalle de cuenta */
.customer-account-cancelled-group{display:grid;gap:10px;margin-top:2px}
.customer-account-cancelled-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #eadfd5;border-radius:12px;background:#fffaf5;color:#263746;text-align:left;cursor:pointer;font:inherit}
.customer-account-cancelled-toggle>span{display:grid;gap:3px;min-width:0}
.customer-account-cancelled-toggle b{font-size:13px;color:#5d5148}
.customer-account-cancelled-toggle small{font-size:10px;color:#8a7768;font-weight:600}
.customer-account-cancelled-toggle>strong{flex:0 0 auto;font-size:11px;color:#0b7f73}
.customer-account-cancelled-toggle:hover{border-color:#dac8b8;background:#fff7ef}
.customer-account-cancelled-toggle:focus-visible{outline:3px solid rgba(11,127,115,.18);outline-offset:2px}
.customer-account-cancelled-rounds{display:grid;gap:14px}
.customer-account-cancelled-rounds[hidden]{display:none!important}
.customer-account-no-valid-rounds{padding:12px 14px;border:1px dashed #d8e2df;border-radius:11px;background:#fafcfb}
@media(max-width:640px){.customer-account-cancelled-toggle{align-items:flex-start;flex-direction:column}.customer-account-cancelled-toggle>strong{align-self:flex-start}}

/* v46.24.1.14 · Estado de líneas en detalle de cuenta */
.customer-account-line-status{display:block;margin-top:3px;font-size:11px;font-weight:700}
.customer-account-line-status.is-valid{color:#0d8b74}
.customer-account-line-status.is-rejected{color:#c84b3a}
.customer-account-line-status.is-partial{color:#a56b00}
.customer-order-detail-item.is-cancelled .customer-account-line-amount.is-rejected{text-decoration:line-through;opacity:.65}
.customer-order-detail-item.is-partial{background:#fffaf0}
@media(max-width:680px){.success-card .success-actions .success-account-detail{width:100%;padding:11px 14px}}


/* v46.24.1.16 · seguimiento multinivel de cuenta y rondas */
.success-card.account-tracking-mode{width:min(720px,calc(100vw - 40px));max-height:calc(100vh - 36px);overflow:auto;text-align:left}
.success-card.account-tracking-mode>.success-icon,.success-card.account-tracking-mode>.eyebrow,.success-card.account-tracking-mode>h2,.success-card.account-tracking-mode>p{text-align:center}
.success-card.account-tracking-mode>.success-icon{margin-left:auto;margin-right:auto}
.success-card.account-tracking-mode>.timeline{max-width:560px;margin-left:auto;margin-right:auto}
.success-card.account-tracking-mode>.eta{text-align:center}
.success-account-overview{display:grid;gap:10px;margin-top:16px;text-align:left}
.success-account-overview.hidden{display:none}
.success-account-rounds-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--ink);font-size:13px}
.success-account-rounds-head span{color:var(--muted);font-size:12px}
.success-account-round{border:1px solid #dbe5e8;border-radius:14px;padding:12px 13px;background:#fff}
.success-account-round.is-cancelled{background:#fff7f4;border-color:#f0d2c7}
.success-account-round-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.success-account-round-head>div{display:grid;gap:2px}
.success-account-round-head b{font-size:13px;color:var(--ink)}
.success-account-round-head small{font-size:11px;color:var(--muted)}
.success-account-round-head>strong{font-size:12px;white-space:nowrap}
.success-round-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:10px}
.success-round-timeline span{display:flex;flex-direction:column;align-items:center;gap:4px;position:relative;color:#8a96a3;font-size:9px;text-align:center;min-width:0}
.success-round-timeline span:before{content:"";position:absolute;top:5px;left:-50%;width:100%;height:2px;background:#e4e8e9;z-index:0}
.success-round-timeline span:first-child:before{display:none}
.success-round-timeline i{width:11px;height:11px;border-radius:50%;border:2px solid #d9e0e3;background:#fff;z-index:1}
.success-round-timeline em{font-style:normal;line-height:1.1}
.success-round-timeline span.done{color:var(--teal);font-weight:800}
.success-round-timeline span.done i{background:var(--teal);border-color:var(--teal)}
.success-round-timeline span.done:before{background:var(--teal)}
.success-round-cancelled{margin-top:9px;padding:7px 9px;border-radius:9px;background:#fff0ea;color:#a64a2f;font-size:11px;font-weight:800}
@media(max-width:680px){
  .success-card.account-tracking-mode{padding:24px 18px;width:min(100%,calc(100vw - 22px))}
  .success-round-timeline{overflow-x:auto;grid-template-columns:repeat(5,minmax(62px,1fr));padding-bottom:3px}
  .success-account-round-head{gap:8px}
}


/* v46.25.1 · Identidad del establecimiento visible en preview y producción */
.storefront-logo-wrap{width:96px;height:96px;border-radius:24px;background:#fff;border:1px solid rgba(19,34,56,.12);display:grid;place-items:center;padding:10px;margin-bottom:18px;box-shadow:0 16px 40px rgba(19,34,56,.10)}
.storefront-logo-wrap.hidden{display:none!important}
.storefront-logo-wrap img{width:100%;height:100%;object-fit:contain;display:block;border-radius:16px}
@media(max-width:760px){.storefront-logo-wrap{width:76px;height:76px;border-radius:20px;padding:8px;margin-bottom:14px}.storefront-logo-wrap img{border-radius:13px}}


/* v46.25.1.22 · filtros operativos del catálogo */
.catalog-product-tools{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(210px,.85fr) auto;gap:10px;align-items:end;margin:0 0 14px;padding:12px;border:1px solid #dfe7e9;border-radius:14px;background:#f8fbfb}.catalog-product-tool{display:grid;gap:5px}.catalog-product-tool>span{font-size:11px;font-weight:800;color:#596875}.catalog-product-tool input,.catalog-product-tool select{width:100%;min-height:40px;border:1px solid #d6e0e3;border-radius:10px;background:#fff;color:#172234;padding:8px 11px;font:inherit}.catalog-product-tool input:focus,.catalog-product-tool select:focus{outline:3px solid rgba(13,174,165,.14);border-color:#65bdb6}.catalog-product-tool-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:40px}.catalog-product-results{font-size:12px;font-weight:800;color:#55706e;white-space:nowrap}.catalog-product-tool-actions .catalog-secondary:disabled{opacity:.45;cursor:not-allowed}.catalog-product-search-tool input::-webkit-search-cancel-button{cursor:pointer}
@media(max-width:900px){.catalog-product-tools{grid-template-columns:1fr 1fr}.catalog-product-tool-actions{grid-column:1/-1;justify-content:space-between}}
@media(max-width:620px){.catalog-product-tools{grid-template-columns:1fr}.catalog-product-tool-actions{grid-column:auto;align-items:stretch;flex-direction:column}.catalog-product-results{white-space:normal}.catalog-product-tool-actions .catalog-secondary{width:100%}}
/* v46.25.1.24 · gestión rápida del catálogo */
.catalog-product-tools{position:relative;border:2px solid #9fdad4;background:linear-gradient(180deg,#f4fffd 0%,#f8fbfb 100%);box-shadow:0 8px 22px rgba(13,174,165,.08)}
.catalog-product-tools-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 2px 4px}.catalog-product-tools-head>div{display:grid;gap:2px}.catalog-product-tools-head strong{font-size:17px;color:#172234}.catalog-product-tools-head small{font-size:12px;color:#61717d}.catalog-product-tools-head .eyebrow{font-size:10px;color:#ff5f45;letter-spacing:1.2px}
.catalog-product-search-tool input{font-weight:700;border-color:#87cbc5;background:#fff}.catalog-product-search-tool input::placeholder{font-weight:500}.catalog-product-search-tool span{color:#0b7f78}
.catalog-bulk-prices{margin:0 0 16px;padding:14px;border:1px solid #e1e7e9;border-radius:14px;background:#fff9f5}.catalog-bulk-prices-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px}.catalog-bulk-prices-head>div{display:grid;gap:2px}.catalog-bulk-prices-head strong{font-size:16px;color:#172234}.catalog-bulk-prices-head small{font-size:12px;color:#687782}.catalog-bulk-prices-head .eyebrow{font-size:10px;color:#ff5f45;letter-spacing:1.2px}.catalog-bulk-prices-grid{display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(210px,1fr) minmax(150px,.55fr) auto;gap:10px;align-items:end}.catalog-bulk-prices-grid label{display:grid;gap:5px}.catalog-bulk-prices-grid label>span{font-size:11px;font-weight:800;color:#596875}.catalog-bulk-prices-grid input,.catalog-bulk-prices-grid select{width:100%;min-height:40px;border:1px solid #d6e0e3;border-radius:10px;background:#fff;color:#172234;padding:8px 11px;font:inherit}.catalog-bulk-prices-grid input:focus,.catalog-bulk-prices-grid select:focus{outline:3px solid rgba(255,95,69,.12);border-color:#f1a190}.catalog-bulk-price-preview{margin-top:12px;padding:12px;border-radius:12px;border:1px solid #bfe5df;background:#f1fbf9;display:flex;align-items:center;justify-content:space-between;gap:16px}.catalog-bulk-price-preview-copy{display:grid;gap:4px;min-width:0}.catalog-bulk-price-preview-copy>strong{font-size:14px;color:#0c766f}.catalog-bulk-price-preview-copy>small{font-size:12px;color:#60706f}.catalog-bulk-price-preview-copy ul{display:flex;flex-wrap:wrap;gap:7px 14px;margin:4px 0 0;padding:0;list-style:none}.catalog-bulk-price-preview-copy li{display:flex;gap:6px;font-size:12px}.catalog-bulk-price-preview-copy li span{color:#44525e}.catalog-bulk-price-preview-copy li b{color:#172234}.catalog-bulk-price-preview-copy em{font-size:11px;color:#71807d}.catalog-bulk-price-error{font-size:12px;font-weight:700;color:#a3442f}.catalog-save-return{border-color:#acd8d3!important;color:#0b7f78!important;background:#f4fffd!important}.catalog-back-to-tools{position:fixed;right:22px;bottom:22px;z-index:45;border:0;border-radius:999px;background:#10253c;color:#fff;padding:12px 17px;font:inherit;font-size:13px;font-weight:800;box-shadow:0 12px 28px rgba(16,37,60,.22);cursor:pointer}.catalog-back-to-tools:hover{transform:translateY(-1px)}
@media(max-width:980px){.catalog-bulk-prices-grid{grid-template-columns:1fr 1fr}.catalog-bulk-prices-grid>button{min-height:40px}.catalog-bulk-price-preview{align-items:stretch;flex-direction:column}.catalog-bulk-price-preview>button{width:100%}}
@media(max-width:620px){.catalog-product-tools-head small,.catalog-bulk-prices-head small{font-size:11px}.catalog-bulk-prices-grid{grid-template-columns:1fr}.catalog-back-to-tools{right:12px;bottom:12px}.catalog-product-action-buttons{flex-wrap:wrap}.catalog-product-action-buttons .catalog-save-return{width:100%}}


/* v46.25.1.25 · previsualización segura de importación de catálogo */
.catalog-import-panel{margin:14px 0 18px;padding:16px;border:1px solid #cfdde0;border-radius:16px;background:#f7fbfb;box-shadow:0 8px 24px rgba(17,42,62,.04)}
.catalog-import-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.catalog-import-head>div{display:flex;flex-direction:column;gap:3px}.catalog-import-head strong{font-size:16px;color:#112a3e}.catalog-import-head small{color:#66788a;line-height:1.4;max-width:980px}.catalog-import-mode{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#e8f5f3;color:#087c77;font-size:12px;font-weight:800;white-space:nowrap}
.catalog-import-rules{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.catalog-import-rules span{padding:6px 9px;border-radius:9px;background:#fff;border:1px solid #dbe6e8;color:#405568;font-size:12px;font-weight:700}
.catalog-import-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.catalog-import-file-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:9px;background:#0aa99e;color:#fff;font-weight:800;font-size:13px;cursor:pointer;border:1px solid #0aa99e}.catalog-import-file-button:hover{filter:brightness(.96)}.catalog-import-file-status{font-size:12px;color:#66788a;min-width:220px}.catalog-import-note{margin:10px 0 0;padding:9px 11px;border-radius:10px;background:#fff8e8;border:1px solid #f0ddb0;color:#695124;font-size:12px;line-height:1.45}
.catalog-import-ai-assistant{margin:12px 0 0;padding:13px;border:1px solid #cfe0ef;border-radius:13px;background:#f3f8fd}.catalog-import-ai-copy{display:flex;flex-direction:column;gap:3px}.catalog-import-ai-copy strong{color:#112a3e;font-size:15px}.catalog-import-ai-copy small{color:#60758a;line-height:1.45;max-width:1000px}.catalog-import-ai-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;margin-top:10px}.catalog-import-ai-controls label{display:flex;flex-direction:column;gap:4px;min-width:250px}.catalog-import-ai-controls label span{font-size:11px;font-weight:800;color:#52697a}.catalog-import-ai-controls select{min-height:38px;border:1px solid #cbd9e3;border-radius:9px;background:#fff;padding:0 10px;color:#20384a}.catalog-import-chatgpt-open{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:9px;background:#102a43;color:#fff!important;font-size:13px;font-weight:800;text-decoration:none}.catalog-import-chatgpt-open:hover{filter:brightness(1.08)}.catalog-import-ai-steps{margin:11px 0 0;padding-left:22px;color:#435c70;font-size:12px;line-height:1.5}.catalog-import-ai-steps li+li{margin-top:3px}.catalog-import-ai-assistant>p{margin:9px 0 0;padding-top:9px;border-top:1px solid #dbe8f2;color:#52697a;font-size:12px;line-height:1.45}
@media(max-width:900px){.catalog-import-ai-controls{align-items:stretch;flex-direction:column}.catalog-import-ai-controls label,.catalog-import-ai-controls button,.catalog-import-chatgpt-open{width:100%;min-width:0}.catalog-import-ai-controls select{width:100%}}
.catalog-import-preview{margin-top:14px;padding-top:14px;border-top:1px solid #d8e4e6}.catalog-import-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.catalog-import-summary h3{margin:2px 0 4px;font-size:18px;color:#112a3e}.catalog-import-summary p{margin:0;color:#657789;font-size:13px}.catalog-import-kpis{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;margin:12px 0}.catalog-import-kpis article{background:#fff;border:1px solid #dce6e8;border-radius:11px;padding:10px 12px}.catalog-import-kpis span{display:block;color:#6d7c89;font-size:11px}.catalog-import-kpis strong{display:block;margin-top:2px;font-size:20px;color:#112a3e}.catalog-import-kpis article.has-errors{border-color:#efb5ae;background:#fff4f1}.catalog-import-kpis article.has-errors strong{color:#c74738}
.catalog-import-new-categories{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:#eef8f7;margin:8px 0}.catalog-import-new-categories strong{white-space:nowrap;color:#087c77}.catalog-import-new-categories span{color:#4e6575;font-size:12px;line-height:1.45}.catalog-import-warning{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:#fff8e8;border:1px solid #f0ddb0;margin:8px 0;color:#695124;font-size:12px}.catalog-import-warning.danger{background:#fff1ef;border-color:#efb5ae;color:#8a3429}.catalog-import-warning strong{white-space:nowrap}.catalog-import-table-wrap{overflow:auto;max-height:430px;margin-top:10px;border:1px solid #d9e4e6;border-radius:11px;background:#fff}.catalog-import-table{width:100%;border-collapse:collapse;font-size:12px}.catalog-import-table th{position:sticky;top:0;z-index:1;background:#eff6f6;text-align:left;padding:9px;border-bottom:1px solid #d9e4e6;color:#455b6b}.catalog-import-table td{padding:9px;border-bottom:1px solid #edf1f2;vertical-align:top;color:#243b4d}.catalog-import-table td small{display:block;margin-top:3px;color:#7a8894;max-width:520px}.catalog-import-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-weight:800;font-size:10px}.catalog-import-status.new{background:#e5f5ef;color:#087a63}.catalog-import-status.match{background:#fff0cf;color:#8b5b00}.catalog-import-status.error{background:#fde4e1;color:#b13b2f}.catalog-import-row-error{background:#fffafa}.catalog-import-row-match{background:#fffdf7}.catalog-import-limit{font-size:11px;color:#758492;margin:7px 0}.catalog-import-next{display:flex;gap:10px;align-items:flex-start;margin-top:10px;padding:10px 12px;border-radius:10px;background:#eef3f8;color:#405568;font-size:12px}.catalog-import-next strong{white-space:nowrap;color:#112a3e}
@media(max-width:900px){.catalog-import-head,.catalog-import-summary{flex-direction:column}.catalog-import-mode{white-space:normal}.catalog-import-kpis{grid-template-columns:repeat(2,1fr)}.catalog-import-actions{align-items:stretch}.catalog-import-actions>*{width:100%}.catalog-import-file-status{min-width:0}.catalog-import-new-categories,.catalog-import-warning,.catalog-import-next{flex-direction:column}}
/* v46.25.1.27 · importación controlada del catálogo */
.catalog-import-kpis-six{grid-template-columns:repeat(6,minmax(100px,1fr))}
.catalog-import-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0;padding:11px 12px;border:1px solid #d5e3e5;border-radius:11px;background:#fff}
.catalog-import-selection-tools>div:first-child{display:flex;flex-direction:column;gap:2px}.catalog-import-selection-tools strong{color:#112a3e}.catalog-import-selection-tools span{font-size:12px;color:#66788a}
.catalog-import-selection-buttons{display:flex;gap:7px;flex-wrap:wrap}.catalog-import-exclude-matches{border-color:#e5c477!important;background:#fff8e8!important;color:#7b5700!important}
.catalog-import-include-cell{text-align:center;width:64px}.catalog-import-include-cell input{width:17px;height:17px;accent-color:#0aa99e;cursor:pointer}
.catalog-import-row-new.is-excluded,.catalog-import-row-match.is-excluded{opacity:.48;background:#f6f7f7}.catalog-import-row-new.is-excluded td,.catalog-import-row-match.is-excluded td{text-decoration-color:#9aa7ae}
.catalog-import-row-action{width:100%;min-width:190px;max-width:280px;border:1px solid #cfdde0;border-radius:8px;background:#fff;padding:7px 8px;color:#20384a;font-size:12px}.catalog-import-row-action:focus{outline:2px solid rgba(10,169,158,.2);border-color:#0aa99e}.catalog-import-action-fixed{display:inline-flex;padding:6px 8px;border-radius:8px;background:#edf7f5;color:#087c77;font-weight:800;font-size:11px}.catalog-import-action-fixed.muted{background:#f3f4f5;color:#7c8992}
.catalog-import-review-bar{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #cadbde;border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(17,42,62,.10)}.catalog-import-review-bar span{font-size:12px;color:#52697a;font-weight:700}.catalog-import-review-button,.catalog-import-confirm{border:0;border-radius:9px;background:#102a43;color:#fff;font-weight:800;padding:10px 14px;cursor:pointer}.catalog-import-review-button:hover,.catalog-import-confirm:hover{filter:brightness(1.06)}
.catalog-import-final{margin-top:12px;padding:14px;border:1px solid #9fd6cf;border-radius:13px;background:#f0fbf9}.catalog-import-final>div:first-child{display:flex;flex-direction:column;gap:3px}.catalog-import-final>div:first-child>strong{font-size:16px;color:#0c615b}.catalog-import-final small{color:#5e7880}.catalog-import-final.danger{border-color:#efb5ae;background:#fff4f1;color:#8a3429}.catalog-import-final.danger span{display:block;margin-top:4px;font-size:12px}.catalog-import-final-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px;margin:12px 0}.catalog-import-final-grid article{background:#fff;border:1px solid #d8e8e6;border-radius:10px;padding:9px 10px}.catalog-import-final-grid span{display:block;font-size:11px;color:#6d7c89}.catalog-import-final-grid strong{display:block;margin-top:2px;font-size:19px;color:#112a3e}.catalog-import-final p{margin:8px 0;font-size:12px;color:#4d6872}.catalog-import-final-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.catalog-import-confirm{background:#0aa99e}.catalog-import-confirm:disabled{opacity:.55;cursor:wait}
@media(max-width:1050px){.catalog-import-kpis-six{grid-template-columns:repeat(3,1fr)}.catalog-import-final-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.catalog-import-selection-tools,.catalog-import-review-bar{align-items:stretch;flex-direction:column}.catalog-import-selection-buttons{display:grid;grid-template-columns:1fr}.catalog-import-selection-buttons button,.catalog-import-review-button{width:100%}.catalog-import-kpis-six,.catalog-import-final-grid{grid-template-columns:repeat(2,1fr)}.catalog-import-final-actions{flex-direction:column}.catalog-import-final-actions button{width:100%}.catalog-import-row-action{min-width:160px}}


/* v46.25.1.28 · cancelación y actualización parcial segura */
.catalog-import-cancel{border:1px solid #efb5ae;border-radius:9px;background:#fff4f1;color:#b13b2f;font-weight:800;padding:9px 12px;cursor:pointer}
.catalog-import-cancel:hover{background:#ffe9e5}.catalog-import-cancel:disabled{opacity:.55;cursor:not-allowed}
.catalog-import-keep{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef3f8;color:#52697a;font-size:10px;font-weight:800;white-space:nowrap}
@media(max-width:760px){.catalog-import-cancel{width:100%}}

/* v46.25.1.33 · Historial y trazabilidad de importaciones */
.catalog-import-history{margin-top:16px;padding-top:14px;border-top:1px solid #d8e4e6}
.catalog-import-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}
.catalog-import-history-head>div:first-child{display:flex;flex-direction:column;gap:3px}.catalog-import-history-head strong{font-size:15px;color:#112a3e}.catalog-import-history-head small{color:#66788a;line-height:1.45;max-width:900px}.catalog-import-history-head>div:last-child{display:flex;align-items:center;gap:9px}.catalog-import-history-head>div:last-child>span{font-size:12px;color:#66788a;font-weight:700;white-space:nowrap}
.catalog-import-history-list{display:flex;flex-direction:column;gap:9px}.catalog-import-history-empty{margin:0;padding:12px;border:1px dashed #cfdde0;border-radius:10px;background:#fff;color:#66788a;font-size:12px}.catalog-import-history-empty.error{border-color:#efb5ae;background:#fff4f1;color:#9f352a}
.catalog-import-history-row{border:1px solid #dbe6e8;border-radius:12px;background:#fff;overflow:hidden}.catalog-import-history-row.failed{border-color:#efc1bb}.catalog-import-history-main{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(330px,1fr) auto;align-items:center;gap:12px;padding:11px 12px}.catalog-import-history-title{display:flex;flex-direction:column;gap:3px;min-width:0}.catalog-import-history-title>strong{color:#112a3e;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-import-history-title>small{color:#70818e;font-size:11px;line-height:1.35}.catalog-import-history-status{align-self:flex-start;display:inline-flex;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:900}.catalog-import-history-status.completed{background:#e5f5ef;color:#087a63}.catalog-import-history-status.warning{background:#fff0cf;color:#8b5b00}.catalog-import-history-status.failed{background:#fde4e1;color:#b13b2f}
.catalog-import-history-counts{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.catalog-import-history-counts span{display:inline-flex;align-items:baseline;gap:4px;padding:5px 7px;border-radius:8px;background:#f3f7f8;color:#52697a;font-size:11px}.catalog-import-history-counts span b{color:#112a3e;font-size:13px}.catalog-import-history-counts span.warning{background:#fff6df;color:#805a00}.catalog-import-history-detail-button{white-space:nowrap}
.catalog-import-history-detail{border-top:1px solid #e4ecee;background:#f8fbfb;padding:12px}.catalog-import-history-detail-card{display:flex;flex-direction:column;gap:10px}.catalog-import-history-detail-meta{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:8px}.catalog-import-history-detail-meta span{display:flex;flex-direction:column;gap:2px;padding:8px 9px;border-radius:9px;background:#fff;border:1px solid #e0e9ea;color:#516879;font-size:11px;min-width:0}.catalog-import-history-detail-meta b{color:#253f52;font-size:10px;text-transform:uppercase;letter-spacing:.03em}.catalog-import-history-detail-meta code{font-size:10px;word-break:break-all;color:#405568}.catalog-import-history-incident{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border:1px solid #efb5ae;border-radius:9px;background:#fff4f1;color:#8a3429;font-size:12px}.catalog-import-history-incident strong{white-space:nowrap}.catalog-import-history-categories{margin:0;padding:8px 10px;border-radius:9px;background:#eef8f7;color:#49666a;font-size:12px}.catalog-import-history-detail-section h5{margin:0 0 6px;color:#314b5d;font-size:12px}.catalog-import-history-detail-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.catalog-import-history-detail-items article{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:7px;row-gap:2px;padding:8px 9px;border:1px solid #e0e9ea;border-radius:9px;background:#fff;min-width:0}.catalog-import-history-detail-items article>span{grid-row:1 / span 3;align-self:start;padding:3px 5px;border-radius:6px;background:#eef3f8;color:#52697a;font-size:9px;font-weight:900;text-transform:uppercase}.catalog-import-history-detail-items strong{font-size:11px;color:#20384a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-import-history-detail-items small{font-size:10px;color:#778793;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-import-history-detail-items small.incident{color:#9f352a;white-space:normal}.catalog-import-history-empty-detail{margin:0;color:#7a8994;font-size:11px}
@media(max-width:1100px){.catalog-import-history-main{grid-template-columns:1fr}.catalog-import-history-detail-button{justify-self:start}.catalog-import-history-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-import-history-detail-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.catalog-import-history-head,.catalog-import-history-head>div:last-child{flex-direction:column;align-items:stretch}.catalog-import-history-head>div:last-child>span{white-space:normal}.catalog-import-history-detail-meta,.catalog-import-history-detail-items{grid-template-columns:1fr}.catalog-import-history-detail-button{width:100%}}

/* v46.25.1.34 · Carta y precios más compacta e intuitiva */
.catalog-products-panel{padding:15px}.catalog-products-panel>.catalog-products-head{margin-bottom:9px}.catalog-products-panel>.catalog-products-head h2{font-size:19px}.catalog-products-panel>.catalog-products-head p{max-width:920px}
.catalog-advanced-tools{margin:0 0 11px;border:1px solid #dbe4e7;border-radius:13px;background:#f8fafb;overflow:hidden}.catalog-advanced-tools>summary{list-style:none}.catalog-advanced-tools>summary::-webkit-details-marker{display:none}.catalog-advanced-tools-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 12px;cursor:pointer;user-select:none}.catalog-advanced-tools-summary>div{display:grid;gap:1px}.catalog-advanced-tools-summary .eyebrow{font-size:9px;color:#ff5f45;letter-spacing:1.1px}.catalog-advanced-tools-summary strong{font-size:14px;color:#20384a}.catalog-advanced-tools-summary small{font-size:11px;color:#75848e}.catalog-advanced-tools-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#eef3f5;color:#5e707d;font-size:10px;font-weight:800;white-space:nowrap}.catalog-advanced-tools-summary::after{content:'⌄';font-size:19px;font-weight:900;color:#58707d;line-height:1;transition:transform .18s ease}.catalog-advanced-tools[open]>.catalog-advanced-tools-summary{background:#f2f7f7;border-bottom:1px solid #dbe4e7}.catalog-advanced-tools[open]>.catalog-advanced-tools-summary::after{transform:rotate(180deg)}.catalog-advanced-tools-body{padding:11px}.catalog-advanced-tools-body>.catalog-bulk-prices{margin:0 0 10px}.catalog-advanced-tools-body>.catalog-import-panel{margin:0}
.catalog-daily-management{margin:0 0 8px;border:1px solid #b9dcd8;border-radius:13px;background:#f7fdfc;overflow:hidden}.catalog-daily-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px 7px}.catalog-daily-head>div:first-child{display:grid;gap:1px}.catalog-daily-head .eyebrow{font-size:9px;color:#ff5f45;letter-spacing:1.1px}.catalog-daily-head strong{font-size:15px;color:#172f40}.catalog-daily-head small{font-size:11px;color:#657982}.catalog-daily-management .catalog-product-filters{flex:none}.catalog-daily-management .catalog-product-filter{padding:6px 9px;font-size:11px}.catalog-daily-management .catalog-product-filter b{min-width:19px;height:19px;font-size:10px}.catalog-daily-management .catalog-product-tools{margin:0;padding:8px 11px 10px;border:0;border-top:1px solid #dbeceb;border-radius:0;background:transparent;box-shadow:none}.catalog-daily-management .catalog-product-tool input,.catalog-daily-management .catalog-product-tool select{min-height:37px;padding:7px 10px}.catalog-daily-management .catalog-product-tool-actions{min-height:37px}
.catalog-product-list{gap:7px}.catalog-product-row{display:block;padding:0;overflow:hidden;border-radius:12px;background:#fff}.catalog-product-row.is-disabled{opacity:1;background:#fbfbfb}.catalog-product-row>summary{list-style:none}.catalog-product-row>summary::-webkit-details-marker{display:none}.catalog-product-summary{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;cursor:pointer;min-height:44px}.catalog-product-summary:hover{background:#f7fbfb}.catalog-product-row[open]>.catalog-product-summary{background:#f4fbfa;border-bottom:1px solid #e0ecec}.catalog-product-thumb{width:44px;height:44px;border-radius:10px;font-size:19px}.catalog-product-summary-copy{min-width:0}.catalog-product-summary-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-product-summary-copy small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-product-status{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:5px 7px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.catalog-product-status.active{background:#e7f6f1;color:#087a63}.catalog-product-status.sold-out{background:#fff2d8;color:#8c5d00}.catalog-product-status.retired{background:#eef1f3;color:#6b7881}.catalog-product-summary-action{display:inline-flex;align-items:center;gap:5px;color:#46616e;font-size:11px;font-weight:800;white-space:nowrap}.catalog-product-summary-action b{font-size:15px;line-height:1;transition:transform .18s ease}.catalog-product-row[open] .catalog-product-summary-action b{transform:rotate(180deg)}.catalog-product-edit-body{display:grid;gap:11px;padding:11px 12px 12px}.catalog-product-edit-body .catalog-product-edit-grid textarea{min-height:58px}.catalog-product-edit-body .catalog-product-actions{padding-top:10px}.catalog-product-edit-body .catalog-stock-editor{padding-top:9px;padding-bottom:9px}.catalog-product-edit-body .catalog-existing-image-editor{padding-top:9px;padding-bottom:9px}
@media(max-width:900px){.catalog-daily-head{align-items:flex-start;flex-direction:column}.catalog-daily-management .catalog-product-filters{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.catalog-advanced-tools-summary{grid-template-columns:minmax(0,1fr) auto}.catalog-advanced-tools-badge{display:none}.catalog-product-summary{grid-template-columns:42px minmax(0,1fr) auto auto}.catalog-product-thumb{width:42px;height:42px}}
@media(max-width:620px){.catalog-products-panel{padding:11px}.catalog-advanced-tools-summary{padding:10px}.catalog-advanced-tools-summary small{display:none}.catalog-daily-head{padding:9px 9px 6px}.catalog-daily-head small{display:none}.catalog-daily-management .catalog-product-tools{padding:8px 9px 9px}.catalog-product-summary{grid-template-columns:40px minmax(0,1fr) auto;padding:8px}.catalog-product-thumb{width:40px;height:40px}.catalog-product-status{display:none}.catalog-product-summary-action{grid-column:3;grid-row:1}.catalog-product-edit-body{padding:10px}.catalog-product-summary-copy small{white-space:normal;line-height:1.25}.catalog-product-action-buttons{display:grid;width:100%}.catalog-product-action-buttons button{width:100%}}

/* v46.25.1.35 · Centro compacto de Carta y precios */
#catalog-dashboard .dashboard-header{margin-bottom:9px}
#catalog-dashboard .dashboard-header h1{margin-bottom:3px}
#catalog-dashboard .dashboard-header p{margin-top:3px}
#catalog-dashboard .catalog-kpis{gap:8px;margin-bottom:10px}
#catalog-dashboard .catalog-kpis article{padding:10px 12px;border-radius:12px}
#catalog-dashboard .catalog-kpis span{font-size:10px;margin-bottom:2px}
#catalog-dashboard .catalog-kpis strong{font-size:17px}
#catalog-dashboard .catalog-kpis article:last-child strong{font-size:12px}
.catalog-command-center{position:sticky;top:8px;z-index:18;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:0 0 10px;padding:7px;background:rgba(247,250,251,.96);backdrop-filter:blur(9px);border:1px solid #d8e4e6;border-radius:14px;box-shadow:0 5px 16px rgba(22,52,64,.07)}
.catalog-command{min-width:0;min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 8px;border:1px solid #d8e2e5;border-radius:10px;background:#fff;color:#294350;font:inherit;font-size:11px;font-weight:850;cursor:pointer;transition:.16s ease;white-space:nowrap}
.catalog-command:hover{border-color:#87c9c4;background:#f4fbfa;transform:translateY(-1px)}
.catalog-command.is-active{border-color:#0ba79d;background:#eaf8f6;color:#08776f;box-shadow:inset 0 0 0 1px rgba(11,167,157,.08)}
.catalog-command b,.catalog-command small{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf3f4;color:#60737d;font-size:10px;font-weight:900;line-height:1}
.catalog-command.is-active b,.catalog-command.is-active small{background:#0ba79d;color:#fff}
.catalog-center-managed{display:block;margin:0}
.catalog-center-managed>.catalog-panel{margin:0 0 10px}
#catalog-dashboard [data-catalog-center-panel="presentation"],#catalog-dashboard [data-catalog-center-panel="menus"],#catalog-dashboard [data-catalog-center-panel="products"]{margin-bottom:10px}
#catalog-dashboard [data-catalog-center-panel]>.catalog-panel-head{margin-bottom:10px}
#catalog-dashboard [data-catalog-center-panel]>.catalog-panel-head h2{font-size:18px}
#catalog-dashboard [data-catalog-center-panel]>.catalog-panel-head p{font-size:11px}
.catalog-products-panel>.catalog-products-head{margin-bottom:7px}
.catalog-products-panel>.catalog-products-head p{display:none}
.catalog-products-panel #catalog-advanced-tools{display:none}
.catalog-products-panel.catalog-tool-mode-import #catalog-advanced-tools,.catalog-products-panel.catalog-tool-mode-prices #catalog-advanced-tools,.catalog-products-panel.catalog-tool-mode-history #catalog-advanced-tools{display:block;margin:0;border:0;background:transparent;overflow:visible}
.catalog-products-panel.catalog-tool-mode-import .catalog-products-head,.catalog-products-panel.catalog-tool-mode-prices .catalog-products-head,.catalog-products-panel.catalog-tool-mode-history .catalog-products-head{display:none}
.catalog-products-panel.catalog-tool-mode-import .catalog-daily-management,.catalog-products-panel.catalog-tool-mode-prices .catalog-daily-management,.catalog-products-panel.catalog-tool-mode-history .catalog-daily-management,.catalog-products-panel.catalog-tool-mode-import #catalog-product-list,.catalog-products-panel.catalog-tool-mode-prices #catalog-product-list,.catalog-products-panel.catalog-tool-mode-history #catalog-product-list,.catalog-products-panel.catalog-tool-mode-import #catalog-back-to-tools,.catalog-products-panel.catalog-tool-mode-prices #catalog-back-to-tools,.catalog-products-panel.catalog-tool-mode-history #catalog-back-to-tools{display:none!important}
.catalog-products-panel .catalog-advanced-tools-summary{display:none!important}
.catalog-products-panel .catalog-advanced-tools-body{padding:0}
.catalog-tool-mode-prices #catalog-import-panel{display:none}
.catalog-tool-mode-import .catalog-advanced-tools-body>.catalog-bulk-prices,.catalog-tool-mode-history .catalog-advanced-tools-body>.catalog-bulk-prices{display:none}
.catalog-tool-mode-import .catalog-import-history{display:none}
.catalog-tool-mode-history .catalog-import-panel>:not(.catalog-import-history){display:none!important}
.catalog-tool-mode-history .catalog-import-panel{margin:0;padding:0;border:0;background:transparent}
.catalog-tool-mode-history .catalog-import-history{margin:0}
.catalog-daily-management{margin-bottom:7px}
.catalog-daily-head{padding-top:7px;padding-bottom:5px}
.catalog-daily-head small{display:none}
.catalog-daily-management .catalog-product-tools{padding-top:7px;padding-bottom:8px}
.catalog-product-list{gap:5px}
.catalog-product-summary{min-height:40px;padding:6px 9px}
.catalog-product-thumb{width:38px;height:38px}
.catalog-product-summary-copy strong{font-size:12px}
.catalog-product-summary-copy small{font-size:10px}
.catalog-product-status{padding:4px 6px;font-size:9px}
.catalog-product-summary-action{font-size:10px}
@media(max-width:1450px){.catalog-command-center{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.catalog-command-center{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px}.catalog-command{justify-content:space-between;padding:8px 10px}.catalog-command-center{backdrop-filter:none}#catalog-dashboard .catalog-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.catalog-command-center{grid-template-columns:1fr 1fr}.catalog-command{font-size:10px}#catalog-dashboard .catalog-kpis article{padding:8px 10px}}
.catalog-tool-mode-history .catalog-import-history{padding-top:0;border-top:0}

/* v46.25.1.36 · Navegación del restaurante estable en escritorio y usable en móvil */
.restaurant-mobile-menu-toggle{display:none;align-items:center;gap:8px;border:1px solid #d5e1e3;background:#fff;color:#173044;border-radius:11px;padding:9px 12px;font-weight:850;box-shadow:0 3px 12px rgba(18,31,43,.06)}
.restaurant-mobile-menu-toggle>span{font-size:20px;line-height:1}.restaurant-mobile-menu-toggle>b{font-size:12px}
.restaurant-nav-backdrop{display:none;position:fixed;inset:0;border:0;background:rgba(10,25,39,.54);backdrop-filter:blur(2px);z-index:1540;padding:0;margin:0}
.restaurant-mobile-menu-close{display:none;border:0;background:#ffffff12;color:#fff;width:38px;height:38px;border-radius:10px;font-size:26px;line-height:1;align-items:center;justify-content:center}

/* El lateral deja de crecer con todo el contenido de la pantalla. El centro puede
   desplazarse, mientras identidad y cierre de sesión permanecen visibles. */
#restaurant-view>.dashboard-nav{position:sticky;top:0;height:calc(100vh - 76px);max-height:calc(100vh - 76px);min-height:0;overflow:hidden;padding:0;gap:0;align-self:start;z-index:40}
.dashboard-nav-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 18px 12px}
.dashboard-nav-head .brand.inverse{margin:0;min-width:0}
.dashboard-nav-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 12px 12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#415166 transparent}
.dashboard-nav-scroll::-webkit-scrollbar{width:6px}.dashboard-nav-scroll::-webkit-scrollbar-thumb{background:#415166;border-radius:999px}
.dashboard-nav-scroll>p{font-size:10px;color:#8290a0;letter-spacing:1px;margin:10px 10px 8px}
.dashboard-nav-scroll>button,.dashboard-nav-scroll>a{display:block;width:100%;border:0;background:transparent;color:#aeb7c2;text-align:left;padding:11px 12px;border-radius:9px;text-decoration:none;font:inherit;cursor:pointer}
.dashboard-nav-scroll>button.active,.dashboard-nav-scroll>button:hover,.dashboard-nav-scroll>a.active,.dashboard-nav-scroll>a:hover{background:#ffffff12;color:#fff}
.dashboard-nav-scroll>a[data-dashboard-tab="payments"].active + .dashboard-config-submenu,.dashboard-nav-scroll>a[data-dashboard-tab="payments"]:hover + .dashboard-config-submenu,.dashboard-config-submenu:hover{display:grid;gap:3px}
.dashboard-nav-footer{flex:0 0 auto;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #ffffff18;background:#102033;box-shadow:0 -10px 22px rgba(5,17,29,.16)}
.dashboard-nav-footer .restaurant-mini{margin:0;padding:0;border:0;min-width:0}
.dashboard-nav-footer .restaurant-mini>div{min-width:0;flex:1}
.dashboard-nav-footer .restaurant-mini b,.dashboard-nav-footer .restaurant-mini small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.dashboard-nav-footer .restaurant-logout{display:block;width:100%;margin:10px 0 0;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.04);color:#fff;border-radius:10px;padding:10px 12px;font-weight:800}
.dashboard-nav-footer .restaurant-logout:hover{background:rgba(255,255,255,.1)}
body.restaurant-nav-open{overflow:hidden;touch-action:none}

@media(max-width:1000px){
  /* Sustituye el antiguo display:none: el lateral pasa a ser un drawer. */
  #restaurant-view>.dashboard-nav{display:flex;position:fixed;left:0;top:0;bottom:0;width:min(330px,88vw);height:100dvh;max-height:100dvh;transform:translateX(-104%);transition:transform .22s ease;z-index:1550;box-shadow:18px 0 50px rgba(6,20,34,.25);align-self:auto}
  #restaurant-view>.dashboard-nav.mobile-open{transform:translateX(0)}
  .restaurant-mobile-menu-close{display:inline-flex}
  .restaurant-nav-backdrop:not(.hidden){display:block}
  .restaurant-mobile-menu-toggle:not(.hidden){display:inline-flex}
  .dashboard-nav-head{padding-top:calc(16px + env(safe-area-inset-top))}
  .dashboard-nav-scroll>button,.dashboard-nav-scroll>a{padding:12px;font-size:14px}
  .dashboard-nav-scroll>p{margin-top:6px}
  .dashboard-nav-footer{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
}

@media(max-width:600px){
  .restaurant-mobile-menu-toggle{padding:8px 10px;border-radius:10px}
  .restaurant-mobile-menu-toggle>b{display:none}
  .restaurant-mobile-menu-toggle>span{font-size:22px}
  #restaurant-view>.dashboard-nav{width:min(318px,90vw)}
}

/* v46.25.1.37 · Pedidos más compactos y operativos */
#orders-dashboard .orders-dashboard-header{align-items:flex-end;gap:18px;margin-bottom:8px}
#orders-dashboard .orders-dashboard-header h1{margin:4px 0 2px}
#orders-dashboard .orders-dashboard-header p{margin:0;color:#728190;font-size:11px;line-height:1.4}
.orders-command-center{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 9px;padding:6px;border:1px solid #d8e4e6;border-radius:13px;background:#f8fbfb;box-shadow:0 4px 13px rgba(22,52,64,.05)}
.orders-command{min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid #d9e3e6;border-radius:9px;background:#fff;color:#314957;font:inherit;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap;transition:.16s ease}
.orders-command:hover{border-color:#8dcec9;background:#f2fbfa}
.orders-command.is-active{border-color:#0aa79d;background:#e8f8f6;color:#08776f;box-shadow:inset 0 0 0 1px rgba(10,167,157,.07)}
.orders-command b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#edf3f4;color:#657782;font-size:9px;font-weight:900}
.orders-command.is-active b{background:#0aa79d;color:#fff}
.orders-command.has-items:not(.is-active) b{background:#fff0e9;color:#dd5938}
#orders-dashboard .orders-payment-queue{margin:0 0 9px;padding:9px 12px;border-radius:12px;background:#fbfcfc}
#orders-dashboard .orders-payment-queue .payment-queue-head{margin:0;min-height:30px}
#orders-dashboard .orders-payment-queue .payment-queue-head>div{font-size:11px}
#orders-dashboard .orders-payment-queue .payment-queue-head strong{min-width:20px;height:20px;font-size:10px}
#orders-dashboard .orders-payment-queue .payment-queue-head small{font-size:10px}
#orders-dashboard .orders-payment-queue:not(.has-items) .payment-pending-list{display:none}
#orders-dashboard .orders-payment-queue.has-items{padding:12px;background:#fffaf6;border-color:#f0d9ce}
#orders-dashboard .orders-payment-queue.has-items .payment-queue-head{margin-bottom:9px}
.orders-empty-inline{margin:0;padding:6px 2px;color:#7a8895;font-size:11px}
#orders-dashboard .orders-metrics{gap:8px;margin:0 0 9px}
#orders-dashboard .orders-metrics article{min-height:72px;padding:10px 12px;border-radius:12px}
#orders-dashboard .orders-metrics span{font-size:10px}
#orders-dashboard .orders-metrics strong{font-size:20px;margin:4px 0 2px}
#orders-dashboard .orders-metrics em{font-size:9px;line-height:1.25}
#orders-dashboard .orders-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#orders-dashboard .orders-board section{min-width:0;padding:8px;border-radius:12px;background:#e9edef}
#orders-dashboard .orders-board h3{display:flex;align-items:center;gap:5px;margin:1px 3px 7px;font-size:11px}
#orders-dashboard .orders-board h3 b{margin-left:0;width:18px;height:18px;font-size:9px}
#orders-dashboard .orders-board .order-card{padding:12px;margin-bottom:7px;border-radius:11px}
#orders-dashboard .orders-board .orders-empty-card{min-height:42px;display:flex;align-items:center;padding:9px 10px;margin:0;background:rgba(255,255,255,.78);border-style:dashed}
#orders-dashboard .orders-board .orders-empty-card p{margin:0;color:#74828f;font-size:10px}
#orders-dashboard .orders-stage-hidden,.orders-panel-hidden,.orders-board-hidden{display:none!important}
#orders-dashboard .orders-board.orders-stage-single{grid-template-columns:minmax(0,1fr)}
#orders-dashboard .orders-board.orders-stage-single>section{max-width:980px;width:100%}

@media(max-width:1450px){
  .orders-command-center{grid-template-columns:repeat(3,minmax(0,1fr))}
  #orders-dashboard .orders-board{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  #orders-dashboard .orders-dashboard-header{align-items:flex-start;flex-direction:column}
  #orders-dashboard .orders-dashboard-header p{max-width:560px}
  #orders-dashboard .orders-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  #orders-dashboard .orders-board{grid-template-columns:1fr}
  #orders-dashboard .orders-payment-queue .payment-queue-head{align-items:flex-start;flex-direction:column;gap:3px}
}
@media(max-width:600px){
  #orders-dashboard .orders-dashboard-header h1{font-size:27px}
  #orders-dashboard .orders-dashboard-header p{font-size:10px}
  .orders-command-center{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px}
  .orders-command{justify-content:space-between;padding:8px 10px;font-size:10px}
  #orders-dashboard .orders-metrics article{min-height:67px;padding:9px 10px}
  #orders-dashboard .orders-metrics strong{font-size:18px}
  #orders-dashboard .orders-payment-queue{padding:8px 10px}
}

/* v46.25.1.38 · Entregas y recogidas compactas y orientadas a la acción */
#deliveries-dashboard .deliveries-dashboard-header{align-items:flex-end;gap:18px;margin-bottom:9px}
#deliveries-dashboard .deliveries-dashboard-header h1{margin:4px 0 3px}
#deliveries-dashboard .deliveries-dashboard-header p{margin:0;color:#728190;font-size:11px;line-height:1.4}
.delivery-command-center{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 9px;padding:6px;border:1px solid #d8e4e6;border-radius:13px;background:#f8fbfb;box-shadow:0 4px 13px rgba(22,52,64,.05)}
.delivery-command{min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid #d9e3e6;border-radius:9px;background:#fff;color:#314957;font:inherit;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap;transition:.16s ease}
.delivery-command:hover{border-color:#8dcec9;background:#f2fbfa}.delivery-command.is-active{border-color:#0aa79d;background:#e8f8f6;color:#08776f;box-shadow:inset 0 0 0 1px rgba(10,167,157,.07)}
.delivery-command b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#edf3f4;color:#657782;font-size:9px;font-weight:900}
.delivery-command.is-active b{background:#0aa79d;color:#fff}.delivery-command.has-items:not(.is-active) b{background:#fff0e9;color:#dd5938}
.delivery-liability-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 9px;padding:9px 12px;border:1px solid #f0cfc4;border-radius:11px;background:#fff8f5;color:#7a4b40}
.delivery-liability-bar>div{display:flex;align-items:center;gap:9px}.delivery-liability-bar span{font-size:10px;font-weight:800}.delivery-liability-bar strong{font-size:14px;color:#b44e39}.delivery-liability-bar small{font-size:10px;color:#8b6a61}
#deliveries-dashboard .delivery-board{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;align-items:start!important;padding:0!important;margin:0!important;scrollbar-gutter:auto!important}
#deliveries-dashboard .delivery-board>section{min-width:0!important;min-height:0!important;background:#e9edef;border-radius:12px;padding:8px!important;order:initial!important}
#deliveries-dashboard .delivery-board>section.delivery-cancelled-section{background:#f5ece9!important}
#deliveries-dashboard .delivery-board h3{display:flex;align-items:center;gap:5px;margin:1px 3px 7px;font-size:11px}
#deliveries-dashboard .delivery-board h3 b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#d7e0e5;font-size:9px}
#deliveries-dashboard .delivery-panel-hidden{display:none!important}
#deliveries-dashboard .delivery-board.delivery-board-single{grid-template-columns:minmax(0,1fr)!important}
#deliveries-dashboard .delivery-board.delivery-board-single>section{max-width:1040px;width:100%}
#deliveries-dashboard .delivery-board.delivery-board-triple{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#deliveries-dashboard .delivery-list>.order-card:not(.delivery-card){min-height:42px;display:flex;align-items:center;padding:9px 10px;margin:0;background:rgba(255,255,255,.78);border-style:dashed;border-radius:10px}
#deliveries-dashboard .delivery-list>.order-card:not(.delivery-card) p{margin:0;color:#74828f;font-size:10px}
#deliveries-dashboard .delivery-card{margin:0 0 7px;padding:10px;border-radius:11px;box-shadow:none}
#deliveries-dashboard .delivery-card:last-child{margin-bottom:0}
.delivery-card-summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-card-summary>div{display:flex;align-items:center;gap:7px;min-width:0}.delivery-card-summary>div>strong{font-size:12px;color:#172234}.delivery-card-summary>b{font-size:12px;color:#172234;white-space:nowrap}
.delivery-state-pill{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;background:#eef4f5;color:#5c6f7b;font-size:8px;font-weight:850;white-space:nowrap}.delivery-card.is-cancelled .delivery-state-pill{background:#fff0ec;color:#b44e39}
.delivery-card-primary{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin:7px 0 6px;color:#647583;font-size:9px;line-height:1.35}.delivery-card-primary>span:first-child{flex:1 1 100%;color:#263f50}.delivery-card-primary strong{font-weight:800}
.delivery-card-details{margin:2px 0 7px;border-top:1px solid #e6ecee}.delivery-card-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0 3px;color:#49717a;font-size:9px;font-weight:850;cursor:pointer}.delivery-card-details>summary::-webkit-details-marker{display:none}.delivery-card-details>summary i{font-style:normal;transition:transform .16s}.delivery-card-details[open]>summary i{transform:rotate(180deg)}
.delivery-card-details-body{display:grid;gap:7px;padding-top:5px}.delivery-card-details-body>p{margin:0;color:#536277;font-size:9px;line-height:1.45}.delivery-card-details-body .route-operation,.delivery-card-details-body .delivery-operation-detail{font-size:9px}.delivery-card-details-body .delivery-cancellation-detail{margin-top:0;font-size:9px;padding:8px}.delivery-card-details-body .delivery-meta{margin-top:0;padding-top:7px}.delivery-card-details-body .delivery-meta small{font-size:8px}.delivery-card-details-body .delivery-meta strong{font-size:10px}
#deliveries-dashboard .delivery-action{margin-top:5px;padding:9px 10px;border-radius:8px;font-size:10px}#deliveries-dashboard .delivery-complete{margin-top:5px;padding:8px;border-radius:8px;font-size:9px}#deliveries-dashboard .route-controls{gap:6px}#deliveries-dashboard .route-controls .secondary-action{font-size:9px;padding:8px 9px}
#deliveries-dashboard .delivery-list-toggle{margin-top:7px;padding:8px 9px;border-radius:8px;font-size:9px}
.delivery-audit-disclosure{margin:10px 0 0;border:1px solid #dce5e8;border-radius:12px;background:#fff}.delivery-audit-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;cursor:pointer}.delivery-audit-disclosure>summary::-webkit-details-marker{display:none}.delivery-audit-disclosure>summary>span{display:grid;gap:2px}.delivery-audit-disclosure>summary b{font-size:11px;color:#20384a}.delivery-audit-disclosure>summary small{font-size:9px;color:#778691}.delivery-audit-disclosure>summary i{font-style:normal;color:#6f818d;transition:transform .16s}.delivery-audit-disclosure[open]>summary i{transform:rotate(180deg)}
.delivery-audit-disclosure .restaurant-order-history-panel{margin:0;border:0;border-top:1px solid #e1e8ea;border-radius:0;padding:12px;box-shadow:none}

@media(max-width:1450px){#deliveries-dashboard .delivery-board{grid-template-columns:repeat(2,minmax(0,1fr))!important}#deliveries-dashboard .delivery-board.delivery-board-triple{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){#deliveries-dashboard .deliveries-dashboard-header{align-items:flex-start;flex-direction:column}.delivery-command-center{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-command:last-child{grid-column:1/-1}#deliveries-dashboard .delivery-board,#deliveries-dashboard .delivery-board.delivery-board-triple{grid-template-columns:1fr!important}.delivery-liability-bar{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:600px){#deliveries-dashboard .deliveries-dashboard-header h1{font-size:27px}#deliveries-dashboard .deliveries-dashboard-header p{font-size:10px}.delivery-command-center{gap:5px;padding:5px}.delivery-command{justify-content:space-between;padding:8px 10px;font-size:10px}.delivery-liability-bar{padding:8px 10px}.delivery-card-details:not([open]){margin-bottom:4px}.delivery-audit-disclosure>summary{padding:9px 10px}}


/* v46.25.1.39 · Pulido de Entregas y recogidas */
#deliveries-dashboard .delivery-active-empty{grid-column:1/-1!important;display:flex;align-items:center;justify-content:center;min-height:74px!important;padding:14px 18px!important;border:1px dashed #c9dde0;background:#f8fbfb!important;text-align:center}
#deliveries-dashboard .delivery-active-empty>div{display:grid;gap:4px}
#deliveries-dashboard .delivery-active-empty strong{font-size:12px;color:#1e4f55}
#deliveries-dashboard .delivery-active-empty span{font-size:10px;color:#71818b}
#deliveries-dashboard .delivery-board.delivery-board-history>section{max-width:none!important;width:100%!important}
#deliveries-dashboard .delivery-board.delivery-board-history .delivery-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
#deliveries-dashboard .delivery-board.delivery-board-history .delivery-card{margin:0!important;min-width:0}
#deliveries-dashboard .delivery-board.delivery-board-history .delivery-list-toggle{grid-column:1/-1}
@media(max-width:1450px){#deliveries-dashboard .delivery-board.delivery-board-history .delivery-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#deliveries-dashboard .delivery-board.delivery-board-history .delivery-list{grid-template-columns:1fr}#deliveries-dashboard .delivery-active-empty{min-height:66px!important;padding:12px!important}}

/* v46.25.1.40 · Centro compacto de Zonas y equipo */
.service-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0 10px}.service-kpis article{padding:11px 13px;border-radius:12px}.service-kpis strong{font-size:20px}.service-center-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:6px;border:1px solid #dce6e8;border-radius:14px;background:#f7fafb;position:sticky;top:8px;z-index:20;margin-bottom:10px}.service-center-tabs button{min-width:0;border:1px solid #d8e2e5;background:#fff;color:#23384a;border-radius:10px;padding:10px 12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px}.service-center-tabs button b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#edf2f3;color:#64737e;font-size:10px}.service-center-tabs button.active{border-color:#0ba89f;background:#eaf9f7;color:#087d77;box-shadow:0 0 0 1px rgba(11,168,159,.08)}.service-center-tabs button.active b{background:#0ba89f;color:#fff}.service-guide-disclosure{margin:0 0 10px;border:1px solid #dce6e8;background:#fff;border-radius:12px;overflow:hidden}.service-guide-disclosure>summary{list-style:none;cursor:pointer;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.service-guide-disclosure>summary::-webkit-details-marker{display:none}.service-guide-disclosure>summary span{display:grid;gap:2px}.service-guide-disclosure>summary b{font-size:12px}.service-guide-disclosure>summary small{font-size:10px;color:#73808b}.service-guide-disclosure>summary i{font-style:normal;color:#70808c}.service-guide-disclosure .service-mode-note{margin:0;border:0;border-top:1px solid #e5ecee;border-radius:0}.service-center-panel{background:#fff;border:1px solid #dce5e8;border-radius:16px;padding:15px;display:grid;gap:12px}.service-center-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.service-center-panel-head h2{margin:3px 0;font-size:19px}.service-center-panel-head p{margin:0;color:#71808d;font-size:12px}.service-quick-tools{display:flex;gap:8px;flex-wrap:wrap}.service-tool-disclosure{border:1px solid #dce5e8;border-radius:11px;background:#f9fbfb;overflow:hidden;flex:1 1 260px}.service-tool-disclosure>summary{list-style:none;cursor:pointer;padding:10px 12px;font-weight:800;font-size:12px;color:#173044}.service-tool-disclosure>summary::-webkit-details-marker{display:none}.service-tool-disclosure[open]>summary{border-bottom:1px solid #e2e9eb;background:#fff}.service-tool-disclosure>.service-zone-create,.service-tool-disclosure>.service-bulk-create,.service-tool-disclosure>.service-staff-form,.service-tool-disclosure>.delivery-zone-create{margin:0;padding:12px;border:0;border-radius:0;background:#fff}.service-tool-disclosure .service-bulk-create>strong{display:none}.service-staff-create-disclosure{margin-bottom:2px}.service-admin-grid{display:block}.service-panel{padding:0;border:0;border-radius:0}.service-zone-list{gap:8px}.service-zone-card{padding:0;display:block;overflow:hidden;border-radius:13px;background:#fff}.service-zone-card.inactive{opacity:.7}.service-zone-summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}.service-zone-summary::-webkit-details-marker{display:none}.service-zone-summary:after{content:'⌄';color:#71808d;font-size:13px;margin-left:4px}.service-zone-card[open]>.service-zone-summary:after{content:'⌃'}.service-zone-title{min-width:0}.service-zone-icon{width:34px;height:34px;border-radius:10px;font-size:17px;flex:0 0 auto}.service-zone-title strong{font-size:13px}.service-zone-title small{font-size:10px;white-space:normal}.service-zone-summary-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.service-zone-summary-meta span{font-size:10px;color:#6f7d87}.service-zone-summary-meta b{font-size:10px;color:#087e78;background:#eef8f7;border-radius:99px;padding:4px 8px}.service-zone-body{display:grid;gap:10px;padding:11px 12px 12px;border-top:1px solid #e8edef;background:#fcfdfd}.service-zone-actions{justify-content:flex-start}.service-zone-assignment{margin:0}.service-point-list{max-height:420px;overflow:auto;padding-right:2px}.delivery-zone-panel{margin-top:0}.service-center-panel .delivery-zone-list{margin-top:0}.service-center-panel .service-staff-tools{margin-top:0}.courier-admin-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.courier-admin-card{padding:11px;gap:10px}.courier-admin-info strong{font-size:14px}.courier-admin-actions button{padding:7px 9px;font-size:11px}.delivery-zone-list{gap:8px}.delivery-zone-row{padding:11px;border-radius:12px}
@media(max-width:1050px){.courier-admin-list{grid-template-columns:1fr}.service-center-tabs{position:static}.service-zone-summary-meta span{display:none}}
@media(max-width:700px){.service-kpis{grid-template-columns:1fr 1fr}.service-center-tabs{grid-template-columns:1fr 1fr}.service-center-tabs button:last-child{grid-column:1/-1}.service-center-panel{padding:11px;border-radius:14px}.service-center-panel-head h2{font-size:18px}.service-quick-tools{display:grid;grid-template-columns:1fr}.service-tool-disclosure{width:100%}.service-zone-summary{align-items:center}.service-zone-summary-meta{margin-left:auto}.service-zone-summary-meta span{display:none}.service-zone-summary-meta b{display:none}.service-zone-summary:after{margin-left:0}.service-zone-body{padding:10px}.service-zone-actions{display:grid;grid-template-columns:1fr 1fr}.service-zone-actions button:first-child{grid-column:1/-1}.service-point-list{max-height:none}.service-point-actions{display:grid;grid-template-columns:1fr 1fr}.service-point-actions button{width:100%}.service-staff-tools{grid-template-columns:1fr}.courier-admin-card{grid-template-columns:1fr}.courier-admin-avatar{display:none}.courier-admin-actions{display:grid;grid-template-columns:1fr 1fr}.courier-admin-actions button:first-child{grid-column:1/-1}.delivery-zone-row{grid-template-columns:1fr}.delivery-zone-actions{display:grid!important;grid-template-columns:1fr 1fr}.delivery-zone-actions button.primary{grid-column:1/-1}.service-guide-disclosure>summary small{line-height:1.35}}

/* v46.25.1.41 · Prescriptores compactos */
.prescriber-dashboard-header{margin-bottom:10px}.prescriber-dashboard-header p{max-width:850px}
.prescriber-explainer{margin:0 0 12px;border:1px solid #dce6e7;border-radius:13px;background:#f9fbfb;overflow:hidden}.prescriber-explainer summary{cursor:pointer;list-style:none;padding:10px 13px;font-size:11px;font-weight:900;color:#24394d}.prescriber-explainer summary::-webkit-details-marker{display:none}.prescriber-explainer summary:after{content:'⌄';float:right;color:#71808d}.prescriber-explainer[open] summary:after{content:'⌃'}.prescriber-explainer .universal-referral-banner{margin:0;border:0;border-top:1px solid #e5ecec;border-radius:0;padding:11px 13px;font-size:10px;line-height:1.5}
.prescriber-kpis{gap:9px;margin-bottom:10px}.prescriber-kpis article{min-height:0;padding:12px 14px;border-radius:13px}.prescriber-kpis span{font-size:10px;margin-bottom:4px}.prescriber-kpis strong{font-size:20px}.prescriber-kpis em{margin-top:4px;font-size:9px}
.prescriber-center-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;margin:0 0 10px;border:1px solid #dce5e7;border-radius:14px;background:#f5f8f8}.prescriber-center-nav button{min-width:0;border:1px solid #dce4e6;background:#fff;color:#20364a;border-radius:10px;padding:10px 12px;font-weight:900;cursor:pointer}.prescriber-center-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78}.prescriber-center-nav button span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;border-radius:999px;background:#eef3f3;color:#667987;font-size:10px}.prescriber-center-nav button.active span{background:#0daea5;color:#fff}
.prescriber-center-panel{margin-bottom:12px}.prescriber-list-panel,.prescriber-create-panel{padding:15px;border-radius:15px}.prescriber-list-head{margin-bottom:10px}.prescriber-list-head h2,.prescriber-create-panel h2{font-size:18px}.prescriber-list-head p,.prescriber-create-panel p{font-size:11px}.prescriber-list-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:10px}.prescriber-list-tools input{width:100%;box-sizing:border-box;border:1px solid #d7e0e3;border-radius:10px;padding:10px 12px;background:#fff;color:#17273a;font:inherit;outline:none}.prescriber-list-tools input:focus{border-color:#0daea5;box-shadow:0 0 0 3px rgba(13,174,165,.08)}.prescriber-list-tools small{color:#7d8995;font-size:10px;white-space:nowrap}
.prescriber-create-panel{grid-template-columns:minmax(220px,.42fr) 1.58fr;gap:16px;align-items:end}.prescriber-create-form{gap:8px}.prescriber-create-form label{font-size:10px}.prescriber-create-form input,.prescriber-create-form select{padding:10px 11px}
@media(max-width:850px){.prescriber-dashboard-header{align-items:flex-start}.prescriber-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.prescriber-center-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.prescriber-center-nav button:last-child{grid-column:1/-1}.prescriber-create-panel{grid-template-columns:1fr}.prescriber-list-tools{grid-template-columns:1fr}.prescriber-list-tools small{white-space:normal}.prescriber-create-form{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.prescriber-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.prescriber-kpis article{padding:11px;min-width:0}.prescriber-kpis strong{font-size:19px}.prescriber-kpis span,.prescriber-kpis em{overflow-wrap:anywhere}.prescriber-center-nav{grid-template-columns:1fr 1fr}.prescriber-center-nav button{padding:10px 7px;font-size:11px}.prescriber-center-nav button:last-child{grid-column:1/-1}.prescriber-list-panel,.prescriber-create-panel{padding:13px}.prescriber-create-form{grid-template-columns:1fr}.prescriber-explainer{margin-bottom:10px}}

/* v46.25.1.42 · Dashboard compacto por áreas */
#sales-dashboard .business-dashboard-header{gap:10px;margin-bottom:6px}
#sales-dashboard .business-dashboard-header>div:first-child p{font-size:12px}
#sales-dashboard .business-range-wrap{gap:6px}
#sales-dashboard .business-range{gap:3px;padding:3px}
#sales-dashboard .business-range button{padding:8px 7px;font-size:11px}
.business-custom-range-disclosure{width:100%;border:1px solid #dce5e8;border-radius:11px;background:#fff;overflow:hidden}
.business-custom-range-disclosure>summary{list-style:none;cursor:pointer;padding:9px 11px;font-size:10px;font-weight:900;color:#2a4052;display:flex;align-items:center;justify-content:space-between}
.business-custom-range-disclosure>summary::-webkit-details-marker{display:none}
.business-custom-range-disclosure>summary:after{content:'⌄';color:#71808d}.business-custom-range-disclosure[open]>summary:after{content:'⌃'}
.business-custom-range-disclosure .business-custom-range{padding:9px 10px;border-top:1px solid #e5ebed}
#sales-dashboard .business-period-line{margin:0 0 7px;font-size:11px}
#sales-dashboard .business-section-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:5px;margin-bottom:10px;overflow:visible;position:sticky;top:8px}
#sales-dashboard .business-section-nav button{min-width:0;border:1px solid #dbe4e6;background:#fff;color:#20364a;border-radius:9px;padding:9px 8px;font-size:10px;font-weight:900;white-space:nowrap;cursor:pointer}
#sales-dashboard .business-section-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78;box-shadow:0 0 0 1px rgba(13,174,165,.07)}
#sales-dashboard .business-area-hidden{display:none!important}
#sales-dashboard .business-kpis{gap:8px;margin-bottom:9px}
#sales-dashboard .business-kpis article{min-height:82px;padding:11px 13px;border-radius:12px}
#sales-dashboard .business-kpis span{font-size:9px;margin-bottom:4px}
#sales-dashboard .business-kpis strong{font-size:20px}
#sales-dashboard .business-kpis em{font-size:8.5px;margin-top:4px}
#sales-dashboard .business-accumulated{margin-bottom:10px;border-radius:13px}
#sales-dashboard .business-accumulated>div{min-height:75px;padding:11px 13px}
#sales-dashboard .business-accumulated span{font-size:8px}
#sales-dashboard .business-accumulated strong{font-size:18px;margin:5px 0 2px}
#sales-dashboard .business-accumulated small{font-size:8.5px}
#sales-dashboard .sales-panel,#sales-dashboard .business-referral-hero{margin-bottom:10px}
#sales-dashboard .business-two-grid{gap:10px;margin-bottom:10px}
#sales-dashboard .business-trend-panel{margin-bottom:10px}
#sales-dashboard .business-trend{min-height:185px}
#sales-dashboard .business-trend .sales-day{grid-template-rows:112px auto auto auto}
#sales-dashboard .business-trend .sales-bar-area{height:112px}

@media(max-width:1100px){
  #sales-dashboard .business-section-nav{grid-template-columns:repeat(4,minmax(0,1fr));position:static}
}
@media(max-width:700px){
  #sales-dashboard .business-dashboard-header h1{font-size:27px}
  #sales-dashboard .business-range{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sales-dashboard .business-custom-range-disclosure{margin-top:2px}
  #sales-dashboard .business-custom-range{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  #sales-dashboard .business-custom-range button{grid-column:1/-1}
  #sales-dashboard .business-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px}
  #sales-dashboard .business-section-nav button:last-child{grid-column:1/-1}
  #sales-dashboard .business-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #sales-dashboard .business-kpis article{min-width:0;min-height:88px;padding:11px}
  #sales-dashboard .business-kpis strong{font-size:19px}
  #sales-dashboard .business-accumulated{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sales-dashboard .business-accumulated>div{min-width:0;min-height:80px;padding:11px}
  #sales-dashboard .business-accumulated strong{font-size:17px;overflow-wrap:anywhere}
  #sales-dashboard .business-referral-hero{padding:16px;border-radius:15px}
  #sales-dashboard .business-referral-stats{grid-template-columns:1fr 1fr}
  #sales-dashboard .business-trend.business-trend-dense{display:grid;grid-template-columns:repeat(var(--business-trend-count),minmax(3px,1fr));gap:3px;overflow:visible;padding:6px 0 0;min-height:150px}
  #sales-dashboard .business-trend.business-trend-dense .sales-day{min-width:0;flex:initial;grid-template-rows:105px auto;gap:3px;overflow:visible}
  #sales-dashboard .business-trend.business-trend-dense .sales-bar-area{height:105px;min-width:0}
  #sales-dashboard .business-trend.business-trend-dense .sales-bar{width:min(10px,70%);min-width:3px}
  #sales-dashboard .business-trend.business-trend-dense .sales-day strong{display:none;font-size:8px;white-space:nowrap;transform:translateX(-35%)}
  #sales-dashboard .business-trend.business-trend-dense .sales-day.axis-label strong{display:block}
  #sales-dashboard .business-trend.business-trend-dense .sales-day small,#sales-dashboard .business-trend.business-trend-dense .sales-day em{display:none}
}
@media(max-width:480px){
  #sales-dashboard .business-section-nav button{font-size:9.5px;padding:9px 5px}
  #sales-dashboard .business-kpis article{padding:10px}
  #sales-dashboard .business-kpis span{font-size:8.5px}
  #sales-dashboard .business-kpis strong{font-size:18px}
  #sales-dashboard .business-accumulated>div{padding:10px}
}

/* v46.25.1.43 · Clientes / CRM responsive y compacto */
.crm-mobile-list{display:none}
.crm-mobile-empty{margin:0;padding:18px;border:1px dashed #d5e1e4;border-radius:12px;background:#fbfcfc;color:#7c8994;text-align:center;font-size:11px}
.crm-mobile-card{display:grid;gap:10px;padding:13px;border:1px solid #dce5e8;border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(16,45,61,.03)}
.crm-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crm-mobile-name{min-width:0;display:grid;gap:3px;border:0;background:none;padding:0;text-align:left;color:#182a3d;cursor:pointer}.crm-mobile-name strong{font-size:13px;line-height:1.25}.crm-mobile-name small{color:#7a8995;font-size:9px;overflow-wrap:anywhere}.crm-mobile-value{font-size:15px;color:#087f78;white-space:nowrap}.crm-mobile-badges{margin-top:-2px}.crm-mobile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:7px}.crm-mobile-metrics>div{display:grid;gap:2px;padding:9px;border-radius:10px;background:#f7f9fa}.crm-mobile-metrics span{font-size:8px;text-transform:uppercase;font-weight:900;color:#7b8994}.crm-mobile-metrics strong{font-size:12px;color:#1c3044}.crm-mobile-metrics small{font-size:8px;color:#84919b;overflow-wrap:anywhere}.crm-mobile-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #e5ebed}.crm-mobile-card-foot>span{display:grid;gap:2px}.crm-mobile-card-foot small{font-size:8px;text-transform:uppercase;color:#7d8a95;font-weight:900}.crm-mobile-card-foot strong{font-size:12px;color:#1e3346}.crm-mobile-card-foot .crm-view-button{padding:8px 11px;font-size:9px}

@media(max-width:700px){
  #crm-dashboard .crm-list-panel{padding:13px}
  #crm-dashboard .crm-list-head{gap:10px;margin-bottom:8px}
  #crm-dashboard .crm-list-head h2{font-size:18px}
  #crm-dashboard .crm-list-head p{font-size:9px;line-height:1.4}
  #crm-dashboard .crm-tools{display:grid;grid-template-columns:1fr;gap:7px}
  #crm-dashboard .crm-search-field input,#crm-dashboard .crm-tools select{width:100%;box-sizing:border-box;padding:10px 11px;font-size:10px}
  #crm-dashboard .crm-search-field small{display:none}
  #crm-dashboard .crm-filters{gap:5px;margin:2px 0 8px}
  #crm-dashboard .crm-filters button{padding:7px 9px;font-size:8px}
  #crm-dashboard .crm-tag-filter-row{align-items:flex-start;gap:6px;flex-direction:column}
  #crm-dashboard .crm-table-wrap{display:none}
  #crm-dashboard .crm-mobile-list{display:grid;gap:8px}
  #crm-dashboard .crm-opportunity-grid{gap:9px}
  #crm-dashboard .crm-opportunity-grid>section{margin-bottom:0}
}

/* v46.25.1.44 · Perfil público compacto por secciones */
.profile-dashboard-header{align-items:flex-end}.profile-center-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 14px;border:1px solid #dce5e7;border-radius:14px;background:#f5f8f8;position:sticky;top:8px;z-index:12;box-shadow:0 8px 20px rgba(20,35,50,.04)}
.profile-center-nav button{min-width:0;border:1px solid #dce4e6;background:#fff;color:#20364a;border-radius:10px;padding:10px 12px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}.profile-center-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78}.profile-center-nav button small{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#eef3f3;color:#667987;font-size:10px}.profile-center-nav button.active small{background:#0daea5;color:#fff}.profile-center-panel{margin-bottom:12px}.profile-section-card{margin:0!important}.profile-autosave-note{margin:14px 0 0;padding:10px 12px;border-radius:11px;background:#f3fbf9;border:1px solid #d7ece8;color:#55716d;font-size:11px}.profile-image-grid{grid-template-columns:minmax(0,1.55fr) minmax(220px,.75fr);align-items:start}.profile-image-preview{min-height:0;max-height:310px}.profile-image-preview.cover{aspect-ratio:16/7}.profile-image-preview.logo{aspect-ratio:1/1;max-width:310px;width:100%;justify-self:start}.profile-image-preview img{min-height:0}.profile-fields{margin-top:14px}.profile-service-options{margin-top:14px}.profile-opening-hours{gap:7px;margin:14px 0 0}.profile-hour-row{display:block;border:1px solid #e0e6e8;border-radius:12px;padding:0;background:#fbfcfc;overflow:hidden}.profile-hour-row[open]{background:#fff;border-color:#cfe0e1}.profile-hour-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;cursor:pointer}.profile-hour-summary::-webkit-details-marker{display:none}.profile-hour-summary::after{content:'⌄';color:#72808a;font-size:14px;transition:transform .18s ease}.profile-hour-row[open]>.profile-hour-summary::after{transform:rotate(180deg)}.profile-hour-day{display:flex;align-items:baseline;gap:10px;min-width:0}.profile-hour-day strong{font-size:13px;color:#173044}.profile-hour-day small{color:#76838d;font-size:11px;white-space:nowrap}.profile-hour-state{margin-left:auto;display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#f0f3f4;color:#74818b;font-size:10px;font-weight:900}.profile-hour-state.is-open{background:#e7f8f3;color:#087d6f}.profile-hour-editor{display:grid;grid-template-columns:145px minmax(260px,1fr) 150px;gap:14px;align-items:center;padding:11px 13px 13px;border-top:1px solid #e5ebed}.profile-day-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.profile-day-tools button{border:1px solid #d3dfe1;background:#fff;color:#20364a;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:850;cursor:pointer}.profile-day-tools button:disabled{opacity:.45;cursor:not-allowed}.profile-day-closed{text-align:left}.profile-save-bar{position:sticky;bottom:10px;z-index:14;display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center;margin-top:12px;padding:12px 14px;border:1px solid #cfe0e1;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 14px 34px rgba(18,31,43,.13);backdrop-filter:blur(8px)}.profile-save-bar>div{display:grid;gap:2px}.profile-save-bar>div strong{font-size:12px;color:#173044}.profile-save-bar>div small{font-size:10px;color:#72808a}.profile-save-bar .settings-save{margin:0;min-width:220px}.profile-save-bar .settings-message{grid-column:1/-1;margin:0}.profile-save-bar .settings-message:empty{display:none}
@media(max-width:1000px){.profile-image-grid{grid-template-columns:1fr 280px}.profile-hour-editor{grid-template-columns:130px 1fr}.profile-day-tools{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:700px){.profile-dashboard-header{align-items:flex-start}.profile-center-nav{grid-template-columns:1fr 1fr;position:static;gap:5px}.profile-center-nav button{padding:10px 7px;font-size:11px}.profile-image-grid{grid-template-columns:1fr}.profile-image-preview.cover{aspect-ratio:16/9;max-height:230px}.profile-image-preview.logo{max-width:none;aspect-ratio:16/8;max-height:220px}.profile-image-preview.logo img{padding:10px}.profile-hour-editor{grid-template-columns:1fr;gap:10px}.profile-time-pair{grid-template-columns:1fr 1fr}.profile-day-tools{grid-column:auto}.profile-save-bar{bottom:6px;grid-template-columns:1fr;padding:10px 11px}.profile-save-bar>div{display:none}.profile-save-bar .settings-save{width:100%;min-width:0}.profile-save-bar .settings-message{grid-column:auto}.profile-hour-day{display:grid;gap:2px}.profile-hour-day small{white-space:normal}.profile-hour-summary{padding:10px 11px}}

/* v46.25.1.45 · QR y carta compacto por funciones */
.marketing-dashboard-header{align-items:flex-end}
.marketing-center-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 14px;border:1px solid #dce5e7;border-radius:14px;background:#f5f8f8;position:sticky;top:8px;z-index:12;box-shadow:0 8px 20px rgba(20,35,50,.04)}
.marketing-center-nav button{min-width:0;border:1px solid #dce4e6;background:#fff;color:#20364a;border-radius:10px;padding:10px 12px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.marketing-center-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78}
.marketing-center-nav button small{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#eef3f3;color:#667987;font-size:10px}
.marketing-center-nav button.active small{background:#0daea5;color:#fff}
.marketing-center-panel{margin-bottom:12px}
.marketing-section-card{margin:0!important;width:100%;box-sizing:border-box}
.marketing-qr-layout.compact{grid-template-columns:190px minmax(0,1fr);gap:22px;padding:18px 0}
.marketing-qr-layout.compact .marketing-qr-preview{width:190px;height:190px;padding:10px}
.marketing-qr-layout.compact .marketing-qr-copy>strong{font-size:22px}
.marketing-actions.compact-actions{padding-top:14px}
.compact-menu-preview{max-width:760px;margin:18px 0}
.marketing-how-it-works{margin:14px 0;border:1px solid #dce5e7;border-radius:12px;background:#f9fbfb;overflow:hidden}
.marketing-how-it-works>summary{list-style:none;cursor:pointer;padding:11px 13px;font-size:12px;font-weight:900;color:#20364a;display:flex;justify-content:space-between;align-items:center;gap:12px}
.marketing-how-it-works>summary::-webkit-details-marker{display:none}
.marketing-how-it-works>summary::after{content:'⌄';color:#70808d;transition:transform .18s ease}
.marketing-how-it-works[open]>summary::after{transform:rotate(180deg)}
.marketing-how-it-works .marketing-location-recommendation{margin:0;border:0;border-top:1px solid #dce5e7;border-radius:0;background:#f2fbfa}
.compact-location-controls{margin-top:14px}
@media(max-width:700px){
  .marketing-dashboard-header{align-items:flex-start}
  .marketing-center-nav{grid-template-columns:1fr 1fr;position:static;gap:5px}
  .marketing-center-nav button{padding:10px 7px;font-size:11px}
  .marketing-center-nav button:last-child{grid-column:1/-1}
  .marketing-card{padding:16px;border-radius:16px}
  .marketing-qr-layout.compact{grid-template-columns:1fr;gap:14px;padding:14px 0}
  .marketing-qr-layout.compact .marketing-qr-preview{width:180px;height:180px;margin:0 auto;padding:9px}
  .marketing-qr-layout.compact .marketing-qr-copy{gap:8px}
  .marketing-qr-layout.compact .marketing-qr-copy>strong{font-size:19px}
  .marketing-link-row{grid-template-columns:minmax(0,1fr) auto}
  .marketing-link-row button{padding:9px 12px}
  .marketing-actions.compact-actions{grid-template-columns:1fr;margin-top:2px}
  .compact-menu-preview{margin:14px 0;padding:14px}
  .compact-location-controls{grid-template-columns:1fr}
  .compact-location-controls .settings-save{grid-column:auto;width:100%}
  .marketing-location-summary{margin-top:11px;padding-top:11px}
}

/* v46.25.1.46 — Cobros compacto y responsive */
#collections-dashboard .collections-header{margin-bottom:10px}
#collections-dashboard .collections-header p{max-width:860px}
.collections-center-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #d9e4e6;background:#f7faf9;border-radius:14px;margin-bottom:12px;position:sticky;top:72px;z-index:8}
.collections-center-nav button{min-height:38px;border:1px solid #dce4e7;background:#fff;border-radius:10px;color:#203146;font-weight:850;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 10px}
.collections-center-nav button span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#edf3f3;color:#62717c;font-size:10px}
.collections-center-nav button.active{border-color:#0eaaa0;background:#edfafa;color:#087f78;box-shadow:inset 0 0 0 1px #0eaaa01a}
.collections-center-nav button.active span{background:#0ba79d;color:#fff}
.collections-center-panel{display:grid;gap:12px}
.collections-help{border:1px solid #dce7e8;background:#fbfdfd;border-radius:12px;overflow:hidden}
.collections-help>summary{cursor:pointer;padding:11px 13px;font-size:11px;font-weight:850;color:#26384c;list-style:none;display:flex;align-items:center;justify-content:space-between}
.collections-help>summary::-webkit-details-marker{display:none}
.collections-help>summary:after{content:'⌄';color:#6d7b85}
.collections-help[open]>summary:after{content:'⌃'}
.collections-help .collections-responsibility{margin:0;border:0;border-top:1px solid #dce7e8;border-radius:0}
#collections-dashboard .collections-kpis{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
#collections-dashboard .collections-kpis article{min-height:92px;padding:13px 15px}
.collections-method-summary-card,.collections-method-card,.collections-table-panel{margin:0}
.collections-method-summary-card .settings-card-head,.collections-method-card .settings-card-head,.collections-table-panel .settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.collections-all-clear{border:1px dashed #bfdad6;background:#f6fbfa;border-radius:15px;padding:22px;text-align:center;display:grid;gap:5px;color:#66757f}
.collections-all-clear strong{font-size:16px;color:#0a8279}.collections-all-clear span{font-size:11px}
.collections-pending-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.collections-pending-summary article{border:1px solid #e2e8ea;background:#fff;border-radius:13px;padding:13px;display:grid;gap:4px}
.collections-pending-summary article.refund{border-color:#efd9cf;background:#fff8f5}
.collections-pending-summary span{font-size:10px;color:#73818d}.collections-pending-summary strong{font-size:20px;color:#17283b}.collections-pending-summary small{font-size:9px;color:#74838f}
.collections-card-list,.collections-mobile-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.collections-record-card{border:1px solid #dfe7e9;border-radius:14px;background:#fff;padding:13px;display:grid;gap:10px;min-width:0}
.collections-record-card.pending{border-color:#ecd9c6;background:#fffcf7}
.collections-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:8px;border-bottom:1px solid #edf0f1}
.collections-record-head>div{display:grid;gap:3px;min-width:0}.collections-record-head>div>strong{font-size:13px;color:#17283b}.collections-record-head>div>span{font-size:9px;color:#73808c}.collections-record-head>strong{font-size:14px;color:#17283b;white-space:nowrap}
.collections-record-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.collections-record-grid>div{display:grid;gap:4px}.collections-record-grid>div>span:first-child{font-size:8px;text-transform:uppercase;letter-spacing:.55px;font-weight:850;color:#7b8792}.collections-record-grid>div>strong{font-size:11px;color:#26374a}
.collections-record-technical{display:grid;gap:3px;padding:8px 9px;border-radius:9px;background:#f7f9f9}
.collections-record-foot{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}.collections-record-foot>small{font-size:9px;color:#74828d}.collections-record-foot>div{display:flex;justify-content:flex-end}
.collections-mobile-history{display:none}
.collections-method-summary-card .collections-methods,.collections-method-card .collections-methods{margin-top:12px}
#collections-dashboard .collections-methods>div{padding:10px 12px}
#collections-dashboard .collections-methods span{margin-bottom:3px}
#collections-dashboard .collections-table-panel .collections-paypal-note{margin:10px 0}

@media(max-width:1100px){
  #collections-dashboard .collections-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collections-pending-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collections-card-list,.collections-mobile-history{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .collections-center-nav{grid-template-columns:repeat(2,minmax(0,1fr));position:static;top:auto}
  #collections-dashboard .collections-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #collections-dashboard .collections-kpis article{min-height:0;padding:12px}
  #collections-dashboard .collections-kpis article strong{font-size:21px}
  .collections-method-summary-card .settings-card-head,.collections-method-card .settings-card-head,.collections-table-panel .settings-card-head{flex-direction:column;align-items:stretch}
  .collections-method-card .collections-settings-button,.collections-method-summary-card .collections-link-button{width:100%}
  .collections-methods{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collections-pending-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collections-card-list,.collections-mobile-history{grid-template-columns:1fr}
  .collections-desktop-history{display:none}
  .collections-mobile-history{display:grid}
  .collections-record-card{padding:12px}
  .collections-record-foot{align-items:flex-start;flex-direction:column}
  .collections-record-foot>div,.collections-record-foot .collections-action,.collections-record-foot .collections-paypal-action{width:100%}
  .collections-record-foot .collections-action{justify-content:center;text-align:center}
  .collections-responsibility{font-size:11px}
}
@media(max-width:430px){
  #collections-dashboard .collections-kpis{grid-template-columns:1fr 1fr}
  .collections-pending-summary{grid-template-columns:1fr 1fr}
  .collections-methods{grid-template-columns:1fr 1fr}
  .collections-center-nav button{font-size:10px;padding:8px 6px}
}

/* v46.25.1.47 — Cuenta, liquidaciones y crédito compactos */
#account-dashboard .account-dashboard-header{margin-bottom:10px}
#account-dashboard .account-dashboard-header p{max-width:900px}
.account-center-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 12px;border:1px solid #dce5e7;border-radius:14px;background:#f6f9f9;position:sticky;top:72px;z-index:8}
.account-center-nav button{min-width:0;min-height:38px;border:1px solid #dce4e7;background:#fff;color:#20364a;border-radius:10px;padding:9px 10px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.account-center-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78;box-shadow:inset 0 0 0 1px #0daea51c}
.account-center-nav button span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#eef3f3;color:#667987;font-size:10px}
.account-center-nav button.active span{background:#0daea5;color:#fff}
.account-center-panel{display:grid;gap:12px}
.account-how-it-works,.account-growth-help{border:1px solid #dce7e8;border-radius:12px;background:#fbfdfd;overflow:hidden}
.account-how-it-works>summary,.account-growth-help>summary{list-style:none;cursor:pointer;padding:11px 13px;font-size:11px;font-weight:900;color:#26384c;display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-how-it-works>summary::-webkit-details-marker,.account-growth-help>summary::-webkit-details-marker{display:none}
.account-how-it-works>summary:after,.account-growth-help>summary:after{content:'⌄';color:#6d7b85}.account-how-it-works[open]>summary:after,.account-growth-help[open]>summary:after{content:'⌃'}
.account-how-it-works .platform-account-boundary{margin:0;border:0;border-top:1px solid #dce7e8;border-radius:0}
#account-dashboard .platform-account-kpis{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
#account-dashboard .platform-account-kpis article{min-height:94px;padding:13px 15px}
.platform-account-statements,.platform-account-ledger-card,.account-growth-movements{margin:0}
.platform-account-statements .settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.account-statements-mobile{display:none}
.account-statement-card{display:grid;gap:10px;padding:13px;border:1px solid #dfe7e9;border-radius:14px;background:#fff;min-width:0}
.account-statement-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:8px;border-bottom:1px solid #edf0f1}.account-statement-card-head>div{display:grid;gap:3px;min-width:0}.account-statement-card-head strong{font-size:13px;color:#17283b}.account-statement-card-head small{font-size:9px;color:#74828d}
.account-statement-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.account-statement-card-grid>div{display:grid;gap:3px;padding:8px 9px;border-radius:9px;background:#f7f9f9}.account-statement-card-grid span,.account-statement-card-foot small{font-size:8px;text-transform:uppercase;letter-spacing:.45px;font-weight:850;color:#7b8792}.account-statement-card-grid strong{font-size:12px;color:#26374a}
.account-statement-card-foot{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding-top:2px}.account-statement-card-foot>span{font-size:9px;color:#74828d;overflow-wrap:anywhere}.account-statement-card-foot>div{display:grid;gap:2px;text-align:right}.account-statement-card-foot>div strong{font-size:16px;color:#17283b}
.account-empty-state{padding:20px;border:1px dashed #cddcde;border-radius:13px;background:#fbfcfc;color:#6f7d87;text-align:center;display:grid;gap:4px}.account-empty-state strong{font-size:14px;color:#26384c}.account-empty-state span{font-size:10px}.account-empty-state.error{border-color:#efc9c1;background:#fff8f6}.account-empty-state.error strong{color:#a14b3d}
#account-dashboard .account-subheading{margin:2px 0 0}
#account-dashboard .restaurant-account-balances{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}
#account-dashboard .restaurant-account-share{margin:0}
.account-growth-help-body{display:grid;gap:10px;padding:0 13px 13px;border-top:1px solid #dce7e8}.account-growth-help-body>p{margin:10px 0 0;color:#687783;font-size:11px;line-height:1.45}.account-growth-help-body .account-info-box{margin:0}
#account-dashboard .platform-fee-movement{padding:12px 0}

@media(max-width:1000px){
  #account-dashboard .platform-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-center-nav{position:static;top:auto}
}
@media(max-width:700px){
  .account-center-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .account-center-nav button{font-size:10.5px;padding:9px 6px}
  #account-dashboard .platform-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #account-dashboard .platform-account-kpis article{min-height:0;padding:12px}
  #account-dashboard .platform-account-kpis article strong{font-size:20px}
  .platform-account-statements .settings-card-head{flex-direction:column;gap:6px}
  .account-statements-desktop{display:none}.account-statements-mobile{display:grid;gap:9px}
  #account-dashboard .restaurant-account-balances{grid-template-columns:1fr 1fr;gap:8px}
  #account-dashboard .restaurant-account-balances article{padding:12px;min-width:0}
  #account-dashboard .restaurant-account-balances article:last-child{grid-column:1/-1}
  #account-dashboard .restaurant-account-balances strong{font-size:19px}
  #account-dashboard .account-share-card{align-items:stretch;flex-direction:column}
  #account-dashboard .universal-growth-actions{display:grid;grid-template-columns:1fr;justify-content:stretch;width:100%}
  #account-dashboard .universal-growth-actions button{width:100%;white-space:normal}
  #account-dashboard .wallet-movement{align-items:flex-start;flex-direction:column;gap:7px}
  #account-dashboard .wallet-movement>div:last-child{text-align:left}
}
@media(max-width:430px){
  .account-center-nav button{font-size:9.8px}
  #account-dashboard .platform-account-kpis{grid-template-columns:1fr 1fr}
  .account-statement-card-grid{grid-template-columns:1fr 1fr}
}

/* v46.25.1.49 · Configuración de pagos compacta por áreas */
#payments-dashboard .payment-settings-panel{max-width:none;width:100%}
.payment-settings-area-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:6px;background:#f5f8f8;border:1px solid #dce6e7;border-radius:15px;position:sticky;top:76px;z-index:18}
.payment-settings-area-nav button,.payment-method-nav button,.payment-paypal-nav button{border:1px solid #dbe4e6;background:#fff;color:#203143;border-radius:10px;min-height:42px;padding:9px 10px;font-weight:850;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.payment-settings-area-nav button span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf2f3;color:#70808e;font-size:9px}
.payment-settings-area-nav button.active,.payment-method-nav button.active,.payment-paypal-nav button.active{border-color:#0daea5;background:#effaf8;color:#087d71;box-shadow:0 0 0 2px #0daea514}
.payment-settings-area-nav button.active span{background:#0daea5;color:#fff}
.payment-settings-area{min-width:0}.payment-settings-area.hidden{display:none!important}
.payment-settings-area>.payment-settings-card,.payment-settings-area>.payment-timing-card{width:100%;box-sizing:border-box}
.payment-method-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;margin:16px 0 2px}
.payment-method-panel.hidden{display:none!important}
.payment-method-panel .setting-row{border-bottom:0;padding-bottom:8px}
.payment-methods-compact-card>.management-fee-public-note{margin-top:14px}
.payment-paypal-card>.paypal-settings{padding:0;border:0}
.payment-paypal-card .setting-row-head{padding-bottom:14px;border-bottom:1px solid #e8ecee}
.payment-paypal-nav{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0 2px}
.payment-paypal-subpanel-hidden{display:none!important}
.payment-providers-card>.multi-provider-settings,.payment-wompi-card>.wompi-settings{margin:0;border:0;padding:0;background:transparent}
.payment-settings-savebar{position:sticky;bottom:10px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid #d7e5e4;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(27,45,60,.12);backdrop-filter:blur(9px)}
.payment-settings-savebar>div:first-child{display:grid;gap:2px}.payment-settings-savebar strong{font-size:12px}.payment-settings-savebar small{color:#71808d;font-size:10px}
.payment-settings-save-actions{display:flex;align-items:center;gap:10px}.payment-settings-save-actions .settings-save{margin:0;white-space:nowrap}.payment-settings-save-actions .settings-message{margin:0;min-height:0;max-width:320px;font-size:10px}
.payment-settings-savebar.hidden{display:none!important}
#payments-dashboard .payment-timing-card .setting-fields{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:1000px){
  .payment-settings-area-nav{position:static;top:auto}
  #payments-dashboard .payment-timing-card .setting-fields{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .payment-settings-area-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px}
  .payment-settings-area-nav button{min-height:40px;font-size:10.5px;padding:8px 6px}
  .payment-settings-area-nav button:last-child{grid-column:1/-1}
  .payment-method-nav{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:5px}
  .payment-paypal-nav{grid-template-columns:1fr 1fr}
  #payments-dashboard .payment-timing-card .setting-fields{grid-template-columns:1fr}
  .payment-settings-savebar{bottom:6px;display:grid;grid-template-columns:1fr;padding:9px}
  .payment-settings-savebar>div:first-child{display:none}
  .payment-settings-save-actions{display:grid;grid-template-columns:1fr;gap:4px;width:100%}
  .payment-settings-save-actions .settings-save{width:100%}
  .payment-settings-save-actions .settings-message{text-align:center;max-width:none}
  .payment-paypal-card .setting-row-head{gap:12px}
}

/* v46.25.1.50 · Fidelización compacta por reglas */
.loyalty-settings-center{max-width:none;width:100%}
.loyalty-settings-center .restaurant-loyalty-head{margin-bottom:9px}
.loyalty-master-switch{flex:none}
.loyalty-settings-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:10px 0;border:1px solid #dce5e7;border-radius:14px;background:#f6f9f9;position:sticky;top:76px;z-index:12}
.loyalty-settings-nav button{min-height:40px;border:1px solid #dce4e7;background:#fff;color:#20364a;border-radius:10px;padding:8px 10px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.loyalty-settings-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78;box-shadow:inset 0 0 0 1px #0daea51c}
.loyalty-nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf2f3;color:#70808e;font-size:9px}
.loyalty-settings-nav button.active .loyalty-nav-count{background:#0daea5;color:#fff}
.loyalty-how-disclosure{margin:0 0 10px;border:1px solid #dce7e8;border-radius:12px;background:#fbfdfd;overflow:hidden}
.loyalty-how-disclosure>summary{list-style:none;cursor:pointer;padding:10px 12px;font-size:10px;font-weight:900;color:#26384c;display:flex;align-items:center;justify-content:space-between;gap:10px}
.loyalty-how-disclosure>summary::-webkit-details-marker{display:none}.loyalty-how-disclosure>summary:after{content:'⌄';color:#6d7b85}.loyalty-how-disclosure[open]>summary:after{content:'⌃'}
.loyalty-how-copy{display:grid;gap:6px;padding:10px 12px 12px;border-top:1px solid #dce7e8}.loyalty-how-copy p{margin:0;color:#687783;font-size:10px;line-height:1.5}
.loyalty-settings-view{display:grid;gap:10px}.loyalty-settings-view.hidden{display:none!important}
.loyalty-rule-list-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.loyalty-rule-list-compact .loyalty-rule-card{padding:12px;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.loyalty-rule-list-compact .loyalty-rule-card.rule-open{border-color:#b9dfdc;box-shadow:0 0 0 2px #0daea50c;background:#fcfefe}
.loyalty-rule-list-compact .loyalty-rule-title{margin:0;align-items:center}
.loyalty-rule-list-compact .loyalty-rule-title>div:first-child{grid-template-columns:auto 1fr;row-gap:2px}
.loyalty-rule-summary{grid-column:2;color:#087f78;font-size:9px;font-weight:850;line-height:1.35;margin-top:2px}
.loyalty-rule-card.rule-disabled .loyalty-rule-summary{color:#82909a}
.loyalty-rule-actions{display:flex;align-items:center;gap:7px;flex:none}
.loyalty-rule-actions>.switch{position:relative;width:42px;height:24px;flex:none}.loyalty-rule-actions>.switch input{position:absolute;opacity:0;pointer-events:none}.loyalty-rule-actions>.switch>span{position:absolute;inset:0;border-radius:999px;background:#d7dee2;transition:.2s ease}.loyalty-rule-actions>.switch>span:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:.2s ease}.loyalty-rule-actions>.switch input:checked+span{background:#0ca79f}.loyalty-rule-actions>.switch input:checked+span:after{transform:translateX(18px)}
.loyalty-rule-actions button{border:1px solid #d7e1e3;background:#fff;color:#27394a;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:900;cursor:pointer}.loyalty-rule-actions button:hover{border-color:#0daea5;color:#087f78}
.loyalty-rule-config{display:none;margin-top:11px;padding-top:10px;border-top:1px solid #edf1f1}.loyalty-rule-card.rule-open .loyalty-rule-config{display:block}
.loyalty-rule-card.rule-disabled .loyalty-rule-config{opacity:.7}
.loyalty-save-row-compact{grid-column:auto;margin-top:0;grid-template-columns:minmax(220px,340px) 1fr;padding:9px 10px;border:1px solid #dce7e8;border-radius:13px;background:#fbfdfd;position:sticky;bottom:8px;z-index:10;box-shadow:0 8px 20px rgba(27,45,60,.08)}
.loyalty-activity-empty{padding:22px;border:1px dashed #cddcde;border-radius:13px;background:#fbfcfc;color:#6f7d87;text-align:center;display:grid;justify-items:center;gap:5px}.loyalty-activity-empty strong{font-size:14px;color:#26384c}.loyalty-activity-empty span{font-size:10px}.loyalty-activity-empty button{margin-top:5px;border:1px solid #cddddd;background:#fff;color:#087f78;border-radius:9px;padding:8px 11px;font-weight:900;cursor:pointer}
.loyalty-activity-details{display:grid;gap:9px}.loyalty-activity-details.hidden{display:none!important}
.loyalty-summary-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.loyalty-summary-compact article{min-height:82px;padding:11px}
.loyalty-origin-summary-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}

@media(max-width:1000px){
  .loyalty-settings-nav{position:static;top:auto}
  .loyalty-rule-list-compact{grid-template-columns:1fr}
  .loyalty-summary-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .loyalty-origin-summary-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .loyalty-settings-center{padding:14px}
  .loyalty-settings-center .restaurant-loyalty-head{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px}
  .loyalty-settings-center .restaurant-loyalty-head>div{min-width:0}.loyalty-settings-center .restaurant-loyalty-head h2{font-size:20px}.loyalty-settings-center .restaurant-loyalty-head p{font-size:10px}
  .loyalty-master-switch{align-self:start}.loyalty-master-switch>span:first-child{font-size:9px}
  .loyalty-settings-nav{gap:5px;padding:4px}.loyalty-settings-nav button{min-height:38px;padding:7px 6px;font-size:10.5px}
  .loyalty-rule-list-compact .loyalty-rule-card{padding:11px}
  .loyalty-rule-list-compact .loyalty-rule-title{align-items:flex-start}
  .loyalty-rule-actions{display:grid;justify-items:end;gap:6px}.loyalty-rule-actions button{padding:6px 8px}
  .loyalty-rule-summary{font-size:8.7px}
  .loyalty-rule-fields.three,.loyalty-rule-fields.campaign-fields{grid-template-columns:1fr 1fr}
  .loyalty-rule-sentence{grid-template-columns:auto 1fr;gap:6px}.loyalty-rule-sentence span{white-space:normal}
  .loyalty-save-row-compact{grid-template-columns:1fr;bottom:6px;padding:8px}.loyalty-save-row-compact .settings-save{width:100%}.loyalty-save-row-compact .settings-message{text-align:center}
  .loyalty-summary-compact{grid-template-columns:1fr 1fr;gap:7px}.loyalty-summary-compact article{min-height:0;padding:10px}
  .loyalty-origin-summary-compact{grid-template-columns:1fr 1fr;gap:7px}
}
@media(max-width:430px){
  .loyalty-settings-center .restaurant-loyalty-head{grid-template-columns:1fr}.loyalty-master-switch{justify-self:start}
  .loyalty-rule-fields.three,.loyalty-rule-fields.campaign-fields{grid-template-columns:1fr}
  .loyalty-summary-compact,.loyalty-origin-summary-compact{grid-template-columns:1fr 1fr}
}


/* v46.25.1.51 · Recomendaciones e incentivos compactos */
.referral-settings-center{max-width:none;width:100%}
.referral-settings-center .restaurant-referral-bonus-head{margin-bottom:9px}
.referral-settings-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:10px 0;border:1px solid #dce5e7;border-radius:14px;background:#f6f9f9;position:sticky;top:76px;z-index:12}
.referral-settings-nav button{min-height:40px;border:1px solid #dce4e7;background:#fff;color:#20364a;border-radius:10px;padding:8px 10px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.referral-settings-nav button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78;box-shadow:inset 0 0 0 1px #0daea51c}
.referral-settings-nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf2f3;color:#70808e;font-size:9px}
.referral-settings-nav button.active .referral-settings-nav-count{background:#0daea5;color:#fff}
.referral-how-disclosure{margin:0 0 10px;border:1px solid #dce7e8;border-radius:12px;background:#fbfdfd;overflow:hidden}
.referral-how-disclosure>summary{list-style:none;cursor:pointer;padding:10px 12px;font-size:10px;font-weight:900;color:#26384c;display:flex;align-items:center;justify-content:space-between;gap:10px}
.referral-how-disclosure>summary::-webkit-details-marker{display:none}.referral-how-disclosure>summary:after{content:'⌄';color:#6d7b85}.referral-how-disclosure[open]>summary:after{content:'⌃'}
.referral-how-copy{display:grid;gap:7px;padding:10px 12px 12px;border-top:1px solid #dce7e8}.referral-how-copy p{margin:0;color:#687783;font-size:10px;line-height:1.5}.referral-how-copy strong{color:#4b3c2f}
.referral-how-copy .funding-separation-note{margin:0}
.referral-settings-view{display:grid;gap:10px}.referral-settings-view.hidden{display:none!important}
.referral-bonus-config-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:13px}
.referral-bonus-config-compact .settings-save{grid-column:1/2;min-width:220px}
.referral-bonus-config-compact .settings-message{grid-column:2/-1;align-self:center;min-height:0}
.referral-activity-empty{padding:22px;border:1px dashed #cddcde;border-radius:13px;background:#fbfcfc;color:#6f7d87;text-align:center;display:grid;justify-items:center;gap:5px}.referral-activity-empty strong{font-size:14px;color:#26384c}.referral-activity-empty span{font-size:10px}.referral-activity-empty button{margin-top:5px;border:1px solid #cddddd;background:#fff;color:#087f78;border-radius:9px;padding:8px 11px;font-weight:900;cursor:pointer}
.referral-activity-details{display:grid;gap:9px}.referral-activity-details.hidden{display:none!important}
.referral-bonus-summary-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.referral-bonus-summary-compact article{min-height:82px;padding:11px}

@media(max-width:1050px){
  .referral-settings-nav{position:static;top:auto}
  .referral-bonus-config-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .referral-bonus-config-compact .settings-save{grid-column:1/2}.referral-bonus-config-compact .settings-message{grid-column:2/3}
}
@media(max-width:700px){
  .referral-settings-center{padding:14px}
  .referral-settings-center .restaurant-referral-bonus-head{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px}
  .referral-settings-center .restaurant-referral-bonus-head>div{min-width:0}.referral-settings-center .restaurant-referral-bonus-head h2{font-size:20px}.referral-settings-center .restaurant-referral-bonus-head p{font-size:10px}
  .referral-settings-center .referral-bonus-switch{align-self:start}.referral-settings-center .referral-bonus-switch>span:first-child{font-size:9px}
  .referral-settings-nav{gap:5px;padding:4px}.referral-settings-nav button{min-height:38px;padding:7px 6px;font-size:10.5px}
  .referral-bonus-config-compact{grid-template-columns:1fr 1fr;padding:11px;gap:9px}
  .referral-bonus-config-compact .settings-save{grid-column:1/-1;width:100%;min-width:0}.referral-bonus-config-compact .settings-message{grid-column:1/-1;text-align:center}
  .referral-bonus-summary-compact{grid-template-columns:1fr 1fr;gap:7px}.referral-bonus-summary-compact article{min-height:0;padding:10px}
}
@media(max-width:430px){
  .referral-settings-center .restaurant-referral-bonus-head{grid-template-columns:1fr}.referral-settings-center .referral-bonus-switch{justify-self:start}
  .referral-bonus-config-compact{grid-template-columns:1fr}
  .referral-bonus-config-compact .settings-save,.referral-bonus-config-compact .settings-message{grid-column:1}
  .referral-bonus-summary-compact{grid-template-columns:1fr 1fr}
}

/* v46.25.1.52 · Acceso responsive */
.account-settings-card{max-width:none}
.account-fields{align-items:start}
.account-field{min-width:0}
.account-field>span{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.account-field>span em{font-style:normal;color:#8a96a1;font-size:10px;font-weight:700}
.account-field-help{margin-top:-2px;color:#7a8792;font-size:10px;font-weight:600;line-height:1.35}
.account-field-current input{border-color:#cbdcdd;background:#fbfdfd}
.account-field-new input,.account-field-repeat input{background:#fff}

@media(max-width:900px){
  .account-settings-card{padding:18px}
  .account-settings-card .settings-card-title{padding-bottom:14px}
  .account-security-note{margin-top:14px;padding:11px 12px;font-size:11px}
  .account-fields{grid-template-columns:1fr!important;gap:12px;margin-top:14px}
  .account-fields label,.account-fields label:last-child{grid-column:1!important}
  .account-fields input{min-height:44px;font-size:14px}
  .security-save{width:100%;margin-top:16px;min-height:44px}
  .account-settings-card .settings-message{text-align:center;margin-bottom:0}
}

@media(max-width:520px){
  .account-settings-card{padding:14px;border-radius:15px}
  .account-settings-card .settings-card-title h2{font-size:20px}
  .account-settings-card .settings-card-title p{font-size:11px}
  .account-security-note{line-height:1.45}
  .account-field-help{font-size:9.5px}
}

/* v46.25.1.53 · Avisos compactos y operativos */
.notification-drawer{width:min(470px,100vw);padding:18px;gap:11px}
.notification-drawer-head{padding-bottom:11px}.notification-drawer-head h2{font-size:25px}.notification-drawer-head>button{width:34px;height:34px;font-size:22px}
.notification-drawer-toolbar{gap:9px;min-height:34px}.notification-drawer-toolbar>span{font-weight:750;color:#687783}.notification-toolbar-actions{gap:6px;flex-wrap:nowrap}
.notification-drawer-toolbar .push-toggle,.notification-drawer-toolbar .sound-test{padding:6px 9px;border-radius:8px;font-size:10px;white-space:nowrap}
.notification-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border:1px solid #dce6e7;border-radius:13px;background:#f6f9f9}
.notification-view-tabs button{min-height:36px;border:1px solid #dbe4e6;background:#fff;color:#203143;border-radius:9px;padding:7px 9px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
.notification-view-tabs button.active{border-color:#0daea5;background:#e9f8f6;color:#087f78;box-shadow:inset 0 0 0 1px #0daea518}
.notification-view-tabs b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#edf2f3;color:#70808e;font-size:9px}.notification-view-tabs button.active b{background:#0daea5;color:#fff}
.notification-history-tools{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.notification-history-tools.hidden{display:none!important}
.notification-history-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:4px;border:1px solid #e0e7e9;border-radius:11px;background:#f8fafa}
.notification-history-filters button{border:0;background:transparent;color:#697985;border-radius:7px;padding:7px 6px;font-size:9px;font-weight:900;cursor:pointer}.notification-history-filters button.active{background:#fff;color:#087f78;box-shadow:0 1px 4px rgba(20,45,62,.09)}
.notification-clear-history{border:1px solid #edd1cb;background:#fff8f6;color:#a14c3e;border-radius:9px;padding:8px 10px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}
.notification-list{gap:7px;padding:1px 1px 14px}.notification-item{grid-template-columns:32px 1fr;gap:9px;padding:10px 11px;border-radius:13px}.notification-item-icon{width:32px;height:32px;border-radius:10px;font-size:16px}
.notification-item-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.notification-item-title-row strong{margin:0;min-width:0}.notification-item-title-row span{flex:none;border-radius:999px;background:#eff4f5;color:#71808a;padding:3px 6px;font-size:8px;font-weight:850}.notification-item[data-notification-category="payments"] .notification-item-title-row span{background:#e8f7f2;color:#087963}.notification-item[data-notification-category="orders"] .notification-item-title-row span{background:#fff4df;color:#9b611c}
.notification-item-content strong{font-size:12px}.notification-item-content p{font-size:10.5px;line-height:1.35}.notification-item-content time{margin-top:4px;font-size:9px}.notification-empty{padding:22px 16px;border-radius:13px;font-size:12px}

@media(max-width:600px){
  .notification-drawer{left:8px;right:8px;top:8px;bottom:8px;width:auto;padding:14px;border-radius:18px;box-shadow:0 20px 70px rgba(18,31,43,.24)}
  .notification-drawer-head{padding-bottom:10px}.notification-drawer-head h2{font-size:22px}
  .notification-drawer-toolbar{display:grid;grid-template-columns:1fr;gap:8px}.notification-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}.notification-drawer-toolbar .push-toggle,.notification-drawer-toolbar .sound-test{width:100%;min-height:36px}
  .notification-history-tools{grid-template-columns:1fr;gap:6px}.notification-history-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.notification-clear-history{width:100%;min-height:34px}
  .notification-view-tabs button{min-height:38px;font-size:10.5px}.notification-item{padding:9px 10px}
}
@media(max-width:390px){
  .notification-drawer{left:5px;right:5px;top:5px;bottom:5px;padding:12px}
  .notification-history-filters{grid-template-columns:1fr 1fr}.notification-toolbar-actions{grid-template-columns:1fr 1fr}
}

/* v46.25.1.54 · Avisos ancho móvil */
@media(max-width:1000px){
  .notification-drawer{
    left:2vw;
    right:2vw;
    top:8px;
    bottom:8px;
    width:auto;
    max-width:none;
    box-sizing:border-box;
    border-radius:18px;
    padding:14px;
    box-shadow:0 20px 70px rgba(18,31,43,.24);
  }
}
@media(max-width:600px){
  .notification-drawer{left:6px;right:6px;top:6px;bottom:6px;padding:13px}
}
@media(max-width:390px){
  .notification-drawer{left:4px;right:4px;top:4px;bottom:4px;padding:12px}
}

/* v46.25.1.58 · ficha avanzada de categorías y borrado seguro */
.catalog-category-card{border:1px solid #e0e7e9;border-radius:14px;background:#f8fbfb;overflow:hidden}.catalog-category-card+.catalog-category-card{margin-top:8px}.catalog-category-summary{display:grid;grid-template-columns:44px 1fr auto auto;gap:10px;align-items:center;padding:10px 12px;cursor:pointer;list-style:none}.catalog-category-summary::-webkit-details-marker{display:none}.catalog-category-summary small{color:#778590}.catalog-category-summary>span{font-size:12px;color:#52616b}.catalog-category-thumb{width:40px;height:40px;border-radius:10px;background:#edf3f3;display:grid;place-items:center;overflow:hidden}.catalog-category-thumb img{width:100%;height:100%;object-fit:cover}.catalog-category-body{padding:0 12px 12px}.catalog-category-photo{display:grid;grid-template-columns:90px 1fr;gap:12px;align-items:center;padding:12px;margin-top:8px;border:1px solid #e3e9eb;border-radius:12px;background:#fff}.catalog-category-photo .catalog-image-preview{width:84px;height:72px}.catalog-category-photo p{margin:4px 0 9px;color:#7a8790;font-size:11px}.catalog-category-danger{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:11px 12px;border:1px solid #f1d4cd;border-radius:12px;background:#fff9f7}.catalog-category-danger div{display:grid;gap:2px}.catalog-category-danger small{color:#8b6c64}.catalog-delete-permanent{border-color:#efc7bd!important;color:#b53b27!important;background:#fff8f6!important}@media(max-width:650px){.catalog-category-summary{grid-template-columns:40px 1fr auto}.catalog-category-summary small{display:none}.catalog-category-photo{grid-template-columns:1fr}.catalog-category-danger{align-items:stretch;flex-direction:column}}

/* v46.25.1.66 · Estado y operativa del establecimiento */
.restaurant-operations-card{max-width:920px}.restaurant-operations-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;background:#e8f7ef;color:#176b47}.restaurant-operations-pill.closed,.restaurant-operations-pill.paused{background:#fff1ed;color:#b94a32}.restaurant-operations-pill.suspended{background:#fff0f0;color:#b42318}.restaurant-operations-pill.inactive{background:#eef1f4;color:#475467}.restaurant-operations-message{margin:18px 0;padding:16px 18px;border:1px solid #dfe8e4;border-radius:14px;background:#f8fbfa;display:grid;gap:5px}.restaurant-operations-message strong{font-size:15px}.restaurant-operations-message span{color:#667085;line-height:1.5}.restaurant-operations-closure{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.restaurant-operations-closure>div{padding:14px 16px;border:1px solid #e4e7ec;border-radius:12px;display:grid;gap:5px}.restaurant-operations-closure span{font-size:11px;text-transform:uppercase;color:#667085;font-weight:800}.restaurant-operations-actions{display:flex;gap:10px;flex-wrap:wrap}.restaurant-operations-date-overlay{position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.58);display:grid;place-items:center;padding:20px}.restaurant-operations-date-dialog{width:min(420px,100%);background:#fff;border-radius:18px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.restaurant-operations-date-dialog>strong{display:block;font-size:17px;margin-bottom:8px}.restaurant-operations-date-dialog>p{margin:0 0 14px;color:#64748b;font-size:14px}.restaurant-operations-date-dialog input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}.restaurant-operations-date-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.restaurant-operations-date-dialog button{padding:10px 14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;cursor:pointer}.restaurant-operations-date-dialog button[data-ok]{border:0;background:#18794e;color:#fff;font-weight:700}@media(max-width:700px){.restaurant-operations-closure{grid-template-columns:1fr}.restaurant-operations-date-dialog>div{flex-wrap:wrap}}

/* v46.25.1.74 · Cuenta unificada + recomendaciones postcompra */
.success-card .success-actions .success-share-action{background:#fff;color:var(--ink);border:1px solid #cdd6df;padding:11px 16px;font-size:13px;min-width:auto}
.success-card .success-actions .success-share-action:hover{transform:translateY(-1px);border-color:#9eabb8}
.customer-account-detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.customer-account-detail-actions button{border:1px solid #ccd8dd;background:#fff;color:#14283c;border-radius:10px;padding:10px 12px;font:inherit;font-weight:800;cursor:pointer}
.customer-account-detail-actions .repeat-customer-account{background:#ff6547;border-color:#ff6547;color:#fff}
.customer-account-detail-actions small{width:100%;color:#71808f;line-height:1.45}
@media(max-width:680px){.success-card .success-actions .success-share-action,.customer-account-detail-actions button{width:100%}}

/* v46.25.1.75 · Verificación sencilla de cuentas finalizadas */
.delivery-account-history{gap:10px}
.delivery-account-check{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:10px;background:#eefaf7;color:#087f73;font-size:12px}
.delivery-account-check strong{color:#06695f}
.delivery-account-rounds{display:grid;gap:0;border:1px solid #e5e9e7;border-radius:10px;overflow:hidden;background:#fff}
.delivery-account-round{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid #edf0ef}
.delivery-account-round:last-child{border-bottom:0}
.delivery-account-round span{display:grid;gap:2px}
.delivery-account-round small{color:#73817d;font-size:10px}
.delivery-account-round.is-cancelled{opacity:.6;text-decoration:line-through}
.delivery-account-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid #e5e9e7}
.delivery-account-total span{font-size:11px;color:#64716e}
.delivery-account-total strong{font-size:15px;color:#0b263d}
@media(max-width:700px){.delivery-account-check,.delivery-account-round,.delivery-account-total{align-items:flex-start}.delivery-account-check{flex-direction:column;gap:3px}}


/* v46.25.1.77 · contexto cuenta completa desde detalle técnico de una ronda */
.order-detail-account-context{border:1px solid #bfe2d8;border-radius:14px;background:#f1fbf8;padding:13px 14px}.order-detail-account-context-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.order-detail-account-context-main>div{display:grid;gap:3px}.order-detail-account-context-main span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#148070}.order-detail-account-context-main strong{font-size:14px;color:#173047}.order-detail-account-context-main small{font-size:10px;color:#607682}.order-detail-account-toggle{flex:0 0 auto;border:1px solid #9ed3c6;border-radius:9px;background:#fff;color:#116f64;padding:9px 12px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.order-detail-account-rounds{display:grid;gap:6px;margin-top:12px;padding-top:11px;border-top:1px solid #cfe7e0}.order-detail-account-rounds.hidden{display:none!important}.order-detail-account-rounds>div,.order-detail-account-rounds>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #dceae6}.order-detail-account-rounds>div>span{display:grid;gap:2px}.order-detail-account-rounds b{font-size:11px;color:#20384c}.order-detail-account-rounds small{font-size:9px;color:#71838e}.order-detail-account-rounds>div>strong,.order-detail-account-rounds>footer strong{font-size:11px;color:#0d7e70}.order-detail-account-rounds>div.is-cancelled{opacity:.6;text-decoration:line-through}.order-detail-account-rounds>footer{background:#e9f8f4;font-weight:900;color:#173047}
@media(max-width:720px){.order-detail-account-context-main{align-items:flex-start;flex-direction:column}.order-detail-account-toggle{width:100%}}


/* v46.25.1.77 · contexto cuenta completa desde detalle técnico de una ronda */
.order-detail-account-context{border:1px solid #bfe2d8;border-radius:14px;background:#f1fbf8;padding:13px 14px}.order-detail-account-context-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.order-detail-account-context-main>div{display:grid;gap:3px}.order-detail-account-context-main span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#148070}.order-detail-account-context-main strong{font-size:14px;color:#173047}.order-detail-account-context-main small{font-size:10px;color:#607682}.order-detail-account-toggle{flex:0 0 auto;border:1px solid #9ed3c6;border-radius:9px;background:#fff;color:#116f64;padding:9px 12px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.order-detail-account-rounds{display:grid;gap:6px;margin-top:12px;padding-top:11px;border-top:1px solid #cfe7e0}.order-detail-account-rounds.hidden{display:none!important}.order-detail-account-rounds>div,.order-detail-account-rounds>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #dceae6}.order-detail-account-rounds>div>span{display:grid;gap:2px}.order-detail-account-rounds b{font-size:11px;color:#20384c}.order-detail-account-rounds small{font-size:9px;color:#71838e}.order-detail-account-rounds>div>strong,.order-detail-account-rounds>footer strong{font-size:11px;color:#0d7e70}.order-detail-account-rounds>div.is-cancelled{opacity:.6;text-decoration:line-through}.order-detail-account-rounds>footer{background:#e9f8f4;font-weight:900;color:#173047}
@media(max-width:720px){.order-detail-account-context-main{align-items:flex-start;flex-direction:column}.order-detail-account-toggle{width:100%}}

/* v46.25.1.80 · Pago dividido opt-in */
.split-payment-settings-card{margin-top:18px;gap:14px}.split-payment-settings-card .setting-row{padding:0 0 18px}.split-payment-settings-card .management-fee-public-note{margin-top:0}


/* v46.25.1.81 · Vista previa de pago dividido para cliente */

/* v46.25.1.81a · Pago dividido en el modal real de cierre de cuenta */
#customer-final-payment-method-modal .split-payment-customer{margin:0 0 16px;border:1px solid #cfe8e3;border-radius:16px;background:#f7fcfb;overflow:hidden}
#customer-final-payment-method-modal .split-payment-toggle{width:100%;border:0;background:transparent;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer;color:#153047}
#customer-final-payment-method-modal .split-payment-toggle span{display:grid;gap:3px}#customer-final-payment-method-modal .split-payment-toggle strong{font-size:14px}#customer-final-payment-method-modal .split-payment-toggle small{color:#687b82;font-size:11px;font-weight:500}#customer-final-payment-method-modal .split-payment-toggle>b{font-size:22px;color:#0c9d91}
#customer-final-payment-method-modal .split-payment-panel{padding:0 15px 15px;border-top:1px solid #dceeea}#customer-final-payment-method-modal .split-payment-panel.hidden{display:none!important}
#customer-final-payment-method-modal .split-payment-people{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}#customer-final-payment-method-modal .split-payment-people>div:first-child{display:grid;gap:3px}#customer-final-payment-method-modal .split-payment-people small{font-size:11px;color:#718088}
#customer-final-payment-method-modal .split-payment-stepper{display:flex;align-items:center;gap:10px}#customer-final-payment-method-modal .split-payment-stepper button{width:34px;height:34px;border:1px solid #bcded8;border-radius:10px;background:#fff;color:#087e74;font-size:20px;font-weight:800;cursor:pointer}#customer-final-payment-method-modal .split-payment-stepper strong{min-width:22px;text-align:center;font-size:18px}
#customer-final-payment-method-modal .split-payment-summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:#eaf8f5;color:#315b57;font-size:11px}#customer-final-payment-method-modal .split-payment-summary strong{color:#0b6f66}
#customer-final-payment-method-modal .split-payment-parts{display:grid;gap:7px;margin-top:10px}#customer-final-payment-method-modal .split-payment-parts>div{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid #e0e9e7;border-radius:10px;background:#fff;font-size:12px}#customer-final-payment-method-modal .split-payment-parts strong{color:#0b7d72}
#customer-final-payment-method-modal .split-payment-phase-note{margin:10px 0 0;color:#6b7880;font-size:10px;line-height:1.45}
@media(max-width:520px){#customer-final-payment-method-modal .split-payment-people{align-items:flex-start;flex-direction:column}#customer-final-payment-method-modal .split-payment-stepper{width:100%;justify-content:space-between}}

/* v46.25.1.96 — cliente móvil: acciones críticas siempre visibles */
@media (max-width: 700px){
  /* Ubicación y forma de pago: el contenido se desplaza, la acción principal no se pierde. */
  #fulfillment-modal .payment-card,
  #payment-modal .payment-card{
    max-height:calc(100dvh - 18px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
  }
  #fulfillment-modal .payment-submit,
  #payment-modal .payment-submit{
    position:sticky;
    bottom:max(0px, env(safe-area-inset-bottom));
    z-index:20;
    margin-top:14px;
    box-shadow:0 -10px 20px rgba(255,255,255,.96),0 10px 22px rgba(16,32,48,.12);
  }

  /* Seguimiento de cuenta abierta: las acciones del cliente permanecen accesibles
     aunque existan muchas rondas/pedidos en el seguimiento. */
  .success-card.account-tracking-mode{
    max-height:calc(100dvh - 18px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
  }
  .success-card.account-tracking-mode .success-actions{
    position:sticky;
    bottom:max(0px, env(safe-area-inset-bottom));
    z-index:20;
    background:#fff;
    padding:10px 0 2px;
    margin-top:12px;
    box-shadow:0 -12px 18px rgba(255,255,255,.98);
  }
}

/* v46.25.1.97 — cliente móvil: acciones siempre visibles en cuentas finalizadas */
@media (max-width: 700px){
  .customer-account-detail-actions{
    position:sticky;
    bottom:max(0px, env(safe-area-inset-bottom));
    z-index:20;
    background:#fff;
    padding:10px 0 calc(2px + env(safe-area-inset-bottom));
    margin-top:12px;
    box-shadow:0 -12px 18px rgba(255,255,255,.98);
  }
}

/* v46.25.1.112 · Simulador de Responsable RestaurantEnTuMano en cuenta unificada */
.customer-responsible-simulator-launch{margin:12px 0;padding:14px;border:1px solid #cfe7e2;border-radius:14px;background:linear-gradient(135deg,#effaf7,#fff8f0);display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-responsible-simulator-launch>div{display:grid;gap:3px}.customer-responsible-simulator-launch strong{font-size:14px;color:#163044}.customer-responsible-simulator-launch small{font-size:10px;color:#70808b;line-height:1.4}.customer-responsible-simulator-launch button{border:0;border-radius:10px;background:#153047;color:#fff;padding:10px 13px;font-weight:850;cursor:pointer;white-space:nowrap}
.customer-responsible-simulator{margin:12px 0;padding:15px;border:1px solid #dbe6e3;border-radius:16px;background:#fbfdfc;display:grid;gap:12px;scroll-margin-top:20px}.customer-responsible-simulator-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.customer-responsible-simulator-head h3{margin:3px 0 4px}.customer-responsible-simulator-head p{margin:0;color:#74808a;font-size:11px;line-height:1.4}.customer-responsible-simulator-head>button{border:1px solid #dce5e3;background:#fff;color:#365063;border-radius:9px;padding:8px 10px;font-weight:800;cursor:pointer}
.customer-responsible-simulator-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-responsible-simulator-rates article{padding:10px 11px;border:1px solid #dfe8e5;border-radius:12px;background:#fff;display:grid;gap:3px}.customer-responsible-simulator-rates span{font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:850;color:#75828c}.customer-responsible-simulator-rates strong{font-size:16px;color:#0a817a}.customer-responsible-simulator-rates small{font-size:9px;color:#75828c;line-height:1.3}
.customer-responsible-simulator-groups{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-responsible-simulator-groups>div{border:1px solid #e1e8e6;border-radius:13px;background:#fff;padding:11px}.customer-responsible-simulator-groups h4{margin:0 0 7px;font-size:12px;color:#223648}.customer-responsible-simulator-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.customer-responsible-simulator-fields label,.customer-responsible-simulator-horizon{display:grid;gap:4px;font-size:9px;font-weight:800;color:#657583}.customer-responsible-simulator-fields input,.customer-responsible-simulator-horizon select{width:100%;border:1px solid #d9e2df;border-radius:9px;padding:8px 9px;background:#fff;color:#172a3d;font:inherit}.customer-responsible-simulator-horizon{grid-template-columns:auto minmax(140px,220px);align-items:center;justify-content:end;gap:10px}
.customer-responsible-simulator-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-responsible-simulator-results article{border:1px solid #dfe7e5;border-radius:12px;background:#fff;padding:11px;display:grid;gap:3px}.customer-responsible-simulator-results article.emphasis{background:#eef9f6;border-color:#cde6df}.customer-responsible-simulator-results span{font-size:9px;text-transform:uppercase;letter-spacing:.45px;font-weight:850;color:#74818b}.customer-responsible-simulator-results strong{font-size:18px;color:#162a3d}.customer-responsible-simulator-results small{font-size:9px;color:#74818b;line-height:1.35}
.customer-responsible-simulator-projection{border:1px solid #dfe7e5;border-radius:12px;overflow:hidden;background:#fff}.customer-responsible-simulator-projection-head{padding:10px 11px;background:#f5f9f8;display:flex;justify-content:space-between;gap:10px}.customer-responsible-simulator-projection-head span{font-size:9px;color:#75828c}.customer-responsible-simulator-projection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.customer-responsible-simulator-projection-grid article{padding:10px 11px;border-top:1px solid #e7ecea;border-right:1px solid #e7ecea;display:grid;gap:3px}.customer-responsible-simulator-projection-grid span{font-size:9px;text-transform:uppercase;font-weight:850;color:#77838d}.customer-responsible-simulator-projection-grid strong{font-size:12px;color:#0a817a}.customer-responsible-simulator-projection-grid small{font-size:8.5px;color:#77838d;line-height:1.3}.customer-responsible-simulator-disclaimer{padding:9px 10px;border:1px solid #edd8a2;border-radius:10px;background:#fff9e9;color:#795f29;font-size:9.5px;line-height:1.4}
@media(max-width:650px){.customer-responsible-simulator-launch{align-items:stretch;flex-direction:column}.customer-responsible-simulator-launch button{width:100%}.customer-responsible-simulator-groups,.customer-responsible-simulator-rates,.customer-responsible-simulator-results{grid-template-columns:1fr}.customer-responsible-simulator-fields{grid-template-columns:1fr}.customer-responsible-simulator-horizon{grid-template-columns:1fr}.customer-responsible-simulator-projection-grid{grid-template-columns:1fr 1fr}.customer-responsible-simulator-head{display:grid}.customer-responsible-simulator-head>button{justify-self:start}}

/* v46.25.1.116 · Cuenta unificada multipaís y rol profesional */
.customer-account-role-line{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:3px;padding:4px 8px;border-radius:999px;background:#e8f7f3;color:#087e78!important;font-size:10px!important;font-weight:850;line-height:1.2}
.customer-account-market{margin:14px 0 6px;padding:14px;border:1px solid #cfe7e2;border-radius:15px;background:linear-gradient(135deg,#f0faf7,#fffaf4);display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-account-market>div:first-child{display:grid;gap:4px}.customer-account-market strong{font-size:18px;color:#0a817a}.customer-account-market small{font-size:10px;color:#6f7d87;line-height:1.4}.customer-account-market-selector{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.customer-account-market-selector button{border:1px solid #d9e5e2;background:#fff;color:#516370;border-radius:999px;padding:8px 12px;font-weight:850;cursor:pointer}.customer-account-market-selector button.active{background:#153047;color:#fff;border-color:#153047}.customer-account-market-selector.single button{cursor:default}
.customer-professional-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}.customer-professional-meta-grid article{padding:10px 11px;border:1px solid #dfe8e5;border-radius:12px;background:#fff;display:grid;gap:3px}.customer-professional-meta-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:850;color:#75828c}.customer-professional-meta-grid strong{font-size:12px;color:#183044;line-height:1.3}
@media(max-width:650px){.customer-account-market{align-items:stretch;flex-direction:column}.customer-account-market-selector{justify-content:stretch}.customer-account-market-selector button{flex:1}.customer-professional-meta-grid{grid-template-columns:1fr}}

/* v46.25.1.118 · Simulador de Colaborador / Influencer */
.customer-collaborator-simulator-groups>div{min-width:0}
.customer-collaborator-simulator-individual{display:grid;gap:9px}.customer-collaborator-simulator-individual-head{padding:10px 11px;border:1px solid #e1e8e6;border-radius:12px;background:#fff}.customer-collaborator-simulator-individual-head>div{display:grid;gap:3px}.customer-collaborator-simulator-individual-head strong{font-size:12px;color:#223648}.customer-collaborator-simulator-individual-head span{font-size:9px;color:#75828c;line-height:1.35}.customer-collaborator-simulator-individual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-collaborator-simulator-individual-grid article{border:1px solid #e1e8e6;border-radius:12px;background:#fff;padding:10px 11px;display:grid;gap:8px}.customer-collaborator-simulator-individual-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.customer-collaborator-simulator-individual-title strong{font-size:11px;color:#203548}.customer-collaborator-simulator-individual-title span{font-size:9px;font-weight:850;color:#0a817a;text-align:right}.customer-collaborator-simulator-individual-grid label{display:grid;gap:4px;font-size:9px;font-weight:800;color:#657583}.customer-collaborator-simulator-individual-grid input{width:100%;border:1px solid #d9e2df;border-radius:9px;padding:8px 9px;background:#fff;color:#172a3d;font:inherit}.customer-collaborator-simulator-individual-grid small{font-size:8.5px;color:#75828c;line-height:1.35}.customer-collaborator-simulator-empty{padding:10px 11px;border:1px dashed #d6e0dd;border-radius:12px;background:#fafcfb;display:grid;gap:3px}.customer-collaborator-simulator-empty strong{font-size:11px;color:#405665}.customer-collaborator-simulator-empty span{font-size:9px;color:#77848d;line-height:1.4}.customer-collaborator-simulator-network-note{padding:9px 10px;border:1px solid #cfe5df;border-radius:10px;background:#eff9f6;color:#356b61;font-size:9.5px;line-height:1.4}.customer-collaborator-simulator-results{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:650px){.customer-collaborator-simulator-individual-grid{grid-template-columns:1fr}.customer-collaborator-simulator-individual-title{display:grid}.customer-collaborator-simulator-individual-title span{text-align:left}}

/* v46.25.1.125 · Simulador de recompensas del cliente final */
.customer-reward-simulator-launch{margin:12px 0;padding:13px 14px;border:1px solid #cfe7e2;border-radius:15px;background:linear-gradient(135deg,#eef9f5,#fff8f0);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.customer-reward-simulator-launch>div{display:grid;gap:3px}.customer-reward-simulator-launch strong{font-size:17px;color:#14263a}.customer-reward-simulator-launch small{font-size:11px;line-height:1.4;color:#6f7d87}.customer-reward-simulator-launch button{border:0;border-radius:10px;background:#152b45;color:#fff;padding:10px 12px;font-weight:850;font-size:14px;cursor:pointer;white-space:nowrap;max-width:100%}
#customer-reward-simulator-modal{display:grid;place-items:center;padding:15px;z-index:1270}#customer-reward-simulator-modal.hidden{display:none!important}.customer-reward-simulator-card{width:min(860px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;background:#fff;border-radius:22px;padding:24px;box-shadow:0 22px 70px rgba(19,34,44,.28);box-sizing:border-box}.customer-reward-simulator-card *{box-sizing:border-box;min-width:0}.customer-reward-simulator-card .payment-card-head{padding-top:2px}.customer-reward-simulator-card .payment-card-head h2{margin:4px 0 2px;font-size:28px;line-height:1.15}.customer-reward-simulator-card .payment-card-head p{margin:4px 0 0;color:#71808a;font-size:12px;line-height:1.4}.customer-reward-simulator-program-note{margin:10px 0 2px;padding:10px 12px;border:1px solid #f0c985;border-radius:10px;background:#fff8e8;color:#775721;font-size:11px;line-height:1.45}.customer-reward-simulator-program-note.hidden{display:none!important}
.customer-reward-simulator-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.customer-reward-simulator-rates article{border:1px solid #dfe8e4;border-radius:13px;background:#f9fcfb;padding:12px;display:grid;gap:4px}.customer-reward-simulator-rates span{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#72808a;font-weight:850}.customer-reward-simulator-rates strong{font-size:18px;color:#0a817a}.customer-reward-simulator-rates small{font-size:10px;line-height:1.35;color:#74818b}
.customer-reward-simulator-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.customer-reward-simulator-grid section{border:1px solid #e1e8e5;border-radius:14px;padding:14px;background:#fff}.customer-reward-simulator-grid h3{margin:0 0 9px;font-size:15px;color:#172a3e}.customer-reward-simulator-grid label{display:grid;gap:5px;margin:8px 0;font-size:11px;font-weight:800;color:#425568}.customer-reward-simulator-grid input,.customer-reward-simulator-horizon select{width:100%;border:1px solid #d7e0e3;border-radius:9px;padding:9px 10px;background:#fff;color:#13263b}
.customer-reward-simulator-horizon{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:12px 14px;border:1px solid #e1e8e5;border-radius:13px;background:#fafcfb}.customer-reward-simulator-horizon>div{display:grid;gap:3px}.customer-reward-simulator-horizon strong{font-size:13px}.customer-reward-simulator-horizon small{font-size:10px;color:#74818b}.customer-reward-simulator-horizon select{width:auto;min-width:150px}
.customer-reward-simulator-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.customer-reward-simulator-results article{border:1px solid #dfe7e4;border-radius:13px;padding:13px;background:#fff;display:grid;gap:4px}.customer-reward-simulator-results article.emphasis{background:#eef9f5;border-color:#cfe8df}.customer-reward-simulator-results span{font-size:10px;text-transform:uppercase;letter-spacing:.45px;color:#72808b;font-weight:850}.customer-reward-simulator-results strong{font-size:19px;color:#13263b}.customer-reward-simulator-results small{font-size:10px;color:#74818b;line-height:1.35}
.customer-reward-simulator-projection{border:1px solid #e2e8e5;border-radius:14px;overflow:hidden}.customer-reward-simulator-projection-head{padding:11px 13px;background:#f7faf9;display:flex;justify-content:space-between;gap:14px}.customer-reward-simulator-projection-head span{font-size:10px;color:#71808a}.customer-reward-simulator-projection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.customer-reward-simulator-projection-grid article{padding:12px 13px;border-top:1px solid #e5ebe8;border-right:1px solid #e5ebe8;display:grid;gap:3px}.customer-reward-simulator-projection-grid span{font-size:9px;text-transform:uppercase;font-weight:850;color:#74818c}.customer-reward-simulator-projection-grid strong{font-size:14px;color:#0a817a}.customer-reward-simulator-projection-grid small{font-size:10px;line-height:1.35;color:#74818c}.customer-reward-simulator-note{margin-top:12px;padding:11px 13px;border:1px solid #f2d99c;border-radius:11px;background:#fff8e8;color:#765c23;font-size:11px;line-height:1.45}.customer-account-client-note{display:grid;gap:3px;padding:10px 12px!important;margin:8px 0!important}.customer-account-client-note strong{font-size:12px}.customer-account-client-note small{font-size:10px;line-height:1.35}
@media(max-width:820px){.customer-reward-simulator-launch{grid-template-columns:1fr;align-items:stretch}.customer-reward-simulator-launch button{width:100%}.customer-reward-simulator-rates,.customer-reward-simulator-results{grid-template-columns:1fr 1fr}.customer-reward-simulator-grid{grid-template-columns:1fr}.customer-reward-simulator-horizon{align-items:stretch;flex-direction:column}.customer-reward-simulator-horizon select{width:100%}.customer-reward-simulator-card{padding:19px 15px}}
@media(max-width:520px){.customer-reward-simulator-rates,.customer-reward-simulator-results{grid-template-columns:1fr}.customer-reward-simulator-projection-head{display:grid}}

/* v46.25.1.127 · stock operativo visible en Pedidos en curso */
.order-item-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:flex-end;margin-left:auto}
.toggle-product-sold-out{flex:0 0 auto;border:1px solid #e5b562;background:#fff8e8;color:#8b5a00;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer}
.toggle-product-sold-out:hover{background:#fff0cc}.toggle-product-sold-out:disabled{opacity:.55;cursor:wait}.toggle-product-sold-out.compact{padding:4px 7px;font-size:10px}
.order-item-stock-state{display:block;margin-top:3px;color:#3f6d63;font-size:10px;font-weight:800}.order-item-stock-state.is-sold-out{color:#a44735}.order-item-stock-state.is-retired{color:#6b7881}.order-item-stock-state.is-uncontrolled{color:#7a8790;font-weight:700}
.order-menu-components li{display:flex;gap:8px;align-items:center;justify-content:space-between}.order-menu-components li>span{min-width:0;flex:1}
@media(max-width:680px){.order-item-actions{width:100%;justify-content:flex-start;margin-left:0}.toggle-product-sold-out,.reject-account-item{flex:1 1 auto}.order-menu-components li{align-items:flex-start;flex-direction:column}}

/* v46.25.1.127.1 · disponibilidad pública en vivo */
.product-availability-copy.is-sold-out{color:#a44735!important;font-weight:700}.product-sold-out-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:10px;background:#fff0ec;color:#a44735;font-size:12px;font-weight:900}.stepper.is-sold-out button:last-child{opacity:.45;cursor:not-allowed}


/* v46.25.1.128 · Horario operativo: carta visible, pedidos bloqueados fuera de horario. */
.storefront-ordering-notice{display:grid;gap:4px;margin:24px 0 -10px;padding:13px 16px;border:1px solid #f0c8b8;border-radius:14px;background:#fff7f2;color:#7e4937}.storefront-ordering-notice strong{font-size:14px;color:#a64732}.storefront-ordering-notice span{font-size:12px;line-height:1.45}.cart-ordering-closed{display:grid;gap:4px;margin:10px 0 14px;padding:12px 13px;border-radius:12px;background:#fff7f2;border:1px solid #f0c8b8;color:#7e4937}.cart-ordering-closed strong{font-size:13px;color:#a64732}.cart-ordering-closed span{font-size:11px;line-height:1.45}.stepper button:disabled{cursor:not-allowed;opacity:.45}

/* v46.25.1.129: horarios partidos */
.profile-hour-slots{display:grid;gap:12px}.profile-hour-slot{align-items:end;flex-wrap:wrap}.profile-remove-slot,.profile-add-slot{padding:8px 12px;border:1px solid #d3dce6;border-radius:8px;background:#fff;cursor:pointer}.profile-copy-targets{display:flex;flex-wrap:wrap;gap:10px;border:1px solid #d3dce6;border-radius:8px;margin:12px 0;padding:12px}.profile-copy-targets label{display:flex;align-items:center;gap:4px}.profile-copy-targets input{width:auto}.profile-hour-slot .profile-remove-slot{grid-column:1/-1;justify-self:start}

/* v46.25.1.129.2: guardar siempre accesible y edición de tramos */
#profile-save-bar{position:sticky;top:8px;bottom:auto;margin:0 0 14px;z-index:20}
#profile-save-bar .settings-message{max-height:100px;overflow:auto}
.profile-center-nav{position:static}
.profile-hour-editor{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;padding:16px}
.profile-hour-editor>.profile-day-toggle{justify-self:start}
.profile-hour-editor>.profile-hour-slots{min-width:0;width:100%}
.profile-hour-editor>.profile-add-slot{justify-self:start}
.profile-hour-editor>.profile-copy-targets{display:flex;flex-wrap:wrap;gap:10px 18px;width:100%;min-width:0;box-sizing:border-box;margin:0;padding:12px 14px}
.profile-copy-targets legend{padding:0 6px;font-size:12px;color:#526070;white-space:normal}
.profile-hour-editor>.profile-copy-targets label{display:inline-flex;gap:6px;align-items:center;font-size:12px}
.profile-hour-editor>[data-copy-profile-hours]{justify-self:start;width:auto;border:1px solid #d3dfe1;border-radius:9px;background:#fff;color:#20364a;padding:10px 16px;font:inherit;cursor:pointer}
.profile-hour-editor button:disabled{opacity:.45;cursor:not-allowed}
.profile-hour-slot{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}
.profile-hour-slot label{min-width:0}
.profile-hour-slot input{min-width:0;width:100%;box-sizing:border-box}
.profile-hour-slot .profile-remove-slot{grid-column:auto;white-space:nowrap}
@media(max-width:700px){#profile-save-bar{top:6px}.profile-hour-editor{padding:12px}.profile-hour-slot{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.profile-hour-slot label{grid-template-columns:1fr;gap:5px}.profile-hour-slot .profile-remove-slot{grid-column:1/-1}.profile-hour-editor>.profile-copy-targets{gap:12px}}

/* v46.25.1.129.3: acciones de guardado junto a la edición */
.profile-local-save{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;border-top:1px solid #e0e6e8;margin-top:14px;padding-top:14px}
.profile-local-save .settings-save{width:auto;min-width:180px;margin:0}
.profile-local-save>small{flex-basis:100%;color:#72808a;font-size:11px}
[data-profile-save-state]{color:#687782;font-size:12px}
[data-profile-save-state].is-pending{color:#a95516;font-weight:700}
#profile-save:disabled,[data-profile-save-local]:disabled{background:#e9eef0!important;color:#7a8790!important;border-color:#d5dde0!important;opacity:1;cursor:not-allowed;box-shadow:none}
#profile-save.has-pending-changes,[data-profile-save-local].has-pending-changes{background:var(--coral,#ff5a3c);color:#fff;box-shadow:0 3px 10px rgba(255,90,60,.2)}
@media(max-width:700px){.profile-local-save{align-items:stretch;flex-direction:column}.profile-local-save .settings-save{width:100%;min-width:0}}

/* v46.25.1.129.4: una sola acción de guardado en el bloque activo */
#profile-save{display:none!important}
.profile-local-save.hidden{display:none!important}

/* v46.25.1.129.5 — Guardado contextual de acceso */
.account-save-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;}
.account-save-context>span{font-size:13px;color:#64748b;}
#settings-account-save:disabled{background:#e2e8f0;color:#64748b;box-shadow:none;opacity:1;cursor:not-allowed;}
#settings-account-save.has-pending-changes:not(:disabled){background:#f97360;color:#fff;}

/* v46.25.1.130 — Seguridad restaurante */
#restaurant-recovery-form{display:grid;gap:14px}#restaurant-recovery-form.hidden{display:none!important}
#restaurant-recovery-confirm-fields{display:grid;gap:12px}#restaurant-recovery-confirm-fields.hidden{display:none!important}
.account-security-2fa-card .auth-field{display:grid;gap:8px;margin:14px 0}.account-security-2fa-card input{width:100%;max-width:440px;padding:12px;border:1px solid #d7e0e3;border-radius:10px;font:inherit}
.account-security-2fa-card button:disabled{background:#e2e8f0;color:#64748b;opacity:1;cursor:not-allowed}
