:root{font-family:"Inter",sans-serif;color:#182230;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:90px;background:#101827;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:18px}.brand,.header-actions{display:flex;align-items:center;gap:14px}.logo{display:grid;place-items:center;background:#3b82f6;border-radius:14px;width:48px;height:48px;color:#fff}.logo svg{width:31px;height:31px}.brand h1{margin:0;font-size:23px;letter-spacing:-.5px}.brand p{margin:3px 0 0;color:#9eacc0;font-size:13px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.connection{font-size:14px;color:#cbd5e1;display:flex;align-items:center;gap:8px}.connection i{width:9px;height:9px;border-radius:50%;background:#f59e0b}.connection.online i{background:#22c55e}.connection.offline i{background:#ef4444}.app-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 90px)}.sidebar{background:#fff;border-right:1px solid #e1e6ed;padding:24px 14px;display:flex;flex-direction:column;gap:8px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:10px;padding:15px 13px;text-align:left;background:transparent;color:#526174;font-size:15px;font-weight:650;cursor:pointer;min-height:52px}.tabler-icon{width:18px;height:18px;flex:0 0 18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.nav-item>.tabler-icon{width:20px;height:20px;flex-basis:20px}.nav-item b{margin-left:auto;background:#e9edf3;border-radius:20px;min-width:27px;padding:4px 7px;text-align:center;font-size:12px}.nav-item.active{background:#eaf2ff;color:#1d60ca}.nav-item.active b{background:#cfe0ff;color:#1d60ca}.sidebar-bottom{margin-top:auto}.sidebar-bottom .nav-item{margin-top:8px}.main{padding:30px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#6b7a90;margin:0 0 7px}.page-heading h2{font-size:30px;letter-spacing:-.8px;margin:0}.page-heading p:last-child{color:#6b7788;margin:7px 0 0}.secondary,.primary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d7dee8;background:#fff;color:#27364a;border-radius:10px;padding:0 16px;font-family:inherit;font-size:14px;font-weight:650;line-height:1;cursor:pointer;min-height:44px;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.secondary:hover{background:#f7f9fc;border-color:#bfc9d7}.primary{background:#1769e0;border-color:#1769e0;color:#fff}.primary:hover{background:#125ac4;border-color:#125ac4}.danger{background:#fff;border-color:#f2c7c7;color:#b42318}.secondary:active,.primary:active,.danger:active{transform:translateY(1px)}.sound-button{min-width:124px}.sound-button .tabler-icon{width:18px;height:18px}.orders{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:16px}.order-card{background:white;border:1px solid #e1e7ef;border-radius:15px;padding:20px;box-shadow:0 2px 5px #15223805;display:flex;flex-direction:column;gap:16px}.order-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.order-number{font-size:22px;font-weight:850;letter-spacing:-.6px}.customer{margin-top:5px;color:#68778b;font-size:14px}.pill{font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:850;border-radius:30px;padding:7px 10px;white-space:nowrap}.pill.new{background:#fff1c2;color:#8b5b00}.pill.preparing{background:#dbeafe;color:#1d4ed8}.pill.ready{background:#dcfce7;color:#166534}.pill.completed{background:#e8edf2;color:#526174}.meta{display:flex;flex-wrap:wrap;gap:8px;color:#657388;font-size:13px}.items{border-top:1px solid #edf0f4;padding-top:13px;display:grid;gap:10px}.item{display:flex;gap:10px;align-items:flex-start;font-size:15px}.qty{background:#f0f4fa;border-radius:6px;min-width:28px;text-align:center;padding:3px 6px;font-weight:800;color:#43546b}.item-options{display:block;font-size:12px;color:#7b8798;margin-top:3px}.notes{background:#fff8e8;border-radius:8px;padding:10px;font-size:13px;color:#7a5a19}.card-footer{display:flex;gap:8px;margin-top:auto}.card-footer button{flex:1}.total{font-size:14px;font-weight:800;margin-left:auto}.empty{text-align:center;padding:65px 20px;color:#6b7788}.empty h3{color:#233047;font-size:21px;margin:12px 0 5px}.empty p{margin:0 0 20px}.empty-icon{margin:auto;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#e1f7e9;color:#16803d}.empty-icon .tabler-icon{width:28px;height:28px;stroke-width:2}.hidden{display:none!important}.notice{margin-bottom:16px;background:#fff4db;color:#805500;border-radius:9px;padding:12px 15px;font-size:14px}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#101827;color:white;border-radius:10px;padding:12px 18px;transition:.2s;max-width:90vw;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}button:focus-visible{outline:3px solid #7db2ff;outline-offset:2px}@media(max-width:760px){.topbar{height:auto;min-height:78px;padding:14px 16px}.brand h1{font-size:19px}.brand p{display:none}.logo{width:40px;height:40px}.header-actions{gap:8px}.connection{font-size:12px}.app-shell{grid-template-columns:1fr;min-height:calc(100vh - 78px)}.sidebar{padding:10px;display:flex;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #e1e6ed}.nav-item{white-space:nowrap;width:auto;min-height:44px;padding:10px}.nav-item>.tabler-icon{display:none}.sidebar-bottom{display:flex;align-items:center;flex:0 0 auto;margin-top:0}.sidebar-bottom .nav-item{width:auto;white-space:nowrap;margin-top:0}.main{padding:20px 14px}.page-heading h2{font-size:25px}.page-heading{align-items:flex-start}.orders{grid-template-columns:1fr}.order-card{padding:16px}.secondary{padding:10px 12px}}@media(min-width:1100px){.orders{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Consistent Inter typography and shared control sizing */
html,body,button,input,select,textarea{font-family:"Inter",sans-serif}
button{font-family:inherit}
.card-footer button{min-height:44px}

.order-top-right{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.item{display:flex;gap:10px;align-items:flex-start;font-size:15px}.item-name{flex:1;min-width:0}.item-price{margin-left:auto;white-space:nowrap;font-size:14px;font-weight:700;color:#27364a;font-variant-numeric:tabular-nums}.order-total-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #dce3ec;margin-top:4px;padding-top:13px;font-size:14px;color:#526174}.order-total-row strong{font-size:18px;color:#182230;font-variant-numeric:tabular-nums}
.app-dialog{border:0;border-radius:18px;padding:24px;width:min(620px,calc(100vw - 28px));max-height:min(86vh,900px);overflow:auto;box-shadow:0 24px 80px #10182735;color:#182230}.app-dialog::backdrop{background:#0b1220a6;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.dialog-head h2{margin:0;font-size:25px;letter-spacing:-.5px}.icon-close{font-size:24px;min-width:44px;padding:6px}.dialog-content{display:grid;gap:18px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.detail-grid>div{display:grid;gap:5px;min-width:0}.detail-grid span,.field-help,.detail-item span{font-size:13px;color:#718096}.detail-grid strong{font-size:14px;overflow-wrap:anywhere}.detail-section-title{font-size:16px;margin:0}.detail-items{display:grid;gap:0;border-top:1px solid #e8edf3}.detail-item{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:13px 0;border-bottom:1px solid #e8edf3}.detail-item>div{display:grid;gap:5px}.detail-item>strong{white-space:nowrap}.detail-total{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid #dce3ec;font-size:18px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:22px;flex-wrap:wrap}.field-label{display:block;font-weight:700;margin-bottom:8px}.field-help{line-height:1.5;margin:0 0 14px}.app-dialog input{width:100%;padding:13px 14px;border:1px solid #cfd8e3;border-radius:10px;font-size:16px;color:#182230;background:white}.app-dialog input:focus{outline:3px solid #bfdbfe;border-color:#3b82f6}@media(max-width:520px){.app-dialog{padding:18px}.detail-grid{grid-template-columns:1fr 1fr}.dialog-actions button{flex:1}.order-total{font-size:16px}}

.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.delete-order-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px!important;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:1px solid #dc2626;border-radius:9px;background:#dc2626;color:#fff;cursor:pointer}.delete-order-btn:hover{background:#b91c1c;border-color:#b91c1c}.delete-order-btn .tabler-icon{width:19px;height:19px}.confirm-message{color:#536176;line-height:1.55;margin:0}.confirm-dialog .dialog-actions .danger{background:#dc2626;border-color:#dc2626;color:white}.confirm-dialog .dialog-actions .danger:hover{background:#b91c1c;border-color:#b91c1c}@media(max-width:760px){.page-heading{flex-wrap:wrap}.heading-actions{width:100%;justify-content:flex-start}}

/* Completed-order destructive actions: soft red surface with crisp Tabler red icons. */
.delete-order-btn{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px!important;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:1px solid rgba(185,28,28,.16);border-radius:9px;background:rgba(239,68,68,.075);color:#991b1b;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.delete-order-btn .tabler-icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.8}
.delete-order-btn:hover{background:rgba(239,68,68,.14);border-color:rgba(185,28,28,.28)}
.danger{background:rgba(239,68,68,.075);border-color:rgba(185,28,28,.16);color:#991b1b}
.danger .tabler-icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.8}
.danger:hover{background:rgba(239,68,68,.14);border-color:rgba(185,28,28,.28);color:#7f1d1d}
.sidebar-bottom .tabler-icon{width:20px;height:20px;stroke-width:1.8}
