:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}#root{width:100vw;height:100vh;margin:0;padding:0;overflow-x:hidden}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh;width:100vw;height:100vh;overflow-x:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 50%,var(--theme-primary-light) 100%);background-size:200% 200%;animation:gradientShift 15s ease infinite;position:relative;overflow:hidden}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.background-shapes{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:0}.shape{position:absolute;border-radius:50%;background:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:float 20s infinite}.shape-1{width:300px;height:300px;top:-150px;left:-150px;animation-delay:0s;animation-duration:25s}.shape-2{width:200px;height:200px;top:50%;right:-100px;animation-delay:3s;animation-duration:20s}.shape-3{width:250px;height:250px;bottom:-125px;left:30%;animation-delay:6s;animation-duration:30s}.shape-4{width:150px;height:150px;top:20%;left:10%;animation-delay:2s;animation-duration:18s}@keyframes float{0%,to{transform:translate(0) rotate(0)}25%{transform:translate(50px,50px) rotate(90deg)}50%{transform:translate(100px,-50px) rotate(180deg)}75%{transform:translate(-50px,100px) rotate(270deg)}}.login-card{background:linear-gradient(180deg,#fff,#f8fafc);border-radius:24px;box-shadow:0 30px 70px -20px #00000059;width:100%;max-width:480px;overflow:hidden;border:1px solid rgba(255,255,255,.35);position:relative;z-index:1;animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{background:linear-gradient(145deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);color:#fff;padding:2rem;text-align:center;position:relative;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.15)}.login-header:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:headerGlow 8s linear infinite}@keyframes headerGlow{0%{transform:translate(-25%,-25%) rotate(0)}to{transform:translate(-25%,-25%) rotate(360deg)}}.login-logo{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-bottom:1.5rem;position:relative;z-index:1}.login-logo-icon{width:50px;height:50px;background:#ffffff40;border-radius:16px;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 32px #0000001a;border:2px solid rgba(255,255,255,.3);animation:logoPulse 3s ease-in-out infinite;transition:transform .3s ease}.login-logo-icon:hover{transform:scale(1.05)}@keyframes logoPulse{0%,to{box-shadow:0 8px 32px #0000001a,0 0 #fff6}50%{box-shadow:0 8px 32px #00000026,0 0 0 15px #fff0}}.login-logo-icon svg{width:50px;height:50px;opacity:.95}.logo-image{width:100%;height:100%;object-fit:contain;padding:8px}.login-logo-text h1{font-size:1.75rem;font-weight:700;margin:0;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.2);animation:fadeInDown .6s ease-out .2s both}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.login-logo-text p{font-size:.95rem;margin:.5rem 0 0;color:#ffffffe6;font-weight:400;animation:fadeInDown .6s ease-out .3s both}.login-badges{margin-top:1rem;display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}.login-badge{padding:.35rem .75rem;background:#fff3;border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#fffffff2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.demo-credentials{background:#ffffff1a;border-radius:8px;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.demo-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-weight:600;font-size:.875rem;color:#fffffff2}.demo-icon{width:16px;height:16px;opacity:.8}.demo-items{display:flex;flex-direction:column;gap:.5rem}.demo-item{font-size:.8rem;color:#ffffffe6;display:flex;align-items:center;gap:.5rem}.demo-role{font-weight:500;min-width:70px}.demo-item code{background:#fff3;padding:.125rem .375rem;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.75rem;border:1px solid rgba(255,255,255,.1)}.login-form{padding:2rem;display:flex;flex-direction:column;gap:1.5rem;animation:fadeIn .6s ease-out .3s both}.form-group{display:flex;flex-direction:column;gap:.5rem;animation:slideInLeft .5s ease-out both}.form-group:nth-child(1){animation-delay:.4s}.form-group:nth-child(2){animation-delay:.5s}@keyframes slideInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.form-group label{font-weight:600;color:#374151;font-size:.875rem;margin:0}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:12px;width:15px;height:18px;color:#9ca3af;z-index:1;transition:all .3s ease}.input-wrapper input{width:100%;padding:14px 14px 14px 44px;border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);background:#f8fafc;box-sizing:border-box}.input-wrapper input:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000d}.input-wrapper input:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 4px #0a5a641a,0 4px 12px #0a5a6426;transform:translateY(-1px)}.input-wrapper input:focus+.input-icon,.input-wrapper input:focus~.input-icon{color:var(--theme-primary);transform:scale(1.1)}.input-wrapper input.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a;animation:shake .5s ease}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.password-wrapper{position:relative}.password-toggle{position:absolute;right:12px;background:none;border:none;cursor:pointer;padding:8px;color:#9ca3af;border-radius:6px;transition:all .3s ease;z-index:2}.password-toggle:hover{color:var(--theme-primary);background:#0a5a641a;transform:scale(1.05)}.password-toggle:active{transform:scale(.95)}.password-toggle svg{width:18px;height:18px;transition:transform .3s ease}.password-toggle:hover svg{transform:rotate(5deg)}.field-error{color:#ef4444;font-size:.8rem;font-weight:500;display:flex;align-items:center;gap:.25rem;animation:slideInLeft .3s ease-out}.error-message{display:flex;align-items:center;gap:.5rem;padding:12px 16px;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5;border-radius:10px;color:#dc2626;font-size:.875rem;font-weight:500;animation:errorShake .5s ease,errorFadeIn .3s ease}@keyframes errorFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes errorShake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.error-message .icon{width:18px;height:18px;flex-shrink:0;animation:iconPulse 2s ease infinite}@keyframes iconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.form-options{display:flex;justify-content:space-between;align-items:center;margin:.5rem 0;animation:slideInLeft .5s ease-out .55s both}.checkbox-label{display:flex;align-items:center;cursor:pointer;margin:0;gap:.5rem;-webkit-user-select:none;user-select:none;transition:transform .2s ease}.checkbox-label:hover{transform:translate(2px)}.checkbox-label input[type=checkbox]{display:none}.checkbox-custom{width:18px;height:18px;border:2px solid #d1d5db;border-radius:5px;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);background:#fff}.checkbox-label:hover .checkbox-custom{border-color:var(--theme-primary);transform:scale(1.05)}.checkbox-label input[type=checkbox]:checked+.checkbox-custom{background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);border-color:var(--theme-primary);animation:checkboxPop .3s ease}@keyframes checkboxPop{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1)}}.checkbox-label input[type=checkbox]:checked+.checkbox-custom:after{content:"✓";color:#fff;font-size:12px;font-weight:700;animation:checkmarkDraw .3s ease .1s both}@keyframes checkmarkDraw{0%{opacity:0;transform:scale(0) rotate(-45deg)}to{opacity:1;transform:scale(1) rotate(0)}}.checkbox-text{color:#6b7280;font-size:.875rem;font-weight:500}.forgot-password{color:var(--theme-primary);text-decoration:none;font-size:.875rem;font-weight:600;transition:all .3s ease;position:relative}.forgot-password:after{content:"";position:absolute;bottom:-2px;left:0;width:0;height:2px;background:linear-gradient(90deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);transition:width .3s ease}.forgot-password:hover{color:var(--theme-primary-mid);transform:translate(-2px)}.forgot-password:hover:after{width:100%}.login-button{width:100%;padding:16px 20px;font-size:1rem;font-weight:600;border-radius:10px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.5rem;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);border:none;color:#fff;box-shadow:0 4px 15px #0a5a6466;position:relative;overflow:hidden;animation:slideInLeft .5s ease-out .6s both}.login-helper{font-size:.85rem;color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;padding:10px 12px;border-radius:10px;text-align:center;line-height:1.4;animation:fadeIn .6s ease-out .45s both}.login-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#fff3;transform:translate(-50%,-50%);transition:width .6s ease,height .6s ease}.login-button:hover:before{width:300px;height:300px}.login-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0a5a6480}.login-button:active{transform:translateY(0);box-shadow:0 2px 10px #0a5a6466}.login-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.login-button:disabled:hover{transform:none;box-shadow:0 4px 15px #0a5a6466}.login-button .icon{width:18px;height:18px;position:relative;z-index:1}.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.3);border-top:3px solid white;border-radius:50%;animation:spin .8s linear infinite;position:relative;z-index:1}.login-button>*{position:relative;z-index:1}@media(max-width:640px){.login-container{padding:16px}.login-card{max-width:100%;border-radius:16px}.login-header{padding:1.5rem}.login-logo-icon{width:120px;height:120px}.login-logo-text h1{font-size:1.5rem}.login-logo-text p{font-size:.85rem}.login-form{padding:1.5rem}.form-options{flex-direction:column;align-items:flex-start;gap:.75rem}.demo-items{gap:.375rem}.demo-item{font-size:.75rem}.background-shapes .shape{opacity:.5}.shape-1,.shape-3{width:200px;height:200px}.shape-2,.shape-4{width:150px;height:150px}}@media(prefers-reduced-motion:reduce){.login-container,.login-card,.login-logo-icon,.login-logo-text h1,.login-logo-text p,.login-form,.form-group,.login-button,.form-options,.checkbox-custom,.error-message,.field-error,.background-shapes .shape{animation:none!important}.login-header:before{animation:none!important}*{transition-duration:.05s!important}}.key-value-editor{display:flex;flex-direction:column;gap:.5rem}.key-value-row{display:flex;gap:.5rem;align-items:center}.key-input,.value-input{flex:1;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:14px}.key-input{max-width:150px}.add-param-btn{display:flex;align-items:center;gap:.25rem;margin-top:.5rem}.authentication-section{border:1px solid #e0e0e0;border-radius:6px;padding:1rem;margin:1rem 0;background-color:#fafafa}.authentication-section h4{margin:0 0 1rem;color:#333;font-size:16px;font-weight:600}.oauth-fields{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}@media(max-width:480px){.login-container{padding:10px}.login-form{padding:1.5rem}.form-options{flex-direction:column;align-items:flex-start;gap:.75rem}.key-value-row{flex-direction:column;align-items:stretch;gap:.5rem}.key-input{max-width:none}}.price-comparison{display:flex;flex-direction:column;gap:2px;align-items:flex-start}.current-price,.adjusted-price{font-weight:600;color:#059669;font-size:.9rem}.original-price,.original-price-small{font-size:.8rem;color:#6b7280;text-decoration:line-through}.current-total{font-weight:700;color:#059669;font-size:1rem}.original-total{font-size:.85rem;color:#6b7280;text-decoration:line-through}.pricing-schema-status-note{margin-top:1rem;padding:12px 16px;border-radius:8px;border-left:4px solid}.pricing-schema-status-note.applied-schema{background-color:#d1fae5;border-left-color:#059669;color:#064e3b}.pricing-schema-status-note.preview-mode{background-color:#fef3c7;border-left-color:#d97706;color:#92400e}.status-note-content{display:flex;align-items:flex-start;gap:8px}.status-note-content svg{flex-shrink:0;margin-top:2px}.status-note-content span{font-size:.875rem;line-height:1.5}:root{--theme-primary: #0a5a64;--theme-primary-mid: #0d7080;--theme-primary-light: #17a2b8;--theme-primary-dark: #084550;--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-tertiary: #e9ecef;--bg-overlay: rgba(0, 0, 0, .5);--text-primary: #213547;--text-secondary: #6c757d;--text-muted: #adb5bd;--text-inverse: #ffffff;--border-light: #e9ecef;--border-medium: #dee2e6;--border-dark: #adb5bd;--status-success: #28a745;--status-warning: #ffc107;--status-error: #dc3545;--status-info: #17a2b8;--shadow-sm: 0 2px 4px rgba(0, 0, 0, .1);--shadow-md: 0 4px 12px rgba(0, 0, 0, .12);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .15);--shadow-xl: 0 12px 40px rgba(0, 0, 0, .2);--breakpoint-mobile: 0px;--breakpoint-tablet: 768px;--breakpoint-desktop: 1024px;--breakpoint-wide: 1440px}:root{--font-primary: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;--text-xs: .75rem;--text-sm: .875rem;--text-base: 1rem;--text-lg: 1.125rem;--text-xl: 1.25rem;--text-2xl: 1.5rem;--text-3xl: 1.875rem;--text-4xl: 2.25rem;--font-light: 300;--font-normal: 400;--font-medium: 500;--font-semibold: 600;--font-bold: 700;--leading-tight: 1.25;--leading-normal: 1.5;--leading-relaxed: 1.75}:root{--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--space-16: 4rem}:root{--duration-fast: .15s;--duration-normal: .3s;--duration-slow: .5s;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--ease-bounce: cubic-bezier(.34, 1.56, .64, 1);--transition-base: all var(--duration-normal) var(--ease-in-out);--transition-fast: all var(--duration-fast) var(--ease-in-out);--transition-colors: background-color var(--duration-normal) var(--ease-in-out), color var(--duration-normal) var(--ease-in-out), border-color var(--duration-normal) var(--ease-in-out)}:root{--radius-sm: .25rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-2xl: 1.5rem;--radius-full: 9999px}:root{--z-base: 1;--z-dropdown: 100;--z-sticky: 200;--z-fixed: 300;--z-modal-backdrop: 400;--z-modal: 500;--z-popover: 600;--z-tooltip: 700;--z-notification: 800}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideLeft{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes slideRight{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.flex{display:flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.flex-1{flex:1}.flex-wrap{flex-wrap:wrap}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.overflow-scroll{overflow:scroll}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-100{opacity:1}.animate-fadeIn{animation:fadeIn var(--duration-normal) var(--ease-in-out)}.animate-slideUp{animation:slideUp var(--duration-normal) var(--ease-out)}.animate-slideDown{animation:slideDown var(--duration-normal) var(--ease-out)}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.smooth-scroll{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.focus-ring:focus{outline:2px solid var(--theme-primary-light);outline-offset:2px}.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:var(--font-primary);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text-primary);background-color:var(--bg-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-synthesis:none;text-rendering:optimizeLegibility}button{font-family:inherit;font-size:inherit;line-height:inherit;border:none;background:none;cursor:pointer;padding:0}input,textarea,select{font-family:inherit;font-size:inherit;line-height:inherit}ul,ol{list-style:none}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}.skip-to-content{position:absolute;top:-40px;left:0;background:var(--theme-primary);color:var(--text-inverse);padding:var(--space-3);z-index:var(--z-tooltip);transition:top var(--duration-fast)}.skip-to-content:focus{top:0}@media print{.no-print{display:none!important}}.pricing-controls-section{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#f8f9fa;border-radius:8px;margin-bottom:1rem;border:1px solid #e9ecef}.pricing-control-info{display:flex;align-items:center;gap:1rem}.adjusted-orders-count{font-size:.9rem;color:#6c757d;background-color:#e9ecef;padding:.25rem .5rem;border-radius:4px}.toggle-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;color:#495057}.toggle-checkbox,.toggle-text{cursor:pointer}.order-row.has-pricing-adjustment{background-color:#f8f9fa;border-left:3px solid #28a745}.adjusted-price{font-weight:600;color:#28a745}.pricing-indicator{font-size:.8rem;cursor:help}.has-adjustment-indicator{font-size:.8rem;cursor:help;opacity:.7}.order-lines-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.pricing-schema-info{display:flex;flex-direction:column;gap:.25rem;align-items:flex-end}.pricing-schema-badge{background-color:#e3f2fd;color:#1976d2;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:500}.adjustment-summary{font-size:.75rem;color:#6c757d;background-color:#f8f9fa;padding:.125rem .375rem;border-radius:3px}.pricing-toggle-modal{margin-bottom:1rem;padding:.75rem;background-color:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.price-cell{display:flex;align-items:center;gap:.5rem}.adjustment-cell{min-width:120px}.adjustment-info{display:flex;flex-direction:column;gap:.125rem}.adjustment-type{font-size:.75rem;color:#6c757d;text-transform:uppercase;font-weight:500}.adjustment-value{font-size:.85rem;color:#28a745;font-weight:600}.no-adjustment{color:#6c757d;font-style:italic}.total-comparison{display:flex;flex-direction:column;gap:.5rem;border-top:1px solid #dee2e6;padding-top:1rem;margin-top:1rem}.total-row{display:flex;justify-content:space-between;align-items:center}.total-row.original{color:#6c757d;font-size:.9rem}.total-row.adjusted{font-weight:600;font-size:1.1rem;color:#28a745}.total-row.difference{font-size:.9rem;font-weight:500;border-top:1px solid #dee2e6;padding-top:.5rem;margin-top:.5rem}.total-row.difference .positive{color:#28a745}.total-row.difference .negative{color:#dc3545}@media(max-width:768px){.pricing-controls-section,.order-lines-header{flex-direction:column;gap:1rem;align-items:flex-start}.pricing-schema-info{align-items:flex-start}.total-comparison{font-size:.9rem}}.pricing-schema-loading{opacity:.6;pointer-events:none}.pricing-schema-error{color:#dc3545;font-size:.8rem;font-style:italic}.adjusted-price{transition:all .2s ease-in-out}.price-display:hover .pricing-indicator{opacity:1;transform:scale(1.1)}.pricing-schema-details-section{margin:1.5rem 0;padding:1.5rem;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px #0000001a}.pricing-schema-details-header h4{margin:0;color:#495057;display:flex;align-items:center;font-size:1.1rem;font-weight:600;cursor:pointer;padding:.5rem 0;-webkit-user-select:none;user-select:none;transition:color .2s ease}.pricing-schema-details-header:hover h4{color:#0056b3}.pricing-schema-details-header h4 svg:first-child{flex-shrink:0}.schema-toggle-hint{opacity:0;transition:opacity .2s ease}.pricing-schema-details-header:hover .schema-toggle-hint{opacity:1}.pricing-schema-info-grid{display:flex;flex-direction:column;gap:1.5rem;margin-top:1rem;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.schema-info-card{background:#fff;border:1px solid #e9ecef;border-radius:6px;padding:1rem;box-shadow:0 1px 3px #0000000d}.schema-info-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f3f4}.schema-info-row:last-child{border-bottom:none}.schema-label{font-weight:500;color:#495057;font-size:.9rem}.schema-value{color:#212529;font-weight:600}.schema-status{padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:600}.schema-status.applied{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.schema-status.preview{background-color:#fff3cd;color:#856404;border:1px solid #ffeaa7}.schema-adjustments-summary{background:#fff;border:1px solid #e9ecef;border-radius:6px;padding:1rem;box-shadow:0 1px 3px #0000000d}.schema-adjustments-summary h5{margin:0 0 1rem;color:#495057;font-size:1rem;font-weight:600}.adjustments-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.adjustment-item{padding:.75rem;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;display:flex;flex-direction:column;gap:.5rem}.adjustment-product{font-weight:600;color:#495057;font-size:.9rem}.adjustment-details{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.adjustment-calc{font-family:Courier New,monospace;font-size:.85rem;color:#6c757d;background-color:#e9ecef;padding:.25rem .5rem;border-radius:3px}.adjustment-impact{font-weight:600;font-size:.85rem;padding:.25rem .5rem;border-radius:3px}.adjustment-impact.positive{background-color:#d4edda;color:#155724}.adjustment-impact.negative{background-color:#f8d7da;color:#721c24}.total-impact{padding:.75rem;background-color:#e3f2fd;border:1px solid #bbdefb;border-radius:4px;text-align:center;color:#1565c0;font-size:1rem}.line-total{font-weight:600}.calculated-total{color:#28a745;font-weight:600}.current-line-total{font-weight:600;color:#28a745}.original-line-total-small{font-size:.8rem;color:#6c757d}.adjusted-line-total{font-weight:600;color:#28a745}.original-line-total{font-size:.9rem;color:#6c757d;text-decoration:line-through}.price-comparison{display:flex;flex-direction:column;gap:.25rem}@media(max-width:768px){.pricing-schema-details-section{margin:1rem 0;padding:1rem}.schema-info-row{flex-direction:column;align-items:flex-start;gap:.25rem}.adjustment-details{flex-direction:column;align-items:flex-start}.adjustment-calc,.adjustment-impact{font-size:.8rem}}:root{--theme-primary: #0a5a64;--theme-primary-mid: #0d7080;--theme-primary-light: #17a2b8;--theme-primary-dark: #084550}.app-container{width:100vw;height:100vh;min-height:100vh;display:flex;flex-direction:column;margin:0;padding:0;overflow-x:hidden}.app-header{flex-shrink:0;width:100%;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 50%,var(--theme-primary-light) 100%);background-size:200% 200%;animation:headerGradientShift 15s ease infinite;box-shadow:0 4px 20px #00000026,0 0 40px #0a5a641a;overflow:visible;margin:0;padding:0;position:relative;z-index:100}@keyframes headerGradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.header-content{padding:8px 16px;width:100%;max-width:none;animation:headerFadeIn .8s ease-out}@keyframes headerFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.header-top-row{display:flex;align-items:center;justify-content:space-between;width:100vw;gap:24px}.welcome-section{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.header-right-group{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0;animation:slideInRight .6s ease-out .3s both}@keyframes slideInLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.logo-container{display:flex;align-items:center;justify-content:center;flex-shrink:0}@keyframes logoEntrance{0%{opacity:0;transform:scale(.5) rotate(-10deg)}to{opacity:1;transform:scale(1) rotate(0)}}.logo-container:after{content:"";position:absolute;inset:-4px;border-radius:8px;background:radial-gradient(circle,rgba(255,255,255,.3) 0%,transparent 70%);animation:logoPulseGlow 3s ease-in-out infinite;pointer-events:none}@keyframes logoPulseGlow{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.1)}}.logo-image{width:48px;height:48px;object-fit:contain}.logo-container:hover .logo-image{transform:scale(1.1) rotate(5deg)}.welcome-message{font-size:1.2rem;font-weight:600;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.2),0 0 20px rgba(255,255,255,.1);animation:textGlow 4s ease-in-out infinite;transition:transform .3s ease;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes textGlow{0%,to{text-shadow:0 2px 10px rgba(0,0,0,.2),0 0 20px rgba(255,255,255,.1)}50%{text-shadow:0 2px 10px rgba(0,0,0,.2),0 0 30px rgba(255,255,255,.2)}}.welcome-message:hover{transform:translate(5px)}@media(prefers-reduced-motion:reduce){.app-header,.header-content,.welcome-section,.logo-container,.logo-container:after,.welcome-message,.notification-button,.notification-badge,.branch-selector-section,.branch-selector-button,.branch-dropdown,.branch-item{animation:none!important;transition-duration:.05s!important}.logo-container:hover .logo-image,.welcome-message:hover,.notification-button:hover,.branch-selector-button:hover,.branch-item:hover{transform:none!important}}.users-container{padding:24px;margin:0 auto}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.users-header h1{margin:0;color:#1f2937;font-size:1.875rem;font-weight:700}.users-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px}.loading-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top:3px solid #059669;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.users-table-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.users-table{width:100%;border-collapse:collapse;table-layout:auto}.users-table th,.users-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e5e7eb;overflow-wrap:anywhere;word-break:break-word}.users-table th{background:#f9fafb;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.users-table tr:hover{background:#f9fafb}.users-table th:nth-child(1),.users-table td:nth-child(1){width:10%;min-width:80px}.users-table th:nth-child(2),.users-table td:nth-child(2){width:15%;min-width:100px}.users-table th:nth-child(3),.users-table td:nth-child(3){width:15%;min-width:120px}.users-table th:nth-child(4),.users-table td:nth-child(4){width:auto;min-width:180px}.users-table th:nth-child(5),.users-table td:nth-child(5){width:auto;min-width:120px}.branch-role-assignments{display:flex;flex-wrap:wrap;gap:4px}.branch-role-badge{background:#dbeafe;color:#1e40af;padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:500;white-space:nowrap}.action-buttons{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;min-width:120px}.users-table td{min-width:0}.no-data{text-align:center;color:#6b7280;font-style:italic;padding:32px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.modal-content{background:#fff;border-radius:8px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:1200px;max-height:90vh;overflow-y:auto}.modal-content.modal-sm{max-width:400px}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.modal-close{background:none;border:none;padding:4px;color:#6b7280;cursor:pointer;border-radius:4px;transition:all .15s ease}.modal-close:hover{color:#374151;background:#f3f4f6}.modal-close svg{width:20px;height:20px}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.user-form{padding:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.form-group{display:flex;flex-direction:column;gap:4px}.form-group label{font-weight:500;color:#374151;font-size:.875rem}.form-group input,.form-group select,.form-group textarea{padding:8px 25px;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;transition:border-color .15s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#059669;box-shadow:0 0 0 2px #0596691a}.form-group textarea{resize:vertical;min-height:80px}.branch-roles-section{border-top:1px solid #e5e7eb;padding-top:24px;margin-top:24px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937}.section-title{margin:0 0 24px;font-size:1.25rem;font-weight:600;color:#1f2937;padding:12px 16px;border-bottom:1px solid #e5e7eb}.settings-form{display:flex;flex-direction:column;gap:20px;padding:24px;overflow-y:auto;max-height:calc(100vh - 300px)}.settings-content{padding:0}.settings-layout{display:flex;gap:24px;min-height:500px;max-height:calc(100vh - 200px)}.settings-sidebar{width:350px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden;display:flex;flex-direction:column}.settings-sidebar-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.settings-sidebar-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937}.integration-list{flex:1;overflow-y:auto;padding:0}.integration-item{padding:16px 20px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:all .15s ease}.integration-item:hover{background-color:#f9fafb}.integration-item.selected{background-color:#eff6ff;border-right:3px solid #2563eb}.integration-item:last-child{border-bottom:none}.integration-info h4{margin:0 0 4px;font-size:.875rem;font-weight:600;color:#1f2937}.integration-info p{margin:0 0 8px;font-size:.75rem;color:#6b7280;word-break:break-all}.method-badge{display:inline-block;padding:2px 6px;border-radius:4px;font-size:.625rem;font-weight:600;background-color:#f3f4f6;color:#374151}.no-integrations{padding:40px 20px;text-align:center}.no-integrations p{margin:0 0 16px;color:#6b7280;font-size:.875rem}.settings-content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:auto}.settings-placeholder{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;flex:1;min-height:400px;display:flex;align-items:center;justify-content:center}.placeholder-content{text-align:center;padding:40px}.placeholder-content svg{color:#d1d5db;margin-bottom:16px}.placeholder-content h3{margin:0 0 8px;color:#374151;font-size:1.125rem;font-weight:600}.placeholder-content p{margin:0;color:#6b7280;font-size:.875rem;max-width:300px}.settings-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding:15px 16px;border-bottom:1px solid #e5e7eb}.settings-form-header h2{margin:0;color:#1f2937;font-size:1.25rem;font-weight:600}.header-actions{display:flex;gap:12px;align-items:center}.user-header-actions{display:flex;gap:.5rem;align-items:center}@media(max-width:1024px){.settings-layout{flex-direction:column;min-height:auto;max-height:none;gap:16px}.settings-sidebar{width:100%;max-height:300px}.integration-list{max-height:200px}.settings-content{min-height:400px}}@media(max-width:768px){.settings-form-header{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}.header-actions{width:100%;justify-content:flex-end}.header-actions .btn{flex:0 0 auto}}@media(max-height:600px){.settings-layout{max-height:none;min-height:auto}.settings-sidebar{max-height:200px}.integration-list{max-height:150px}}.branch-role-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:16px;margin-bottom:12px}.branch-role-item .form-row{align-items:end}.no-assignments{text-align:center;color:#6b7280;font-style:italic;padding:32px;border:2px dashed #d1d5db;border-radius:6px;background:#f9fafb}.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:24px;border-top:1px solid #e5e7eb;margin-top:24px}.right-actions{display:flex;gap:10px}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:4px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .15s ease;text-decoration:none;line-height:1.4}.btn .icon{width:16px;height:16px}.btn-primary{background:var(--theme-primary);color:#fff}.btn-primary:hover{background:#047857}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-outline{background:transparent;color:var(--theme-primary);border:1px solid var(--theme-primary)}.btn-outline:hover{background:var(--theme-primary);color:#fff}.btn-sm{padding:4px 8px;font-size:.75rem}.btn-sm .icon{width:14px;height:14px}.error-message{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;margin-bottom:24px;font-size:.875rem}.error-message .icon{width:16px;height:16px;flex-shrink:0}.warning-text{color:#dc2626;font-size:.875rem;margin-top:8px}@media(max-width:768px){.users-container{padding:16px}.users-header{flex-direction:column;align-items:stretch;gap:16px}.form-row{grid-template-columns:1fr}.modal-content{margin:16px}.users-table{font-size:.875rem;table-layout:auto}.users-table th,.users-table td{padding:8px 12px}.users-table th:nth-child(4),.users-table td:nth-child(4){max-width:none}.users-table th:nth-child(5),.users-table td:nth-child(5){min-width:150px}.branch-role-assignments{flex-direction:column;align-items:flex-start}}.access-restriction-container{display:flex;align-items:center;justify-content:center;min-height:400px;padding:32px;background:#f9fafb;border-radius:8px;margin:24px}.access-restriction-content{max-width:500px;text-align:center;background:#fff;padding:32px;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.restriction-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.restriction-icon{width:48px;height:48px;flex-shrink:0;margin-top:4px}.restriction-icon.warning{color:#f59e0b}.restriction-icon.error{color:#ef4444}.restriction-icon.info{color:#3b82f6}.restriction-text{flex:1;text-align:left}.restriction-title{margin:0 0 8px;font-size:1.5rem;font-weight:700;color:#1f2937}.restriction-message{margin:0 0 8px;font-size:1rem;color:#4b5563;line-height:1.5}.restriction-action{margin:0;font-size:.875rem;color:#6b7280;font-style:italic}.restriction-details{background:#f3f4f6;border-radius:6px;padding:16px;margin-bottom:24px;border:1px solid #e5e7eb}.detail-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.detail-label{font-weight:500;color:#374151;font-size:.875rem}.detail-value{font-weight:600;color:#1f2937;font-size:.875rem;background:#e5e7eb;padding:2px 8px;border-radius:4px}.restriction-actions{display:flex;justify-content:center}.request-access-btn{background:var(--theme-primary);border:none;color:#fff;padding:12px 24px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;gap:8px}.request-access-btn:hover{background:#047857;transform:translateY(-1px);box-shadow:0 4px 8px #0596694d}.request-access-btn .icon{width:16px;height:16px}.access-restriction-container.warning{border-left:4px solid #f59e0b}.access-restriction-container.error{border-left:4px solid #ef4444}.access-restriction-container.info{border-left:4px solid #3b82f6}.branch-access-warning{background:#fef3cd;border:1px solid #fde047;border-radius:6px;padding:8px 12px;margin:8px 0;display:flex;align-items:center;gap:8px;font-size:.875rem;color:#92400e}.branch-access-warning .icon{width:16px;height:16px;color:#f59e0b;flex-shrink:0}.branch-access-disabled{opacity:.6;pointer-events:none}.role-description{color:#a8d4db;font-size:.875rem;margin:0;font-weight:400}.user-info{display:flex;align-items:center;gap:8px;background:#ffffff1a;border-radius:8px;padding:8px 12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.user-avatar{width:24px;height:24px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center}.user-avatar svg{width:12px;height:12px;color:#fff}.user-details{color:#fff;font-size:.875rem}.user-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80px;margin:0}.user-role{color:#a8d4db;font-size:.75rem;margin:0}.logout-button{margin-left:8px;color:#fff;background:none;border:none;padding:4px;border-radius:4px;cursor:pointer;transition:color .2s ease}.logout-button:hover{color:#fca5a5}.logout-button svg{width:16px;height:16px}.search-section{position:relative}.search-input{width:100%;padding:12px 16px 12px 40px;background:#fff;border:none;border-radius:8px;box-shadow:0 1px 3px #0000001a;font-size:.875rem;color:#374151}.search-input:focus{outline:none;box-shadow:0 0 0 2px #ffffff80}.search-input::placeholder{color:#9ca3af}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;width:16px;height:16px}.notification-section{position:relative;animation:slideInRight .6s ease-out .4s both}.notification-button{background:#ffffff1a;border:none;border-radius:10px;padding:10px;color:#fff;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;position:relative;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);animation:slideInRight .6s ease-out .4s both;overflow:hidden}@keyframes slideInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.notification-button:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,255,255,.2) 0%,transparent 70%);opacity:0;transition:opacity .3s ease}.notification-button:hover:before{opacity:1;animation:rippleEffect .8s ease-out}@keyframes rippleEffect{0%{transform:scale(0);opacity:1}to{transform:scale(2);opacity:0}}.notification-button:hover{background:#ffffff40;transform:translateY(-2px) scale(1.05);box-shadow:0 8px 20px #0003,0 0 30px #ffffff1a;border-color:#ffffff4d}.notification-button:active{transform:translateY(0) scale(.98)}.notification-button svg{width:24px;height:24px;position:relative;z-index:1;transition:transform .3s ease}.notification-button:hover svg{transform:rotate(15deg) scale(1.1);animation:bellRing .5s ease-in-out}@keyframes bellRing{0%,to{transform:rotate(0)}10%,30%,50%,70%,90%{transform:rotate(-10deg)}20%,40%,60%,80%{transform:rotate(10deg)}}.notification-badge{position:absolute;top:-4px;right:-4px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-radius:50%;width:22px;height:22px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--theme-primary);box-shadow:0 4px 12px #ef444480,0 0 20px #ef44444d;animation:badgePulse 2s ease-in-out infinite,badgeBounce .6s ease-out;z-index:2}@keyframes badgePulse{0%,to{transform:scale(1);box-shadow:0 4px 12px #ef444480,0 0 20px #ef44444d}50%{transform:scale(1.1);box-shadow:0 4px 16px #ef4444b3,0 0 30px #ef444480}}@keyframes badgeBounce{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.notification-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #0000000d,0 0 40px #0a5a640d;width:380px;max-height:450px;overflow:hidden;z-index:9999;border:1px solid rgba(10,90,100,.1);animation:slideDown .4s cubic-bezier(.34,1.56,.64,1)}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-header{padding:20px 24px 16px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#0a5a640d,#0d708005);position:relative;overflow:hidden}.notification-header:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shimmer 3s infinite}@keyframes shimmer{0%{left:-100%}to{left:100%}}.notification-header h3{margin:0;font-size:18px;font-weight:700;color:#1f2937;letter-spacing:-.025em;position:relative;z-index:1}.clear-all{background:linear-gradient(135deg,#0a5a641a,#0d70800d);border:1px solid rgba(10,90,100,.2);color:var(--theme-primary);cursor:pointer;font-size:14px;font-weight:600;padding:6px 12px;border-radius:6px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;z-index:1;overflow:hidden}.clear-all:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#0a5a6433,#0d70801a);opacity:0;transition:opacity .3s ease}.clear-all:hover:before{opacity:1}.clear-all:hover{background:linear-gradient(135deg,#0a5a6426,#0d70801a);border-color:#0a5a644d;transform:translateY(-2px);box-shadow:0 4px 12px #0a5a6433}.clear-all:active{transform:translateY(0);box-shadow:0 2px 6px #0a5a6433}.clear-all:hover{background:#e5f3f4}.notification-list{max-height:300px;overflow-y:auto}.notification-item{padding:16px 24px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:all .2s ease;position:relative;display:flex;align-items:flex-start;gap:12px}.notification-item:hover{background:#f8fafc;transform:translate(2px)}.notification-item:last-child{border-bottom:none}.notification-type-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:8px}.notification-type-indicator.success{background:#10b981}.notification-type-indicator.warning{background:#f59e0b}.notification-type-indicator.error{background:#ef4444}.notification-type-indicator.info{background:#3b82f6}.notification-content{flex:1;min-width:0}.notification-content h4{margin:0 0 6px;font-size:15px;font-weight:600;color:#1f2937;line-height:1.3}.notification-content p{margin:0 0 8px;font-size:13px;color:#6b7280;line-height:1.5;word-break:break-word}.notification-time{font-size:11px;color:#9ca3af;font-weight:500;text-transform:uppercase;letter-spacing:.025em}.notification-item.clickable{transition:all .2s ease}.notification-item.clickable:hover{background:#f0fdf4;border-left:3px solid #10b981;transform:translate(2px)}.view-details-hint{font-size:11px;color:#10b981;font-weight:500;font-style:italic;margin-top:4px;display:block}.notification-item.processed{opacity:.75;background:#f9fafb;border-left:3px solid #10b981}.processed-badge{display:inline-flex;align-items:center;gap:4px;background:#10b981;color:#fff;font-size:10px;font-weight:500;padding:2px 6px;border-radius:12px;margin-left:8px;text-transform:uppercase;letter-spacing:.025em}.processed-badge svg{width:10px;height:10px}.processed-hint{font-size:11px;color:#6b7280;font-weight:500;font-style:italic;margin-top:4px;display:block}.change-notification-meta{display:grid;gap:4px;margin-top:8px;font-size:12px;color:#64748b}.change-notification-actions{display:flex;gap:8px;margin-top:10px}.change-action-btn{border:none;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.change-action-btn:disabled{opacity:.7;cursor:not-allowed}.change-action-btn.take{background:#0f766e;color:#fff}.change-action-btn.reject{background:#b91c1c;color:#fff}.mobile-profile-section{position:relative}.mobile-profile-btn{background:#ffffff1a;border:none;border-radius:10px;padding:10px;color:#fff;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;position:relative;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15)}.mobile-profile-btn:hover{background:#ffffff40;transform:translateY(-2px) scale(1.05);box-shadow:0 8px 20px #0003;border-color:#ffffff4d}.mobile-profile-btn:active{transform:translateY(0) scale(.98)}.mobile-profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px #00000040;width:280px;overflow:hidden;z-index:9999;border:1px solid rgba(10,90,100,.1);animation:slideDown .4s cubic-bezier(.34,1.56,.64,1)}.mobile-profile-header{padding:20px;background:linear-gradient(135deg,#0a5a640d,#0d708005);border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:16px}.profile-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-light) 100%);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.profile-info{flex:1;min-width:0}.profile-info h4{margin:0 0 4px;font-size:16px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-info p{margin:0 0 4px;font-size:13px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:12px;background:var(--theme-primary-light);color:#fff;text-transform:uppercase;letter-spacing:.025em}.mobile-profile-menu{padding:8px}.mobile-profile-menu-item{width:100%;padding:12px 16px;border:none;background:transparent;color:#374151;font-size:15px;font-weight:500;text-align:left;cursor:pointer;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;gap:12px}.mobile-profile-menu-item:hover{background:#f3f4f6}.mobile-profile-menu-item.logout-item{color:#ef4444}.mobile-profile-menu-item.logout-item:hover{background:#ef44441a}.mobile-profile-menu-item svg{flex-shrink:0}.order-details-modal{max-width:900px;width:90%;max-height:85vh;overflow-y:auto}.order-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:24px}.info-section{background:#f8fafc;padding:20px;border-radius:8px;border:1px solid #e2e8f0}.info-section h4{margin:0 0 16px;font-size:16px;font-weight:600;color:#1f2937;border-bottom:2px solid #e2e8f0;padding-bottom:8px}.info-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:16px}.info-row:last-child{margin-bottom:0}.info-label{font-weight:500;color:#374151;flex-shrink:0;min-width:120px}.info-value{color:#6b7280;text-align:right;word-break:break-word;flex:1}.order-items-section{margin-top:24px}.order-items-section h4{margin:0 0 16px;font-size:16px;font-weight:600;color:#1f2937}.items-table{background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.items-table table{width:100%;border-collapse:collapse}.items-table th,.items-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.items-table th{background:#f1f5f9;font-weight:600;color:#374151;font-size:14px}.items-table td{color:#6b7280;font-size:14px}.items-table tbody tr:last-child td{border-bottom:none}.items-table tbody tr:hover{background:#f0f9ff}.custom-toast{max-width:400px;width:100%;background:#fff;box-shadow:0 10px 25px #00000026;border-radius:12px;pointer-events:auto;display:flex;border:1px solid #e5e7eb;overflow:hidden}.custom-toast.warning{background:#fef3c7;border-color:#f59e0b}.custom-toast.success{background:#d1fae5;border-color:#10b981}.custom-toast.error{background:#fee2e2;border-color:#ef4444}.toast-icon{flex-shrink:0;font-size:20px;margin-top:2px}.toast-title{font-size:14px;font-weight:600;margin:0 0 4px;color:#1f2937}.toast-message{font-size:13px;margin:0 0 6px;color:#4b5563;line-height:1.4}.toast-details{font-size:11px;margin:0;color:#6b7280;font-style:italic}.toast-close{border-left:1px solid #e5e7eb;display:flex}.toast-close.warning{border-left-color:#f59e0b}.toast-close.success{border-left-color:#10b981}.toast-close.error{border-left-color:#ef4444}.toast-close-btn{background:none;border:none;padding:16px;cursor:pointer;color:#6b7280;font-size:16px;font-weight:700;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:48px}.toast-close-btn:hover{background:#0000000d;color:#374151}.toast-enter{animation:toastSlideIn .3s ease-out}.toast-leave{animation:toastSlideOut .2s ease-in}@keyframes toastSlideIn{0%{opacity:0;transform:translate(100%) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes toastSlideOut{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%) scale(.95)}}.app-body{display:flex;flex:1;height:calc(100vh - 120px);overflow:hidden}.main-content{flex:1;overflow-y:auto;background-color:#f3f4f6}.modal-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#00000080;z-index:50}.modal-content{background:#fff;border-radius:8px;padding:24px;width:100%;box-shadow:0 10px 25px #00000040}.modal-title{font-size:1.25rem;font-weight:600;margin-bottom:16px}.modal-text{margin-bottom:24px;color:#6b7280}.modal-buttons{display:flex;justify-content:flex-end;gap:16px}.modal-button{padding:8px 16px;border-radius:4px;border:none;cursor:pointer;font-size:.875rem;transition:background-color .2s ease}.modal-button-cancel{background:#fff;color:#374151;border:1px solid #d1d5db}.modal-button-cancel:hover{background:#f9fafb}.modal-button-confirm{background:var(--theme-primary);color:#fff}.modal-button-confirm:hover{background:#dc2626}.logout-modal-content{max-width:400px;padding:32px;text-align:center}.logout-modal-content .modal-title{font-size:1.5rem;font-weight:700;margin-bottom:12px;color:#1f2937}.logout-modal-content .modal-text{font-size:.9375rem;margin-bottom:28px;color:#6b7280;line-height:1.6}.logout-modal-content .modal-buttons{gap:12px;justify-content:center}.logout-modal-content .modal-button{min-width:120px;padding:10px 24px;font-size:.9375rem;font-weight:600;border-radius:8px;transition:all .2s ease}.logout-modal-content .modal-button-cancel{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.logout-modal-content .modal-button-cancel:hover{background:#e5e7eb;border-color:#9ca3af;transform:translateY(-1px)}.logout-modal-content .modal-button-confirm{background:#ef4444;color:#fff;box-shadow:0 2px 8px #ef444440}.logout-modal-content .modal-button-confirm:hover{background:#dc2626;box-shadow:0 4px 12px #ef444459;transform:translateY(-1px)}@media(min-width:640px){.logo-container{width:80px;height:50px}.logo-image{width:120px;height:70px}.app-title{font-size:1.5rem}.user-avatar{width:32px;height:32px}.user-avatar svg{width:16px;height:16px}.user-name{max-width:none}.search-input{padding:12px 16px 12px 40px;font-size:1rem}.header-content{padding:16px 32px}}@media(min-width:1024px){.app-title{font-size:2rem}.header-content{padding:20px 48px}.main-content{padding:0}}@media(min-width:1440px){.header-content{padding:24px 64px}.main-content{padding:0}}.dashboard-container{max-width:fullscreen;margin:0;padding:1.5rem;width:100%;min-height:100vh;animation:dashboardFadeIn .6s ease-out}@keyframes dashboardFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.dashboard-header-card{background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;margin-bottom:1.5rem;border:1px solid rgba(10,90,100,.1);overflow:hidden;animation:cardSlideIn .6s ease-out .1s both;position:relative}.dashboard-header-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--theme-primary) 0%,var(--theme-primary-mid) 50%,var(--theme-primary-light) 100%);background-size:200% 100%;animation:gradientSlide 3s ease infinite}@keyframes gradientSlide{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes cardSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.dashboard-header-content{display:flex;justify-content:space-between;align-items:center;padding:2rem;gap:2rem;flex-wrap:wrap}.dashboard-header-text{display:flex;align-items:center;gap:1.5rem;flex:1;min-width:300px}.dashboard-icon-wrapper{width:56px;height:56px;background:linear-gradient(135deg,#0a5a641a,#0d70800d);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .3s ease;box-shadow:0 0 20px #0a5a641a}.dashboard-icon-wrapper:hover{transform:rotate(5deg) scale(1.05);box-shadow:0 0 30px #0a5a6433}.dashboard-icon{width:28px;height:28px;color:var(--theme-primary)}.dashboard-title{font-size:2rem;color:#1f2937;margin:0 0 .5rem;font-weight:700;letter-spacing:-.03em;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.dashboard-subtitle{font-size:.95rem;color:#6b7280;margin:0;font-weight:400;line-height:1.5}.dashboard-header-actions{display:flex;gap:1rem}.view-orders-button{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);color:#fff;border:none;padding:1rem 2rem;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #0a5a644d;text-transform:none;letter-spacing:0;position:relative;overflow:hidden}.view-orders-button:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,255,255,.2) 0%,transparent 70%);opacity:0;transition:opacity .3s ease}.view-orders-button:hover:before{opacity:1;animation:ripple .8s ease-out}@keyframes ripple{0%{transform:scale(0);opacity:1}to{transform:scale(2);opacity:0}}.view-orders-button:hover{background:linear-gradient(135deg,var(--theme-primary-mid) 0%,var(--theme-primary-light) 100%);transform:translateY(-2px);box-shadow:0 8px 20px #0a5a6466}.view-orders-button:active{transform:translateY(0);box-shadow:0 4px 12px #0a5a644d}.view-orders-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.view-orders-button:disabled:hover{transform:none;box-shadow:0 4px 12px #0a5a644d}.button-icon{width:1.25rem;height:1.25rem;position:relative;z-index:1;transition:transform .3s ease}.view-orders-button:hover .button-icon{transform:scale(1.1) rotate(5deg)}.loading-spinner{width:1rem;height:1rem;border:2px solid rgba(255,255,255,.3);border-top:2px solid currentColor;border-radius:50%;animation:spin .8s linear infinite;position:relative;z-index:1}.dashboard-info-banner{display:flex;gap:1rem;padding:1.5rem 2rem;background:linear-gradient(135deg,#0a5a6408,#0d708003);border-top:1px solid rgba(10,90,100,.1);flex-wrap:wrap;animation:bannerSlideIn .6s ease-out .3s both}@keyframes bannerSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.info-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border-radius:8px;border:1px solid rgba(10,90,100,.1);transition:all .3s ease;flex:1;min-width:200px}.info-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0a5a6426;border-color:#0a5a6433}.info-icon{width:20px;height:20px;color:var(--theme-primary);flex-shrink:0}.info-content{display:flex;flex-direction:column;gap:.125rem}.info-label{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.orders-section{margin:0 0 1.5rem;background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid rgba(10,90,100,.1);overflow:hidden;animation:cardSlideIn .6s ease-out .2s both}.pending-child-requests-panel{margin:0 0 1.5rem;background:#fff;border:1px solid rgba(10,90,100,.12);border-radius:16px;box-shadow:0 4px 10px #0000000f;overflow:hidden}.pending-child-requests-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid rgba(10,90,100,.1);background:linear-gradient(135deg,#0a5a640a,#0a5a6403)}.pending-child-requests-title{margin:0;font-size:1.05rem;font-weight:700;color:#1f2937}.pending-child-requests-subtitle{margin:.2rem 0 0;font-size:.82rem;color:#6b7280}.pending-child-refresh-btn{border:1px solid rgba(10,90,100,.25);background:#fff;color:#0a5a64;font-weight:600;padding:.45rem .75rem;border-radius:8px;cursor:pointer}.pending-child-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.pending-child-loading,.pending-child-empty{padding:1rem 1.25rem;color:#6b7280}.pending-child-list{display:grid;gap:.65rem;padding:.85rem 1rem 1rem}.pending-child-item{border:1px solid #e5e7eb;border-radius:10px;background:#fff}.pending-child-item-content{display:grid;grid-template-columns:1fr auto;gap:.85rem;align-items:center;padding:.8rem .95rem}.pending-child-item-meta{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.pending-child-type-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.2rem .55rem;font-size:.73rem;font-weight:700;color:#0a5a64;background:#0a5a641f}.pending-child-main-text{font-size:.9rem;color:#1f2937;font-weight:600}.pending-child-secondary-text{margin-top:.28rem;font-size:.78rem;color:#6b7280}.pending-child-actions{display:flex;align-items:center;gap:.45rem}.pending-child-approve-btn,.pending-child-reject-btn,.pending-child-view-btn{border:none;border-radius:8px;padding:.45rem .75rem;font-size:.8rem;font-weight:700;cursor:pointer}.pending-child-approve-btn{background:#0a7d58;color:#fff}.pending-child-reject-btn{background:#dc2626;color:#fff}.pending-child-view-btn{background:#334155;color:#fff}.pending-child-approve-btn:disabled,.pending-child-reject-btn:disabled,.pending-child-view-btn:disabled{opacity:.55;cursor:not-allowed}.orders-header{background:#fff;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;margin-bottom:0}.orders-title{font-size:1.75rem;color:#1f2937;margin:0 0 1rem;font-weight:600;display:flex;align-items:center;gap:.5rem;letter-spacing:-.025em}.orders-title:before{content:"";width:4px;height:24px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));border-radius:2px;margin-right:.5rem}.orders-summary{display:flex;gap:1rem;margin-top:1rem;flex-wrap:wrap}.summary-item{background:#fff;padding:1.25rem 1.5rem;border-radius:8px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a;transition:all .15s ease;min-width:140px;position:relative;overflow:hidden}.summary-item:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid))}.summary-item:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026;border-color:#d1d5db}.summary-label{display:block;font-size:.75rem;color:#6b7280;text-transform:uppercase;font-weight:500;letter-spacing:.05em;margin-bottom:.75rem;line-height:1}.summary-value{display:block;font-size:1.75rem;font-weight:700;color:#111827;line-height:1;font-feature-settings:"tnum"}.search-filters-section{display:flex;gap:1rem;margin:0 1.5rem 1.5rem;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;align-items:center;flex-wrap:wrap}.search-container{position:relative;flex:2;min-width:250px}.search-container .search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);width:1rem;height:1rem;color:#9ca3af;pointer-events:none}.search-container .search-input{width:100%;padding:.75rem .875rem .75rem 2.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .15s ease;background:#fff}.search-container .search-input:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px #0a5a641a}.filter-container{flex:1;min-width:160px}.status-filter{width:100%;padding:.75rem .875rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;cursor:pointer;transition:all .15s ease}.status-filter:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px #0a5a641a}.no-orders{text-align:center;padding:4rem 2rem;background:linear-gradient(135deg,rgba(10,90,100,.02) 0%,transparent 100%);border-radius:12px;border:2px dashed rgba(10,90,100,.15);margin:2rem}.no-orders-icon{width:4rem;height:4rem;color:var(--theme-primary);opacity:.4;margin:0 auto 1.5rem;animation:iconFloat 3s ease-in-out infinite}@keyframes iconFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.no-orders h3{font-size:1.5rem;color:#1f2937;margin-bottom:.75rem;font-weight:600}.no-orders p{color:#6b7280;font-size:1rem;max-width:400px;margin:0 auto}.orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:1.5rem}.order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.order-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px #00000026;border-color:var(--theme-primary)}.order-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.order-id{font-weight:700;font-size:1.1rem;color:#111827}.order-status{color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600;text-transform:uppercase}.order-card-content{margin-bottom:1rem}.order-customer,.order-date,.order-total,.order-items{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.95rem;color:#374151}.order-icon{width:1rem;height:1rem;color:#6b7280}.order-card-footer{text-align:center;padding-top:1rem;border-top:1px solid #e5e7eb}.view-details{color:var(--theme-primary);font-size:.875rem;font-weight:600}.pricing-controls-section{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 2rem;background:linear-gradient(135deg,rgba(10,90,100,.03) 0%,transparent 100%);border-bottom:1px solid rgba(10,90,100,.1);gap:1rem;flex-wrap:wrap}.pricing-control-info{display:flex;align-items:center;gap:.5rem}.adjusted-orders-count{font-size:.875rem;color:#6b7280;font-weight:500}.pricing-toggle{display:flex;align-items:center}.toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-checkbox{appearance:none;width:44px;height:24px;background:#d1d5db;border-radius:12px;position:relative;cursor:pointer;transition:all .3s ease}.toggle-checkbox:before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;top:2px;left:2px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0003}.toggle-checkbox:checked{background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%)}.toggle-checkbox:checked:before{left:22px}.toggle-text{font-size:.875rem;color:#374151;font-weight:500}.orders-table-container{overflow-x:auto}.orders-table-wrapper{min-width:100%}.orders-table{width:100%;border-collapse:collapse;font-size:.875rem}.orders-table thead{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:2px solid rgba(10,90,100,.1)}.orders-table th{padding:1rem 1.5rem;text-align:left;font-weight:600;color:#374151;font-size:.8125rem;text-transform:uppercase;letter-spacing:.05em}.orders-table th.sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease}.orders-table th.sortable-header:hover{color:var(--theme-primary);background:#0a5a640d}.sort-indicator{margin-left:.25rem;color:var(--theme-primary)}.orders-table tbody tr{border-bottom:1px solid #e5e7eb;transition:all .2s ease}.orders-table tbody tr:hover{background:#0a5a6405}.orders-table tbody tr.has-pricing-adjustment{position:relative}.orders-table tbody tr.has-pricing-adjustment:before{position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%)}.orders-table td{padding:1rem 1.5rem;color:#1f2937}.customer-cell{font-weight:500}.status-cell .status-badge{display:inline-block;padding:.375rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;color:#fff;text-transform:capitalize}.date-cell{color:#6b7280;font-size:.8125rem}.total-cell{font-weight:600;color:#059669}.price-display{display:flex;align-items:center;gap:.5rem}.adjusted-price{color:var(--theme-primary)}.pricing-indicator{font-size:1rem;cursor:help}.items-cell{text-align:center}.actions-cell{text-align:right}.view-details-btn{padding:.5rem 1rem;background:linear-gradient(135deg,#0a5a641a,#0d70800d);color:var(--theme-primary);border:1px solid rgba(10,90,100,.2);border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .2s ease}.view-details-btn:hover{background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #0a5a6433}.pagination-container{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-top:1px solid rgba(10,90,100,.1);flex-wrap:wrap;gap:1rem}.pagination-info{font-size:.875rem;color:#6b7280;font-weight:500}.pagination-controls{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-btn.active{background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);border-color:var(--theme-primary);color:#fff}.page-numbers{display:flex;gap:.25rem;align-items:center}.pagination-ellipsis{padding:0 .5rem;color:#9ca3af}@media(max-width:768px){.dashboard-header-content{flex-direction:column;align-items:flex-start}.dashboard-header-actions{width:100%}.view-orders-button{width:100%;justify-content:center}.dashboard-info-banner{flex-direction:column}.info-item{min-width:100%}.pricing-controls-section,.pagination-container{flex-direction:column;align-items:flex-start}.pagination-controls{width:100%;justify-content:center}.orders-table{font-size:.75rem}.orders-table th,.orders-table td{padding:.75rem 1rem}}@media(prefers-reduced-motion:reduce){.dashboard-container,.dashboard-header-card,.dashboard-icon-wrapper,.view-orders-button,.dashboard-info-banner,.orders-section,.no-orders-icon,.info-item,.orders-table tbody tr,.view-details-btn,.pagination-btn,.toggle-checkbox:before{animation:none!important;transition-duration:.05s!important}.dashboard-header-card:before{animation:none!important}.view-orders-button:hover,.info-item:hover,.view-details-btn:hover,.orders-table tbody tr:hover{transform:none!important}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.order-modal{max-width:1330px;width:90vw;max-height:90vh;overflow-y:auto;background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;border-radius:12px 12px 0 0}.modal-header-actions{display:flex;align-items:center;gap:.75rem}.save-order-btn{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.save-order-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-primary-mid),var(--theme-primary-light));transform:translateY(-1px);box-shadow:0 4px 8px #0a5a6433}.save-order-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.save-order-btn svg{width:16px;height:16px}.modal-title{font-size:1.5rem;font-weight:700;color:#111827;margin:0}.close-button{background:none;border:none;cursor:pointer;color:#6b7280;padding:.5rem;border-radius:6px;transition:all .2s ease}.close-button:hover{background:#e5e7eb;color:#374151}.close-button svg{width:1.5rem;height:1.5rem}.modal-body{padding:1.5rem}.order-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.order-details-grid>.detail-section{min-width:0}.detail-section{background:#f9fafb;padding:1.25rem;border-radius:8px;border:1px solid #e5e7eb}.detail-section h3{font-size:1.1rem;font-weight:600;color:#111827;margin:0 0 1rem;border-bottom:2px solid var(--theme-primary);padding-bottom:.5rem}.detail-item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;padding:.5rem 0}.detail-item:last-child{margin-bottom:0}.detail-label{flex:0 0 120px;font-weight:600;color:#374151;font-size:.9rem}.detail-value{flex:1 1 auto;min-width:0;color:#111827;font-size:.9rem;text-align:right;max-width:60%;word-break:break-word}.detail-item .detail-input,.detail-item .detail-select{flex:1 1 auto;width:100%;min-width:0;max-width:100%}.detail-item .detail-select{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-item .detail-select.detail-select-warehouse{max-width:420px}.status-badge{color:#fff!important;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.order-items-table{background:#fff;border-radius:8px;border:1px solid #e5e7eb;overflow:hidden}.order-items-table th{background:#f3f4f6;color:#374151;font-weight:600;padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb;font-size:.9rem}.order-items-table td{padding:.75rem;border-bottom:1px solid #f3f4f6;font-size:.9rem;color:#374151}.order-items-table tr:last-child td{border-bottom:none}.order-total-section{padding:1rem;background:#f9fafb;border-top:1px solid #e5e7eb;text-align:right;font-size:1.1rem;color:var(--theme-primary)}.remarks-content{background:#fff;padding:1rem;border-radius:6px;border:1px solid #e5e7eb;color:#374151;line-height:1.6;font-size:.95rem}.status-modal-overlay{z-index:2100!important}.status-modal{max-width:500px;width:90vw}.status-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#374151;font-size:.875rem}.form-select{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;color:#374151;transition:all .2s ease}.form-select:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px #0a5a641a}.form-textarea{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;color:#374151;resize:vertical;transition:all .2s ease;font-family:inherit}.form-textarea:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px #0a5a641a}.btn-cancel{background:#f9fafb;color:#6b7280;border:1px solid #d1d5db;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-cancel:hover:not(:disabled){background:#f3f4f6;color:#374151;border-color:#9ca3af}.btn-submit{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.btn-submit:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-primary-mid),var(--theme-primary-light));transform:translateY(-1px);box-shadow:0 4px 8px #0a5a6433}.btn-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}.loading-spinner.small{width:16px;height:16px;border-width:2px}.changes-modal{max-width:1500px;width:95vw;max-height:90vh;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px #00000040}.changes-modal .modal-header{background:linear-gradient(135deg,#fef3c7,#fed7aa);border-bottom:3px solid #f59e0b;padding:1.5rem;position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.changes-modal .modal-title{color:#92400e;display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:700}.modal-header-actions{display:flex;align-items:center;gap:1rem}.view-order-btn{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border:none;padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 6px -1px #3b82f633}.view-order-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 10px 15px -3px #3b82f64d}.view-order-btn:active{transform:translateY(0)}.comparison-overview{padding:2rem}.comparison-header{margin-bottom:2rem;text-align:center;border-bottom:3px solid #e5e7eb;padding-bottom:1.5rem;background:linear-gradient(to bottom,#f9fafb,transparent);border-radius:12px 12px 0 0;padding:1.5rem}.comparison-header h3{display:flex;align-items:center;justify-content:center;gap:.75rem;font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.75rem}.comparison-icon{color:#059669;filter:drop-shadow(0 2px 4px rgba(5,150,105,.2))}.comparison-description{color:#6b7280;font-size:1rem;font-weight:500}.order-comparison{margin-bottom:2rem}.comparison-columns{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:start}.comparison-column{background:linear-gradient(to bottom,#fff,#f9fafb);border-radius:12px;padding:1.5rem;border:2px solid #e5e7eb;box-shadow:0 4px 6px -1px #0000000d;transition:all .3s ease}.comparison-column:hover{box-shadow:0 10px 15px -3px #0000001a;transform:translateY(-2px)}.comparison-column.current-order{border-left:5px solid #059669;background:linear-gradient(to bottom,#ecfdf5,#f9fafb)}.comparison-column.incoming-order{border-left:5px solid #f59e0b;background:linear-gradient(to bottom,#fffbeb,#f9fafb)}.column-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #d1d5db}.column-header h4{font-size:1.125rem;font-weight:700;color:#374151;margin:0}.version-badge{padding:.375rem 1rem;border-radius:9999px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;box-shadow:0 2px 4px #0000001a}.version-badge.current{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.version-badge.incoming{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.comparison-separator{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem 0}.comparison-separator.vertical{flex-direction:row;padding:0 1rem}.separator-line{width:3px;height:60px;background:linear-gradient(to bottom,#e5e7eb,#9ca3af,#e5e7eb);border-radius:9999px}.separator-line.vertical{width:60px;height:3px;background:linear-gradient(to right,#e5e7eb,#9ca3af,#e5e7eb);border-radius:9999px}.separator-icon{background:linear-gradient(135deg,#fff,#f3f4f6);border:3px solid #d1d5db;border-radius:50%;padding:.625rem;color:#6b7280;box-shadow:0 4px 6px -1px #0000001a}.column-action-btn{min-width:220px;padding:.875rem 1.5rem;font-size:.9375rem;font-weight:600;box-shadow:0 4px 6px -1px #0000001a;transition:all .3s ease}.column-action-btn:hover:not(:disabled){box-shadow:0 10px 15px -3px #0003;transform:translateY(-3px)}.detail-section{margin-bottom:1.75rem}.detail-section h5{font-size:.9375rem;font-weight:700;color:#374151;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;gap:.5rem}.detail-section h5:before{content:"";width:4px;height:20px;background:linear-gradient(to bottom,var(--theme-primary),var(--theme-primary-mid));border-radius:9999px}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;margin-bottom:.625rem;background:#fff;border-radius:8px;border:2px solid #e5e7eb;position:relative;transition:all .2s ease}.detail-item:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.detail-item.field-changed{background:linear-gradient(135deg,#fef3c7,#fffbeb);border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{box-shadow:0 0 0 3px #f59e0b1a}50%{box-shadow:0 0 0 5px #f59e0b26}}.detail-label{font-weight:600;color:#6b7280;font-size:.875rem}.detail-value{font-weight:700;color:#374151;text-align:right;font-size:.9375rem}.change-indicator{position:absolute;right:-10px;top:50%;transform:translateY(-50%);color:#f59e0b;font-size:1.125rem;font-weight:700;background:#fff;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:3px solid #f59e0b;box-shadow:0 2px 4px #f59e0b4d;animation:bounce 2s ease-in-out infinite}@keyframes bounce{0%,to{transform:translateY(-50%) scale(1)}50%{transform:translateY(-50%) scale(1.1)}}.order-lines-comparison{margin:1.5rem 0;padding:1.75rem;background:linear-gradient(to bottom,#f8fafc,#fff);border-radius:12px;border:2px solid #e2e8f0;box-shadow:0 4px 6px -1px #0000000d}.order-lines-comparison h4{font-size:1.125rem;font-weight:700;color:#374151;margin-bottom:1.25rem;text-align:center;display:flex;align-items:center;justify-content:center;gap:.5rem}.order-lines-comparison h5{font-size:.9375rem;font-weight:700;color:#374151;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.order-items-table{background:#fff;border-radius:10px;border:2px solid #e5e7eb;overflow:hidden;box-shadow:0 2px 4px #0000000d}.order-items-table.table-changed{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.order-items-table table{width:100%;border-collapse:collapse}.order-items-table th{background:linear-gradient(to bottom,#f9fafb,#f3f4f6);padding:1rem .875rem;text-align:left;font-weight:700;color:#374151;font-size:.875rem;border-bottom:2px solid #e5e7eb}.order-items-table td{padding:.875rem;border-bottom:1px solid #f3f4f6;color:#374151;font-size:.875rem}.order-items-table tbody tr:hover{background:#f9fafb}.order-items-table th{background:#f9fafb;padding:.75rem;text-align:left;font-weight:600;color:#374151;font-size:.875rem;border-bottom:1px solid #e5e7eb}.order-items-table td{padding:.75rem;border-bottom:1px solid #f3f4f6;color:#374151;font-size:.875rem}.order-items-table tbody tr:last-child td{border-bottom:none}.changes-summary{margin-top:2rem;padding:1.75rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;border-left:5px solid #0ea5e9;box-shadow:0 4px 6px -1px #0ea5e91a}.changes-summary h4{display:flex;align-items:center;gap:.625rem;font-size:1.0625rem;font-weight:700;color:#0c4a6e;margin-bottom:1.25rem}.changes-summary .changes-icon{color:#0ea5e9;filter:drop-shadow(0 2px 4px rgba(14,165,233,.2))}.field-changes-list{display:flex;flex-direction:column;gap:.625rem}.field-change-item{padding:.875rem 1rem;background:#fff;border-radius:8px;border-left:4px solid #0ea5e9;box-shadow:0 2px 4px #00000014;transition:all .2s ease}.field-change-item:hover{box-shadow:0 4px 6px #0000001f;transform:translate(4px)}.change-description{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;color:#374151;word-break:break-word;line-height:1.6}.comparison-actions{margin-top:2rem;padding-top:1.5rem;border-top:2px solid #e5e7eb}.action-note{margin-bottom:1.5rem;padding:1.25rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:10px;border-left:5px solid #3b82f6;box-shadow:0 4px 6px -1px #3b82f61a}.action-note p{margin:0;color:#1e40af;font-size:.9375rem;font-weight:500;line-height:1.6}.action-note strong{font-weight:700;color:#1e3a8a}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:#e5e7eb;color:#1f2937;border-color:#9ca3af}.btn-neutral{background:#6b7280;color:#fff;border:1px solid #6b7280;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.btn-neutral:hover{background:#4b5563;border-color:#4b5563;transform:translateY(-1px);box-shadow:0 2px 4px #6b728033}.btn-success{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.btn-success:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 4px 8px #10b98133}.btn-success:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.btn-warning{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.btn-warning:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px);box-shadow:0 4px 8px #f59e0b33}.btn-warning:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}@media(max-width:1024px){.changes-modal{width:98vw;max-height:95vh;border-radius:12px}.comparison-columns{grid-template-columns:1fr;gap:1.5rem}.comparison-separator{display:none}.comparison-column.current-order{order:1}.comparison-column.incoming-order{order:2}.comparison-column.incoming-order:before{content:"↓ INCOMING CHANGES ↓";display:block;text-align:center;font-weight:700;color:#f59e0b;margin-bottom:1rem;padding:.625rem;background:linear-gradient(135deg,#fef3c7,#fffbeb);border-radius:8px;font-size:.9375rem;letter-spacing:.05em;box-shadow:0 2px 4px #f59e0b33}.column-action-btn{width:100%;min-width:auto}}@media(max-width:768px){.changes-modal{width:100vw;height:100vh;max-height:100vh;border-radius:0;overflow:hidden}.comparison-overview{padding:1rem}.comparison-header{padding:1rem;margin-bottom:1.5rem}.comparison-header h3{font-size:1.25rem}.detail-item{flex-direction:column;align-items:flex-start;gap:.375rem;padding:.75rem}.detail-value{text-align:left;font-size:.875rem}.detail-label{font-size:.8125rem}.change-indicator{position:relative;right:auto;top:auto;transform:none;margin-left:auto}.order-lines-comparison{padding:1rem}.order-lines-comparison h4{font-size:.9375rem}.order-items-table{overflow-x:auto}.order-items-table table{font-size:.8125rem}.order-items-table th,.order-items-table td{padding:.5rem;white-space:nowrap}.changes-summary{padding:1rem;margin-top:1.5rem}.changes-summary h4{font-size:.9375rem}.field-change-item{padding:.625rem}.change-description{font-size:.8125rem}}.orders-table-container{margin-top:1rem;background:#fff;border-radius:12px;box-shadow:0 8px 25px #0000001a;border:1px solid #e5e7eb;overflow:hidden;position:relative}.orders-table-wrapper{overflow-x:auto;overflow-y:auto;max-height:65vh;scrollbar-width:thin;scrollbar-color:#cbd5e0 #f7fafc}.orders-table-wrapper::-webkit-scrollbar{width:8px;height:8px}.orders-table-wrapper::-webkit-scrollbar-track{background:#f7fafc;border-radius:4px}.orders-table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}.orders-table-wrapper::-webkit-scrollbar-thumb:hover{background:#a0aec0}.orders-table{width:100%;border-collapse:collapse;background:#fff;min-width:1000px}.orders-table thead{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));position:sticky;top:0;z-index:10}.orders-table th{padding:.75rem .625rem;text-align:left;font-weight:500;color:#fff;border-bottom:none;font-size:.8125rem;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap;line-height:1.2}.orders-table th.sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;transition:background-color .2s ease}.orders-table th.sortable-header:hover{background:#ffffff1a}.sort-indicator{margin-left:.5rem;font-size:.875rem;color:#f0f9ff}.clear-filters-btn{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important}.clear-filters-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c)!important}.orders-table td{padding:.75rem .625rem;border-bottom:1px solid #f3f4f6;color:#374151;font-size:.875rem;vertical-align:middle}.order-row{transition:background-color .15s ease}.order-row:hover{background-color:#f8fafc}.order-row.new-order{background-color:#dcfdf4;border-left:4px solid #10b981}.order-row.new-order:hover{background-color:#bbf7d0}.order-row.existing-with-changes{background-color:#fef3c7;border-left:4px solid #f59e0b}.order-row.existing-with-changes:hover{background-color:#fed7aa}.order-row.existing-skipped{background-color:#f3f4f6;border-left:4px solid #6b7280}.order-row.existing-skipped:hover{background-color:#e5e7eb}.order-legend{margin-bottom:1rem;padding:1rem;background-color:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.legend-title{margin:0 0 .75rem;font-size:.875rem;font-weight:600;color:#374151}.legend-items{display:flex;flex-wrap:wrap;gap:1rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#374151}.legend-color{width:16px;height:16px;border-radius:3px;border-left:3px solid}.legend-color.new-order{background-color:#dcfdf4;border-left-color:#10b981}.legend-color.existing-with-changes{background-color:#fef3c7;border-left-color:#f59e0b}.legend-color.existing-skipped{background-color:#f3f4f6;border-left-color:#6b7280}.order-id-cell{font-weight:600;color:var(--theme-primary)}.order-id-hint{color:#9ca3af;font-size:.85em;font-weight:400}.customer-cell{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-cell{text-align:center}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.025em}.date-cell{white-space:nowrap;font-size:.85rem}.total-cell{font-weight:600;color:#059669;text-align:right}.items-cell{text-align:center;color:#6b7280}.branch-cell{color:#6b7280}.actions-cell{text-align:center}.view-details-btn{background:linear-gradient(to right,var(--theme-primary),var(--theme-primary-mid));color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.view-details-btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px #00000026}.pagination-container{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-top:1px solid #e5e7eb;margin-top:0;min-height:4rem;flex-wrap:wrap;gap:1rem}.pagination-info{color:#4a5568;font-size:clamp(.8rem,2.5vw,.95rem);font-weight:500;display:flex;align-items:center;gap:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.pagination-info:before{content:"📊";font-size:clamp(1rem,3vw,1.1rem);flex-shrink:0}.pagination-controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:center;min-width:0}.page-numbers{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:center}.pagination-ellipsis{color:#6b7280;padding:0 .5rem;font-weight:500;flex-shrink:0}.pagination-btn{background:linear-gradient(135deg,#2d3748,#2d3748);border:2px solid #e2e8f0;color:#fff;padding:.6rem 1.2rem;border-radius:8px;font-size:clamp(.75rem,2vw,.875rem);font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0000000d;display:flex;align-items:center;gap:.5rem;min-width:fit-content;text-align:center;white-space:nowrap;flex-shrink:0}.pagination-btn.page-number.active{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border-color:var(--theme-primary);box-shadow:0 4px 8px #0a5a644d}.pagination-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border-color:var(--theme-primary);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.pagination-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.clear-filters-btn{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important;border-color:#dc2626!important}.clear-filters-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c)!important;border-color:#b91c1c!important}.pagination-current{font-weight:600;color:var(--theme-primary);font-size:.95rem;background:#0a5a641a;padding:.5rem 1rem;border-radius:6px;border:1px solid rgba(10,90,100,.2)}@media(max-width:768px){.dashboard-container{padding:0}.dashboard-title{font-size:2rem}.orders-header{flex-direction:column;gap:1rem;align-items:flex-start}.orders-summary{flex-direction:row;gap:1rem}.orders-table-container{overflow-x:auto;border-radius:8px}.orders-table{min-width:800px}.orders-table th,.orders-table td{padding:.75rem .5rem;font-size:.8rem}.pagination-container{padding:.75rem 1rem;flex-direction:column;gap:.75rem;min-height:auto;align-items:center}.pagination-info{order:2;font-size:clamp(.7rem,3vw,.85rem);text-align:center;max-width:100%}.pagination-controls{order:1;gap:.5rem;flex-wrap:wrap;justify-content:center;width:100%}.page-numbers{gap:.25rem;flex-wrap:wrap;justify-content:center}.customer-cell{max-width:120px}.orders-grid,.order-details-grid{grid-template-columns:1fr}.detail-item{flex-direction:column;align-items:flex-start;gap:.25rem}.detail-value{text-align:left;max-width:100%}.order-modal{width:95vw;margin:1rem}}.sidebar{width:280px;background:linear-gradient(180deg,#1f2937,#111827);color:#fff;display:flex;flex-direction:column;box-shadow:4px 0 10px #0000001a;transition:width .3s ease-in-out;overflow:hidden;flex-shrink:0;border-right:1px solid #374151}.sidebar-collapsed{width:80px}.sidebar-header{padding:1.5rem 1rem;border-bottom:1px solid #374151;display:flex;align-items:center;justify-content:space-between;min-height:80px}.sidebar-collapsed .sidebar-header{justify-content:center;padding:1.5rem .5rem}.sidebar-logo{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.sidebar-logo-icon{width:32px;height:32px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-logo-icon svg{width:18px;height:18px;color:#fff}.sidebar-logo-text{display:flex;flex-direction:column;min-width:0}.sidebar-logo-title{font-size:1.25rem;font-weight:700;color:#fff;line-height:1.2;white-space:nowrap;letter-spacing:-.025em}.sidebar-logo-subtitle{font-size:.8rem;color:#cbd5e1;line-height:1;white-space:nowrap;font-weight:500;letter-spacing:.025em}.sidebar-toggle{background:#ffffff1a;border:none;color:#fff;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0;padding:0;margin:0}.sidebar-toggle:hover{background:#fff3;transform:scale(1.05)}.sidebar-toggle svg{width:16px;height:16px;transition:transform .3s ease;stroke:currentColor;fill:none;stroke-width:2;display:block}.sidebar-toggle svg.rotate-180{transform:rotate(180deg)}.toggle-fallback{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:14px;font-weight:700;z-index:1;color:#fff}.rotate-180{transform:rotate(180deg)}.transition-transform{transition:transform .3s ease}.sidebar-nav{flex:1;padding:1rem 0;overflow-y:auto}.sidebar-nav-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.sidebar-nav-item{margin:0}.sidebar-nav-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;color:#d1d5db;text-decoration:none;transition:all .2s ease;margin:0 .75rem;border-radius:8px;position:relative;font-size:.875rem;font-weight:500;background:none;border:none;cursor:pointer;width:calc(100% - 1.5rem);text-align:left}.sidebar-nav-link:hover{background:#ffffff1a;color:#fff;transform:translate(4px)}.sidebar-nav-link.active{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));color:#fff;box-shadow:0 4px 12px #0003}.sidebar-nav-link.active:hover{transform:translate(2px);background:linear-gradient(135deg,var(--theme-primary-mid),var(--theme-primary-dark))}.sidebar-nav-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-nav-icon svg{width:20px;height:20px;fill:currentColor}.sidebar-nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.sidebar-footer{padding:1rem;border-top:1px solid #374151;margin-top:auto}.sidebar-user-info{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#ffffff0d;border-radius:8px}.sidebar-user-avatar{width:32px;height:32px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-user-avatar svg{width:18px;height:18px;color:#fff}.sidebar-user-details{flex:1;min-width:0}.sidebar-user-name{font-size:.875rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-role{font-size:.75rem;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-collapsed .sidebar-nav-link{justify-content:center;margin:0 .5rem;padding:.875rem .5rem;width:calc(100% - 1rem)}.sidebar-collapsed .sidebar-nav-link:hover{transform:none;background:#ffffff1a}.sidebar-collapsed .sidebar-nav-link.active:hover{transform:none}@media(max-width:768px){.sidebar{position:fixed;left:0;top:0;height:100vh;z-index:1000;transform:translate(-100%);transition:transform .3s ease-in-out}.sidebar.sidebar-open{transform:translate(0)}.sidebar-collapsed{width:280px;transform:translate(-100%)}.app-body,.main-content{margin-left:0}}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.sidebar-nav-link{position:relative;overflow:hidden}.sidebar-nav-link:before{content:"";position:absolute;left:0;top:0;height:100%;width:3px;background:var(--theme-primary-light);transform:scaleY(0);transition:transform .2s ease}.sidebar-nav-link.active:before{transform:scaleY(1)}.sidebar-collapsed .sidebar-nav-link{position:relative}.sidebar-collapsed .sidebar-nav-link:hover:after{content:attr(title);position:absolute;left:100%;top:50%;transform:translateY(-50%);background:#1f2937;color:#fff;padding:.5rem .75rem;border-radius:6px;font-size:.875rem;white-space:nowrap;z-index:1000;margin-left:.5rem;box-shadow:0 4px 12px #00000026;border:1px solid #374151}.view-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.25rem;color:#6b7280;background:#f9fafb;border-radius:8px;margin:2rem;border:2px dashed #d1d5db}.orders-container{padding:1.5rem;height:100%;background:#f8fafc}.orders-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;background:linear-gradient(135deg,#fff,#f8fafc);padding:1.5rem 2rem;border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid #e5e7eb}.orders-header h2{margin:0;font-size:1.75rem;font-weight:700;color:#1f2937;background:linear-gradient(135deg,#1f2937,#374151);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.orders-actions{display:flex;align-items:center;gap:1.25rem}.orders-count{font-size:.875rem;color:#6b7280;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);padding:.375rem .875rem;border-radius:9999px;border:1px solid #d1d5db;font-weight:600}.refresh-button{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;border:none;border-radius:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.refresh-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.refresh-button:active{transform:translateY(0);box-shadow:0 2px 4px #3b82f633}.refresh-button svg{width:1.125rem;height:1.125rem;stroke-width:2;fill:none;stroke:currentColor;display:block}.order-stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem;animation:statsSlideIn .6s ease-out}@keyframes statsSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.stat-card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid #e5e7eb;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;display:flex;align-items:center;gap:1rem;animation:statCardSlideIn .5s ease-out both}@keyframes statCardSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.stat-card:nth-child(1){animation-delay:.1s}.stat-card:nth-child(2){animation-delay:.2s}.stat-card:nth-child(3){animation-delay:.3s}.stat-card:nth-child(4){animation-delay:.4s}.stat-card:nth-child(5){animation-delay:.5s}.stat-card:nth-child(6){animation-delay:.6s}.stat-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,transparent,currentColor,transparent);opacity:0;transition:opacity .3s ease}.stat-card:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.stat-card:hover:before{opacity:1;animation:shimmerStat 2s linear infinite}@keyframes shimmerStat{0%{transform:translate(-100%)}to{transform:translate(100%)}}.stat-icon-wrapper{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .3s ease}.stat-card:hover .stat-icon-wrapper{transform:rotate(10deg) scale(1.1)}.stat-icon{width:24px;height:24px}.stat-content{flex:1}.stat-label{font-size:.875rem;font-weight:500;color:#6b7280;margin-bottom:.25rem}.stat-value{font-size:1.875rem;font-weight:700;line-height:1}.stat-card-total{color:var(--theme-primary);border-left:4px solid var(--theme-primary)}.stat-icon-total{background:linear-gradient(135deg,#0a5a641a,#0d70800d);color:var(--theme-primary);box-shadow:0 0 20px #0a5a641a}.stat-card-total:hover{box-shadow:0 20px 25px -5px #0a5a6426,0 10px 10px -5px #0a5a641a}.stat-card-preparing{color:#f59e0b;border-left:4px solid #f59e0b}.stat-icon-preparing{background:linear-gradient(135deg,#f59e0b1a,#f59e0b0d);color:#f59e0b;box-shadow:0 0 20px #f59e0b1a}.stat-card-preparing:hover{box-shadow:0 20px 25px -5px #f59e0b26,0 10px 10px -5px #f59e0b1a}.stat-card-processing{color:#3b82f6;border-left:4px solid #3b82f6}.stat-icon-processing{background:linear-gradient(135deg,#3b82f61a,#3b82f60d);color:#3b82f6;box-shadow:0 0 20px #3b82f61a}.stat-card-processing:hover{box-shadow:0 20px 25px -5px #3b82f626,0 10px 10px -5px #3b82f61a}.stat-card-delivery{color:#f6da56;border-left:4px solid #f6da56}.stat-card-out{color:#6f9d5b;border-left:4px solid #6f9d5b}.stat-icon-out{background:linear-gradient(135deg,#8b5cf61a,#8b5cf60d);color:#6f9d5b;box-shadow:0 0 20px #8b5cf61a}.stat-icon-delivery{background:linear-gradient(135deg,#8b5cf61a,#8b5cf60d);color:#f6da56;box-shadow:0 0 20px #8b5cf61a}.stat-card-delivery:hover{box-shadow:0 20px 25px -5px #8b5cf626,0 10px 10px -5px #8b5cf61a}.stat-card-delivered{color:#10b981;border-left:4px solid #10b981}.stat-icon-delivered{background:linear-gradient(135deg,#10b9811a,#10b9810d);color:#10b981;box-shadow:0 0 20px #10b9811a}.stat-card-delivered:hover{box-shadow:0 20px 25px -5px #10b98126,0 10px 10px -5px #10b9811a}.stat-card-cancelled{color:#ef4444;border-left:4px solid #ef4444}.stat-icon-cancelled{background:linear-gradient(135deg,#ef44441a,#ef44440d);color:#ef4444;box-shadow:0 0 20px #ef44441a}.stat-card-cancelled:hover{box-shadow:0 20px 25px -5px #ef444426,0 10px 10px -5px #ef44441a}@media(max-width:1024px){.order-stats-container{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.order-stats-container{grid-template-columns:repeat(2,1fr);gap:.75rem}.stat-card{padding:1rem}.stat-icon-wrapper{width:40px;height:40px}.stat-icon{width:20px;height:20px}.stat-value{font-size:1.5rem}.stat-label{font-size:.8rem}}@media(max-width:480px){.order-stats-container{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.order-stats-container,.stat-card,.stat-icon-wrapper,.stat-card:before{animation:none!important}.stat-card:hover,.stat-card:hover .stat-icon-wrapper{transform:none!important}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.loading-spinner{width:2rem;height:2rem;border:3px solid #f3f4f6;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.error-container{background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;padding:2rem}.error-message{display:flex;align-items:center;gap:.75rem;color:#dc2626;font-size:.875rem}.error-message svg{width:1.25rem;height:1.25rem;flex-shrink:0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;text-align:center}.empty-state svg{width:3rem;height:3rem;color:#9ca3af;margin-bottom:1rem}.empty-state h3{font-size:1.125rem;font-weight:600;color:#374151;margin:0 0 .5rem}.empty-state p{color:#6b7280;margin:0}.orders-table-container{background:#fff;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;overflow:hidden;border:1px solid #e5e7eb}.orders-table{width:100%;border-collapse:collapse}.orders-table th{background:linear-gradient(135deg,#1f2937,#374151);color:#fff;font-weight:600;font-size:.875rem;text-align:left;padding:1rem;border-bottom:1px solid #e5e7eb;text-transform:uppercase;letter-spacing:.025em}.orders-table td{padding:1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem;vertical-align:middle;background:#fff}.order-row{transition:background-color .2s ease}.order-row:hover,.order-row:hover td{background:#f8fafc!important}.order-row:last-child td{border-bottom:none}.order-id{font-weight:600;color:#3b82f6;font-family:Monaco,Menlo,monospace}.customer-name{color:#1f2937;font-weight:500}.order-date,.delivery-date{color:#6b7280;font-size:.8125rem}.order-total{font-weight:600;color:#059669;text-align:right}.order-branch{color:#6b7280}.status-badge{display:inline-flex;align-items:center;padding:.375rem .875rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:capitalize;letter-spacing:.025em;border:1px solid transparent}.status-preparing{background:#f59e0b;color:#f59e0b;border-color:#f59e0b}.status-processing{background:#3e86ce;color:#3e86ce;border-color:#3e86ce}.status-out-for-delivery{background:#f6da56;color:#f6da56;border-color:#f6da56}.status-ready-for-delivery{background:#6f9d5b;color:#6f9d5b;border-color:#6f9d5b}.status-delivered{background:#06963d;color:#06963d;border-color:#06963d}.status-cancelled{background:#c40a0a;color:#c40a0a;border-color:#c40a0a}.status-default{background:#427bb4;color:#374151;border-color:#d1d5db}.order-actions{display:flex;gap:.5rem;justify-content:center}.action-button{display:flex;align-items:center;justify-content:center;height:2.25rem;border:1px solid #374151;border-radius:.375rem;background:#f8fafc;color:#374151;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a;position:relative;overflow:visible}.action-button:hover{background:#e2e8f0;border-color:#1e293b;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.action-button svg{width:2rem;height:1.125rem;stroke-width:2;fill:none;stroke:currentColor;display:block;position:relative;z-index:2}.button-fallback{font-size:1.125rem;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.view-button{background:rgba(var(--theme-primary-rgb, 10, 90, 100),.1);color:var(--theme-primary-dark);border-color:var(--theme-primary)}.view-button svg{color:var(--theme-primary-dark);stroke:var(--theme-primary-dark)}.view-button:hover{background:rgba(var(--theme-primary-rgb, 10, 90, 100),.2);color:#1d4ed8;border-color:#2563eb}.view-button:hover svg{color:#1d4ed8;stroke:#1d4ed8}.edit-button{background:#dcfce7;color:#166534;border-color:#22c55e}.edit-button svg{color:#166534;stroke:#166534}.edit-button:hover{background:#bbf7d0;color:#14532d;border-color:#16a34a}.edit-button:hover svg{color:#14532d;stroke:#14532d}.pricing-button{background:#fef3c7;color:#92400e;border-color:#f59e0b}.pricing-button:hover{background:#fcd34d;color:#92400e;border-color:#d97706}.pricing-button:hover svg{color:#92400e;stroke:#92400e}.view-button:focus{outline:none;box-shadow:0 0 0 3px #3b82f64d}.edit-button:focus{outline:none;box-shadow:0 0 0 3px #22c55e4d}.pricing-button:focus{outline:none;box-shadow:0 0 0 3px #f59e0b4d}@media(max-width:768px){.orders-container{padding:1rem}.orders-header{flex-direction:column;gap:1rem;align-items:stretch}.orders-actions{justify-content:space-between}.orders-table-container{overflow-x:auto}.orders-table{min-width:800px}}.modal-overlay{position:fixed;inset:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:1rem;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000080;border:1px solid #e5e7eb;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e5e7eb;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:1rem 1rem 0 0}.modal-header h3{margin:0;font-size:1.375rem;font-weight:700;color:#1f2937}.modal-close{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid #d1d5db;background:#fff;color:#6b7280;cursor:pointer;border-radius:.5rem;transition:all .2s ease;box-shadow:0 1px 3px #0000001a;position:relative;overflow:visible}.modal-close:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5;transform:scale(1.05)}.modal-close svg{width:1.25rem;height:1.25rem;stroke-width:2;fill:none;stroke:currentColor;display:block;position:relative;z-index:2}.modal-close .button-fallback{font-size:1.25rem;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.modal-body{padding:2rem}.order-summary-banner{background:linear-gradient(160deg,#fff,#f8fafc 55%,#eef2f7);border:1px solid #dbe4ee;border-radius:.9rem;padding:1rem 1.25rem;margin-bottom:1.25rem;box-shadow:0 6px 14px #0f172a14}.order-summary-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.order-summary-order{display:flex;flex-direction:column;gap:.35rem}.order-summary-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#64748b}.order-summary-number{font-size:1.55rem;font-weight:800;color:#0f172a;line-height:1.1}.order-summary-meta{display:flex;flex-wrap:wrap;gap:.75rem;color:#334155;font-size:.9rem}.order-summary-total-block{min-width:260px;text-align:right}.order-summary-total-value{font-size:1.35rem;font-weight:800;color:#0f766e}.order-summary-chip-row{margin-top:.9rem;display:flex;flex-wrap:wrap;gap:.55rem}.order-summary-chip{display:inline-flex;align-items:center;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#1e293b;padding:.32rem .7rem;font-size:.86rem;font-weight:700}.order-summary-chip.status-chip{background:#e0f2fe;border-color:#7dd3fc;color:#075985}.integration-readiness-banner{margin-top:.9rem;border-radius:.7rem;padding:.65rem .8rem;display:flex;align-items:flex-start;gap:.65rem;border:1px solid transparent}.integration-readiness-banner.ready{background:#ecfdf5;border-color:#86efac;color:#166534}.integration-readiness-banner.not-ready{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.integration-readiness-icon{width:1.25rem;height:1.25rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;background:#fffc}.integration-readiness-note{font-size:.9rem;margin-top:.1rem}.order-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:2rem}.order-info-grid-two-column{grid-template-columns:repeat(2,minmax(280px,1fr))}.info-section{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:.75rem;padding:1.5rem;border:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.info-section h4{margin:0 0 1rem;font-size:1.22rem;font-weight:700;color:#1e293b;border-bottom:2px solid #cbd5e1;padding-bottom:.5rem}.info-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:1rem;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.info-row:last-child{margin-bottom:0;border-bottom:none}.info-label{font-weight:600;color:#475569;flex-shrink:0;min-width:140px;font-size:.98rem}.info-labels{color:#1e293b;word-break:break-word;font-weight:500}.info-value{color:#1e293b;text-align:right;word-break:break-word;font-weight:500;font-size:1rem}.info-value.total-amount{font-weight:700;color:#059669;font-size:1.125rem;background:#ecfdf5;padding:.25rem .5rem;border-radius:.375rem;border:1px solid #a7f3d0}.info-value.field-changed{background:#fef3c7;padding:.25rem .5rem;border-radius:.375rem;border:1px solid #f59e0b;box-shadow:0 0 0 2px #f59e0b1a;color:#b45309;font-weight:600}.order-lines-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.order-lines-section h4{margin:0 0 1rem;font-size:1.125rem;font-weight:600;color:#374151;display:flex;align-items:center;gap:.5rem}.order-lines-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.order-lines-header h4{margin:0}.edit-input{padding:.5rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;width:100%;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.edit-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.table-input{min-width:100px;padding:.375rem .5rem;font-size:.8rem}.equivalent-quantity{text-align:center}.actions{text-align:center;width:80px}.product-search-container{position:relative;width:100%}.product-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #d1d5db;border-top:none;border-radius:0 0 .375rem .375rem;box-shadow:0 8px 25px #00000026;max-height:200px;overflow-y:auto;z-index:9999}.product-option{padding:.5rem .75rem;cursor:pointer;border-bottom:1px solid #f3f4f6;font-size:.875rem;transition:background-color .15s ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-option:hover{background-color:#f9fafb}.product-option:last-child{border-bottom:none}.product-loading{padding:.5rem .75rem;font-size:.75rem;color:#6b7280;font-style:italic}.order-lines-table td.product-name{position:relative;overflow:visible}.order-lines-table-container{background:#fff;border-radius:.75rem;border:2px solid #e5e7eb;overflow:visible;box-shadow:0 4px 6px -1px #0000001a}.order-lines-table{width:100%;border-collapse:collapse}.order-lines-table th{background:linear-gradient(135deg,#374151,#1f2937);color:#fff;font-weight:600;font-size:.875rem;text-align:left;padding:1rem .75rem;border-bottom:1px solid #e5e7eb;text-transform:uppercase;letter-spacing:.025em}.order-lines-table td{padding:.875rem .75rem;border-bottom:1px solid #f1f5f9;font-size:.875rem;vertical-align:middle;background:#fff}.order-lines-table tbody tr:hover,.order-lines-table tbody tr:hover td{background:#f8fafc!important}.order-lines-table tbody tr:last-child td{border-bottom:none}.line-detail-toggle-cell{text-align:center}.line-detail-toggle{border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:.45rem;padding:.25rem .6rem;font-size:.75rem;font-weight:700;cursor:pointer}.line-detail-toggle:hover{background:#e2e8f0}.order-line-details-row td{background:#f8fafc!important;padding:.6rem .75rem}.order-line-details-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;font-size:.82rem;color:#334155}.product-name{font-weight:600;color:#1e293b}.quantity{text-align:center;font-weight:600;color:#475569;background:#f1f5f9;border-radius:.375rem;padding:.25rem .5rem}.unit-price,.total-price{text-align:right;font-weight:600;color:#059669}.line-status{text-align:center}.no-order-lines{text-align:center;padding:2rem;color:#6b7280;background:#f9fafb;border-radius:.75rem;border:2px dashed #d1d5db}.remarks-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.remarks-section h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#374151}.remarks-text{background:#f9fafb;padding:1rem;border-radius:.5rem;border-left:4px solid #3b82f6;color:#374151;line-height:1.5;margin:0}@media(max-width:768px){.modal-header{padding:1rem 1.5rem}.modal-body{padding:1.5rem}.order-info-grid{grid-template-columns:1fr;gap:1rem}.order-summary-header-row{flex-direction:column}.order-summary-total-block{min-width:auto;width:100%;text-align:left}.order-line-details-content{grid-template-columns:1fr}.info-section{padding:1rem}.info-row{flex-direction:column;gap:.25rem}.info-label{min-width:auto}.info-value{text-align:left}.order-lines-table-container{overflow-x:auto}.order-lines-table{min-width:600px}}.sidebar-logout-button{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fca5a5;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0;padding:0}.sidebar-logout-button:hover{background:#fff3;color:#ef4444;transform:scale(1.05);border-color:#ffffff4d}.sidebar-logout-button svg{width:16px;height:16px;stroke-width:2}@media screen and (min-resolution:144dpi)and (max-resolution:191dpi){.pagination-container{padding:1rem;gap:.75rem}}@media screen and (min-resolution:192dpi){.pagination-container{flex-direction:column;align-items:center;padding:.75rem;gap:.5rem}.pagination-info{order:2;text-align:center;font-size:.8rem}.pagination-controls{order:1;flex-wrap:wrap;justify-content:center;gap:.5rem}.page-numbers{flex-wrap:wrap;justify-content:center;gap:.3rem}}@supports (container-type: inline-size){.pagination-container{container-type:inline-size}@container (max-width: 600px){.pagination-controls{flex-wrap:wrap;gap:.5rem}.page-numbers{flex-wrap:wrap;gap:.25rem}.pagination-btn{font-size:.75rem;padding:.4rem .7rem}}}@media(max-width:480px){.pagination-container{padding:.5rem;gap:.5rem}.pagination-info{font-size:.7rem;order:2}.pagination-controls{order:1;width:100%;justify-content:center}.pagination-btn{font-size:.7rem;padding:.3rem .6rem;min-height:2rem}.pagination-btn.page-number{min-width:2rem;min-height:2rem;padding:.3rem .4rem}}.branch-selector-section{position:relative}.branch-selector-button{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:linear-gradient(135deg,#ffffff26,#ffffff0d);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-size:.8rem;font-weight:500;min-width:180px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 4px 12px #0000001a,0 0 20px #ffffff0d;position:relative;overflow:hidden}.branch-selector-button:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.1) 0%,transparent 100%);opacity:0;transition:opacity .3s ease}.branch-selector-button:hover:before{opacity:1}.branch-selector-button:hover{background:linear-gradient(135deg,#ffffff40,#ffffff26);border-color:#fff6;transform:translateY(-3px) scale(1.02);box-shadow:0 12px 24px #0003,0 0 40px #ffffff26}.branch-selector-button:active{transform:translateY(-1px) scale(.98)}.branch-selector-content{display:flex;align-items:center;gap:8px;flex:1}.branch-icon-container{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#fff3;border-radius:8px;color:#fffffff2;transition:all .3s ease;box-shadow:0 2px 8px #0000001a}.branch-selector-button:hover .branch-icon-container{background:#ffffff4d;transform:rotate(15deg) scale(1.1);box-shadow:0 4px 12px #00000026}.branch-icon-container svg{transition:transform .3s ease}.branch-selector-button:hover .branch-icon-container svg{transform:scale(1.1);filter:drop-shadow(0 0 8px rgba(255,255,255,.5))}.branch-text-container{display:flex;flex-direction:column;align-items:flex-start;gap:1px;flex:1}.branch-label{font-size:.75rem;color:#ffffffb3;font-weight:400;text-transform:uppercase;letter-spacing:.5px}.branch-name{font-size:.875rem;font-weight:600;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chevron{transition:all .4s cubic-bezier(.4,0,.2,1);stroke:#fffc;margin-left:8px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.branch-selector-button:hover .chevron{stroke:#fff;filter:drop-shadow(0 2px 8px rgba(255,255,255,.3))}.chevron.rotated{transform:rotate(180deg)}.branch-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:340px;background:#fff;border:1px solid rgba(102,126,234,.1);border-radius:16px;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #0000000d,0 0 40px #0a5a641a;z-index:1000;overflow:hidden;animation:dropdownSlideIn .4s cubic-bezier(.34,1.56,.64,1)}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.branch-dropdown-header{padding:16px 20px;border-bottom:1px solid #f3f4f6;background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;align-items:center;justify-content:space-between}.dropdown-header-content{display:flex;align-items:center;gap:10px}.dropdown-header-content svg{color:#3b82f6}.branch-dropdown-header h3{margin:0;font-size:.925rem;font-weight:600;color:#1f2937}.branch-count{font-size:.75rem;color:#6b7280;background:#f3f4f6;padding:4px 8px;border-radius:12px;font-weight:500}.branch-list{max-height:280px;overflow-y:auto}.branch-item{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border-bottom:1px solid #f9fafb;position:relative}.branch-item:before{content:"";position:absolute;left:0;top:0;width:0;height:100%;background:linear-gradient(90deg,rgba(10,90,100,.1) 0%,transparent 100%);transition:width .3s ease}.branch-item:hover:before{width:100%}.branch-item:last-child{border-bottom:none}.branch-item:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);transform:translate(8px);box-shadow:0 4px 12px #0000000d}.branch-item.selected{background:linear-gradient(135deg,#0a5a641a,#0d70800d);border-left:4px solid var(--theme-primary);padding-left:16px;box-shadow:inset 0 0 20px #0a5a640d}.branch-item.selected:after{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:linear-gradient(180deg,var(--theme-primary) 0%,var(--theme-primary-mid) 100%);box-shadow:0 0 10px #0a5a6480}.branch-item.selected:hover{background:linear-gradient(135deg,#0a5a6426,#0d70801a);transform:none}.branch-item.disabled{cursor:not-allowed;opacity:.6;color:#9ca3af}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px;color:#6b7280}.empty-state svg{color:#9ca3af}.branch-info{display:flex;flex-direction:column;gap:4px;flex:1}.branch-item-header{display:flex;align-items:center;gap:8px}.branch-item-name{font-weight:600;color:#111827;font-size:.875rem}.selected-badge{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;padding:2px 8px;border-radius:12px;font-size:.675rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.branch-item-description{font-size:.75rem;color:#6b7280;line-height:1.4;margin-top:2px}.branch-info-section{position:relative;margin-right:16px}.branch-info-display{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:linear-gradient(135deg,#ffffff1f,#ffffff0a);color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:8px;font-size:.8rem;font-weight:500;min-width:180px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 4px #00000014;cursor:default;opacity:.95}.branch-info-display .branch-icon-container{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#ffffff1f;border-radius:6px;color:#ffffffd9;margin-right:8px}.branch-info-display .branch-text-container{display:flex;flex-direction:column;align-items:flex-start;gap:1px;flex:1}.branch-info-display .branch-label{font-size:.75rem;color:#ffffffa6;font-weight:400;text-transform:uppercase;letter-spacing:.5px}.branch-info-display .branch-name{font-size:.875rem;font-weight:600;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fffffff2}.branch-location{font-size:.7rem;color:#fff9;font-weight:400;font-style:italic;margin-top:1px}.branch-lock-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:8px;color:#ffffff80;cursor:help;transition:all .2s ease}.branch-lock-icon:hover{color:#fffc;transform:scale(1.1)}.branch-lock-icon svg{width:14px;height:14px}@media(max-width:768px){.branch-info-section{margin-right:8px}.branch-info-display{min-width:140px;padding:4px 8px}.branch-info-display .branch-name{max-width:100px;font-size:.8rem}.branch-info-display .branch-label{font-size:.7rem}.branch-location{font-size:.65rem}}.branches-container,.pricing-schema-container{padding:24px;margin:0 auto}.branches-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.branches-title h1{font-size:1.875rem;font-weight:700;color:#111827;margin:0}.branches-subtitle{font-size:.875rem;color:#6b7280;margin:4px 0 0}.branches-actions{display:flex;align-items:center;gap:12px}.refresh-button{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;transition:all .15s ease;font-size:.875rem;font-weight:500}.refresh-button:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.refresh-button svg{width:16px;height:16px}.branches-search{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.branches-count{font-size:.875rem;color:#6b7280;font-weight:500}.error-container{display:flex;justify-content:center;align-items:center;padding:60px 20px}.error-message{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;max-width:400px}.error-message svg{width:48px;height:48px;color:#ef4444}.error-message p{font-size:1rem;color:#374151;margin:0}.retry-button{padding:8px 16px;background:var(--theme-primary);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background-color .15s ease}.retry-button:hover{background:var(--theme-primary-mid)}.loading-container{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:60px}.pricing-schemas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:16px;margin-top:20px}.pricing-schema-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:all .15s ease;display:flex;flex-direction:column}.pricing-schema-card:hover{box-shadow:0 4px 6px #0000001a;border-color:#d1d5db}.pricing-schema-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #f3f4f6;background:#f9fafb}.pricing-schema-card .card-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937}.pricing-schema-card .card-actions{display:flex;gap:8px}.pricing-schema-card .card-content{padding:20px;flex:1}.pricing-schema-card .schema-info{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.pricing-schema-card .info-item{display:flex;align-items:center;gap:8px}.pricing-schema-card .info-item .label{font-size:.875rem;font-weight:500;color:#6b7280;min-width:120px}.pricing-schema-card .info-item .value{font-size:.875rem;color:#1f2937;font-weight:500}.pricing-schema-card .badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:500;text-transform:capitalize}.pricing-schema-card .badge.all{background:#dbeafe;color:#1e40af}.pricing-schema-card .badge.custom{background:#f3e8ff;color:#7c3aed}.pricing-schema-card .badge.fixed{background:#dcfce7;color:#166534}.pricing-schema-card .badge.percentage{background:#fed7aa;color:#c2410c}.pricing-schema-card .badge.mixed{background:#fef3c7;color:#92400e}.pricing-schema-card .schema-items{border-top:1px solid #f3f4f6;padding-top:16px}.pricing-schema-card .schema-items h4{margin:0 0 12px;font-size:.9rem;font-weight:600;color:#374151}.pricing-schema-card .items-list{display:flex;flex-direction:column;gap:8px}.pricing-schema-card .item-summary{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f9fafb;border-radius:6px;border:1px solid #f3f4f6}.pricing-schema-card .item-name{font-size:.8rem;color:#1f2937;font-weight:500}.pricing-schema-card .item-adjustment{font-size:.75rem;color:#059669;font-weight:600}.pricing-schema-card .items-more{text-align:center;font-size:.75rem;color:#6b7280;font-style:italic;padding:8px}.pricing-schema-card .card-footer{padding:16px 20px;border-top:1px solid #f3f4f6;background:#f9fafb}.pricing-schema-card .metadata{display:flex;justify-content:space-between;align-items:center}.pricing-schema-card .metadata small{font-size:.75rem;color:#6b7280}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#6b7280}.empty-state p{margin:0 0 16px;font-size:1rem}.custom-toast{background:#fff;border-radius:8px;box-shadow:0 10px 25px #00000026;max-width:400px;overflow:hidden;display:flex;transition:all .3s ease}.custom-toast.error{border-left:4px solid #ef4444}.custom-toast.success{border-left:4px solid #10b981}.toast-enter{transform:translateY(0);opacity:1}.toast-leave{transform:translateY(-100%);opacity:0}.toast-content{flex:1;padding:16px}.toast-header{display:flex;align-items:flex-start;gap:12px}.toast-icon{font-size:16px;margin-top:2px}.toast-text{flex:1}.toast-title{font-size:.875rem;font-weight:600;color:#111827;margin:0 0 4px}.toast-message{font-size:.875rem;color:#6b7280;margin:0;line-height:1.4}.toast-close{display:flex;align-items:flex-start;padding:8px}.toast-close-btn{background:none;border:none;cursor:pointer;font-size:14px;color:#9ca3af;padding:4px;line-height:1;transition:color .15s ease}.toast-close-btn:hover{color:#6b7280}.search-input-container{position:relative;max-width:400px}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#9ca3af;pointer-events:none}.search-input{width:100%;padding:10px 12px 10px 40px;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;transition:border-color .15s ease}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.branches-content{min-height:400px}.loading-spinner{display:flex;align-items:center;justify-content:center}.spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.empty-icon{width:48px;height:48px;color:#9ca3af;margin-bottom:16px}.empty-title{font-size:1.125rem;font-weight:600;color:#374151;margin:0 0 8px}.empty-description{font-size:.875rem;color:#6b7280;margin:0;max-width:400px}.branches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.branch-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:all .15s ease;box-shadow:0 1px 3px #0000001a}.branch-card:hover{box-shadow:0 4px 12px #00000026;border-color:#d1d5db}.branch-card-header{display:flex;justify-content:between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.branch-name{font-size:1.125rem;font-weight:600;margin:0;flex:1}.branch-actions{display:flex;gap:8px;margin-left:auto}.btn-icon{display:flex;align-items:center;justify-content:center;border:none;border-radius:6px;cursor:pointer;transition:all .15s ease}.btn-icon svg{width:16px;height:16px}.btn-edit{background:#eff6ff;color:#3b82f6}.btn-edit:hover{background:#dbeafe;color:#2563eb}.btn-delete{background:#fef2f2;color:#ef4444}.btn-delete:hover{background:#fee2e2;color:#dc2626}.btn-icon:disabled{opacity:.5;cursor:not-allowed}.branch-card-body{padding:20px}.branch-description{font-size:.875rem;color:#6b7280;margin:0 0 16px;line-height:1.5}.branch-meta{display:flex;flex-direction:column;gap:8px}.branch-meta-item{display:flex;justify-content:space-between;align-items:center}.meta-label{font-size:.75rem;font-weight:500;color:#9ca3af}.meta-value{font-size:.75rem;color:#4b5563}.btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease;text-decoration:none}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn:disabled{opacity:.6;cursor:not-allowed}.btn svg{width:16px;height:16px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px}.modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px #00000040;max-width:500px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:none;cursor:pointer;border-radius:6px;transition:background-color .15s ease;color:#6b7280}.modal-close:hover{background:#f3f4f6;color:#374151}.modal-close svg{width:18px;height:18px}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.form-group{margin-bottom:20px}.form-label{display:block;margin-bottom:6px;font-size:.875rem;font-weight:500;color:#374151}.required{color:#ef4444}.form-input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .15s ease}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input.error{border-color:#ef4444}.form-textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;resize:vertical;min-height:80px;font-family:inherit;transition:border-color .15s ease}.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.error-message{display:block;margin-top:4px;font-size:.75rem;color:#ef4444}@media(max-width:768px){.branches-container,.pricing-schema-container{padding:16px}.branches-header{flex-direction:column;align-items:flex-start;gap:16px}.branches-grid{grid-template-columns:1fr}.branch-selector-button{padding:6px 10px;font-size:.8rem}.branch-name{max-width:80px}.branch-dropdown{min-width:240px}}.action-buttons-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-status-indicator{padding:2px 6px;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.order-status-indicator.new{background-color:#10b981;color:#fff}.order-status-indicator.updated{background-color:#f59e0b;color:#fff}.compare-button{background-color:#8b5cf6!important}.compare-button:hover{background-color:#7c3aed!important;transform:scale(1.05)}.order-row.has-update{background-color:#fef3c7;border-left:4px solid #f59e0b}.order-row.has-update:hover{background-color:#fde68a}.order-number-container{display:flex;align-items:center;gap:.5rem}.version-update-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;background-color:#f59e0b;color:#fff;border-radius:50%;font-size:.7rem;animation:pulse-indicator 2s infinite}@keyframes pulse-indicator{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.comparison-modal{max-width:600px;width:90%}.comparison-content{padding:20px 0}.version-info{background-color:#f3f4f6;padding:15px;border-radius:8px;margin-bottom:20px;border-left:4px solid #3b82f6}.version-info p{margin:0;font-size:.95rem;color:#374151}.changes-summary{margin-bottom:25px}.changes-summary h4{color:#374151;margin-bottom:12px;font-size:1.1rem}.changes-summary ul{list-style-type:none;margin:0;background-color:#fef3c7;border-radius:6px;padding:15px}.changes-summary li{padding:5px 0;border-bottom:1px solid #f59e0b;color:#92400e;font-family:monospace;font-size:.9rem}.changes-summary li:last-child{border-bottom:none}.comparison-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.comparison-actions .btn{padding:10px 20px;border-radius:6px;border:none;font-weight:500;cursor:pointer;transition:all .2s;text-transform:none;font-size:.95rem}.comparison-actions .btn-warning{background-color:#f59e0b;color:#fff}.comparison-actions .btn-warning:hover{background-color:#d97706}.comparison-actions .btn-secondary{background-color:#6b7280;color:#fff}.comparison-actions .btn-secondary:hover{background-color:#4b5563}.comparison-actions .btn-cancel{background-color:#e5e7eb;color:#374151}.comparison-actions .btn-cancel:hover{background-color:#d1d5db}@media(max-width:768px){.action-buttons-group{gap:4px}.order-status-indicator{font-size:.65rem;padding:1px 4px}.comparison-modal{max-width:95%}.comparison-actions{flex-direction:column}.comparison-actions .btn{width:100%}}.bulk-orders-modal{max-width:90vw;width:1200px;max-height:90vh}.bulk-orders-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-bottom:20px}.bulk-orders-summary p{margin:0 0 8px;color:#475569}.bulk-orders-summary p:last-child{margin:0}.bulk-orders-table{max-height:500px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px}.bulk-orders-table table{width:100%;border-collapse:collapse;font-size:.875rem}.bulk-orders-table thead{background:#f1f5f9;position:sticky;top:0;z-index:10}.bulk-orders-table th{padding:12px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e2e8f0}.bulk-order-row{border-bottom:1px solid #e2e8f0;transition:background-color .2s ease}.bulk-order-row:hover{background-color:#f8fafc}.bulk-order-row td{padding:12px;color:#4b5563}.bulk-order-actions{display:flex;gap:8px;align-items:center}.bulk-order-actions .view-details-btn{background:#3b82f6;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background-color .2s ease}.bulk-order-actions .view-details-btn:hover{background:#2563eb}.bulk-order-actions .save-order-btn.quick{background:#059669;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background-color .2s ease}.bulk-order-actions .save-order-btn.quick:hover{background:#047857}.bulk-order-actions .save-order-btn.quick:disabled{background:#9ca3af;cursor:not-allowed}@media(max-width:768px){.bulk-orders-modal{max-width:95vw;width:95vw}.bulk-orders-table{font-size:.75rem}.bulk-orders-table th,.bulk-order-row td{padding:8px 6px}.bulk-order-actions{flex-direction:column;gap:4px}.bulk-order-actions .view-details-btn,.bulk-order-actions .save-order-btn.quick{font-size:.7rem;padding:4px 8px}}.modal-actions{display:flex;align-items:center;gap:12px}.order-details-actions{flex-wrap:wrap;justify-content:flex-end}.order-header-more{position:relative}.order-header-more>summary{list-style:none}.order-header-more>summary::-webkit-details-marker{display:none}.order-header-more-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:200px;z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px;box-shadow:0 10px 25px #0000001f;display:flex;flex-direction:column;gap:8px}.order-header-more-menu .btn,.order-header-more-menu .mobile-button{width:100%;justify-content:flex-start}.integration-modal{max-width:700px;width:90vw}.integration-modal .modal-body{padding:20px}.modal-subtitle{margin-bottom:20px;color:#666;font-size:14px;line-height:1.4}.integration-loading{display:flex;flex-direction:column;align-items:center;padding:40px 20px;color:#666}.integration-loading .loading-spinner{width:32px;height:32px;border:3px solid #f3f3f3;border-top:3px solid var(--theme-primary);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:12px}.integration-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto}.integration-item-selectable{display:flex;align-items:center;justify-content:space-between;padding:16px;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#fff}.integration-item-selectable:hover{border-color:var(--theme-primary);background:#f8fffe;transform:translateY(-2px);box-shadow:0 4px 12px #0a5a641a}.integration-info h4{margin:0 0 4px;font-size:16px;font-weight:600;color:#333}.integration-endpoint{margin:4px 0;font-size:13px;color:#666;font-family:monospace;background:#f5f5f5;padding:2px 6px;border-radius:4px;display:inline-block}.integration-method{display:inline-block;padding:2px 8px;background:var(--theme-primary);color:#fff;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.integration-arrow{color:var(--theme-primary);opacity:.7;transition:opacity .2s ease}.integration-item-selectable:hover .integration-arrow{opacity:1}.no-integrations{display:flex;flex-direction:column;align-items:center;padding:40px 20px;text-align:center;color:#666}.no-integrations svg{margin-bottom:16px;opacity:.5}.no-integrations h4{margin:0 0 8px;font-size:18px;color:#333}.no-integrations p{margin:0;font-size:14px}.login-modal{max-width:500px;width:90vw}.login-modal .modal-body{padding:20px}.login-form{display:flex;flex-direction:column;gap:16px}.login-form .form-group{display:flex;flex-direction:column;gap:6px}.login-form .form-group label{font-weight:600;color:#333;font-size:14px}.login-form .form-group input{padding:10px 30px;border:2px solid #e0e0e0;border-radius:6px;font-size:14px;transition:border-color .2s ease}.login-form .form-group input:focus{outline:none;border-color:var(--theme-primary)}.btn-cancel{padding:10px 20px;border:2px solid #e0e0e0;background:#fff;color:#666;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-cancel:hover:not(:disabled){border-color:#ccc;background:#f5f5f5}.btn-submit{padding:10px 20px;border:2px solid var(--theme-primary);background:var(--theme-primary);color:#fff;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.btn-submit:hover:not(:disabled){background:var(--theme-primary-mid);border-color:var(--theme-primary-mid)}.btn-submit:disabled{opacity:.6;cursor:not-allowed}.loading-spinner.small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pricing-schema-modal{width:90vw;max-width:600px}.pricing-schema-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto}.pricing-schema-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#f9fafb}.pricing-schema-item:hover{border-color:#d1d5db;background:#f3f4f6}.pricing-schema-item.selected{border-color:#3b82f6;background:#eff6ff}.pricing-schema-info{flex:1}.pricing-schema-info h4{margin:0 0 8px;font-size:1.1rem;font-weight:600;color:#1f2937}.pricing-schema-description{margin:0 0 8px;font-size:.875rem;color:#6b7280;line-height:1.4}.pricing-schema-details{display:flex;gap:12px;align-items:center}.pricing-schema-type{padding:4px 8px;background:#e0e7ff;color:#3730a3;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.pricing-schema-adjustment{padding:4px 8px;background:#fef3c7;color:#92400e;border-radius:4px;font-size:.75rem;font-weight:600}.pricing-schema-radio{display:flex;align-items:center}.pricing-schema-radio input[type=radio]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.no-pricing-schemas{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:#6b7280}.no-pricing-schemas svg{margin-bottom:16px;opacity:.6}.no-pricing-schemas h4{margin:0 0 8px;font-size:1.125rem;font-weight:600;color:#374151}.no-pricing-schemas p{margin:0;font-size:.875rem}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.pricing-schema-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-top:12px}.pricing-schema-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.pricing-schema-header h4{margin:0;color:#1e40af;font-size:1.1rem;font-weight:600}.pricing-schema-controls{display:flex;gap:8px}.pricing-schema-name{font-weight:600;color:#1e40af}.pricing-schema-compact-content{display:flex;justify-content:space-between;align-items:center;gap:12px}.schema-details{display:flex;align-items:center;gap:8px;flex:1}.schema-separator{color:#6b7280;font-weight:400}.schema-type{padding:2px 8px;background:#dbeafe;border-radius:12px;font-size:.75rem;font-weight:500;color:#1e40af}.schema-adjustment{font-size:.875rem;color:#059669;font-weight:500}.pricing-schema-actions{display:flex;gap:6px;align-items:center}.btn-icon{height:32px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:all .2s ease}.btn-icon:hover{background:#f3f4f6;border-color:#9ca3af}.btn-icon.active{background:#dbeafe;border-color:#3b82f6}.btn-icon.remove-schema{border-color:#fca5a5;color:#dc2626}.btn-icon.remove-schema:hover{background:#fef2f2;border-color:#dc2626}.pricing-note-compact .info-value.pricing-note-text-compact{font-style:italic;color:#6b7280}.pricing-schema-compact .info-label{min-width:160px}.pricing-schema-status-note{margin-top:16px;padding:12px 16px;background:#f0f9ff;border:1px solid #0ea5e9;border-radius:8px}.status-note-content{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#0c4a6e}.status-note-content svg{flex-shrink:0;color:#0ea5e9}.status-note-content strong{color:#0c4a6e}.price-comparison{display:flex;flex-direction:column;gap:2px}.adjusted-price{font-weight:600;color:#059669;font-size:1.05em}.original-price{font-size:.85em;color:#6b7280;text-decoration:line-through}.original-price:before{content:"Original: ";font-style:italic}.pricing-schema-section .loading-spinner.small{width:14px;height:14px;border-width:2px}.btn-outline-primary{background:transparent;border:1px solid #3b82f6;color:#3b82f6}.btn-outline-primary:hover{background:#3b82f6;color:#fff}.order-lines-table .unit-price .price-comparison{min-width:120px}@media(max-width:768px){.pricing-schema-header{flex-direction:column;gap:12px;align-items:flex-start}.pricing-schema-controls{width:100%;justify-content:flex-start}.price-comparison{font-size:.9em}}.view-map-icon-button{width:32px;height:32px;border:none;border-radius:50%;background:#2563eb;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease,transform .15s ease}.view-map-icon-button:hover{background:#1d4ed8}.view-map-icon-button:active{transform:scale(.95)}:root{--breakpoint-mobile: 0px;--breakpoint-tablet: 768px;--breakpoint-desktop: 1024px;--breakpoint-wide: 1440px;--mobile-touch-target: 44px;--mobile-spacing: 16px;--mobile-padding: 12px;--desktop-spacing: 24px;--desktop-padding: 20px}body{font-size:16px;line-height:1.5;-webkit-tap-highlight-color:rgba(0,0,0,.1);touch-action:manipulation}*{transition-property:none}.app-container{min-height:100vh;min-height:-webkit-fill-available}@media(max-width:767px){.app-body{flex-direction:column;height:calc(100vh - 160px)}.main-content{width:100%;padding:var(--mobile-padding);padding-bottom:80px;overflow-y:auto;-webkit-overflow-scrolling:touch}.sidebar{display:none!important}.mobile-bottom-nav{display:flex!important;position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -4px 20px #0000001a;z-index:1000;padding:8px 0;border-top:2px solid var(--theme-primary)}.app-header{padding:var(--mobile-padding);min-height:60px}.header-content{padding:8px var(--mobile-padding)!important}.header-top-row{flex-wrap:wrap;gap:8px}.logo-container{width:40px;height:40px}.logo-image{width:86px!important;height:86px!important}.welcome-message{font-size:1rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}button,.btn,a[role=button]{min-height:var(--mobile-touch-target);min-width:var(--mobile-touch-target);padding:12px 20px;font-size:16px}.order-card,.info-section,.detail-section{margin-bottom:var(--mobile-spacing)}.modal-overlay{padding:0}.modal-content{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0;margin:0}.order-modal{width:100%;height:100vh;max-width:100%;max-height:100vh;border-radius:0}.users-table,.orders-table{display:none}.mobile-card-view{display:block!important}input,select,textarea{min-height:var(--mobile-touch-target);font-size:16px;padding:12px 16px}.pagination-container{flex-direction:column;gap:12px;padding:var(--mobile-padding)}.pagination-controls{width:100%;justify-content:center}.page-numbers .pagination-btn:not(.active):not(:first-child):not(:last-child){display:none}.dashboard-container{padding:var(--mobile-padding)}.dashboard-header-card{border-radius:12px}.dashboard-header-content{padding:var(--mobile-padding);flex-direction:column;align-items:stretch}.dashboard-title{font-size:1.5rem}.view-orders-button{width:100%;justify-content:center}.dashboard-info-banner{flex-direction:column;padding:var(--mobile-padding);gap:8px}.info-item{min-width:100%}.search-filters-section{flex-direction:column;align-items:stretch;gap:8px;padding:var(--mobile-padding)}.search-container,.filter-container{min-width:100%}.notification-dropdown{width:calc(100vw - 64px);max-width:360px;right:16px;left:auto;max-height:60vh}.branch-dropdown{width:calc(100vw - 64px);max-width:120px}.settings-layout{flex-direction:column;gap:var(--mobile-spacing)}.settings-sidebar{width:100%;max-height:40vh}.form-row{grid-template-columns:1fr;gap:12px}.order-details-grid,.order-info-grid{grid-template-columns:1fr;gap:var(--mobile-spacing)}.branch-role-badge,.status-badge{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}}@media(min-width:768px)and (max-width:1023px){.sidebar{width:80px}.sidebar-logo-text,.sidebar-nav-label{display:none}.main-content{padding:var(--mobile-padding)}.order-details-grid,.orders-grid{grid-template-columns:repeat(2,1fr)}.mobile-bottom-nav{display:none}}@media(min-width:1024px){.app-body{flex-direction:row}.sidebar{display:flex!important;width:260px;flex-shrink:0}.sidebar-collapsed{width:80px}.mobile-bottom-nav{display:none!important}.main-content{padding:var(--desktop-padding);overflow-y:auto}.order-details-grid,.order-info-grid{grid-template-columns:repeat(3,1fr)}.orders-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.users-table,.orders-table{display:table}.mobile-card-view{display:none!important}.form-row{grid-template-columns:repeat(2,1fr)}.modal-content{max-width:800px;max-height:90vh;border-radius:12px}.order-modal{max-width:1330px;width:90vw;max-height:90vh;border-radius:12px}.settings-layout{flex-direction:row}.settings-sidebar{width:350px;max-height:calc(100vh - 200px)}.dashboard-title{font-size:2rem}.welcome-message{font-size:1.2rem}.pagination-container{flex-direction:row}.page-numbers .pagination-btn{display:flex}}@media(min-width:1440px){.dashboard-container{max-width:fullscreen;margin:0 auto}.orders-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.main-content{padding:32px 48px}}.mobile-bottom-nav{display:none;height:70px;background:#fff;border-top:2px solid var(--theme-primary);box-shadow:0 -4px 20px #0000001a;position:fixed;bottom:0;left:0;right:0;z-index:1000}.mobile-nav{height:100%}.mobile-nav-list{display:flex;justify-content:space-around;align-items:center;height:100%;padding:0;margin:0;list-style:none}.mobile-nav-item{flex:1;display:flex;align-items:center;justify-content:center}.mobile-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 12px;color:#6b7280;text-decoration:none;transition:all .2s ease;border-radius:8px;min-width:60px;min-height:var(--mobile-touch-target);background:none;border:none;cursor:pointer;font-family:inherit;width:100%}.mobile-nav-link:active{background:#0a5a641a;transform:scale(.95)}.mobile-nav-link.active{color:var(--theme-primary);background:#0a5a640d;font-weight:600}.mobile-nav-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.mobile-nav-icon svg{width:100%;height:100%;fill:currentColor}.mobile-nav-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.025em;text-align:center}.mobile-card-view{display:none}.mobile-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:12px;box-shadow:0 2px 4px #0000000d;transition:all .2s ease}.mobile-table-card:active{transform:scale(.98);box-shadow:0 4px 8px #0000001a}.mobile-card-header{margin-top:90px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.mobile-card-title{font-weight:700;font-size:1.1rem;color:var(--theme-primary)}.mobile-card-body{display:flex;flex-direction:column;gap:8px}.mobile-card-row{display:flex;justify-content:space-between;align-items:flex-start;padding:6px 0}.mobile-card-label{font-weight:600;color:#6b7280;font-size:.875rem;min-width:100px}.mobile-card-value{color:#1f2937;font-size:.875rem;text-align:right;flex:1;word-break:break-word}.mobile-card-actions{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb}.mobile-card-actions .btn{flex:1;justify-content:center}@media(hover:none)and (pointer:coarse){button:active,.btn:active,a:active{opacity:.7;transform:scale(.98)}button,.btn,a,input[type=checkbox],input[type=radio]{min-height:var(--mobile-touch-target);min-width:var(--mobile-touch-target)}button,.btn{-webkit-user-select:none;user-select:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:767px)and (orientation:landscape){.app-header{min-height:50px}.header-content{padding:4px var(--mobile-padding)!important}.mobile-bottom-nav{height:55px}.mobile-nav-label{display:none}.app-body{height:calc(100vh - 110px)}}@media(prefers-contrast:high){button,.btn{border:2px solid currentColor}.mobile-nav-link.active{border:2px solid var(--theme-primary)}}@media print{.sidebar,.mobile-bottom-nav,.app-header,button,.btn{display:none!important}.main-content{width:100%;padding:0}.order-card,.mobile-table-card{page-break-inside:avoid}}:root{--mobile-touch-target: 44px;--mobile-spacing: 16px;--mobile-padding: 12px;--mobile-header-height: 60px;--mobile-bottom-nav-height: 64px;--mobile-card-radius: 12px}@media(max-width:768px){.app-container{width:100%;min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg-secondary);overflow-x:hidden}.app-header{position:sticky;top:0;left:0;right:0;height:var(--mobile-header-height);background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));box-shadow:var(--shadow-md);z-index:var(--z-sticky);padding:var(--space-3) var(--mobile-spacing)}.header-content{display:flex;align-items:center;justify-content:space-between;height:100%;gap:var(--space-3)}.mobile-header-left{display:flex;align-items:center;gap:var(--space-3)}.mobile-header-center{flex:1;text-align:center}.mobile-header-right{display:flex;align-items:center;gap:var(--space-2)}.mobile-logo{width:60px;height:60px;border-radius:var(--radius-md)}.mobile-page-title{font-size:var(--text-lg);font-weight:var(--font-semibold);color:var(--theme-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-header-button{width:var(--mobile-touch-target);height:var(--mobile-touch-target);display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:#ffffff26;color:var(--text-inverse);transition:var(--transition-colors);cursor:pointer}.mobile-header-button:active{background:#ffffff40;transform:scale(.95)}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--mobile-bottom-nav-height);background:var(--bg-primary);border-top:1px solid var(--border-light);box-shadow:0 -4px 12px #0000001a;display:flex;align-items:center;justify-content:space-around;padding:var(--space-2) var(--space-4);z-index:var(--z-fixed);safe-area-inset-bottom:env(safe-area-inset-bottom)}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-1);min-width:64px;padding:var(--space-2);border-radius:var(--radius-lg);cursor:pointer;transition:var(--transition-colors);-webkit-tap-highlight-color:transparent}.mobile-nav-item:active{transform:scale(.95)}.mobile-nav-icon{width:24px;height:24px;color:var(--text-secondary);transition:var(--transition-colors)}.mobile-nav-label{font-size:var(--text-xs);font-weight:var(--font-medium);color:var(--text-secondary);transition:var(--transition-colors)}.mobile-nav-item.active .mobile-nav-icon{color:var(--theme-primary)}.mobile-nav-item.active .mobile-nav-label{color:var(--theme-primary);font-weight:var(--font-semibold)}.mobile-nav-item.active{background:rgba(var(--theme-primary-rgb),.1)}.mobile-fab{position:fixed;bottom:calc(var(--mobile-bottom-nav-height) + var(--space-4));right:var(--space-4);width:56px;height:56px;border-radius:var(--radius-full);background:var(--theme-primary);color:var(--text-inverse);box-shadow:var(--shadow-lg);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:var(--z-fixed);transition:var(--transition-base)}.mobile-fab:active{transform:scale(.95);box-shadow:var(--shadow-md)}.app-body{flex:1;display:flex;flex-direction:column;padding-bottom:var(--mobile-bottom-nav-height)}.main-content{flex:1;width:100%;padding:var(--mobile-spacing);overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:var(--space-6)}.sidebar{display:none!important}.mobile-card{background:var(--bg-primary);border-radius:var(--mobile-card-radius);padding:var(--mobile-spacing);margin-bottom:var(--mobile-spacing);box-shadow:var(--shadow-sm);transition:var(--transition-base)}.mobile-card:active{transform:scale(.98);box-shadow:var(--shadow-md)}.mobile-card-active{border:2px solid var(--theme-primary);box-shadow:var(--shadow-md);background:rgba(var(--theme-primary-rgb, 59, 130, 246),.05)}.mobile-card-title{font-size:var(--text-lg);font-weight:var(--font-semibold);color:var(--text-primary)}.mobile-card-body{display:flex;flex-direction:column;gap:var(--space-3)}.mobile-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border-light)}.mobile-card-full{margin-left:calc(-1 * var(--mobile-spacing));margin-right:calc(-1 * var(--mobile-spacing));border-radius:0}.mobile-list{display:flex;flex-direction:column;gap:var(--space-2)}.mobile-list-item{background:var(--bg-primary);border-radius:var(--radius-lg);padding:var(--mobile-padding);display:flex;align-items:center;gap:var(--space-3);min-height:var(--mobile-touch-target);box-shadow:var(--shadow-sm);cursor:pointer;transition:var(--transition-base)}.mobile-list-item:active{transform:translate(4px);background:var(--bg-secondary)}.mobile-list-item-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:var(--bg-secondary);color:var(--theme-primary);flex-shrink:0}.mobile-list-item-content{flex:1;display:flex;flex-direction:column;gap:var(--space-1)}.mobile-list-item-title{font-size:var(--text-base);font-weight:var(--font-medium);color:var(--text-primary)}.mobile-list-item-subtitle{font-size:var(--text-sm);color:var(--text-secondary)}.mobile-list-item-arrow{color:var(--text-muted);flex-shrink:0}.mobile-list-compact{display:flex;flex-direction:column;gap:var(--space-1)}.mobile-compact-item{background:var(--bg-primary);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);box-shadow:var(--shadow-sm);border-left:3px solid transparent;transition:var(--transition-base)}.mobile-compact-item.has-update{border-left-color:var(--theme-warning);background:linear-gradient(90deg,rgba(var(--theme-warning-rgb),.05) 0%,var(--bg-primary) 20%)}.mobile-compact-header{display:flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-2);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-light)}.mobile-compact-order-number{font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-primary)}.mobile-compact-content{display:flex;flex-direction:column;gap:var(--space-2)}.mobile-compact-info{display:flex;flex-direction:column;gap:var(--space-1)}.mobile-compact-row{display:flex;align-items:center;justify-content:space-between;font-size:var(--text-xs);gap:var(--space-2)}.mobile-compact-label{color:var(--text-secondary);font-weight:var(--font-medium);flex-shrink:0}.mobile-compact-value{color:var(--text-primary);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-compact-actions{display:flex;gap:var(--space-1);flex-wrap:wrap;padding-top:var(--space-1);border-top:1px solid var(--border-light)}.mobile-button-xs{min-height:32px;padding:var(--space-1) var(--space-2);font-size:var(--text-xs);border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);flex:1;min-width:60px}.mobile-button-xs svg{flex-shrink:0}.mobile-form{display:flex;flex-direction:column;gap:var(--mobile-spacing)}.mobile-form-group{display:flex;flex-direction:column;gap:var(--space-2)}.mobile-form-label{font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-primary)}.mobile-form-input{width:100%;min-height:var(--mobile-touch-target);padding:var(--space-3) var(--mobile-padding);font-size:var(--text-base);border:1px solid var(--border-medium);border-radius:var(--radius-lg);background:var(--bg-primary);color:var(--text-primary);transition:var(--transition-colors)}.mobile-form-input:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.1)}.mobile-form-textarea{min-height:120px;resize:vertical}.mobile-form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--space-3) center;background-size:20px;padding-right:var(--space-10)}.mobile-button{width:100%;min-height:var(--mobile-touch-target);padding:var(--space-3) var(--space-6);font-size:var(--text-base);font-weight:var(--font-semibold);border-radius:var(--radius-xl);display:flex;align-items:center;justify-content:center;gap:var(--space-2);cursor:pointer;transition:var(--transition-base);-webkit-tap-highlight-color:transparent}.mobile-button:active{transform:scale(.98)}.mobile-button-primary{background:var(--theme-primary);color:var(--text-inverse);box-shadow:var(--shadow-md)}.mobile-button-primary:active{background:var(--theme-primary-dark);box-shadow:var(--shadow-sm)}.mobile-button-secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-medium)}.mobile-button-secondary:active{background:var(--bg-tertiary)}.mobile-button-ghost{background:transparent;color:var(--theme-primary)}.mobile-button-ghost:active{background:rgba(var(--theme-primary-rgb),.1)}.mobile-button-success{background:var(--status-success);color:var(--text-inverse);box-shadow:var(--shadow-md)}.mobile-button-success:active{background:#1e7e34;box-shadow:var(--shadow-sm)}.mobile-button-warning{background:var(--status-warning);color:var(--text-primary);box-shadow:var(--shadow-md)}.mobile-button-warning:active{background:#e0a800;box-shadow:var(--shadow-sm)}.mobile-button-danger{background:var(--status-error);color:var(--text-inverse);box-shadow:var(--shadow-md)}.mobile-button-danger:active{background:#c82333;box-shadow:var(--shadow-sm)}.mobile-button-group{display:flex;flex-direction:column;gap:var(--space-3);padding-bottom:var(--space-3)}.mobile-modal-overlay{position:fixed;inset:0;background:var(--bg-overlay);z-index:var(--z-modal-backdrop);animation:fadeIn var(--duration-normal)}.mobile-bottom-sheet{position:fixed;bottom:0;left:0;right:0;background:var(--bg-primary);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;box-shadow:var(--shadow-xl);z-index:var(--z-modal);max-height:90vh;overflow-y:auto;animation:slideUpSheet var(--duration-normal) var(--ease-out)}@keyframes slideUpSheet{0%{transform:translateY(100%)}to{transform:translateY(0)}}.mobile-bottom-sheet-handle{width:40px;height:4px;background:var(--border-medium);border-radius:var(--radius-full);margin:var(--space-3) auto}.mobile-bottom-sheet-content{padding:var(--mobile-spacing);padding-bottom:calc(var(--mobile-spacing) + env(safe-area-inset-bottom))}.mobile-fullscreen-modal{position:fixed;inset:0;background:var(--bg-secondary);z-index:var(--z-modal);display:flex;flex-direction:column;animation:slideLeft var(--duration-normal)}.mobile-fullscreen-header{height:var(--mobile-header-height);background:var(--theme-primary);color:var(--text-inverse);display:flex;align-items:center;padding:0 var(--mobile-spacing);gap:var(--space-3);box-shadow:var(--shadow-md)}.mobile-fullscreen-body{flex:1;overflow-y:auto;padding:var(--mobile-spacing);-webkit-overflow-scrolling:touch}.mobile-tabs{display:flex;background:var(--bg-primary);border-radius:var(--radius-lg);padding:var(--space-1);box-shadow:var(--shadow-sm);overflow-x:auto;-webkit-overflow-scrolling:touch}.mobile-tab{flex:1;min-width:80px;padding:var(--space-3);font-size:var(--text-sm);font-weight:var(--font-medium);text-align:center;color:var(--text-secondary);border-radius:var(--radius-md);cursor:pointer;transition:var(--transition-colors);white-space:nowrap}.mobile-tab.active{background:var(--theme-primary);color:var(--text-inverse)}.mobile-search{width:100%;padding:var(--space-3) var(--mobile-padding);font-size:var(--text-base);border:none;border-radius:var(--radius-xl);background:var(--bg-secondary);color:var(--text-primary);box-shadow:var(--shadow-sm)}.mobile-search:focus{outline:none;box-shadow:var(--shadow-md)}.mobile-search-container{position:relative;margin-bottom:var(--mobile-spacing)}.mobile-search-icon{position:absolute;left:var(--mobile-padding);top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.mobile-search-with-icon{padding-left:var(--space-10)}.mobile-table{display:flex;flex-direction:column;gap:var(--space-3)}.mobile-table-row{background:var(--bg-primary);border-radius:var(--radius-lg);padding:var(--mobile-padding);box-shadow:var(--shadow-sm)}.mobile-table-cell{display:flex;justify-content:space-between;padding:var(--space-2) 0;border-bottom:1px solid var(--border-light)}.mobile-table-cell:last-child{border-bottom:none}.mobile-table-cell-label{font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-secondary)}.mobile-table-cell-value{font-size:var(--text-sm);color:var(--text-primary);text-align:right}.mobile-badge{display:inline-flex;align-items:center;padding:var(--space-1) var(--space-3);font-size:var(--text-xs);font-weight:var(--font-semibold);border-radius:var(--radius-full);background:var(--bg-secondary);color:var(--text-primary)}.mobile-badge-primary{background:var(--theme-primary);color:var(--text-inverse)}.mobile-badge-success{background:var(--status-success);color:var(--text-inverse)}.mobile-badge-warning{background:var(--status-warning);color:var(--text-primary)}.mobile-badge-error{background:var(--status-error);color:var(--text-inverse)}.mobile-stack{display:flex;flex-direction:column}.mobile-stack-sm{gap:var(--space-2)}.mobile-stack-md{gap:var(--space-4)}.mobile-stack-lg{gap:var(--space-6)}.mobile-inline{display:flex;flex-direction:row;align-items:center}.mobile-inline-sm{gap:var(--space-2)}.mobile-inline-md{gap:var(--space-4)}.mobile-inline-lg{gap:var(--space-6)}.mobile-touch-feedback{-webkit-tap-highlight-color:rgba(0,0,0,.1);touch-action:manipulation}.mobile-header{padding:clamp(8px,2vw,12px) var(--mobile-spacing);height:auto;min-height:var(--mobile-header-height)}.mobile-header-content{padding:0;height:100%;width:100%}.mobile-header-row{display:flex;flex-wrap:nowrap;gap:clamp(6px,1.5vw,12px);padding:0;align-items:center;height:100%;width:100%}.mobile-welcome{flex:0 0 auto;min-width:0;max-width:35%;gap:0;margin-right:auto;display:flex;align-items:center;gap:clamp(6px,1.5vw,10px)}.mobile-welcome .logo-container{width:clamp(24px,6vw,32px);height:clamp(24px,6vw,32px);flex-shrink:0}.mobile-welcome .logo-image{width:100%!important;height:100%!important;object-fit:contain}.mobile-welcome-text{font-size:clamp(.75rem,3.5vw,.875rem);font-weight:var(--font-semibold);color:var(--text-inverse);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.2;flex:1;min-width:0}.mobile-branch-selector{flex:0 1 auto;min-width:0;max-width:min(40vw,160px);margin-right:clamp(4px,1vw,8px)}.mobile-branch-btn{width:100%;min-width:0;padding:clamp(4px,1vw,8px) clamp(6px,1.5vw,12px);font-size:clamp(.625rem,2.5vw,.75rem);height:clamp(32px,8vw,40px);display:flex;align-items:center;justify-content:space-between}.mobile-branch-btn .branch-selector-content{min-width:0;gap:clamp(4px,1vw,8px);display:flex;align-items:center;flex:1;overflow:hidden}.mobile-branch-btn .branch-icon-container{width:clamp(12px,3vw,16px);height:clamp(12px,3vw,16px);flex-shrink:0;display:flex;align-items:center;justify-content:center}.mobile-branch-btn .branch-icon-container svg{width:100%;height:100%}.mobile-branch-btn .branch-text-container{min-width:0;overflow:hidden;flex:1;display:flex;flex-direction:column;gap:2px}.mobile-branch-btn .branch-name{font-size:clamp(.625rem,2.5vw,.75rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}.mobile-branch-btn .branch-label{font-size:clamp(8px,2vw,10px);line-height:1;opacity:.8}.mobile-branch-btn .chevron{width:clamp(10px,2.5vw,14px);height:clamp(10px,2.5vw,14px);flex-shrink:0;margin-left:4px}.mobile-notification{flex-shrink:0}.mobile-notification-btn{width:clamp(40px,10vw,48px);height:clamp(40px,10vw,48px);padding:clamp(6px,1.5vw,10px);display:flex;align-items:center;justify-content:center;position:relative}.mobile-notification-btn svg{width:clamp(20px,5vw,26px);height:clamp(20px,5vw,26px)}.mobile-notification-btn .notification-badge{position:absolute;top:clamp(4px,1vw,8px);right:clamp(4px,1vw,8px);min-width:clamp(16px,4vw,20px);height:clamp(16px,4vw,20px);font-size:clamp(9px,2.5vw,11px);padding:2px 4px;display:flex;align-items:center;justify-content:center}.mobile-header .branch-dropdown{position:fixed;top:clamp(52px,14vw,64px);left:var(--mobile-spacing);width:calc(100vw - 64px);max-width:min(90vw,360px);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);max-height:calc(100vh - var(--mobile-header-height) - var(--mobile-bottom-nav-height) - 32px);z-index:9998}.mobile-header .notification-dropdown{position:fixed;top:clamp(52px,14vw,64px);right:var(--mobile-spacing);width:calc(100vw - 64px);max-width:min(90vw,360px);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);max-height:calc(100vh - var(--mobile-header-height) - var(--mobile-bottom-nav-height) - 32px);z-index:9998}.mobile-header .branch-list,.mobile-header .notification-list{max-height:calc(100vh - var(--mobile-header-height) - var(--mobile-bottom-nav-height) - 180px);overflow-y:auto;-webkit-overflow-scrolling:touch}.mobile-header .branch-item{padding:var(--space-3) var(--mobile-spacing)}.mobile-header .branch-item-name{font-size:var(--text-sm)}.mobile-header .branch-item-description{font-size:var(--text-xs)}.mobile-header .notification-item{padding:var(--space-3) var(--mobile-spacing)}.mobile-header .notification-item h4{font-size:var(--text-sm)}.mobile-header .notification-item p{font-size:var(--text-xs)}.logout-bottom-sheet{max-height:60vh;padding-bottom:calc(var(--mobile-spacing) + env(safe-area-inset-bottom,20px))}.mobile-logout-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-4);margin-bottom:var(--space-6)}.mobile-logout-header svg{flex-shrink:0}.mobile-logout-header h2{font-size:var(--text-xl);font-weight:var(--font-bold);color:var(--text-primary);margin:0}.mobile-logout-text{font-size:var(--text-base);color:var(--text-secondary);text-align:center;line-height:1.6;margin-bottom:var(--space-6);padding:0 var(--space-2)}.mobile-logout-buttons{display:flex;flex-direction:column;gap:var(--space-3);width:100%}.mobile-logout-btn{width:100%;justify-content:center;font-size:var(--text-base);font-weight:var(--font-semibold);height:var(--mobile-touch-target)}@media(max-width:375px){.mobile-header{padding:6px 12px;min-height:56px}.mobile-header-row{gap:6px}.mobile-welcome{max-width:32%}.mobile-welcome .logo-container{width:24px;height:24px}.mobile-welcome-text{font-size:.7rem}.mobile-branch-selector{max-width:35vw;margin-right:4px}.mobile-branch-btn{height:32px;padding:4px 6px}.mobile-branch-btn .branch-label{display:none}.mobile-notification-btn{width:40px;height:40px}}@media(max-width:320px){.mobile-header{padding:4px 8px;min-height:52px}.mobile-header-row{gap:4px}.mobile-welcome{max-width:28%}.mobile-welcome .logo-container{width:20px;height:20px}.mobile-welcome-text{font-size:.65rem}.mobile-branch-selector{max-width:32vw;margin-right:4px}.mobile-branch-btn{height:30px;padding:3px 5px;font-size:.625rem}.mobile-branch-btn .branch-icon-container{width:12px;height:12px}.mobile-notification-btn{width:36px;height:36px;padding:6px}.mobile-notification-btn svg{width:18px;height:18px}.mobile-header .branch-dropdown,.mobile-header .notification-dropdown{width:calc(100vw - 32px);left:16px;right:16px;max-width:none}.mobile-header .notification-dropdown{left:auto}}.mobile-prevent-select{-webkit-user-select:none;user-select:none}.mobile-pull-indicator{text-align:center;padding:var(--space-3);color:var(--text-muted);font-size:var(--text-sm)}.mobile-safe-top{padding-top:env(safe-area-inset-top)}.mobile-safe-bottom{padding-bottom:env(safe-area-inset-bottom)}.mobile-safe-left{padding-left:env(safe-area-inset-left)}.mobile-safe-right{padding-right:env(safe-area-inset-right)}}:root{--web-sidebar-width: 260px;--web-sidebar-collapsed-width: 90px;--web-header-height: 70px;--web-spacing: 24px;--web-padding: 20px;--web-card-radius: 12px;--web-container-max-width: 1400px}@media(min-width:769px){.app-container{width:100%;min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg-secondary)}.app-header{position:sticky;top:0;left:0;right:0;height:var(--web-header-height);background:linear-gradient(135deg,var(--theme-primary) 0%,var(--theme-primary-mid) 50%,var(--theme-primary-light) 100%);background-size:200% 200%;animation:headerGradientShift 15s ease infinite;box-shadow:var(--shadow-lg);z-index:var(--z-sticky);padding:0 var(--web-spacing)}@keyframes headerGradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.header-content{display:flex;align-items:center;justify-content:space-between;height:100%;max-width:var(--web-container-max-width);margin:0 auto;padding:0 var(--web-padding)}.header-left{display:flex;align-items:center;gap:var(--space-6)}.header-center{flex:1;display:flex;justify-content:center;max-width:600px}.header-right{display:flex;align-items:center;gap:var(--space-4)}.header-right-group{display:flex;align-items:center;gap:var(--space-3);flex-shrink:0}.web-logo-container{display:flex;align-items:center;gap:var(--space-3);cursor:pointer;transition:var(--transition-base)}.web-logo-container:hover{transform:translateY(-2px)}.web-logo{width:45px;height:45px;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.web-logo-text{font-size:var(--text-xl);font-weight:var(--font-bold);color:var(--text-inverse)}.web-header-search{width:100%;max-width:400px;padding:var(--space-3) var(--space-4);font-size:var(--text-sm);border:none;border-radius:var(--radius-xl);background:#ffffffe6;color:var(--text-primary);box-shadow:var(--shadow-sm);transition:var(--transition-base)}.web-header-search:focus{outline:none;background:var(--bg-primary);box-shadow:var(--shadow-md)}.web-header-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background:#ffffff26;color:var(--text-inverse);cursor:pointer;transition:var(--transition-base);position:relative}.web-header-button:hover{background:#ffffff40;transform:translateY(-2px)}.web-header-button-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:var(--status-error);color:var(--text-inverse);font-size:10px;font-weight:var(--font-bold);border-radius:var(--radius-full);padding:0 4px}.app-body{display:flex;flex:1;height:calc(100vh - var(--web-header-height));overflow:hidden}.sidebar{width:var(--web-sidebar-width);background:var(--bg-primary);border-right:1px solid var(--border-light);display:flex;flex-direction:column;overflow-y:auto;transition:width var(--duration-normal) var(--ease-in-out);box-shadow:2px 0 8px #0000000d;flex-shrink:0}.sidebar.sidebar-collapsed,.sidebar.collapsed{width:var(--web-sidebar-collapsed-width)}.sidebar-header{padding:var(--space-4);border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:72px}.sidebar-logo{display:flex;align-items:center;gap:var(--space-3);flex:1;overflow:hidden}.sidebar-logo-icon{width:40px;height:40px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-light));border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;box-shadow:var(--shadow-md)}.sidebar-logo-icon svg{width:24px;height:24px}.sidebar-logo-text{display:flex;flex-direction:column;gap:2px;overflow:hidden}.sidebar-logo-title{font-size:var(--text-base);font-weight:var(--font-bold);color:var(--text-primary);white-space:nowrap;line-height:1.2}.sidebar-logo-subtitle{font-size:var(--text-xs);color:var(--text-secondary);font-weight:var(--font-medium);white-space:nowrap}.sidebar-collapsed .sidebar-logo-text,.sidebar.sidebar-collapsed .sidebar-logo-text,.sidebar.collapsed .sidebar-logo-text{display:none}.sidebar-toggle{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:var(--bg-secondary);border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;transition:all var(--duration-fast) var(--ease-in-out);flex-shrink:0}.sidebar-toggle:hover{background:var(--theme-primary-light);color:#fff;transform:scale(1.05)}.sidebar-toggle svg{width:18px;height:18px;transition:transform var(--duration-fast) var(--ease-in-out)}.sidebar-nav{flex:1;padding:var(--space-4);display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.sidebar-nav-list{display:flex;flex-direction:column;gap:var(--space-1);list-style:none;padding:0;margin:0}.sidebar-nav-item{width:100%;transition:all var(--duration-fast) var(--ease-in-out)}.sidebar-nav-link{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);color:var(--text-primary);font-size:var(--text-base);font-weight:var(--font-medium);cursor:pointer;transition:all var(--duration-fast) var(--ease-in-out);white-space:nowrap;border:none;background:transparent;width:100%;text-align:left;position:relative;overflow:hidden}.sidebar-nav-link:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--theme-primary);transform:scaleY(0);transition:transform var(--duration-fast) var(--ease-in-out)}.sidebar-nav-link:hover:not(.active){background:var(--theme-primary);transform:translate(2px)}.sidebar-nav-link:hover:not(.active):before{transform:scaleY(1)}.sidebar-nav-link.active{background:linear-gradient(90deg,var(--theme-primary),var(--theme-primary-mid));color:#fff;box-shadow:var(--shadow-md);font-weight:var(--font-semibold)}.sidebar-nav-link.active:hover{background:linear-gradient(90deg,var(--theme-primary-dark),var(--theme-primary));transform:translate(2px)}.sidebar-nav-link.active:before{transform:scaleY(1);background:#fff}.sidebar-nav-icon{width:20px;height:20px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.sidebar-nav-icon svg{width:100%;height:100%}.sidebar-nav-label{flex:1;transition:opacity var(--duration-fast) var(--ease-in-out)}.sidebar-collapsed .sidebar-nav-link,.sidebar.sidebar-collapsed .sidebar-nav-link,.sidebar.collapsed .sidebar-nav-link{justify-content:center;padding:var(--space-3)}.sidebar-collapsed .sidebar-nav-label,.sidebar.sidebar-collapsed .sidebar-nav-label,.sidebar.collapsed .sidebar-nav-label{opacity:0;width:0;overflow:hidden}.sidebar-footer{padding:var(--space-4);border-top:1px solid var(--border-light);background:var(--bg-secondary)}.sidebar-user-info{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow-sm);transition:all var(--duration-fast) var(--ease-in-out)}.sidebar-user-info:hover{box-shadow:var(--shadow-md)}.sidebar-user-avatar{width:40px;height:40px;background:linear-gradient(135deg,var(--theme-primary-light),var(--theme-primary));border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.sidebar-user-avatar svg{width:24px;height:24px}.sidebar-user-details{flex:1;min-width:0;overflow:hidden}.sidebar-user-name{font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}.sidebar-user-role{font-size:var(--text-xs);color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-logout-button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;background:var(--bg-secondary);border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;transition:all var(--duration-fast) var(--ease-in-out);flex-shrink:0}.sidebar-logout-button:hover{background:#ef4444;color:#fff;transform:scale(1.05)}.sidebar-logout-button svg{width:20px;height:20px}.sidebar-collapsed .sidebar-user-details,.sidebar.sidebar-collapsed .sidebar-user-details,.sidebar.collapsed .sidebar-user-details,.sidebar-collapsed .sidebar-logout-button,.sidebar.sidebar-collapsed .sidebar-logout-button,.sidebar.collapsed .sidebar-logout-button{display:none}.sidebar-collapsed .sidebar-user-info,.sidebar.sidebar-collapsed .sidebar-user-info,.sidebar.collapsed .sidebar-user-info{justify-content:center;padding:var(--space-2)}.mobile-bottom-nav,.mobile-fab{display:none!important}.main-content{flex:1;overflow-y:auto;padding:var(--web-spacing);background:var(--bg-secondary)}.web-content-container{max-width:var(--web-container-max-width);margin:0 auto}.web-content-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--web-spacing)}.web-content-title{font-size:var(--text-3xl);font-weight:var(--font-bold);color:var(--text-primary)}.web-content-actions{display:flex;align-items:center;gap:var(--space-3)}.web-breadcrumbs{display:flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);font-size:var(--text-sm);color:var(--text-secondary)}.web-breadcrumb-separator{color:var(--text-muted)}.web-breadcrumb-link{color:var(--theme-primary);cursor:pointer;transition:var(--transition-colors)}.web-breadcrumb-link:hover{color:var(--theme-primary-dark);text-decoration:underline}.web-grid{display:grid;gap:var(--web-spacing)}.web-grid-2{grid-template-columns:repeat(2,1fr)}.web-grid-3{grid-template-columns:repeat(3,1fr)}.web-grid-4{grid-template-columns:repeat(4,1fr)}.web-grid-auto{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}@media(max-width:1024px){.web-grid-4,.web-grid-3{grid-template-columns:repeat(2,1fr)}}.web-card{background:var(--bg-primary);border-radius:var(--web-card-radius);padding:var(--web-padding);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:var(--transition-base)}.web-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.web-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-light)}.web-card-title{font-size:var(--text-xl);font-weight:var(--font-semibold);color:var(--text-primary)}.web-card-subtitle{font-size:var(--text-sm);color:var(--text-secondary);margin-top:var(--space-1)}.web-card-body{display:flex;flex-direction:column;gap:var(--space-4)}.web-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border-light)}.web-stat-card{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-mid));color:var(--text-inverse);padding:var(--web-padding);border-radius:var(--web-card-radius);box-shadow:var(--shadow-md);cursor:pointer;transition:var(--transition-base)}.web-stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.web-stat-value{font-size:var(--text-4xl);font-weight:var(--font-bold);margin-bottom:var(--space-2)}.web-stat-label{font-size:var(--text-sm);opacity:.9}.web-table-container{background:var(--bg-primary);border-radius:var(--web-card-radius);box-shadow:var(--shadow-sm);overflow:hidden;border:1px solid var(--border-light)}.web-table{width:100%;border-collapse:collapse}.web-table thead{background:var(--bg-secondary);border-bottom:2px solid var(--border-medium)}.web-table th{padding:var(--space-4) var(--web-padding);text-align:left;font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.web-table th:hover{background:var(--bg-tertiary);cursor:pointer}.web-table tbody tr{border-bottom:1px solid var(--border-light);transition:var(--transition-colors)}.web-table tbody tr:hover{background:var(--bg-secondary)}.web-table tbody tr:last-child{border-bottom:none}.web-table td{padding:var(--space-4) var(--web-padding);font-size:var(--text-sm);color:var(--text-primary)}.web-table-actions{display:flex;gap:var(--space-2)}.web-table-action-button{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-xs);font-weight:var(--font-medium);cursor:pointer;transition:var(--transition-colors)}.web-table-action-button:hover{background:var(--bg-tertiary)}.web-form{display:flex;flex-direction:column;gap:var(--web-spacing)}.web-form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--web-spacing)}.web-form-group{display:flex;flex-direction:column;gap:var(--space-2)}.web-form-label{font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-primary)}.web-form-label-required:after{content:" *";color:var(--status-error)}.web-form-input{width:100%;padding:var(--space-3) var(--space-4);font-size:var(--text-sm);border:1px solid var(--border-medium);border-radius:var(--radius-md);background:var(--bg-primary);color:var(--text-primary);transition:var(--transition-colors)}.web-form-input:hover{border-color:var(--border-dark)}.web-form-input:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.1)}.web-form-textarea{min-height:120px;resize:vertical;font-family:inherit}.web-form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--space-3) center;background-size:16px;padding-right:var(--space-10);cursor:pointer}.web-form-helper{font-size:var(--text-xs);color:var(--text-secondary)}.web-form-error{font-size:var(--text-xs);color:var(--status-error)}.web-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-3) var(--space-6);font-size:var(--text-sm);font-weight:var(--font-semibold);border-radius:var(--radius-lg);cursor:pointer;transition:var(--transition-base);white-space:nowrap}.web-button:hover{transform:translateY(-2px)}.web-button-primary{background:var(--theme-primary);color:var(--text-inverse);box-shadow:var(--shadow-md)}.web-button-primary:hover{background:var(--theme-primary-dark);box-shadow:var(--shadow-lg)}.web-button-secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-medium)}.web-button-secondary:hover{background:var(--bg-tertiary);border-color:var(--border-dark)}.web-button-ghost{background:transparent;color:var(--theme-primary)}.web-button-ghost:hover{background:rgba(var(--theme-primary-rgb),.1)}.web-button-danger{background:var(--status-error);color:var(--text-inverse)}.web-button-danger:hover{background:#c82333}.web-button-sm{padding:var(--space-2) var(--space-4);font-size:var(--text-xs)}.web-button-lg{padding:var(--space-4) var(--space-8);font-size:var(--text-base)}.web-button-group{display:flex;gap:var(--space-3)}.web-modal-overlay{position:fixed;inset:0;background:var(--bg-overlay);display:flex;align-items:center;justify-content:center;z-index:var(--z-modal-backdrop);animation:fadeIn var(--duration-normal)}.web-modal{background:var(--bg-primary);border-radius:var(--radius-2xl);box-shadow:var(--shadow-xl);max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:scaleIn var(--duration-normal) var(--ease-out)}.web-modal-lg{max-width:900px}.web-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--web-padding);border-bottom:1px solid var(--border-light)}.web-modal-title{font-size:var(--text-xl);font-weight:var(--font-semibold);color:var(--text-primary)}.web-modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;transition:var(--transition-colors)}.web-modal-close:hover{background:var(--bg-secondary);color:var(--text-primary)}.web-modal-body{padding:var(--web-padding)}.web-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3);padding:var(--web-padding);border-top:1px solid var(--border-light)}.web-tabs{display:flex;border-bottom:2px solid var(--border-light);gap:var(--space-2)}.web-tab{padding:var(--space-3) var(--space-6);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-secondary);border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:var(--transition-colors)}.web-tab:hover{color:var(--text-primary);background:var(--bg-secondary)}.web-tab.active{color:var(--theme-primary);border-bottom-color:var(--theme-primary);font-weight:var(--font-semibold)}.web-dropdown{position:relative;display:inline-block}.web-dropdown-menu{position:absolute;top:calc(100% + var(--space-2));right:0;background:var(--bg-primary);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);min-width:200px;z-index:var(--z-dropdown);animation:slideDown var(--duration-fast)}.web-dropdown-item{padding:var(--space-3) var(--web-padding);font-size:var(--text-sm);color:var(--text-primary);cursor:pointer;transition:var(--transition-colors);display:flex;align-items:center;gap:var(--space-3)}.web-dropdown-item:hover{background:var(--bg-secondary)}.web-dropdown-item:first-child{border-radius:var(--radius-lg) var(--radius-lg) 0 0}.web-dropdown-item:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg)}.web-dropdown-divider{height:1px;background:var(--border-light);margin:var(--space-2) 0}.web-badge{display:inline-flex;align-items:center;padding:var(--space-1) var(--space-3);font-size:var(--text-xs);font-weight:var(--font-semibold);border-radius:var(--radius-full);background:var(--bg-secondary);color:var(--text-primary)}.web-badge-primary{background:var(--theme-primary);color:var(--text-inverse)}.web-badge-success{background:var(--status-success);color:var(--text-inverse)}.web-badge-warning{background:var(--status-warning);color:var(--text-primary)}.web-badge-error{background:var(--status-error);color:var(--text-inverse)}.web-tooltip{position:relative}.web-tooltip-content{position:absolute;bottom:calc(100% + var(--space-2));left:50%;transform:translate(-50%);padding:var(--space-2) var(--space-3);background:var(--text-primary);color:var(--text-inverse);font-size:var(--text-xs);border-radius:var(--radius-md);white-space:nowrap;z-index:var(--z-tooltip);opacity:0;pointer-events:none;transition:opacity var(--duration-fast)}.web-tooltip:hover .web-tooltip-content{opacity:1}.web-pagination{display:flex;align-items:center;justify-content:center;gap:var(--space-2);margin-top:var(--web-spacing)}.web-pagination-button{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:var(--space-2);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-primary);background:var(--bg-primary);border:1px solid var(--border-medium);cursor:pointer;transition:var(--transition-colors)}.web-pagination-button:hover{background:var(--bg-secondary);border-color:var(--border-dark)}.web-pagination-button.active{background:var(--theme-primary);color:var(--text-inverse);border-color:var(--theme-primary)}.web-pagination-button:disabled{opacity:.5;cursor:not-allowed}.web-skeleton{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeletonLoading 1.5s infinite;border-radius:var(--radius-md)}@keyframes skeletonLoading{0%{background-position:200% 0}to{background-position:-200% 0}}.web-spinner{width:40px;height:40px;border:4px solid var(--border-light);border-top-color:var(--theme-primary);border-radius:var(--radius-full);animation:spin 1s linear infinite}.web-alert{padding:var(--web-padding);border-radius:var(--radius-lg);border-left:4px solid;display:flex;align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4)}.web-alert-info{background:#17a2b81a;border-left-color:var(--status-info);color:var(--status-info)}.web-alert-success{background:#28a7451a;border-left-color:var(--status-success);color:var(--status-success)}.web-alert-warning{background:#ffc1071a;border-left-color:var(--status-warning);color:#856404}.web-alert-error{background:#dc35451a;border-left-color:var(--status-error);color:var(--status-error)}}
