/* Бесплатные ИИ-тулы на своих русских формах (free-ai-embed-tools). Цвета бренда Y/R/G на белом. */
.emb-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.emb-top .tag-live{margin:0}
.emb-src{font-size:15px;font-weight:600;color:var(--muted)}
.hf-box{background:radial-gradient(90% 70% at 0% 0%,rgba(255,210,31,.22),transparent 60%),radial-gradient(80% 60% at 100% 100%,rgba(46,219,115,.16),transparent 60%),var(--soft)}
.hf-form{max-width:820px}
.hf-form label{display:block;font-weight:600;font-size:16px;margin:14px 0 6px}
.hf-form select{width:100%;font:inherit;font-size:16px;padding:14px 18px;border:0;border-radius:16px;background:#fff;box-shadow:0 0 0 1.5px var(--line);appearance:auto}
.hf-form select:focus{outline:none;box-shadow:0 0 0 2px var(--k),0 0 0 6px rgba(255,210,31,.4)}
.hf-file input[type=file]{display:block;width:100%;margin:0;padding:18px;border-radius:16px;background:#fff;box-shadow:0 0 0 1.5px var(--line);font-size:15px;cursor:pointer;box-sizing:border-box}
.hf-file input[type=file]::file-selector-button{font:600 15px T,system-ui,sans-serif;border:0;border-radius:999px;padding:10px 18px;margin-right:12px;background:var(--y);color:var(--k);cursor:pointer}
.hf-preview{max-height:180px;width:auto;border-radius:14px;margin-top:10px;box-shadow:0 0 0 1px var(--line)}
.hf-consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important;font-size:15px!important}
.hf-consent input{width:20px;height:20px;margin-top:2px;accent-color:#1a8a4a;flex:none}
.hf-go{margin-top:20px;font-size:18px;padding:16px 30px}
.hf-go:disabled{opacity:.6;cursor:progress}
.hf-progress{margin-top:16px}
.hf-bar{height:8px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--line);overflow:hidden}
.hf-bar i{display:block;height:100%;width:4%;border-radius:999px;background:linear-gradient(90deg,var(--r),var(--y),var(--g));transition:width .6s var(--ease)}
.hf-stage{margin:8px 0 0;font-size:15px}
.hf-result{margin-top:20px;display:grid;gap:18px}
.hf-item{display:grid;gap:12px;justify-items:start;padding:16px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.hf-item img,.hf-item video{max-width:100%;max-height:70vh;width:auto;border-radius:14px;background:repeating-conic-gradient(#f1f1ee 0 25%,#fff 0 50%) 0 0/20px 20px}
.hf-item audio{width:100%}
.hf-item-t{margin:0;font-weight:700}
.hf-text{white-space:pre-wrap;padding:16px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line);font-size:16px;line-height:1.6;max-height:60vh;overflow:auto}
.hf-attr{margin:16px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.hf-attr a{color:inherit}
