*{box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#fefefe,#f8fafc);margin:0;padding:0;min-height:100vh}:where([data-page=payment-history],[data-page=workflow]) .workflow-container{max-width:1400px;padding:20px;margin:80px auto 0}:where([data-page=payment-history],[data-page=workflow]) .workflow-header{text-align:center;margin-bottom:40px;padding:40px 0}:where([data-page=payment-history],[data-page=workflow]) .header-content h1{font-size:clamp(1.5rem,5vw,2.5rem);font-weight:700;color:#1e293b;margin:0 0 16px;background:linear-gradient(135deg,#8b7cf6,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}:where([data-page=payment-history],[data-page=workflow]) .header-content p{font-size:1.125rem;color:#64748b;margin:0;font-weight:400}:where([data-page=payment-history],[data-page=workflow]) .search-filter-section{display:flex;gap:20px;margin-bottom:40px;align-items:center;flex-wrap:wrap}:where([data-page=payment-history],[data-page=workflow]) .search-box{position:relative;flex:1 1;min-width:200px}:where([data-page=payment-history],[data-page=workflow]) .search-box input{width:100%;padding:12px 48px 12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:16px;background:white;transition:all .3s ease}:where([data-page=payment-history],[data-page=workflow]) .search-box input:focus{outline:none;border-color:#8b7cf6;box-shadow:0 0 0 3px rgba(139,124,246,.1)}:where([data-page=payment-history],[data-page=workflow]) .search-box svg{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#94a3b8}:where([data-page=payment-history],[data-page=workflow]) .filter-options{display:flex;gap:12px;flex-wrap:wrap}:where([data-page=payment-history],[data-page=workflow]) .filter-options select{padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;background:white;font-size:14px;color:#374151;cursor:pointer;transition:all .3s ease;min-width:140px}:where([data-page=payment-history],[data-page=workflow]) .filter-options select:focus{outline:none;border-color:#8b7cf6;box-shadow:0 0 0 3px rgba(139,124,246,.1)}:where([data-page=payment-history],[data-page=workflow]) .workflow-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}:where([data-page=payment-history],[data-page=workflow]) .workflow-card{background:white;border-radius:16px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e2e8f0;transition:all .3s ease;position:relative;overflow:hidden}:where([data-page=payment-history],[data-page=workflow]) .workflow-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(139,124,246,.15);border-color:#8b7cf6}:where([data-page=payment-history],[data-page=workflow]) .workflow-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#8b7cf6,#7c3aed)}:where([data-page=payment-history],[data-page=workflow]) .workflow-header-section{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}:where([data-page=payment-history],[data-page=workflow]) .workflow-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0;line-height:1.3}:where([data-page=payment-history],[data-page=workflow]) .workflow-author{font-size:.875rem;color:#64748b;margin-top:4px}:where([data-page=payment-history],[data-page=workflow]) .workflow-stats{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#64748b}:where([data-page=payment-history],[data-page=workflow]) .stat-item{display:flex;align-items:center;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .workflow-description{color:#64748b;font-size:.875rem;line-height:1.5;margin-bottom:20px}:where([data-page=payment-history],[data-page=workflow]) .workflow-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}:where([data-page=payment-history],[data-page=workflow]) .metric-item{display:flex;flex-direction:column;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .metric-label{font-size:.75rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.5px}:where([data-page=payment-history],[data-page=workflow]) .metric-value{font-size:1rem;font-weight:600;color:#1e293b}:where([data-page=payment-history],[data-page=workflow]) .metric-value.price{color:#10b981}:where([data-page=payment-history],[data-page=workflow]) .metric-value.models{color:#8b7cf6}:where([data-page=payment-history],[data-page=workflow]) .workflow-actions{display:flex;gap:12px;margin-top:20px}:where([data-page=payment-history],[data-page=workflow]) .action-btn{flex:1 1;padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:6px}:where([data-page=payment-history],[data-page=workflow]) .action-btn.details{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}:where([data-page=payment-history],[data-page=workflow]) .action-btn.details:hover{background:#e2e8f0;color:#334155}:where([data-page=payment-history],[data-page=workflow]) .action-btn.try-now{background:linear-gradient(135deg,#8b7cf6,#7c3aed);color:white}:where([data-page=payment-history],[data-page=workflow]) .action-btn.try-now:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);transform:translateY(-1px);box-shadow:0 4px 12px rgba(139,124,246,.3)}:where([data-page=payment-history],[data-page=workflow]) .modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}:where([data-page=payment-history],[data-page=workflow]) .modal-content{border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.2);max-width:600px;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}:where([data-page=payment-history],[data-page=workflow]) .modal-header{padding:24px 24px 16px;border-bottom:1px solid #e2e8f0}:where([data-page=payment-history],[data-page=workflow]) .modal-header h2{font-size:20px;color:#1e293b}:where([data-page=payment-history],[data-page=workflow]) .close-btn{color:#64748b;padding:4px;border-radius:4px}:where([data-page=payment-history],[data-page=workflow]) .close-btn:hover{background:#f1f5f9;color:#334155}:where([data-page=payment-history],[data-page=workflow]) .token-info p{color:#64748b}:where([data-page=payment-history],[data-page=workflow]) .token-item{padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:8px;border:1px solid #e2e8f0}:where([data-page=payment-history],[data-page=workflow]) .token-info-left{display:flex;flex-direction:column;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .token-name{color:#1e293b;font-size:14px}:where([data-page=payment-history],[data-page=workflow]) .token-details{font-size:12px;color:#64748b}:where([data-page=payment-history],[data-page=workflow]) .token-price{color:#10b981;font-size:14px}:where([data-page=payment-history],[data-page=workflow]) .total-section{border-top:1px solid #e2e8f0;padding-top:16px}:where([data-page=payment-history],[data-page=workflow]) .total-row{align-items:center;font-size:16px;color:#1e293b}:where([data-page=payment-history],[data-page=workflow]) .modal-footer{padding:16px 24px 24px;border-top:1px solid #e2e8f0}:where([data-page=payment-history],[data-page=workflow]) .action-btn.cancel-btn{background:#f1f5f9;color:#64748b}:where([data-page=payment-history],[data-page=workflow]) .action-btn.cancel-btn:hover{background:#e2e8f0;color:#334155}:where([data-page=payment-history],[data-page=workflow]) .action-btn.purchase-btn{background:linear-gradient(135deg,#10b981,#059669)}:where([data-page=payment-history],[data-page=workflow]) .action-btn.purchase-btn:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px rgba(16,185,129,.3)}@media (max-width:1024px){:where([data-page=payment-history],[data-page=workflow]) .workflow-container{max-width:100%;padding:16px;margin-top:60px}:where([data-page=payment-history],[data-page=workflow]) .workflow-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}:where([data-page=payment-history],[data-page=workflow]) .header-content h1{font-size:2rem}:where([data-page=payment-history],[data-page=workflow]) .modal-content{width:95%;max-width:550px}}@media (max-width:768px){:where([data-page=payment-history],[data-page=workflow]) .workflow-container{padding:16px}:where([data-page=payment-history],[data-page=workflow]) .workflow-header{padding:24px 0}:where([data-page=payment-history],[data-page=workflow]) .header-content h1{font-size:2rem}:where([data-page=payment-history],[data-page=workflow]) .search-filter-section{flex-direction:column;align-items:stretch}:where([data-page=payment-history],[data-page=workflow]) .search-box{min-width:auto}:where([data-page=payment-history],[data-page=workflow]) .filter-options{width:100%;gap:10px}:where([data-page=payment-history],[data-page=workflow]) .filter-options select{flex:1 1;min-width:150px}:where([data-page=payment-history],[data-page=workflow]) .workflow-grid{grid-template-columns:1fr;gap:20px}:where([data-page=payment-history],[data-page=workflow]) .workflow-metrics{grid-template-columns:1fr;gap:12px}:where([data-page=payment-history],[data-page=workflow]) .workflow-actions{flex-direction:column}}@media (max-width:480px){:where([data-page=payment-history],[data-page=workflow]) .workflow-container{padding:12px;margin-top:70px}:where([data-page=payment-history],[data-page=workflow]) .workflow-header{margin-bottom:24px;padding:20px 0}:where([data-page=payment-history],[data-page=workflow]) .header-content h1{font-size:1.5rem;margin-bottom:12px}:where([data-page=payment-history],[data-page=workflow]) .header-content p{font-size:.875rem}:where([data-page=payment-history],[data-page=workflow]) .search-box{min-width:100%}:where([data-page=payment-history],[data-page=workflow]) .search-box input{font-size:14px;padding:10px 40px 10px 12px}:where([data-page=payment-history],[data-page=workflow]) .filter-options{width:100%;flex-direction:column;gap:8px}:where([data-page=payment-history],[data-page=workflow]) .filter-options select{width:100%;min-width:unset;font-size:13px;padding:10px 14px}:where([data-page=payment-history],[data-page=workflow]) .workflow-card{padding:16px}:where([data-page=payment-history],[data-page=workflow]) .workflow-title{font-size:1.1rem}:where([data-page=payment-history],[data-page=workflow]) .workflow-description{font-size:.8125rem}:where([data-page=payment-history],[data-page=workflow]) .action-btn{padding:8px 12px;font-size:13px}:where([data-page=payment-history],[data-page=workflow]) .modal-content{width:96%;max-height:85vh;border-radius:16px}:where([data-page=payment-history],[data-page=workflow]) .modal-header{padding:16px}:where([data-page=payment-history],[data-page=workflow]) .modal-body{padding:16px;max-height:55vh}:where([data-page=payment-history],[data-page=workflow]) .modal-footer{padding:12px 16px}}:where([data-page=payment-history],[data-page=workflow]) .loading{text-align:center;padding:40px;color:#64748b}:where([data-page=payment-history],[data-page=workflow]) .loading:after{content:"";display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid #e2e8f0;border-top-color:#8b7cf6;animation:spin 1s ease-in-out infinite;margin-left:8px}@keyframes spin{to{transform:rotate(1turn)}}:where([data-page=payment-history],[data-page=workflow]) .action-btn.try-now.disabled{background:#9ca3af;cursor:pointer;transform:none;box-shadow:none}:where([data-page=payment-history],[data-page=workflow]) .action-btn.try-now.disabled:hover{background:#6b7280;transform:translateY(-1px);box-shadow:0 4px 12px rgba(107,114,128,.3)}:where([data-page=payment-history],[data-page=workflow]) .metric-item.status-ok .metric-value.status{color:#10b981}:where([data-page=payment-history],[data-page=workflow]) .metric-item.status-warning .metric-value.status{color:#f59e0b}:where([data-page=payment-history],[data-page=workflow]) .modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:none;justify-content:center;align-items:center;z-index:1000}:where([data-page=payment-history],[data-page=workflow]) .modal-overlay.show{display:flex}:where([data-page=payment-history],[data-page=workflow]) .modal-content{background:white;border-radius:16px;width:90%;max-width:500px;max-height:80vh;overflow:hidden;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}:where([data-page=payment-history],[data-page=workflow]) .modal-header{padding:24px 24px 0;display:flex;justify-content:space-between;align-items:center}:where([data-page=payment-history],[data-page=workflow]) .modal-header h2{margin:0;font-size:1.5rem;font-weight:600;color:#1f2937}:where([data-page=payment-history],[data-page=workflow]) .close-btn{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}:where([data-page=payment-history],[data-page=workflow]) .close-btn:hover{background:#f3f4f6;color:#374151}:where([data-page=payment-history],[data-page=workflow]) .modal-body{padding:24px;max-height:60vh;overflow-y:auto}:where([data-page=payment-history],[data-page=workflow]) .token-info{margin-bottom:20px}:where([data-page=payment-history],[data-page=workflow]) .token-info p{margin:0;color:#6b7280;font-size:14px}:where([data-page=payment-history],[data-page=workflow]) .token-list{margin-bottom:20px}:where([data-page=payment-history],[data-page=workflow]) .token-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:12px;background:#f9fafb}:where([data-page=payment-history],[data-page=workflow]) .token-info-left{flex:1 1}:where([data-page=payment-history],[data-page=workflow]) .token-name{font-weight:600;color:#1f2937;margin-bottom:4px}:where([data-page=payment-history],[data-page=workflow]) .token-details{font-size:14px;color:#6b7280}:where([data-page=payment-history],[data-page=workflow]) .token-price{font-weight:600;color:#8b7cf6;font-size:16px}:where([data-page=payment-history],[data-page=workflow]) .total-section{border-top:1px solid #e5e7eb;padding-top:20px}:where([data-page=payment-history],[data-page=workflow]) .total-row{display:flex;justify-content:space-between;font-weight:600;font-size:18px;color:#1f2937}:where([data-page=payment-history],[data-page=workflow]) .modal-footer{padding:24px;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #e5e7eb}:where([data-page=payment-history],[data-page=workflow]) .action-btn.cancel-btn{background:#f3f4f6;color:#6b7280}:where([data-page=payment-history],[data-page=workflow]) .action-btn.cancel-btn:hover{background:#e5e7eb;color:#374151}:where([data-page=payment-history],[data-page=workflow]) .action-btn.purchase-btn{background:linear-gradient(135deg,#8b7cf6,#7c3aed);color:white}:where([data-page=payment-history],[data-page=workflow]) .action-btn.purchase-btn:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);transform:translateY(-1px);box-shadow:0 4px 12px rgba(139,124,246,.3)}:where([data-page=payment-history],[data-page=workflow]) .workflow-details-modal{max-width:700px;max-height:85vh}:where([data-page=payment-history],[data-page=workflow]) .workflow-details-modal .modal-body{padding:24px;max-height:70vh;overflow-y:auto}:where([data-page=payment-history],[data-page=workflow]) .workflow-details-section{margin-bottom:24px}:where([data-page=payment-history],[data-page=workflow]) .workflow-details-section h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}:where([data-page=payment-history],[data-page=workflow]) .workflow-details-section p{margin:0 0 16px;color:#6b7280;line-height:1.6}:where([data-page=payment-history],[data-page=workflow]) .workflow-models-list{display:flex;flex-direction:column;gap:16px}:where([data-page=payment-history],[data-page=workflow]) .workflow-model-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px;position:relative}:where([data-page=payment-history],[data-page=workflow]) .workflow-model-item.ready{border-left:4px solid #10b981}:where([data-page=payment-history],[data-page=workflow]) .workflow-model-item.need-tokens{border-left:4px solid #f59e0b}:where([data-page=payment-history],[data-page=workflow]) .model-item-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}:where([data-page=payment-history],[data-page=workflow]) .model-name{font-weight:600;color:#1f2937;font-size:16px}:where([data-page=payment-history],[data-page=workflow]) .model-status{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500}:where([data-page=payment-history],[data-page=workflow]) .model-status.ready{color:#10b981}:where([data-page=payment-history],[data-page=workflow]) .model-status.need-tokens{color:#f59e0b}:where([data-page=payment-history],[data-page=workflow]) .model-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:14px}:where([data-page=payment-history],[data-page=workflow]) .model-detail-item{display:flex;flex-direction:column;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .model-detail-label{color:#6b7280;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}:where([data-page=payment-history],[data-page=workflow]) .model-detail-value{color:#1f2937;font-weight:500}:where([data-page=payment-history],[data-page=workflow]) .model-detail-value.rating{display:flex;align-items:center;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .workflow-summary{background:#f3f4f6;border-radius:8px;padding:16px;margin-top:16px}:where([data-page=payment-history],[data-page=workflow]) .workflow-summary h4{margin:0 0 12px;color:#1f2937;font-size:16px;font-weight:600}:where([data-page=payment-history],[data-page=workflow]) .summary-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}:where([data-page=payment-history],[data-page=workflow]) .summary-stat{display:flex;flex-direction:column;gap:4px}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-label{font-size:12px;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.5px}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-value{font-size:16px;font-weight:600;color:#1f2937}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-value.price{color:#059669}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-value.status{display:flex;align-items:center;gap:6px}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-value.status.ready{color:#10b981}:where([data-page=payment-history],[data-page=workflow]) .summary-stat-value.status.need-tokens{color:#f59e0b}:where([data-page=payment-history],[data-page=workflow]) .workflow-status-section{cursor:pointer!important;transition:all .2s ease}:where([data-page=payment-history],[data-page=workflow]) .workflow-status-section:hover{background:linear-gradient(135deg,rgba(16,185,129,.15),rgba(5,150,105,.15))!important;transform:translateY(-1px);box-shadow:0 2px 8px rgba(16,185,129,.2)}:where([data-page=payment-history],[data-page=workflow]) .workflow-status-section:active{transform:translateY(0);box-shadow:0 1px 4px rgba(16,185,129,.2)}:where([data-page=payment-history],[data-page=workflow]) .header-right{display:flex;align-items:center;gap:12px}