:root{font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body,#root{min-height:100vh}.app{color:#1f2937;background:#f5f6f8;min-height:100vh;display:flex}.sidebar{z-index:100;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;width:250px;min-height:100vh;display:flex}.sidebar-brand{border-bottom:1px solid #e5e7eb;align-items:center;gap:12px;min-height:76px;padding:16px 20px;display:flex}.sidebar-logo{color:#fff;background:#4338ca;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:20px;font-weight:700;display:grid}.sidebar-title{font-size:17px;font-weight:700}.sidebar-subtitle{color:#6b7280;margin-top:2px;font-size:13px}.sidebar-nav{flex-direction:column;gap:6px;padding:20px 12px;display:flex}.sidebar-item{color:#4b5563;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:11px 14px;font-size:14px;transition:background-color .15s,color .15s}.sidebar-item:hover{background:#f3f4f6}.sidebar-item-active{color:#4338ca;background:#eef2ff;font-weight:600}.sidebar-logout{color:#6b7280;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-top:1px solid #e5e7eb;margin-top:auto;padding:16px;font-size:14px}.sidebar-logout:hover{color:#374151;background:#f9fafb}.sidebar-overlay{display:none}.main-content{flex:1;min-width:0}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;min-height:76px;padding:16px 32px;display:flex}.topbar h1{margin:0;font-size:22px;line-height:1.2}.menu-button{color:#374151;cursor:pointer;background:0 0;border:none;border-radius:8px;width:40px;height:40px;padding:0;font-size:24px;line-height:1;display:none}.menu-button:hover{background:#f3f4f6}.topbar-user{color:#374151;flex-direction:column;align-items:flex-end;margin-left:auto;font-size:14px;display:flex}.topbar-user span:last-child{color:#6b7280;margin-top:2px;font-size:12px}.content{padding:32px}.welcome-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:28px}.welcome-card h3{margin:0 0 8px;font-size:20px}.welcome-card p{color:#6b7280;margin:0}@media (width<=768px){.sidebar{width:280px;height:100vh;min-height:100vh;transition:transform .25s;position:fixed;top:0;left:0;transform:translate(-100%);box-shadow:4px 0 16px #0000001f}.sidebar.sidebar-open{transform:translate(0)}.sidebar-overlay{z-index:90;background:#00000059;display:block;position:fixed;inset:0}.topbar{min-height:64px;padding:12px 16px}.menu-button{flex-shrink:0;place-items:center;display:grid}.topbar h1{font-size:19px}.topbar-user{display:none}.content{padding:16px}.welcome-card{border-radius:10px;padding:20px}.welcome-card h3{font-size:18px}}@media (width<=480px){.sidebar{width:270px}.topbar{padding:10px 12px}.topbar h1{font-size:18px}.content{padding:12px}.welcome-card{padding:16px}}.dashboard{flex-direction:column;gap:24px;display:flex}.dashboard-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.dashboard-header h2{margin:0;font-size:24px;line-height:1.2}.dashboard-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.period-select{color:#374151;min-width:150px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 12px;font-size:14px}.period-select:focus{outline-offset:1px;outline:2px solid #c7d2fe}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:20px;display:flex}.stat-label{color:#6b7280;font-size:14px;font-weight:500}.stat-value{color:#111827;font-size:28px;line-height:1.1}.stat-description{color:#9ca3af;font-size:12px}@media (width<=768px){.dashboard-header{flex-direction:column;align-items:flex-start}.period-select{width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:16px}.stat-value{font-size:24px}}.dashboard-section{flex-direction:column;gap:16px;display:flex}.section-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-header h3{margin:0;font-size:18px;line-height:1.3}.section-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.secondary-button{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;flex-shrink:0;padding:9px 14px;font-size:14px;transition:background-color .15s,border-color .15s}.secondary-button:hover{background:#f9fafb;border-color:#9ca3af}.orders-list{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.recent-order{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;display:flex}.recent-order:last-child{border-bottom:none}.recent-order-main{flex-direction:column;gap:4px;min-width:0;display:flex}.recent-order-main strong{color:#111827;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.3}.recent-order-main span{color:#6b7280;font-size:13px}.recent-order-details{color:#6b7280;flex-shrink:0;align-items:center;gap:18px;font-size:13px;display:flex}.recent-order-details strong{color:#111827;font-size:14px;font-weight:600}.payment-badge,.status-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:4px 9px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}.payment-paid{color:#047857;background:#ecfdf5}.payment-pending{color:#b45309;background:#fffbeb}.status-active{color:#1d4ed8;background:#dbeafe}.status-cancelled{color:#b91c1c;background:#fee2e2}@media (width<=768px){.dashboard-section{gap:14px}.section-header{flex-direction:column;align-items:flex-start}.secondary-button{width:100%}.orders-list{border-radius:10px}.recent-order{flex-direction:column;align-items:flex-start;gap:10px;padding:14px 16px}.recent-order-main{width:100%}.recent-order-details{flex-wrap:wrap;gap:8px 14px;width:100%}}.login-page{background:#f5f6f8;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;max-width:400px;padding:32px;box-shadow:0 8px 24px #0000000f}.login-card h1{color:#111827;text-align:center;margin:0;font-size:26px;line-height:1.2}.login-card>p{color:#6b7280;text-align:center;margin:6px 0 28px;font-size:14px}.login-card form{flex-direction:column;gap:18px;display:flex}.login-card label{color:#374151;flex-direction:column;gap:7px;font-size:14px;font-weight:500;display:flex}.login-card input{box-sizing:border-box;color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px;transition:border-color .15s,box-shadow .15s}.login-card input:hover{border-color:#9ca3af}.login-card input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #e0e7ff}.login-card form>p{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:-2px 0 0;padding:10px 12px;font-size:13px;line-height:1.4}.login-card button{color:#fff;width:100%;font:inherit;cursor:pointer;background:#4338ca;border:1px solid #4338ca;border-radius:8px;margin-top:2px;padding:10px 14px;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,opacity .15s}.login-card button:hover:not(:disabled){background:#3730a3;border-color:#3730a3}.login-card button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.login-card button:disabled{cursor:not-allowed;opacity:.65}.password-field{position:relative}.password-field input{padding-right:82px}.password-toggle{cursor:pointer;position:absolute;top:50%;right:8px;transform:translateY(-50%);color:#4338ca!important;background:0 0!important;border:none!important;width:auto!important;margin:0!important;padding:4px 6px!important;font-size:12px!important;font-weight:600!important}.password-toggle:hover:not(:disabled){color:#3730a3!important;background:0 0!important}.password-toggle:focus-visible{outline-offset:1px;outline:2px solid #c7d2fe}@media (width<=480px){.login-page{padding:16px}.login-card{border-radius:10px;padding:24px 20px}.login-card h1{font-size:24px}}.orders-page{flex-direction:column;gap:24px;display:flex}.orders-page-header{justify-content:space-between;align-items:center;gap:28px;display:flex}.orders-page-header h2{margin:0;font-size:24px;line-height:1.2}.orders-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.orders-date-filter{align-items:center;gap:12px;display:flex}.orders-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto}.orders-table{border-collapse:collapse;text-align:left;width:100%;min-width:980px}.orders-table th{color:#6b7280;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 16px;font-size:12px;font-weight:600}.orders-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:15px 16px;font-size:14px}.orders-table tbody tr:last-child td{border-bottom:none}.orders-table tbody tr:hover{background:#f9fafb}.orders-table td strong{color:#111827;font-weight:600}.order-person{flex-direction:column;gap:3px;min-width:130px;display:flex}.order-person span{color:#6b7280;font-size:12px}.order-edit-button{color:#374151;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:7px 11px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.order-edit-button:hover{color:#111827;background:#f9fafb;border-color:#9ca3af}.order-edit-button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.order-cancelled{background:#fafafa}.order-cancelled:hover{background:#f5f5f5!important}.orders-empty{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:40px 24px}.orders-empty p{color:#6b7280;margin:0;font-size:14px}@media (width<=768px){.orders-page{gap:18px}.orders-page-header{justify-content:space-between;align-items:center;gap:28px;display:flex}.orders-page-header h2{font-size:22px}.orders-page-header p{font-size:13px}.orders-table-wrapper{border-radius:10px}.orders-table th,.orders-table td{padding:12px 14px}}.customers-page{flex-direction:column;gap:24px;display:flex}.customers-page-header h2{margin:0;font-size:24px;line-height:1.2}.customers-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.customers-search{align-items:center;gap:12px;display:flex}.customers-search label{color:#374151;font-size:14px;font-weight:500}.customers-search input{box-sizing:border-box;color:#111827;width:320px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px}.customers-search input::placeholder{color:#9ca3af}.customers-search input:hover{border-color:#9ca3af}.customers-search input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #e0e7ff}.customers-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto}.customers-table{border-collapse:collapse;text-align:left;width:100%}.customers-table th{color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 16px;font-size:12px;font-weight:600}.customers-table td{color:#374151;border-bottom:1px solid #e5e7eb;padding:15px 16px;font-size:14px}.customers-table tbody tr:last-child td{border-bottom:none}.customers-table tbody tr:hover{background:#f9fafb}.customers-table td strong{color:#111827;font-weight:600}.customers-empty{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:40px 24px}.customers-empty p{color:#6b7280;margin:0;font-size:14px}.customers-cards{display:none}.customer-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.customer-card-main,.customer-card-phone{flex-direction:column;gap:4px;display:flex}.customer-card-phone{border-top:1px solid #f3f4f6;margin-top:14px;padding-top:14px}.customer-card span{color:#6b7280;font-size:12px;font-weight:600}.customer-card strong{color:#111827;overflow-wrap:anywhere;font-size:14px}.customer-actions{align-items:center;gap:8px;display:flex}.customer-details-button,.customer-edit-button{color:#374151;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:7px 10px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.customer-details-button:hover,.customer-edit-button:hover{color:#111827;background:#f9fafb;border-color:#9ca3af}.customer-details-button:focus-visible,.customer-edit-button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.customer-card-actions{border-top:1px solid #f3f4f6;gap:8px;margin-top:16px;padding-top:14px;display:flex}.customer-card-actions button{flex:1}@media (width<=768px){.customers-page{gap:18px}.customers-page-header h2{font-size:22px}.customers-page-header p{font-size:13px}.customers-search{flex-direction:column;align-items:stretch;gap:7px}.customers-search input{width:100%}.customers-table-wrapper{display:none}.customers-cards{flex-direction:column;gap:12px;display:flex}.customer-card{border-radius:10px}}.order-form-page{flex-direction:column;gap:24px;display:flex}.order-form-header h2{margin:0;font-size:24px;line-height:1.2}.order-form-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.order-form-sections{flex-direction:column;gap:16px;display:flex}.order-form-message{border:1px solid;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;font-size:14px;display:flex}.order-form-message-success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.order-form-message-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.order-form-message button{width:28px;height:28px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;padding:0;font-size:20px;line-height:1}.order-form-message button:hover{background:#0000000f}.order-form-message button:focus-visible{outline-offset:2px;outline:2px solid}.order-form-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.order-form-section-header{margin-bottom:18px}.order-form-section-header h3{color:#111827;margin:0;font-size:16px;line-height:1.3}.order-form-section-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.order-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.order-form-grid-single{grid-template-columns:minmax(0,1fr);max-width:360px}.order-form-field{flex-direction:column;gap:7px;min-width:0;display:flex;position:relative}.order-form-field>span,.order-item-price>span,.order-item-subtotal>span{color:#374151;font-size:13px;font-weight:500}.order-form-field input,.order-form-field select{box-sizing:border-box;color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px;transition:border-color .15s,box-shadow .15s}.order-form-field input::placeholder{color:#9ca3af}.order-form-field input:hover,.order-form-field select:hover{border-color:#9ca3af}.order-form-field input:focus,.order-form-field select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #e0e7ff}.customer-suggestions{z-index:20;background:#fff;border:1px solid #d1d5db;border-radius:8px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 8px 20px #00000014}.customer-suggestion{color:#374151;width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:none;border-bottom:1px solid #f3f4f6;flex-direction:column;gap:3px;padding:10px 12px;transition:background-color .15s;display:flex}.customer-suggestion:last-child{border-bottom:none}.customer-suggestion strong{color:#111827;font-size:14px;font-weight:600;line-height:1.3}.customer-suggestion span{color:#6b7280;font-size:12px;line-height:1.3}.customer-suggestion:hover{background:#f9fafb}.customer-suggestion:focus-visible{outline-offset:-2px;outline:2px solid #c7d2fe}.customer-no-results{z-index:20;color:#6b7280;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:13px;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 8px 20px #00000014}.order-items{flex-direction:column;gap:12px;display:flex}.order-item-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(220px,1.8fr) 100px 110px 110px auto;align-items:end;gap:12px;padding:16px;display:grid}.order-item-price,.order-item-subtotal{flex-direction:column;gap:7px;min-width:0;display:flex}.order-item-price strong,.order-item-subtotal strong{color:#111827;min-height:18px;font-size:14px;font-weight:600}.order-item-remove{color:#b91c1c;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s}.order-item-remove:hover{background:#fef2f2;border-color:#fca5a5}.order-item-remove:focus-visible{outline-offset:2px;outline:2px solid #fecaca}.order-add-item-button{width:fit-content;margin-top:14px}.payment-options{gap:24px;display:flex}.payment-option{color:#374151;cursor:pointer;align-items:center;gap:8px;font-size:14px;display:flex}.payment-option input{accent-color:#4338ca;width:16px;height:16px;margin:0}.order-form-summary{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:flex-end;align-items:center;gap:24px;padding:20px 24px;display:flex}.order-form-summary span{color:#6b7280;font-size:14px;font-weight:500}.order-form-summary strong{color:#111827;font-size:24px;line-height:1}.order-form-actions{justify-content:flex-end;gap:10px;display:flex}.order-form-save-button{color:#fff;font:inherit;cursor:pointer;background:#4338ca;border:1px solid #4338ca;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,opacity .15s}.order-form-save-button:hover:not(:disabled){background:#3730a3;border-color:#3730a3}.order-form-save-button:disabled{color:#9ca3af;cursor:not-allowed;background:#e5e7eb;border-color:#d1d5db}.order-form-save-button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.order-form-cancel-button{color:#fff;font:inherit;cursor:pointer;background:#dc2626;border:1px solid #dc2626;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,opacity .15s}.order-form-cancel-button:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.order-form-cancel-button:disabled{color:#9ca3af;cursor:not-allowed;background:#e5e7eb;border-color:#d1d5db}.order-form-cancel-button:focus-visible{outline-offset:2px;outline:2px solid #fecaca}@media (width<=768px){.order-form-page{gap:18px}.order-form-header h2{font-size:22px}.order-form-header p{font-size:13px}.order-form-section{border-radius:10px;padding:16px}.order-form-grid{grid-template-columns:1fr;gap:14px}.order-form-grid-single{max-width:none}.order-item-row{grid-template-columns:1fr 100px;gap:14px}.order-item-product{grid-column:1/-1}.order-item-price,.order-item-subtotal{padding-top:2px}.order-item-remove{grid-column:1/-1;width:100%}.order-add-item-button{width:100%}.payment-options{flex-direction:column;gap:14px}.order-form-summary{justify-content:space-between;padding:18px}.order-form-summary strong{font-size:22px}.order-form-actions{flex-direction:column-reverse}.order-form-save-button{width:100%}.orders-page-header{flex-direction:column;align-items:flex-start;gap:18px;width:100%;display:flex}.orders-page-header>div,.orders-page-header .secondary-button{width:100%}}.orders-cards{display:none}@media (width<=768px){.orders-table-wrapper{display:none}.orders-cards{flex-direction:column;gap:12px;display:flex}}.order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.order-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.order-card-header h3{color:#111827;margin:0;font-size:16px;line-height:1.3}.order-card-header p{color:#6b7280;margin:4px 0 0;font-size:13px}.order-card-person{flex-direction:column;gap:3px;padding:14px 0;display:flex}.order-card-person+.order-card-person{border-top:1px solid #f3f4f6}.order-card-person>span{color:#6b7280;font-size:12px;font-weight:600}.order-card-person>strong{color:#111827;font-size:14px}.order-card-person>small{color:#6b7280;font-size:13px}.order-card-summary{border-top:1px solid #e5e7eb;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;display:grid}.order-card-summary>div{flex-direction:column;gap:4px;display:flex}.order-card-summary span:first-child{color:#6b7280;font-size:12px;font-weight:600}.order-card-summary strong{color:#111827;font-size:14px}.order-card-actions{border-top:1px solid #e5e7eb;gap:8px;padding-top:14px;display:flex}.order-card-actions button{flex:1}.order-card-cancelled{opacity:.75}.order-details-page{flex-direction:column;gap:24px;display:flex}.order-details-header h2{color:#111827;margin:0;font-size:24px}.order-details-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.order-details-sections{flex-direction:column;gap:16px;display:flex}.order-details-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.order-details-section-header{margin-bottom:18px}.order-details-section-header h3{color:#111827;margin:0;font-size:16px}.order-details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.order-details-field{flex-direction:column;gap:5px;min-width:0;display:flex}.order-details-field span{color:#6b7280;font-size:12px;font-weight:600}.order-details-field strong{color:#111827;overflow-wrap:anywhere;font-size:14px}.order-details-products{flex-direction:column;display:flex}.order-details-product{border-bottom:1px solid #f3f4f6;grid-template-columns:minmax(0,2fr) repeat(3,minmax(80px,1fr));align-items:center;gap:16px;padding:14px 0;display:grid}.order-details-product:first-child{padding-top:0}.order-details-product-main{min-width:0}.order-details-product-main strong{color:#111827;font-size:14px}.order-details-product-value{flex-direction:column;gap:3px;display:flex}.order-details-product-value span{color:#6b7280;font-size:12px;font-weight:600}.order-details-product-value strong{color:#111827;font-size:14px}.order-details-products-total{justify-content:flex-end;align-items:center;gap:16px;padding-top:16px;display:flex}.order-details-products-total span{color:#6b7280;font-size:13px;font-weight:600}.order-details-products-total strong{color:#111827;font-size:16px}.order-details-payment{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.order-details-payment-item{flex-direction:column;gap:5px;display:flex}.order-details-payment-item>span:first-child{color:#6b7280;font-size:12px;font-weight:600}.order-details-payment-item strong{color:#111827;font-size:16px}.order-details-cancelled{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;flex-direction:column;gap:4px;padding:14px 16px;display:flex}.order-details-cancelled strong{color:#991b1b;font-size:14px}.order-details-cancelled span{color:#b91c1c;font-size:13px}@media (width<=768px){.order-details-page{gap:16px}.order-details-header h2{font-size:21px}.order-details-section{padding:16px}.order-details-grid{grid-template-columns:1fr;gap:14px}.order-details-product{grid-template-columns:1fr;gap:10px;padding:14px 0}.order-details-product-value{grid-template-columns:1fr auto;align-items:center;gap:12px;display:grid}.order-details-product-value strong{text-align:right}.order-details-products-total{justify-content:space-between}.order-details-payment{grid-template-columns:1fr;gap:14px}}.order-table-actions{align-items:center;gap:8px;display:flex}.order-details-button{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:7px 10px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.order-details-button:hover{color:#111827;background:#f9fafb;border-color:#9ca3af}.order-details-button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.order-cancelled{color:#6b7280;outline-offset:-1px;background:#fafafa;outline:1px solid #fecaca}.order-cancelled td,.order-cancelled td strong,.order-cancelled .order-person strong{color:#6b7280}.order-card-cancelled{background:#fafafa;border-color:#fecaca}.order-card-cancelled .order-card-header h3,.order-card-cancelled .order-card-header p,.order-card-cancelled .order-card-person>strong,.order-card-cancelled .order-card-summary strong{color:#6b7280}.entity-details-page{flex-direction:column;gap:24px;display:flex}.entity-details-header{flex-direction:column;gap:18px;display:flex}.entity-details-header h2{margin:0;font-size:24px;line-height:1.2}.entity-details-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.entity-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;gap:20px;max-width:600px;padding:24px;display:flex}.entity-details-field{flex-direction:column;gap:5px;display:flex}.entity-details-field span{color:#6b7280;font-size:12px;font-weight:600}.entity-details-field strong{color:#111827;overflow-wrap:anywhere;font-size:15px}.entity-period-filter{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 20px}.entity-period-filter-header h3{color:#111827;margin:0;font-size:16px;line-height:1.3}.entity-period-filter-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.entity-period-options{align-items:flex-end;gap:16px;margin-top:16px;display:flex}.entity-period-options label{flex-direction:column;gap:6px;display:flex}.entity-period-options label>span{color:#374151;font-size:12px;font-weight:600}.entity-period-options select,.entity-period-options input{box-sizing:border-box;color:#111827;min-width:190px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 11px;font-size:14px}.entity-period-options select:hover,.entity-period-options input:hover{border-color:#9ca3af}.entity-period-options select:focus,.entity-period-options input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #e0e7ff}.entity-details-fields{flex-direction:column;gap:20px;display:flex}.entity-details-summary{border-top:1px solid #e5e7eb;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:20px;display:grid}.entity-details-summary-item{background:#dbeafe;border-radius:8px;flex-direction:column;gap:4px;min-width:0;padding:12px;display:flex}.entity-details-summary-item>span{color:#6b7280;font-size:12px;font-weight:600}.entity-details-summary-item>strong{color:#1d4ed8;font-size:18px;line-height:1.2}.entity-details-summary-item>small{color:#6b7280;font-size:12px}.entity-details-summary-item.entity-details-summary-paid{background:#ecfdf5}.entity-details-summary-item.entity-details-summary-paid>strong{color:#047857}.entity-details-summary-item.entity-details-summary-pending{background:#fffbeb}.entity-details-summary-item.entity-details-summary-pending>strong{color:#b45309}@media (width<=768px){.entity-details-page{gap:18px}.entity-details-header{gap:16px}.entity-details-header h2{font-size:22px}.entity-details-header p{font-size:13px}.entity-details-card{border-radius:10px;max-width:none;padding:18px}.entity-period-options{flex-direction:column;align-items:stretch;gap:12px}.entity-period-options select,.entity-period-options input{width:100%;min-width:0}.entity-details-summary{grid-template-columns:1fr;gap:8px}.entity-details-summary-item{padding:11px 12px}}.back-button{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-self:flex-start;padding:8px 12px;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.back-button:hover{color:#111827;background:#f9fafb;border-color:#9ca3af}.back-button:focus-visible{outline-offset:2px;outline:2px solid #c7d2fe}.entity-orders-section{flex-direction:column;gap:16px;display:flex}.entity-orders-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.entity-orders-header h3{color:#111827;margin:0;font-size:18px;line-height:1.3}.entity-orders-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.entity-orders-loading{color:#6b7280;text-align:center;margin:0;padding:16px 0;font-size:14px}.entity-orders-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto}.entity-orders-table{border-collapse:collapse;text-align:left;width:100%}.entity-orders-table th{color:#6b7280;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 16px;font-size:12px;font-weight:600}.entity-orders-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:15px 16px;font-size:14px}.entity-orders-table tbody tr:last-child td{border-bottom:none}.entity-orders-table tbody tr:hover{background:#f9fafb}.entity-orders-table td strong{color:#111827;font-weight:600}.entity-order-cancelled{outline-offset:-1px;background:#fafafa;outline:1px solid #fecaca}.entity-order-cancelled:hover{background:#f5f5f5!important}.entity-order-cancelled td,.entity-order-cancelled td strong{color:#6b7280}.entity-orders-cards{display:none}.entity-order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;box-shadow:0 2px 6px #0000000d}.entity-order-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.entity-order-card-header>div{flex-direction:column;gap:4px;min-width:0;display:flex}.entity-order-card-header strong{color:#111827;overflow-wrap:anywhere;font-size:16px;line-height:1.3}.entity-order-card-header span:not(.status-badge):not(.payment-badge){color:#6b7280;font-size:13px}.entity-order-card-recipient{flex-direction:column;gap:3px;padding:14px 0;display:flex}.entity-order-card-recipient>span{color:#6b7280;font-size:12px;font-weight:600}.entity-order-card-recipient>strong{color:#111827;overflow-wrap:anywhere;font-size:14px}.entity-order-card-recipient>small{color:#6b7280;font-size:13px}.entity-order-card-summary{border-top:1px solid #e5e7eb;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0;display:grid}.entity-order-card-summary>div{flex-direction:column;gap:4px;display:flex}.entity-order-card-summary>div>span:first-child{color:#6b7280;font-size:12px;font-weight:600}.entity-order-card-summary strong{color:#111827;font-size:14px}.entity-order-card-actions{border-top:1px solid #e5e7eb;padding-top:14px;display:flex}.entity-order-card-actions button{width:100%}.entity-order-card-cancelled{background:#fafafa;border-color:#fecaca}.entity-order-card-cancelled .entity-order-card-header strong,.entity-order-card-cancelled .entity-order-card-recipient>strong,.entity-order-card-cancelled .entity-order-card-summary strong{color:#6b7280}.entity-orders-pagination-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.entity-orders-pagination-controls>label{align-items:center;gap:8px;display:flex}.entity-orders-pagination-controls>label>span{color:#6b7280;font-size:13px;font-weight:500}.entity-orders-pagination-controls select{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-height:38px;padding:0 32px 0 10px;font-size:13px}.entity-orders-pagination-total{color:#6b7280;font-size:13px}.entity-orders-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:100%;display:flex}.entity-orders-pagination-group{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.entity-orders-pagination-pages{flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;display:flex}.entity-orders-pagination button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:38px;min-height:38px;padding:0 11px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.entity-orders-pagination button:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.entity-orders-pagination button:focus-visible{outline-offset:2px;outline:2px solid #9ca3af}.entity-orders-pagination button:disabled{color:#d1d5db;cursor:not-allowed;background:#f9fafb}.entity-orders-pagination-active{color:#fff!important;background:#111827!important;border-color:#111827!important}.entity-orders-pagination-pages{justify-content:center;align-items:center;gap:6px;display:flex}.entity-orders-pagination-ellipsis{color:#6b7280;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;min-width:24px;min-height:38px;font-size:14px;display:flex}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin:0;padding:14px 16px;font-size:14px}@media (width<=768px){.entity-orders-section{gap:14px}.entity-orders-header{align-items:flex-start}.entity-orders-header h3{font-size:17px}.entity-orders-table-wrapper{display:none}.entity-orders-cards{flex-direction:column;gap:12px;display:flex}.entity-order-card{border-radius:10px}.entity-orders-pagination-controls{align-items:flex-start;gap:10px}.entity-orders-pagination-controls>label{flex:auto}.entity-orders-pagination-total{flex:none;align-self:center}.entity-orders-pagination{gap:8px}.entity-orders-pagination-group{gap:4px}.entity-orders-pagination-pages{order:2;justify-content:center;gap:4px;width:100%}.entity-orders-pagination>.entity-orders-pagination-group:first-child{order:1}.entity-orders-pagination>.entity-orders-pagination-group:last-child{order:3}.entity-orders-pagination button{min-width:40px;min-height:40px;padding:0 10px}.entity-orders-pagination-pages{gap:4px}.entity-orders-pagination-ellipsis{min-width:20px}}.customer-edit-page{width:100%;max-width:720px;margin:0 auto}.customer-edit-header{margin-bottom:24px}.customer-edit-header h2{margin:0 0 6px}.customer-edit-header p{color:#64748b;margin:0}.customer-edit-form{flex-direction:column;gap:24px;display:flex}.customer-edit-fields{flex-direction:column;gap:20px;display:flex}.customer-edit-fields label{color:#334155;flex-direction:column;gap:8px;font-size:.95rem;font-weight:600;display:flex}.customer-edit-fields input{box-sizing:border-box;color:#0f172a;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;font-weight:400;transition:border-color .2s,box-shadow .2s}.customer-edit-fields input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.customer-edit-fields input:disabled{cursor:not-allowed;background:#f1f5f9}.customer-edit-actions{justify-content:flex-start;display:flex}.customer-edit-save-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:46px;padding:12px 22px;font-size:1rem;font-weight:600;transition:background-color .2s,opacity .2s}.customer-edit-save-button:hover:not(:disabled){background:#1d4ed8}.customer-edit-save-button:disabled{opacity:.65;cursor:not-allowed}@media (width<=600px){.customer-edit-page{max-width:none}.customer-edit-form{gap:20px}.customer-edit-fields{gap:18px}.customer-edit-save-button{width:100%;min-height:48px}}.sales-reps-form{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-top:16px;padding:16px}.sales-reps-form-header{margin-bottom:20px}.sales-reps-form-header h3{color:#111827;margin:0;font-size:18px;font-weight:600}.sales-reps-form-header p{color:#6b7280;margin:6px 0 0;font-size:14px;line-height:1.5}.sales-reps-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.sales-reps-active-field{color:#374151;cursor:pointer;align-items:center;gap:10px;margin-top:18px;font-size:14px;display:flex}.sales-reps-active-field input{accent-color:#4338ca;width:17px;height:17px;margin:0}.sales-reps-form-message{color:#b91c1c;margin:14px 0 0;font-size:14px;line-height:1.5}.sales-reps-form-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;display:flex}.sales-reps-form>.back-button{margin-bottom:16px}.sales-reps-initials-field{justify-self:start;width:110px;min-width:0;max-width:110px}.sales-reps-initials-field input{box-sizing:border-box;text-align:center;text-transform:uppercase;letter-spacing:.08em;width:110px;max-width:100%}@media (width<=600px){.sales-reps-form{padding:14px}.sales-reps-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}.sales-reps-form-actions{flex-direction:column-reverse;align-items:stretch}.sales-reps-form-actions button{box-sizing:border-box;width:100%;min-height:44px}}.sales-reps-page{width:100%;min-width:0}.sales-reps-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.sales-reps-header h2{color:#111827;margin:0;font-size:22px;font-weight:700}.sales-reps-header p{color:#6b7280;margin:6px 0 0;font-size:14px;line-height:1.5}.sales-reps-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.sales-reps-header-actions select{min-width:148px;min-height:42px;font:inherit;color:var(--text-primary,#1f2937);background-color:var(--surface-color,#fff);border:1px solid var(--border-color,#dbe1e8);cursor:pointer;border-radius:10px;outline:none;padding:0 36px 0 14px;font-size:.875rem;font-weight:500;transition:border-color .18s,box-shadow .18s}.sales-reps-header-actions select:hover{border-color:var(--primary-color,#2563eb)}.sales-reps-header-actions select:focus-visible{border-color:var(--primary-color,#2563eb);box-shadow:0 0 0 3px var(--primary-focus-ring,#2563eb26)}.sales-reps-header-actions .primary-button{min-height:42px;font:inherit;color:var(--text-primary,#1f2937);background-color:var(--surface-color,#fff);border:1px solid var(--border-color,#dbe1e8);cursor:pointer;white-space:nowrap;box-shadow:none;border-radius:10px;justify-content:center;align-items:center;padding:0 14px;font-size:.875rem;font-weight:500;transition:border-color .18s,box-shadow .18s;display:inline-flex}.sales-reps-header-actions .primary-button:hover{color:var(--text-primary,#1f2937);background-color:var(--surface-color,#fff);border-color:var(--primary-color,#2563eb);box-shadow:none;transform:none}.sales-reps-header-actions .primary-button:focus-visible{border-color:var(--primary-color,#2563eb);box-shadow:0 0 0 3px var(--primary-focus-ring,#2563eb26);outline:none}.sales-reps-header-actions .primary-button:active{color:var(--text-primary,#1f2937);background-color:var(--surface-color,#fff);box-shadow:none;transform:none}.sales-reps-filter{color:#374151;align-items:center;gap:8px;font-size:14px;display:flex}.sales-reps-filter select{color:#111827;min-height:40px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 32px 8px 10px}.sales-reps-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;overflow-x:auto;box-shadow:0 2px 6px #0f172a0a}.sales-reps-table{border-collapse:collapse;text-align:left;width:100%}.sales-reps-table th,.sales-reps-table td{vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:15px 18px}.sales-reps-table th{color:#6b7280;letter-spacing:.04em;text-transform:uppercase;background:#f9fafb;font-size:12px;font-weight:700}.sales-reps-table td{color:#374151;font-size:14px}.sales-reps-table tbody tr:last-child td{border-bottom:none}.sales-reps-table tbody tr:hover{background:#fafbff}.sales-reps-table td:first-child strong{color:#111827;overflow-wrap:anywhere;font-weight:650}.sales-rep-initials{box-sizing:border-box;color:#3730a3;letter-spacing:.06em;background:#eef2ff;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:32px;padding:4px 8px;font-size:13px;font-weight:700;display:inline-flex}.sales-rep-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sales-rep-actions button{white-space:nowrap;min-height:40px}.sales-reps-cards{display:none}.sales-reps-error,.sales-reps-empty{color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:18px;font-size:14px;line-height:1.5}.sales-reps-empty p{margin:0}@media (width<=768px){.sales-reps-header{flex-direction:column;align-items:stretch;gap:14px}.sales-reps-header>button{box-sizing:border-box;width:100%;min-height:46px}.sales-reps-filter{justify-content:space-between}.sales-reps-filter select{flex:1;max-width:65%;min-height:44px}.sales-reps-table-wrapper{display:none}.sales-reps-cards{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.sales-rep-mobile-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:0;padding:15px;box-shadow:0 2px 6px #0f172a0a}.sales-rep-card-main,.sales-rep-card-initials{flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.sales-rep-card-main>span,.sales-rep-card-initials>span{color:#6b7280;font-size:12px;line-height:1.4}.sales-rep-card-main>strong{color:#111827;overflow-wrap:anywhere;font-size:16px;font-weight:650;line-height:1.5}.sales-rep-card-initials{margin-top:12px}.sales-rep-card-initials>strong{box-sizing:border-box;color:#3730a3;letter-spacing:.06em;background:#eef2ff;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:32px;padding:4px 8px;font-size:13px;font-weight:700;display:inline-flex}.sales-rep-card-actions{flex-direction:column;gap:10px;margin-top:16px;display:flex}.sales-rep-card-actions button{box-sizing:border-box;width:100%;min-height:46px}}@media (width<=480px){.sales-reps-header-actions{gap:10px;width:100%}.sales-reps-header-actions select{flex:1;min-width:0}.sales-reps-header-actions .primary-button{flex:1;padding-inline:12px}}@media (prefers-reduced-motion:reduce){.sales-reps-header-actions select,.sales-reps-header-actions .primary-button{transition:none}.sales-reps-header-actions .primary-button:hover{transform:none}}.sales-rep-details-page{color:#111827;flex-direction:column;gap:24px;min-width:0;display:flex}.sales-rep-details-page .entity-details-header{gap:18px}@media (width<=768px){.sales-rep-details-page{gap:18px}}
