.htr-workspace{--htr-accent:oklch(68% .19 45);--htr-accent-ink:oklch(99% 0 0);--htr-line:color-mix(in oklch, var(--foreground) 12%, transparent);--htr-line-strong:color-mix(in oklch, var(--foreground) 22%, transparent);--htr-muted:var(--muted-foreground);--htr-panel:color-mix(in oklch, var(--muted) 45%, var(--background));max-width:1200px;color:var(--foreground);margin:0 auto;padding:0 28px}.htr-hero{max-width:820px;padding:24px 0}.htr-hero nav{color:var(--htr-muted);flex-wrap:wrap;gap:10px;margin-bottom:26px;font-size:12px;display:flex}.htr-hero nav a:hover{color:var(--foreground)}.htr-eyebrow{letter-spacing:.16em;color:var(--htr-accent);margin-bottom:14px;font-size:11px;font-weight:650}.htr-hero h1{letter-spacing:-.045em;margin-bottom:18px;font-family:Outfit Variable,sans-serif;font-size:clamp(36px,4.6vw,56px);font-weight:550;line-height:1.04}.htr-intro{color:var(--htr-muted);font-size:15px;line-height:1.7}.htr-studio{border:1px solid var(--htr-line);background:var(--htr-panel);border-radius:22px;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:28px;padding:24px;display:grid}.htr-controls{flex-direction:column;gap:18px;min-width:0;display:flex}.htr-slot{max-width:280px}.htr-slot-label{align-items:center;gap:8px;margin-bottom:8px;font-size:12px;font-weight:650;display:flex}.htr-slot-label img{object-fit:cover;border-radius:6px;flex:none;width:40px;height:30px}.htr-slot-drop{aspect-ratio:1;border:1.5px dashed var(--htr-line-strong);background:var(--background);cursor:pointer;border-radius:14px;place-items:center;width:100%;transition:border-color .15s;display:grid;overflow:hidden}.htr-slot-drop:hover,.htr-slot[data-drag=true] .htr-slot-drop{border-color:var(--htr-accent)}.htr-slot[data-filled=true] .htr-slot-drop{border-style:solid}.htr-slot-drop img{object-fit:cover;width:100%;height:100%}.htr-slot-empty{color:var(--htr-muted);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:12px;font-size:12px;display:flex}.htr-slot-empty svg{width:22px;height:22px}.htr-slot-hint{color:var(--htr-muted);margin-top:6px;font-size:11px;line-height:1.4}.htr-slot-actions{gap:10px;margin-top:6px;font-size:11px;display:flex}.htr-slot-actions button{color:var(--htr-muted);align-items:center;gap:3px;display:inline-flex}.htr-slot-actions button:hover{color:var(--foreground)}.htr-slot-actions svg{width:12px;height:12px}.htr-field{border:0;margin:0;padding:0}.htr-field legend{margin-bottom:8px;font-size:12px;font-weight:650}.htr-chips{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.htr-chips button{border:1px solid var(--htr-line-strong);background:var(--background);border-radius:10px;padding:8px 0;font-size:13px;font-weight:600;transition:border-color .15s,background .15s}.htr-chips button[aria-checked=true]{border-color:var(--primary);background:color-mix(in oklab, var(--primary) 12%, var(--background))}.htr-chips button:disabled{cursor:not-allowed;opacity:.45}.htr-help{color:var(--htr-muted);margin-top:6px;font-size:12px}.htr-specs{color:var(--htr-muted);font-size:12px}.htr-cost{font-size:13px;line-height:1.5}.htr-generate{width:100%}.htr-stage{justify-content:center;align-items:flex-start;min-width:0;display:flex}.htr-result{width:100%;margin:0}.htr-stage-title{margin-bottom:12px;font-size:13px;font-weight:650}.htr-stage-examples>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.htr-stage-examples figure{min-width:0;margin:0}.htr-stage-examples video{aspect-ratio:9/16;object-fit:contain;background:#000;border-radius:12px;width:100%;height:auto;display:block}.htr-stage-examples figcaption{overflow-wrap:anywhere;color:var(--htr-muted);margin-top:6px;font-size:11px;line-height:1.4}.htr-stage-examples figcaption a{text-underline-offset:3px;text-decoration:underline}.htr-stage-examples>.htr-help{margin-top:12px}.htr-result video{aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:16px;width:100%;max-height:560px}.htr-result video[data-ratio="9:16"]{aspect-ratio:9/16;width:auto;max-width:100%;height:min(560px,75vh);margin:0 auto;display:block}.htr-result figcaption{color:var(--htr-muted);margin-top:10px;font-size:12px}.htr-result figcaption strong{color:var(--foreground);margin-bottom:10px;font-size:14px;display:block}.htr-result-actions{flex-wrap:wrap;gap:8px;display:flex}.htr-error{color:var(--destructive);align-items:flex-start;gap:8px;line-height:1.5;display:inline-flex}.htr-error svg{flex:none;width:14px;height:14px;margin-top:3px}.htr-progress{text-align:center;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:420px;padding:40px 0;font-size:14px;line-height:1.6;display:flex}.htr-progress>svg{width:28px;height:28px;color:var(--htr-accent)}.htr-bar{background:var(--htr-line);border-radius:999px;width:100%;height:6px;overflow:hidden}.htr-bar span{background:var(--htr-accent);height:100%;transition:width 1s linear;display:block}.htr-percent{font-variant-numeric:tabular-nums;font-size:13px}.htr-recent{margin-top:20px}.htr-recent h2{margin-bottom:10px;font-size:14px;font-weight:650}.htr-recent ul{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.htr-recent button{border:1px solid var(--htr-line);border-radius:10px;gap:10px;padding:8px 12px;font-size:12px;display:flex}.htr-recent li[data-active=true] button{border-color:var(--htr-accent)}.htr-recent [data-status=done]{color:oklch(60% .15 150)}.htr-recent [data-status=failed],.htr-recent time{color:var(--htr-muted)}.htr-text-link{font-size:14px;font-weight:600}@media (width<=900px){.htr-studio{grid-template-columns:1fr}}@media (width<=640px){.htr-workspace{padding:0 16px}.htr-studio{border-radius:18px;padding:16px}}.htr-model-trigger{background:var(--background);border-radius:10px;width:100%;min-height:52px;padding:8px 12px;height:auto!important}.htr-model-option{text-align:left;align-items:center;gap:10px;min-width:0;display:flex}.htr-model-option>span{flex-direction:column;min-width:0;display:flex}.htr-model-option strong{font-size:13px;font-weight:650}.htr-model-name{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.htr-model-name em{color:var(--htr-accent-ink);background:var(--htr-accent);border-radius:999px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:650}.htr-model-option small{color:var(--htr-muted);font-size:11px}.htr-workspace{--htr-accent:var(--primary);--htr-accent-ink:var(--primary-foreground)}.htr-hero h1{font-family:var(--font-display)}.htr-stage{min-width:0}.htr-error{margin-bottom:1rem;display:block}
