.dashboard{max-width:1000px;margin:0 auto}.hero{text-align:center;margin-bottom:3rem;display:flex;flex-direction:column;align-items:center}.hero h1{font-size:2.5rem;color:#1e293b;margin-bottom:.5rem;text-align:center;width:100%}.subtitle{font-size:1.125rem;color:#64748b;max-width:600px;margin:0 auto;text-align:center}.card{background:#fff;border-radius:12px;padding:2rem 1.5rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem;transition:box-shadow .2s,transform .2s}.card:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-2px)}.card h2{color:#1e293b;margin-bottom:1rem}.card h3{color:#334155;margin-bottom:.5rem}.error-text{color:#ef4444;margin-top:10px;font-size:.875rem}.success-text{color:#16a34a;margin-top:12px;font-size:.875rem;word-wrap:break-word;overflow-wrap:break-word;width:100%;text-align:center}.button-group{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:auto;width:100%}.button-group>*{height:auto;min-height:44px;display:flex;align-items:center;justify-content:center}.cards-grid .btn{width:100%;text-align:center;justify-content:center;padding:.75rem 1.5rem;font-size:.95rem;font-weight:500}.cards-grid .btn-full{width:100%;display:block}.cards-grid .button-group .btn,.cards-grid .button-group button{width:auto;flex:1;min-width:150px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:500;white-space:nowrap}.cards-grid .card h3{font-size:1.25rem;font-weight:600;margin-bottom:1rem;color:#1e293b;min-height:1.5em;text-align:center;width:100%}.cards-grid .card p{color:#64748b;margin-bottom:1.5rem;line-height:1.6;font-size:.95rem;flex:1;text-align:center;width:100%}.portal-selector{max-width:500px}.portal-display{background:#f1f5f9;border-radius:8px;padding:1rem;margin-top:.5rem}.portal-display strong{color:#475569;font-weight:600}.portal-display .success-text{color:#16a34a;font-size:.875rem;margin-top:.5rem}.portal-selector input{margin-bottom:.5rem}.help-text{font-size:.8125rem;color:#94a3b8}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;margin-bottom:2rem}.cards-grid .card{text-align:center;margin-bottom:0;display:flex;flex-direction:column;height:100%;justify-content:space-between;align-items:center;padding-bottom:2rem;overflow:visible}.card-icon{font-size:3rem;margin-bottom:1rem;line-height:1;display:block}.card-content{display:flex;flex-direction:column;flex:1;align-items:center;width:100%}.info-card{background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;padding:1.5rem}.info-card h3{color:#0c4a6e;margin-bottom:1rem}.info-card ol{color:#0369a1;padding-left:1.5rem}.info-card li{margin-bottom:.5rem}.portal-empty{text-align:center;padding:3rem 2rem;background:#f8fafc;border-radius:12px;border:2px dashed #cbd5e1}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.portal-empty h3{margin:0 0 .5rem;color:#334155;font-size:1.25rem}.portal-empty p{color:#64748b;margin-bottom:1.5rem}.portal-info{display:flex;align-items:center;gap:1rem}.portal-icon{font-size:2rem}.portal-select{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;margin-bottom:.5rem}.portal-selector .success-text{margin:0}.workspace-name{margin:0 0 .5rem;font-size:1.5rem;font-weight:600;color:#111827}.portal-id-text{margin:0 0 .5rem;font-size:.875rem;color:#6b7280;font-family:monospace}.recipes-list{max-width:1200px;margin:0 auto}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.list-header h1{margin:0}.portal-info{display:flex;justify-content:space-between;align-items:center;background:#f1f5f9;padding:1rem 1.5rem;border-radius:8px;margin-bottom:2rem;font-size:.875rem}.portal-id-section{display:flex;align-items:center;gap:.5rem}.portal-info .label{font-weight:600;color:#475569}.portal-info .value{font-family:monospace;color:#667eea;font-weight:600}.recipe-stats{display:flex;gap:1.5rem}.stat-item{display:flex;align-items:center;gap:.5rem}.stat-label{font-weight:600;color:#475569}.stat-value{font-weight:700;font-size:1rem;color:#7c3aed;background:#fff;padding:.25rem .75rem;border-radius:6px}.loading,.empty-state,.error-state{text-align:center;padding:4rem 2rem}.empty-icon,.error-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2,.error-state h2{color:#1e293b;margin-bottom:.5rem}.empty-state p,.error-state p{color:#64748b;margin-bottom:1.5rem}.recipes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.recipe-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;transition:box-shadow .2s;display:flex;flex-direction:column;height:100%}.recipe-card:hover{box-shadow:0 4px 12px #00000026}.recipe-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:.75rem}.recipe-header h3{margin:0;color:#1e293b;font-size:1.25rem;flex:1}.recipe-title{cursor:pointer;transition:color .2s}.recipe-title:hover{color:#7c3aed;text-decoration:underline}.badge{padding:.25rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap}.badge-deal{background:#dbeafe;color:#1e40af}.badge-contact{background:#d1fae5;color:#065f46}.badge-company{background:#fce7f3;color:#9f1239}.recipe-description{color:#64748b;font-size:.875rem;margin-bottom:1rem;line-height:1.5;flex-grow:1;min-height:2.5rem}.recipe-meta{display:flex;gap:1.5rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.meta-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem}.meta-label{color:#64748b;font-weight:500}.meta-value{color:#1e293b;font-weight:600}.status{padding:.125rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.status.enabled{background:#d1fae5;color:#065f46}.status.disabled{background:#fee2e2;color:#991b1b}.recipe-id{background:#f8fafc;padding:.75rem;border-radius:6px;margin-bottom:1rem;margin-top:auto;display:flex;align-items:center;gap:.5rem}.id-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase}.id-value{flex:1;font-family:monospace;font-size:.8125rem;color:#667eea;overflow:hidden;text-overflow:ellipsis}.btn-copy{background:none;border:none;padding:.25rem;cursor:pointer;font-size:1rem;transition:transform .1s}.btn-copy:hover{transform:scale(1.2)}.recipe-actions{display:flex;gap:.5rem;margin-bottom:.75rem}.recipe-actions .btn{flex:1}.recipe-dates{text-align:center;padding-top:.75rem;border-top:1px solid #e2e8f0;margin-top:0}.recipe-dates small{color:#94a3b8;font-size:.75rem}.meta-toggle{display:flex;align-items:center;gap:.75rem;flex:1}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cbd5e1;transition:.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#7c3aed}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-switch input:disabled+.toggle-slider{opacity:.5;cursor:not-allowed}.status-text{font-size:.8125rem;font-weight:600;min-width:70px}.status-text.enabled{color:#16a34a}.status-text.disabled{color:#dc2626}.searchable-dropdown{position:relative;width:100%}.dropdown-input{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border:1px solid #e1e4e8;border-radius:.5rem;background:#fff;cursor:pointer;transition:all .2s}.dropdown-input:hover:not(.disabled){border-color:#0366d6}.dropdown-input.open{border-color:#0366d6;box-shadow:0 0 0 3px #0366d61a}.dropdown-input.disabled{background:#f6f8fa;cursor:not-allowed;opacity:.7}.dropdown-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow{margin-left:.5rem;font-size:.75rem;transition:transform .2s}.dropdown-input.open .dropdown-arrow{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:calc(100% + .25rem);left:0;right:0;max-height:400px;background:#fff;border:1px solid #e1e4e8;border-radius:.5rem;box-shadow:0 10px 40px #0000001a;z-index:1000;overflow:hidden;display:flex;flex-direction:column}.dropdown-search{padding:.75rem;border-bottom:1px solid #e1e4e8}.search-input{width:100%;padding:.5rem .75rem;border:1px solid #e1e4e8;border-radius:.375rem;font-size:.875rem;outline:none}.search-input:focus{border-color:#0366d6;box-shadow:0 0 0 3px #0366d61a}.dropdown-options{flex:1;overflow-y:auto;max-height:300px}.dropdown-option{padding:.625rem 1rem;cursor:pointer;transition:background .1s;display:flex;align-items:center;justify-content:space-between}.dropdown-option:hover{background:#f6f8fa}.dropdown-option.selected{background:#0366d6;color:#fff}.dropdown-option-value{font-size:.75rem;opacity:.7;margin-left:.5rem}.dropdown-empty{padding:2rem;text-align:center;color:#586069}.dropdown-category{margin-bottom:.5rem}.dropdown-category-header{padding:.5rem 1rem;font-size:.75rem;font-weight:600;color:#586069;background:#f6f8fa;text-transform:uppercase;letter-spacing:.05em}.dropdown-footer{padding:.5rem 1rem;font-size:.75rem;color:#586069;background:#f6f8fa;border-top:1px solid #e1e4e8;text-align:center}.recipe-editor{max-width:900px;margin:0 auto}.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.editor-header h1{margin:0}.editor-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.form-section h2{color:#1e293b;margin-bottom:1.5rem;font-size:1.25rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h2{margin:0}.step-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.form-group{margin-bottom:1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.empty-steps{text-align:center;padding:3rem 1rem;color:#64748b;background:#f8fafc;border-radius:8px;border:2px dashed #cbd5e1}.steps-list{display:flex;flex-direction:column;gap:1rem}.step-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.step-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border-bottom:1px solid #e2e8f0}.step-title{display:flex;align-items:center;gap:.75rem}.step-number{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#667eea;color:#fff;border-radius:50%;font-weight:600;font-size:.875rem}.step-type{font-weight:600;color:#1e293b}.step-controls{display:flex;gap:.25rem}.btn-icon{width:2rem;height:2rem;padding:0;display:flex;align-items:center;justify-content:center;background:#e2e8f0;border:none;border-radius:4px;cursor:pointer;font-size:1.25rem;font-weight:700;color:#475569;transition:all .2s}.btn-icon:hover:not(:disabled){background:#cbd5e1}.btn-icon:disabled{opacity:.3;cursor:not-allowed}.btn-danger-icon{background:#fee2e2;color:#dc2626}.btn-danger-icon:hover:not(:disabled){background:#fecaca}.step-config{padding:1rem;display:flex;flex-direction:column;gap:.75rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:8px;text-align:center}.loading{text-align:center;padding:4rem;color:#64748b}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.code-highlighter{position:relative;border-radius:8px;overflow:hidden;background:#1e1e1e;box-shadow:0 2px 8px #0000001a;min-height:200px}.copy-code-button{position:absolute;top:.75rem;right:.75rem;padding:.5rem 1rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.copy-code-button:hover{background:#fff3;border-color:#ffffff4d;transform:translateY(-1px)}.copy-code-button:active{transform:translateY(0)}.code-highlighter pre{margin:0;padding:1rem;overflow-x:auto;font-family:Monaco,Consolas,Courier New,monospace;font-size:14px;line-height:1.6;min-height:inherit}.code-highlighter code{font-family:inherit;background:none;padding:0}.rainbow-code{background:#1e1e1e!important;color:#ccc!important}.rainbow-code .token.comment,.rainbow-code .token.prolog,.rainbow-code .token.doctype,.rainbow-code .token.cdata{color:#7c7c7c;font-style:italic}.rainbow-code .token.punctuation{color:#c5c8c6}.rainbow-code .token.property,.rainbow-code .token.tag,.rainbow-code .token.constant,.rainbow-code .token.symbol,.rainbow-code .token.deleted{color:#ff6b6b}.rainbow-code .token.boolean,.rainbow-code .token.number{color:#ff9f43}.rainbow-code .token.selector,.rainbow-code .token.attr-name,.rainbow-code .token.string,.rainbow-code .token.char,.rainbow-code .token.builtin,.rainbow-code .token.inserted{color:#4cd137}.rainbow-code .token.operator,.rainbow-code .token.entity,.rainbow-code .token.url,.rainbow-code .language-css .token.string,.rainbow-code .style .token.string,.rainbow-code .token.variable{color:#00d2d3}.rainbow-code .token.atrule,.rainbow-code .token.attr-value,.rainbow-code .token.function,.rainbow-code .token.class-name{color:#f368e0}.rainbow-code .token.keyword{color:#48dbfb}.rainbow-code .token.regex,.rainbow-code .token.important{color:#fd79a8}.rainbow-code .token.important,.rainbow-code .token.bold{font-weight:700}.rainbow-code .token.italic{font-style:italic}.code-highlighter.editable{position:relative;background:#1e1e1e}.editor-container{position:relative;overflow:hidden;min-height:600px}.editor-container pre{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:1rem;pointer-events:none;overflow:hidden;white-space:pre-wrap;word-wrap:break-word}.code-textarea-overlay{position:relative;width:100%;min-height:600px;padding:1rem;margin:0;border:none;background:transparent;color:transparent;caret-color:#fff;font-family:Monaco,Consolas,Courier New,monospace;font-size:14px;line-height:1.6;resize:vertical;outline:none;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;z-index:1}.code-textarea-overlay::placeholder{color:#6c6c6c;opacity:1}.code-textarea-overlay::selection{background:#fff3;color:transparent}.code-textarea-overlay::-webkit-scrollbar{width:8px;height:8px}.code-textarea-overlay::-webkit-scrollbar-track{background:#ffffff1a;border-radius:4px}.code-textarea-overlay::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}.code-textarea-overlay::-webkit-scrollbar-thumb:hover{background:#ffffff80}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.rainbow-code .token{animation:fadeIn .3s ease-out}.code-highlighter.inline{display:inline-block;padding:0}.code-highlighter.inline pre{padding:.2rem .4rem;display:inline-block}@media (max-width: 768px){.code-highlighter pre,.code-textarea-overlay{font-size:12px;padding:.75rem}.editor-container,.code-textarea-overlay{min-height:500px}}.recipe-code-editor{max-width:1200px;margin:0 auto;padding:1.5rem;min-height:calc(100vh - 60px);display:flex;flex-direction:column;background:#f8fafc}@media (max-width: 768px){.recipe-code-editor{padding:1rem}}.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.editor-header h1{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0}.recipe-id-display{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:14px}.recipe-id-label{color:#6b7280}.recipe-id-value{background:#f3f4f6;padding:4px 8px;border-radius:4px;color:#374151;font-family:monospace;font-size:13px}.btn-copy{background:none;border:none;cursor:pointer;padding:4px;font-size:16px;opacity:.7;transition:opacity .2s}.btn-copy:hover{opacity:1}.header-actions{display:flex;gap:12px}.editor-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;flex:1;display:flex;flex-direction:column}.form-section{padding:2rem;border-bottom:1px solid #e5e7eb;background:linear-gradient(to bottom,#fff,#fafbfc)}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#475569;margin-bottom:.625rem;letter-spacing:.01em}.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:.9375rem;color:#1e293b;background:#fff;transition:all .2s ease;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;box-shadow:0 1px 2px #0000000d}.form-group input::placeholder,.form-group textarea::placeholder{color:#94a3b8}.form-group input:hover,.form-group textarea:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000f}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a,0 2px 4px #0000000f;background:#fefefe}.form-group textarea{resize:vertical;min-height:5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.form-group input[type=text]:first-of-type{font-size:1rem;font-weight:500;padding:.875rem 1rem}.form-group .toggle-container{display:flex;align-items:center;gap:.75rem}.toggle{position:relative;display:inline-block;width:44px;height:24px}.toggle input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#e5e7eb;transition:.2s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:2px;bottom:2px;background-color:#fff;transition:.2s;border-radius:50%;box-shadow:0 2px 4px #00000026}.toggle input:checked+.toggle-slider{background-color:#7c3aed}.toggle input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-label{font-size:.875rem;color:#4b5563}.code-section{flex:1;display:flex;flex-direction:column;padding:1.5rem;min-height:0;max-height:600px;overflow-y:auto}.code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.code-header h3{font-size:1rem;font-weight:600;color:#374151;margin:0}.code-actions{display:flex;gap:.75rem;align-items:center}.code-editor-wrapper{flex:1;display:flex;flex-direction:column;min-height:300px;max-height:calc(100vh - 400px)}.recipe-code-editor{flex:1;width:100%;min-height:300px;overflow:auto}.test-section{margin-top:30px;padding-top:30px;border-top:1px solid #e5e7eb}.test-section h3{font-size:18px;color:#1f2937;margin-bottom:8px}.test-section p{color:#6b7280;margin-bottom:20px}.test-tip{background:#eff6ff;border:1px solid #dbeafe;padding:10px 14px;border-radius:6px;font-size:14px;color:#1e40af;margin-bottom:16px}.test-input{display:flex;gap:12px;margin-bottom:20px;position:relative;z-index:1}.test-input input{flex:1;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.test-input button{cursor:pointer;position:relative;z-index:2}.test-input button:disabled{cursor:not-allowed;opacity:.6}.test-error-message{display:flex;align-items:center;gap:8px;margin-top:12px;margin-bottom:16px;padding:12px 16px;background:#fee2e2;color:#991b1b;border:1px solid #fecaca;border-radius:6px;font-size:14px;font-weight:500;animation:slideDown .3s ease-out}.test-error-message .error-icon{font-size:18px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.test-result{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.test-result.success{border-color:#10b981;background:#f0fdf4}.test-result.error{border-color:#ef4444;background:#fef2f2}.test-result h4{font-size:16px;margin:0 0 16px;color:#1f2937}.test-result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.test-result-header h4,.test-result-header h5{margin:0}.btn-sm{padding:6px 12px;font-size:13px}.test-result h5{font-size:14px;margin:16px 0 8px;color:#4b5563}.test-error{color:#dc2626;margin-bottom:16px;padding:12px;background:#ef44441a;border-radius:6px}.test-logs pre,.update-item pre,.create-item pre,.api-call-item pre{background:#1e1e1e;color:#d4d4d4;padding:12px;border-radius:6px;overflow-x:auto;font-size:12px;line-height:1.5;margin:8px 0}.update-item,.create-item,.api-call-item{margin-bottom:12px;padding:12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.update-item strong,.create-item strong,.api-call-item strong{display:block;color:#1f2937;margin-bottom:8px;font-size:14px}.alert{padding:12px 16px;border-radius:6px;margin-bottom:20px}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.btn{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}.btn-primary{background:#7c3aed;color:#fff}.btn-primary:hover{background:#6d28d9}.btn-primary:disabled{background:#ddd6fe;color:#a78bfa;cursor:not-allowed}.btn-secondary{background:#fff;color:#4b5563;border:1px solid #e5e7eb}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.recipe-editor.loading{display:flex;justify-content:center;align-items:center;min-height:400px;font-size:18px;color:#6b7280}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-width:600px;width:90%;max-height:80vh;overflow:auto}.regenerate-dialog{animation:slideIn .2s ease-out}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:20px;color:#1f2937}.close-button{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:4px;transition:all .2s}.close-button:hover{background:#f3f4f6;color:#4b5563}.modal-body{padding:24px}.modal-body p{margin-bottom:16px;color:#4b5563}.regenerate-prompt-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:14px;resize:vertical}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px;border-top:1px solid #e5e7eb}.apply-changes-section{margin-top:24px;padding:20px;background:#f0fdf4;border:1px solid #86efac;border-radius:8px}.apply-header h5{font-size:16px;color:#15803d;margin:0 0 8px}.apply-header p{color:#166534;margin-bottom:16px;font-size:14px}.btn-success{background:#22c55e;color:#fff}.btn-success:hover{background:#16a34a}.btn-success:disabled{background:#86efac;cursor:not-allowed}.apply-result{margin-top:16px;padding:16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.apply-result.neutral{background:#f9fafb;border-color:#e5e7eb}.apply-creates,.apply-updates{margin-bottom:12px}.apply-creates strong,.apply-updates strong{display:block;margin-bottom:8px;color:#374151}.apply-creates div,.apply-updates div{padding:4px 0}.apply-creates div.neutral,.apply-updates div{color:#374151}.apply-creates div.error{color:#dc2626;background:#fee2e2;padding:8px 12px;border-radius:4px;margin:4px 0}.apply-result.error{background:#fef2f2;border-color:#fca5a5}.apply-result.error h5{color:#dc2626;font-size:16px}.apply-error{margin-bottom:16px}.apply-error strong{display:block;color:#dc2626;margin-bottom:8px}.apply-error pre{background:#fee2e2;padding:12px;border-radius:4px;overflow-x:auto;white-space:pre-wrap;word-break:break-word;color:#991b1b;font-size:13px;margin:0}.apply-logs{margin-bottom:16px}.apply-logs strong{display:block;margin-bottom:8px;color:#374151}.log-entries{background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:8px 12px;max-height:200px;overflow-y:auto}.log-entry{font-size:13px;padding:2px 0;color:#4b5563;font-family:monospace}.log-prefix{color:#9ca3af;margin-right:8px}.test-error{display:flex;flex-direction:column;gap:1rem}.error-message{color:#991b1b}.error-actions{display:flex;gap:.5rem}.debug-progress{margin-top:1rem;padding:1.5rem;background:linear-gradient(135deg,#faf5ff,#ede9fe);border:2px solid #a78bfa;border-radius:8px;animation:pulse-border 2s ease-in-out infinite}@keyframes pulse-border{0%,to{border-color:#a78bfa;box-shadow:0 0 #a78bfa00}50%{border-color:#7c3aed;box-shadow:0 0 20px #7c3aed4d}}.debug-progress-bar{width:100%;height:8px;background:#e9d5ff;border-radius:999px;overflow:hidden;margin-bottom:1rem;box-shadow:inset 0 2px 4px #0000001a}.debug-progress-fill{height:100%;background:linear-gradient(90deg,#7c3aed,#a78bfa,#7c3aed);background-size:200% 100%;border-radius:999px;animation:progress-fill 2s ease-in-out infinite,shimmer 1.5s ease-in-out infinite;box-shadow:0 0 10px #7c3aed80}@keyframes progress-fill{0%{width:0%}50%{width:70%}to{width:95%}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.debug-progress-messages{text-align:center}.debug-status-message{font-size:1rem;font-weight:600;color:#5b21b6;margin:0 0 .5rem;animation:fade-pulse 2s ease-in-out infinite}.debug-status-submessage{font-size:.875rem;color:#7c3aed;margin:0;opacity:.9;line-height:1.5}@keyframes fade-pulse{0%,to{opacity:1}50%{opacity:.7}}.btn-ai{background:linear-gradient(135deg,#7c3aed,#a78bfa);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #7c3aed33}.btn-ai:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#8b5cf6);box-shadow:0 4px 8px #7c3aed4d;transform:translateY(-1px)}.btn-ai:disabled{opacity:.6;cursor:not-allowed}.debug-suggestion{background:linear-gradient(135deg,#faf5ff,#f3e8ff);border:2px solid #7c3aed;border-radius:12px;padding:1.5rem;margin-top:1rem;box-shadow:0 4px 12px #7c3aed26}.debug-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e9d5ff}.debug-header h5{margin:0;color:#5b21b6;font-size:1.125rem;display:flex;align-items:center;gap:.5rem}.debug-explanation{background:#fff;padding:1rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #7c3aed}.debug-explanation strong{display:block;color:#5b21b6;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.debug-explanation p{margin:0;color:#374151;line-height:1.6}.debug-changes{background:#fff;padding:1rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #10b981}.debug-changes strong{display:block;color:#059669;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.debug-changes ul{margin:0;padding-left:1.5rem}.debug-changes li{color:#374151;margin-bottom:.25rem;line-height:1.5}.debug-code{background:#fff;padding:1rem;border-radius:8px;margin-bottom:1rem}.debug-code strong{display:block;color:#5b21b6;margin-bottom:.75rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.debug-reasoning-section{margin-bottom:1rem;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #fbbf24;border-radius:8px;overflow:hidden}.reasoning-toggle{width:100%;display:flex;align-items:center;gap:.75rem;padding:1rem;background:none;border:none;cursor:pointer;transition:all .2s;text-align:left}.reasoning-toggle:hover{background:#fbbf241a}.reasoning-icon{font-size:.875rem;transition:transform .2s}.reasoning-toggle strong{flex:1;color:#92400e;font-size:.9375rem;margin:0}.reasoning-badge{background:#fbbf24;color:#78350f;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:4px;text-transform:uppercase;letter-spacing:.5px}.reasoning-content{padding:0 1rem 1rem;background:#fff;border-top:1px solid #fbbf24}.reasoning-intro{color:#92400e;font-size:.875rem;font-style:italic;margin:.75rem 0;padding:.5rem;background:#fffbeb;border-left:3px solid #fbbf24}.reasoning-text{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:1rem;margin:0;white-space:pre-wrap;word-break:break-word;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.8125rem;line-height:1.6;color:#374151;max-height:400px;overflow-y:auto}.debug-actions{display:flex;gap:.75rem;justify-content:flex-end;padding-top:1rem;border-top:2px solid #e9d5ff;flex-wrap:wrap}.retest-notice{width:100%;margin-top:.75rem;padding:.75rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:6px;color:#92400e;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.btn-success{background:linear-gradient(135deg,#10b981,#34d399);color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #10b98133}.btn-success:hover{background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 4px 8px #10b9814d;transform:translateY(-1px)}.debug-history-section{margin-top:1.5rem;background:linear-gradient(135deg,#fefce8,#fef3c7);border:2px solid #f59e0b;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #f59e0b26}.debug-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #fbbf24}.debug-history-header h5{margin:0;color:#92400e;font-size:1.125rem;display:flex;flex-direction:column;gap:.25rem}.debug-history-actions{display:flex;gap:.5rem;align-items:center}.debug-history-section-standalone{background:#fffbf0;border:2px solid #f59e0b;border-radius:12px;padding:1.5rem;margin-top:2rem;box-shadow:0 4px 12px #f59e0b1a}.debug-history-section-standalone .debug-history-header h5{color:#d97706;font-size:1.125rem;display:flex;align-items:center;gap:.5rem}.history-subtitle{font-size:.75rem;font-weight:400;color:#b45309;margin-top:.25rem}.debug-history-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.debug-history-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-bottom:1rem}.history-code-full{margin-top:1rem}.code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.code-scroll-container{max-height:400px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb}.copy-code-btn{white-space:nowrap;padding:.375rem .75rem;font-size:.875rem}.debug-history-item:hover{border-color:#f59e0b;box-shadow:0 2px 8px #f59e0b33}.history-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #fef3c7}.history-timestamp{font-family:monospace;font-size:.875rem;font-weight:600;color:#92400e;background:#fef3c7;padding:.25rem .75rem;border-radius:4px}.history-error{margin-bottom:1rem;padding:.75rem;background:#fee2e2;border-left:4px solid #dc2626;border-radius:4px}.history-error strong{display:block;color:#991b1b;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.history-error p{margin:0;color:#7f1d1d;font-size:.875rem}.history-explanation{margin-bottom:1rem;padding:.75rem;background:#ede9fe;border-left:4px solid #7c3aed;border-radius:4px}.history-explanation strong{display:block;color:#5b21b6;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.history-explanation p{margin:0;color:#4c1d95;line-height:1.6}.history-changes{margin-bottom:1rem;padding:.75rem;background:#d1fae5;border-left:4px solid #10b981;border-radius:4px}.history-changes strong{display:block;color:#065f46;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.history-changes ul{margin:0;padding-left:1.5rem}.history-changes li{color:#064e3b;margin-bottom:.25rem;line-height:1.5}.history-code-preview{background:#f3f4f6;padding:.75rem;border-radius:4px;border:1px solid #d1d5db}.history-code-preview strong{display:block;color:#374151;margin-bottom:.5rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.credentials-display{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:16px}.credentials-display label{color:#0c4a6e;font-weight:600;display:flex;align-items:center;gap:6px;margin-bottom:12px}.credentials-list{display:flex;flex-direction:column;gap:12px}.credential-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #bae6fd;border-radius:6px;padding:8px 12px;font-size:14px;box-shadow:0 1px 2px #0000000d}.credential-icon{font-size:18px;flex-shrink:0}.credential-name{font-weight:600;color:#0c4a6e}.credential-service{color:#64748b;font-size:13px;font-style:italic}.credentials-help{margin-top:8px;padding:12px;background:#e0f2fe;border-radius:4px;font-size:13px;color:#075985;border-left:3px solid #0ea5e9}.credentials-help code{background:#fff;padding:2px 6px;border-radius:3px;font-family:Monaco,Courier New,monospace;font-size:12px;color:#0c4a6e;border:1px solid #bae6fd}.no-credentials-message{color:#64748b;font-style:italic;margin:0;padding:8px 0;font-size:14px}.ai-regenerate-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#fffffffa;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;border-radius:8px;padding:2rem}.ai-debug-loading-overlay{position:relative;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:48px 32px;margin:24px 0;text-align:center;color:#fff;box-shadow:0 10px 40px #667eea4d;animation:fadeIn .3s ease-in}.ai-debug-loading-content{max-width:600px;margin:0 auto}.ai-loading-spinner-large{width:64px;height:64px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 24px}.ai-loading-title{font-size:28px;font-weight:700;margin:0 0 24px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1)}.ai-loading-progress-bar{width:100%;height:8px;background:#fff3;border-radius:4px;overflow:hidden;margin:0 0 20px}.ai-loading-progress-fill{height:100%;background:#fff;border-radius:4px;animation:progressBar 2s ease-in-out infinite;box-shadow:0 0 10px #ffffff80}.ai-loading-status{font-size:18px;font-weight:600;margin:0 0 12px;color:#fff}.ai-loading-description{font-size:15px;line-height:1.6;margin:0 0 16px;color:#fffffff2}.ai-loading-time{font-size:14px;font-style:italic;margin:0;color:#fffc}@keyframes progressBar{0%{width:0%;transform:translate(0)}50%{width:70%}to{width:100%;transform:translate(0)}}.btn-warning{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #ff6b6b33}.btn-warning:hover:not(:disabled){background:linear-gradient(135deg,#ee5a6f,#ff6b6b);box-shadow:0 4px 8px #ff6b6b4d;transform:translateY(-1px)}.btn-warning:disabled{opacity:.6;cursor:not-allowed}.debug-context-dialog{max-width:600px;width:90%}.debug-context-dialog .modal-body{padding:1.5rem}.debug-context-dialog .context-hint{background:#f3f4f6;border-radius:6px;padding:.75rem 1rem;margin:1rem 0;font-size:.875rem;color:#4b5563;border-left:3px solid #3b82f6}.debug-context-input{width:100%;padding:.75rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;resize:vertical;min-height:100px;font-family:inherit;margin-top:1rem}.debug-context-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.debug-context-dialog .modal-footer{display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem;background:#f9fafb;border-top:1px solid #e5e7eb}.btn .spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px;vertical-align:middle}.btn .loading-text{vertical-align:middle}.test-form{margin-top:20px}.test-form .form-group{margin-bottom:15px}.test-form .form-group label{display:block;margin-bottom:5px;color:#374151;font-size:14px;font-weight:500}.test-form button{margin-right:10px}.test-mode-info{margin:15px 0;padding:12px;background:linear-gradient(135deg,#e3f2fd,#e8eaf6);border-radius:8px;border:1px solid #bbdefb}.workflow-simulation-badge{display:flex;align-items:center;gap:8px;margin-bottom:8px}.workflow-simulation-badge .badge-icon{font-size:1.2em;animation:workflow-rotate 2s linear infinite}.workflow-simulation-badge .badge-text{font-weight:600;color:#1565c0;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.simulation-note{margin:0;font-size:.85rem;color:#546e7a;line-height:1.4}@keyframes workflow-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.workflow-outputs-guide{margin:20px 0;padding:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.workflow-outputs-guide h5{margin:0 0 10px;color:#1a202c;font-size:1.1rem;display:flex;align-items:center;gap:8px}.outputs-intro{color:#4a5568;margin-bottom:20px;font-size:.9rem}.output-fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.output-field{background:#fff;padding:14px;border:1px solid #e2e8f0;border-radius:6px}.output-field strong{color:#2d3748;font-family:SF Mono,Monaco,Consolas,monospace;font-size:.9rem;display:inline-block;margin-bottom:4px}.field-type{display:inline-block;margin-left:8px;padding:2px 6px;background:#e2e8f0;color:#4a5568;font-size:.75rem;border-radius:3px;font-weight:400}.output-field p{margin:8px 0 0;color:#718096;font-size:.85rem;line-height:1.4}.no-output-warning{margin-top:16px;padding:16px;background:#fef8e7;border:1px solid #f6e05e;border-radius:6px;display:flex;gap:12px;align-items:flex-start}.no-output-warning .warning-icon{font-size:1.2rem;flex-shrink:0}.no-output-warning div{flex:1}.no-output-warning strong{display:block;color:#744210;margin-bottom:4px}.no-output-warning p{margin:0;color:#744210;font-size:.85rem;line-height:1.5}.no-output-warning code{background:#fef3c7;padding:2px 4px;border-radius:3px;font-size:.85rem;font-family:SF Mono,Monaco,Consolas,monospace}.no-output-warning ul{margin:8px 0 0;padding-left:24px;list-style-type:disc}.no-output-warning li{color:#744210;font-size:.85rem;line-height:1.5;margin-bottom:4px}.output-field-important{background:#f0f7ff;border:1px solid #a5d0ff}.output-field-important strong{color:#0052cc;font-size:1rem}.output-examples{margin-top:8px;color:#4a5568;font-size:.85rem}.output-examples code{background:#e2e8f0;padding:2px 6px;border-radius:3px;margin:0 4px;color:#2d3748;font-size:.8rem}.workflow-usage-examples{margin-top:20px;padding:16px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px}.workflow-usage-examples h6{margin:0 0 12px;color:#1a202c;font-size:.95rem;font-weight:600}.usage-example{margin-bottom:10px;padding-left:20px;position:relative}.usage-example:before{content:"→";position:absolute;left:0;color:#718096}.usage-example strong{color:#2d3748;font-size:.85rem;margin-right:8px}.usage-example p{margin:0;color:#4a5568;font-size:.85rem;display:inline}.usage-example-object{margin-bottom:10px;padding:10px 10px 10px 20px;background:#fef3c7;border:1px solid #fcd34d;border-radius:4px}.usage-example-object strong{color:#92400e;font-size:.85rem;display:block;margin-bottom:4px}.usage-example-object p{margin:0;color:#92400e;font-size:.85rem;line-height:1.4}.object-properties{margin-top:8px;font-size:.85rem;color:#92400e}.object-properties code{background:#fed7aa;padding:2px 6px;border-radius:3px;margin:0 2px;font-size:.8rem}.usage-tip{margin-top:12px;padding:12px;background:#e6fffa;border:1px solid #81e6d9;border-radius:4px}.usage-tip strong{color:#234e52;font-size:.85rem}.usage-tip code{background:#b2f5ea;padding:2px 4px;border-radius:3px;color:#234e52;font-size:.8rem}.recipe-return-value{margin:16px 0;padding:16px;background:#f0f7ff;border:1px solid #a5d0ff;border-radius:6px}.recipe-return-value h6{margin:0 0 12px;color:#0052cc;font-size:1rem;font-weight:600}.return-value-display{margin:12px 0;padding:12px;background:#fff;border:1px solid #d0e5ff;border-radius:4px;font-family:SF Mono,Monaco,Consolas,monospace}.return-value-display pre{margin:0;color:#2d3748;font-size:.875rem;line-height:1.5;overflow-x:auto}.return-value-display code{color:#0052cc;font-size:.9rem;background:transparent;padding:0}.return-value-note{margin:12px 0 0;color:#4a5568;font-size:.85rem;line-height:1.5}.return-value-note strong{color:#0052cc;font-weight:600}.workflow-output-preview{margin-top:10px;padding:8px 12px;background:#f0f7ff;border:1px solid #d0e5ff;border-radius:4px;font-size:.9rem;display:flex;align-items:center;gap:10px}.workflow-output-preview .workflow-label{font-weight:600;color:#1565c0;flex-shrink:0}.workflow-output-preview code{background:transparent;padding:0;color:#424242;font-family:SF Mono,Monaco,Consolas,monospace;font-size:.85rem;line-height:1.5}.ai-generator{max-width:1200px;margin:0 auto;padding:2rem}.ai-generator.loading{text-align:center;padding:4rem 2rem;color:#6b7280}.no-provider{text-align:center;padding:4rem 2rem;max-width:600px;margin:0 auto}.no-provider .icon{font-size:4rem;margin-bottom:1rem}.no-provider h2{color:#1f2937;margin-bottom:1rem}.no-provider p{color:#6b7280;margin-bottom:1rem;line-height:1.6}.no-provider .action-buttons{display:flex;justify-content:center;gap:1rem;margin:2rem 0}.no-provider .alternative-text{color:#6b7280;font-size:.875rem;margin-top:1.5rem}@media (max-width: 640px){.no-provider .action-buttons{flex-direction:column;width:100%;max-width:300px;margin:2rem auto}.no-provider .action-buttons button{width:100%}}@media (max-width: 768px){.generator-header{flex-direction:column;gap:1rem}.header-actions{width:100%;justify-content:flex-start}}@media (max-width: 480px){.header-actions{gap:.5rem}.header-actions .btn-secondary{padding:.375rem .75rem;font-size:.75rem}}.generator-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:2rem}.generator-header>div:first-child{flex:1;min-width:0}.generator-header h1{margin:0 0 .5rem;color:#1f2937}.generator-header p{margin:0;color:#6b7280;max-width:600px}.header-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.conversation-history{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;margin-bottom:2rem}.conversation-history h3{margin:0 0 1rem;color:#374151;font-size:1.125rem}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;cursor:pointer;transition:all .2s}.history-item:hover{border-color:#3b82f6;box-shadow:0 1px 3px #0000001a}.history-prompt{color:#1f2937;font-weight:500;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-meta{font-size:.875rem;color:#6b7280}.prompt-section{margin-bottom:2rem}.object-type-selector{margin-bottom:1.5rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}.object-type-selector .form-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.75rem}.object-type-selector .help-tooltip{cursor:help;opacity:.7;font-size:1rem}.object-type-dropdown{width:100%;max-width:400px;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.9375rem;font-family:inherit;background:#fff;color:#1f2937;cursor:pointer;transition:all .2s}.object-type-dropdown:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.object-type-dropdown:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.object-type-selector .form-hint{margin-top:.5rem;font-size:.875rem;color:#6b7280;margin-bottom:0}.prompt-input-wrapper{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.prompt-input{width:100%;min-height:120px;padding:1rem;border:1px solid #d1d5db;border-radius:.75rem;font-size:1rem;font-family:inherit;resize:vertical;transition:border-color .2s}.prompt-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.prompt-input:disabled{background:#f9fafb;color:#9ca3af}.generate-button{align-self:flex-end}.example-prompts{background:#f9fafb;border-radius:.75rem;padding:1.5rem}.example-prompts h4{margin:0 0 1rem;color:#374151;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.prompt-chips{display:flex;flex-wrap:wrap;gap:.75rem}.prompt-chip{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:9999px;font-size:.875rem;color:#4b5563;cursor:pointer;transition:all .2s;text-align:left}.prompt-chip:hover{background:#f3f4f6;border-color:#9ca3af}.prompt-chip:disabled{opacity:.5;cursor:not-allowed}.generating-indicator{text-align:center;padding:3rem;background:#f9fafb;border-radius:.75rem;margin-bottom:2rem}.spinner{display:inline-block;width:3rem;height:3rem;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.generating-indicator p{margin:0;color:#6b7280}.generated-recipe{background:#f0f9ff;border:1px solid #3b82f6;border-radius:.75rem;padding:2rem;margin-bottom:2rem}.generated-recipe h2{margin:0 0 1.5rem;color:#1e40af}.recipe-preview{background:#fff;border-radius:.5rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.recipe-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.recipe-header h3{margin:0;color:#1f2937}.object-type{padding:.25rem .75rem;background:#e0e7ff;color:#4338ca;font-size:.875rem;font-weight:500;border-radius:9999px}.recipe-description{color:#6b7280;margin:0 0 20px;line-height:1.6}.human-summary{background:#f0f9ff;border:1px solid #3b82f6;border-radius:8px;padding:20px;margin:20px 0}.human-summary h4{color:#1e40af;font-size:16px;margin:0 0 12px;display:flex;align-items:center;gap:8px}.human-summary h4:before{content:"💡";font-size:20px}.human-summary p{color:#1e293b;font-size:15px;line-height:1.7;margin:0;white-space:pre-line}.recipe-steps{margin-bottom:2rem}.recipe-steps h4{margin:0 0 1rem;color:#374151;font-size:1rem}.step-preview{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.5rem}.step-number{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#3b82f6;color:#fff;font-size:.875rem;font-weight:600;border-radius:50%}.step-type{flex:1;color:#1f2937;font-weight:500;text-transform:capitalize}.recipe-actions{display:flex;gap:12px;justify-content:flex-end}.recipe-code{margin:20px 0}.recipe-code h4{margin-bottom:12px;font-size:1rem;font-weight:600}.btn-secondary{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;color:#374151;border-radius:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;white-space:nowrap}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.header-actions .btn-secondary{padding:.5rem .875rem;font-size:.8125rem}.custom-code-section{background:#f9fafb;border-radius:.75rem;padding:2rem;margin-bottom:1.5rem}.custom-code-instructions h3{margin:0 0 .75rem;color:#111827;font-size:1.5rem}.custom-code-instructions>p{color:#6b7280;margin-bottom:1.5rem}.instruction-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:1.5rem}.instruction-card{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem}.instruction-card h4{margin:0 0 .75rem;color:#374151;font-size:1rem}.instruction-card ul{margin:0;padding-left:1.25rem;color:#6b7280}.instruction-card li{margin-bottom:.5rem}.instruction-card pre{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.375rem;padding:.75rem;margin:0;font-size:.8125rem;overflow-x:auto;color:#374151}.instruction-card code{background:#fef3c7;color:#92400e;padding:.125rem .25rem;border-radius:.25rem;font-size:.875rem}.resource-links{margin-bottom:2rem}.resource-links h4{margin:0 0 .75rem;color:#374151;font-size:1rem}.btn-link{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;padding:.5rem 1rem;color:#3b82f6;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .2s}.btn-link:hover{background:#eff6ff;border-color:#3b82f6}.custom-code-form{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.form-field{margin-bottom:1rem}.form-field label{display:block;margin-bottom:.375rem;color:#374151;font-size:.875rem;font-weight:600}.form-field input,.form-field select{width:100%;padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:.375rem;font-size:.875rem;color:#111827;background:#fff}.code-textarea{width:100%;min-height:300px;padding:.75rem;border:1px solid #e5e7eb;border-radius:.375rem;font-family:Monaco,Consolas,monospace;font-size:.8125rem;color:#111827;background:#f9fafb;resize:vertical}.code-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background:#fff}.form-actions{display:flex;gap:.75rem;margin-top:1.5rem}.form-actions .btn{padding:.625rem 1.5rem;font-size:.9375rem;font-weight:500}.form-actions .btn-primary{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:all .2s}.form-actions .btn-primary:hover:not(:disabled){background:#2563eb}.form-actions .btn-primary:disabled{background:#9ca3af;cursor:not-allowed}.form-actions .btn-secondary{background:#fff;color:#374151;border:1px solid #e5e7eb;border-radius:.375rem;cursor:pointer;transition:all .2s}.form-actions .btn-secondary:hover{background:#f3f4f6}.advanced-options-section{margin:1.5rem 0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.advanced-toggle{width:100%;padding:1rem 1.25rem;background:#f9fafb;border:none;text-align:left;font-size:.95rem;font-weight:500;color:#374151;cursor:pointer;transition:background .2s;display:flex;align-items:center;gap:.5rem}.advanced-toggle:hover{background:#f3f4f6}.advanced-options-content{padding:1.5rem;background:#fff;border-top:1px solid #e5e7eb}.form-group:last-child{margin-bottom:0}.form-label{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.95rem;color:#1f2937;margin-bottom:.5rem}.help-tooltip{cursor:help;opacity:.6;transition:opacity .2s}.help-tooltip:hover{opacity:1}.form-hint{font-size:.85rem;color:#6b7280;margin-bottom:.75rem;line-height:1.5}.credentials-list{display:flex;flex-direction:column;gap:.75rem}.no-credentials-notice{padding:1.5rem;text-align:center;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px}.btn-link{background:none;border:none;color:#3b82f6;font-size:.9rem;font-weight:500;cursor:pointer;text-decoration:underline;transition:color .2s}.btn-link:hover{color:#2563eb}.external-docs-input::placeholder{color:#9ca3af}.external-docs-input:disabled{background:#f3f4f6;cursor:not-allowed}.workflow-info-banner{background:linear-gradient(135deg,#fbbf24,#f59e0b);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 4px 12px #fbbf244d;display:flex;gap:1rem;align-items:flex-start}.workflow-info-banner .info-icon{font-size:2rem;flex-shrink:0;margin-top:.25rem}.workflow-info-banner .info-content{flex:1}.workflow-info-banner h4{margin:0 0 .5rem;color:#78350f;font-size:1.125rem;font-weight:600}.workflow-info-banner p{margin:0;color:#78350f;line-height:1.6;font-size:.95rem}.workflow-info-banner strong{color:#451a03;font-weight:600}.data-prep-banner{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 4px 12px #667eea4d}.banner-content{display:flex;justify-content:space-between;align-items:center;gap:2rem}.banner-text h3{margin:0 0 .5rem;color:#fff;font-size:1.25rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.banner-text p{margin:0;color:#ffffffe6;font-size:.9rem}.banner-actions{display:flex;gap:1rem;flex-shrink:0}.btn-banner{padding:.75rem 1.5rem;background:#fff;color:#667eea;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;gap:.5rem}.btn-banner:hover:not(:disabled){background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.btn-banner:disabled{opacity:.7;cursor:not-allowed;transform:none}.banner-success{margin-top:1rem;padding:1rem;background:#fffffff2;border-radius:8px;display:flex;flex-direction:column;gap:.5rem}.success-message{color:#059669;font-weight:500;font-size:.9rem;display:flex;align-items:center;gap:.5rem}@media (max-width: 768px){.workflow-info-banner{flex-direction:column;align-items:center;text-align:center}.workflow-info-banner .info-icon{margin-top:0}.banner-content{flex-direction:column;align-items:stretch}.banner-actions{flex-direction:column}.btn-banner{width:100%;justify-content:center}}.ai-feedback-card{padding:2rem;background:#fffbeb;border:2px solid #fbbf24;border-radius:8px}.ai-feedback-card h2{margin:0 0 1.5rem;color:#92400e;font-size:1.5rem}.feedback-message{margin-bottom:1.5rem;padding:1rem;background:#fff;border-left:4px solid #f59e0b;border-radius:4px}.feedback-message p{margin:0;color:#1f2937;line-height:1.6}.missing-info{margin-bottom:1.5rem;padding:1rem;background:#fff;border-radius:6px}.missing-info h3{margin:0 0 .75rem;font-size:1rem;color:#1f2937}.missing-info ul{margin:0;padding-left:1.5rem}.missing-info li{margin:.5rem 0;color:#374151;line-height:1.5}.instructions-box{margin-bottom:1.5rem;padding:1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.instructions-box h3{margin:0 0 1rem;font-size:1.1rem;color:#1f2937}.instructions-box pre{margin:0;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;white-space:pre-wrap;word-wrap:break-word;font-family:inherit;font-size:.9rem;line-height:1.6;color:#374151}.feedback-actions{display:flex;gap:1rem}.feedback-actions .btn{padding:.75rem 1.5rem;font-size:.95rem;font-weight:500}.ai-generation-progress-container{margin:2rem 0;padding:0}.ai-generation-progress{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:3rem 2rem;text-align:center;color:#fff;box-shadow:0 10px 40px #667eea4d;animation:pulse-glow 2s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:0 10px 40px #667eea4d}50%{box-shadow:0 10px 50px #667eea80}}.ai-generation-progress .generation-icon{margin-bottom:1.5rem}.spinner-large{width:60px;height:60px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto}.ai-generation-progress h2{color:#fff;margin-bottom:1.5rem;font-size:1.75rem;font-weight:600}.generation-progress-bar{width:100%;max-width:500px;height:8px;background:#fff3;border-radius:4px;margin:0 auto 2rem;overflow:hidden}.generation-progress-fill{height:100%;background:#fff;border-radius:4px;animation:progress-fill 3s ease-in-out infinite}@keyframes progress-fill{0%{width:0%}50%{width:70%}to{width:90%}}.generation-messages{margin-bottom:2rem}.generation-status{font-size:1.1rem;margin-bottom:1rem;color:#fff}.generation-status strong{font-weight:600}.generation-detail{font-size:.95rem;line-height:1.6;color:#ffffffe6;max-width:600px;margin:0 auto 1rem}.generation-time{font-size:.9rem;color:#fffc;font-style:italic}.generation-prompt-preview{background:#ffffff26;border-radius:8px;padding:1rem 1.5rem;max-width:700px;margin:0 auto;text-align:left}.generation-prompt-preview strong{display:block;margin-bottom:.5rem;font-weight:600;color:#ffffffe6}.generation-prompt-preview p{color:#fff;font-style:italic;line-height:1.5}.custom-code-creator{max-width:1400px;margin:0 auto;padding:2rem}.creator-header{margin-bottom:2rem;text-align:center;padding:2rem 0;border-bottom:1px solid #e5e7eb}.creator-header h1{margin:0 0 .5rem;color:#111827;font-size:2.5rem;font-weight:700}.creator-header p{margin:0;color:#6b7280;font-size:1.25rem;font-weight:400}.instruction-section{background:#f9fafb;border-radius:.75rem;padding:2.5rem;margin-bottom:2.5rem}.quick-reference{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:2rem;margin-bottom:2rem}.quick-reference h3{margin:0 0 1.5rem;color:#111827;font-size:1.5rem;font-weight:600}.reference-content{display:flex;flex-direction:column;gap:1.5rem}.reference-item{border-left:3px solid #6366f1;padding-left:1.5rem}.reference-item h4{margin:0 0 .75rem;color:#374151;font-size:1.125rem;font-weight:600}.inline-code{display:block;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.375rem;padding:.75rem 1rem;margin-bottom:.5rem;font-family:Monaco,Consolas,monospace;font-size:.875rem;color:#374151;overflow-x:auto;white-space:nowrap}.inline-code:last-child{margin-bottom:0}.resource-links{margin-top:2rem}.resource-links h3{margin:0 0 1rem;color:#374151;font-size:1.125rem}.link-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.btn-link{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;padding:.625rem 1rem;color:#3b82f6;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .2s;cursor:pointer;font-family:inherit}.btn-link:hover{background:#eff6ff;border-color:#3b82f6;transform:translateY(-1px)}.custom-code-form{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:2rem;box-shadow:0 1px 3px #0000001a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.form-field{margin-bottom:1.5rem}.form-field:last-of-type{margin-bottom:0}.code-field-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.form-field label{display:block;margin-bottom:.5rem;color:#374151;font-size:.875rem;font-weight:600}.form-field input,.form-field select{width:100%;padding:.625rem .75rem;border:1px solid #e5e7eb;border-radius:.375rem;font-size:.875rem;color:#111827;background:#fff;transition:border-color .2s}.form-field input:focus,.form-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.recipe-code-editor{min-height:650px;border-radius:.5rem;overflow:hidden;margin-top:.5rem}.form-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.btn{padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;border-radius:.375rem;cursor:pointer;transition:all .2s;border:none}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.btn-secondary{background:#fff;color:#374151;border:1px solid #e5e7eb}.btn-secondary:hover{background:#f3f4f6;border-color:#d1d5db}.alert{padding:1rem 1.25rem;border-radius:.5rem;margin-bottom:1.5rem}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.credentials-section{margin:1.5rem 0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.credentials-toggle{width:100%;padding:1rem 1.25rem;background:#f9fafb;border:none;text-align:left;font-size:.95rem;font-weight:500;color:#374151;cursor:pointer;transition:background .2s;display:flex;align-items:center;gap:.5rem}.credentials-toggle:hover{background:#f3f4f6}.credentials-content{padding:1.5rem;background:#fff;border-top:1px solid #e5e7eb}.credentials-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:.75rem}.credential-checkbox{display:flex;align-items:flex-start;gap:.75rem;padding:1.25rem;margin-bottom:0;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s;background:#fff}.credential-checkbox:hover{border-color:#7c3aed;background:#faf5ff;box-shadow:0 1px 3px #7c3aed1a}.credential-checkbox input[type=checkbox]{cursor:pointer;width:20px;height:20px;margin-top:2px;accent-color:#7c3aed;flex-shrink:0}.credential-info{flex:1;display:flex;flex-direction:column;gap:.25rem}.credential-name{font-weight:600;font-size:.9375rem;color:#1e293b}.credential-service{color:#64748b;font-size:.8125rem;font-weight:500}.help-text{display:block;font-size:.8rem;color:#6b7280;font-weight:400;margin-top:.25rem}.field-hint{font-size:.8rem;color:#6b7280;margin-top:.5rem;line-height:1.5}.field-hint code{background:#f3f4f6;padding:.15rem .4rem;border-radius:3px;font-family:Monaco,Consolas,monospace;font-size:.85rem;color:#1f2937}.no-credentials-notice{padding:1.5rem;text-align:center;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;margin-bottom:1rem}.no-credentials-notice p{margin:0 0 .75rem;color:#92400e}.external-docs-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-family:Monaco,Courier New,monospace;font-size:.85rem;line-height:1.5;resize:vertical;transition:border-color .2s}.external-docs-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.reference-section{margin-bottom:2.5rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.reference-section:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.reference-section h4{margin:0 0 1rem;color:#111827;font-size:1.25rem;font-weight:600}.reference-section p{margin:0 0 1rem;color:#1f2937;line-height:1.6}.reference-list{margin:1rem 0;padding-left:1.5rem;line-height:1.8}.reference-list li{margin:.5rem 0;color:#1f2937}.reference-list code{background:#f3f4f6;padding:.15rem .4rem;border-radius:3px;font-family:Monaco,Courier New,monospace;font-size:.9em;color:#7c3aed;font-weight:600}.code-block{background:#f3f4f6;color:#1f2937;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;margin:1rem 0;overflow-x:auto}.code-block code{font-family:Monaco,Consolas,monospace;font-size:.875rem;line-height:1.6;color:#1f2937}.selected-credentials{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.credential-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#dbeafe;border:1px solid #93c5fd;border-radius:6px}.credential-badge code{font-family:Monaco,Consolas,monospace;font-size:.875rem;color:#1e40af;font-weight:600}.badge-service{color:#1e40af;font-size:.8rem;opacity:.8}.security-note{padding:1rem;background:#f0f9ff;border-left:3px solid #3b82f6;border-radius:4px;margin:1rem 0;color:#1e40af;font-size:.9rem;line-height:1.6}.code-example{margin-top:1.5rem}.code-example strong{display:block;margin-bottom:.75rem;color:#374151;font-size:.95rem}.security-section{background:#fef3c7;border:2px solid #fbbf24;border-radius:8px;padding:1.5rem}.security-section h4{color:#78350f}.security-section .reference-list,.security-section .reference-list li{color:#1f2937}.internal-link{color:#3b82f6;text-decoration:none;font-weight:500}.internal-link:hover{text-decoration:underline}@media (max-width: 768px){.custom-code-creator{padding:1rem}.instruction-section{padding:1.5rem}.instruction-cards,.form-row{grid-template-columns:1fr}.link-buttons{flex-direction:column}.btn-link{width:100%;justify-content:center}}.workflow-examples{margin-top:1rem;padding:1rem;background:#f0f9ff;border-left:3px solid #3b82f6;border-radius:.375rem;font-size:.9375rem;line-height:1.8;color:#1e3a8a}.workflow-examples strong{color:#1e40af;font-weight:600}.test-result.live-test.success{border-left:4px solid #10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.test-result.live-test.error{border-left:4px solid #ff6b6b;background:linear-gradient(135deg,#fff5f5,#ffe5e5)}.live-test-warning{background:#ff6b6b;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;font-weight:600;margin:8px 0;display:inline-block;box-shadow:0 2px 4px #ff6b6b4d}.ai-settings-page{padding:2rem;min-height:calc(100vh - 60px);background:#f8fafc}.settings-container{max-width:800px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.settings-header{padding:2rem;border-bottom:1px solid #e5e7eb}.settings-header h1{margin:0 0 .5rem;color:#1e293b;font-size:2rem}.settings-description{margin:0;color:#64748b;font-size:1rem}.settings-content{padding:2rem}.settings-section{margin-bottom:3rem}.settings-section:last-child{margin-bottom:2rem}.settings-section h2{margin:0 0 1.5rem;color:#334155;font-size:1.25rem;font-weight:600}.provider-tabs{display:flex;gap:1rem;margin-bottom:1rem}.provider-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;background:#fff;color:#64748b;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;position:relative}.provider-tab:hover{border-color:#cbd5e1;background:#f8fafc}.provider-tab.active{border-color:#5b21b6;background:#f3e8ff;color:#5b21b6}.provider-info{display:flex;align-items:center;gap:.5rem}.provider-name{font-weight:600}.active-indicator{position:absolute;top:.5rem;right:.5rem;font-size:.75rem;font-weight:600;color:#16a34a;background:#d1fae5;padding:.25rem .5rem;border-radius:4px}.provider-logo{font-size:1.5rem}.current-status{color:#16a34a;font-size:.875rem;margin-top:.5rem}.api-key-options{margin-bottom:2rem}.api-key-options .radio-option:last-child{margin-bottom:0}.radio-option{display:flex;align-items:flex-start;gap:.75rem;padding:1.25rem;margin-bottom:.75rem;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s;background:#fff}.radio-option:hover:not(.disabled){border-color:#7c3aed;background:#faf5ff}.radio-option.disabled{opacity:.5;cursor:not-allowed;background:#f8fafc}.radio-option.disabled:hover{border-color:#e5e7eb;background:#f8fafc}.radio-option input[type=radio]{margin-top:.125rem;width:18px;height:18px;cursor:pointer;flex-shrink:0}.radio-option input[type=radio]:checked{accent-color:#7c3aed}.radio-option.disabled input[type=radio]{cursor:not-allowed}.option-title{display:block;font-weight:600;color:#1e293b;font-size:1rem;margin-bottom:.25rem}.option-description{display:block;font-size:.875rem;color:#64748b;line-height:1.5}.option-description.premium{color:#7c3aed;font-weight:500}.option-description.locked{color:#dc2626;font-weight:500}.option-content{flex:1}.radio-option:has(input:checked){border-color:#7c3aed;background:#faf5ff}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#334155;font-weight:500}.api-key-input,.model-select{width:100%;padding:.75rem;border:1px solid #e5e7eb;border-radius:6px;font-size:1rem;color:#1e293b;background:#fff}.api-key-input:focus,.model-select:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.help-text{margin-top:.5rem;font-size:.875rem;color:#64748b}.no-key-info{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:1rem;text-align:center}.no-key-info p{margin:0 0 .5rem;color:#1e40af;font-weight:500}.link-button{background:none;border:none;color:#2563eb;text-decoration:underline;cursor:pointer;font-size:.875rem}.link-button:hover{color:#1d4ed8}.alert{padding:1rem;border-radius:8px;margin-bottom:1.5rem}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.alert-success{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.settings-actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:2rem;border-top:1px solid #e5e7eb}.loading{text-align:center;padding:3rem;color:#64748b}.subscription-status{background:#f8fafc;border:2px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.subscription-status.professional{border-color:#7c3aed;background:#faf5ff}.subscription-status.enterprise{border-color:#f59e0b;background:#fffbeb}.status-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.status-header h3{margin:0;color:#1e293b;font-size:1.125rem}.status-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:500;background:#fff;border:1px solid #e5e7eb}.status-badge.premium{background:#faf5ff;border-color:#7c3aed;color:#7c3aed}.upgrade-prompt{display:flex;align-items:center;justify-content:space-between;gap:1rem}.upgrade-prompt p{margin:0;color:#64748b;font-size:.875rem}.tinyadmin-key-info{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:1rem;margin-top:1rem}.success-message{margin:0;color:#16a34a;font-weight:500;text-align:center}.existing-providers{margin-top:3rem;padding-top:2rem;border-top:1px solid #e5e7eb}.existing-providers .section-description{color:#64748b;font-size:.9375rem;line-height:1.6;margin-bottom:1.5rem;margin-top:.5rem}.existing-providers .section-description strong{color:#065f46;font-weight:700}.existing-providers h2{margin:0 0 1.5rem;color:#334155;font-size:1.25rem;font-weight:600}.provider-list{display:flex;flex-direction:column;gap:1rem}.provider-item{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s}.provider-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0000001a}.provider-actions{display:flex;align-items:center;gap:.5rem}.provider-info{flex:1}.provider-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.provider-name{font-size:1.125rem;font-weight:600;color:#1e293b}.provider-variant{font-size:.875rem;font-weight:500;color:#64748b}.provider-details{display:flex;flex-wrap:wrap;gap:1.5rem;font-size:.875rem;color:#64748b}.model-info{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}.model-info .label{color:#64748b;font-weight:500}.model-info .value{color:#1e293b;font-weight:500}.key-type{font-weight:500;padding:.375rem .875rem;border-radius:6px;font-size:.875rem;display:inline-flex;align-items:center;gap:.375rem}.key-type.tinyadmin{background:#faf5ff;border:1.5px solid #7c3aed;color:#5b21b6}.key-type.personal{background:#f8fafc;border:1.5px solid #cbd5e1;color:#475569}.key-type strong{font-weight:600}.provider-header .active-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;background:#d1fae5;color:#065f46;font-size:.75rem;font-weight:600;border-radius:4px;text-transform:uppercase;letter-spacing:.025em}.btn-activate{padding:.5rem 1rem;background:#fff;border:1.5px solid #7c3aed;border-radius:6px;color:#7c3aed;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.btn-activate:hover{background:#7c3aed;color:#fff}.btn-delete{padding:.5rem;background:transparent;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .2s;font-size:1.25rem}.btn-delete:hover{background:#fee2e2;border-color:#fecaca}.btn-sm{padding:.375rem .75rem;font-size:.875rem}.help-text a{color:#2563eb;text-decoration:none}.help-text a:hover{text-decoration:underline}.usage-notice{display:flex;gap:1rem;padding:1.25rem;border-radius:8px;margin-top:1rem;border:2px solid}.usage-notice .notice-icon{font-size:2rem;flex-shrink:0}.usage-notice .notice-content{flex:1}.usage-notice .notice-content h4{margin:0 0 .5rem;font-size:1rem;font-weight:600}.usage-notice .notice-content p{margin:0 0 .5rem;font-size:.9375rem;line-height:1.6}.usage-notice .notice-content p:last-child{margin-bottom:0}.usage-notice.unlimited{background:#f0fdf4;border-color:#86efac}.usage-notice.unlimited .notice-content h4{color:#166534}.usage-notice.unlimited .notice-content p{color:#15803d}.usage-notice.tier-limit.professional{background:#eff6ff;border-color:#93c5fd}.usage-notice.tier-limit.professional .notice-content h4{color:#1e40af}.usage-notice.tier-limit.professional .notice-content p{color:#1e3a8a}.usage-notice .upgrade-hint{font-size:.875rem;opacity:.9;margin-top:.5rem}.usage-notice.tier-limit.enterprise{background:#fffbeb;border-color:#f59e0b}.usage-notice.tier-limit.enterprise .notice-content h4{color:#7c3aed}.usage-notice.tier-limit.enterprise .notice-content p{color:#6b21a8}.api-key-callout{display:flex;gap:1.25rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #0284c7;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 2px 8px #0284c71a}.api-key-callout .callout-icon{font-size:2.5rem;line-height:1}.api-key-callout .callout-content h4{margin:0 0 .5rem;color:#0c4a6e;font-size:1.125rem;font-weight:600}.api-key-callout .callout-content p{margin:0 0 .5rem;color:#075985;line-height:1.5}.api-key-callout .callout-content p:last-child{margin-bottom:0}.api-key-callout .cost-note{font-size:.875rem;color:#0369a1}.api-key-callout .api-link{color:#0284c7;font-weight:600;text-decoration:underline;transition:color .2s}.api-key-callout .api-link:hover{color:#0369a1}.help-text.error{color:#dc2626;font-weight:500;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:.75rem;margin-top:.5rem}.model-select option:disabled{color:#9ca3af;font-style:italic}.data-manager{max-width:1200px;margin:0 auto;padding:2rem}.page-header{margin-bottom:2rem}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:600;color:#1a1a1a}.page-header p{margin:0;color:#666;font-size:1rem}.manager-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:1.5rem;margin-top:2rem}.manager-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;justify-content:space-between;min-height:100%}.manager-card:nth-child(3){grid-column:1 / -1;max-width:100%}.manager-card h2{margin:0 0 .75rem;font-size:1.25rem;font-weight:600;color:#1a1a1a}.manager-card p{margin:0 0 1.5rem;color:#666;font-size:.875rem;line-height:1.5}.manager-card button{width:100%;margin-bottom:.5rem}.export-buttons{display:flex;gap:1rem;flex-wrap:wrap}.export-buttons button{flex:1;min-width:150px}.manager-card .btn-primary{background:#667eea!important;color:#fff!important;border:none!important}.manager-card .btn-primary:hover:not(:disabled){background:#5568d3!important}.result{margin-top:1rem;padding:.75rem 1rem;border-radius:6px;font-size:.875rem;line-height:1.5}.result.success{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.result.error{background-color:#fee2e2;color:#991b1b;border:1px solid #fecaca}@media (max-width: 768px){.data-manager{padding:1rem}.manager-grid{grid-template-columns:1fr}.export-buttons{flex-direction:column}.export-buttons button{width:100%}}.bulk-processor{background:#fff;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.bulk-header{margin-bottom:24px}.bulk-header h2{margin:0 0 8px;color:#1a202c;font-size:24px}.bulk-header p{color:#4a5568;margin:0}.bulk-form{background:#f7fafc;border-radius:6px;padding:20px;margin-bottom:20px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#2d3748}.form-group select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;font-size:14px}.file-input-wrapper{position:relative}.file-input-wrapper input[type=file]{width:100%;padding:10px 12px;border:2px dashed #cbd5e0;border-radius:4px;background:#fff;cursor:pointer}.file-input-wrapper input[type=file]:hover{border-color:#667eea}.file-help{margin:8px 0 0;font-size:13px;color:#718096}.file-help code{background:#e2e8f0;padding:2px 4px;border-radius:3px;font-family:monospace}.file-selected{margin-top:8px;color:#48bb78;font-size:14px}.form-actions{margin-top:24px}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block}.btn-primary:hover:not(:disabled){background:#5a67d8}.btn-primary:disabled{background:#cbd5e0;cursor:not-allowed}.btn-secondary{background:#e2e8f0;color:#2d3748}.btn-secondary:hover{background:#cbd5e0}.progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin:20px 0}.progress-fill{height:100%;background:#667eea;transition:width .3s ease}.bulk-results{margin-top:24px;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.results-summary{padding:20px;background:#f7fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.results-summary h3{margin:0;color:#1a202c}.summary-stats{display:flex;gap:20px;align-items:center}.stat{font-size:14px;font-weight:600}.stat.success{color:#48bb78}.stat.failure{color:#f56565}.stat.total{color:#4a5568}.results-table{max-height:400px;overflow-y:auto}.results-table table{width:100%;border-collapse:collapse}.results-table th{background:#f7fafc;padding:12px;text-align:left;font-weight:600;color:#2d3748;border-bottom:2px solid #e2e8f0;position:sticky;top:0;z-index:1}.results-table td{padding:12px;border-bottom:1px solid #e2e8f0}.results-table tr.success{background:#f0fff4}.results-table tr.failure{background:#fff5f5}.error-text{color:#e53e3e;font-size:13px}.bulk-instructions{margin-top:32px;background:#f7fafc;padding:24px;border-radius:6px}.bulk-instructions h3{margin:0 0 16px;color:#1a202c}.bulk-instructions ol{margin:0 0 20px;padding-left:24px}.bulk-instructions li{margin-bottom:8px;color:#4a5568;line-height:1.6}.bulk-instructions code{background:#e2e8f0;padding:2px 6px;border-radius:3px;font-family:monospace;color:#1a202c}.csv-example{margin-top:24px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:4px}.csv-example h4{margin:0 0 12px;color:#2d3748;font-size:16px}.csv-example pre{margin:0 0 16px;padding:12px;background:#1a202c;color:#e2e8f0;border-radius:4px;font-family:monospace;font-size:13px;overflow-x:auto}.csv-example p{margin:16px 0 8px;font-weight:600;color:#2d3748}.csv-example p:first-of-type{margin-top:0}.help-text{font-size:13px;color:#718096;margin:8px 0 0}.help-text.error-text{color:#e53e3e}.action-row{display:flex;align-items:center;gap:24px;margin-bottom:16px}.test-mode-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.test-mode-toggle input[type=checkbox]{width:auto;margin:0;cursor:pointer}.test-mode-toggle span{font-size:14px;color:#4a5568;font-weight:500}.test-mode-info-box{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#eff6ff;border:2px solid #93c5fd;border-radius:8px;margin-top:.75rem}.test-mode-info-box .info-icon{font-size:1.5rem;flex-shrink:0}.test-mode-info-box .info-content{flex:1}.test-mode-info-box .info-content strong{display:block;color:#1e40af;font-size:.9375rem;font-weight:600;margin-bottom:.25rem}.test-mode-info-box .info-content p{margin:0;color:#1e3a8a;font-size:.875rem;line-height:1.5}.test-mode-notice{background:#e0f2ff;border:1px solid #60a5fa;border-radius:4px;padding:8px 16px;margin:12px 0;color:#1e40af;font-size:14px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999}.modal-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:8px;padding:32px;max-width:500px;width:90%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;z-index:1000}.modal-dialog h3{margin:0 0 16px;color:#dc2626;font-size:20px}.modal-dialog p{margin:0 0 12px;color:#4a5568;line-height:1.6}.modal-dialog strong{color:#1a202c;font-weight:600}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn-sm{font-size:14px;padding:8px 16px}.bulk-processor-page{max-width:1200px;width:100%;margin:0 auto;padding:2rem 1.5rem}.result-logs{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#4a5568;max-width:400px}.log-line{background:#f7fafc;padding:4px 8px;border-radius:3px;border-left:2px solid #667eea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.log-more{color:#667eea;font-style:italic;padding-left:10px}.log-more.clickable{cursor:pointer;text-decoration:underline;transition:color .2s}.log-more.clickable:hover{color:#4f46e5;font-weight:600}.test-mode-notice,.live-mode-notice{display:flex;flex-direction:column;gap:6px;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px}.test-mode-notice{background:#dbeafe;border:2px solid #3b82f6;color:#1e40af}.live-mode-notice{background:#fef3c7;border:2px solid #f59e0b;color:#78350f}.quota-info{font-size:12px;opacity:.9}.logs-modal{max-width:800px;max-height:80vh;display:flex;flex-direction:column}.logs-modal h3{margin:0 0 16px;color:#1a202c}.logs-modal-content{flex:1;overflow-y:auto;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:16px;margin-bottom:16px;max-height:60vh}.log-entry{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid #e2e8f0;font-family:Monaco,Courier New,monospace;font-size:13px;line-height:1.5}.log-entry:last-child{border-bottom:none}.log-number{color:#667eea;font-weight:600;min-width:30px;text-align:right;flex-shrink:0}.log-text{color:#2d3748;word-break:break-word}.source-type-selector{margin-bottom:24px}.source-type-tabs{display:flex;gap:16px;flex-wrap:wrap}.source-tab{flex:1;min-width:280px;display:flex;align-items:center;gap:12px;padding:20px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s;position:relative}.source-tab:hover{border-color:#cbd5e0;background:#fff}.source-tab.active{border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.tab-icon{font-size:32px;flex-shrink:0}.tab-content{flex:1}.tab-title{font-size:16px;font-weight:600;color:#1a202c;margin-bottom:4px}.tab-description{font-size:14px;color:#4a5568}.recommended-badge{position:absolute;top:8px;right:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.hubspot-list-selection{border:2px dashed #e2e8f0;border-radius:8px;padding:20px;background:#fff}.loading-lists{display:flex;align-items:center;gap:12px;padding:20px;color:#4a5568}.spinner-small{width:20px;height:20px;border:2px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.list-search-wrapper{margin-bottom:16px}.list-search-input{width:100%;padding:12px 16px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;transition:all .2s}.list-search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.hubspot-lists{max-height:400px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.no-lists-message{padding:40px 20px;text-align:center;color:#718096;font-style:italic}.list-item{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all .2s}.list-item:last-child{border-bottom:none}.list-item:hover{background:#f7fafc}.list-item.selected{background:#eef2ff;border-left:4px solid #667eea}.list-info{flex:1}.list-name{font-weight:600;color:#1a202c;margin-bottom:4px}.list-meta{font-size:13px;color:#718096}.selected-check{color:#667eea;font-size:24px;font-weight:600}.list-selected-info{margin-top:16px;padding:12px 16px;background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;color:#155724;font-weight:500}.scheduled-jobs-widget{margin-top:32px;padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff}.scheduled-jobs-widget .widget-header{margin-bottom:24px;text-align:center}.scheduled-jobs-widget .widget-header h3{margin:0 0 8px;font-size:28px;font-weight:700;color:#fff}.scheduled-jobs-widget .widget-header p{margin:0;font-size:16px;opacity:.95}.how-it-works{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:24px;margin-bottom:24px}.how-it-works h4{margin:0 0 20px;font-size:20px;font-weight:600;color:#fff}.instructions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.instruction-step{display:flex;align-items:flex-start;gap:12px}.step-number{width:36px;height:36px;background:#ffffff40;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;flex-shrink:0}.step-content strong{display:block;margin-bottom:4px;font-size:14px}.step-content p{margin:0;font-size:13px;opacity:.9;line-height:1.4}.use-cases{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:24px;margin-bottom:24px}.use-cases h4{margin:0 0 16px;font-size:20px;font-weight:600;color:#fff}.use-cases ul{margin:0;padding-left:20px;list-style:none}.use-cases li{margin-bottom:12px;line-height:1.5;position:relative;padding-left:24px}.use-cases li:before{content:"▶";position:absolute;left:0;color:#ffffffb3}.use-cases li strong{display:block;margin-bottom:2px}.schedule-form{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;color:#1a202c}.schedule-form h4{margin:0 0 20px;font-size:20px;font-weight:600;color:#1a202c}.schedule-config{display:flex;flex-direction:column;gap:20px}.form-row-inline{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.form-field{display:flex;flex-direction:column}.form-field label{font-weight:600;margin-bottom:8px;color:#2d3748;font-size:14px}.form-field small.help-text{margin-top:4px;font-size:12px;color:#718096;font-style:italic}.schedule-select,.schedule-input{padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;background:#fff;color:#1a202c}.schedule-select:disabled,.schedule-input:disabled{background:#f7fafc;color:#a0aec0;cursor:not-allowed}.conditional-fields{margin-top:8px}.schedule-preview{padding:16px;background:#f7fafc;border-radius:8px;border-left:4px solid #667eea;font-size:14px}.schedule-preview .preview-time{color:#667eea;font-weight:600}.schedule-actions{display:flex;flex-direction:column;gap:12px}.schedule-actions .btn{width:100%;padding:12px 24px;font-size:16px;font-weight:600}.feature-status{padding:12px 16px;background:#fff3cd;border:1px solid #ffc107;border-radius:6px;color:#856404;margin:0;font-size:14px;text-align:center}.active-schedules-preview{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:24px;margin-bottom:24px;color:#fff}.active-schedules-preview h4{margin:0 0 16px;font-size:20px;font-weight:600}.no-schedules{text-align:center;padding:32px;opacity:.8;font-size:15px}.schedule-example{margin-top:24px}.example-label{font-size:12px;text-transform:uppercase;letter-spacing:1px;opacity:.7;margin-bottom:8px}.schedule-card{background:#fff;color:#1a202c;border-radius:8px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}.schedule-info{flex:1}.schedule-title{font-weight:600;font-size:16px;margin-bottom:8px;color:#1a202c}.schedule-details{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:8px;font-size:13px}.schedule-details span{padding:4px 8px;background:#f7fafc;border-radius:4px;white-space:nowrap}.schedule-next,.schedule-last{font-size:13px;color:#4a5568;margin-top:4px}.schedule-actions-row{display:flex;gap:8px}.btn-icon{background:none;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;cursor:pointer;font-size:16px;transition:all .2s}.btn-icon:hover{background:#f7fafc;transform:scale(1.1)}.benefits-box{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:24px;color:#fff}.benefits-box h4{margin:0 0 20px;font-size:20px;font-weight:600}.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.benefit{display:flex;align-items:flex-start;gap:12px}.benefit-icon{font-size:28px;flex-shrink:0}.benefit-text strong{display:block;margin-bottom:4px;font-size:14px}.benefit-text p{margin:0;font-size:13px;opacity:.9;line-height:1.4}@media (max-width: 768px){.instructions-grid,.benefits-grid,.form-row-inline{grid-template-columns:1fr}.schedule-card{flex-direction:column;align-items:flex-start}.schedule-actions-row{width:100%;justify-content:space-between}}.error-details{display:flex;flex-direction:column;gap:.5rem}.error-text{color:#dc2626;font-weight:500}.view-logs-link{color:#3b82f6;font-size:.875rem;cursor:pointer;text-decoration:underline;margin-top:.25rem}.view-logs-link:hover{color:#2563eb}.clickable{cursor:pointer}.log-more{color:#3b82f6;font-size:.875rem;margin-top:.25rem;text-decoration:underline}.log-more:hover{color:#2563eb}.super-admin-dashboard{padding:2rem 3rem;width:100%;max-width:none!important;margin:0;overflow-x:visible;box-sizing:border-box}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.dashboard-header h1{font-size:2rem;font-weight:600;color:var(--text-primary);margin:0}.btn-refresh{background:var(--primary-color);color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-weight:500;cursor:pointer;transition:background .2s}.btn-refresh:hover:not(:disabled){background:var(--primary-hover)}.btn-refresh:disabled{opacity:.6;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;display:flex;align-items:center;gap:1.5rem;transition:box-shadow .2s}.stat-card:hover{box-shadow:0 4px 12px #00000014}.stat-icon{font-size:2.5rem;opacity:.8}.stat-content{flex:1}.stat-value{font-size:2rem;font-weight:600;color:var(--text-primary);line-height:1;margin-bottom:.5rem}.stat-label{color:var(--text-secondary);font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.tier-breakdown{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.tier-breakdown h3{margin:0 0 1rem;font-size:1.125rem;color:var(--text-primary)}.tier-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.tier-stat{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:var(--background-secondary);border-radius:8px}.tier-name{font-weight:500;color:var(--text-primary)}.tier-count{font-size:1.25rem;font-weight:600;color:var(--primary-color)}.filters-section{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;align-items:center}.search-box{flex:1;min-width:300px}.search-input{width:100%;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .2s}.search-input:focus{outline:none;border-color:var(--primary-color)}.filters{display:flex;gap:.75rem;align-items:center}.filter-select{padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;font-size:.875rem;background:#fff;cursor:pointer;transition:border-color .2s}.filter-select:focus{outline:none;border-color:var(--primary-color)}.sort-toggle{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:.75rem;font-size:1.125rem;cursor:pointer;transition:all .2s}.sort-toggle:hover{background:var(--background-secondary);border-color:var(--primary-color)}.portals-table-container{background:#fff;border:1px solid var(--border-color);border-radius:12px;overflow-x:auto;overflow-y:visible;margin-bottom:2rem;width:100%;box-shadow:0 1px 3px #0000001a}.portals-table{width:100%;border-collapse:collapse;min-width:1200px;table-layout:fixed}.portals-table thead{background:var(--background-secondary);border-bottom:2px solid var(--border-color)}.portals-table th,.portals-table td{padding:1rem;text-align:left;overflow:hidden;text-overflow:ellipsis}.portals-table th{font-weight:600;color:var(--text-primary);font-size:.875rem;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.portals-table th:nth-child(1),.portals-table td:nth-child(1){width:15%;white-space:normal}.portals-table th:nth-child(2),.portals-table td:nth-child(2){width:15%;white-space:normal;font-size:.875rem}.portals-table th:nth-child(3),.portals-table td:nth-child(3){width:10%;text-align:center}.portals-table th:nth-child(4),.portals-table td:nth-child(4){width:10%;text-align:center}.portals-table th:nth-child(5),.portals-table td:nth-child(5){width:10%;text-align:right}.portals-table th:nth-child(6),.portals-table td:nth-child(6){width:15%;text-align:center}.portals-table th:nth-child(7),.portals-table td:nth-child(7){width:12%;white-space:nowrap}.portals-table th:nth-child(8),.portals-table td:nth-child(8){width:13%;text-align:center;white-space:nowrap}.portals-table tbody tr{border-bottom:1px solid var(--border-light);transition:background .2s}.portals-table tbody tr:hover{background:var(--background-hover)}.portals-table tbody tr.loading{opacity:.6}.portals-table td{vertical-align:middle}.portal-id{font-family:var(--font-mono);font-size:.75rem;color:var(--text-secondary);margin-top:.125rem}.company-info{display:flex;flex-direction:column;gap:.25rem}.company-name{font-weight:500;color:var(--text-primary)}.user-info{display:flex;flex-direction:column;gap:.375rem}.installer-email,.last-login-email{font-size:.875rem;display:flex;align-items:center;gap:.5rem}.last-login-email{font-size:.8125rem;opacity:.85}.email-label{font-size:.75rem;color:var(--text-secondary);font-weight:500;min-width:70px}.user-email{font-size:.875rem}.user-name{font-size:.75rem;color:var(--text-secondary)}.tier-badge{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;min-width:70px;justify-content:center;white-space:nowrap}.tier-free{background:#e3f2fd;color:#1565c0}.tier-starter{background:#e8f5e9;color:#2e7d32}.tier-professional{background:#f3e5f5;color:#7b1fa2}.tier-enterprise{background:#fff3e0;color:#e65100}.tier-development{background:#d1fae5;color:#065f46}.status-badge{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:capitalize}.status-active{background:#d4edda;color:#155724}.status-cancelled{background:#f8d7da;color:#721c24}.status-past_due{background:#fff3cd;color:#856404}.cancel-notice{display:block;font-size:.75rem;color:var(--text-secondary);margin-top:.25rem}.mrr{font-weight:600;color:var(--text-primary)}.usage-stats{display:flex;gap:1rem;font-size:.875rem}.last-activity{font-size:.75rem;color:var(--text-secondary);margin-top:.25rem}.created-date{font-size:.875rem;color:var(--text-secondary)}.action-buttons{display:flex;gap:.35rem;align-items:center;justify-content:center;flex-wrap:nowrap}.tier-select{padding:.25rem .5rem;border:1px solid var(--border-color);border-radius:4px;font-size:.75rem;background:#fff;cursor:pointer;min-width:95px;transition:border-color .2s}.tier-select:hover:not(:disabled){border-color:var(--primary-color)}.tier-select:disabled{opacity:.6;cursor:not-allowed;background:#f5f5f5}.btn-icon{background:#fff;border:1px solid var(--border-color);border-radius:4px;padding:.3rem .4rem;font-size:.85rem;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px}.btn-icon:hover:not(:disabled){background:var(--primary-light);border-color:var(--primary-color);transform:translateY(-1px)}.btn-icon:disabled{opacity:.5;cursor:not-allowed}.portals-table-container::-webkit-scrollbar{height:8px}.portals-table-container::-webkit-scrollbar-track{background:var(--background-secondary);border-radius:4px}.portals-table-container::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:4px}.portals-table-container::-webkit-scrollbar-thumb:hover{background:var(--primary-hover)}.no-results{text-align:center;padding:3rem;color:var(--text-secondary)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:80vh;overflow-y:auto;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 var(--border-color)}.modal-header h2{margin:0;font-size:1.25rem;color:var(--text-primary)}.close-button{background:none;border:none;font-size:1.5rem;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-button:hover{background:var(--background-secondary);color:var(--text-primary)}.portal-details{padding:1.5rem}.detail-section{margin-bottom:2rem}.detail-section:last-child{margin-bottom:0}.detail-section h3{margin:0 0 1rem;font-size:1rem;color:var(--text-primary);font-weight:600}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid var(--border-light)}.detail-row:last-child{border-bottom:none}.detail-label{font-size:.875rem;color:var(--text-secondary)}.detail-value{font-size:.875rem;color:var(--text-primary);font-weight:500}.detail-value code{background:var(--background-secondary);padding:.125rem .375rem;border-radius:4px;font-size:.75rem;font-family:monospace}.super-admin-dashboard>*{max-width:100%}.portals-table-container{position:relative}.portals-table-container:after{content:"";position:absolute;top:0;right:0;bottom:0;width:30px;background:linear-gradient(to right,transparent,rgba(255,255,255,.8));pointer-events:none;opacity:0;transition:opacity .3s}.portals-table-container:hover:after{opacity:1}@media (min-width: 1600px){.super-admin-dashboard{padding:2rem 3rem}}@media (max-width: 1600px){.super-admin-dashboard{padding:2rem}}@media (max-width: 1400px){.super-admin-dashboard{padding:1.5rem 2rem}.portals-table{min-width:1100px}}@media (max-width: 1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.super-admin-dashboard{padding:1.5rem}.portals-table{min-width:1000px}}@media (max-width: 768px){.super-admin-dashboard{padding:1rem}.stats-grid{grid-template-columns:1fr}.filters-section{flex-direction:column;align-items:stretch}.search-box{min-width:auto}.filters{flex-wrap:wrap}.portals-table{min-width:900px}}.subscription-indicator{position:relative}.subscription-badge{display:flex;align-items:center;gap:.5rem;padding:.375rem .875rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:.875rem;transition:all .2s}.subscription-badge:hover{background:#f9fafb;border-color:#d1d5db}.subscription-badge.free{background:#f0f9ff;border-color:#bae6fd;color:#0369a1}.subscription-badge.starter{background:#f0fdf4;border-color:#86efac;color:#15803d}.subscription-badge.professional{background:#fef3c7;border-color:#fcd34d;color:#92400e}.subscription-badge.enterprise{background:#faf5ff;border-color:#e9d5ff;color:#6b21a8}.subscription-badge.development{background:#d1fae5;border-color:#6ee7b7;color:#065f46}.subscription-badge.at-limit{animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.02)}to{transform:scale(1)}}.tier-label{font-weight:600;text-transform:capitalize}.usage-info{font-size:.75rem;opacity:.8}.subscription-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border-radius:8px;box-shadow:0 10px 25px #0000001a;min-width:280px;z-index:1000;animation:fadeIn .2s}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb}.dropdown-header h4{margin:0;font-size:1rem;color:#111827}.close-btn{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-btn:hover{background-color:#f3f4f6}.workspace-section{padding:1rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.workspace-item{display:flex;align-items:center;gap:.75rem}.workspace-icon{font-size:1.75rem;flex-shrink:0}.workspace-details{display:flex;flex-direction:column;gap:.25rem}.workspace-name{font-weight:600;color:#111827;font-size:.9375rem}.portal-id{font-size:.75rem;color:#6b7280;font-family:monospace}.usage-section{padding:1rem;display:flex;flex-direction:column;gap:.75rem}.usage-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.usage-label{color:#6b7280;font-size:.875rem}.usage-value{font-weight:600;color:#111827}.upgrade-link{display:block;text-align:center;padding:.75rem 1rem;background:#4f46e5;color:#fff;text-decoration:none;font-weight:500;font-size:.875rem;border-radius:0 0 8px 8px;transition:background-color .2s}.upgrade-link:hover{background:#4338ca}.reset-limits-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:2rem;color:#fff;box-shadow:0 10px 30px #667eea4d;display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:600px}.reset-limits-header{text-align:center;margin-bottom:1.5rem}.reset-icon{font-size:3rem;margin-bottom:.5rem;animation:spin 3s linear infinite}@keyframes spin{0%,90%{transform:rotate(0)}95%{transform:rotate(360deg)}to{transform:rotate(360deg)}}.reset-limits-header h3{margin:0 0 .5rem;font-size:1.75rem;font-weight:700}.reset-subtitle{margin:0;font-size:1.1rem;opacity:.95;font-weight:500}.reset-price{text-align:center;margin:1.5rem 0}.reset-amount{font-size:3rem;font-weight:700;display:block}.reset-period{font-size:.9rem;opacity:.9;text-transform:uppercase;letter-spacing:1px}.reset-description{text-align:center;margin:1rem 0 1.5rem;font-size:1rem;opacity:.95;line-height:1.5}.reset-features{list-style:none;padding:0;margin:1.5rem 0;flex-grow:1}.reset-features li{padding:.75rem 0;display:flex;align-items:center;font-size:.95rem;border-bottom:1px solid rgba(255,255,255,.2)}.reset-features li:last-child{border-bottom:none}.reset-features .checkmark{display:inline-block;width:24px;height:24px;background:#fff3;border-radius:50%;text-align:center;line-height:24px;margin-right:.75rem;flex-shrink:0}.reset-btn{width:100%;padding:1rem;background:#fff;color:#667eea;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin:.5rem 0}.reset-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.reset-btn:disabled{opacity:.7;cursor:not-allowed}.reset-note{text-align:center;font-size:.875rem;margin:.5rem 0 0;opacity:.9;font-style:italic}.reset-error{background:#fff3;color:#fff;padding:.75rem;border-radius:8px;margin:1rem 0;text-align:center;font-size:.9rem}@media (max-width: 768px){.reset-limits-card{padding:1.5rem;min-height:auto}.reset-amount{font-size:2.5rem}.reset-limits-header h3{font-size:1.5rem}}@media (min-width: 769px){.reset-limits-card{min-height:650px}}.upgrade-page{max-width:1200px;margin:0 auto;padding:2rem}.upgrade-header{text-align:center;margin-bottom:3rem;width:100%;display:flex;flex-direction:column;align-items:center}.back-link{display:inline-flex;align-items:center;color:#6b7280;text-decoration:none;font-size:.875rem;margin-bottom:1rem;transition:color .2s;align-self:flex-start}.upgrade-header h1{margin:0 0 .5rem;font-size:2.5rem;color:#111827}.subtitle{color:#6b7280;font-size:1.125rem;margin:0 auto;text-align:center;max-width:600px;display:block}.manage-subscription-btn{margin-top:1rem;padding:.75rem 1.5rem;background-color:#7c3aed;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.manage-subscription-btn:hover:not(:disabled){background-color:#6d28d9}.manage-subscription-btn:disabled{cursor:not-allowed;opacity:.6}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:4rem}.pricing-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:2rem;position:relative;cursor:pointer;transition:all .3s;display:flex;flex-direction:column}.pricing-card:nth-of-type(4){grid-column:1}.reset-limits-card{grid-column:2}.pricing-card:nth-of-type(5){grid-column:3}.pricing-card:hover{border-color:#6366f1;transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.pricing-card.selected{border-color:#6366f1;box-shadow:0 8px 16px #6366f126}.pricing-card.popular{border-color:#6366f1}.popular-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:#6366f1;color:#fff;padding:.25rem 1rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.tier-name{margin:0 0 1rem;font-size:1.5rem;color:#111827;text-align:center;width:100%;display:block}.price{text-align:center;margin-bottom:2rem}.amount{font-size:3rem;font-weight:700;color:#111827}.period{font-size:1rem;color:#6b7280}.features-list{list-style:none;padding:0;margin:0 0 1.5rem}.features-list li{padding:.25rem 0;color:#374151;font-size:.875rem}.features-list li:before{color:#10b981}.limitations-list{list-style:none;padding:0;margin:0 0 1.5rem}.limitations-list li{display:flex;align-items:flex-start;margin-bottom:.5rem;color:#9ca3af;font-size:.875rem}.x-mark{color:#ef4444;margin-right:.75rem;flex-shrink:0}.select-plan-btn{width:100%;padding:.75rem 1.5rem;background:#6366f1;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s;margin-top:auto}.select-plan-btn:hover:not(:disabled){background:#4f46e5}.select-plan-btn:disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.select-plan-btn.enterprise{background:#111827}.select-plan-btn.enterprise:hover{background:#1f2937}.select-plan-btn.cancel{background:#ef4444}.select-plan-btn.cancel:hover:not(:disabled){background:#dc2626}.payment-notice{background:#fef3c7;border:2px solid #fcd34d;border-radius:12px;padding:2rem;margin-bottom:4rem}.notice-content{text-align:center}.notice-content h3{margin:0 0 .5rem;color:#92400e;font-size:1.5rem}.notice-content p{margin:0 0 1rem;color:#92400e}.contact-sales{display:inline-flex;align-items:center;color:#92400e;font-weight:600;text-decoration:none;transition:transform .2s}.contact-sales:hover{transform:translate(4px)}.features-comparison{margin-bottom:4rem}.features-comparison h2{text-align:center;margin:0 0 2rem;font-size:2rem;color:#111827}.core-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.feature-item{text-align:center;padding:1.5rem}.feature-icon{font-size:2.5rem;display:block;margin-bottom:1rem}.feature-item h4{margin:0 0 .5rem;font-size:1.125rem;color:#111827}.feature-item p{margin:0;color:#6b7280;font-size:.875rem}.faq-section{margin-bottom:4rem}.faq-section h2{text-align:center;margin:0 0 2rem;font-size:2rem;color:#111827}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.faq-item{background:#f9fafb;border-radius:8px;padding:1.5rem}.faq-item h4{margin:0 0 .5rem;color:#111827}.faq-item p{margin:0;color:#6b7280;font-size:.875rem;line-height:1.6}.support-link{text-align:center;padding:2rem;border-top:1px solid #e5e7eb}.support-link p{margin:0;color:#6b7280}.support-link a{color:#6366f1;text-decoration:none;font-weight:500}.support-link a:hover{text-decoration:underline}@media (max-width: 1024px){.pricing-grid{grid-template-columns:repeat(2,1fr)}.pricing-card:nth-of-type(4),.pricing-card:nth-of-type(5),.reset-limits-card{grid-column:auto;max-width:none}}@media (max-width: 768px){.upgrade-page{padding:1rem}.pricing-grid{grid-template-columns:1fr}.pricing-card:nth-of-type(4),.pricing-card:nth-of-type(5),.reset-limits-card{grid-column:1;max-width:none}.amount{font-size:2.5rem}.core-features{grid-template-columns:1fr;gap:1rem}}.billing-page{padding:2rem;max-width:1200px;margin:0 auto;min-height:100vh}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{font-size:2.5rem;font-weight:700;margin-bottom:.75rem;color:#111827}.page-header p{color:#6b7280;font-size:1.125rem;margin:0}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.spinner{width:40px;height:40px;border:3px solid var(--border-color);border-top-color:var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{background:#fef2f2;border:2px solid #fca5a5;color:#991b1b;padding:1rem 1.5rem;border-radius:12px;margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 6px #ef44441a}.error-banner button{background:none;border:none;color:#991b1b;font-size:1.5rem;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;transition:transform .2s}.error-banner button:hover{transform:scale(1.1)}.billing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:2rem;margin-bottom:3rem}.billing-card{background:#fff;border:2px solid #e5e7eb;border-radius:16px;padding:2rem;box-shadow:0 4px 6px #0000000d;transition:all .3s ease}.billing-card:hover{border-color:#6366f1;box-shadow:0 12px 24px #6366f11a;transform:translateY(-2px)}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #f3f4f6}.card-header h2{font-size:1.5rem;font-weight:700;margin:0;color:#111827}.plan-details{display:flex;flex-direction:column;gap:1rem}.tier-badge{display:inline-flex;align-items:center;padding:.75rem 1.5rem;border-radius:12px;font-weight:700;font-size:1.25rem;width:fit-content;box-shadow:0 2px 4px #0000001a;transition:transform .2s}.tier-badge:hover{transform:translateY(-1px)}.tier-badge.free{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.tier-badge.starter{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.tier-badge.professional{background:linear-gradient(135deg,#e9d5ff,#d8b4fe);color:#6b21a8}.tier-badge.enterprise{background:linear-gradient(135deg,#fed7aa,#fdba74);color:#9a3412}.plan-price{font-size:2rem;font-weight:700;color:#111827;margin-top:.5rem}.plan-status{margin-top:.5rem}.status-active{display:inline-flex;align-items:center;gap:.5rem;background:#d1fae5;color:#065f46;padding:.375rem .875rem;border-radius:9999px;font-weight:600;font-size:.875rem}.status-active:before{content:"●";color:#10b981}.status-warning{display:inline-flex;align-items:center;gap:.5rem;background:#fed7aa;color:#9a3412;padding:.375rem .875rem;border-radius:9999px;font-weight:600;font-size:.875rem}.status-warning:before{content:"●";color:#f97316}.status-inactive{display:inline-flex;align-items:center;gap:.5rem;background:#f3f4f6;color:#6b7280;padding:.375rem .875rem;border-radius:9999px;font-weight:600;font-size:.875rem}.status-inactive:before{content:"●";color:#9ca3af}.reactivate-section{margin-top:2rem;padding:1.5rem;border-radius:12px;background:#fffbeb;border:2px solid #fde68a}.reactivate-section p{color:#92400e;margin-bottom:1rem;font-weight:500}.usage-details{display:flex;flex-direction:column;gap:1.5rem}.usage-item{display:flex;flex-direction:column;gap:.5rem}.usage-label{display:flex;align-items:center;gap:.75rem;color:#6b7280;font-size:.9375rem;font-weight:600}.usage-label .icon{font-size:1.5rem}.usage-value{font-size:1.5rem;font-weight:700;color:#111827}.usage-limit{color:var(--text-secondary);font-weight:400}.usage-bar{height:10px;background:#f3f4f6;border-radius:9999px;overflow:hidden;box-shadow:inset 0 2px 4px #0000000d}.usage-bar-fill{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:9999px;transition:width .5s ease;box-shadow:0 2px 4px #10b9814d}.billing-details{display:flex;flex-direction:column;gap:1rem}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--border-light)}.feature-icon{font-size:1rem;min-width:1.25rem;text-align:center;font-weight:700}.feature-text{flex:1;font-size:.9375rem}.feature-item{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;color:#374151}.feature-item.included .feature-icon{color:#10b981}.feature-item.not-included{opacity:.6}.feature-item.not-included .feature-icon{color:#ef4444}.feature-item:last-child{border-bottom:none}.detail-label{color:var(--text-secondary);font-size:.875rem}.detail-value{color:var(--text-primary);font-weight:500}.features-list{display:flex;flex-direction:column;gap:.75rem}.usage-note{margin-top:.5rem;font-size:.75rem;color:#6b7280;font-style:italic;line-height:1.4}.usage-bar-fill.ai{background:linear-gradient(90deg,#7c3aed,#a78bfa);box-shadow:0 2px 4px #7c3aed4d}.danger-zone{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5;border-radius:16px;padding:2rem;margin-top:3rem;box-shadow:0 4px 6px #ef44441a}.danger-zone h3{color:#991b1b;margin-bottom:1.5rem;font-size:1.5rem;font-weight:700;display:flex;align-items:center;gap:.5rem}.danger-zone h3:before{content:"⚠️";font-size:1.75rem}.danger-content{display:flex;justify-content:space-between;align-items:center;gap:2rem}.danger-info h4{margin:0 0 .5rem;font-size:1rem;color:var(--text-primary)}.danger-info p{margin:0;color:var(--text-secondary)}.btn-primary{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px #6366f133}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#4f46e5,#4338ca);transform:translateY(-1px);box-shadow:0 6px 12px #6366f14d}.btn-secondary{background:#fff;color:#6366f1;border:2px solid #6366f1;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s}.btn-secondary:hover:not(:disabled){background:#eef2ff;border-color:#4f46e5;color:#4f46e5;transform:translateY(-1px)}.btn-success{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px #10b98133}.btn-success:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 6px 12px #10b9814d}.btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px #ef444433}.btn-danger:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-1px);box-shadow:0 6px 12px #ef44444d}button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.billing-page{padding:1rem}.billing-grid{grid-template-columns:1fr}.danger-content{flex-direction:column;align-items:flex-start}.btn-danger{width:100%}}.usage-reset-section{margin-top:2rem;padding:1.5rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #3b82f6;border-radius:12px}.reset-info h3{margin:0 0 .5rem;color:#1e40af;font-size:1.25rem;font-weight:600}.reset-info p{margin:0 0 1rem;color:#1e3a8a;font-size:1rem}.reset-info ul{list-style:none;padding:0;margin:0 0 1.5rem}.reset-info li{padding:.5rem 0;color:#1e40af;font-size:.9375rem}.reset-usage-btn{width:100%;padding:1rem 1.5rem;font-size:1.125rem;font-weight:600;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 6px #3b82f64d}.reset-usage-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 6px 12px #3b82f666}.reset-usage-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.support-page{max-width:1200px;margin:0 auto;padding:2rem}.support-header{text-align:center;margin-bottom:3rem}.support-header h1{margin:0 0 .5rem;font-size:2.5rem;color:#111827}.support-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:4rem}.support-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:2rem;text-align:center;transition:all .3s}.support-card:hover{border-color:#6366f1;transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.support-card.primary{border-color:#6366f1;background:#f5f3ff}.support-icon{font-size:3rem;display:block;margin-bottom:1rem}.support-card h3{margin:0 0 .5rem;color:#111827;font-size:1.5rem}.support-card p{margin:0 0 1rem;color:#6b7280}.support-link{display:inline-block;color:#6366f1;font-weight:600;text-decoration:none;font-size:1.125rem;margin-bottom:.5rem}.support-link:hover{text-decoration:underline}.response-time{font-size:.875rem;color:#9ca3af;margin:.5rem 0 0}.contact-info{background:#f9fafb;border-radius:12px;padding:2.5rem;margin-bottom:3rem}.contact-info h2{margin:0 0 2rem;text-align:center;color:#111827}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;text-align:center}.info-item h4{margin:0 0 .5rem;color:#374151;font-size:1.125rem}.info-item p{margin:0;color:#6b7280;line-height:1.6}.info-item a{color:#6366f1;text-decoration:none}.info-item a:hover{text-decoration:underline}.support-tiers{margin-bottom:3rem}.support-tiers h2{text-align:center;margin:0 0 2rem;color:#111827}.support-table{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.support-table th{background:#f9fafb;padding:1rem;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.support-table td{padding:1rem;color:#6b7280;border-bottom:1px solid #f3f4f6}.support-table tbody tr:last-child td{border-bottom:none}.support-table td:first-child{font-weight:500;color:#374151}.common-issues{margin-bottom:3rem}.common-issues h2{text-align:center;margin:0 0 2rem;color:#111827}.issues-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.issue-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.issue-card h4{margin:0 0 1rem;color:#111827;font-size:1.125rem}.issue-card ul{margin:0;padding-left:1.5rem;color:#6b7280;line-height:1.8}.issue-card li{margin-bottom:.5rem}.legal-info{text-align:center;margin-bottom:3rem;padding:2rem 0;border-top:1px solid #e5e7eb}.legal-info h2{margin:0 0 1.5rem;color:#111827}.legal-links{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.legal-links a{color:#6366f1;text-decoration:none;font-weight:500}.legal-links a:hover{text-decoration:underline}.emergency-support{background:#fee2e2;border:2px solid #fecaca;border-radius:12px;padding:2rem;margin-bottom:2rem}.emergency-content{text-align:center}.emergency-content h3{margin:0 0 .5rem;color:#991b1b}.emergency-content p{margin:0;color:#991b1b;line-height:1.6}.emergency-content strong{color:#dc2626}.back-link{display:inline-flex;align-items:center;color:#6b7280;text-decoration:none;font-size:.875rem;margin-bottom:1rem;transition:color .2s}.back-link:hover{color:#374151}.subtitle{color:#6b7280;font-size:1.125rem;margin:0}@media (max-width: 768px){.support-page{padding:1rem}.support-options,.info-grid,.issues-grid{grid-template-columns:1fr}.legal-links{flex-direction:column;gap:1rem}.support-table{font-size:.875rem}.support-table th,.support-table td{padding:.75rem .5rem}}.terms-page{min-height:calc(100vh - 60px);padding:2rem;background:#f8fafc}.terms-container{max-width:800px;margin:0 auto;background:#fff;padding:3rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;line-height:1.8}.terms-page h1{margin:0 0 .5rem;color:#1e293b;font-size:2.5rem;font-weight:700}.last-updated{color:#64748b;font-size:.875rem;margin-bottom:2rem;font-style:italic}.terms-page section{margin-bottom:2.5rem}.terms-page h2{margin:0 0 1rem;color:#334155;font-size:1.5rem;font-weight:600;padding-top:1rem}.terms-page h3{margin:1.5rem 0 .75rem;color:#475569;font-size:1.125rem;font-weight:600}.terms-page p{margin:0 0 1rem;color:#475569;text-align:justify}.terms-page ul{margin:0 0 1rem;padding-left:2rem;color:#475569}.terms-page li{margin-bottom:.5rem}.terms-page strong{color:#1e293b;font-weight:600}.terms-page address{font-style:normal;color:#475569;line-height:1.6;background:#f1f5f9;padding:1rem;border-radius:8px;margin-top:1rem}.acknowledgment{background:#fef3c7;border:2px solid #f59e0b;border-radius:8px;padding:1.5rem;margin-top:3rem}.acknowledgment h2{color:#92400e;margin-top:0;padding-top:0}.acknowledgment p{color:#78350f;font-weight:500;margin:0;text-align:left}@media (max-width: 768px){.terms-page{padding:1rem}.terms-container{padding:1.5rem;border-radius:0}.terms-page h1{font-size:2rem}.terms-page h2{font-size:1.25rem}}.privacy-page{min-height:calc(100vh - 60px);padding:2rem;background:#f8fafc}.privacy-container{max-width:800px;margin:0 auto;background:#fff;padding:3rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;line-height:1.8}.privacy-page h1{margin:0 0 .5rem;color:#1e293b;font-size:2.5rem;font-weight:700}.privacy-page .last-updated{color:#64748b;font-size:.875rem;margin-bottom:2rem;font-style:italic}.privacy-page section{margin-bottom:2.5rem}.privacy-page h2{margin:0 0 1rem;color:#334155;font-size:1.5rem;font-weight:600;padding-top:1rem}.privacy-page h3{margin:1.5rem 0 .75rem;color:#475569;font-size:1.125rem;font-weight:600}.privacy-page p{margin:0 0 1rem;color:#475569;text-align:justify}.privacy-page ul{margin:0 0 1rem;padding-left:2rem;color:#475569}.privacy-page li{margin-bottom:.5rem}.privacy-page strong{color:#1e293b;font-weight:600}.privacy-page address{font-style:normal;color:#475569;line-height:1.6;background:#f1f5f9;padding:1rem;border-radius:8px;margin-top:1rem}@media (max-width: 768px){.privacy-page{padding:1rem}.privacy-container{padding:1.5rem;border-radius:0}.privacy-page h1{font-size:2rem}.privacy-page h2{font-size:1.25rem}}.dpa-page{min-height:calc(100vh - 60px);padding:2rem;background:#f8fafc}.dpa-container{max-width:800px;margin:0 auto;background:#fff;padding:3rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;line-height:1.8}.dpa-page h1{margin:0 0 .5rem;color:#1e293b;font-size:2.5rem;font-weight:700}.dpa-page .last-updated{color:#64748b;font-size:.875rem;margin-bottom:2rem;font-style:italic}.dpa-page section{margin-bottom:2.5rem}.dpa-page h2{margin:0 0 1rem;color:#334155;font-size:1.5rem;font-weight:600;padding-top:1rem}.dpa-page h3{margin:1.5rem 0 .75rem;color:#475569;font-size:1.125rem;font-weight:600}.dpa-page p{margin:0 0 1rem;color:#475569;text-align:justify}.dpa-page ul{margin:0 0 1rem;padding-left:2rem;color:#475569}.dpa-page li{margin-bottom:.5rem}.dpa-page strong{color:#1e293b;font-weight:600}.dpa-page address{font-style:normal;color:#475569;line-height:1.6;background:#f1f5f9;padding:1rem;border-radius:8px;margin-top:1rem}.contact-section{background:#eff6ff;padding:1.5rem;border-radius:8px;margin-top:3rem}.contact-section h2{color:#1e40af;margin-top:0;padding-top:0}@media (max-width: 768px){.dpa-page{padding:1rem}.dpa-container{padding:1.5rem;border-radius:0}.dpa-page h1{font-size:2rem}.dpa-page h2{font-size:1.25rem}}.sla-page{padding:2rem;min-height:calc(100vh - 60px);background:#f8fafc}.sla-container{max-width:900px;margin:0 auto;background:#fff;padding:3rem;border-radius:12px;box-shadow:0 1px 3px #0000001a}.sla-container h1{margin:0 0 .5rem;color:#1e293b;font-size:2.5rem;font-weight:700}.last-updated{color:#64748b;font-size:.9375rem;margin:0 0 2rem;font-style:italic}.sla-container section{margin-bottom:2.5rem}.sla-container h2{color:#1e293b;font-size:1.75rem;font-weight:600;margin:2rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #e5e7eb}.sla-container h3{color:#334155;font-size:1.25rem;font-weight:600;margin:1.5rem 0 1rem}.sla-container h4{color:#475569;font-size:1.125rem;font-weight:600;margin:1.25rem 0 .75rem}.sla-container p{color:#475569;line-height:1.7;margin:0 0 1rem}.sla-container ul{margin:0 0 1rem 1.5rem;color:#475569;line-height:1.7}.sla-container li{margin-bottom:.5rem}.sla-container strong{color:#1e293b;font-weight:600}.sla-container code{background:#f1f5f9;padding:.125rem .375rem;border-radius:4px;font-family:Monaco,Courier New,monospace;font-size:.875rem;color:#7c3aed}.sla-container address{font-style:normal;line-height:1.8;color:#475569}.sla-table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9375rem}.sla-table thead{background:#f8fafc}.sla-table th{padding:.75rem 1rem;text-align:left;font-weight:600;color:#1e293b;border-bottom:2px solid #e5e7eb}.sla-table td{padding:.75rem 1rem;color:#475569;border-bottom:1px solid #e5e7eb}.sla-table tbody tr:last-child td{border-bottom:none}.sla-table tbody tr:hover{background:#f8fafc}.note{background:#eff6ff;border-left:4px solid #3b82f6;padding:1rem;margin:1rem 0;border-radius:4px;font-size:.9375rem;color:#1e40af}.acknowledgment{background:#fef3c7;border:2px solid #fbbf24;padding:1.5rem;border-radius:8px;margin-top:3rem}.acknowledgment h2{border-bottom:none;margin-top:0;color:#92400e}.acknowledgment p{color:#92400e;font-weight:500}@media (max-width: 768px){.sla-page{padding:1rem}.sla-container{padding:1.5rem}.sla-container h1{font-size:2rem}.sla-container h2{font-size:1.5rem}.sla-table{font-size:.8125rem}.sla-table th,.sla-table td{padding:.5rem}}.settings-page{padding:2rem;max-width:800px;margin:0 auto}.settings-page h1{color:#333;margin-bottom:2rem}.settings-section{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.settings-section h2{color:#444;margin-bottom:1.5rem;font-size:1.5rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem 3rem;align-items:start}.info-item{display:flex;flex-direction:column;gap:.75rem;align-items:flex-start}.info-item label{font-weight:600;color:#666;font-size:.875rem;margin-bottom:0}.info-item span{color:#333;font-family:monospace;font-size:.95rem}.loading{text-align:center;padding:2rem;color:#666}.tier-badge{display:inline-block;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:600;text-transform:uppercase;font-family:system-ui,-apple-system,sans-serif;text-align:center;min-width:140px;line-height:1;vertical-align:middle}.tier-badge.free{background:#e9ecef;color:#495057}.tier-badge.starter{background:#cfe2ff;color:#084298}.tier-badge.professional{background:#e0cffc;color:#3d0a91}.tier-badge.enterprise{background:#fff3cd;color:#664d03}.tier-badge.development{background:#d1ecf1;color:#0c5460}.status-badge{display:inline-block;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:600;font-family:system-ui,-apple-system,sans-serif;text-align:center;min-width:140px;line-height:1;vertical-align:middle}.status-badge.active{background:#d4edda;color:#155724}.status-badge.cancelled{background:#f8d7da;color:#721c24}.status-badge.past_due{background:#fff3cd;color:#664d03}.features-list{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e9ecef}.features-list label{font-weight:600;color:#666;font-size:.875rem;display:block;margin-bottom:.5rem}.features-list ul{list-style:none;padding:0;margin:0}.features-list li{padding:.25rem 0;color:#495057;font-size:.875rem}.features-list li:before{content:"✓";color:#28a745;font-weight:700;margin-right:.5rem}.danger-zone{border:2px solid #dc3545}.danger-zone h2{color:#dc3545}.delete-data-section{margin-top:1.5rem}.delete-data-section h3{color:#dc3545;margin-bottom:1rem}.warning-text{color:#856404;background:#fff3cd;padding:1rem;border-radius:4px;margin-bottom:1.5rem;border:1px solid #ffeaa7}.deletion-status{margin-top:1.5rem;padding:1.5rem;background:#f8f9fa;border-radius:6px}.deletion-status h4{margin-bottom:1rem;color:#495057}.deletion-status ul{list-style:none;padding:0;margin-bottom:1.5rem}.deletion-status li{padding:.5rem 0;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between}.deletion-status li:last-child{border-bottom:none;font-weight:600}.info-note{background:#d1ecf1;border:1px solid #bee5eb;color:#0c5460;padding:.75rem;border-radius:4px;margin:1rem 0;font-size:.875rem}.btn{padding:.5rem 1.5rem;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:all .2s}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:8px;max-width:500px;width:90%;box-shadow:0 4px 20px #00000026}.modal-content h3{color:#dc3545;margin-bottom:1rem}.modal-content p{margin-bottom:1rem;line-height:1.6}.confirm-input{width:100%;padding:.5rem;font-size:1rem;border:2px solid #dee2e6;border-radius:4px;margin-bottom:1.5rem}.confirm-input:focus{outline:none;border-color:#dc3545}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}@media (max-width: 768px){.settings-page{padding:1rem}.settings-section{padding:1.5rem}.info-grid{grid-template-columns:1fr;gap:1.5rem}.modal-content{padding:1.5rem}}.credentials-page{max-width:1200px;margin:0 auto;padding:2rem;min-height:100vh;background:#fafafa}.credentials-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.credentials-header h1{margin:0 0 .5rem;font-size:2rem;color:#1a1a1a}.subtitle{color:#666;font-size:.95rem;margin:0}.credentials-form{margin-bottom:2rem;padding:1.5rem}.credentials-form h2{margin-top:0;margin-bottom:1.5rem;font-size:1.5rem;color:#1a1a1a}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333;font-size:.9rem}.form-input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:.95rem;font-family:inherit;transition:border-color .2s}.form-input:focus{outline:none;border-color:#ff7a59}.form-input::placeholder{color:#999}textarea.form-input{resize:vertical;font-family:Monaco,Courier New,monospace;font-size:.85rem}.help-text{display:block;margin-top:.25rem;font-size:.8rem;color:#666}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.security-notice{margin-top:1.5rem;padding:1rem;background:#f0f9ff;border:1px solid #bee3f8;border-radius:4px;font-size:.85rem;color:#2c5282}.credentials-list{margin-bottom:2rem}.credentials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.credential-card{padding:1.5rem;transition:box-shadow .2s}.credential-card:hover{box-shadow:0 4px 12px #0000001a}.credential-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.credential-header h3{margin:0 0 .5rem;font-size:1.25rem;color:#1a1a1a;word-break:break-word}.credential-type-badge{display:inline-block;padding:.25rem .75rem;background:#e8f4f8;color:#0c5d92;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.credential-actions{display:flex;gap:.5rem;flex-shrink:0}.credential-info{display:flex;flex-direction:column;gap:.5rem}.credential-service{font-size:.9rem;color:#333}.credential-description{font-size:.85rem;color:#666;font-style:italic}.credential-meta{margin-top:.5rem;padding-top:.75rem;border-top:1px solid #eee}.credential-meta small{color:#999;font-size:.8rem}.empty-state{text-align:center;padding:3rem;color:#666}.empty-state p{margin:.5rem 0}.empty-state-hint{font-size:.9rem;color:#999}.usage-instructions{padding:1.5rem;background:#fafafa;border:1px solid #e5e5e5}.usage-instructions h3{margin-top:0;margin-bottom:1rem;font-size:1.25rem;color:#1a1a1a}.usage-instructions ol{margin:1rem 0;padding-left:1.5rem}.usage-instructions li{margin:.75rem 0;line-height:1.6}.code-example{margin-top:1.5rem;padding:1rem;background:#fff;border:1px solid #ddd;border-radius:4px}.code-example strong{display:block;margin-bottom:.5rem;color:#333}.code-example pre{margin:0;padding:1rem;background:#f5f5f5;border-radius:4px;overflow-x:auto;font-family:Monaco,Courier New,monospace;font-size:.85rem;line-height:1.5}.code-example code{background:#f5f5f5;padding:.2rem .4rem;border-radius:3px;font-family:Monaco,Courier New,monospace;font-size:.85rem}.alert{padding:1rem;margin-bottom:1.5rem;border-radius:4px;font-size:.9rem}.alert-error{background:#fee;color:#c00;border:1px solid #fcc}.alert-success{background:#efe;color:#070;border:1px solid #cfc}.btn{padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#ff7a59;color:#fff}.btn-primary:hover:not(:disabled){background:#ff6343}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover:not(:disabled){background:#e0e0e0}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.btn-sm{padding:.4rem .8rem;font-size:.85rem}.card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 2px 4px #0000000d}.loading{text-align:center;padding:4rem 2rem;color:#666;font-size:1rem;background:#fff;border-radius:8px;border:1px solid #e5e5e5}@media (max-width: 768px){.credentials-page{padding:1rem}.credentials-header{flex-direction:column;gap:1rem}.credentials-grid{grid-template-columns:1fr}.credential-header{flex-direction:column}.credential-actions{width:100%}}.app-footer{background:#1e293b;color:#e2e8f0;padding:3rem 2rem 1.5rem;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.footer-section h4{color:#fff;font-size:1rem;font-weight:600;margin:0 0 1rem}.footer-section a,.footer-section p{color:#cbd5e1;text-decoration:none;display:block;margin-bottom:.5rem;font-size:.875rem;transition:color .2s}.footer-section a:hover{color:#fff}.footer-section p{margin-bottom:.5rem}.footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid #334155;color:#94a3b8;font-size:.875rem}@media (max-width: 768px){.footer-content{grid-template-columns:1fr;gap:1.5rem}.app-footer{padding:2rem 1rem 1rem}}.help-page{max-width:900px;margin:0 auto}.help-header{text-align:center;margin-bottom:3rem}.help-header h1{font-size:2.5rem;color:#1e293b;margin-bottom:.5rem}.help-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem}.help-section h2{color:#1e293b;font-size:1.5rem;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.help-section h3{color:#334155;font-size:1.125rem;margin-bottom:.75rem;margin-top:1rem}.help-section p{color:#475569;line-height:1.7;margin-bottom:1rem}.numbered-list{counter-reset:item;list-style:none;padding:0}.numbered-list>li{counter-increment:item;margin-bottom:1.5rem;padding-left:3rem;position:relative}.numbered-list>li:before{content:counter(item);position:absolute;left:0;top:0;width:2rem;height:2rem;background:#667eea;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.875rem}.numbered-list strong{color:#1e293b;font-size:1.0625rem;display:block;margin-bottom:.25rem}.numbered-list p{margin:0;color:#64748b}.step-type-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;margin-bottom:1rem}.step-type-card h3{margin-top:0;color:#667eea}.example{background:#fff;padding:1rem;border-left:3px solid #667eea;margin-top:1rem;border-radius:4px}.example strong{color:#667eea}.code-section h3{color:#1e293b;margin-top:0}.code-section pre{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:6px;overflow-x:auto;font-size:.875rem}.code-section code{font-family:Monaco,Courier New,monospace}.faq-item{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e2e8f0}.faq-item:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.faq-item h3{color:#667eea;margin-top:0}.faq-item ul{color:#475569;line-height:1.7;padding-left:1.5rem}.faq-item li{margin-bottom:.5rem}.resource-list{list-style:none;padding:0}.resource-list li{margin-bottom:.75rem}.resource-list a{color:#667eea;text-decoration:none;font-weight:500;transition:color .2s}.resource-list a:hover{color:#2563eb;text-decoration:underline}.help-page pre{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:.5rem;overflow-x:auto;font-family:Consolas,Monaco,monospace;font-size:.875rem;margin:1rem 0}.support-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.support-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-align:center;text-decoration:none;color:inherit;transition:all .3s;display:block}.support-card:hover{border-color:#6366f1;transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.support-icon{font-size:2.5rem;display:block;margin-bottom:1rem}.support-card h3{margin:0 0 .5rem;color:#111827;font-size:1.25rem}.support-card p{margin:0;color:#6b7280;font-size:.875rem}.code-example{background:#1e293b;color:#e2e8f0;padding:12px 16px;border-radius:6px;font-size:13px;font-family:Monaco,Consolas,monospace;overflow-x:auto;margin:8px 0;white-space:pre}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f8fa;padding:2rem}.auth-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #00000014,0 4px 16px #00000014;max-width:400px;width:100%;padding:40px}.auth-header{text-align:center;margin-bottom:32px}.auth-header h1{font-size:32px;font-weight:600;color:#33475b;margin:0 0 8px;letter-spacing:-.5px}.auth-header p{font-size:16px;color:#516f90;margin:0;line-height:1.5}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#4a5568}.form-group input{padding:.75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:1rem;transition:all .2s}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background:#f7fafc;cursor:not-allowed}.form-footer{display:flex;justify-content:flex-end}.btn-block{width:100%}.auth-divider{position:relative;text-align:center;margin:1.5rem 0}.auth-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#e2e8f0}.auth-divider span{position:relative;background:#fff;padding:0 1rem;font-size:.875rem;color:#a0aec0}.auth-footer{text-align:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.auth-footer p{color:#718096;margin:0}.link-primary{color:#667eea;text-decoration:none;font-weight:600}.link-primary:hover{color:#5568d3;text-decoration:underline}.link-secondary{color:#718096;text-decoration:none;font-size:.875rem}.link-secondary:hover{color:#4a5568;text-decoration:underline}.alert{padding:.75rem 1rem;border-radius:6px;font-size:.875rem}.alert-error{background:#fed7d7;color:#742a2a;border:1px solid #fc8181}.alert-success{background:#c6f6d5;color:#22543d;border:1px solid #68d391}.auth-success{text-align:center;padding:1rem 0}.success-icon{font-size:4rem;color:#38a169;margin-bottom:1rem}.auth-success h2{font-size:1.5rem;color:#1a202c;margin:0 0 1rem}.auth-success p{color:#718096;margin:0 0 1.5rem;line-height:1.6}.dev-info{background:#fef5e7;border:1px solid #f9e79f;border-radius:6px;padding:1rem;margin:1.5rem 0;text-align:left}.dev-label{font-weight:700;color:#d68910;margin:0 0 .5rem}.dev-info code{display:block;background:#fff;padding:.5rem;border-radius:4px;font-size:.75rem;word-break:break-all;margin:.5rem 0}.success-text{color:#38a169;font-size:.875rem;margin-top:.5rem}.error-text{color:#e53e3e;font-size:.875rem;margin-top:.5rem}.auth-subtitle{font-size:16px!important;color:#516f90!important;font-weight:400}.auth-content{text-align:center}.auth-description{font-size:16px;color:#33475b;margin-bottom:24px;line-height:1.5}.auth-note{font-size:13px;color:#7c98b6;margin-top:24px;line-height:1.6;text-align:center}.nav-logout{background:none;border:none;cursor:pointer;padding:0;font:inherit}.nav-logout:hover{color:#ff6b6b}.nav-icon{font-size:1.5rem;margin-bottom:.5rem;display:inline-block}.auth-logo{display:inline-flex;margin-bottom:1rem}.auth-button{width:100%;padding:13px 24px;font-size:15px;font-weight:500;border-radius:3px;border:none;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;gap:10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;letter-spacing:.01em;line-height:1}.auth-button-hubspot{background-color:#ff7a59;color:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.auth-button-hubspot:hover{background-color:#ff5c35;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.auth-button-hubspot:active{background-color:#e74c28;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.hubspot-logo{flex-shrink:0}@media (max-width: 480px){.auth-container{padding:1rem}.auth-card{padding:32px 24px;max-width:100%}.auth-header h1{font-size:28px}.auth-header p{font-size:15px}.auth-description{font-size:15px;margin-bottom:20px}.auth-button{font-size:14px;padding:12px 20px}.auth-note{font-size:12px;margin-top:20px}}.app{min-height:100vh;display:flex;flex-direction:column;width:100%;overflow-x:hidden}.navbar{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px #0000000d;width:100%}.nav-container{margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:64px;gap:1.5rem}.nav-brand{display:flex;align-items:center;font-size:1.25rem;font-weight:700;color:#111827;text-decoration:none;flex-shrink:0}.nav-icon{font-size:1.5rem;margin-right:.5rem}.nav-center{display:flex;align-items:center;gap:.5rem;flex:1;justify-content:center}.nav-right{display:flex;align-items:center;gap:1rem;flex-shrink:0}.nav-link{color:#6b7280;text-decoration:none;font-weight:500;font-size:.875rem;transition:all .2s;padding:.5rem .625rem;border-radius:6px;white-space:nowrap}.nav-link:hover{color:#111827;background:#f3f4f6}.nav-link:active,.nav-link.active{color:#6366f1;background:#eef2ff}.nav-logout{background:none;border:none;cursor:pointer;font-family:inherit}.main-content{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:2rem 1.5rem}.nav-hamburger{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:8px;z-index:1001}.hamburger-line{width:24px;height:2px;background:#374151;transition:all .3s ease;border-radius:2px}.mobile-only{display:none}.desktop-only{display:flex}@media (max-width: 1400px){.nav-hamburger{display:flex}.nav-center{position:fixed;top:64px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:1rem;box-shadow:0 4px 6px #0000001a;max-height:calc(100vh - 64px);overflow-y:auto;transform:translate(-100%);transition:transform .3s ease;z-index:1000;gap:0}.nav-center.mobile-open{transform:translate(0)}.nav-center .nav-link{padding:1rem;border-radius:0;border-bottom:1px solid #e5e7eb;text-align:left}.nav-center .nav-link:last-child{border-bottom:none}.mobile-only{display:block}.desktop-only{display:flex}}@media (max-width: 768px){.desktop-only{display:none}.mobile-only{display:block!important}.nav-container{padding:0 1rem}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;margin:0;padding:0;overflow-x:hidden}body{min-height:100vh}h1{font-size:2rem;font-weight:700;line-height:1.2;margin-bottom:1rem}h2{font-size:1.5rem;font-weight:600;line-height:1.3;margin-bottom:.75rem}h3{font-size:1.25rem;font-weight:600;line-height:1.4;margin-bottom:.5rem}button{cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{width:100%;padding:.5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem;font-family:inherit;color:#1f2937;background-color:#fff;transition:border-color .2s}input:focus,select:focus,textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}input:disabled,select:disabled,textarea:disabled{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed}label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.25rem;color:#475569}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3}.btn-secondary{background:#e2e8f0;color:#475569}.btn-secondary:hover:not(:disabled){background:#cbd5e1}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-sm{padding:.375rem .75rem;font-size:.8125rem}.alert{padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.alert-error{background-color:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-success{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.alert-warning{background-color:#fef3c7;color:#92400e;border:1px solid #fcd34d}.alert-info{background-color:#dbeafe;color:#1e40af;border:1px solid #93c5fd}code{font-family:Monaco,Consolas,Courier New,monospace;font-size:.875rem;color:#374151;background-color:#f3f4f6;padding:.125rem .25rem;border-radius:.25rem}pre{font-family:Monaco,Consolas,Courier New,monospace;font-size:.875rem;color:#1f2937;background-color:#f9fafb;padding:1rem;border-radius:.5rem;overflow-x:auto;border:1px solid #e5e7eb}pre code{background-color:transparent;padding:0;color:inherit}
