: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%}}
