@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
@media print{body:has(#receipt) #app,body:has(#receipt) #toast,body:has(#receipt) .modal-head{display:none!important}body:has(#receipt) .modal-backdrop{position:static;background:white;display:block;backdrop-filter:none;padding:0}body:has(#receipt) .modal{max-width:100%;width:100%;max-height:none;border-radius:0;padding:15px;overflow:visible}}
:root{--ink:#28352e;--muted:#8b918e;--green:#294d3c;--orange:#df7555;--line:#eceeeb;--bg:#f7f8fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:hover{filter:brightness(.96)}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:27px;letter-spacing:-1px;font-weight:800}h2{font-size:16px;font-weight:800}h3{font-size:14px}small{font-size:11px}.sidebar{position:fixed;width:238px;background:#fff;inset:0 auto 0 0;border-right:1px solid var(--line);padding:32px 19px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 11px}.brand-mark{background:#2d503c;color:white;border-radius:13px;width:42px;height:44px;display:grid;place-items:center}.brand-mark svg{width:28px;height:28px}.brand strong{font:800 18px Manrope;letter-spacing:-.5px}.brand small{display:block;letter-spacing:2.7px;font-size:8px;margin-top:5px;color:#939990}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#a3a7a3;margin:43px 16px 14px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;gap:13px;align-items:center;text-align:left;padding:12px 15px;border-radius:8px;font-size:13px;font-weight:500;color:#7a817b}.nav button.active{background:#edf2ed;color:#31523e;font-weight:700}.nav button.active:before{content:'';position:absolute;left:0;width:3px;height:24px;background:#31523e;border-radius:0 4px 4px 0}.nav .count{margin-left:auto;background:#eaf0e9;padding:2px 7px;border-radius:5px;font-size:10px;color:#527046}.sidebar-bottom{margin-top:auto;padding-top:25px}.help{background:#f8f9f6;border:1px solid #eef0e9;border-radius:10px;padding:16px 13px;display:flex;gap:9px;margin:10px 3px 20px}.help p{font-size:11px;color:#92968e;margin-top:5px}.help strong{font-size:12px}.user{display:flex;align-items:center;gap:10px;padding:15px 8px 0;border-top:1px solid var(--line)}.avatar{background:#eee6da;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;color:#786a55;font-size:11px;font-weight:700}.user strong{font-size:12px}.user p{font-size:10px;color:var(--muted);margin-top:3px}.user button{margin-left:auto;color:#899187}.main{margin-left:238px}.topbar{height:80px;padding:0 36px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#939991}.breadcrumb b{font-weight:500;color:#4f5b52}.top-actions{display:flex;gap:20px;align-items:center}.open-status{font-size:11px;color:#618064;display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;border-radius:50%;background:#6c9c65;display:inline-block}.icon-btn{position:relative;display:grid;place-items:center;width:32px;height:32px;color:#8b938d}.notification:after{content:'';position:absolute;right:7px;top:5px;width:5px;height:5px;border-radius:50%;background:var(--orange);border:2px solid white}.top-actions .avatar{width:32px;height:32px}.content{padding:30px 36px 24px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.subtitle{font-size:12px;color:#90958e;margin-top:8px}.actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:7px;font-size:12px;font-weight:600;background:white;border:1px solid #e4e7e2;white-space:nowrap}.btn svg{width:16px;height:16px}.btn.primary{background:var(--orange);border-color:var(--orange);color:white;box-shadow:0 3px 5px #df75551a}.btn.green{background:var(--green);color:#fff;border-color:var(--green)}.welcome{position:relative;background:#eeefe5;border:1px solid #e7e9dd;border-radius:12px;min-height:151px;padding:27px 29px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.welcome:after{content:'';position:absolute;right:40px;top:-93px;border:1px solid #dfe3d5;border-radius:50%;width:380px;height:380px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2px;color:#859079;font-weight:700;margin-bottom:9px}.welcome h2{font-size:23px;letter-spacing:-.8px;color:#354c38}.welcome p{font-size:12px;color:#808b76;margin-top:8px}.welcome .btn{margin-top:17px;padding:8px 12px;background:transparent;border-color:#c9d0be;font-size:10px}.welcome-art{display:flex;align-items:center;gap:16px;margin-right:20px;z-index:1}.welcome-art img{width:126px;height:126px;object-fit:cover;border:8px solid #fff;border-radius:50%;box-shadow:0 7px 20px #34422c20;transform:rotate(-12deg)}.art-text{font-family:Georgia,serif;font-style:italic;font-size:18px;color:#7c8b65;line-height:1.4;transform:rotate(-8deg);max-width:95px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);padding:19px 20px 17px;border-radius:10px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#80877e}.stat-icon{height:33px;width:33px;border-radius:8px;display:grid;place-items:center;background:#edf3ee;color:#78917c}.stat:nth-child(2) .stat-icon{background:#fcf0e7;color:#cc9b68}.stat:nth-child(3) .stat-icon{background:#eff1f9;color:#8d96be}.stat:nth-child(4) .stat-icon{background:#f8efea;color:#cc9b81}.stat-icon svg{width:17px;height:17px}.stat-value{font:800 28px Manrope;margin:9px 0 8px;letter-spacing:-1px}.stat-value span{font:500 16px 'DM Sans';color:#a4aaa1}.stat-foot{font-size:10px;color:#a0a69d}.positive{color:#709473;font-weight:600;margin-right:5px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:23px}.card{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;padding:21px 22px 0}.card-header p{font-size:10px;color:#9da296;margin-top:6px}.text-link{font-size:10px;color:#7c8977;display:flex;align-items:center;gap:5px}.text-link svg{width:13px;height:13px}.segmented{display:flex;background:#f6f7f4;padding:3px;border-radius:6px;gap:3px}.segmented button{font-size:10px;padding:6px 11px;color:#8c9286;border-radius:4px}.segmented button.active{background:#fff;box-shadow:0 1px 4px #0000000c;color:#53604e}.chart-summary{display:flex;align-items:center;gap:12px;margin:20px 24px 0}.chart-summary strong{font:800 24px Manrope;letter-spacing:-.7px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:500;background:#eef5ed;color:#719469}.chart{height:183px;margin:16px 23px 20px;display:flex;gap:12px}.y-labels{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:22px;font-size:9px;color:#a5aba1;min-width:40px}.plot{flex:1;display:flex;align-items:flex-end;justify-content:space-around;gap:17px;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#edf0ea 40px,#edf0ea 41px);margin-bottom:21px}.bar-wrap{height:100%;width:42px;display:flex;align-items:flex-end;justify-content:center;position:relative;z-index:1}.bar{width:32px;border-radius:5px 5px 0 0;background:#dce5d9;position:relative}.bar.today{background:#6e8965}.bar-wrap small{position:absolute;bottom:-23px;font-size:9px;color:#9ba393;white-space:nowrap}.bar.today:before{content:attr(data-value);position:absolute;top:-26px;left:50%;transform:translateX(-50%);background:#344b37;color:#fff;padding:5px 7px;border-radius:4px;font-size:9px;white-space:nowrap}.popular-list{padding:11px 22px 14px}.popular-item{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #f1f2ee}.popular-item:last-child{border:0}.rank{color:#adb3a6;font-size:10px;width:10px}.food-thumb{width:41px;height:41px;border-radius:9px;object-fit:cover}.food-meta{flex:1}.food-meta strong{font-size:11px;font-weight:600}.food-meta p{font-size:9px;color:#a0a69b;margin-top:4px}.mini-progress{height:3px;border-radius:5px;background:#f0f2eb;width:85px;margin-top:7px}.mini-progress i{display:block;height:3px;background:#b4c4a7;border-radius:5px}.popular-count{font-size:12px;font-weight:700;text-align:right}.popular-count small{display:block;font-size:8px;color:#a7ad9f;font-weight:400;margin-top:4px}.orders-card{margin-top:23px}.data-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}.data-table th{font-size:9px;letter-spacing:.2px;color:#9da495;font-weight:500;background:#fafbf8;padding:12px 19px}.data-table td{padding:13px 19px;border-top:1px solid #f1f2ef}.data-table strong{font-weight:600}.table-wrap{overflow:auto;margin-top:19px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;border-radius:5px;padding:5px 8px;background:#fdf3df;color:#b99b58}.badge.green{background:#edf5ec;color:#709265}.badge.blue{background:#eff2fa;color:#899abe}.badge.red{background:#fcebe7;color:#c87968}.badge.gray{background:#f1f2ee;color:#8f9687}.right-stack{display:flex;flex-direction:column;gap:23px}.tables-preview{padding:19px 21px}.table-legend{display:flex;gap:12px;font-size:8px;color:#a0a596;margin-bottom:17px}.table-legend .dot{height:5px;width:5px;margin-right:4px}.table-legend .red{background:#d99d89}.table-legend .yellow{background:#d8bf7f}.mini-tables{display:grid;grid-template-columns:repeat(4,1fr);gap:13px 14px}.table-seat{position:relative;height:42px;border:1px solid #dce8d8;border-radius:7px;background:#f2f6ef;color:#89a17b;font-size:11px;font-weight:600}.table-seat:before,.table-seat:after{content:'';position:absolute;top:11px;height:19px;width:3px;border-radius:3px;background:#d8e4d1}.table-seat:before{left:-5px}.table-seat:after{right:-5px}.table-seat.occupied{background:#fbf0ea;border-color:#efd7c9;color:#c99277}.table-seat.occupied:before,.table-seat.occupied:after{background:#efd7c9}.table-seat.waiting{background:#fbf6e9;border-color:#eee1bb;color:#b9a46b}.table-seat.waiting:before,.table-seat.waiting:after{background:#eee1bb}.table-summary{text-align:center;font-size:9px;color:#a4aa9d;margin-top:20px}.table-summary b{color:#72876b;font-weight:500}.footer{display:flex;justify-content:space-between;margin-top:25px;font-size:9px;color:#a9afa4}.footer span{display:flex;align-items:center;gap:5px}.footer .dot{width:4px;height:4px}.mobile-menu{display:none}.full-card{padding:24px}.toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:22px}.input,input,select{background:white;border:1px solid #e0e5dc;border-radius:6px;padding:11px 12px;outline:none;color:#4d594d;min-width:0}input:focus,select:focus{border-color:#91a387;box-shadow:0 0 0 3px #91a38715}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px}.field.full{grid-column:1/-1}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dish{padding:0;text-align:left;border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.dish.selected{border:2px solid #709363}.dish img{width:100%;height:145px;object-fit:cover}.dish-body{padding:14px}.dish-body p{font-size:11px;color:#929b8c;margin:8px 0}.dish-bottom{display:flex;justify-content:space-between;align-items:center}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.order-summary{padding:22px;align-self:start;position:sticky;top:20px}.order-summary h2{margin-bottom:20px}.order-line{display:flex;justify-content:space-between;gap:10px;margin:18px 0;font-size:12px}.order-line small{color:#949d8c;display:block;margin-top:5px}.total{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;display:flex;justify-content:space-between;font-weight:700;font-size:18px}.wide{width:100%;margin-top:20px}.large-tables{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding:20px}.large-tables .table-seat{height:130px;font-size:22px}.large-tables .table-seat:before,.large-tables .table-seat:after{height:70px;top:30px;width:6px}.table-seat p{font-size:11px;margin-top:12px;font-weight:400}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.kanban-column{background:#f0f2ed;padding:17px;border-radius:10px}.kanban-column h2{margin-bottom:18px}.kitchen-order{padding:18px;margin-bottom:14px}.kitchen-order p{font-size:12px;margin:9px 0;color:#7c8975}.kitchen-order .btn{width:100%;margin-top:15px}.payment-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.payment-methods .selected{border-color:#5f7c50;background:#eff5ec}.empty{padding:40px;text-align:center;color:#98a18f}.modal-backdrop{position:fixed;inset:0;background:#17271f55;z-index:100;display:grid;place-items:center;backdrop-filter:blur(3px);padding:20px}.modal{background:#fff;max-width:500px;width:100%;padding:27px;border-radius:14px;max-height:90vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#294d3c;color:#fff;padding:13px 23px;border-radius:9px;box-shadow:0 8px 30px #0002;opacity:0;transition:.2s;z-index:200;pointer-events:none;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#e8eddf,#fcf0e6)}.login-box{width:380px;padding:38px;background:#fff;border-radius:18px;box-shadow:0 20px 90px #293f3015}.login-box .brand{justify-content:center;margin-bottom:35px}.login-box h2{text-align:center;margin-bottom:9px}.login-box p{text-align:center;color:#929b8a;font-size:12px;margin-bottom:26px}.login-box .field{margin-bottom:18px}.settings{max-width:750px}.print-only{display:none}@media(min-width:1450px){.content{padding-top:35px}.welcome{min-height:170px}.chart{height:205px}.popular-item{padding:12px 0}.table-seat{height:48px}}@media(max-width:1150px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main{margin-left:205px}.content{padding:25px 22px}.topbar{padding:0 22px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:17px}.stats{gap:12px}.stat{padding:16px 13px}.welcome-art{margin-right:0}.art-text{display:none}.data-table td,.data-table th{padding-left:12px;padding-right:12px}.menu-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{width:76px;padding:25px 10px}.brand{padding:0;justify-content:center}.sidebar .brand>div:last-child,.nav-label,.nav button span,.help,.user>div,.user>button,.sidebar .count{display:none}.nav{margin-top:40px}.nav button{justify-content:center;padding:13px}.main{margin-left:76px}.dashboard-grid{grid-template-columns:1fr}.right-stack{display:grid;grid-template-columns:1fr 1fr}.right-stack .card{height:100%}.stats{grid-template-columns:repeat(2,1fr)}.welcome-art img{width:110px;height:110px}.order-layout{grid-template-columns:1fr}.order-summary{position:static}.kanban{grid-template-columns:1fr}.top-actions{gap:12px}}@media(max-width:600px){.sidebar{display:none}.main{margin:0}.sidebar.show{display:flex;width:220px;box-shadow:15px 0 50px #0002}.sidebar.show .brand>div:last-child,.sidebar.show .nav button span,.sidebar.show .nav-label{display:block}.sidebar.show .nav button{justify-content:flex-start}.mobile-menu{display:block}.topbar{height:64px;padding:0 16px}.breadcrumb{gap:6px}.open-status{display:none}.content{padding:23px 16px}.page-heading{align-items:flex-start;gap:15px}h1{font-size:24px}.page-heading .actions .date-button{display:none}.btn{padding:10px 12px}.welcome{padding:22px}.welcome h2{font-size:20px}.welcome-art{display:none}.welcome p{max-width:220px;line-height:1.7}.stat-value{font-size:25px}.right-stack{display:flex}.card-header{padding:18px 16px 0}.chart{margin-left:15px;margin-right:15px}.plot{gap:7px}.bar{width:24px}.footer{line-height:1.8;gap:15px}.large-tables{grid-template-columns:repeat(2,1fr);gap:20px;padding:10px}.toolbar{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.payment-methods{grid-template-columns:repeat(2,1fr)}.full-card{padding:16px}.menu-grid{gap:10px}.dish img{height:110px}.login-box{width:calc(100% - 32px)}.data-table{white-space:nowrap}}@media print{.sidebar,.topbar,.page-heading,.footer,.btn,.payment-methods{display:none}.main{margin:0}.content{padding:0}.print-only{display:block}}

/* Fondos por estado en Cocina. */
.kanban-column[data-status=Pendiente]{background:#dc2626}
.kanban-column[data-status=Preparando]{background:#facc15}
.kanban-column[data-status=Listo]{background:#2563eb}
.kanban-column[data-status=Pendiente]>h2,.kanban-column[data-status=Listo]>h2,.kanban-column[data-status=Pendiente]>.empty,.kanban-column[data-status=Listo]>.empty{color:#fff}
.kanban-column[data-status=Preparando]>h2,.kanban-column[data-status=Preparando]>.empty{color:#422006}
.dish-pick{display:block;width:100%;padding:0;text-align:left}
.dish-controls{padding:0 14px 14px;gap:10px;flex-wrap:wrap}
.dish-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dish-note-button{padding:7px 10px;font-size:11px;color:var(--green)}
.dish button:disabled{opacity:.5;cursor:not-allowed}
.dish button:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
.item-note{margin-top:7px;padding:8px 10px;background:#fff8df;border-left:3px solid #d7a72e;border-radius:4px;color:#594615;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.note-dish-name{font-weight:600;margin-bottom:18px}
.field textarea{width:100%;padding:12px;border:1px solid #dce1d8;border-radius:7px;font:inherit;line-height:1.5;resize:vertical;min-height:110px;color:var(--ink)}
.field textarea:focus{outline:2px solid #709363;outline-offset:2px}
.note-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
