:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}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}}#root{max-width:1200px;margin:0 auto;padding:2rem;min-height:100vh}.app{text-align:left}.app-header{text-align:center;margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px}.app-header h1{margin:0 0 .5rem;font-size:2.5rem}.app-header p{margin:0;opacity:.9;font-size:1.1rem}.connect-wallet{text-align:center;padding:3rem;background:#f8f9fa;border-radius:12px;border:2px dashed #dee2e6}.connect-wallet h2{color:#495057;margin-bottom:1rem}.connect-wallet p{color:#6c757d;margin-bottom:2rem}.wallet-options{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.wallet-button{padding:1rem 2rem;background:#007bff;color:#fff;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .2s}.wallet-button:hover{background:#0056b3}.user-info{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#e9ecef;border-radius:8px;margin-bottom:2rem;font-family:monospace}.disconnect-button{padding:.5rem 1rem;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem}.disconnect-button:hover{background:#c82333}.tabs{display:flex;gap:0;margin-bottom:2rem;border-bottom:1px solid #dee2e6}.tab{padding:1rem 2rem;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1rem;color:#495057;transition:all .2s}.tab:hover{background:#f8f9fa;color:#007bff}.tab.active{color:#007bff;border-bottom-color:#007bff;background:#f8f9fa}.create-class{max-width:600px;margin:0 auto}.create-class h2{color:#495057;margin-bottom:1rem}.create-class p{color:#6c757d;margin-bottom:2rem}.class-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#495057}.form-group input,.form-group textarea,.form-group select{padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.submit-button{padding:1rem 2rem;background:#28a745;color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background-color .2s;margin-top:1rem}.submit-button:hover:not(:disabled){background:#218838}.submit-button:disabled{background:#6c757d;cursor:not-allowed}.success-message{text-align:center;padding:2rem;background:#d4edda;border:1px solid #c3e6cb;border-radius:8px;color:#155724}.success-message h3{margin-bottom:1rem;color:#155724}.success-message code{background:#f8f9fa;padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.9rem;word-break:break-all}.create-another-button{padding:.75rem 1.5rem;background:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;margin-top:1rem}.transaction-list h2{color:#495057;margin-bottom:1rem}.help-text{color:#6c757d;margin-bottom:2rem}.transactions{display:flex;flex-direction:column;gap:1.5rem}.no-transactions{text-align:center;padding:3rem;background:#f8f9fa;border-radius:12px;color:#6c757d}.loading{text-align:center;padding:2rem;color:#6c757d}.transaction-card{border:1px solid #dee2e6;border-radius:12px;padding:1.5rem;background:#fff;box-shadow:0 2px 4px #0000001a;transition:box-shadow .2s}.transaction-card:hover{box-shadow:0 4px 8px #00000026}.transaction-card.resolved{background:#f8f9fa;border-color:#28a745}.transaction-card.buyer{border-left:4px solid #007bff}.transaction-card.seller{border-left:4px solid #28a745}.transaction-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #dee2e6}.transaction-header h3{margin:0;color:#495057;display:flex;align-items:center;gap:1rem}.resolved-badge{background:#28a745;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:400}.transaction-amount{font-size:1.25rem;font-weight:600;color:#007bff}.transaction-details{margin-bottom:1.5rem}.detail-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:.5rem 0}.detail-row span:first-child{font-weight:600;color:#495057;min-width:100px}.detail-row span:last-child{flex:1;text-align:right}.address{font-family:monospace;font-size:.9rem;word-break:break-all}.you-badge{background:#007bff;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.7rem;margin-left:.5rem}.status{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.status[data-status="0"]{background:#d1ecf1;color:#0c5460}.status[data-status="6"]{background:#d4edda;color:#155724}.expired{color:#dc3545;font-weight:600}.transaction-actions{border-top:1px solid #dee2e6;padding-top:1.5rem}.payment-section,.execute-section,.refund-section{margin-bottom:1.5rem}.payment-section h4,.execute-section h4,.refund-section h4{margin-bottom:1rem;color:#495057}.payment-input{display:flex;gap:1rem;margin-bottom:.5rem}.payment-input input{flex:1;padding:.5rem;border:1px solid #ced4da;border-radius:6px}.pay-button,.execute-button,.refund-button{padding:.5rem 1rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.pay-button{background:#28a745;color:#fff}.pay-button:hover:not(:disabled){background:#218838}.execute-button{background:#ffc107;color:#212529}.execute-button:hover:not(:disabled){background:#e0a800}.refund-button{background:#dc3545;color:#fff}.refund-button:hover:not(:disabled){background:#c82333}.pay-button:disabled,.execute-button:disabled,.refund-button:disabled{background:#6c757d;cursor:not-allowed}.payment-note{font-size:.9rem;color:#6c757d;margin:0}.observer-note,.resolved-note,.refund-note{text-align:center;padding:1rem;background:#f8f9fa;border-radius:6px;color:#6c757d}.refund-note{text-align:left;background:#fff3cd;border:1px solid #ffeaa7;color:#856404}.resolved-note{background:#d4edda;color:#155724}@media (max-width: 768px){#root{padding:1rem}.app-header h1{font-size:2rem}.tabs{flex-direction:column}.tab{text-align:center}.transaction-header{flex-direction:column;align-items:flex-start;gap:1rem}.detail-row{flex-direction:column;align-items:flex-start;gap:.25rem}.detail-row span:last-child{text-align:left}.payment-input{flex-direction:column}.wallet-options{flex-direction:column;align-items:center}.user-info{flex-direction:column;gap:1rem;text-align:center}}
