*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#222;background:#f6f6fa}.container{max-width:1100px;margin:0 auto;padding:2rem}h1{margin-top:0}h2{font-size:1.2rem;font-weight:600;margin:1.5rem 0 .6rem}.card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:1.25rem;box-shadow:0 8px 24px #0f172a0f;display:flex;flex-direction:column;gap:.6rem}textarea{width:100%;font:inherit;border-radius:14px;border:1px solid #d9d9e3;padding:1rem;resize:vertical}button{border:none;border-radius:12px;padding:.75rem 1rem;font-size:1rem;font-weight:600;color:#fff;cursor:pointer;background:linear-gradient(90deg,#4f46e5,#7c3aed);transition:.2s ease-in-out}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #4f46e540}button:disabled{opacity:.6;cursor:wait}.placeholder{min-height:200px;border:2px dashed #cfcfcf;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#888;background:#fafafa}.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;padding:1rem}.result{width:100%;background:#fff;border-radius:14px;border:1px solid #e5e7eb}
