:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2b1d;background:#f3f6ee;font-synthesis:none;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.login-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:linear-gradient(90deg,#fafcf7b8,#fafcf714),url(/assets/backgrounds/login-bg-desktop.webp) center / cover no-repeat,#f5f7f1}.login-card{width:min(100%,430px);padding:36px;border:1px solid rgba(92,145,41,.18);border-radius:20px;background:#fffffff0;box-shadow:0 24px 80px #26341e29}.login-card h1{margin:30px 0 22px;font-size:28px;line-height:1.1;text-align:center}.login-form{display:grid;gap:16px}.login-form label{display:grid;gap:8px;color:#2f3a2c;font-weight:700}.input-wrap{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border:1px solid #bdd79c;border-radius:10px;color:#6f9f37;background:#fff}.input-wrap input{width:100%;border:0;outline:0;color:#273522}.remember{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:10px!important;font-weight:600!important}.remember input{width:20px;height:20px;accent-color:#77ae2f}.login-form button,.primary-action{min-height:50px;border:0;border-radius:8px;color:#fff;font-weight:800;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 12px 28px #2d6d3138}.form-error{margin:0;padding:10px 12px;border-radius:8px;color:#8e2b21;background:#fff0ed}.form-success{margin:0;padding:10px 12px;border-radius:8px;color:#256327;font-weight:750;background:#eef8e7}.app-toast-stack{position:fixed;right:18px;bottom:18px;z-index:1500;display:grid;gap:10px;width:min(390px,calc(100vw - 36px));pointer-events:none}.app-toast{--toast-color: #2f78b7;position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;overflow:hidden;padding:12px 12px 14px;border:1px solid rgba(47,120,183,.22);border-left:5px solid var(--toast-color);border-radius:8px;color:#1f2b1d;background:#fff;box-shadow:0 14px 34px #1f2b1d2e;pointer-events:auto;animation:app-toast-enter .18s ease-out}.app-toast-success{--toast-color: #2f9d62}.app-toast-error{--toast-color: #c23b3b}.app-toast-warning{--toast-color: #d49a22}.app-toast-info{--toast-color: #2f78b7}.app-toast-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;color:#fff;background:var(--toast-color)}.app-toast-icon:before{content:"";width:13px;height:13px;background:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.app-toast-success .app-toast-icon:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m20 6-11 11-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m20 6-11 11-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.app-toast-error .app-toast-icon:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}.app-toast-warning .app-toast-icon:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8v5M12 17h.01M10.3 4.2 2.7 18a2 2 0 0 0 1.8 3h15a2 2 0 0 0 1.8-3L13.7 4.2a2 2 0 0 0-3.4 0Z' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8v5M12 17h.01M10.3 4.2 2.7 18a2 2 0 0 0 1.8 3h15a2 2 0 0 0 1.8-3L13.7 4.2a2 2 0 0 0-3.4 0Z' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.app-toast-info .app-toast-icon:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11v6M12 7h.01' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11v6M12 7h.01' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E")}.app-toast-content{display:grid;gap:3px;min-width:0}.app-toast-content strong{color:#1f2b1d;line-height:1.2}.app-toast-content span{color:#4d5948;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.app-toast-close{width:24px;height:24px;border:0;border-radius:999px;color:#6d7868;background:transparent;font-size:20px;line-height:1}.app-toast-close:hover{color:#1f2b1d;background:#eef7e8}.app-toast-progress{position:absolute;right:0;bottom:0;left:0;height:4px;background:var(--toast-color);transform-origin:left center;animation:app-toast-progress 10s linear forwards}.app-toast-overflow{justify-self:end;padding:7px 11px;border-radius:999px;color:#fff;background:#1f2b1dd6;font-size:13px;font-weight:800;pointer-events:none}@keyframes app-toast-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes app-toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media print{body *{visibility:hidden!important}.kitchen-labels-modal,.kitchen-labels-modal *{visibility:visible!important}.labels-modal-backdrop,.kitchen-labels-modal{position:static!important;inset:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.kitchen-labels-modal .modal-title-row,.kitchen-label-tabs{display:none!important}.kitchen-label-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6mm!important;max-height:none!important;overflow:visible!important}.kitchen-label-card{break-inside:avoid;min-height:42mm;border:1px solid #000000;border-radius:0}}.brand-logo{width:155px;margin:0 auto}.brand-logo.large{width:178px}.brand-logo img{display:block;width:100%;height:auto}.brand-logo-button{padding:0;border:0;background:transparent}.brand-logo-button:hover{transform:translateY(-1px)}.brand-logo-button:focus-visible{outline:3px solid rgba(255,255,255,.46);outline-offset:6px}.app-shell{height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);overflow:hidden;background:#f3f6ee;transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:88px minmax(0,1fr)}.sidebar{height:100vh;display:flex;flex-direction:column;padding:30px 20px;overflow:hidden;color:#fff;background:linear-gradient(180deg,#1f5e2c,#2d6f33);transition:padding .18s ease}.sidebar .brand-logo{display:flex;align-items:center;justify-content:center;width:150px;height:154px;margin:0 auto 34px;filter:drop-shadow(0 8px 16px rgba(5,31,12,.28))}.brand-logo.compact{width:52px}.brand-logo.compact img{filter:drop-shadow(0 8px 18px rgba(5,31,12,.24))}.sidebar-collapsed .sidebar{padding:30px 16px}.sidebar-collapsed .sidebar .brand-logo{width:52px;height:154px;margin-bottom:34px}.sidebar nav{display:grid;gap:8px;align-content:start;flex:1 1 auto;min-height:0;margin:0 -8px 14px 0;padding:2px 8px 12px 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:rgba(255,255,255,.34) transparent;scrollbar-width:thin;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 18px),transparent 100%)}.sidebar nav::-webkit-scrollbar{width:6px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{border-radius:999px;background:#ffffff47}.sidebar nav::-webkit-scrollbar-thumb:hover{background:#ffffff75}.nav-group{display:grid}.nav-group.separated{margin-top:18px}.nav-divider{height:1px;margin:0 8px 18px;background:#ffffff3d}.nav-item{display:flex;align-items:center;gap:13px;min-height:50px;padding:0 16px;border:0;border-radius:8px;color:#ffffffeb;font-size:17px;font-weight:650;text-align:left;background:transparent}.nav-item span,.collapse-button span{transition:opacity .14s ease,width .14s ease}.nav-item.active{color:#fff;background:linear-gradient(180deg,#9bcf45,#78b331);box-shadow:0 10px 24px #1248173d}.collapse-button{display:flex;align-items:center;gap:12px;margin-top:auto;padding:0 14px;min-height:42px;border:0;color:#fff;font-weight:650;background:transparent}.sidebar-collapsed .nav-divider{margin-left:6px;margin-right:6px}.sidebar-collapsed .nav-item{justify-content:center;gap:0;padding:0}.sidebar-collapsed .sidebar nav{margin-right:-6px;padding-right:6px}.sidebar-collapsed .nav-item span{width:0;opacity:0;overflow:hidden}.sidebar-collapsed .collapse-button{justify-content:center;gap:0;padding:0}.sidebar-collapsed .collapse-button svg{transform:rotate(180deg)}.sidebar-collapsed .collapse-button span{width:0;opacity:0;overflow:hidden}.workspace{min-width:0;height:100vh;overflow-y:auto;background:#f8faf6}.workspace-overview,.workspace-vk,.workspace-customers,.workspace-orders,.workspace-catalogs,.workspace-kitchen{overflow:hidden}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:104px;padding:0 38px 0 34px;border-bottom:1px solid #dfe4da;background:#ffffffe6}.topbar h1{margin:0;font-size:27px;line-height:1}.topbar-actions{display:flex;align-items:center;gap:16px}.date-action,.primary-action,.icon-button,.vk-button,.profile-button,.panel-header button,.panel-footer{display:inline-flex;align-items:center;justify-content:center;gap:8px}.date-action{min-height:42px;padding:0 4px;border:0;color:#1f2b1d;font-weight:650;background:transparent;cursor:pointer}.date-action:hover,.date-action[aria-expanded=true]{color:#176327}.date-filter-menu{position:relative}.mobile-section-date-filter{display:none}.date-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:10;display:grid;width:150px;padding:6px;border:1px solid #dfe8d5;border-radius:10px;background:#fff;box-shadow:0 16px 40px #182a1224}.date-menu button{min-height:38px;padding:0 10px;border:0;border-radius:8px;color:#22311f;font-weight:650;text-align:left;background:transparent;cursor:pointer}.date-menu button:hover,.date-menu button.active{color:#176327;background:#edf6e4}.primary-action{min-height:42px;padding:0 16px}.icon-button,.vk-button{position:relative;width:42px;min-height:42px;border:0;color:#1f2b1d;background:transparent}.icon-button strong,.vk-button strong{position:absolute;top:1px;right:-2px;min-width:18px;height:18px;border-radius:999px;color:#fff;font-size:11px;line-height:18px;text-align:center;background:#ef1f2f}.vk-button{color:#2e7d32;cursor:pointer}.vk-button strong{background:#477e39}.vk-button:hover,.vk-button[aria-expanded=true]{color:#176327;background:#edf6e4}.topbar-vk{position:relative}.vk-logo-icon{width:32px;height:32px;flex:0 0 32px;transform:translateY(1px)}.vk-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:20;display:grid;gap:8px;width:310px;padding:10px;border:1px solid #dfe8d5;border-radius:10px;background:#fff;box-shadow:0 18px 46px #182a1229}.vk-popover-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 4px}.vk-popover-header span{color:#2e7d32;font-size:13px;font-weight:900}.vk-popover-header strong{color:#263621;font-size:13px}.vk-popover-dialog{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-height:66px;padding:9px;border:1px solid #edf1e9;border-radius:8px;color:#24311f;text-align:left;background:#fbfdf8;cursor:pointer}.vk-popover-dialog:hover{border-color:#cfe2bf;background:#f1f8ea}.vk-popover-avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:#fff;font-weight:850;background:#477e39}.vk-popover-dialog strong,.vk-popover-dialog small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vk-popover-dialog strong{font-size:14px}.vk-popover-dialog small{margin-top:3px;color:#5f6d58;font-size:12px}.vk-popover-empty{margin:0;padding:14px 8px;color:#6b7664;font-size:13px;text-align:center}.vk-popover-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:0;border-radius:8px;color:#fff;font-weight:800;background:#477e39;cursor:pointer}.vk-popover-action:hover{background:#176327}.profile{position:relative}.profile-button{min-height:48px;padding-left:14px;border:0;border-left:1px solid #d6ddd0;border-radius:0 8px 8px 0;color:#1f2b1d;font-weight:750;background:transparent;cursor:pointer}.profile-button:hover,.profile-button[aria-expanded=true]{background:#edf6e4}.profile-name-mobile{display:none}.profile-alien-icon{width:34px;height:34px;flex:0 0 34px}.profile-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:10;display:grid;width:150px;padding:6px;border:1px solid #dfe8d5;border-radius:10px;background:#fff;box-shadow:0 16px 40px #182a1224}.profile-menu button{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:38px;padding:0 10px;border:0;border-radius:8px;color:#263621;font-weight:750;background:transparent}.profile-menu button:hover{background:#f0f7ea}.overview-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;height:calc(100vh - 104px);min-height:0;overflow:hidden;padding:28px 34px 24px}.overview-page .dashboard-error{margin:0}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.metric,.panel{border:1px solid #dfe4da;border-radius:10px;background:#fff;box-shadow:0 12px 32px #24301e0d}.metric{position:relative;display:grid;grid-template-columns:64px 1fr 24px;align-items:center;gap:18px;min-height:118px;padding:18px 20px;width:100%;color:inherit;text-align:left}.metric:hover{border-color:#cbdcbc;box-shadow:0 16px 36px #24301e17;transform:translateY(-1px)}.metric:focus-visible{outline:3px solid rgba(111,175,47,.26);outline-offset:2px}.metric-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%}.metric-icon.yellow{color:#1f2b1d;background:#ffe2a3}.metric-icon.lime{color:#1f2b1d;background:#dff0b9}.metric-icon.green{color:#fff;background:#347a33}.metric-icon.red{color:#7c1515;background:#ffe2e2}.metric-icon.olive{color:#1f2b1d;background:#b9df6e}.metric p{margin:0;color:#334030;font-weight:650}.metric strong{display:block;margin-top:7px;font-size:32px;line-height:1}.metric small{display:block;margin-top:9px;color:#2f7d2c;font-size:15px;font-weight:650}.metric-arrow{color:#87937f}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(360px,.86fr);gap:24px;min-height:0}.panel{overflow:hidden}.overview-page .orders-panel,.overview-page .vk-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.overview-page .orders-panel table,.overview-page .message-list{min-height:0;overflow:hidden}.overview-order-mobile-meta,.overview-order-mobile-statuses{display:none}.panel-header{display:flex;justify-content:space-between;align-items:center;min-height:64px;padding:0 24px;border-bottom:1px solid #e3e9df}.panel-header h2{margin:0;font-size:20px}.panel-header button,.panel-footer{border:0;color:#236c28;font-weight:750;background:transparent}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{overflow:hidden;padding:14px;border-bottom:1px solid #edf1e9;text-align:left;text-overflow:ellipsis;white-space:nowrap}th:nth-child(1),td:nth-child(1){width:86px}th:nth-child(2),td:nth-child(2){width:28%}th:nth-child(3),td:nth-child(3){width:24%}th:nth-child(4),td:nth-child(4){width:150px}th:nth-child(5),td:nth-child(5){width:116px}th{color:#1f2b1d;font-size:14px;font-weight:750}td{color:#2d352a;font-size:15px}.status-chip,.payment{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:0 12px;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:750}.status-chip.with-icon,.payment.with-icon{padding-left:9px}.status-chip svg,.payment svg{flex:0 0 auto;stroke-width:2.4}.status-chip.new{color:#2374b6;border-color:#a6caee;background:#e6f2ff}.status-chip.confirmed,.status-chip.ready{color:#4c7b2c;border-color:#cbdcb6;background:#eaf3df}.status-chip.production{color:#b36b0e;border-color:#f1d293;background:#fff4d8}.status-chip.courier{color:#5d45a5;border-color:#cfc2f4;background:#eee8ff}.status-chip.frozen{color:#1f6f91;border-color:#acd9ee;background:#e8f7ff}.status-chip.delivered{color:#0b6a31;border-color:#b6dcbf;background:#eaf7ed}.status-chip.cancelled{color:#9d1c1c;border-color:#f3b8b8;background:#fff0f0}.payment.paid{color:#2f7a2c;border-color:#a9c99d;background:#f4fbef}.payment.unpaid{color:#f0181e;border-color:#ff9ea2;background:#fff8f8}.panel-footer{width:100%;min-height:52px;border-top:1px solid #edf1e9}.message-list{display:grid;align-content:start}.overview-page .vk-panel .message-list-empty{place-items:center;align-content:center;padding:24px}.overview-empty-chat{margin:0;color:#66745f;font-weight:750;text-align:center}.message-row{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) 28px;gap:12px;min-height:76px;padding:12px 20px;border-bottom:1px solid #edf1e9}.avatar-wrap{position:relative;width:44px;height:44px}.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;font-size:20px;font-weight:850;background:linear-gradient(180deg,#d6c0a7,#7c5a3f)}.presence{position:absolute;right:-1px;bottom:1px;width:13px;height:13px;border:2px solid #fff;border-radius:50%;background:#b8bdb4}.presence.online{background:#75b843}.message-body{min-width:0}.message-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.message-meta strong{font-size:15px}.message-meta time{color:#8a9286;font-size:13px}.vk-message-timing{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.response-timer{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.response-timer.normal{color:#fff;background:#2f7d2c}.response-timer.warning{color:#c36a12;background:#fff3dc}.response-timer.critical{color:#d82626;background:#fff0f0}.message-body p{overflow:hidden;margin:5px 0 0;color:#515a4e;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.unread-badge{align-self:center;min-width:24px;height:24px;border-radius:50%;color:#fff;font-size:13px;font-weight:800;line-height:24px;text-align:center;background:#347a33}.customers-page{display:grid;gap:18px;padding:28px 34px 34px}.customers-index-page,.orders-index-page,.users-page{height:calc(100vh - 104px);min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}.customers-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) 220px auto;gap:14px;align-items:center}.customers-panel-header{gap:18px}.customers-panel-header h2{flex:0 0 auto}.customers-header-toolbar{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(520px,1.35fr) 190px;align-items:center;gap:10px;flex:1 1 auto;min-width:0}.records-count{color:#1f2b1d;font-weight:650;white-space:nowrap}.orders-toolbar{grid-template-columns:minmax(300px,1fr) 180px 160px 160px auto auto}.orders-header-toolbar{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(520px,1.45fr) 170px;align-items:center;gap:10px;flex:1 1 auto;min-width:0}.users-toolbar{grid-template-columns:minmax(320px,1fr) auto}.users-table-panel{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.users-header-toolbar{grid-template-columns:auto minmax(280px,.75fr) minmax(360px,.95fr) 220px;padding:12px 16px;border-bottom:1px solid #e1e8dc}.users-header-toolbar h2{margin:0;white-space:nowrap}.users-header-stats{grid-template-columns:repeat(3,minmax(108px,1fr))}.customer-header-stats .user-stat-card{cursor:default}.customer-header-stats .user-stat-card:hover{transform:none}.customer-header-stats .user-stat-card.active{border-color:#bfe0b0;background:linear-gradient(180deg,#fff,#eef8e7)}.customer-header-stats .user-stat-card.admin{border-color:#c8d4eb;background:linear-gradient(180deg,#fff,#f1f6ff)}.users-table-error{margin:10px 16px 0}.audit-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 170px 170px 150px 150px auto;gap:14px;align-items:center}.archive-tabs{display:inline-flex;width:fit-content;padding:4px;border:1px solid #dfe4da;border-radius:10px;background:#fff}.archive-tabs button{min-height:38px;padding:0 18px;border:0;border-radius:8px;color:#43503f;font-weight:800;background:transparent}.archive-tabs button.active{color:#fff;background:#2f7d2c}.changelog-page{gap:12px}.changelog-toolbar{display:flex;align-items:center;justify-content:space-between}.changelog-filter-tabs{display:inline-flex;flex-wrap:wrap;gap:6px;padding:4px;border:1px solid #dfe4da;border-radius:10px;background:#fff}.changelog-filter-tabs button{min-height:36px;padding:0 15px;border:0;border-radius:8px;color:#43503f;font-weight:850;background:transparent}.changelog-filter-tabs button.active{color:#fff;background:#2f7d2c}.changelog-filter-tabs button.active.added{background:#2f7d2c}.changelog-filter-tabs button.active.fixed{background:#2374b6}.changelog-filter-tabs button.active.changed{background:#a06a16}.changelog-filter-tabs button.active.removed{background:#ad2424}.changelog-timeline{display:grid;gap:10px}.changelog-day{padding:0}.changelog-day>header{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 18px;border-bottom:1px solid #e5ebdf}.changelog-day time{display:block;color:#1f2b1d;font-size:18px;font-weight:900}.changelog-day header span{display:block;margin-top:2px;color:#667260;font-size:12px;font-weight:750}.changelog-list{display:grid}.changelog-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:11px 18px;border-bottom:1px solid #edf1e9}.changelog-item:last-child{border-bottom:0}.changelog-item-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cfe2c4;border-radius:9px;color:#2f7d2c;background:#eef8e7}.changelog-item.fixed .changelog-item-icon{color:#2374b6;border-color:#b8d9ef;background:#ecf7ff}.changelog-item.changed .changelog-item-icon{color:#8a5a12;border-color:#e8cc87;background:#fff7df}.changelog-item.removed .changelog-item-icon{color:#ad2424;border-color:#efb9b9;background:#fff1f1}.changelog-item-body{min-width:0}.changelog-item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:5px}.changelog-category,.important-badge{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:0 8px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:850}.changelog-category.added{color:#2f7d2c;border-color:#bfe0b0;background:#eef8e7}.changelog-category.fixed{color:#2374b6;border-color:#b8d9ef;background:#ecf7ff}.changelog-category.changed{color:#8a5a12;border-color:#e8cc87;background:#fff7df}.changelog-category.removed{color:#ad2424;border-color:#efb9b9;background:#fff1f1}.important-badge{color:#7a5613;border-color:#e7bf4f;background:linear-gradient(135deg,#fff8d9,#f8dc78)}.changelog-item-meta>span:last-child{color:#667260;font-size:12px;font-weight:750}.changelog-item h2{margin:0;color:#1f2b1d;font-size:16px}.changelog-item p{margin:5px 0 0;color:#4d5948;font-size:14px;line-height:1.35}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-panel{display:grid;gap:16px}.admin-panel.wide{grid-column:1 / -1}.admin-panel dl{display:grid;gap:12px;margin:0}.admin-panel dl div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #edf1e9}.admin-panel dt{color:#667260;font-weight:750}.admin-panel dd{margin:0;color:#20301d;font-weight:850;text-align:right}.admin-settings-form{display:grid;gap:12px;padding:0 18px 18px}.admin-settings-form label{display:grid;grid-template-columns:minmax(170px,1fr) 90px auto;align-items:center;gap:10px;color:#3b4737;font-weight:800}.admin-settings-form input{min-height:40px;padding:0 10px;border:1px solid #dfe4da;border-radius:8px;color:#20301d;background:#fff}.admin-settings-form small,.admin-settings-form p{color:#667260;font-weight:700}.admin-settings-form p{margin:0;line-height:1.4}.admin-settings-form .secondary-action{width:fit-content}.cors-list{display:flex;flex-wrap:wrap;gap:10px}.cors-list span{padding:8px 10px;border:1px solid #dfe8d5;border-radius:8px;color:#2d3a29;font-weight:750;background:#fbfdf8}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalogs-page{height:calc(100vh - 104px);min-height:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden;padding-bottom:24px}.catalog-summary-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.catalog-summary-row article{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px 10px;align-items:center;min-height:66px;padding:10px 12px;border:1px solid #dfe8d5;border-radius:8px;cursor:pointer;background:#fff}.catalog-summary-row article:hover{border-color:#b8dbaa;background:#fbfff7}.catalog-summary-row article.active{border-color:#8fca38;background:#f3faea;box-shadow:0 10px 24px #2c5d1e14}.catalog-summary-row span{grid-column:2;color:#52624d;font-size:12px;font-weight:850;line-height:1.1;text-align:center}.catalog-summary-row strong{grid-column:2;color:#061b16;font-size:25px;line-height:1;text-align:center}.catalog-summary-row svg{grid-column:1;grid-row:1 / span 2;width:38px;height:38px;padding:8px;border:1px solid #cfe4bf;border-radius:12px;color:#2f7d33;background:#eef8e8}@media(max-width:1280px){.catalog-summary-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}.catalog-shell{display:grid;min-height:0;overflow:hidden}.catalog-tabs{display:inline-flex;width:fit-content;padding:4px;border:1px solid #dfe8d5;border-radius:10px;background:#fff}.catalog-tabs button{min-height:36px;padding:0 18px;border:0;border-radius:8px;color:#31402d;font-weight:850;background:transparent}.catalog-tabs button.active{color:#fff;background:#2e7d33}.catalog-add-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px}.panel-header .catalog-add-button{border:0;border-radius:8px;color:#fff;font-weight:850;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 12px 28px #2d6d3138}.panel-header .catalog-add-button:hover{filter:brightness(1.03)}.catalog-header-actions{display:flex;align-items:center;gap:10px}.catalog-archive-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;min-height:42px;padding:0;border:1px solid #cfe4bf;border-radius:8px;color:#236c28;background:#fff}.catalog-archive-toggle:hover,.catalog-archive-toggle.active{border-color:#8aca36;color:#fff;background:#2f7d33;box-shadow:0 10px 22px #2d6d312e}.catalog-tab-panel,.catalog-price-section{display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0}.panel-header.compact p{margin:4px 0 0;color:#667260;font-size:13px;font-weight:650}.catalog-price-matrix-wrap{overflow:auto;min-height:0;border:1px solid #edf1e9;border-radius:10px}.catalog-table-scroll{position:relative;min-height:0;overflow:auto}.catalog-table-scroll .tariff-table,.catalog-table-scroll .calorie-table,.catalog-table-scroll .menu-table{min-width:860px}.catalog-table-scroll .menu-table{min-width:1220px}.catalog-table-scroll .tariff-table th:last-child,.catalog-table-scroll .tariff-table td:last-child,.catalog-table-scroll .calorie-table th:last-child,.catalog-table-scroll .calorie-table td:last-child{width:330px}.catalog-row-actions{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.catalog-row-actions .table-action{min-height:36px;min-width:0;padding:0 8px}.catalog-menu-section .panel-header{align-items:center}.catalog-menu-section .panel-header p{margin:4px 0 0;color:#667260;font-size:13px;font-weight:650}.menu-month-select{display:inline-flex;align-items:center;gap:8px;min-width:250px;color:#52624d;font-size:12px;font-weight:850}.menu-month-select span{white-space:nowrap}.menu-month-select select{min-height:42px;min-width:250px;padding:0 12px;border:1px solid #dfe4da;border-radius:9px;color:#253021;font-size:14px;font-weight:850;background:#fff}.catalog-menu-note{margin:0;padding:10px 14px;border-bottom:1px solid #edf1e9;color:#7a5613;font-weight:800;background:#fff8df}.menu-title-controls{display:flex;align-items:center;gap:14px;min-width:0}.menu-title-controls h2{white-space:nowrap}.menu-title-controls .weekday-filter{width:430px;max-width:min(430px,45vw)}.menu-table th,.menu-table td{padding:8px 10px}.menu-table th:nth-child(1),.menu-table td:nth-child(1){width:280px}.menu-table th:nth-child(2),.menu-table td:nth-child(2),.menu-table th:nth-child(9),.menu-table td:nth-child(9){width:138px}.menu-table th:nth-child(3),.menu-table td:nth-child(3){min-width:280px}.menu-table th:nth-child(4),.menu-table td:nth-child(4),.menu-table th:nth-child(5),.menu-table td:nth-child(5),.menu-table th:nth-child(6),.menu-table td:nth-child(6),.menu-table th:nth-child(7),.menu-table td:nth-child(7),.menu-table th:nth-child(8),.menu-table td:nth-child(8){width:82px}.menu-table th:last-child,.menu-table td:last-child{width:230px}.menu-table input,.menu-table select{width:100%;min-height:34px;padding:0 9px;border:1px solid #dfe4da;border-radius:8px;color:#253021;font-weight:750;background:#fff}.menu-table input:disabled,.menu-table select:disabled{color:#65705f;opacity:1;background:#fbfdf8}.menu-modal-form .wide-field{grid-column:1 / -1}.weekday-picker{display:grid;grid-template-columns:repeat(7,minmax(32px,1fr));gap:4px;width:100%}.weekday-filter{display:grid;grid-template-columns:minmax(48px,1.2fr) repeat(7,minmax(32px,1fr));gap:4px;width:100%}.weekday-picker button,.weekday-filter button{min-height:34px;padding:0 6px;border:1px solid #dfe4da;border-radius:8px;color:#344131;font-size:13px;font-weight:900;background:#fff}.weekday-picker button:hover:not(:disabled),.weekday-filter button:hover:not(:disabled){border-color:#9fc690;color:#253021;background:#f4faee}.weekday-picker button.active,.weekday-filter button.active{border-color:#2f7d33;color:#fff;background:linear-gradient(180deg,#3e923b,#287331);box-shadow:inset 0 1px #ffffff2e}.weekday-picker button.active:hover:not(:disabled),.weekday-filter button.active:hover:not(:disabled){border-color:#74b85a;color:#1f2b1d;background:#dff2d0}.weekday-picker button:disabled,.weekday-filter button:disabled{cursor:default;opacity:.8}.weekday-picker button.active:disabled,.weekday-filter button.active:disabled{opacity:1}.menu-table tr.muted{opacity:.65}.menu-ai-button{min-height:42px;padding:0 16px;border-color:#b6d9a6;color:#0f681b;background:#f4fbef;box-shadow:0 14px 26px #235c2a14}.menu-ai-button:hover{border-color:#8cc773;background:#eaf7df}.menu-ai-modal{width:min(1180px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:hidden}.menu-ai-modal .modal-header p{margin:5px 0 0;color:#667260;font-size:13px;font-weight:700}.menu-ai-dropzone{display:grid;place-items:center;gap:7px;min-height:142px;padding:22px;border:2px dashed #b9d9ab;border-radius:14px;color:#2d7c32;text-align:center;cursor:pointer;background:linear-gradient(180deg,#fbfdf8,#f1f8ec)}.menu-ai-dropzone strong{color:#1f2b1d;font-size:18px}.menu-ai-dropzone span{color:#65705f;font-size:13px;font-weight:750}.menu-ai-files{display:flex;flex-wrap:wrap;gap:8px}.menu-ai-files span{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 9px 0 12px;border:1px solid #dfe4da;border-radius:999px;color:#344131;font-size:13px;font-weight:800;background:#fff}.menu-ai-files button{display:inline-grid;place-items:center;width:22px;height:22px;border:0;color:#65705f;background:transparent}.menu-ai-actions{display:flex;justify-content:flex-start}.menu-ai-scanner{display:grid;place-items:center;gap:12px;min-height:96px;color:#0f681b}.menu-ai-scan-frame{position:relative;width:180px;height:56px;overflow:hidden;border:1px solid #b9d9ab;border-radius:12px;background:#f7fbf4}.menu-ai-scan-frame div{position:absolute;inset:0 auto 0 0;width:42%;background:linear-gradient(90deg,transparent,rgba(47,125,51,.24),transparent);animation:aiScan 1.25s linear infinite}@keyframes aiScan{0%{transform:translate(-100%)}to{transform:translate(260%)}}.menu-ai-preview{display:grid;gap:10px;min-height:0}.menu-ai-preview-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.menu-ai-preview-header h3{margin:0;font-size:18px}.menu-ai-preview-header span{color:#667260;font-size:13px;font-weight:750}.menu-ai-preview-scroll{max-height:min(42vh,420px);overflow:auto;border:1px solid #dfe4da;border-radius:12px}.menu-ai-preview-table{width:100%;min-width:1040px;border-collapse:collapse}.menu-ai-preview-table th,.menu-ai-preview-table td{padding:8px 9px;border-bottom:1px solid #edf1e9;text-align:left;vertical-align:top}.menu-ai-preview-table th{position:sticky;top:0;z-index:1;color:#1f2b1d;font-size:13px;background:#fbfdf8}.menu-ai-preview-table tr.potential-duplicate{background:#fff8df}.menu-ai-preview-table input,.menu-ai-preview-table select{width:100%;min-height:34px;padding:0 9px;border:1px solid #dfe4da;border-radius:8px;color:#253021;font-weight:750;background:#fff}.menu-ai-preview-table input.requires-fill,.menu-ai-preview-table select.requires-fill{border-color:#ffb95c;background:#fff8df}.menu-ai-preview-table .weekday-picker{min-width:238px}.menu-ai-preview-table th:nth-child(1),.menu-ai-preview-table td:nth-child(1){width:76px}.menu-ai-preview-table th:nth-child(2),.menu-ai-preview-table td:nth-child(2){width:248px}.menu-ai-preview-table th:nth-child(3),.menu-ai-preview-table td:nth-child(3){width:138px}.menu-ai-preview-table th:nth-child(5),.menu-ai-preview-table td:nth-child(5),.menu-ai-preview-table th:nth-child(6),.menu-ai-preview-table td:nth-child(6),.menu-ai-preview-table th:nth-child(7),.menu-ai-preview-table td:nth-child(7),.menu-ai-preview-table th:nth-child(8),.menu-ai-preview-table td:nth-child(8),.menu-ai-preview-table th:nth-child(9),.menu-ai-preview-table td:nth-child(9){width:84px}.menu-ai-check{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #b9d9ab;border-radius:8px;background:#f4fbef}.menu-ai-check input{width:17px;min-height:17px;padding:0}.field-warning{display:inline-block;margin-top:5px;color:#a46400;font-size:12px;font-weight:850}.field-warning.duplicate{color:#b26a00}.catalog-delete-action{border-color:#ffb7bd;color:#d7192d;background:#fff4f5}.catalog-delete-action:hover:not(:disabled){border-color:#ff8f99;background:#ffe8ea}.catalog-delete-action:disabled{cursor:not-allowed;opacity:.45}.catalog-archive-action{border-color:#cfe4bf;color:#236c28;background:#f4faef}.catalog-archive-action:hover{border-color:#9ccc7c;background:#eaf5e2}.catalog-price-matrix thead th,.catalog-table-scroll thead th{position:sticky;top:0;z-index:2;background:#fbfdf8;box-shadow:0 1px #edf1e9}.catalog-price-matrix{width:100%;min-width:0;border-collapse:collapse;table-layout:auto}.catalog-price-matrix th,.catalog-price-matrix td{padding:8px 9px;border-bottom:1px solid #edf1e9;border-right:1px solid #edf1e9;text-align:left;white-space:normal}.catalog-price-matrix th:last-child,.catalog-price-matrix td:last-child{border-right:0}.catalog-price-matrix thead th{color:#21311e;font-size:13px;font-weight:900;background:#fbfdf8}.catalog-price-matrix tbody th{position:sticky;left:0;z-index:1;background:#fff}.catalog-price-matrix thead th:first-child{left:0;z-index:3}.catalog-price-matrix th:nth-child(1),.catalog-price-matrix td:nth-child(1){width:102px}.catalog-price-matrix th:nth-child(n+2),.catalog-price-matrix td:nth-child(n+2){width:auto;min-width:140px}.catalog-price-matrix thead span,.catalog-price-matrix tbody th strong{display:block}.catalog-price-matrix small,.catalog-price-matrix tbody th span{color:#6b7765;font-size:12px;font-weight:750}.catalog-price-matrix .muted,.catalog-price-matrix tr.muted th{opacity:.55}.catalog-price-matrix td.inactive-price{background:#fff8f8}.price-cell{display:grid;grid-template-columns:minmax(60px,1fr) 42px 34px;gap:5px;align-items:center}.price-input-wrap{position:relative;min-width:0}.price-cell input{min-height:32px;width:100%;padding:0 26px 0 8px;border:1px solid #dfe4da;border-radius:8px;color:#253021;font-weight:850;background:#fff}.price-input-wrap span{position:absolute;top:50%;right:9px;color:#61705a;font-size:14px;font-weight:900;line-height:1;pointer-events:none;-webkit-user-select:none;user-select:none;transform:translateY(-50%)}.price-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;min-height:32px;padding:0;border:1px solid #ffc4c8;border-radius:8px;color:#d7192d;background:#fff1f2}.price-toggle.active{border-color:#b8dbaa;color:#1f7b2f;background:#f1faed}.price-save{min-height:32px;border:0;border-radius:8px;color:#fff;font-size:13px;font-weight:900;background:#2f7d33}.price-save:disabled,.price-toggle:disabled{cursor:not-allowed;opacity:.55}.catalog-modal-form{width:min(100%,640px)}.catalog-modal-switches{display:flex;flex-wrap:wrap;gap:14px;padding:12px 0 2px}.catalog-modal-switches .checkbox-line{display:inline-flex;align-items:center;gap:8px;color:#344131;font-weight:850}.ration-meal-selector{display:grid;gap:10px;margin:0;padding:14px;border:1px solid #dfe4da;border-radius:12px;background:#fbfdf8}.ration-meal-selector legend{padding:0 8px;color:#344131;font-weight:900}.ration-meal-selector>div{display:flex;flex-wrap:wrap;gap:8px}.ration-meal-selector button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid #dfe4da;border-radius:999px;color:#344131;font-weight:850;background:#fff}.ration-meal-selector button:hover{border-color:#9fc690;background:#f4faee}.ration-meal-selector button.active{border-color:#2f7d33;color:#0f681b;background:#edf8e6}.ration-meal-chips{display:flex;flex-wrap:wrap;gap:6px;max-width:520px}.ration-meal-chips span{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid #cfe3c5;border-radius:999px;color:#0f681b;font-size:12px;font-weight:850;background:#f3faee}.ration-meal-chips span.muted{border-color:#dfe4da;color:#7d8877;background:#f8faf5}.catalog-panel{display:grid;gap:16px;min-width:0}.catalog-panel.wide{grid-column:1 / -1}.catalog-form{display:grid;grid-template-columns:minmax(160px,1fr) 110px minmax(110px,auto) auto;gap:12px;align-items:end;padding:14px;border:1px solid #edf1e9;border-radius:10px;background:#fbfcfa}.catalog-form label{display:grid;gap:7px;color:#344131;font-weight:800}.catalog-form input,.catalog-form select,.catalog-form textarea{min-height:40px;padding:0 11px;border:1px solid #dfe4da;border-radius:9px;color:#253021;background:#fff}.catalog-form textarea{min-height:80px;padding-top:10px;resize:vertical}.catalog-form .wide-field{grid-column:span 2}.vk-template-form{grid-template-columns:minmax(150px,.8fr) minmax(260px,2fr) 110px minmax(110px,auto) auto}.notification-template-form{grid-template-columns:minmax(180px,1fr) 100px minmax(180px,1fr) minmax(260px,1.5fr) minmax(110px,auto) auto}.catalog-form .checkbox-line{display:inline-flex;align-items:center;min-height:40px}.catalog-form .checkbox-line input{width:18px;min-height:18px;padding:0}.catalog-inline-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.8fr) minmax(220px,1.2fr) auto;gap:10px;align-items:end;padding:12px 16px;border-bottom:1px solid #edf1e9}.catalog-inline-form label{display:grid;gap:6px;color:#344131;font-size:13px;font-weight:850}.catalog-inline-form input,.catalog-inline-form select{min-height:38px;padding:0 11px;border:1px solid #dfe4da;border-radius:9px;color:#253021;background:#fff}.catalog-inline-form .wide-field{min-width:0}.catalog-simple-table{width:100%;table-layout:fixed;border-collapse:collapse}.catalog-simple-table th,.catalog-simple-table td{padding:12px 16px;border-bottom:1px solid #edf1e9;text-align:left;vertical-align:middle}.catalog-simple-table th,.catalog-simple-table td{overflow:hidden;text-overflow:ellipsis}.catalog-simple-table th:nth-last-child(2),.catalog-simple-table td:nth-last-child(2){width:140px}.catalog-simple-table th:last-child,.catalog-simple-table td:last-child{width:260px}.catalog-simple-table tr.muted{opacity:.72}.composition-modal{width:min(100%,760px)}.composition-body{display:grid;gap:14px}.composition-section{display:grid;gap:10px;margin:0;padding:14px;border:1px solid #dfe4da;border-radius:12px;background:#fbfdf8}.composition-section legend{padding:0 8px;color:#344131;font-weight:900}.composition-chips,.customer-exclusion-chip-list{display:flex;flex-wrap:wrap;gap:8px}.composition-chips button,.customer-exclusion-chip-list button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #d8e6cf;border-radius:999px;color:#344131;font-weight:850;background:#fff}.composition-chips button.active{border-color:#2f7d33;color:#0f681b;background:#edf8e6}.composition-chips{gap:5px}.composition-chips button{gap:4px;min-height:24px;padding:0 7px;font-size:12px;line-height:1}.composition-chips button svg{width:12px;height:12px}.composition-add-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:center}.composition-ingredient-picker{position:relative}.composition-ingredient-picker input{width:100%;min-height:38px;padding:0 11px;border:1px solid #dfe4da;border-radius:9px;background:#fff}.composition-ingredient-results{position:absolute;z-index:90;top:calc(100% + 7px);left:0;right:0;display:grid;gap:6px;max-height:226px;overflow:auto;padding:8px;border:1px solid #dfe8d8;border-radius:12px;background:#fff;box-shadow:0 14px 34px #1f2f181f}.composition-ingredient-results button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:8px 10px;border:1px solid #e3eadc;border-radius:10px;color:#253021;background:#fbfdf8;text-align:left}.composition-ingredient-results button:hover{border-color:#8cc63f;background:#f1f8eb}.composition-ingredient-results span{min-width:0;overflow:hidden;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.composition-ingredient-results small{flex:0 0 auto;color:#66745f;font-size:12px;font-weight:750}.composition-ingredient-list{display:grid;gap:8px}.composition-ingredient-row{display:grid;grid-template-columns:minmax(180px,1fr) auto 38px;gap:10px;align-items:center;padding:10px;border:1px solid #edf1e9;border-radius:10px;background:#fff}.composition-ingredient-row div{display:grid;gap:2px}.composition-ingredient-row span{color:#65705f;font-size:12px;font-weight:750}.composition-required{min-height:32px;padding:0 10px;border:1px solid #f1c983;border-radius:8px;color:#a46400;font-weight:850;background:#fff8e8}.composition-required.active{border-color:#b8dbaa;color:#0f681b;background:#f1faed}.icon-danger-button{display:inline-grid;place-items:center;min-height:34px;border:1px solid #ffb7bd;border-radius:8px;color:#d7192d;background:#fff4f5}.search-field{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid #dfe4da;border-radius:10px;color:#65705f;background:#fff}.search-clear-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;min-height:28px;padding:0;border:0;border-radius:50%;color:#66745f;background:transparent}.search-clear-button:hover{color:#253021;background:#edf6e4}.search-field input,.customers-toolbar select,.customer-form input,.customer-form select,.customer-form textarea{width:100%;border:0;outline:0;color:#253021;background:transparent}.customers-toolbar select,.audit-toolbar select,.audit-toolbar input,.customers-toolbar .date-filter,.orders-header-toolbar select,.orders-header-toolbar .date-filter{min-height:46px;padding:0 12px;border:1px solid #dfe4da;border-radius:10px;background:#fff}.tag-filter-dropdown{position:relative;min-width:230px}.tag-filter-control{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:6px 10px 6px 12px;border:1px solid #dfe4da;border-radius:10px;color:#20301d;font-weight:800;background:#fff}.tag-filter-control:hover,.tag-filter-control[aria-expanded=true]{border-color:#b7d6a8;box-shadow:0 0 0 3px #6faf2f1a}.tag-filter-all{display:inline-flex;align-items:center;min-height:30px;color:#2f3a2d;font-weight:850}.tag-filter-menu{position:absolute;z-index:30;top:calc(100% + 8px);left:0;display:grid;gap:4px;width:min(280px,100vw);padding:8px;border:1px solid #dfe4da;border-radius:12px;background:#fff;box-shadow:0 18px 40px #1d2f1824}.tag-filter-menu button{display:flex;align-items:center;justify-content:flex-start;min-height:42px;padding:6px 9px;border:0;border-radius:9px;color:#253421;font-weight:800;background:transparent;text-align:left}.tag-filter-menu button:hover,.tag-filter-menu button.active{background:#f1f8eb}.tag-filter-option{display:inline-flex;align-items:center;gap:10px;color:#2f3a2d;font-weight:850;user-select:none;-webkit-user-select:none}.tag-filter-option-icon{--tag-accent: #426235;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:999px;color:#426235}.tag-filter-option-icon.new{--tag-accent: #245f7a;color:#245f7a}.tag-filter-option-icon.regular{--tag-accent: #8c4460;color:#8c4460}.tag-filter-option-icon.problem{--tag-accent: #a92c32;color:#a92c32}.tag-filter-option-icon.vip{--tag-accent: #7a5613;color:#7a5613}.tag-filter-option-icon.corporate{--tag-accent: #5a3f8a;color:#5a3f8a}.tag-filter-option-icon .customer-tag-icon{width:30px;height:30px;flex-basis:30px;background:transparent}.tag-filter-option-icon .customer-tag-icon>svg:not(.tag-mini-icon){width:18px;height:18px}.tag-filter-option-icon .customer-tag-icon.stacked .tag-mini-icon{right:-2px;bottom:2px;width:11px;height:11px}.tag-filter-option-icon .customer-tag-icon.stacked .tag-mini-text{right:-11px;bottom:0;min-width:22px;padding:2px 4px;font-size:7px}.secondary-action,.table-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #9fc690;border-radius:9px;color:#236c28;font-weight:800;background:#f8fff3}.secondary-action{padding:0 16px}.customers-header-toolbar .customers-create-action,.orders-header-toolbar .orders-create-action{border-color:transparent;color:#fff;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 12px 24px #2d6d3133}.customers-header-toolbar .customers-create-action:hover,.orders-header-toolbar .orders-create-action:hover{background:linear-gradient(180deg,#459346,#286529);box-shadow:0 14px 28px #2d6d3142}.customers-header-toolbar .customers-create-action svg,.orders-header-toolbar .orders-create-action svg{stroke-width:2.4}.customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.customer-stats article{min-height:88px;padding:16px 18px;border:1px solid #dfe4da;border-radius:10px;background:#fff}.customer-tag-stats .customer-stat-card{display:flex;align-items:center;justify-content:space-between;gap:14px;overflow:hidden}.customer-stat-card.total{border-color:#d6e4cf;background:#fbfdf8}.customer-stat-card.new{border-color:#b8def2;background:#f1faff}.customer-stat-card.regular{border-color:#f3bfd2;background:#fff4f8}.customer-stat-card.vip{border-color:#efcf77;background:linear-gradient(135deg,#fffaf0,#fff2bd)}.customer-stat-card.corporate{border-color:#cdbcf4;background:#f5f0ff}.customer-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border:1px solid transparent;border-radius:16px}.customer-stat-icon.total{color:#2f6f35;border-color:#c9dfbd;background:#eef7e7}.customer-stat-icon.new{--tag-accent: #245f7a;color:#245f7a;border-color:#a9d6eb;background:#e2f6ff}.customer-stat-icon.regular{--tag-accent: #8c4460;color:#8c4460;border-color:#edb2ca;background:#ffe8f1}.customer-stat-icon.vip{--tag-accent: #7a5613;color:#7a5613;border-color:#e5ba4b;background:linear-gradient(135deg,#fff4bd,#f6c94a);box-shadow:inset 0 1px #ffffffbf}.customer-stat-icon.corporate{--tag-accent: #5a3f8a;color:#5a3f8a;border-color:#c6b2f0;background:#eee8ff}.customer-stat-icon .customer-tag-icon{width:30px;height:30px}.customer-stat-icon .customer-tag-icon>svg:not(.tag-mini-icon){width:24px;height:24px}.customer-stat-icon .customer-tag-icon.stacked .tag-mini-icon{right:-2px;bottom:2px;width:13px;height:13px;color:#fff;background:var(--tag-accent)}.customer-stat-icon .customer-tag-icon.stacked .tag-mini-text{right:-13px;bottom:-1px;min-width:27px;padding:2px 5px;color:#fff;background:var(--tag-accent);font-size:8px}.customer-stats article>span,.customer-stats article>div>span{color:#607059;font-weight:700}.customer-stats strong{display:block;margin-top:8px;font-size:28px}.customer-header-stats{display:grid;grid-template-columns:repeat(5,minmax(92px,1fr));gap:6px;min-width:0}.customer-header-stats .customer-stat-card{min-height:46px;padding:6px 7px 6px 9px;border:1px solid #d6e4cf;border-radius:8px;color:inherit;font:inherit;background:linear-gradient(180deg,#fff,#fbfdf8);box-shadow:inset 0 1px #ffffffd9;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.customer-header-stats .customer-stat-card:hover,.customer-header-stats .customer-stat-card.active{box-shadow:inset 0 1px #ffffffe6,0 7px 16px #2f6f351a;transform:translateY(-1px)}.customer-header-stats .customer-stat-card.total{border-color:#cfe2c4;background:linear-gradient(180deg,#fff,#f3faee)}.customer-header-stats .customer-stat-card.new{border-color:#afd9ef;background:linear-gradient(180deg,#fff,#edf9ff)}.customer-header-stats .customer-stat-card.regular{border-color:#efb9cf;background:linear-gradient(180deg,#fff,#fff0f6)}.customer-header-stats .customer-stat-card.vip{border-color:#e9c761;background:linear-gradient(135deg,#fffdf7,#fff1b8)}.customer-header-stats .customer-stat-card.corporate{border-color:#c8b8ef;background:linear-gradient(180deg,#fff,#f2edff)}.customer-header-stats .customer-stat-card.total.active{border-color:#75ad63}.customer-header-stats .customer-stat-card.new.active{border-color:#62b8e3}.customer-header-stats .customer-stat-card.regular.active{border-color:#df7ea5}.customer-header-stats .customer-stat-card.vip.active{border-color:#d8a81f}.customer-header-stats .customer-stat-card.corporate.active{border-color:#8d72d2}.order-header-stats .order-stat-card.total{border-color:#cfe2c4;background:linear-gradient(180deg,#fff,#f3faee)}.order-header-stats .order-stat-card.active{border-color:#bfe0b0;background:linear-gradient(180deg,#fff,#eef8e7)}.order-header-stats .order-stat-card.frozen{border-color:#acd9ee;background:linear-gradient(180deg,#fff,#eaf8ff)}.order-header-stats .order-stat-card.unpaid{border-color:#efb9b9;background:linear-gradient(180deg,#fff,#fff1f1)}.order-header-stats{grid-template-columns:repeat(4,minmax(112px,1fr))}.order-header-stats .order-stat-card{display:flex;align-items:center;justify-content:space-between;gap:14px;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow:hidden}.order-header-stats .order-stat-card:hover,.order-header-stats .order-stat-card.selected-filter{box-shadow:inset 0 1px #ffffffe6,0 10px 22px #2f6f351f;transform:translateY(-1px)}.order-header-stats .order-stat-card.total.selected-filter,.order-header-stats .order-stat-card.active.selected-filter{border-color:#75ad63}.order-header-stats .order-stat-card.frozen.selected-filter{border-color:#4fa8d2}.order-header-stats .order-stat-card.unpaid.selected-filter{border-color:#e07272}.customer-header-stats .customer-stat-card>div{min-width:0}.customer-header-stats .customer-stat-card span{color:#607059;font-size:10px;font-weight:850;line-height:1.1}.customer-header-stats .customer-stat-card strong{display:block;margin-top:2px;color:#071713;font-size:18px;font-weight:900;line-height:1}.customer-header-stats .customer-stat-icon{width:30px;height:30px;flex:0 0 30px;border-radius:9px}.customer-header-stats .customer-stat-icon .customer-tag-icon{transform:scale(.72)}.order-stat-icon.active{color:#2f7d2c;border-color:#bfe0b0;background:#eef8e7}.order-stat-icon.frozen{color:#1f6f91;border-color:#acd9ee;background:#e8f7ff}.order-stat-icon.unpaid{color:#b42323;border-color:#efb9b9;background:#fff1f1}.customer-tag-stats .customer-stat-icon.total{color:#2f6f35}.customer-tag-stats .customer-stat-icon.new{color:#245f7a}.customer-tag-stats .customer-stat-icon.regular{color:#8c4460}.customer-tag-stats .customer-stat-icon.vip{color:#7a5613}.customers-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.78fr);gap:18px}.customers-inline-layout{grid-template-columns:minmax(0,1fr)}.customers-index-page .customers-inline-layout,.orders-index-page .customers-inline-layout{min-height:0}.customers-table-panel{min-width:0}.customers-index-page .customers-table-panel,.orders-index-page .orders-table-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;overflow:hidden}.table-content{position:relative;min-height:0;overflow:hidden}.customers-index-page .table-content,.orders-index-page .table-content{overflow-x:hidden;overflow-y:auto}.customers-index-page .table-content{scroll-padding-bottom:18px}.table-content table{width:100%}.table-content-stretch table{height:100%}.table-content-stretch tbody tr{height:12.5%}.table-content-stretch tbody td{vertical-align:middle}.customers-index-page .customers-table,.orders-index-page .orders-table{align-self:start}.customers-index-page .customers-table th,.customers-index-page .customers-table td{padding-top:13px;padding-bottom:13px}.orders-index-page .orders-table th,.orders-index-page .orders-table td{padding-top:12px;padding-bottom:12px}.skeleton-line{display:block;overflow:hidden;border-radius:999px;background:linear-gradient(90deg,#edf3e9,#f8fbf5 42%,#e4eedf 78%);background-size:220% 100%;animation:skeleton-pulse 1.35s ease-in-out infinite}.skeleton-card{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:8px 14px;align-items:center;min-height:74px;padding:14px;border:1px solid #dfe4da;border-radius:8px;background:#fff}.skeleton-icon,.skeleton-metric-icon,.skeleton-avatar{border-radius:50%}.skeleton-icon{grid-row:1 / span 2;width:42px;height:42px}.skeleton-title{width:74px;height:12px}.skeleton-title.wide{width:min(160px,78%)}.skeleton-value{width:42px;height:24px;border-radius:8px}.skeleton-heading{width:170px;height:24px;border-radius:7px}.skeleton-button{width:128px;height:42px;border-radius:8px}.skeleton-square-action{width:42px;height:42px;border-radius:8px}.skeleton-link{width:84px;height:14px}.skeleton-arrow{width:18px;height:18px}.skeleton-badge{width:26px;height:26px}.skeleton-text{width:min(260px,92%);height:13px}.skeleton-metric{pointer-events:none}.skeleton-metric-icon{width:56px;height:56px}.skeleton-panel,.catalog-skeleton-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.catalog-skeleton-panel{grid-row:1 / -1}.skeleton-table{display:grid;min-height:0;overflow:hidden;background:#fff}.skeleton-table-head,.skeleton-table-row{display:grid;gap:18px;align-items:center;min-height:52px;padding:0 14px;border-bottom:1px solid #edf1e9}.skeleton-table-head{min-height:44px;background:#fbfdf8}.skeleton-cell{width:74%;height:14px}.skeleton-cell.heading{width:46%;height:12px}.skeleton-cell.strong{width:62%;height:16px}.skeleton-message-row{min-height:88px}.skeleton-avatar{width:48px;height:48px}.skeleton-footer{justify-content:center}.table-loading-state{position:absolute;top:50px;right:0;bottom:0;left:0;padding:0;background:#fff}.data-table-ready tbody tr{animation:table-row-in .26s ease-out both}.data-table-ready tbody tr:nth-child(1){animation-delay:20ms}.data-table-ready tbody tr:nth-child(2){animation-delay:45ms}.data-table-ready tbody tr:nth-child(3){animation-delay:70ms}.data-table-ready tbody tr:nth-child(4){animation-delay:95ms}.data-table-ready tbody tr:nth-child(5){animation-delay:.12s}.data-table-ready tbody tr:nth-child(6){animation-delay:145ms}.data-table-ready tbody tr:nth-child(7){animation-delay:.17s}.data-table-ready tbody tr:nth-child(8){animation-delay:195ms}@keyframes hourglass-flip{0%,42%{transform:rotate(0)}58%,to{transform:rotate(180deg)}}@keyframes table-row-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes skeleton-pulse{0%{background-position:100% 0}to{background-position:-120% 0}}.table-pagination{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:10px 14px;border-top:1px solid #edf1e9;background:#fff}.table-pagination button{min-height:36px;padding:0 14px;border:1px solid #c8dfbe;border-radius:8px;color:#236c28;font-weight:850;background:#f8fff3;cursor:pointer}.table-pagination button:hover:not(:disabled){border-color:#8fc56e;background:#eef9e7}.table-pagination button:disabled{opacity:.45;cursor:not-allowed}.table-pagination span{color:#4f6048;font-size:13px;font-weight:850}.customers-table th,.customers-table td,.orders-table th,.orders-table td{padding:15px 14px}.orders-table small{display:block;margin-top:4px;color:#687463;font-size:12px;font-weight:650}.orders-table th:nth-child(1),.orders-table td:nth-child(1){width:115px}.orders-table th:nth-child(2),.orders-table td:nth-child(2){width:23%}.orders-table th:nth-child(5),.orders-table td:nth-child(5),.orders-table th:nth-child(6),.orders-table td:nth-child(6){width:145px}.kitchen-toolbar{grid-template-columns:180px 210px 190px auto auto}.kitchen-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.kitchen-alerts,.kitchen-readonly-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #e6c16f;border-radius:10px;color:#735114;background:#fff8e7}.kitchen-alerts strong,.kitchen-alerts p{margin:0}.kitchen-alerts p{margin-top:3px}.kitchen-panel{display:grid}.kitchen-panel-header{gap:16px}.kitchen-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.kitchen-bulk-actions span{color:#607059;font-weight:750;white-space:nowrap}.kitchen-bulk-actions select,.kitchen-bulk-actions button{min-height:38px;padding:0 10px;border:1px solid #c9ddb9;border-radius:8px;color:#253421;font-weight:800;background:#fff}.kitchen-bulk-actions button{color:#236c28;background:#f8fff3}.kitchen-bulk-actions button:disabled,.kitchen-bulk-actions select:disabled{cursor:not-allowed;opacity:.55}.kitchen-groups{display:grid;gap:14px;padding:18px}.kitchen-group{overflow:hidden;border:1px solid #dfe8d5;border-radius:10px;background:#fff}.kitchen-day-menu{overflow:hidden;border:1px solid #cfe4bf;border-radius:10px;background:#fff}.kitchen-group header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 14px;border-bottom:1px solid #edf1e9;background:#fbfdf8}.kitchen-day-menu header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 14px;border-bottom:1px solid #edf1e9;background:#f3faea}.kitchen-day-menu header strong{color:#1f2b1d}.kitchen-day-menu header span{color:#2f7d33;font-weight:900}.kitchen-group header strong{color:#1f2b1d}.kitchen-group header span{color:#607059;font-weight:750}.kitchen-menu-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 12px;border-bottom:1px solid #edf1e9;background:#fbfff7}.kitchen-menu-preview article{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid #dfe8d5;border-radius:9px;background:#fff}.kitchen-menu-preview span{color:#2f7d33;font-size:12px;font-weight:900}.kitchen-menu-preview strong{overflow:hidden;color:#1f2b1d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.kitchen-menu-preview small{overflow:hidden;color:#65705f;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.kitchen-table th:first-child,.kitchen-table td:first-child{width:48px;text-align:center}.kitchen-table th:nth-child(2),.kitchen-table td:nth-child(2){width:160px}.kitchen-table th:nth-child(3),.kitchen-table td:nth-child(3){width:180px}.kitchen-table input[type=checkbox]{width:18px;height:18px;accent-color:#2f7a2c}.kitchen-cancelled{display:grid;gap:10px;padding:0 18px 18px}.kitchen-cancelled h3{margin:0}.kitchen-cancelled article{display:grid;grid-template-columns:130px 90px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #efd89b;border-radius:10px;background:#fffaf0}.kitchen-cancelled p{margin:0;color:#735114}.kitchen-device-mode .sidebar,.kitchen-device-mode .topbar{display:none}.app-shell.kitchen-device-mode{grid-template-columns:minmax(0,1fr)}.kitchen-device-mode .workspace{min-width:0}.kitchen-board-page{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;height:calc(100vh - 104px);padding:14px 18px;overflow:hidden}.kitchen-device-mode .kitchen-board-page{height:100vh}.kitchen-device-tap-zone{position:fixed;top:0;left:0;z-index:20;width:100%;height:36px;border:0;background:transparent}.kitchen-device-panel{position:fixed;top:14px;right:18px;z-index:30;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #c9ddb9;border-radius:12px;background:#fff;box-shadow:0 16px 34px #19442129}.kitchen-device-panel span{color:#1f2b1d;font-weight:900}.kitchen-device-panel button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid #c9ddb9;border-radius:8px;color:#236c28;font-weight:850;background:#f8fff3}.kitchen-board-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.kitchen-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.kitchen-print-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 11px;border:1px solid #a8d08f;border-radius:9px;color:#fff;font-weight:900;background:#2f7d33;box-shadow:0 12px 26px #2f7d332e}.kitchen-print-button:disabled{color:#90a287;background:#edf5e8;box-shadow:none}.kitchen-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 11px;border:1px solid #c9ddb9;border-radius:9px;color:#236c28;font-weight:900;background:#fff}.kitchen-secondary-button:hover{background:#f3faec}.kitchen-board-header span{color:#607059;font-weight:850}.kitchen-board-header h2{margin:2px 0 0;color:#102016;font-size:28px;line-height:1}.kitchen-date-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}.kitchen-date-controls button,.kitchen-date-controls label{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 11px;border:1px solid #c9ddb9;border-radius:10px;color:#253421;font-weight:850;background:#fff}.kitchen-date-controls button.active{border-color:#2f7d33;color:#fff;background:#2f7d33}.kitchen-date-controls input{width:132px;border:0;color:#253421;font:inherit;font-weight:850;background:transparent}.kitchen-scan-panel{display:grid;grid-template-columns:auto minmax(320px,1fr);align-items:center;gap:8px;padding:8px 10px;border:1px solid #dfe8d5;border-radius:12px;background:#fff;box-shadow:0 14px 28px #1944210f}.kitchen-mode-toggle{display:flex;gap:6px}.kitchen-mode-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #d9e5cf;border-radius:9px;color:#253421;font-weight:900;background:#fbfdf8}.kitchen-mode-toggle button.active{border-color:#2f7d33;color:#fff;background:#2f7d33}.kitchen-scan-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:36px;padding:0 6px 0 12px;border:1px solid #c9ddb9;border-radius:10px;color:#2f7d33;background:#f8fff3}.kitchen-scan-form input{min-width:0;border:0;outline:0;color:#102016;font-weight:850;background:transparent}.kitchen-scan-form button{min-height:28px;padding:0 12px;border:0;border-radius:8px;color:#fff;font-weight:900;background:#2f7d33}.kitchen-scan-form button:disabled{color:#819078;background:#e9f1e2}.kitchen-active-package{display:grid;gap:2px;min-height:36px;padding:6px 10px;border:1px solid #dfe8d5;border-radius:10px;color:#607059;font-weight:850;background:#fbfdf8}.kitchen-active-package.has-package{border-color:#a8d08f;color:#236c28;background:#f3fbe9}.kitchen-active-package strong{color:#102016}.kitchen-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.kitchen-progress-grid.kitchen-only{grid-template-columns:repeat(2,minmax(0,1fr))}.kitchen-progress-grid.packaging-only{grid-template-columns:repeat(3,minmax(0,1fr))}.kitchen-progress-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;min-height:72px;padding:12px 14px;border:1px solid #dfe8d5;border-radius:12px;background:#fff;box-shadow:0 14px 28px #1944210f}.kitchen-progress-card.primary{border-color:#a7d789;background:#f5fff0}.kitchen-progress-card.warning{border-color:#e9c46a;background:#fff9e7}.kitchen-progress-card span,.kitchen-progress-card small{color:#607059;font-weight:850}.kitchen-progress-card strong{grid-row:span 2;align-self:center;color:#102016;font-size:32px;line-height:1}.kitchen-progress-line{grid-column:1 / -1;overflow:hidden;height:7px;margin-top:5px;border-radius:999px;background:#eaf2e2}.kitchen-progress-line span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8bcf32,#2f7d33);transition:width .22s ease}.kitchen-board-loading{display:grid;place-items:center;align-content:center;gap:10px;min-height:320px;color:#236c28;font-weight:900}.kitchen-board-loading svg{animation:hourglass-flip 1.2s ease-in-out infinite}.kitchen-board-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,25vw);gap:12px;min-height:0}.kitchen-board-main,.kitchen-board-side{min-height:0}.kitchen-board-main{display:grid;grid-template-rows:minmax(0,1fr);min-height:0}.kitchen-ration-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:7px}.kitchen-ration-strip article,.kitchen-ration-strip p{display:grid;gap:1px;min-height:70px;padding:9px 11px;border:1px solid #dfe8d5;border-radius:12px;background:#fff}.kitchen-ration-strip strong{color:#102016;font-size:24px;line-height:1}.kitchen-ration-strip span{color:#236c28;font-weight:900}.kitchen-ration-strip small,.kitchen-ration-strip em{overflow:hidden;color:#607059;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.kitchen-ration-strip em{color:#a36712}.kitchen-dishes-panel,.kitchen-board-side section{overflow:hidden;border:1px solid #dfe8d5;border-radius:12px;background:#fff}.kitchen-dishes-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0}.kitchen-dishes-panel header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:0 14px;border-bottom:1px solid #edf1e9}.kitchen-dishes-panel h3,.kitchen-board-side h3{margin:0;color:#102016}.kitchen-dishes-panel header span{color:#607059;font-weight:850}.kitchen-dish-filters{display:flex;align-items:center;gap:6px;min-width:0;overflow:auto}.kitchen-dish-filters button{min-height:28px;padding:0 10px;border:1px solid #d9e5cf;border-radius:8px;color:#253421;font-weight:900;background:#fff;white-space:nowrap}.kitchen-dish-filters button.active{border-color:#2f7d33;color:#fff;background:#2f7d33}.kitchen-dish-groups{display:grid;align-content:start;gap:6px;min-height:0;padding:10px;overflow:auto}.kitchen-dish-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid #e3ebdb;border-radius:10px;color:inherit;text-align:left;background:#fbfdf8;cursor:pointer;transition:border-color .15s ease,background .15s ease}.kitchen-dish-row:hover:not(:disabled){border-color:#a8d08f;background:#f5fff0}.kitchen-dish-row.in-progress{border-color:#efd58b;background:#fffaf0}.kitchen-dish-row.ready{border-color:#a8d08f;background:#f4fff0}.kitchen-dish-row:disabled{cursor:not-allowed;opacity:.72}.kitchen-dish-row.missing{border-color:#ffb6b6;background:#fff2f2}.kitchen-dish-groups strong{display:block;overflow:hidden;color:#102016;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.kitchen-dish-groups span{display:block;margin-top:1px;color:#607059;font-weight:800}.kitchen-dish-counts{display:grid;justify-items:end;gap:3px;min-width:72px}.kitchen-dish-ready-icon{color:#2f7d33}.kitchen-dish-progress-icon{color:#bd7a10}.kitchen-dish-counts b{color:#102016;font-size:23px;line-height:1}.kitchen-dish-counts small,.kitchen-dish-counts em{color:#607059;font-style:normal;font-weight:850}.kitchen-dish-counts em{color:#bc6b00}.kitchen-dish-progress-wrap{position:relative}.kitchen-dish-progress-wrap.with-status{padding-top:18px}.kitchen-dish-progress-status{position:absolute;top:0;right:6px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:18px}.kitchen-dish-progress{overflow:hidden;height:5px;margin-top:6px;border-radius:999px;background:#e9f1e2}.kitchen-dish-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8bcf32,#2f7d33);transition:width .18s ease}.kitchen-packages-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden;border:1px solid #dfe8d5;border-radius:12px;background:#fff}.kitchen-packages-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 14px;border-bottom:1px solid #edf1e9}.kitchen-packages-panel header h3{margin:0;color:#102016}.kitchen-packages-panel header span{color:#607059;font-weight:850}.kitchen-package-list{display:grid;align-content:start;gap:7px;min-height:0;padding:10px;overflow:auto}.kitchen-package-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e3ebdb;border-radius:10px;background:#fbfdf8}.kitchen-package-list article.in_progress{border-color:#e9c46a;background:#fff9e7}.kitchen-package-list article.packed{border-color:#a8d08f;background:#f4fff0}.kitchen-package-list strong,.kitchen-package-list span,.kitchen-package-list small,.kitchen-package-list em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kitchen-package-list strong{color:#102016;font-size:15px}.kitchen-package-list span,.kitchen-package-list small{color:#607059;font-weight:800}.kitchen-package-list em{grid-column:1 / -1;justify-self:start;color:#bc6b00;font-style:normal;font-weight:850}.kitchen-package-warning{display:inline-flex!important;width:fit-content;padding:3px 8px;border-radius:999px;background:#fff3d6}.kitchen-package-list .status-chip{display:inline-flex;align-items:center;gap:5px}.kitchen-package-list button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid #a8d08f;border-radius:9px;color:#236c28;font-weight:900;background:#f8fff3}.kitchen-package-list button:disabled{color:#94a58e;background:#edf3e8}.kitchen-board-side{display:grid;grid-template-rows:auto auto;align-content:start;gap:10px}.kitchen-board-side section{display:grid;gap:8px;padding:12px}.kitchen-control-panel{align-content:start}.kitchen-control-panel .kitchen-mode-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.kitchen-control-panel .kitchen-mode-toggle button,.kitchen-control-panel .kitchen-scan-form,.kitchen-control-panel .kitchen-progress-card{width:100%}.kitchen-control-panel .kitchen-scan-form{grid-template-columns:auto minmax(0,1fr);padding:8px 10px}.kitchen-control-panel .kitchen-scan-form input{min-height:30px}.kitchen-control-panel .kitchen-scan-form button{grid-column:1 / -1;width:100%;min-height:34px}.kitchen-control-panel .kitchen-progress-card{min-height:78px}.kitchen-status-stack,.kitchen-comment-stack{display:grid;gap:8px}.kitchen-comment-stack{overflow:auto}.kitchen-status-stack article{display:flex;align-items:center;justify-content:space-between;gap:12px}.kitchen-status-stack strong{color:#102016;font-size:24px}.kitchen-comment-stack article{display:grid;gap:4px;padding:9px 10px;border:1px solid #efd89b;border-radius:10px;background:#fffaf0}.kitchen-comment-stack p{margin:0;color:#1f2b1d;font-weight:850}.kitchen-comment-stack span,.kitchen-transfer-note span{color:#735114;font-weight:800}.kitchen-transfer-note{display:flex!important;align-items:center;gap:10px;color:#a36712;background:#fff8e7!important}.kitchen-packaging-drawer{position:absolute;right:18px;bottom:18px;z-index:18;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(440px,calc(100% - 36px));max-height:min(520px,calc(100vh - 160px));overflow:hidden;border:1px solid #c9ddb9;border-radius:14px;background:#fff;box-shadow:0 20px 48px #19442138}.kitchen-packaging-drawer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #edf1e9}.kitchen-packaging-drawer header div{display:grid;gap:2px}.kitchen-packaging-drawer header span{color:#607059;font-weight:850}.kitchen-packaging-drawer header strong{color:#102016;font-size:20px}.kitchen-packaging-drawer header button{min-height:34px;padding:0 10px;border:1px solid #c9ddb9;border-radius:8px;color:#236c28;font-weight:850;background:#f8fff3}.kitchen-package-portions{display:grid;align-content:start;gap:8px;min-height:0;padding:12px;overflow:auto}.kitchen-package-portions article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e3ebdb;border-radius:10px;background:#fbfdf8}.kitchen-package-portions article.ready{border-color:#b9dba2;background:#f5fff0}.kitchen-package-portions article.packed{border-color:#86c86e;background:#eaf8e7}.kitchen-package-portions strong,.kitchen-package-portions span,.kitchen-package-portions em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kitchen-package-portions strong{color:#102016}.kitchen-package-portions span,.kitchen-package-portions em{color:#607059;font-style:normal;font-weight:800}.kitchen-package-portions small{padding:5px 8px;border-radius:999px;color:#236c28;font-weight:900;background:#eaf8e7;white-space:nowrap}.labels-modal-backdrop{z-index:1200}.modal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-title-row h2{margin:0}.modal-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border:1px solid #d9e5cf;border-radius:10px;color:#253421;background:#fbfdf8;box-shadow:0 8px 22px #1f2f180f;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}.modal-close:hover{border-color:#9fcb84;color:#0f681b;background:#f0f8eb;transform:translateY(-1px)}.modal-close:focus-visible{outline:3px solid rgba(111,175,47,.28);outline-offset:2px}.modal-close svg{display:block;stroke-width:2.2}.kitchen-labels-modal{width:min(1100px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:hidden}.kitchen-labels-modal .modal-title-row p{margin:4px 0 0;color:#607059;font-weight:800}.kitchen-label-tabs{display:flex;align-items:center;gap:8px;margin:12px 0}.kitchen-label-tabs span{color:#607059;font-weight:850}.kitchen-label-tabs button{min-height:38px;padding:0 13px;border:1px solid #d9e5cf;border-radius:10px;color:#253421;font-weight:900;background:#fbfdf8}.kitchen-label-tabs button.active{border-color:#2f7d33;color:#fff;background:#2f7d33}.kitchen-label-tabs .kitchen-print-button{margin-left:auto}.kitchen-label-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;max-height:min(640px,calc(100vh - 210px));overflow:auto;padding-right:4px}.kitchen-label-card{display:grid;gap:4px;justify-items:center;min-height:230px;padding:10px;border:1px dashed #b8cfa8;border-radius:10px;color:#102016;text-align:center;background:#fff}.code128-barcode{display:block;width:150px;height:74px}.code128-barcode.compact{width:24mm;height:11mm}.code128-barcode text{fill:#102016;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:6px;font-weight:800}.kitchen-label-card strong,.kitchen-label-card span,.kitchen-label-card small,.kitchen-label-card em,.kitchen-label-card code{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kitchen-label-card strong{font-size:14px}.kitchen-label-card span,.kitchen-label-card small{color:#607059;font-size:12px;font-weight:800}.kitchen-label-card em{color:#a36712;font-size:11px;font-style:normal;font-weight:800}.kitchen-label-card code{width:100%;padding:4px;border-radius:5px;color:#607059;font-size:9px;background:#f5f7f1}.kitchen-single-label-modal{width:min(560px,calc(100vw - 36px))}.kitchen-single-label-modal .modal-title-row p,.kitchen-dish-modal .modal-title-row p{margin:4px 0 0;color:#607059;font-weight:800}.kitchen-print-preview{display:grid;place-items:center;padding:18px;border:1px solid #dfe8d5;border-radius:12px;background:#fbfdf8}.kitchen-package-label-40x30{display:grid;grid-template-rows:12mm minmax(0,1fr);align-items:center;justify-items:center;gap:1mm;width:40mm;height:30mm;padding:2mm;border:1px dashed #102016;color:#102016;background:#fff}.kitchen-package-label-40x30 div{display:grid;min-width:0;gap:1mm}.kitchen-package-label-40x30 strong,.kitchen-package-label-40x30 span,.kitchen-package-label-40x30 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kitchen-package-label-40x30 strong{font-size:9px}.kitchen-package-label-40x30 span,.kitchen-package-label-40x30 small{font-size:7px;font-weight:800}.kitchen-dish-modal{width:min(720px,calc(100vw - 36px))}.kitchen-dish-modal-body{display:grid;gap:14px}.kitchen-dish-mode-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;padding:4px;border:1px solid #d9e5cf;border-radius:12px;background:#fbfdf8}.kitchen-dish-mode-tabs button{min-height:34px;padding:0 12px;border:0;border-radius:9px;color:#465540;font-weight:900;background:transparent}.kitchen-dish-mode-tabs button.active{color:#fff;background:#2f7d33}.kitchen-dish-status-card,.kitchen-dish-control-card{display:grid;gap:12px;padding:14px;border:1px solid #dfe8d5;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fcf5);box-shadow:0 14px 30px #1944210f}.kitchen-dish-status-card{grid-template-columns:repeat(2,minmax(0,1fr))}.kitchen-dish-status-card div:not(.kitchen-dish-status-progress){display:grid;gap:4px;min-height:82px;padding:12px;border:1px solid #e4eedc;border-radius:12px;background:#fbfdf8}.kitchen-dish-status-card span,.kitchen-dish-status-card small,.kitchen-dish-amount-head span,.kitchen-dish-amount-head small,.kitchen-dish-number span{color:#3c4b36;font-weight:900}.kitchen-dish-status-card strong{color:#102016;font-size:32px;line-height:1}.kitchen-dish-status-card small,.kitchen-dish-amount-head small{color:#607059}.kitchen-dish-status-progress{grid-column:1 / -1;overflow:hidden;height:9px;border-radius:999px;background:#e9f1e2}.kitchen-dish-status-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8bcf32,#2f7d33);transition:width .18s ease}.kitchen-dish-amount-head{display:flex;align-items:end;justify-content:space-between;gap:14px}.kitchen-dish-amount-head div{display:grid;gap:2px}.kitchen-dish-amount-head strong{color:#102016;font-size:46px;line-height:.95}.kitchen-dish-slider{display:grid}.kitchen-dish-slider input{width:100%;accent-color:#2f7d33}.kitchen-dish-number-row{display:grid;grid-template-columns:auto minmax(140px,1fr) auto auto;align-items:end;gap:10px}.kitchen-dish-number-row button{min-height:44px;padding:0 13px;border:1px solid #c9ddb9;border-radius:10px;color:#236c28;font-weight:900;background:#f8fff3}.kitchen-dish-number-row button:hover:not(:disabled){background:#edf8e8}.kitchen-dish-number-row button:disabled{color:#9ba895;background:#f1f5ed;cursor:not-allowed}.kitchen-dish-number{display:grid;gap:7px}.kitchen-dish-number input{width:100%;min-height:44px;padding:0 14px;border:1px solid #cfdcc6;border-radius:10px;color:#102016;font:inherit;font-weight:900;background:#fff}.kitchen-dish-number input::-webkit-outer-spin-button,.kitchen-dish-number input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.kitchen-dish-number input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}@media(max-width:720px){.kitchen-dish-status-card,.kitchen-dish-number-row{grid-template-columns:1fr}.kitchen-dish-amount-head{align-items:start;flex-direction:column}.kitchen-dish-number-row button{width:100%}}.kitchen-dish-comments{display:grid;gap:6px;padding:10px;border:1px solid #efd89b;border-radius:10px;background:#fffaf0}.kitchen-dish-comments strong,.kitchen-dish-comments p{margin:0;color:#735114;font-weight:850}.empty-state{margin:0;padding:22px;color:#607059}.dates-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:38px;min-height:38px;padding:0;border:1px solid #c9ddb9;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3;cursor:pointer}.dates-button:hover{border-color:#9fc690;background:#edf8e4}.dates-button.warning{border-color:#e7b85b;color:#76521a;background:#fff8e7}.dates-button.warning:hover{border-color:#d49b2b;background:#fff1cf}.dates-warning-icon{position:absolute;top:-6px;right:-6px;display:inline-grid;place-items:center;width:18px;height:18px;padding:2px;border:1px solid #fff;border-radius:999px;color:#fff;background:#c9841f}.warning-action{border-color:#d49b2b!important;color:#6f4e15!important;background:#fff1cf!important}.warning-action:hover{background:#ffe6ad!important}.clickable-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.clickable-row:hover{background:#f7fbf2}.clickable-row:focus-visible{outline:2px solid #8bcf35;outline-offset:-2px}.customers-table th:nth-child(1),.customers-table td:nth-child(1){width:25%}.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:18%}.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:20%}.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:90px}.customers-table th:nth-child(5),.customers-table td:nth-child(5){width:27%}.users-table th:nth-child(1),.users-table td:nth-child(1){width:24%}.users-table th:nth-child(2),.users-table td:nth-child(2){width:34%}.users-table th:nth-child(3),.users-table td:nth-child(3),.users-table th:nth-child(4),.users-table td:nth-child(4){width:21%}.inline-user-card{min-height:0}.user-details-row>td{padding-top:0!important}.selected-row{background:#f3faec}.customer-details-row>td{padding:0 14px 18px!important;background:#f8fbf5;border-top:0}.customer-details-row:hover>td{background:#f8fbf5}.inline-customer-card{margin:0;padding:22px;border:1px solid #dfe9d6;border-radius:10px;background:#fff;box-shadow:0 12px 28px #293f2314}.inline-customer-card .customer-card-header{align-items:center}.inline-customer-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}.tag-list{display:inline-flex;flex-wrap:wrap;gap:8px}.tag-list .customer-tag{justify-content:center;min-width:48px;min-height:38px;padding:4px 8px}.tag-list .customer-tag-icon{width:30px;height:30px;flex-basis:30px}.tag-list .customer-tag-icon>svg:not(.tag-mini-icon){width:18px;height:18px}.tag-list .customer-tag-icon.stacked .tag-mini-icon{right:-2px;bottom:2px;width:11px;height:11px}.tag-list .customer-tag-icon.stacked .tag-mini-text{right:-11px;bottom:0;min-width:22px;padding:2px 4px;font-size:7px}.customer-tag{--tag-accent: #426235;position:relative;display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:3px 10px 3px 5px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:850;letter-spacing:0;line-height:1;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease;user-select:none;-webkit-user-select:none}.customer-tag.removable{padding-right:7px}.customer-tag-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border-radius:999px;background:#ffffffad}.customer-tag-icon.stacked .tag-mini-icon{position:absolute;right:-2px;bottom:1px;padding:1px;border-radius:999px;background:var(--tag-accent);color:#fff;stroke-width:3}.customer-tag-icon.stacked .tag-mini-text{position:absolute;right:-9px;bottom:-2px;min-width:18px;padding:1px 3px;border:1px solid rgba(255,255,255,.9);border-radius:999px;color:#fff;background:var(--tag-accent);font-size:6px;font-weight:950;line-height:1;text-align:center;text-transform:uppercase;box-shadow:0 1px 3px #162a122e}.customer-tag-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:1px;border-radius:999px;color:var(--tag-accent);pointer-events:none}.customer-selected-tag:hover .customer-tag-remove{color:#bd1c1c;background:#bd1c1c17}.customer-tag.selected{border-color:currentColor;box-shadow:0 0 0 2px #6faf2f21,0 8px 18px #2a53201a}.customer-tag.new{--tag-accent: #245f7a;border-color:#bfdae9;color:#245f7a;background:#eaf6fb}.customer-tag.regular{--tag-accent: #8c4460;border-color:#efd0dc;color:#8c4460;background:#fff0f5}.customer-tag.problem{--tag-accent: #a92c32;border-color:#f1b6b6;color:#a92c32;background:#fff0f0}.customer-tag.vip{--tag-accent: #7a5613;border-color:#e7bf4f;color:#7a5613;background:linear-gradient(135deg,#fff8d9,#f8dc78 48%,#fff1ad);box-shadow:inset 0 1px #ffffffbf}.customer-tag.vip.selected{box-shadow:inset 0 1px #ffffffbf,0 0 0 2px #e7bf4f38,0 8px 18px #7a561321}.customer-tag.corporate{--tag-accent: #5a3f8a;border-color:#d8c9f0;color:#5a3f8a;background:#f2edff}.customer-tag.default{border-color:#d8e6cc;color:#426235;background:#eef7e8}.customer-card{padding:22px}.customer-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:18px;border-bottom:1px solid #edf1e9}.customer-card-header>div>span{color:#66745f;font-size:13px;font-weight:800}.customer-card h2,.customer-card h3{margin:0}.customer-card h2{margin-top:4px;font-size:22px}.customer-card h3{font-size:16px}.customer-card-header button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3}.customer-card-header button:disabled{cursor:not-allowed;opacity:.55}.customer-card-header .customer-card-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 14px;border:0;color:#fff;background:#24752d;box-shadow:0 10px 22px #24752d29}.customer-card-header .customer-card-primary-action span{color:#fff;font-size:inherit;font-weight:850}.customer-card-header .customer-card-primary-action:hover{color:#fff;background:#1e6427}.customer-card-header .customer-card-danger-action{border-color:#f3a3a3;color:#bd1c1c;background:#fff6f6}.customer-card-header .customer-card-danger-action:hover{background:#ffeaea}.customer-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.order-card-header-actions{align-items:center}.customer-card dl{display:grid;gap:12px;margin:18px 0}.customer-card dl div{display:grid;gap:5px}.customer-card dt{color:#66745f;font-size:13px;font-weight:800}.customer-card dd{margin:0;font-weight:750}.customer-card section{display:grid;gap:8px;padding-top:16px;border-top:1px solid #edf1e9}.customer-card p{margin:0;color:#4d5948;line-height:1.45}.customer-card-address-list{display:grid;gap:8px}.customer-card-address{display:grid;gap:4px;padding:10px 12px;border:1px solid #e2ead9;border-radius:9px;background:#fbfdf8}.customer-card-address strong{color:#263121;font-weight:850}.customer-card-address span{color:#566450;font-size:13px;font-weight:700;line-height:1.35}.customer-orders-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.customer-order-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:8px 10px;border:1px solid #edf1e9;border-radius:8px;color:inherit;text-align:left;background:#fbfcfa}.customer-order-link:hover{border-color:#cfe2c4;background:#f5faef}.customer-order-summary,.customer-order-badges{display:flex;align-items:center;gap:7px;min-width:0}.customer-order-summary{flex:1 1 auto}.customer-order-summary span{overflow:hidden;color:#4d5948;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.customer-order-badges{flex:0 0 auto}.customer-orders-list strong{color:#23301f;font-size:14px;white-space:nowrap}.customer-order-link .status-chip,.customer-order-link .payment{min-height:24px;padding:0 8px;font-size:12px;white-space:nowrap}@media(max-width:1380px){.customer-orders-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.customer-orders-list{grid-template-columns:1fr}}.vk-page{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;height:calc(100vh - 104px);min-height:0;overflow:hidden;padding:34px}.vk-conversations,.vk-chat{min-height:0;overflow:hidden}.vk-conversations{display:grid;grid-template-rows:auto auto auto minmax(0,1fr)}.vk-conversation-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.vk-conversation-header-actions button,.vk-load-older{min-height:34px;padding:0 10px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3;cursor:pointer}.vk-sync-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;box-shadow:0 8px 18px #2f7a2c14}.vk-sync-button svg{flex:0 0 auto}.vk-conversation-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px;padding:4px;border:1px solid #dfe9d8;border-radius:10px;background:#f7fbf2}.vk-conversation-tabs button{min-height:34px;border:0;border-radius:8px;color:#596653;font-weight:850;background:transparent;cursor:pointer}.vk-conversation-tabs button.active,.vk-conversation-tabs button:hover{color:#1d6426;background:#fff;box-shadow:0 6px 16px #1e461614}.vk-conversation-header-actions button:hover,.vk-load-older:hover{border-color:#76af64;background:#eef8e8}.vk-conversation-header-actions button:disabled,.vk-load-older:disabled{cursor:default;opacity:.64}.vk-sync-summary{margin:0 0 10px;padding:8px 10px;border:1px solid #dcebd1;border-radius:8px;color:#365430;font-size:13px;font-weight:750;background:#f4fbef}.vk-conversation-list{display:grid;align-content:start;gap:8px;min-height:0;overflow-y:auto;padding-right:4px}.vk-conversation{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;width:100%;min-height:70px;padding:8px;border:1px solid transparent;border-radius:10px;color:#243120;text-align:left;background:transparent}.vk-conversation.active,.vk-conversation:hover{border-color:#d8e7cf;background:#f5faef}.vk-conversation-main{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:52px;padding:0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.vk-avatar{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;color:#fff;font-weight:850;background:#2e7d34;object-fit:cover}.vk-conversation strong,.vk-conversation small{display:block}.vk-conversation small{overflow:hidden;margin-top:4px;color:#65705f;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.vk-conversation em{min-width:22px;height:22px;border-radius:999px;color:#fff;font-size:12px;font-style:normal;font-weight:850;line-height:22px;text-align:center;background:#2f7a2c}.vk-conversation-menu{position:relative}.vk-conversation-menu>button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;color:#52614b;background:transparent;cursor:pointer}.vk-conversation-menu>button:hover,.vk-conversation-menu>button[aria-expanded=true]{color:#1f6428;background:#eaf5e4}.vk-conversation-menu-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:8;min-width:132px;padding:6px;border:1px solid #dfe8d5;border-radius:10px;background:#fff;box-shadow:0 16px 36px #182a1224}.vk-conversation-menu-popover button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:34px;padding:0 9px;border:0;border-radius:8px;color:#8b2424;font-weight:850;background:transparent;cursor:pointer}.vk-conversation-menu-popover button:hover{background:#fff0ee}.vk-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:16px;padding:22px}.vk-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid #edf1e9}.vk-chat-title-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}.vk-chat-title-row h2{margin:0}.vk-chat-title-row a{color:#2f7a2c;font-size:13px;font-weight:800;text-decoration:none}.vk-chat-title-row a:hover{text-decoration:underline}.vk-chat-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.vk-chat-actions button{min-height:34px;padding:0 10px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3}.vk-messages{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto;padding:8px 4px}.vk-load-older{align-self:center;flex:0 0 auto}.vk-message{max-width:min(560px,82%);padding:10px 12px;border-radius:12px}.vk-message.incoming{align-self:flex-start;border:1px solid #e1e8dc;background:#fff}.vk-message.outgoing{align-self:flex-end;color:#fff;background:#2e7d34}.vk-message p{margin:0;line-height:1.45}.vk-message time{display:block;margin-top:5px;font-size:11px;opacity:.72}.empty-chat{margin:auto;color:#66745f}.vk-ai-assistant{display:grid;gap:10px;padding:12px;border:1px solid #dbe9d2;border-radius:10px;background:#fbfdf8}.vk-ai-assistant-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.vk-ai-assistant-header span{display:block;color:#23301f;font-weight:900}.vk-ai-assistant-header small{display:block;margin-top:2px;color:#66745f;font-size:12px;font-weight:750}.vk-ai-assistant-header button{min-height:34px;padding:0 12px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:850;background:#f8fff3;cursor:pointer}.vk-ai-assistant-header button:hover{border-color:#76af64;background:#eef8e8}.vk-ai-assistant-header button:disabled{cursor:default;opacity:.64}.vk-ai-suggestion-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vk-ai-suggestion-list button{display:grid;align-content:start;gap:6px;min-height:118px;padding:10px 12px;border:1px solid #d9e8d1;border-radius:9px;color:#22311f;text-align:left;background:#fff;cursor:pointer}.vk-ai-suggestion-list button:hover{border-color:#a9cf9b;background:#f5fbf0}.vk-ai-suggestion-list button span{color:#2e7d34;font-size:12px;font-weight:900}.vk-ai-suggestion-list button strong{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.35;-webkit-line-clamp:4;-webkit-box-orient:vertical}.vk-ai-suggestion-list button small{display:-webkit-box;overflow:hidden;color:#66745f;font-size:11px;font-weight:700;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}.vk-ai-suggestion-list p{grid-column:1 / -1;margin:0;padding:12px;color:#66745f;font-weight:700;text-align:center}.vk-ai-suggestion-skeleton{min-height:118px;border-radius:9px;background:linear-gradient(90deg,#eef4ea 25%,#f8fbf5 38%,#eef4ea 63%);background-size:400% 100%;animation:skeleton-shimmer 1.4s ease infinite}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.vk-templates{display:flex;flex-wrap:wrap;gap:8px;max-height:78px;overflow-y:auto}.vk-templates button{min-height:34px;padding:0 10px;border:1px solid #dce8d3;border-radius:999px;color:#2e672b;font-weight:750;background:#f4faee}.vk-message-form{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:10px}.vk-message-form textarea{min-height:54px;padding:10px 12px;border:1px solid #dfe4da;border-radius:10px;resize:vertical}.vk-message-form button{min-height:54px;border:0;border-radius:10px;color:#fff;font-weight:850;background:#2f7a2c}.vk-message-form button:disabled{cursor:not-allowed;opacity:.55}.status-control button{min-height:36px;padding:0 12px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3}.status-control button:disabled{cursor:not-allowed;opacity:.55}.order-edit-form,.status-control{display:grid;gap:10px}.order-edit-form{margin-top:16px;padding:14px;border:1px solid #e4ebdc;border-radius:10px;background:#fbfdf8}.order-edit-form label{display:grid;gap:6px;color:#344131;font-size:13px;font-weight:800}.order-edit-form input,.order-edit-form select,.order-edit-form textarea,.status-control input,.status-control select{width:100%;min-height:38px;padding:0 10px;border:1px solid #dfe4da;border-radius:8px;color:#253021;background:#fff}.order-edit-form textarea{min-height:72px;padding-top:9px;resize:vertical}.checkbox-line{display:flex!important;align-items:center;gap:10px}.checkbox-line input{width:18px;min-height:18px}.date-picker-field{grid-column:1 / -1}.date-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.date-picker-row button{min-height:38px;padding:0 12px;border:1px solid #9fc690;border-radius:8px;color:#236c28;font-weight:800;background:#f8fff3}.date-chip-list{display:flex;flex-wrap:wrap;gap:8px}.date-chip-list button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid #c9ddb9;border-radius:999px;color:#253021;font-size:12px;font-weight:800;background:#fff}.order-history{display:grid;gap:8px}.order-history article{display:grid;gap:4px;padding:10px;border:1px solid #edf1e9;border-radius:8px;background:#fbfcfa}.order-history strong{color:#243120;font-size:13px}.order-history span{color:#75806f;font-size:12px;font-weight:750}.change-log-row{display:grid;gap:8px}.change-log-row p{margin:0;color:#33402f;line-height:1.45}.change-log-row button,.show-more-button{justify-self:flex-start;min-height:30px;padding:0 10px;border:1px solid #c9ddb9;border-radius:8px;color:#236c28;font-size:12px;font-weight:850;background:#f8fff3;cursor:pointer}.change-log-row button:hover,.show-more-button:hover{border-color:#9fc690;background:#edf8e4}.change-log-modal{width:min(860px,100%)}.change-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.change-calendar-grid h3{margin:0 0 8px}.change-calendar-grid .delivery-calendar{padding:10px}.change-log-details{display:grid;gap:12px}.change-log-details div{display:grid;gap:6px;padding:12px;border:1px solid #e3ebda;border-radius:10px;background:#fbfdf8}.change-log-details p{margin:0;white-space:pre-wrap}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:24px;background:#1425115c}.nested-modal-backdrop{z-index:60;background:#1425116b}.customer-form{display:grid;gap:18px;width:min(760px,100%);max-height:min(860px,92vh);overflow:auto;padding:24px;border-radius:14px;background:#fff;box-shadow:0 24px 80px #12210e33}.customer-form:has(.modal-body){grid-template-rows:auto minmax(0,1fr) auto;gap:0;max-height:min(820px,calc(100dvh - 32px));overflow:hidden;padding:0;border:1px solid #dfe8d8;border-radius:18px}.customer-modal-form,.order-modal-form{width:min(980px,calc(100vw - 36px))}.modal-body{display:grid;gap:14px;min-height:0;overflow:auto;padding:18px 24px;background:linear-gradient(180deg,#fff,#fbfdf8)}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-thumb{border-radius:999px;background:#b8c9af}.modal-comment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.order-modal-form .modal-body{grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);align-items:start;gap:16px}.order-form-main{display:grid;gap:14px;grid-column:1}.order-customer-picker{position:relative;display:grid;gap:8px}.order-customer-results{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;display:grid;gap:6px;max-height:244px;overflow:auto;padding:8px;border:1px solid #dfe8d8;border-radius:12px;background:#fff;box-shadow:0 14px 34px #1f2f181a}.order-customer-results::-webkit-scrollbar{width:7px}.order-customer-results::-webkit-scrollbar-thumb{border-radius:999px;background:#b8c9af}.order-customer-results button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:8px 10px;border:1px solid #e3eadc;border-radius:10px;color:#253021;background:#fbfdf8;text-align:left}.order-customer-results button:hover{border-color:#8cc63f;background:#f1f8eb}.order-customer-results span{min-width:0;overflow:hidden;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.order-customer-results small{flex:0 0 auto;color:#66745f;font-weight:750}.order-customer-create{justify-content:center!important;color:#0f681b!important;border-color:#b5d6a7!important;background:#f3faee!important}.order-comment-tabs{display:grid;gap:10px}.comment-tab-list{display:inline-flex;gap:6px;width:fit-content;padding:4px;border:1px solid #e1ead9;border-radius:12px;background:#fbfdf8}.comment-tab-list button{min-height:32px;padding:0 12px;border:0;border-radius:9px;color:#44523e;font-weight:850;background:transparent}.comment-tab-list button:hover{background:#edf6e4}.comment-tab-list button.active{color:#fff;background:#2f7d33}.order-comment-tabs textarea{min-height:170px}.order-modal-form .modal-comment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-modal-form .modal-comment-grid textarea{min-height:68px}.order-modal-form .order-form-calendar{grid-column:2;padding:12px;border:1px solid #e1ead9;border-radius:14px;background:#fff}.delivery-dates-modal{gap:14px;width:min(430px,100%);padding:20px}.confirm-modal{display:grid;justify-items:center;gap:16px;width:min(420px,100%);padding:26px;border-radius:14px;background:#fff;box-shadow:0 24px 80px #12210e38}.confirm-modal-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:18px}.confirm-modal-icon.danger{color:#bd1c1c;border:1px solid #f0b5b5;background:#fff1f1}.confirm-modal-content{display:grid;gap:8px;text-align:center}.confirm-modal-content h2,.confirm-modal-content p{margin:0}.confirm-modal-content h2{color:#1f2b1d;font-size:22px}.confirm-modal-content p{color:#4d5948;line-height:1.45}.danger-action{border-color:#ef9f9f!important;color:#fff!important;background:#d72f2f!important}.danger-action:hover{background:#bd1c1c!important}.order-form-calendar{display:grid;grid-column:1 / -1;gap:8px}.order-form-calendar>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.order-form-calendar span{color:#344131;font-size:13px;font-weight:800}.order-form-calendar small{color:#76521a;font-size:12px;font-weight:800}.order-form-calendar small.delivery-days-complete{color:#0f681b}.order-form-calendar .delivery-calendar{width:min(390px,100%)}.modal-header p{margin:6px 0 0;color:#65705f;font-size:13px;font-weight:700}.delivery-calendar{display:grid;gap:10px;padding:12px;border:1px solid #e4ebdc;border-radius:12px;background:#fbfdf8}.delivery-calendar-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-calendar-header strong{color:#22301f;font-size:16px;font-weight:800;text-transform:capitalize}.delivery-calendar-header button{display:inline-grid;place-items:center;width:32px;min-height:32px;border:1px solid #dfe8d5;border-radius:9px;color:#236c28;background:#fff;cursor:pointer}.delivery-calendar-header button:hover{border-color:#9fc690;background:#f1fae9}.delivery-calendar-weekdays,.delivery-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.delivery-calendar-weekdays span{color:#697563;font-size:11px;font-weight:850;text-align:center}.calendar-day{aspect-ratio:1;min-height:36px;border:1px solid #e2ead9;border-radius:9px;color:#253021;font-size:13px;font-weight:850;background:#fff;cursor:pointer}.calendar-day:hover:not(:disabled){border-color:#9fc690;background:#f4faee}.calendar-day.today{border-color:#8bcf35;box-shadow:inset 0 0 0 1px #d4edbf}.calendar-day.selected{border-color:#27752f;color:#fff;background:linear-gradient(180deg,#3e923b,#287331);box-shadow:inset 0 0 0 1px #ffffff57}.calendar-day.selected:hover:not(:disabled){border-color:#74b85a;color:#1f2b1d;background:#dff2d0}.calendar-day.locked{color:#98a390;background:#f7f9f5}.calendar-day:disabled{cursor:default}.calendar-day.selected:disabled{opacity:1}.calendar-day-placeholder{aspect-ratio:1;min-height:36px}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-form:has(.modal-body) .modal-header{padding:20px 24px 16px;border-bottom:1px solid #e6ece1;background:#fff}.customer-modal-title-row{display:flex;align-items:center;gap:18px;min-width:0}.customer-form:has(.modal-body) .modal-actions{padding:14px 24px;border-top:1px solid #e6ece1;background:#fff}.modal-header h2{margin:0;font-size:24px}.modal-header button,.modal-actions button{min-height:40px;border:1px solid #dfe4da;border-radius:9px;color:#2e3a2a;background:#fff}.modal-header button{width:40px}.modal-actions button{padding:0 14px;font-weight:800}.modal-actions .primary-action{border-color:transparent;color:#fff;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 12px 24px #2d6d3133}.modal-actions .primary-action:hover:not(:disabled){background:linear-gradient(180deg,#459346,#286529);box-shadow:0 14px 28px #2d6d3142}.modal-actions .primary-action:disabled{cursor:not-allowed;opacity:.68}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-form label,.customer-form fieldset{display:grid;gap:7px;margin:0;color:#344131;font-weight:800}.customer-form input,.customer-form select,.customer-form textarea{min-height:40px;padding:0 12px;border:1px solid #dfe4da;border-radius:9px;background:#fbfcfa}.customer-form textarea{min-height:70px;padding-top:10px;resize:vertical}.customer-form fieldset{padding:12px;border:1px solid #dfe4da;border-radius:10px;background:#fff}.customer-name-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-contact-row{display:grid;grid-template-columns:minmax(220px,.62fr) minmax(360px,1.38fr);gap:12px;align-items:start}.customer-inline-tags{position:relative;display:grid;gap:7px;color:#344131;font-weight:800}.customer-modal-tabs{display:inline-flex;flex:0 0 auto;gap:6px;margin:0;padding:4px;border:1px solid #dfe4da;border-radius:12px;background:#fbfdf8}.modal-header .customer-modal-tabs button{width:auto;min-height:34px;padding:0 14px;border:0;border-radius:9px;color:#3d4b39;font-weight:900;background:transparent}.modal-header .customer-modal-tabs button.active{color:#fff;background:#2f7d33}.customer-exclusions-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-exclusion-block{display:grid;gap:10px;padding:12px;border:1px solid #dfe4da;border-radius:12px;background:#fbfdf8}.customer-exclusion-block h3{margin:0;color:#22311f;font-size:15px}.customer-exclusion-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.customer-exclusion-add select{min-height:38px;padding:0 10px;border:1px solid #dfe4da;border-radius:9px;background:#fff}.customer-exclusion-chip-list p{margin:0;color:#65705f;font-size:13px;font-weight:750}.customer-exclusions-summary{display:grid;gap:9px}.customer-exclusions-summary>div{display:grid;gap:5px}.customer-exclusions-summary strong{color:#4d5d48;font-size:13px}.customer-exclusions-summary div div{display:flex;flex-wrap:wrap;gap:6px}.customer-exclusions-summary span{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid #f1c983;border-radius:999px;color:#8a5600;font-size:12px;font-weight:850;background:#fff8e8}.order-exclusion-warning{display:grid;gap:7px;padding:10px 12px;border:1px solid #f1c983;border-radius:12px;color:#7a4b00;background:#fff8e8}.order-exclusion-warning strong{font-size:14px}.order-exclusion-warning div{display:grid;gap:4px;font-size:13px;font-weight:750}.customer-active-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:40px;padding:5px 8px;border:1px solid #dfe4da;border-radius:9px;background:#fbfcfa}.customer-selected-tag{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0;border:0;border-radius:999px;color:inherit;background:transparent}.customer-no-tags{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #dfe8d8;border-radius:999px;color:#66745f;font-size:12px;font-weight:850;background:#fff}.customer-tag-add-button{display:inline-flex;align-items:center;justify-content:center;width:34px;min-height:34px;margin-left:auto;padding:0;border:1px solid #b5d6a7;border-radius:10px;color:#fff;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 8px 18px #2d6d3124}.customer-tag-add-button:hover{background:linear-gradient(180deg,#459346,#286529)}.customer-tag-menu{position:absolute;z-index:90;top:calc(100% + 8px);left:0;right:0;display:flex;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #dfe8d8;border-radius:12px;background:#fff;box-shadow:0 18px 40px #1d2f1824}.customer-tag-menu button{min-height:34px;padding:0;border:0;border-radius:999px;background:transparent}.customer-tag-menu button:hover .customer-tag{transform:translateY(-1px);box-shadow:0 7px 16px #2a53201a}.customer-tag-menu p{margin:0;color:#66745f;font-size:13px;font-weight:750}.tag-picker{display:flex;flex-wrap:wrap;gap:12px}.tag-picker .tag-option{display:inline-flex;align-items:center;min-height:46px;padding:0;border-radius:999px;background:transparent;cursor:pointer;user-select:none;-webkit-user-select:none}.tag-picker .customer-tag{gap:10px;min-height:40px;padding:5px 15px 5px 6px;font-size:14px}.tag-picker .customer-tag-icon{width:30px;height:30px;flex-basis:30px}.tag-picker .customer-tag-icon>svg:not(.tag-mini-icon){width:18px;height:18px}.tag-picker .customer-tag-icon.stacked .tag-mini-icon{right:-2px;bottom:2px;width:11px;height:11px;padding:1px}.tag-picker .customer-tag-icon.stacked .tag-mini-text{right:-11px;bottom:0;min-width:22px;padding:2px 4px;font-size:7px}.tag-picker .tag-option:hover .customer-tag{transform:translateY(-1px);box-shadow:0 7px 16px #2a53201a}.tag-picker .tag-option:has(input:focus-visible) .customer-tag{outline:3px solid rgba(111,175,47,.24);outline-offset:2px}.tag-picker input{position:absolute;width:1px;height:1px;min-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;clip:rect(0 0 0 0);white-space:nowrap}.customer-addresses-fieldset{gap:12px}.customer-address-list{display:grid;gap:12px}.address-tabs{display:flex;flex-wrap:wrap;gap:8px}.address-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #d8e6cf;border-radius:9px;color:#344131;font-weight:850;background:#fff}.address-tabs button.has-remove{padding-right:7px}.address-tabs button:hover{border-color:#9fc690;background:#f4faee}.address-tabs button.active{border-color:#2f7d2c;color:#fff;background:linear-gradient(180deg,#3f873f,#2d6d31);box-shadow:0 8px 18px #2d6d3129}.address-tabs .address-tab-add{border-color:#bfd9b2;color:#176327;background:#f7fff1}.address-tab-remove{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;color:currentColor;cursor:pointer}.address-tab-remove:hover,.address-tab-remove:focus-visible{background:#ffffff38;outline:none}.customer-address-item{display:grid;gap:12px;padding:12px;border:1px solid #e3ebdc;border-radius:10px;background:#fbfdf8}.customer-address-item-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-address-item-header strong{display:inline-flex;align-items:center;min-height:34px;color:#253021;font-size:14px;font-weight:850}.customer-address-item-header button,.secondary-icon-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #bfd9b2;border-radius:8px;color:#176327;font-weight:850;background:#f7fff1}.customer-address-item-header button{border-color:#f3b4b4;color:#b32020;background:#fff8f8}.address-line-field{grid-column:1 / -1}.address-add-button{justify-self:flex-start}.address-suggestions{display:grid;gap:6px;margin-top:-4px;padding:10px;border:1px solid #dfe9d6;border-radius:10px;background:#f8fbf5}.address-suggestions-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 4px;color:#4d5c47;font-size:13px;font-weight:850}.address-suggestions-header small{color:#6b7a64;font-weight:750}.address-suggestions button{display:grid;gap:4px;width:100%;min-height:48px;padding:8px 10px;border:1px solid #e2ead9;border-radius:8px;color:#253021;background:#fff;text-align:left}.address-suggestions button:hover{border-color:#9fc690;background:#f1f8eb}.address-suggestions button strong{font-size:14px}.address-suggestions button span,.address-suggestions p{margin:0;color:#66745f;font-size:13px;font-weight:650}.duplicate-hint{margin:0;padding:12px 14px;border:1px solid #ffd6a8;border-radius:9px;color:#8a4b0f;font-weight:750;background:#fff7ed}@media(max-width:1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.metrics-grid,.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.customers-layout{grid-template-columns:1fr}.customers-panel-header{align-items:flex-start;flex-direction:column;padding-top:16px;padding-bottom:16px}.customers-header-toolbar{width:100%;grid-template-columns:minmax(240px,.7fr) minmax(420px,1.3fr) 180px auto}.orders-header-toolbar{width:100%;grid-template-columns:minmax(240px,.7fr) minmax(420px,1.3fr) 170px 160px}.customers-header-toolbar .records-count,.orders-header-toolbar .records-count{grid-column:1 / -1;justify-self:end}.catalog-grid,.catalog-form,.vk-template-form,.notification-template-form{grid-template-columns:1fr}.catalog-form .wide-field{grid-column:auto}.vk-page{grid-template-columns:1fr}}@media(max-width:820px){.app-shell{height:100dvh;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 76px}.app-shell.sidebar-collapsed{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 76px}.sidebar{grid-row:2;height:76px;padding:8px 10px;border-top:1px solid rgba(255,255,255,.18)}.sidebar-collapsed .sidebar{padding:8px 10px}.sidebar .brand-logo,.sidebar .collapse-button,.sidebar .nav-divider{display:none}.sidebar nav{display:flex;gap:6px;width:100%;min-height:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.nav-group,.nav-group.separated{flex:0 0 auto;margin:0}.nav-item{justify-content:center;flex-direction:column;gap:4px;min-width:74px;min-height:58px;padding:6px 8px;border-radius:10px;font-size:11px;text-align:center;white-space:nowrap}.nav-item svg{width:18px;height:18px}.sidebar-collapsed .nav-item{justify-content:center;gap:4px;padding:6px 8px}.sidebar-collapsed .nav-item span{width:auto;opacity:1;overflow:visible}.workspace{height:calc(100dvh - 76px)}.workspace-overview,.workspace-vk,.workspace-customers,.workspace-orders{overflow-y:auto}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:auto;padding:12px 14px}.topbar h1{overflow:hidden;font-size:24px;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:grid;grid-template-columns:auto auto auto;grid-template-areas:"vk bell profile";align-items:center;justify-content:flex-end;justify-items:end;gap:5px 4px;width:auto}.topbar-actions>.primary-action{display:none}.date-action,.primary-action,.icon-button,.vk-button,.profile-button{min-height:36px}.topbar-actions .profile{grid-area:profile}.topbar-actions .topbar-vk{grid-area:vk}.topbar-actions .icon-button{grid-area:bell}.topbar-actions .date-filter-menu{display:none}.mobile-section-date-filter{display:flex;position:relative;justify-content:flex-end;padding:0 14px 10px;border-bottom:1px solid #dfe8d5;background:#fff}.mobile-section-date-filter .date-action{min-height:34px;padding:0 8px;border:1px solid transparent;border-radius:8px;font-size:13px;white-space:nowrap;background:#fff}.mobile-section-date-filter .date-action:hover,.mobile-section-date-filter .date-action[aria-expanded=true]{border-color:#cfe2bf;background:#f6fbf2}.mobile-section-date-filter .date-action svg{width:16px;height:16px}.mobile-section-date-filter .date-menu{right:14px}.icon-button,.vk-button{width:34px;min-height:34px}.icon-button svg{width:19px;height:19px}.vk-button{padding:0}.vk-logo-icon{width:27px;height:27px;flex-basis:27px}.icon-button strong,.vk-button strong{top:-3px;right:-3px;min-width:16px;height:16px;font-size:10px;line-height:16px}.vk-popover{right:-82px;width:min(310px,calc(100vw - 24px))}.profile-button{min-height:36px;padding:0 6px 0 8px;border-left:0;border-radius:8px;background:#edf6e4}.profile-button .profile-alien-icon,.profile-button>svg:first-child{display:none}.profile-name-desktop{display:none}.profile-name-mobile{display:inline}.profile-button span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu{right:0;left:auto}.overview-page{height:auto;min-height:0;overflow:visible;padding:16px}.overview-page .metrics-grid,.overview-page .dashboard-grid{padding-left:0;padding-right:0}.overview-page .metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.overview-page .metric{grid-template-columns:1fr;justify-items:center;gap:6px;min-height:106px;padding:9px 6px;text-align:center}.overview-page .metric-icon{width:34px;height:34px}.overview-page .metric-icon svg{width:18px;height:18px}.overview-page .metric p{min-height:24px;font-size:10px;line-height:1.15}.overview-page .metric strong{margin-top:0;font-size:23px}.overview-page .metric small,.overview-page .metric-arrow{display:none}.overview-page .panel-header{align-items:center;flex-direction:row;gap:10px;min-height:auto;padding:14px}.overview-page .panel-header h2{min-width:0;font-size:20px;line-height:1.15}.overview-page .panel-header button{flex:0 0 auto;white-space:nowrap}.metrics-grid,.dashboard-grid{grid-template-columns:1fr;padding-left:18px;padding-right:18px}.customers-page{padding-left:18px;padding-right:18px}.customers-index-page,.orders-index-page{height:auto;overflow:visible}.customers-index-page .table-content,.orders-index-page .table-content{overflow:visible}.customers-toolbar,.customers-header-toolbar,.orders-header-toolbar,.audit-toolbar,.form-grid,.admin-grid,.catalog-grid,.catalog-form,.vk-template-form,.notification-template-form,.vk-message-form{grid-template-columns:1fr}.customer-header-stats{grid-auto-columns:minmax(104px,1fr);grid-auto-flow:column;grid-template-columns:none;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding-top:2px;padding-bottom:2px}.customer-header-stats .customer-stat-card:hover,.customer-header-stats .customer-stat-card.active,.order-header-stats .order-stat-card:hover,.order-header-stats .order-stat-card.selected-filter{transform:none}.customer-header-stats .customer-stat-card{align-items:center;min-height:64px;padding:7px 6px}.customer-header-stats .customer-stat-card span{font-size:10px;line-height:1.1}.customer-header-stats .customer-stat-card strong{margin-top:3px;font-size:20px}.customer-header-stats .customer-stat-icon{width:30px;height:30px;flex-basis:30px;border-radius:10px}.customer-header-stats .customer-stat-icon .customer-tag-icon{transform:scale(.72)}.customer-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.customer-stats article{min-height:86px;padding:9px 7px}.customer-tag-stats .customer-stat-card{align-items:flex-start;gap:10px}.customer-stats article>span,.customer-stats article>div>span{font-size:10px;line-height:1.15}.customer-stats strong{margin-top:5px;font-size:22px}.customer-stat-icon{width:30px;height:30px;flex-basis:30px;border-radius:10px}.customers-header-toolbar .secondary-action,.customers-header-toolbar .records-count{justify-self:stretch}.table-panel,.customers-table-panel,.catalog-panel{overflow:visible}.table-content-stretch table,.table-content-stretch tbody tr{height:auto}.orders-panel table,.customers-table,.orders-table,.users-table,.audit-table,.archive-customers-table,.archive-orders-table,.tariff-table,.calorie-table,.vk-template-table,.notification-template-table,.kitchen-table{display:block}.orders-panel table thead,.customers-table thead,.orders-table thead,.users-table thead,.audit-table thead,.archive-customers-table thead,.archive-orders-table thead,.tariff-table thead,.calorie-table thead,.vk-template-table thead,.notification-template-table thead,.kitchen-table thead{display:none}.orders-panel table tbody,.customers-table tbody,.orders-table tbody,.users-table tbody,.audit-table tbody,.archive-customers-table tbody,.archive-orders-table tbody,.tariff-table tbody,.calorie-table tbody,.vk-template-table tbody,.notification-template-table tbody,.kitchen-table tbody{display:grid;gap:10px;padding:10px}.orders-panel table tr,.customers-table tr,.orders-table tr,.users-table tr,.audit-table tr,.archive-customers-table tr,.archive-orders-table tr,.tariff-table tr,.calorie-table tr,.vk-template-table tr,.notification-template-table tr,.kitchen-table tr{display:grid;gap:8px;padding:12px;border:1px solid #e0ead8;border-radius:10px;background:#fff}.orders-panel table tr:hover,.customers-table tr:hover,.orders-table tr:hover,.users-table tr:hover,.audit-table tr:hover,.archive-customers-table tr:hover,.archive-orders-table tr:hover,.tariff-table tr:hover,.calorie-table tr:hover,.vk-template-table tr:hover,.notification-template-table tr:hover,.kitchen-table tr:hover{background:#fbfdf8}.orders-panel table td,.customers-table td,.orders-table td,.users-table td,.audit-table td,.archive-customers-table td,.archive-orders-table td,.tariff-table td,.calorie-table td,.vk-template-table td,.notification-template-table td,.kitchen-table td{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:10px;width:100%!important;padding:0;border:0;white-space:normal}.orders-panel table td:before,.customers-table td:before,.orders-table td:before,.users-table td:before,.audit-table td:before,.archive-customers-table td:before,.archive-orders-table td:before,.tariff-table td:before,.calorie-table td:before,.vk-template-table td:before,.notification-template-table td:before,.kitchen-table td:before{color:#63705e;font-size:12px;font-weight:850}.orders-panel table td:nth-child(1):before,.orders-table td:nth-child(1):before,.archive-orders-table td:nth-child(1):before{content:"№"}.orders-panel table td:nth-child(2):before,.orders-table td:nth-child(2):before,.archive-orders-table td:nth-child(2):before{content:"Клиент"}.orders-panel table td:nth-child(3):before{content:"Телефон"}.orders-panel table td:nth-child(4):before,.orders-table td:nth-child(5):before,.archive-orders-table td:nth-child(3):before{content:"Статус"}.orders-panel table td:nth-child(5):before,.orders-table td:nth-child(6):before,.archive-orders-table td:nth-child(4):before{content:"Оплата"}.overview-page .orders-panel table tr{flex:0 0 100%;min-width:100%;max-width:100%;gap:0;padding:12px;scroll-snap-align:start}.overview-page .orders-panel table{overflow:visible}.overview-page .orders-panel table tbody{display:flex;grid-template-columns:none;gap:10px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:10px;scroll-snap-type:x mandatory;scrollbar-width:none}.overview-page .orders-panel table tbody::-webkit-scrollbar{display:none}.overview-page .orders-panel table td.overview-order-number,.overview-page .orders-panel table td.overview-order-phone,.overview-page .orders-panel table td.overview-order-status,.overview-page .orders-panel table td.overview-order-payment{display:none}.overview-page .orders-panel table td.overview-order-client{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.overview-page .orders-panel table td.overview-order-client:before{display:none}.overview-order-client-name{font-size:15px;font-weight:850;line-height:1.2}.overview-order-mobile-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;color:#4b5747;font-size:13px;font-weight:750;line-height:1.2}.overview-order-mobile-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-order-mobile-meta span:last-child{text-align:right}.overview-order-mobile-statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.overview-order-icon{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #cfe2bf;border-radius:8px;color:#1f7b32;background:#f1f8ec}.overview-order-icon.status.delivered,.overview-order-icon.payment.paid{color:#1f7b32;border-color:#b7d6aa;background:#eef8e8}.overview-order-icon.status.courier{color:#5b45b4;border-color:#d5c8ff;background:#f4f0ff}.overview-order-icon.status.cancelled,.overview-order-icon.payment.unpaid{color:#d71928;border-color:#ffb4ba;background:#fff2f3}.overview-page .vk-panel .message-list{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:10px;scroll-snap-type:x mandatory;scrollbar-width:none}.overview-page .vk-panel .message-list.message-list-empty{display:grid;overflow:hidden;padding:16px;scroll-snap-type:none}.overview-page .vk-panel .message-list::-webkit-scrollbar{display:none}.overview-page .vk-panel .message-row{grid-template-columns:42px minmax(0,1fr);align-content:start;flex:0 0 100%;max-width:100%;min-height:142px;padding:12px;border:1px solid #e0ead8;border-radius:10px;background:#fff;scroll-snap-align:start}.overview-page .vk-panel .panel-footer{display:none}.overview-page .vk-panel .message-row .avatar{width:42px;height:42px}.overview-page .vk-panel .message-row .unread-badge{position:absolute;right:10px;bottom:10px}.overview-page .vk-panel .message-meta{align-items:flex-start;gap:8px}.overview-page .vk-panel .message-meta strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.overview-page .vk-panel .vk-message-timing{align-items:flex-start;flex-direction:column;gap:3px}.overview-page .vk-panel .message-body p{display:-webkit-box;overflow:hidden;margin-top:8px;-webkit-line-clamp:3;-webkit-box-orient:vertical}.orders-table td:nth-child(3):before{content:"Тариф"}.orders-table td:nth-child(4):before{content:"Даты"}.customers-table td:nth-child(1):before,.archive-customers-table td:nth-child(1):before{content:"ФИО"}.customers-table td:nth-child(2):before,.archive-customers-table td:nth-child(2):before{content:"Телефон"}.customers-table td:nth-child(3):before,.archive-customers-table td:nth-child(3):before{content:"Теги"}.customers-table td:nth-child(4):before{content:"VK"}.customers-table td:nth-child(5):before{content:"Адрес"}.users-table td:nth-child(1):before{content:"Логин"}.users-table td:nth-child(2):before{content:"ФИО"}.users-table td:nth-child(3):before{content:"Роль"}.users-table td:nth-child(4):before,.tariff-table td:nth-child(3):before,.calorie-table td:nth-child(3):before,.vk-template-table td:nth-child(4):before,.notification-template-table td:nth-child(5):before{content:"Статус"}.archive-customers-table td:nth-child(5):before,.archive-orders-table td:nth-child(6):before,.tariff-table td:nth-child(4):before,.calorie-table td:nth-child(4):before,.vk-template-table td:nth-child(5):before,.notification-template-table td:nth-child(6):before{content:"Действие"}.audit-table td:nth-child(1):before,.archive-customers-table td:nth-child(4):before,.archive-orders-table td:nth-child(5):before{content:"Дата"}.audit-table td:nth-child(2):before{content:"Пользователь"}.audit-table td:nth-child(3):before{content:"Действие"}.audit-table td:nth-child(4):before{content:"Сущность"}.audit-table td:nth-child(5):before{content:"Описание"}.tariff-table td:nth-child(1):before,.calorie-table td:nth-child(2):before,.vk-template-table td:nth-child(1):before,.notification-template-table td:nth-child(3):before{content:"Название"}.tariff-table td:nth-child(2):before{content:"Дней"}.calorie-table td:nth-child(1):before{content:"Ккал"}.vk-template-table td:nth-child(2):before,.notification-template-table td:nth-child(4):before{content:"Текст"}.vk-template-table td:nth-child(3):before{content:"Порядок"}.notification-template-table td:nth-child(1):before{content:"Событие"}.notification-template-table td:nth-child(2):before{content:"Канал"}.kitchen-table td:nth-child(1):before{content:"Выбор"}.kitchen-table td:nth-child(2):before{content:"Заказ"}.kitchen-table td:nth-child(3):before{content:"Статус"}.kitchen-table td:nth-child(4):before{content:"Комментарий"}.customer-details-row{padding:0!important;border:0!important;background:transparent!important}.customer-details-row>td{display:block!important;padding:0!important}.customer-details-row>td:before,td[colspan]:before{content:none!important}.customer-form:has(.modal-body){width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:14px}.customer-form:has(.modal-body) .modal-header,.customer-form:has(.modal-body) .modal-actions{padding:14px}.customer-modal-title-row{align-items:flex-start;flex-direction:column;gap:10px}.modal-body{padding:14px}.customer-name-row,.customer-contact-row{grid-template-columns:1fr}.customer-tag-menu{position:static;box-shadow:none}.order-modal-form .modal-body,.modal-comment-grid{grid-template-columns:1fr}.order-form-main,.order-modal-form .order-form-calendar{grid-column:1;grid-row:auto}.order-modal-form .modal-comment-grid{grid-template-columns:1fr}td[colspan]{display:block!important;padding:14px!important;text-align:center}.table-action,.dates-button,.kitchen-bulk-actions button,.secondary-action,.primary-action{width:100%}.dates-button{justify-self:stretch}.customers-panel-header{min-height:auto}.panel-header{align-items:flex-start;flex-direction:column;gap:10px;padding:14px}.kitchen-panel-header{align-items:stretch}.kitchen-bulk-actions{display:grid;width:100%;grid-template-columns:1fr}.customer-card,.order-card{padding:16px}.customer-card-header,.order-card-header{align-items:flex-start;flex-direction:column}.modal-actions{grid-template-columns:1fr;flex-direction:column}.customer-orders-list{grid-template-columns:1fr}.catalog-panel table td:nth-child(2),.catalog-panel table td:nth-child(4),.audit-table td:nth-child(5),.notification-template-table td:nth-child(4),.vk-template-table td:nth-child(2){overflow-wrap:anywhere}.catalog-form .wide-field{grid-column:auto}.vk-page{padding-left:18px;padding-right:18px}.vk-ai-assistant-header{align-items:stretch;flex-direction:column}.vk-ai-assistant-header button{width:100%}.vk-ai-suggestion-list{grid-template-columns:1fr}.vk-ai-suggestion-list button,.vk-ai-suggestion-skeleton{min-height:96px}}
