:root{color-scheme:only light;font-family:Manrope,Segoe UI,Tahoma,sans-serif;--background: 0 0% 98%;--foreground: 220 15% 20%;--card: 0 0% 100%;--card-foreground: 220 15% 20%;--popover: 0 0% 100%;--popover-foreground: 220 15% 20%;--primary: 195 85% 40%;--primary-foreground: 0 0% 100%;--secondary: 210 15% 92%;--secondary-foreground: 220 15% 20%;--muted: 210 15% 95%;--muted-foreground: 220 10% 45%;--accent: 195 85% 40%;--accent-foreground: 0 0% 100%;--destructive: 0 72% 51%;--destructive-foreground: 0 0% 100%;--border: 220 13% 88%;--input: 220 13% 88%;--ring: 195 85% 40%;--radius: .5rem}*{box-sizing:border-box}body{margin:0;background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}.input-group{position:relative;width:100%}input,select,textarea{width:100%;border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:var(--radius);padding:.6rem .75rem;font-size:.875rem;transition:all .2s}input.floating-input,textarea.floating-input{padding:.8rem .75rem}.floating-label{position:absolute;top:.8rem;left:.75rem;pointer-events:none;transition:all .2s ease;color:hsl(var(--muted-foreground));background:transparent;padding:0 .25rem;line-height:1}input.floating-input:focus~.floating-label,input.floating-input:not(:placeholder-shown)~.floating-label,textarea.floating-input:focus~.floating-label,textarea.floating-input:not(:placeholder-shown)~.floating-label{top:-.5rem;left:.6rem;font-size:.75rem;color:hsl(var(--primary));background:hsl(var(--card));font-weight:600}input::placeholder,textarea::placeholder{color:hsl(var(--muted-foreground));opacity:1}input.floating-input::placeholder,textarea.floating-input::placeholder{color:transparent}input.floating-input:focus::placeholder,textarea.floating-input:focus::placeholder{color:hsl(var(--muted-foreground) / .5)}input:focus,select:focus,textarea:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring) / .2)}button{display:inline-flex;align-items:center;justify-content:center;border:1px solid hsl(var(--border));border-radius:var(--radius);padding:.5rem 1rem;background:hsl(var(--background));color:hsl(var(--foreground));font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s,color .2s}button:hover{background:hsl(var(--secondary))}button.primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}button.primary:hover{background:hsl(var(--primary) / .9)}button.danger{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground));border-color:hsl(var(--destructive))}button.danger:hover{background:hsl(var(--destructive) / .9)}.auth-screen{min-height:100dvh;padding:1rem;display:grid;place-items:center;background:linear-gradient(180deg,hsl(var(--primary) / .1),hsl(var(--background)))}.auth-card{width:100%;max-width:400px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) * 2);padding:2rem;shadow:0 10px 15px -3px rgb(0 0 0 / .1)}.mobile-app{width:100%;min-height:100dvh;position:relative;padding-bottom:4.5rem;display:flex;flex-direction:column}.app-header{background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));padding:0 1rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:40;height:3.5rem;flex-shrink:0}.help-link-header:hover{color:hsl(var(--primary));background:hsl(var(--muted) / .5)}.profile-menu{position:relative}.profile-menu-button{width:2.75rem;height:2.75rem;border-radius:999px;border:1px solid hsl(var(--border));background:hsl(var(--background));display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .2s,box-shadow .2s;padding:0}.profile-menu-button:hover{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .15)}.profile-icon{width:2rem;height:2rem;border-radius:999px;background:hsl(var(--muted));color:hsl(var(--foreground));display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;letter-spacing:.08em}.profile-menu-popup{position:absolute;right:0;top:calc(100% + .4rem);background:hsl(var(--popover));color:hsl(var(--popover-foreground));border-radius:calc(var(--radius) * 1.25);border:1px solid hsl(var(--border));box-shadow:0 8px 20px #00000026;min-width:160px;display:flex;flex-direction:column;padding:.25rem 0;z-index:50}.profile-menu-item{background:transparent;border:none;text-align:left;width:100%;padding:.75rem 1rem;font-size:.9rem;color:hsl(var(--foreground));cursor:pointer;transition:background .2s}.profile-menu-item:hover{background:hsl(var(--muted))}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.app-header h1{margin:0;font-size:1.25rem;font-weight:600}.small-label{margin:0;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground))}.app-content{padding:1rem;flex:1;display:flex;flex-direction:column;padding-top:0}.page{flex:1;display:flex;flex-direction:column}.page h2{margin:0 0 1rem;font-size:1.5rem;font-weight:700;letter-spacing:-.025em}.sticky-header{position:sticky;top:3.5rem;background:hsl(var(--background));z-index:30;margin-left:-1rem;margin-right:-1rem;padding:1rem 1rem .5rem;backface-visibility:hidden;-webkit-backface-visibility:hidden}.add-customer-sticky-header{position:sticky;top:56px;background:hsl(var(--background));z-index:40}.add-customer-sticky-footer{position:sticky;bottom:0;background:hsl(var(--background));padding-top:1rem;z-index:40}.card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1rem;margin-bottom:1rem;box-shadow:0 1px 2px #0000000d}.card h3{margin:0 0 1rem;font-size:1.125rem;font-weight:600}.stack-form{display:grid;gap:1rem}.split-2{display:grid;gap:1rem;grid-template-columns:1fr 1fr}.row-actions{display:flex;gap:.75rem}.entity-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;border-top:1px solid hsl(var(--border))}.entity-row:first-of-type{border-top:0}.entity-title{margin:0 0 .25rem;font-weight:600;font-size:1rem}.col-actions{display:flex;gap:.5rem}.bottom-tabs{position:fixed;bottom:0;left:0;right:0;width:100%;background:hsl(var(--card));border-top:1px solid hsl(var(--border));display:flex;justify-content:space-around;height:4rem;z-index:50}.tab-btn{background:transparent;border:0;border-radius:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;height:100%;color:hsl(var(--muted-foreground));font-weight:500;font-size:.8rem;text-decoration:none;transition:all .2s;position:relative}.tab-btn:hover{background:transparent;color:hsl(var(--foreground));text-decoration:none}.tab-btn.active{color:hsl(var(--primary));text-decoration:none}.tab-btn.active:before{content:"";position:absolute;top:0;left:20%;right:20%;height:3px;background-color:hsl(var(--primary));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.chart-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.25rem;margin-bottom:1rem;box-shadow:0 1px 2px #0000000d}.chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.chart-header h3{margin:0;font-size:1.125rem;font-weight:600}.chart-toggle{display:flex;background:hsl(var(--muted));padding:.25rem;border-radius:var(--radius);gap:.25rem}.chart-toggle-btn{border:none;background:transparent;padding:.35rem 1rem;font-size:.85rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;transition:all .2s;color:hsl(var(--muted-foreground));font-weight:500}.chart-toggle-btn.active{background:hsl(var(--card));color:hsl(var(--foreground));box-shadow:0 1px 2px #0000001a}.chart-container{width:100%;height:300px;position:relative}.custom-tooltip{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:.75rem;box-shadow:0 4px 12px #0000001a}.custom-tooltip p{margin:0;font-size:.875rem}.custom-tooltip .label{font-weight:600;margin-bottom:.25rem}.custom-tooltip .value{color:hsl(var(--muted-foreground))}.chart-table{width:100%;border-collapse:collapse;font-size:.875rem}.chart-table th{text-align:left;padding:.75rem .5rem;border-bottom:2px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-weight:600}.chart-table td{padding:.75rem .5rem;border-bottom:1px solid hsl(var(--border))}.chart-table tr:last-child td{border-bottom:none}.chart-table .text-right{text-align:right}.legend-container{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:hsl(var(--foreground))}.legend-color{width:12px;height:12px;border-radius:2px}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem}.modal-content{background:hsl(var(--card));border-radius:var(--radius);width:100%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a;animation:modalScale .3s cubic-bezier(.34,1.56,.64,1);position:relative}@keyframes modalScale{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-header{padding:1rem;border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;align-items:center}.modal-body{padding:1rem;overflow-y:auto;flex:1}.modal-footer{padding:1rem;border-top:1px solid hsl(var(--border));display:flex;justify-content:flex-end}.text-destructive{color:hsl(var(--destructive))}.tab-btn .tab-icon{display:block;margin-bottom:.15rem;color:currentColor}.muted{margin:0;color:hsl(var(--muted-foreground));font-size:.875rem}.error-text{margin:0;padding:.75rem;background:hsl(var(--destructive) / .1);border:1px solid hsl(var(--destructive) / .2);border-radius:var(--radius);color:hsl(var(--destructive));font-size:.875rem}.list-line{margin:.5rem 0;padding:.5rem;background:hsl(var(--muted) / .3);border-radius:calc(var(--radius) / 2);font-size:.875rem}.page-tabs{display:flex;gap:1.5rem;margin-bottom:1rem;border-bottom:1px solid hsl(var(--border));padding-bottom:0;justify-content:space-around}.page-tab-btn{background:transparent;border:none;border-radius:0;padding:.75rem .25rem;font-size:.875rem;font-weight:600;color:hsl(var(--muted-foreground));position:relative;cursor:pointer;transition:color .2s}.page-tab-btn:hover{background:transparent;color:hsl(var(--foreground))}.page-tab-btn.active{background:transparent;color:hsl(var(--primary))}.page-tab-btn.active:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:2px;background-color:hsl(var(--primary))}.customer-card{margin-bottom:1rem;cursor:pointer;padding:1rem;transition:all .2s ease;border-radius:calc(var(--radius) * 1.5);display:flex;flex-direction:column;gap:.5rem}.customer-card:hover{border-color:hsl(var(--primary) / .5);box-shadow:0 4px 12px -2px #00000014;transform:translateY(-2px)}.customer-card-main{display:flex;gap:1rem;align-items:flex-start}.customer-content{flex:1;min-width:0}.customer-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.35rem}.customer-name-heading{margin:0;font-size:1.1rem;font-weight:700;color:hsl(var(--foreground));line-height:1.2;text-transform:uppercase;margin-bottom:0!important}.customer-details{display:flex;flex-direction:column;gap:.25rem}.detail-item{display:flex;align-items:center;gap:.5rem;font-size:.825rem;color:hsl(var(--muted-foreground))}.customer-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:1rem;padding:.75rem;background-color:#e7f8fd;border-radius:var(--radius);color:#08495e}.customer-stats-grid .stat-item{min-width:0}.detail-link{color:hsl(var(--primary));text-decoration:none;font-weight:600;transition:opacity .2s}.detail-link:hover{opacity:.8;text-decoration:none}.detail-icon{flex-shrink:0;opacity:.7}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delete-action:hover{color:hsl(var(--destructive))!important;background:hsl(var(--destructive) / .1)!important}.customer-stats-bar{display:flex;justify-content:space-between;background:hsl(var(--muted) / .3);padding:.75rem 1rem;border-radius:var(--radius);gap:.5rem}.stat-pill{display:flex;flex-direction:column;gap:.15rem}.stat-pill .stat-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.025em;color:hsl(var(--muted-foreground));font-weight:600}.stat-pill .stat-value{font-size:.95rem;font-weight:700;color:hsl(var(--foreground))}.stat-pill .stat-value.warning{color:#c60}.stat-pill .stat-value.destructive{color:hsl(var(--destructive))}.skeleton{background:hsl(var(--muted));background:linear-gradient(90deg,hsl(var(--muted)) 25%,hsl(var(--muted) / .6),hsl(var(--muted)) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-text{height:1rem;width:100%;margin-bottom:.5rem}.skeleton-title{height:1.25rem;width:60%;margin-bottom:.75rem}.skeleton-avatar{width:3rem;height:3rem;border-radius:1rem}.skeleton-inline{display:inline-block}.empty-state-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;flex:1;width:100%;animation:fadeIn .5s ease-out}.empty-state-content{max-width:320px;display:flex;flex-direction:column;align-items:center}.empty-state-icon-wrapper{background:hsl(var(--primary) / .1);color:hsl(var(--primary));padding:1.5rem;border-radius:50%;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center;border:1px dashed hsl(var(--primary) / .3)}.empty-state-title{font-size:1.25rem;font-weight:700;margin:0 0 .5rem;color:hsl(var(--foreground))}.empty-state-description{font-size:.875rem;color:hsl(var(--muted-foreground));margin:0 0 1.5rem;line-height:1.5}.empty-state-action{width:auto;min-width:140px}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.customer-items-section{margin-top:1rem;border-top:1px solid hsl(var(--border));padding-top:1rem}.public-link-card{display:flex;flex-direction:column;background-color:#e7f8fd}.public-link-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.public-link-url{font-family:SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.85rem;background:hsl(var(--muted) / .4);padding:.75rem;border-radius:var(--radius);word-break:break-all}.public-link-copy-btn{gap:.35rem;padding:.35rem .9rem}.items-heading{font-size:1rem;font-weight:700;color:hsl(var(--foreground));margin-bottom:0!important}.items-data-container{background-color:#e7f8fd;border-radius:var(--radius);padding:1rem;color:#08495e}.price-table{width:100%;border-collapse:collapse;font-size:.85rem}.price-table th{text-align:left;color:hsl(var(--muted-foreground));font-weight:bolder;padding-bottom:.5rem}.price-table td{padding:.4rem 0;border-bottom:1px solid hsl(var(--muted) / .1)}.price-table tr:last-child td{border-bottom:0}@media (min-width: 768px){.app-content{width:100%}}.header-logo-container{display:flex;align-items:center;gap:.75rem}.tenant-logo{width:2.25rem;height:2.25rem;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;border-radius:.5rem;font-weight:800;font-size:.875rem;letter-spacing:.05em;box-shadow:0 2px 4px -1px #0000001a;flex-shrink:0}.tenant-name-header{color:hsl(var(--foreground));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;font-size:1.125rem;font-weight:700;letter-spacing:-.01em}.ghost-btn{background:transparent;border:none;color:hsl(var(--muted-foreground));font-size:.875rem;padding:.5rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius);transition:all .2s}.ghost-btn:hover{background:hsl(var(--muted) / .5);color:hsl(var(--foreground))}.form-group{display:flex;flex-direction:column;gap:.35rem}.floating-action-btn{position:fixed;bottom:5.5rem;right:1.5rem;width:3.5rem;height:3.5rem;border-radius:50%;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #00000026;border:none;cursor:pointer;z-index:100;transition:transform .2s,background-color .2s}.floating-action-btn:hover{background-color:hsl(var(--primary) / .9);transform:scale(1.05)}.floating-action-btn:active{transform:scale(.95)}.create-order-modal{width:min(420px,100%);background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) * 1.25);padding:1.25rem;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;gap:1rem;max-height:90vh;overflow-y:auto}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.modal-close-button{background:transparent;border:none;font-size:1.25rem;color:hsl(var(--foreground));cursor:pointer;padding:0;line-height:1}.modal-close-button:hover{color:hsl(var(--destructive))}.change-password-modal{width:min(420px,100%);background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) * 1.25);padding:1.25rem;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;gap:.85rem}.change-password-overlay{align-items:center;justify-content:center}.orders-layout{display:flex;gap:1rem;margin-top:1rem}.orders-list-panel,.orders-detail-panel{padding:1rem;display:flex;flex-direction:column;gap:.75rem;min-height:0}.orders-list-panel{width:100%;padding:0}.orders-list{display:flex;flex-direction:column;gap:.5rem;padding:0}.order-card{width:100%;text-align:left;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) * 1.5);padding:0;background:hsl(var(--card));display:flex;flex-direction:column;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 1px 2px #0000000d}.order-card:hover{border-color:hsl(var(--primary) / .4);transform:translateY(-2px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.order-card:active{transform:translateY(0)}.order-card-layout{display:flex;justify-content:space-between;gap:1rem;align-items:center;align-self:start;width:100%}.order-card-left{flex:1;min-width:0;display:flex;flex-direction:column;gap:.35rem}.order-card-right{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem;flex-shrink:0}.order-customer--card{font-weight:700;font-size:1.1rem;margin:0;color:hsl(var(--foreground));letter-spacing:-.01em}.order-card-date{margin:0;font-size:.8rem;color:hsl(var(--muted-foreground));display:flex;align-items:center;gap:.5rem}.order-card-amount{font-size:1.15rem;font-weight:800;color:hsl(var(--foreground));margin:0}.order-card--new{border-left:4px solid hsl(var(--primary))}.order-card--delivered{border-left:4px solid #10b981}.order-card--overdue{border-left:4px solid hsl(var(--destructive))}.order-card--paid{border-left:4px solid hsl(var(--primary))}.order-card-id{margin:0;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.order-customer--card{font-weight:600}.order-card-date{margin:0;font-size:.85rem;color:hsl(var(--muted-foreground))}.order-card-total-label{margin:0}.order-card-meta{text-align:right}.order-card-status{display:flex;align-items:center;gap:.5rem}.order-card-status-indicator{width:.55rem;height:.55rem;border-radius:50%;display:inline-block;background:hsl(var(--muted))}.order-card-status-indicator--paid{background:hsl(var(--primary))}.order-card-status-indicator--unpaid{background:hsl(var(--muted))}.order-card-status-indicator--overdue{background:hsl(var(--destructive))}.order-card-status-indicator--unknown{background:hsl(var(--border))}.order-card-status-indicator--draft{background:hsl(var(--muted-foreground))}.order-card--active{border-color:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary) / .3);background:hsl(var(--primary) / .08)}.order-card-heading{display:flex;align-items:center;justify-content:space-between}.order-customer{margin:0;font-size:.9rem;color:hsl(var(--muted-foreground))}.order-card-body{display:flex;justify-content:space-between}.orders-detail-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.orders-detail-id{margin:0;font-weight:600;font-size:1rem;word-break:break-word}.orders-detail-header-bar{display:flex;align-items:center;gap:.5rem;margin-left:auto}.orders-detail-summary{display:flex;align-items:flex-end;gap:1.5rem;flex-wrap:wrap}.orders-items-section h3{margin:0;font-size:1rem}.orders-items-table-wrap{overflow-x:auto}.orders-items-table{width:100%;border-collapse:collapse;font-size:.85rem;margin-top:.5rem}.orders-items-table th,.orders-items-table td{padding:.5rem .25rem;border-bottom:1px solid hsl(var(--border))}.orders-item-quantity-input{width:5rem;border-radius:var(--radius);border:1px solid hsl(var(--border));padding:.25rem .35rem;font-size:.85rem;background:hsl(var(--card))}.orders-item-actions-cell{display:flex;gap:.35rem;justify-content:flex-end;align-items:center}.orders-item-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.orders-item-modal{background:hsl(var(--background));border-radius:var(--radius);width:min(90vw,420px);max-width:420px;padding:1.25rem;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;gap:.9rem}.orders-item-modal-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.orders-item-modal-body{display:flex;flex-direction:column;gap:.35rem}.orders-item-modal-body label{font-size:.75rem;letter-spacing:.05em;font-weight:600;color:hsl(var(--muted-foreground))}.orders-item-modal-body select,.orders-item-modal-body input{border-radius:var(--radius);border:1px solid hsl(var(--border));padding:.4rem .5rem;font-size:.95rem;background:hsl(var(--card))}.orders-item-modal-actions{display:flex;justify-content:flex-end;gap:.5rem}.orders-payment-split-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.orders-payment-split-modal{background:hsl(var(--background));border-radius:var(--radius);width:min(90vw,420px);max-width:420px;padding:1.25rem;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;gap:.75rem}.orders-payment-split-modal-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding-bottom:8px}.orders-payment-split-modal-body{display:flex;flex-direction:column;gap:1.5rem}.orders-payment-split-modal-body label{font-size:.75rem;letter-spacing:.05em;font-weight:600;color:hsl(var(--muted-foreground))}.orders-payment-split-modal-body input{border-radius:var(--radius);border:1px solid hsl(var(--border));padding:.4rem .5rem;font-size:.95rem;background:hsl(var(--card))}.orders-payment-split-modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:16px}.orders-form-section{display:flex;flex-direction:column;gap:1rem;margin-top:.75rem}.orders-form-row select,.orders-form-row textarea,.orders-form-row input{margin-bottom:.35rem}.orders-form-row label{font-size:.75rem;letter-spacing:.05em;font-weight:600;margin-bottom:.25rem;display:block;color:hsl(var(--muted-foreground))}.orders-status-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.orders-detail-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.4rem .75rem}.status-pill{border-radius:999px;padding:.15rem .75rem;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;border:1px solid hsl(var(--border));background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.status-pill--paid{border-color:hsl(var(--primary));color:hsl(var(--primary));background:hsl(var(--primary) / .12)}.status-pill--unpaid{border-color:hsl(var(--border));color:hsl(var(--foreground));background:hsl(var(--card))}.status-pill--overdue{border-color:hsl(var(--destructive));color:hsl(var(--destructive));background:hsl(var(--destructive) / .12)}.helper-text{margin:0;font-size:.85rem;color:hsl(var(--muted-foreground))}.form-error{margin:0;font-size:.85rem;color:hsl(var(--destructive))}.success-text{margin:0;padding:.75rem;background:hsl(var(--primary) / .1);border:1px solid hsl(var(--primary) / .2);border-radius:var(--radius);color:hsl(var(--primary));font-size:.875rem}.orders-list-header{padding:1rem;display:flex;justify-content:space-between;align-items:center}.orders-detail-summary strong{font-size:1.25rem}@media (max-width: 960px){.orders-layout{flex-direction:column}.orders-list-panel{flex:1 1 auto;order:2}.orders-detail-panel{order:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
