:root{color-scheme:light dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#f5f6f8;color:#1f2933}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f0f4ff,#f5f6f8);min-height:100vh}.app-container{min-height:100vh;display:flex;flex-direction:column;align-items:stretch;width:min(100%,720px);margin:0 auto;padding:2rem 1.25rem 3rem}header{text-align:center;width:100%;margin:0 auto}header h1{margin-bottom:.5rem;font-size:2.5rem}header p{margin-top:0;color:#4b5563}main{width:100%;display:grid;gap:1.5rem;margin:2rem auto 0}form{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 12px 32px #0f172a14;display:grid;gap:1.25rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#1f2937}.form-label .required{color:#dc2626;margin-left:.25rem}.form-input,.form-textarea,.form-file{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem 1rem;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.form-input:focus,.form-textarea:focus,.form-file:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.form-textarea{min-height:120px;resize:vertical}.button-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,#6366f1,#3b82f6);border:none;color:#fff;font-weight:600;padding:.75rem 1.5rem;border-radius:9999px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.button-primary:disabled{opacity:.6;cursor:not-allowed}.button-primary:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 10px 24px #6366f159}.upload-hint{font-size:.85rem;color:#6b7280}.result-card{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 16px 40px #0f172a1a;display:grid;gap:1rem}.result-status{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:#2563eb}.result-status.processing{color:#f59e0b}.result-image{width:100%;border-radius:12px;object-fit:cover;max-height:320px}footer{margin-top:auto;width:100%;margin-left:auto;margin-right:auto;color:#6b7280;text-align:center}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid rgba(255,255,255,.6);border-top-color:#fff;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 600px){.app-container{padding:1.5rem 1rem 2.5rem}form,.result-card{padding:1.5rem}header h1{font-size:2rem}.button-primary{width:100%}}.flow-container{width:min(100%,680px);margin:0 auto;padding:2rem 1.25rem 3rem;display:flex;flex-direction:column;gap:2rem}.flow-header h1{margin-bottom:.5rem;font-size:2.25rem}.flow-header p{margin:.25rem 0;color:#4b5563}.flow-meta{font-size:.875rem;color:#6b7280}.flow-message{text-align:center;color:#4b5563;margin-top:4rem}.flow-form{display:flex;flex-direction:column;gap:1.5rem}form.flow-form{background:transparent;box-shadow:none;padding:0}.flow-question-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.5rem}.flow-question-item{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 15px 40px #0f172a1f}.flow-question-label{display:flex;gap:.75rem;align-items:baseline;font-weight:600;font-size:1.05rem;color:#1f2937}.flow-question-number{color:#6366f1;font-weight:700}.required-indicator{color:#dc2626;margin-left:.25rem}.flow-question-description{margin:.5rem 0 1rem;color:#4b5563;font-size:.95rem}.flow-input{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem 1rem;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.flow-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.flow-options{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.flow-option{display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:#111827}.flow-question-error-message{color:#dc2626;font-size:.85rem;margin-top:.5rem}.flow-question-error .flow-input{border-color:#dc2626}.submit-button{align-self:flex-start;border:none;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:.75rem 1.75rem;border-radius:999px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.submit-button:hover{transform:translateY(-1px);box-shadow:0 15px 25px #4f46e559}.success-banner{background:#ecfdf5;border-radius:12px;padding:.75rem 1rem;color:#047857;font-weight:500}.error-banner{background:#fef2f2;border-radius:12px;padding:.75rem 1rem;color:#b91c1c;font-weight:500;border:1px solid #fecdd3}.thank-you-card{background:linear-gradient(135deg,#f1f5f9,#e0e7ff);border-radius:16px;padding:1.5rem;box-shadow:0 12px 30px #4f46e526;color:#0f172a}.thank-you-card h2{margin:0 0 .5rem;font-size:1.5rem;color:#4338ca}.thank-you-card p{margin:.35rem 0;line-height:1.6}.flow-footer details{background:#6366f114;padding:1rem;border-radius:12px}.flow-footer summary{font-weight:600;cursor:pointer}.flow-footer pre{margin-top:.75rem;white-space:pre-wrap;word-break:break-word;font-size:.9rem;color:#1f2937}
