.ahv-workspace{--ahv-accent:oklch(68% .19 45);--ahv-accent-ink:oklch(99% 0 0);--ahv-line:color-mix(in oklch, var(--foreground) 12%, transparent);--ahv-line-strong:color-mix(in oklch, var(--foreground) 22%, transparent);--ahv-muted:var(--muted-foreground);--ahv-panel:color-mix(in oklch, var(--muted) 45%, var(--background));max-width:1200px;color:var(--foreground);margin:0 auto;padding:0 28px}.ahv-hero{max-width:820px;padding:24px 0}.ahv-hero nav{color:var(--ahv-muted);flex-wrap:wrap;gap:10px;margin-bottom:26px;font-size:12px;display:flex}.ahv-hero nav a:hover{color:var(--foreground)}.ahv-eyebrow{letter-spacing:.16em;color:var(--ahv-accent);margin-bottom:14px;font-size:11px;font-weight:650}.ahv-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}.ahv-intro{color:var(--ahv-muted);font-size:15px;line-height:1.7}.ahv-studio{border:1px solid var(--ahv-line);background:var(--ahv-panel);border-radius:22px;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:28px;padding:24px;display:grid}.ahv-controls{flex-direction:column;gap:18px;min-width:0;display:flex}.ahv-slot{max-width:280px}.ahv-slot-label{align-items:center;gap:8px;margin-bottom:8px;font-size:12px;font-weight:650;display:flex}.ahv-slot-label img{object-fit:cover;border-radius:6px;flex:none;width:40px;height:30px}.ahv-slot-drop{aspect-ratio:1;border:1.5px dashed var(--ahv-line-strong);background:var(--background);cursor:pointer;border-radius:14px;place-items:center;width:100%;transition:border-color .15s;display:grid;overflow:hidden}.ahv-slot-drop:hover,.ahv-slot[data-drag=true] .ahv-slot-drop{border-color:var(--ahv-accent)}.ahv-slot[data-filled=true] .ahv-slot-drop{border-style:solid}.ahv-slot-drop img{object-fit:cover;width:100%;height:100%}.ahv-slot-empty{color:var(--ahv-muted);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:12px;font-size:12px;display:flex}.ahv-slot-empty svg{width:22px;height:22px}.ahv-slot-hint{color:var(--ahv-muted);margin-top:6px;font-size:11px;line-height:1.4}.ahv-slot-actions{gap:10px;margin-top:6px;font-size:11px;display:flex}.ahv-slot-actions button{color:var(--ahv-muted);align-items:center;gap:3px;display:inline-flex}.ahv-slot-actions button:hover{color:var(--foreground)}.ahv-slot-actions svg{width:12px;height:12px}.ahv-field{border:0;margin:0;padding:0}.ahv-field legend{margin-bottom:8px;font-size:12px;font-weight:650}.ahv-chips{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.ahv-chips button{border:1px solid var(--ahv-line-strong);background:var(--background);border-radius:10px;padding:8px 0;font-size:13px;font-weight:600;transition:border-color .15s,background .15s}.ahv-chips button[aria-checked=true]{border-color:var(--primary);background:color-mix(in oklab, var(--primary) 12%, var(--background))}.ahv-chips button:disabled{cursor:not-allowed;opacity:.45}.ahv-help{color:var(--ahv-muted);margin-top:6px;font-size:12px}.ahv-specs{color:var(--ahv-muted);font-size:12px}.ahv-cost{font-size:13px;line-height:1.5}.ahv-generate{width:100%}.ahv-stage{justify-content:center;align-items:flex-start;min-width:0;display:flex}.ahv-result{width:100%;margin:0}.ahv-stage-title{margin-bottom:12px;font-size:13px;font-weight:650}.ahv-stage-examples{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ahv-stage-examples figure{min-width:0;margin:0}.ahv-stage-examples video{aspect-ratio:9/16;object-fit:contain;background:#000;border-radius:12px;width:100%;height:auto;display:block}.ahv-stage-examples figcaption{overflow-wrap:anywhere;color:var(--ahv-muted);margin-top:6px;font-size:11px;line-height:1.4}.ahv-stage-examples figcaption a{text-underline-offset:3px;text-decoration:underline}.ahv-stage-examples>.ahv-help{margin-top:12px}.ahv-result video{aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:16px;width:100%;max-height:560px}.ahv-result video[data-ratio="9:16"]{aspect-ratio:9/16;width:auto;max-width:100%;height:min(560px,75vh);margin:0 auto;display:block}.ahv-result figcaption{color:var(--ahv-muted);margin-top:10px;font-size:12px}.ahv-result figcaption strong{color:var(--foreground);margin-bottom:10px;font-size:14px;display:block}.ahv-result-actions{flex-wrap:wrap;gap:8px;display:flex}.ahv-error{color:var(--destructive);align-items:flex-start;gap:8px;line-height:1.5;display:inline-flex}.ahv-error svg{flex:none;width:14px;height:14px;margin-top:3px}.ahv-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}.ahv-progress>svg{width:28px;height:28px;color:var(--ahv-accent)}.ahv-bar{background:var(--ahv-line);border-radius:999px;width:100%;height:6px;overflow:hidden}.ahv-bar span{background:var(--ahv-accent);height:100%;transition:width 1s linear;display:block}.ahv-percent{font-variant-numeric:tabular-nums;font-size:13px}.ahv-recent{margin-top:20px}.ahv-recent h2{margin-bottom:10px;font-size:14px;font-weight:650}.ahv-recent ul{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.ahv-recent button{border:1px solid var(--ahv-line);border-radius:10px;gap:10px;padding:8px 12px;font-size:12px;display:flex}.ahv-recent li[data-active=true] button{border-color:var(--ahv-accent)}.ahv-recent [data-status=done]{color:oklch(60% .15 150)}.ahv-recent [data-status=failed],.ahv-recent time{color:var(--ahv-muted)}.ahv-text-link{font-size:14px;font-weight:600}@media (width<=900px){.ahv-studio{grid-template-columns:1fr}}@media (width<=640px){.ahv-workspace{padding:0 16px}.ahv-studio{border-radius:18px;padding:16px}}.ahv-model-trigger{background:var(--background);border-radius:10px;width:100%;min-height:52px;padding:8px 12px;height:auto!important}.ahv-model-option{text-align:left;align-items:center;gap:10px;min-width:0;display:flex}.ahv-model-option>span{flex-direction:column;min-width:0;display:flex}.ahv-model-option strong{font-size:13px;font-weight:650}.ahv-model-name{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.ahv-model-name em{color:var(--ahv-accent-ink);background:var(--ahv-accent);border-radius:999px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:650}.ahv-model-option small{color:var(--ahv-muted);font-size:11px}.ahv-workspace{--ahv-accent:var(--primary);--ahv-accent-ink:var(--primary-foreground)}.ahv-hero h1{font-family:var(--font-display)}.ahv-stage{min-width:0}.ahv-error{margin-bottom:1rem;display:block}.ahv-photo-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.ahv-photo-pair .ahv-slot{min-width:0;max-width:none}.ahv-storyboard{gap:20px;width:100%;padding:28px;display:grid}.ahv-storyboard li{border-left:2px solid var(--ahv-accent);padding-left:18px}.ahv-storyboard strong{margin-bottom:6px;display:block}.ahv-storyboard p{color:var(--muted-foreground);font-size:14px;line-height:1.7}.ahv-panel-title{font-size:18px;font-weight:650}.ahv-photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.ahv-photos[data-slots="1"]{grid-template-columns:minmax(0,140px)}.ahv-slot{min-width:0;max-width:none}.ahv-slot figure,.ahv-slot-add{aspect-ratio:3/4;border:1.5px dashed var(--ahv-line-strong);background:var(--background);width:100%;color:var(--ahv-muted);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;display:flex;position:relative;overflow:hidden}.ahv-slot-add:hover:not(:disabled){border-color:var(--ahv-accent);color:var(--foreground)}.ahv-slot-add svg{width:20px;height:20px}.ahv-slot figure{border-style:solid}.ahv-slot figure img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.ahv-slot figcaption{color:#fff;background:oklch(0% none none/.6);border-radius:999px;padding:2px 6px;font-size:10px;position:absolute;bottom:6px;left:6px}.ahv-slot-remove{color:#fff;background:oklch(0% none none/.6);border-radius:999px;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:6px;right:6px}.ahv-slot-remove svg{width:14px;height:14px}.ahv-slot-note{color:var(--ahv-muted);margin-top:6px;font-size:11px;line-height:1.4}.ahv-pack{border:1px solid var(--ahv-line);background:var(--background);border-radius:12px;padding:12px 14px;font-size:13px}.ahv-pack ol{color:var(--ahv-muted);margin-top:6px;padding-left:18px;line-height:1.6;list-style:decimal}.ahv-sound{align-items:flex-start;gap:8px;display:flex}.ahv-sound svg{flex:none;width:14px;height:14px;margin-top:3px}.ahv-consent{align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;display:flex}.ahv-consent input{margin-top:3px}.ahv-result video,.ahv-stage-examples video{aspect-ratio:9/16}@media (width<=640px){.ahv-photos{gap:8px}}.ahv-field>*+*{margin-top:10px}@media (width<=640px){.ahv-hero{padding:8px 0 16px}.ahv-hero nav{margin-bottom:14px}.ahv-eyebrow{margin-bottom:8px}.ahv-hero h1{margin-bottom:10px;font-size:30px}.ahv-intro{font-size:14px;line-height:1.55}.ahv-trust{display:none}}.ahv-photos{grid-template-columns:repeat(2,minmax(0,1fr));max-width:340px}.ahv-styles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ahv-styles button{border:1px solid var(--ahv-line-strong);background:var(--background);text-align:left;border-radius:12px;flex-direction:column;gap:4px;padding:10px 12px;font-size:13px;display:flex}.ahv-styles button small{color:var(--ahv-muted);font-size:11.5px;line-height:1.45}.ahv-styles button[aria-checked=true]{border-color:var(--ahv-accent);box-shadow:inset 0 0 0 1px var(--ahv-accent)}.ahv-styles button:disabled{opacity:.6}.ahv-private{align-items:flex-start;gap:6px;display:flex}.ahv-private svg{flex:none;width:14px;height:14px;margin-top:3px}.ahv-trust{margin:0 0 8px;font-size:14px;line-height:1.6}.ahv-result video,.ahv-result video[data-ratio="9:16"]{aspect-ratio:auto;width:auto;max-width:100%;max-height:70vh;margin:0 auto}.ahv-pair{gap:12px;display:grid}.ahv-pair-row{grid-template-columns:minmax(0,2fr) auto minmax(0,3fr);align-items:center;gap:12px;display:grid}.ahv-pair-arrow{color:var(--ahv-muted);font-size:22px}.ahv-pair-video{aspect-ratio:1152/832;object-fit:contain;background:#000;border-radius:14px;width:100%}.ahv-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ahv-inputs figure{margin:0;position:relative}.ahv-inputs img{aspect-ratio:490/730;object-fit:cover;border-radius:10px;width:100%;height:auto}.ahv-inputs figcaption{background:color-mix(in oklch, var(--background) 85%, transparent);border-radius:6px;padding:1px 6px;font-size:11px;position:absolute;bottom:6px;left:6px}@media (width<=640px){.ahv-pair-row{grid-template-columns:minmax(0,1fr)}.ahv-pair-arrow{justify-self:center;transform:rotate(90deg)}.ahv-inputs{max-width:260px;margin:0 auto}}
