:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#747bff}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.app{width:100%;margin:0;padding:2rem;text-align:center;min-height:100vh;box-sizing:border-box}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.login-content{text-align:center;max-width:400px;width:100%}.login-content h1{color:#213547;font-size:2.5rem;margin-bottom:.5rem;font-weight:700}.login-content>p{color:#64748b;font-size:1.2rem;margin-bottom:2rem}.login-card{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 25px -5px #0000001a;border:1px solid #e2e8f0}.login-card h2{color:#213547;font-size:1.5rem;margin-bottom:.5rem;font-weight:600}.login-card p{color:#64748b;margin-bottom:2rem;line-height:1.6}.login-button{background:linear-gradient(135deg,#646cff,#535bf2);color:#fff;border:none;padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:all .25s;min-width:160px;width:100%}.login-button:hover{background:linear-gradient(135deg,#535bf2,#646cff);transform:translateY(-2px);box-shadow:0 4px 12px #646cff4d}.header{margin-bottom:3rem;max-width:1200px;margin-left:auto;margin-right:auto}.header h1{color:#213547;font-size:3.2em;line-height:1.1;margin-bottom:.5rem}.header p{color:#646cff;font-size:1.2em;margin:0}.main{display:flex;flex-direction:column;gap:3rem;max-width:1200px;margin:0 auto;width:100%}.prompt-section{background:#f9f9f9;border-radius:12px;padding:2rem;box-shadow:0 2px 10px #0000001a}.prompt-form{max-width:600px;margin:0 auto}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#213547;text-align:center}.form-group textarea{width:80%;padding:1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;transition:border-color .25s}.form-group textarea:focus{outline:none;border-color:#646cff}.form-group textarea:disabled{background-color:#f1f5f9;cursor:not-allowed}.prompt-form button{background:linear-gradient(135deg,#646cff,#535bf2);color:#fff;border:none;padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:all .25s;min-width:160px}.prompt-form button:hover:not(:disabled){background:linear-gradient(135deg,#535bf2,#646cff);transform:translateY(-2px);box-shadow:0 4px 12px #646cff4d}.prompt-form button:disabled{background:#94a3b8;cursor:not-allowed;transform:none;box-shadow:none}.error{background:#fee2e2;color:#dc2626;padding:1rem;border-radius:8px;margin-top:1rem;border:1px solid #fecaca}.jobs-section{text-align:left;max-width:1200px;margin:0 auto}.jobs-section h2{color:#213547;margin-bottom:1.5rem;text-align:center}.no-jobs{text-align:center;color:#64748b;font-style:italic;padding:2rem}.jobs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.job-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e2e8f0;transition:transform .2s,box-shadow .2s}.job-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px -5px #0000001a}.job-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.job-status{color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.job-date{color:#64748b;font-size:.875rem}.job-content{display:flex;flex-direction:column;gap:1rem}.job-prompt{color:#374151;font-weight:500;line-height:1.5;margin:0}.job-image{border-radius:8px;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a;position:relative}.job-image img{width:100%;height:auto;display:block}.image-actions{display:flex;gap:.5rem;padding:1rem;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid rgba(226,232,240,.8)}.action-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;flex:1;justify-content:center}.download-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.download-button:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.share-button{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.share-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.action-button svg{flex-shrink:0}.job-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;border-radius:8px;min-height:150px}.job-placeholder.processing{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.job-placeholder.queued{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.job-placeholder.error{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.job-placeholder p{margin:0;font-weight:600}.spinner{width:32px;height:32px;border:3px solid rgba(30,64,175,.3);border-radius:50%;border-top-color:#1e40af;animation:spin 1s ease-in-out infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.app,.login-container{padding:1rem}.login-content h1{font-size:2rem}.login-card{padding:2rem}.header h1{font-size:2.5em}.jobs-grid{grid-template-columns:1fr}.prompt-section{padding:1.5rem}}
