:root{--blue:#0b57d0;--blue-2:#1a73e8;--ink:#202124;--muted:#5f6368;--line:#dadce0;--soft:#f8fafd;--green:#188038;--yellow:#f9ab00;--red:#d93025;--max:1200px}.hf-api-page{color:var(--ink);font-family:"Noto Sans SC",Arial,sans-serif;line-height:1.65;background:#fff;--gutter:24px;--page-inline:max(var(--gutter),calc((100vw - var(--max)) / 2))}.hf-api-page *,.hf-api-page *::before,.hf-api-page *::after{box-sizing:border-box}.hf-api-page button,.hf-api-page input{font:inherit}.hf-api-page img{max-width:100%}.hf-api-page .skip{position:fixed;left:12px;top:-60px;z-index:99;background:#fff;padding:10px 16px}.hf-api-page .skip:focus{top:12px}.hf-api-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.hf-api-page .site-header{height:72px;padding:0 clamp(20px,4vw,56px);display:flex;align-items:center;gap:44px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(218,220,224,.8);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.hf-api-page .brand{display:flex;align-items:center;gap:9px;font-size:20px;color:#3c4043;font-weight:500}.hf-api-page .brand img{width:112px;height:auto}.hf-api-page .brand span{padding-left:10px;border-left:1px solid var(--line)}.hf-api-page .site-header nav{display:flex;gap:30px;font-size:14px;color:#3c4043}.hf-api-page .site-header nav a,.hf-api-page .text-link{padding:24px 0;border-bottom:2px solid transparent}.hf-api-page nav a:hover,.hf-api-page .text-link:hover{color:var(--blue);border-color:var(--blue)}.hf-api-page .header-actions{margin-left:auto;display:flex;align-items:center;gap:24px;font-size:14px}.hf-api-page .button{min-height:46px;padding:0 22px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;transition:.2s ease}.hf-api-page .button svg{width:18px}.hf-api-page .button.primary{background:var(--blue);color:#fff}.hf-api-page .button.primary:hover{background:#0842a0;box-shadow:0 3px 8px rgba(11,87,208,.28)}.hf-api-page .button.small{min-height:40px;padding:0 18px}.hf-api-page .button.ghost{color:#fff;border:1px solid rgba(255,255,255,.72);background:rgba(0,0,0,.14)}.hf-api-page .button.ghost:hover{background:rgba(255,255,255,.12)}.hf-api-page .menu{display:none;border:0;background:none;padding:8px}.hf-api-page .hero{height:min(78vh,720px);min-height:610px;position:relative;overflow:hidden;color:#fff}.hf-api-page .hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hf-api-page .hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,18,41,.84) 0%,rgba(0,22,50,.55) 42%,rgba(0,0,0,.08) 75%),linear-gradient(0deg,rgba(0,0,0,.38),transparent 45%)}.hf-api-page .hero-content{position:relative;z-index:1;max-width:none;width:100%;height:100%;margin:0;padding:clamp(110px,15vh,160px) var(--page-inline) 48px;display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box}.hf-api-page .eyebrow{font-size:13px;text-transform:uppercase;font-weight:600;letter-spacing:0;color:#d7e7ff;display:flex;align-items:center;gap:10px}.hf-api-page .eyebrow span{width:28px;height:2px;background:#8ab4f8}.hf-api-page .hero h1{font-size:clamp(58px,8vw,96px);line-height:1;margin:30px 0 18px;letter-spacing:0;font-weight:600}.hf-api-page .hero-content>p{font-size:clamp(25px,3vw,38px);margin:0 0 36px;font-weight:400}.hf-api-page .hero-actions{display:flex;gap:12px}.hf-api-page .trust-row{margin-top:auto;display:flex;gap:36px;font-size:14px;color:#e8eaed}.hf-api-page .trust-row span{display:flex;align-items:center;gap:9px}.hf-api-page .trust-row svg{width:17px}.hf-api-page .band{padding:104px var(--page-inline)}.hf-api-page .section-inner{max-width:var(--max);width:100%;margin:0}.hf-api-page .intro{background:#fff}.hf-api-page .intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:9vw;align-items:end}.hf-api-page .kicker{color:var(--blue);font-size:14px;font-weight:600;margin:0 0 18px}.hf-api-page .intro h2,.hf-api-page .section-heading h2,.hf-api-page .solutions h2,.hf-api-page .answer h2,.hf-api-page .faq h2{font-size:clamp(34px,4vw,52px);line-height:1.22;letter-spacing:0;margin:0;font-weight:600}.hf-api-page .lead{font-size:18px;color:var(--muted);margin:0}.hf-api-page .metrics{margin-top:80px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr)}.hf-api-page .metrics div{padding:38px 28px 10px;border-right:1px solid var(--line)}.hf-api-page .metrics div:first-child{padding-left:0}.hf-api-page .metrics div:last-child{border:0}.hf-api-page .metrics strong{display:block;font-size:34px;color:var(--blue);line-height:1.2}.hf-api-page .metrics span{font-size:14px;color:var(--muted)}.hf-api-page .products{background:var(--soft)}.hf-api-page .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.hf-api-page .search-wrap{width:340px;height:48px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;padding:0 14px;gap:10px;border-radius:4px}.hf-api-page .search-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.hf-api-page .search-wrap svg{width:20px;color:var(--muted)}.hf-api-page .search-wrap input{width:100%;border:0;outline:0}.hf-api-page .filter-row{margin:42px 0 24px;display:flex;gap:10px;overflow:auto}.hf-api-page .chip{white-space:nowrap;border:1px solid var(--line);border-radius:20px;background:#fff;padding:7px 16px;color:#3c4043;cursor:pointer}.hf-api-page .chip:hover{background:#f1f3f4}.hf-api-page .chip.active{color:var(--blue);background:#e8f0fe;border-color:#aecbfa;font-weight:600}.hf-api-page .api-grid{display:grid;grid-template-columns:repeat(2,1fr);background:#fff;border-top:1px solid var(--line);border-left:1px solid var(--line)}.hf-api-page .api-card{min-height:190px;padding:30px;display:grid;grid-template-columns:48px 1fr 24px;gap:20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);position:relative;transition:.2s}.hf-api-page .api-card:hover{z-index:1;box-shadow:0 5px 24px rgba(60,64,67,.16)}.hf-api-page .api-card[hidden]{display:none}.hf-api-page .api-card h3{margin:0 0 8px;font-size:20px}.hf-api-page .api-card p{color:var(--muted);margin:0 0 16px;font-size:14px}.hf-api-page .api-card span{font-size:11px;color:#80868b;font-weight:600}.hf-api-page .icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center}.hf-api-page .icon svg{width:21px}.hf-api-page .icon.blue{background:#e8f0fe;color:var(--blue)}.hf-api-page .icon.green{background:#e6f4ea;color:var(--green)}.hf-api-page .icon.yellow{background:#fef7e0;color:#b06000}.hf-api-page .icon.red{background:#fce8e6;color:var(--red)}.hf-api-page .arrow{width:18px;color:#80868b}.hf-api-page .empty-state{text-align:center;color:var(--muted);padding:40px}.hf-api-page .start{background:#fff}.hf-api-page .inline-link{color:var(--blue);display:inline-flex;align-items:center;gap:8px;font-weight:600}.hf-api-page .inline-link svg{width:18px}.hf-api-page .steps{display:grid;grid-template-columns:repeat(3,1fr);margin:58px 0 44px;border-top:1px solid var(--line)}.hf-api-page .steps div{padding:28px 50px 0 0}.hf-api-page .steps b{font-size:13px;color:var(--blue)}.hf-api-page .steps h3{font-size:19px;margin:14px 0 7px}.hf-api-page .steps p{font-size:14px;color:var(--muted);margin:0}.hf-api-page .code-panel{background:#202124;color:#e8eaed;border-radius:6px;overflow:hidden;box-shadow:0 12px 38px rgba(32,33,36,.2)}.hf-api-page .code-tabs{height:58px;padding:0 18px;display:flex;align-items:center;border-bottom:1px solid #3c4043}.hf-api-page .code-tabs>div:first-child{display:flex;gap:7px}.hf-api-page .code-tabs>div:first-child span{width:10px;height:10px;border-radius:50%;background:#5f6368}.hf-api-page .language-tabs{margin-left:40px;align-self:stretch;display:flex}.hf-api-page .language-tabs button{background:none;border:0;color:#9aa0a6;padding:0 18px;border-bottom:2px solid transparent;cursor:pointer}.hf-api-page .language-tabs button.active{color:#8ab4f8;border-color:#8ab4f8}.hf-api-page .copy-button{margin-left:auto;background:none;color:#bdc1c6;border:0;display:flex;align-items:center;gap:7px;cursor:pointer}.hf-api-page .copy-button svg{width:16px}.hf-api-page .code-panel pre{margin:0;padding:34px;overflow:auto;min-height:180px}.hf-api-page .code-panel code{font-family:Consolas,monospace;font-size:14px;color:#d7e7ff}.hf-api-page .solutions{background:#202124;color:#fff}.hf-api-page .solutions .hf-api-page .kicker{color:#8ab4f8}.hf-api-page .solutions h2{max-width:720px}.hf-api-page .solution-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:58px;border-top:1px solid #5f6368}.hf-api-page .solution-grid article{min-height:300px;padding:30px 25px;border-right:1px solid #5f6368}.hf-api-page .solution-grid article:last-child{border:0}.hf-api-page .solution-grid span{font-size:12px;color:#9aa0a6}.hf-api-page .solution-grid svg{display:block;margin:54px 0 26px;width:30px;color:#8ab4f8}.hf-api-page .solution-grid h3{margin:0 0 12px;font-size:20px}.hf-api-page .solution-grid p{font-size:14px;color:#bdc1c6;margin:0}.hf-api-page .answer{background:#e8f0fe}.hf-api-page .answer-inner{max-width:var(--max)}.hf-api-page .answer h2{margin-bottom:28px}.hf-api-page .answer-inner>p:not(.kicker):not(.updated){font-size:20px;color:#3c4043}.hf-api-page .updated{font-size:12px;color:#5f6368;margin-top:30px}.hf-api-page .faq-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:9vw}.hf-api-page .faq-layout>div:first-child>p:not(.kicker){color:var(--muted);margin-top:24px}.hf-api-page .accordion{border-top:1px solid var(--line)}.hf-api-page details{border-bottom:1px solid var(--line)}.hf-api-page summary{list-style:none;cursor:pointer;padding:26px 2px;display:flex;justify-content:space-between;align-items:center;font-weight:600}.hf-api-page summary::-webkit-details-marker{display:none}.hf-api-page summary svg{width:19px;transition:.2s}.hf-api-page details[open] .hf-api-page summary svg{transform:rotate(45deg)}.hf-api-page details p{color:var(--muted);margin:0;padding:0 40px 26px 2px;font-size:14px}.hf-api-page .cta{padding:70px var(--page-inline);background:var(--blue);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:40px}.hf-api-page .cta p{margin:0 0 8px;color:#d7e7ff}.hf-api-page .cta h2{margin:0;font-size:30px}.hf-api-page .button.light{background:#fff;color:var(--blue)}.hf-api-page > footer{padding:64px var(--page-inline) 26px;background:#f8fafd}.hf-api-page .footer-main{display:grid;grid-template-columns:auto 1fr auto;gap:40px;align-items:center}.hf-api-page .footer-main>p{font-size:14px;color:var(--muted)}.hf-api-page .footer-links{display:flex;gap:28px;font-size:14px}.hf-api-page .footer-bottom{margin-top:46px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#80868b;font-size:12px}
@media(max-width:820px){.hf-api-page .site-header{height:64px;padding:0 18px}.hf-api-page .site-header nav,.hf-api-page .header-actions{display:none}.hf-api-page .site-header nav.open{display:flex;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:10px 24px 22px;border-bottom:1px solid var(--line)}.hf-api-page .site-header nav.open a{padding:14px 0}.hf-api-page .menu{display:block;margin-left:auto}.hf-api-page .hero{height:680px;min-height:0}.hf-api-page .hero-shade{background:linear-gradient(90deg,rgba(0,18,41,.82),rgba(0,18,41,.3)),linear-gradient(0deg,rgba(0,0,0,.55),transparent)}.hf-api-page .hero-content{padding:100px max(22px, calc((100vw - var(--max)) / 2)) 34px}.hf-api-page .hero h1{font-size:58px;margin-top:24px}.hf-api-page .hero-content>p{font-size:26px;max-width:340px}.hf-api-page .trust-row{gap:16px;flex-wrap:wrap}.hf-api-page .band{padding:72px max(22px, calc((100vw - var(--max)) / 2))}.hf-api-page .intro-grid,.hf-api-page .faq-layout{grid-template-columns:1fr;gap:28px}.hf-api-page .metrics{grid-template-columns:1fr 1fr;margin-top:50px}.hf-api-page .metrics div{padding:24px 12px;border-bottom:1px solid var(--line)}.hf-api-page .section-heading{align-items:flex-start;flex-direction:column}.hf-api-page .search-wrap{width:100%}.hf-api-page .api-grid{grid-template-columns:1fr}.hf-api-page .steps{grid-template-columns:1fr}.hf-api-page .steps div{padding-right:0}.hf-api-page .language-tabs{margin-left:15px}.hf-api-page .language-tabs button{padding:0 9px}.hf-api-page .copy-button span{display:none}.hf-api-page .code-panel pre{padding:24px 18px}.hf-api-page .solution-grid{grid-template-columns:1fr 1fr}.hf-api-page .solution-grid article{min-height:250px;border-bottom:1px solid #5f6368}.hf-api-page .solution-grid svg{margin:35px 0 20px}.hf-api-page .cta{align-items:flex-start;flex-direction:column}.hf-api-page .footer-main{grid-template-columns:1fr}.hf-api-page .footer-links{flex-wrap:wrap}.hf-api-page .footer-bottom{flex-direction:column;gap:8px}}
@media(max-width:480px){.hf-api-page .hero-actions{width:100%;flex-direction:column}.hf-api-page .hero-actions .hf-api-page .button{width:100%}.hf-api-page .trust-row span{width:100%}.hf-api-page .api-card{grid-template-columns:42px 1fr;padding:24px 18px}.hf-api-page .api-card>.hf-api-page .arrow{display:none}.hf-api-page .solution-grid{grid-template-columns:1fr}.hf-api-page .metrics strong{font-size:28px}.hf-api-page .metrics span{font-size:12px}.hf-api-page .footer-links{display:grid;grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.hf-api-page{scroll-behavior:auto}.hf-api-page *{transition:none!important}}
.hf-api-page .wordmark{font-size:24px;color:#1265bb;font-weight:700;letter-spacing:0}
.hf-api-page .lang-mobile{display:none;color:var(--blue);font-size:13px;font-weight:700}
@media(max-width:820px){.hf-api-page .lang-mobile{display:block;margin-left:auto}.hf-api-page .menu{margin-left:0}}

/* harden: never leak draft chrome; keep code readable over zui pre styles */
.hf-api-page .site-header,
.hf-api-page > footer { display: none !important; }
.hf-api-page .hero { min-height: 560px; }
.hf-api-page a { text-decoration: none; }
.hf-api-page .code-panel,
.hf-api-page .code-panel pre,
.hf-api-page .code-panel code,
.hf-api-page .code-panel #code-sample {
  background: #202124 !important;
  background-color: #202124 !important;
  color: #d7e7ff !important;
}
.hf-api-page .code-panel pre {
  margin: 0 !important;
  padding: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.hf-api-page .code-panel code {
  font-family: Consolas, Monaco, monospace !important;
  font-size: 14px !important;
  white-space: pre !important;
}

/* project chrome: hide unused draft header/footer if any remain */
.site-header,.hf-api-page>footer{display:none!important}
.hf-api-page .hero{min-height:560px}

/* project chrome: hide unused draft header/footer if any remain */
.site-header,.hf-api-page>footer{display:none!important}
.hf-api-page .hero{min-height:560px}
