@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap";:root{--bg:#12141a;--bg-gradient:linear-gradient(145deg, #12141a 0%, #1a1d24 100%);--surface:#fff;--surface-dark:#1f232b;--border:#e2e8f0;--border-dark:#ffffff26;--text:#0f172a;--text-secondary:#475569;--text-inverse:#f8fafc;--muted:#94a3b8;--status-new:#ef4444;--status-cooking:#3b82f6;--status-ready:#22c55e;--status-late:#b91c1c;--status-served:#94a3b8;--primary:#ef4444;--primary-glow:#ef444440;--accent:#f59e0b;--danger:#ef4444;--radius:16px;--radius-sm:10px;--radius-xs:6px;--shadow:0 8px 30px #0000001f;--shadow-lg:0 12px 40px #0003;--transition:.2s cubic-bezier(.4,0,.2,1);--font:"Inter", system-ui, -apple-system, sans-serif}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-font-smoothing:antialiased;font-size:16px}body{font-family:var(--font);background:var(--bg-gradient);color:var(--text-inverse);min-height:100vh;overflow-x:hidden}#root{min-height:100vh}button{cursor:pointer;border:none;outline:none;font-family:inherit}input,textarea{font-family:inherit}ul{list-style:none}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@keyframes breathe{0%,to{opacity:.4;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}@keyframes shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.login-screen{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex;position:relative;overflow:hidden}.login-card{background:var(--surface-dark);border:1px solid var(--border-dark);border-radius:var(--radius);width:100%;max-width:460px;box-shadow:var(--shadow-lg);padding:48px 40px;animation:.5s fadeIn;position:relative}.login-logo{text-align:center;margin-bottom:32px}.login-logo__icon{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:16px;display:inline-flex}.login-logo__title{font-size:28px;font-weight:800}.login-logo__title span{color:var(--primary)}.login-error{color:#fca5a5;border-radius:var(--radius-sm);background:#ef44441f;align-items:center;gap:8px;margin-bottom:20px;padding:10px 14px;font-size:13px;display:flex}.login-field{margin-bottom:24px}.login-label{color:var(--muted);text-transform:uppercase;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.login-input{border:1px solid var(--border-dark);border-radius:var(--radius-sm);width:100%;color:var(--text-inverse);transition:border-color var(--transition);background:#00000059;padding:14px 16px;font-size:14px}.login-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow)}.login-input-wrapper{align-items:center;display:flex;position:relative}.login-input-wrapper .login-input{padding-right:40px}.password-toggle{color:var(--muted);background:0 0;justify-content:center;align-items:center;display:flex;position:absolute;right:12px}.password-toggle:hover{color:var(--text-inverse)}.login-btn{background:var(--primary);color:#fff;border-radius:var(--radius-sm);width:100%;transition:all var(--transition);text-transform:uppercase;justify-content:center;align-items:center;gap:10px;padding:14px;font-size:15px;font-weight:700;display:flex}.login-btn:hover:not(:disabled){transform:scale(1.02)}.login-btn:disabled{opacity:.4;cursor:not-allowed}.kds-header{z-index:100;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid var(--border-dark);background:#12141af2;justify-content:space-between;align-items:center;height:80px;padding:12px 24px;display:flex;position:sticky;top:0}.kds-header__left{align-items:center;display:flex}.kds-header__brand{color:var(--text-inverse);align-items:center;gap:16px;display:flex}.kds-header__brand svg{color:var(--primary)}.kds-header__title{letter-spacing:-.5px;margin-bottom:4px;font-size:24px;font-weight:900;line-height:1}.kds-header__title span{color:var(--primary)}.kds-header__center{flex-direction:column;align-items:center;display:flex}.kds-header__time{font-variant-numeric:tabular-nums;font-size:32px;font-weight:800;line-height:1}.kds-header__date{color:var(--muted);text-transform:uppercase;margin-top:4px;font-size:14px;font-weight:600}.kds-header__right{align-items:center;gap:12px;display:flex}.kds-header__user-info{border-right:1px solid var(--border-dark);flex-direction:column;align-items:flex-end;margin-right:16px;padding-right:16px;display:flex}.kds-header__user-name{color:var(--text-inverse);font-size:16px;font-weight:700}.kds-header__user-role{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:600}.header-btn{border-radius:var(--radius-sm);background:var(--surface-dark);border:1px solid var(--border-dark);width:48px;height:48px;color:var(--muted);transition:all var(--transition);justify-content:center;align-items:center;display:inline-flex}.header-btn:hover{color:var(--text-inverse);background:#ffffff1a}.header-btn--active{color:#3b82f6;background:#3b82f633;border-color:#3b82f6}.header-btn--logout:hover{color:var(--danger);background:#ef444426;border-color:#ef44444d}.conn-status{text-transform:uppercase;align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.conn-status--live{color:var(--status-ready)}.conn-status--reconnecting{color:var(--accent)}.conn-status--disconnected{color:var(--danger)}.kds-filters{flex-direction:column;gap:16px;margin-bottom:24px;display:flex}.status-filter,.station-filter{-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:12px;padding-bottom:4px;display:flex;overflow-x:auto}.status-filter::-webkit-scrollbar{display:none}.station-filter::-webkit-scrollbar{display:none}.status-tab{background:var(--surface-dark);color:var(--muted);white-space:nowrap;transition:all var(--transition);border:2px solid #0000;border-radius:12px;align-items:center;gap:12px;padding:12px 24px;font-size:18px;font-weight:700;display:flex}.status-tab__count{background:#ffffff1a;border-radius:20px;padding:4px 10px;font-size:16px}.status-tab:hover{color:var(--text-inverse);background:#ffffff0d}.status-tab--active{background:var(--surface);color:var(--text);border-color:var(--surface)}.status-tab--active .status-tab__count{background:var(--text);color:var(--surface)}.status-tab--new.status-tab--active{border-color:var(--status-new);color:var(--status-new)}.status-tab--cooking.status-tab--active{border-color:var(--status-cooking);color:var(--status-cooking)}.status-tab--ready.status-tab--active{border-color:var(--status-ready);color:var(--status-ready)}.status-tab--late.status-tab--active{border-color:var(--status-late);color:var(--status-late);background:#b91c1c1a}.status-tab--late.status-tab--active .status-tab__count{background:var(--status-late);color:#fff}.station-pill{white-space:nowrap;background:var(--surface-dark);border:1px solid var(--border-dark);color:var(--muted);transition:all var(--transition);border-radius:30px;padding:14px 28px;font-size:16px;font-weight:700}.station-pill:hover{color:var(--text-inverse);background:#ffffff1a}.station-pill--active{background:var(--primary);color:#fff;border-color:var(--primary)}.kds-main{max-width:100%;margin:0 auto;padding:24px}.kds-grid{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.fullscreen-tip{color:#60a5fa;border-radius:var(--radius-sm);background:#3b82f61a;border:1px solid #3b82f633;justify-content:space-between;align-items:center;margin-bottom:24px;padding:12px 20px;font-weight:600;display:none}.fullscreen-tip__btn{color:#fff;border-radius:var(--radius-xs);background:#3b82f6;align-items:center;gap:8px;padding:8px 16px;font-weight:700;display:flex}.order-card{background:var(--surface);color:var(--text);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;min-height:400px;animation:.3s fadeIn;display:flex;position:relative;overflow:hidden}.order-card__strip{width:100%;height:12px}.order-card--new .order-card__strip{background:var(--status-new)}.order-card--accepted .order-card__strip,.order-card--preparing .order-card__strip{background:var(--status-cooking)}.order-card--ready .order-card__strip{background:var(--status-ready)}.order-card--served{opacity:.5;pointer-events:none}.order-card--served .order-card__strip{background:var(--status-served)}.order-card--late .order-card__strip{background:var(--status-late);animation:2s infinite breathe}.order-card--late{border:4px solid var(--status-late)}.order-card__header{border-bottom:2px dashed #cbd5e1;justify-content:space-between;align-items:flex-start;padding:20px 24px;display:flex}.order-card__id{letter-spacing:-1px;font-size:42px;font-weight:900;line-height:1}.order-card__type{color:var(--text-secondary);align-items:center;gap:8px;margin-top:8px;font-size:20px;font-weight:700;display:flex}.timer-badge{flex-direction:column;align-items:flex-end;display:flex}.timer-badge__val{font-size:32px;font-weight:900;line-height:1}.timer-badge__lbl{text-transform:uppercase;color:var(--muted);margin-top:4px;font-size:14px;font-weight:800}.timer-badge--late .timer-badge__val,.timer-badge--late .timer-badge__lbl{color:var(--status-late)}.order-items{flex-direction:column;flex:1;gap:20px;padding:24px;display:flex}.order-item{align-items:flex-start;gap:16px;display:flex}.order-item__qty-bubble{background:var(--text);width:48px;height:48px;color:var(--surface);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:22px;font-weight:900;display:flex}.order-item__info{flex:1;padding-top:4px}.order-item__name{font-size:24px;font-weight:800;line-height:1.2;display:block}.order-item__mods{color:var(--text-secondary);margin-top:8px;font-size:16px;font-weight:600}.order-item__allergens{gap:6px;margin-top:10px;display:flex}.allergen-chip{color:var(--danger);text-transform:uppercase;background:#ef44441a;border-radius:8px;padding:4px 10px;font-size:14px;font-weight:800}.order-notes{padding:0 24px 20px}.order-note-item{color:#b45309;background:#fef3c7;border-left:4px solid #f59e0b;border-radius:8px;align-items:flex-start;gap:10px;padding:12px 16px;font-size:18px;font-weight:600;display:flex}.order-note-item svg{flex-shrink:0;margin-top:4px}.order-actions{border-top:1px solid var(--border);background:#f8fafc;flex-direction:column;gap:12px;margin-top:auto;padding:24px;display:flex}.btn-massive{text-transform:uppercase;border-radius:12px;justify-content:center;align-items:center;width:100%;height:72px;font-size:24px;font-weight:900;transition:transform .1s;display:flex}.btn-massive:active:not(:disabled){transform:scale(.98)}.btn-massive:disabled{opacity:.5}.btn-massive--primary{background:var(--text);color:var(--surface)}.order-card--new .btn-massive--primary{background:var(--status-new);color:#fff}.order-card--accepted .btn-massive--primary,.order-card--preparing .btn-massive--primary{background:var(--status-cooking);color:#fff}.order-card--ready .btn-massive--primary{background:var(--status-ready);color:#fff}.order-actions__secondary{gap:12px;display:flex}.btn-secondary{height:48px;color:var(--text-secondary);text-transform:uppercase;background:#e2e8f0;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;font-size:16px;font-weight:800;display:flex}.btn-secondary--note{color:#f59e0b;background:#fef3c7}.tv-mode .kds-header{height:100px;padding:0 40px}.tv-mode .kds-header__title{font-size:32px}.tv-mode .kds-header__time{font-size:40px}.tv-mode .kds-header__date{font-size:18px}.tv-mode .header-btn{width:64px;height:64px}.tv-mode .header-btn svg{width:28px;height:28px}.tv-mode .status-tab{border-radius:16px;padding:16px 32px;font-size:24px}.tv-mode .status-tab__count{padding:6px 14px;font-size:22px}.tv-mode .station-pill{border-radius:40px;padding:18px 40px;font-size:22px}.tv-mode .order-card__id{font-size:56px}.tv-mode .order-card__type{font-size:26px}.tv-mode .timer-badge__val{font-size:44px}.tv-mode .timer-badge__lbl{font-size:20px}.tv-mode .order-item__qty-bubble{border-radius:16px;width:64px;height:64px;font-size:30px}.tv-mode .order-item__name{font-size:32px}.tv-mode .order-item__mods{font-size:22px}.tv-mode .btn-massive{border-radius:16px;height:96px;font-size:32px}.tv-mode .btn-secondary{height:64px;font-size:20px}@media (width>=1200px){body:not(:fullscreen) .fullscreen-tip{display:flex}}@media (width<=1599px){.kds-grid,.tv-mode .kds-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=1099px){.kds-grid,.tv-mode .kds-grid{grid-template-columns:1fr}.kds-header{flex-wrap:wrap;gap:16px;height:auto;padding:16px}.kds-header__center,.kds-header__user-info{display:none}.kds-filters{gap:12px}}.toast-host{z-index:1000;flex-direction:column;gap:10px;display:flex;position:fixed;bottom:24px;right:24px}.toast{background:var(--surface-dark);color:var(--text-inverse);box-shadow:var(--shadow-lg);border-radius:12px;align-items:center;gap:12px;padding:16px 24px;font-size:16px;font-weight:700;display:flex}.error-banner{color:#fca5a5;border-radius:var(--radius);background:#ef444426;justify-content:space-between;align-items:center;margin-bottom:24px;padding:20px;font-size:18px;font-weight:700;display:flex}.empty-kitchen{height:50vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-kitchen svg{opacity:.5;width:100px;height:100px;margin-bottom:24px}.empty-kitchen h2{color:var(--text-inverse);margin-bottom:8px;font-size:32px;font-weight:800}.empty-kitchen p{font-size:18px}.modal-backdrop{z-index:500;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:var(--surface-dark);border-radius:var(--radius);width:100%;max-width:600px;box-shadow:var(--shadow-lg);padding:32px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.modal-header h2{color:var(--text-inverse);font-size:24px;font-weight:800}.modal-textarea{border:2px solid var(--border-dark);width:100%;color:var(--text-inverse);resize:vertical;background:#0006;border-radius:12px;margin-bottom:24px;padding:20px;font-size:20px;font-weight:600}.modal-actions{justify-content:flex-end;gap:16px;display:flex}.modal-btn{text-transform:uppercase;border-radius:12px;padding:16px 32px;font-size:20px;font-weight:800}.modal-btn--cancel{color:var(--muted);border:2px solid var(--border-dark);background:0 0}.modal-btn--submit{background:var(--accent);color:#fff}
