*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#1a202c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.admin-container{background-color:#f8fafc;min-height:100vh}.navbar{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.navbar-content{align-items:center;display:flex;height:4rem;justify-content:space-between;margin:0 auto;max-width:1200px;padding:0 2rem}.navbar-brand{flex-shrink:0}.brand-link{align-items:center;color:#667eea;display:flex;font-size:1.5rem;font-weight:700;text-decoration:none}.brand-logo{display:block;height:36px;transition:opacity .2s ease;width:auto}.brand-logo:hover{opacity:.85}.navbar-nav{align-items:center;display:flex;flex:1 1;gap:2rem;justify-content:center}.nav-link{border-radius:6px;color:#64748b;font-size:.95rem;font-weight:500;padding:.5rem 1rem;text-decoration:none;transition:all .2s ease}.nav-link:hover{background:#f1f5f9;color:#667eea}.nav-link.active{background:#ede9fe;color:#667eea;font-weight:600}.navbar-actions{align-items:center;display:flex;flex-shrink:0;gap:1rem}.user-name{font-weight:500}.logout-btn,.user-name{color:#64748b;font-size:.875rem}.logout-btn{background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;padding:.5rem 1rem;transition:all .2s ease}.logout-btn:hover{background:#f8fafc;border-color:#667eea;color:#667eea}.main-content{margin:0 auto;max-width:1200px;padding:2rem}.page-header{margin-bottom:2rem}.page-title{color:#2d3748;font-size:2rem;font-weight:600;margin-bottom:.5rem}.page-subtitle{color:#718096;font-size:1rem}.card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.card-header{border-bottom:1px solid #e2e8f0;margin-bottom:1rem;padding-bottom:1rem}.card-title{color:#2d3748;font-size:1.25rem;font-weight:600}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-bottom:2rem}.stat-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:row;gap:1rem;padding:1.5rem;text-align:left;transition:all .2s ease}.stat-card:hover{box-shadow:0 2px 8px #00000026}.stat-icon{align-items:center;background:#f1f5f9;border-radius:50%;display:flex;flex-shrink:0;font-size:1.5rem;height:48px;justify-content:center;width:48px}.stat-content{display:flex;flex-direction:column;gap:.25rem}.stat-value{color:#1e293b;font-size:1.75rem;font-weight:700;line-height:1;margin:0}.stat-label{color:#94a3b8;font-size:.875rem;font-weight:500;letter-spacing:0;text-transform:none}.table-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;overflow-x:auto}.table{background:#fff;border-collapse:collapse;table-layout:auto;width:100%}.table td,.table th{border-bottom:1px solid #e2e8f0;padding:.75rem 1rem;text-align:left;white-space:nowrap}.table th{color:#4a5568;font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.table tbody tr:hover,.table th{background:#f7fafc}.table tbody tr:last-child td{border-bottom:none}.list-container{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;overflow:hidden}.list-header{background:#f7fafc;border-bottom:2px solid #e2e8f0;color:#4a5568;font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.list-header,.list-item{grid-gap:1rem;display:grid;gap:1rem;padding:1rem 1.5rem}.list-item{align-items:center;border-bottom:1px solid #e2e8f0;transition:background .2s}.list-item:hover{background:#f7fafc}.list-item:last-child{border-bottom:none}.btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;justify-content:center;padding:.5rem 1rem;text-decoration:none;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5568d3}.btn-secondary{background:#e2e8f0;color:#4a5568}.btn-secondary:hover{background:#cbd5e0}.btn-success{background:#48bb78;color:#fff}.btn-success:hover{background:#38a169}.btn-danger{background:#f56565;color:#fff}.btn-danger:hover{background:#e53e3e}.btn-sm{font-size:.75rem;padding:.375rem .75rem}.form-group{margin-bottom:1rem}.form-label{color:#4a5568;display:block;font-weight:500;margin-bottom:.5rem}.form-input{border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;padding:.5rem .75rem;transition:border-color .2s;width:100%}.form-input:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a;outline:none}.badge{align-items:center;border-radius:9999px;display:inline-flex;font-size:.75rem;font-weight:500;letter-spacing:.05em;padding:.25rem .5rem;text-transform:uppercase}.badge-success{background:#c6f6d5;color:#22543d}.badge-warning{background:#faf089;color:#744210}.badge-danger{background:#fed7d7;color:#742a2a}.badge-info{background:#bee3f8;color:#2a4365}.loading{align-items:center;display:flex;justify-content:center;padding:2rem}.spinner{animation:spin 1s linear infinite;border:2px solid #e2e8f0;border-radius:50%;border-top-color:#4299e1;height:2rem;width:2rem}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.navbar-content{flex-direction:column;gap:1rem;height:auto;padding:1rem}.navbar-nav{gap:1rem;order:2}.navbar-actions{order:3}.main-content{padding:1rem}.stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.list-header,.list-item{padding:.75rem 1rem}}.admin-order-detail{margin:0 auto;max-width:1400px;padding:2rem}.order-detail-header{align-items:center;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.header-left{gap:1rem}.header-left,.header-right{align-items:center;display:flex}.header-right{gap:.5rem}.order-title{align-items:center;display:flex;gap:1rem}.order-title h1{color:#2d3748;font-size:2rem;font-weight:700;margin:0}.order-info-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin-bottom:2rem}.info-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:2rem}.info-card.bnpl-details{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-left:4px solid #3182ce}.info-card h3{border-bottom:2px solid #e2e8f0;color:#2d3748;font-size:1.25rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:.5rem}.info-item{align-items:center;border-bottom:1px solid #f7fafc;display:flex;justify-content:space-between;padding:.75rem 0}.info-item:last-child{border-bottom:none}.info-item label{color:#4a5568;flex:1 1;font-weight:600}.info-item span{color:#2d3748;font-weight:500;text-align:right}.highlight-amount{color:#38a169!important;font-size:1.1rem!important;font-weight:700!important}.status-accepted{color:#38a169!important;font-weight:600!important}.status-pending{color:#ed8936!important;font-weight:600!important}.address p{color:#2d3748;line-height:1.5;margin:.25rem 0}.order-items-section,.order-timeline-section,.payment-schedule-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;padding:2rem}.order-items-section h3,.order-timeline-section h3,.payment-schedule-section h3{border-bottom:2px solid #e2e8f0;color:#2d3748;font-size:1.5rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:.5rem}.items-table,.schedule-table{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.items-header,.schedule-header{grid-gap:1rem;background:#f7fafc;border-bottom:1px solid #e2e8f0;color:#4a5568;display:grid;font-weight:600;gap:1rem;grid-template-columns:2fr 1.5fr 1fr 1fr 1fr;padding:1rem}.schedule-header{grid-template-columns:1fr 1.5fr 1fr 1fr}.item-row,.schedule-row{grid-gap:1rem;align-items:center;border-bottom:1px solid #f7fafc;display:grid;gap:1rem;grid-template-columns:2fr 1.5fr 1fr 1fr 1fr;padding:1rem}.schedule-row{grid-template-columns:1fr 1.5fr 1fr 1fr}.item-row:last-child,.schedule-row:last-child{border-bottom:none}.product-info h4{color:#2d3748;font-size:1rem;font-weight:600;margin:0 0 .25rem}.product-info p{color:#718096;font-size:.875rem;margin:0}.col-amount,.col-date,.col-merchant,.col-price,.col-quantity,.col-status,.col-total{color:#2d3748;font-weight:500;text-align:right}.col-merchant{color:#4a5568;text-align:left}.order-totals{background:#f7fafc;border-radius:8px;margin-left:auto;margin-top:1.5rem;max-width:350px;padding:1.5rem}.total-row{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.5rem 0}.total-row:last-child{border-bottom:none}.total-final{color:#2d3748;font-size:1.25rem;font-weight:700;margin-top:.5rem;padding-top:.75rem}.fee-amount{color:#e74c3c;font-weight:600}.advanced-amount{color:#667eea;font-size:1.1rem;font-weight:700}.timeline-btn{align-items:center;display:flex;justify-content:center;margin-right:.5rem;padding:.5rem}.timeline-btn svg{display:block}.timeline-overlay{animation:fadeIn .3s ease;background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:999}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.timeline-slideout{animation:slideIn .3s ease;background:#fff;bottom:0;box-shadow:-2px 0 10px #0000001a;display:flex;flex-direction:column;max-width:90vw;position:fixed;right:0;top:0;width:450px;z-index:1000}@keyframes slideIn{0%{transform:translateX(100%)}to{transform:translateX(0)}}.slideout-header{align-items:center;background:#f7fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:1.5rem}.slideout-header h3{color:#2d3748;font-size:1.25rem;margin:0}.close-btn{background:none;border:none;color:#718096;cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem .5rem;transition:color .2s}.close-btn:hover{color:#2d3748}.slideout-content{flex:1 1;overflow-y:auto;padding:1.5rem}.schedule-info{background:#ebf8ff;border:1px solid #90cdf4;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.schedule-info p{color:#2c5282;font-weight:500;margin:0}.schedule-summary{background:#f0fff4;border:1px solid #9ae6b4;border-radius:8px;margin-top:1.5rem;padding:1.5rem}.summary-item{align-items:center;border-bottom:1px solid #c6f6d5;display:flex;justify-content:space-between;padding:.5rem 0}.summary-item:last-child{border-bottom:none;font-size:1.1rem;font-weight:700}.summary-item label,.summary-item span{color:#22543d;font-weight:600}.payment-status.upcoming{background:#fed7d7;color:#c53030}.payment-status.pending,.payment-status.upcoming{border-radius:4px;font-size:.875rem;font-weight:600;padding:.25rem .5rem}.payment-status.pending{background:#feebc8;color:#c05621}.timeline,.timeline-item{position:relative}.timeline-item{margin-bottom:1.5rem;padding-left:2rem}.timeline-item:last-child{margin-bottom:0}.timeline-item:before{background:#e2e8f0;bottom:-24px;content:"";left:5px;position:absolute;top:18px;width:2px}.timeline-item:last-child:before{display:none}.timeline-marker{background:#cbd5e0;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #e2e8f0;height:12px;left:0;position:absolute;top:.25rem;width:12px;z-index:1}.timeline-marker.current{animation:pulse 2s ease-in-out infinite;background:#667eea;box-shadow:0 0 0 2px #667eea,0 0 0 4px #667eea33}@keyframes pulse{0%,to{box-shadow:0 0 0 2px #667eea,0 0 0 4px #667eea33}50%{box-shadow:0 0 0 2px #667eea,0 0 0 8px #667eea66}}.timeline-content{background:#f7fafc;border-left:3px solid #cbd5e0;border-radius:8px;padding:1rem;transition:all .3s ease}.timeline-item.current-step .timeline-content{background:#ede9fe;border-left-color:#667eea;box-shadow:0 2px 8px #667eea26}.timeline-status{color:#2d3748;font-weight:600;margin-bottom:.25rem;text-transform:capitalize}.timeline-item.current-step .timeline-status{color:#667eea}.timeline-note{color:#4a5568;margin-bottom:.5rem}.timeline-date{color:#718096;font-size:.875rem}@media (max-width:768px){.admin-order-detail{padding:1rem}.order-detail-header{align-items:flex-start;flex-direction:column;gap:1rem}.header-left,.order-title{align-items:flex-start;flex-direction:column;gap:.5rem}.order-info-grid{grid-template-columns:1fr}.item-row,.items-header,.schedule-header,.schedule-row{gap:.5rem;grid-template-columns:1fr}.items-header,.schedule-header{display:none}.item-row,.schedule-row{display:block;padding:1rem}.col-amount,.col-date,.col-merchant,.col-price,.col-quantity,.col-status,.col-total{display:block;margin-top:.5rem;text-align:left}.col-merchant:before{content:"Merchant: ";font-weight:600}.col-price:before{content:"Price: ";font-weight:600}.col-quantity:before{content:"Quantity: ";font-weight:600}.col-total:before{content:"Total: ";font-weight:600}.col-date:before{content:"Due Date: ";font-weight:600}.col-amount:before{content:"Amount: ";font-weight:600}.col-status:before{content:"Status: ";font-weight:600}.order-totals{margin-left:0;max-width:none}}.order-info-compact{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1.5fr 1fr;margin-bottom:1.5rem;margin-top:1.5rem}.info-card.compact{padding:1rem}.info-card.compact h3{font-size:1rem;margin-bottom:.75rem}.two-column-layout{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.two-column-layout .column{text-align:left}.info-item.compact{align-items:flex-start;border-bottom:none;display:flex;flex-direction:column;gap:.25rem;justify-content:flex-start;margin-bottom:.5rem;padding:0;text-align:left}.info-item.compact label{color:#64748b;font-size:.7rem;font-weight:500;letter-spacing:.025em;text-align:left;text-transform:uppercase;width:100%}.info-item.compact span{color:#1e293b;font-size:.8rem;text-align:left;width:100%}.info-card.customer-shipping-styled{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1rem}.info-card.customer-shipping-styled>h3{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem}.card-header-with-status{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.card-header-with-status h3{color:#1e293b;font-size:1rem;margin:0}.card-header-with-status .status-badge{border-radius:4px;font-size:.75rem;font-weight:600;padding:.35rem .85rem;text-transform:capitalize}.status-badge.status-completed{background:#d1fae5;color:#065f46}.status-badge.status-pending{background:#fef3c7;color:#92400e}.status-badge.status-processing{background:#dbeafe;color:#1e40af}.status-badge.status-failed{background:#fee2e2;color:#991b1b}.customer-item{align-items:center;display:flex;font-size:.8rem;justify-content:space-between;padding:.5rem 0}.customer-item span{color:#64748b;flex-shrink:0;margin-right:1rem}.customer-item strong{color:#1e293b;font-weight:600;text-align:right}.info-card.bnpl-details-styled{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1rem}.info-card.bnpl-details-styled>h3{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem}.bnpl-item{align-items:center;display:flex;font-size:.8rem;justify-content:space-between;padding:.5rem 0}.bnpl-item span{color:#64748b}.bnpl-item strong{color:#1e293b;font-weight:600}.bnpl-item.highlight{border-bottom:1px solid #e2e8f0;border-top:1px solid #e2e8f0;margin:.25rem 0;padding-bottom:.75rem;padding-top:.75rem}.bnpl-item.highlight strong{color:#059669;font-weight:600}.payment-schedule-section.compact{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-top:1.5rem;padding:1rem}.payment-schedule-section.compact h3{font-size:1rem;margin-bottom:1rem}.schedule-compact-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1.5fr 1fr}.schedule-summary-text{color:#64748b;font-size:.875rem;margin-bottom:1rem}.payment-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(4,1fr)}.payment-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;flex-direction:column;gap:.5rem;padding:.75rem;text-align:left}.payment-num{color:#1e293b;font-size:.75rem;font-weight:600}.payment-date{color:#64748b;font-size:.7rem}.payment-status-badge{border-radius:4px;font-size:.7rem;font-weight:500;padding:.25rem .5rem}.payment-status-badge.pending{background:#fef3c7;color:#92400e}.revenue-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;flex-direction:column;gap:.75rem;padding:1rem}.revenue-item{align-items:center;display:flex;font-size:.875rem;justify-content:space-between}.revenue-item span{color:#64748b}.revenue-item strong{color:#1e293b;font-weight:600}.revenue-item.highlight{border-top:2px solid #e2e8f0;margin-top:.25rem;padding-top:.75rem}.revenue-item.highlight span,.revenue-item.highlight strong{color:#059669;font-weight:600}.order-financials-combined{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-top:1.5rem;padding:1.5rem}.order-financials-combined h3{color:#1e293b;font-size:1.1rem;margin-bottom:1rem}.combined-layout{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1.5fr 1fr}.items-table-compact{font-size:.8rem}.items-table-compact .items-header{background:#f8fafc;border-radius:4px;color:#64748b;font-size:.75rem;font-weight:600;letter-spacing:.025em;padding:.5rem;text-transform:uppercase}.item-row-compact,.items-table-compact .items-header{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:2fr 1.5fr 1fr .5fr 1fr}.item-row-compact{align-items:center;border-bottom:1px solid #f1f5f9;padding:.75rem .5rem}.item-row-compact:last-child{border-bottom:none}.product-name{color:#1e293b;font-size:.85rem;font-weight:500}.product-sku{color:#94a3b8;font-size:.7rem;margin-top:.25rem}.order-totals-compact{margin-top:1rem;padding-top:1rem}.order-totals-compact .total-row{display:flex;font-size:.85rem;justify-content:space-between;padding:.5rem 0}.order-totals-compact .total-row.total-final{font-size:.95rem;font-weight:600;margin-top:.5rem;padding-top:.75rem}.order-totals-compact .advanced-amount{color:#059669;font-weight:600}.order-totals-compact .fee-amount{color:#dc2626}.financials-section{display:flex;flex-direction:column;gap:1.5rem}.payment-schedule-vertical h4,.revenue-summary-compact h4{color:#1e293b;font-size:.9rem;font-weight:600;margin-bottom:.75rem}.schedule-info{color:#64748b;font-size:.75rem;margin-bottom:.75rem}.payments-list{display:flex;flex-direction:column;gap:.5rem}.payment-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;display:flex;font-size:.75rem;justify-content:space-between;padding:.5rem}.payment-label{color:#1e293b;flex:1 1;font-weight:500}.payment-row .payment-date{color:#64748b;flex:1.5 1;text-align:left}.payment-row .payment-status-badge{background:#fef3c7;border-radius:3px;color:#92400e;font-size:.7rem;padding:.2rem .5rem}.revenue-summary-compact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin-top:1.5rem;padding:1rem}.revenue-summary-compact .revenue-item{display:flex;font-size:.8rem;justify-content:space-between;padding:.5rem 0}.revenue-summary-compact .revenue-item span{color:#64748b}.revenue-summary-compact .revenue-item strong{color:#1e293b;font-weight:600}.revenue-summary-compact .revenue-item.highlight{border-top:2px solid #e2e8f0;margin-top:.5rem;padding-top:.75rem}.revenue-summary-compact .revenue-item.highlight span,.revenue-summary-compact .revenue-item.highlight strong{color:#059669;font-weight:600}.chart-section{background:#fff;border-radius:12px;box-shadow:0 2px 4px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.chart-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.chart-section .section-header h2{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:0}.time-filter-buttons{background:#f3f4f6;border-radius:8px;display:flex;gap:.5rem;padding:.25rem}.time-filter-btn{background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease;white-space:nowrap}.time-filter-btn:hover{background:#e5e7eb;color:#374151}.time-filter-btn.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#6366f1;font-weight:600}.chart-container{background:#fff;border:1px solid #f3f4f6;border-radius:8px;padding:1rem}@media (max-width:1024px){.combined-layout,.item-row-compact,.items-table-compact .items-header,.order-info-compact,.schedule-compact-grid,.two-column-layout{grid-template-columns:1fr}}.model-page{margin:0 auto;max-width:1400px;padding:2rem}.model-header{align-items:center;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1.5rem}.model-header h1{color:#1e293b;font-size:2rem;margin:0 0 .5rem}.model-version{color:#64748b;font-size:.875rem;margin:0}.model-content{display:flex;flex-direction:column;gap:2rem}.model-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:2rem}.model-section h2{color:#1e293b;font-size:1.5rem;margin:0 0 .5rem}.section-description{color:#64748b;font-size:.875rem;margin:0 0 1.5rem}.metrics-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.metric-item{display:flex;flex-direction:column;gap:.5rem}.metric-item label{color:#475569;font-size:.875rem;font-weight:600}.metric-input{border:1px solid #cbd5e1;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .2s}.metric-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.parameters-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.parameter-item{display:flex;flex-direction:column;gap:.5rem}.parameter-item label{color:#475569;font-size:.875rem;font-weight:600}.parameter-input{border:1px solid #cbd5e1;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .2s}.parameter-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.payment-schedule-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem}.payment-schedule-section h3{color:#1e293b;font-size:1.125rem;margin:0 0 .5rem}.schedule-description{color:#64748b;font-size:.875rem;margin:0 0 1rem}.payment-schedule-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1rem}.schedule-item{display:flex;flex-direction:column;gap:.5rem}.schedule-item label{color:#475569;font-size:.875rem;font-weight:600}.schedule-input{border:1px solid #cbd5e1;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .2s}.schedule-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.schedule-sum{border-radius:6px;font-size:1rem;font-weight:600;padding:.75rem;text-align:center}.schedule-sum.valid{background:#d1fae5;color:#065f46}.schedule-sum.invalid{background:#fee2e2;color:#991b1b}.test-section{background:#fefce8;border-color:#fde047}.test-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}.test-inputs h3{color:#1e293b;font-size:1.125rem;margin:0 0 1rem}.test-input-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem}.test-input-item{display:flex;flex-direction:column;gap:.5rem}.test-input-item label{color:#475569;font-size:.875rem;font-weight:600}.test-input{border:1px solid #cbd5e1;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .2s}.test-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.test-button{font-size:1rem;font-weight:600;padding:1rem;width:100%}.test-results{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem}.test-results h3{color:#1e293b;font-size:1.125rem;margin:0 0 1rem}.approval-status{align-items:center;border-radius:8px;display:flex;flex-direction:column;margin-bottom:1.5rem;padding:2rem}.approval-status.approved{background:#d1fae5;border:2px solid #059669}.approval-status.rejected{background:#fee2e2;border:2px solid #dc2626}.status-icon{font-size:3rem;margin-bottom:.5rem}.approval-status.approved .status-icon{color:#059669}.approval-status.rejected .status-icon{color:#dc2626}.status-text{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.approval-status.approved .status-text{color:#065f46}.approval-status.rejected .status-text{color:#991b1b}.status-score{color:#64748b;font-size:1rem;font-weight:600}.max-loan-info{background:#3b82f61a;border-radius:4px;color:#3b82f6;font-size:.875rem;font-weight:600;margin-top:.5rem;padding:.5rem 1rem}.rejection-reasons{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.rejection-reasons h4{color:#991b1b;font-size:1rem;margin:0 0 .5rem}.rejection-reasons ul{color:#dc2626;margin:0;padding-left:1.5rem}.rejection-reasons li{margin-bottom:.25rem}.loan-details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:1.5rem}.loan-details h4{color:#1e293b;font-size:1rem;margin:0 0 1rem}.loan-detail-item{border-bottom:1px solid #e2e8f0;display:flex;font-size:.875rem;justify-content:space-between;padding:.75rem 0}.loan-detail-item:last-child{border-bottom:none}.loan-detail-item span{color:#64748b}.loan-detail-item strong{color:#1e293b;font-weight:600}.loan-detail-item.highlight{background:#fef3c7;border:1px solid #fde047;border-radius:4px;margin:.5rem -.5rem;padding:.75rem}.loan-detail-item strong.green{color:#059669}.payment-schedule-results{border-top:2px solid #e2e8f0;margin-top:1.5rem;padding-top:1.5rem}.payment-schedule-results h5{color:#1e293b;font-size:.875rem;font-weight:600;letter-spacing:.05em;margin:0 0 1rem;text-transform:uppercase}.payment-row-result{grid-gap:.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;display:grid;font-size:.875rem;gap:.5rem;grid-template-columns:1fr .8fr 1.2fr 1fr;margin-bottom:.5rem;padding:.75rem}.payment-row-result span{color:#475569}.payment-row-result span:first-child{color:#1e293b;font-weight:600}@media (max-width:1024px){.payment-row-result,.test-grid,.test-input-grid{grid-template-columns:1fr}.payment-row-result{gap:.25rem}}@media (max-width:768px){.model-page{padding:1rem}.model-header{align-items:flex-start;flex-direction:column;gap:1rem}.metrics-grid,.parameters-grid{grid-template-columns:1fr}.payment-schedule-grid{grid-template-columns:repeat(2,1fr)}}.support-page{padding:2rem}.filters-section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;margin-bottom:2rem;padding:1.5rem}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{color:#4a5568;font-size:.875rem;font-weight:600}.filter-group input,.filter-group select{border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;padding:.5rem}.search-group{flex:1 1}.search-group input{width:100%}.priority-select,.status-select-small{border:1px solid #e2e8f0;border-radius:4px;font-size:.875rem;padding:.25rem .5rem}.priority-badge{border-radius:4px;font-size:.75rem;font-weight:600;padding:.25rem .5rem}.priority-low{background:#c6f6d5;color:#22543d}.priority-medium{background:#bee3f8;color:#2c5282}.priority-high{background:#fed7d7;color:#c53030}.priority-urgent{background:#fc8181;color:#fff}.ticket-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;left:50%;max-height:90vh;max-width:800px;position:fixed;top:50%;transform:translate(-50%,-50%);width:90%;z-index:1001}.modal-overlay{background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-header{align-items:flex-start;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:1.5rem}.modal-header h3{color:#2d3748;margin:0}.modal-body{flex:1 1;overflow-y:auto;padding:1.5rem}.ticket-info{background:#f7fafc;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.info-row{color:#4a5568;margin-bottom:.5rem}.info-row:last-child{margin-bottom:0}.info-row strong{color:#2d3748;margin-right:.5rem}.ticket-message{margin-bottom:1.5rem}.ticket-message h4{color:#2d3748;margin-bottom:.5rem}.ticket-message p{color:#4a5568;line-height:1.6;white-space:pre-wrap}.responses-section{margin-bottom:1.5rem}.responses-section h4{color:#2d3748;margin-bottom:1rem}.response-item{background:#f7fafc;border-left:3px solid #667eea;border-radius:8px;margin-bottom:1rem;padding:1rem}.response-header{display:flex;font-size:.875rem;justify-content:space-between;margin-bottom:.5rem}.response-header strong{color:#2d3748}.response-header span{color:#718096}.response-item p{color:#4a5568;line-height:1.6;margin:0;white-space:pre-wrap}.response-form{border-top:2px solid #e2e8f0;padding-top:1.5rem}.response-form h4{color:#2d3748;margin-bottom:.75rem}.response-form textarea{border:2px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:.875rem;margin-bottom:1rem;padding:.75rem;resize:vertical;width:100%}.response-form textarea:focus{border-color:#667eea;outline:none}.response-form button{width:100%}@media (max-width:768px){.filters-section{flex-direction:column}.ticket-modal{max-height:95vh;width:95%}}