:root{color-scheme:light;--bg:#f7f8fb;--card:#fff;--text:#0b0c0e;--muted:#6b7280;--border:#e5e7eb;--accent:#3b82f6;--accent-2:#8b5cf6;--danger:#ef4444;--radius:14px}body,html{height:100%;margin:0;padding:0;background:linear-gradient(180deg,#f9fafb 0,var(--bg) 40%,#fff 100%) fixed;color:var(--text)}*{box-sizing:border-box}h1{font-size:clamp(1.8rem,1.1rem + 2vw,2.4rem);line-height:1.2}h3{font-size:1.05rem}a{color:inherit}.header{padding:10px 0 8px}.hero{padding:10px 0 6px}.hero-title{margin:0 0 8px;font-weight:800;letter-spacing:-.015em}.hero-subtitle{margin:0 0 18px;color:var(--muted);max-width:72ch}.header .hero-subtitle,.header .hero-title{text-align:left}.footer-bar{margin-top:24px;padding:16px 0 28px;border-top:1px solid var(--border);background:#fff}.footer-row{justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:.95rem}.footer-actions,.footer-row{display:flex;align-items:center}.footer-actions{gap:8px}.footer-chip{border:1px solid var(--border);padding:6px 10px;border-radius:999px;background:#fff;color:#111}.contact-block,.contact-items{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.contact-item{display:inline-flex;align-items:center;gap:6px}.contact-sep{color:var(--muted);margin:0 4px}.icon{font-size:.95rem}@media (max-width:480px){.footer-row{align-items:flex-start}.contact-block{flex-direction:column;gap:6px}.contact-sep{display:none}}.spacer-sm{height:8px}.spacer-md{height:16px}.spacer-lg{height:24px}.container{max-width:1200px;margin:24px auto;padding:0 18px}.topbar{padding:12px 0}.gh{display:inline-flex;width:40px;height:40px;border-radius:12px;border:1px solid var(--border);background:hsla(0,0%,100%,.02);align-items:center;justify-content:center;text-decoration:none}.grid{display:grid;grid-gap:20px;gap:20px;grid-template-columns:1fr}@media (min-width:900px){.grid{grid-template-columns:1.25fr 1fr;gap:24px}}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:0 6px 24px rgba(0,0,0,.06)}.card h3{margin:0 0 10px}.two{display:grid;grid-gap:16px;gap:16px;grid-template-columns:1fr}@media (min-width:700px){.two{grid-template-columns:1fr 1fr;gap:20px}}.file,.select{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--text)}.preview-frame{position:relative;height:220px;border:1px dashed var(--border);border-radius:10px;background:repeating-conic-gradient(#f3f4f6 0 25%,#eef2f7 0 50%) 50% /20px 20px;display:flex;align-items:center;justify-content:center;overflow:hidden;display:none}.preview-frame:has(.preview[src]:not([src=""])){display:flex}.preview-frame.drop-active{border-color:var(--accent);box-shadow:0 0 0 2px rgba(79,140,255,.25)}.preview{max-width:100%;max-height:100%;object-fit:contain;display:block}.preview:not([src]),.preview[src=""]{display:none}.textarea{width:100%;min-height:100px;resize:vertical;border-radius:10px;border:1px solid var(--border);padding:10px;color:var(--text);background:#fff}.icon{color:var(--muted)}@media (max-width:640px){.footer-bar{padding:12px 0 18px}.footer-row{flex-direction:column;align-items:flex-start;gap:8px}.footer-actions{align-self:flex-start}.contact-block{gap:6px;flex-direction:column}.contact-items{gap:8px}.contact-sep{display:inline}.gh{width:36px;height:36px;border-radius:10px}}.actions{display:flex;align-items:center;gap:10px;margin:5px;flex-wrap:wrap}.btn{border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:600;border:1px solid transparent}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff}.btn-secondary{background:#fff;color:var(--text);border-color:var(--border)}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--muted);cursor:default}.sample-row{display:flex;align-items:center;gap:10px;margin-top:10px}.sample-row .btn{flex:1 1 auto}.sample-row .btn-icon{flex:0 0 38px}@media (max-width:480px){.sample-row{gap:8px}.sample-row .btn-icon{width:34px;height:34px;border-radius:9px}}.btn-block{width:100%}@media (min-width:900px){.btn-inline{width:auto}}@media (max-width:640px){.actions{flex-direction:column;align-items:stretch}.actions .btn{width:100%!important}.actions .muted{width:100%;margin-left:0!important}}@keyframes spin{to{transform:rotate(1turn)}}.loader{width:20px;height:20px;border:2px solid var(--muted);border-top-color:var(--accent);border-radius:50%}.btn-loader,.loader{animation:spin 1s linear infinite}.btn-loader{width:16px;height:16px;border:2px solid rgba(0,0,0,.2);border-top:2px solid var(--accent);border-radius:50%;margin-right:8px}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.25);justify-content:center;z-index:50}.overlay,.overlay-card{display:flex;align-items:center}.overlay-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px 16px;gap:10px;box-shadow:0 10px 30px rgba(0,0,0,.12)}.skeleton{position:relative;overflow:hidden;background:#eef2f7;border-radius:10px;min-height:240px;border:1px solid var(--border)}@keyframes shimmer{to{transform:translateX(100%)}}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(0,0,0,.06),transparent);animation:shimmer 1.2s infinite}.result-img{width:100%;height:auto;max-height:480px;border-radius:10px;display:block;object-fit:contain;background:#fff}.footer{margin-top:12px;margin-bottom:12px;color:var(--muted);font-size:.9rem}.info-wrap{position:relative}.tooltip{position:absolute;top:44px;left:50%;transform:translateX(-50%);z-index:20}.tooltip-card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 12px;color:var(--text);box-shadow:0 8px 24px rgba(0,0,0,.12);width:clamp(320px,44vw,380px);max-width:90vw;font-size:.92rem;line-height:1.35;white-space:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto}@media (max-width:480px){.tooltip{top:auto;bottom:44px;left:auto;right:0;transform:none}.tooltip-card{width:min(92vw,360px);font-size:.9rem}}@media (max-width:768px){.info-wrap .tooltip{left:auto;right:0;transform:none}.info-wrap .tooltip .tooltip-card{width:min(92vw,420px)}}