.hti-tool-heading>p{max-width:850px;margin-top:18px;color:var(--ht-muted);line-height:1.8;font-size:15px}.hti-tool-heading+.hti-workspace{scroll-margin-top:150px}.hti-case-gallery{padding:24px;width:100%;min-width:0}.hti-case-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.hti-case-gallery-header h2{font-size:17px;font-weight:500}.hti-case-gallery-header>span,.hti-case-model,.hti-case-footnote{color:var(--ht-muted);font-size:12px}.hti-case-card{min-width:0;overflow:hidden;border:1px solid var(--ht-line);background:var(--ht-panel);border-radius:14px}.hti-case-media{position:relative;background:#10110e}.hti-case-audio{display:block;width:100%;max-width:100%;padding:8px}.hti-case-inputs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px 0 0}.hti-case-inputs img{width:48px;height:48px;object-fit:cover;border:1px solid var(--ht-line);border-radius:8px}.hti-case-inputs a{font-size:12px;text-decoration:underline}.hti-upload[data-audio-pair=true] .hti-reference-list audio{width:100%;min-width:0}.hti-upload[data-audio-pair=true] .hti-reference-list li{grid-template-columns:minmax(0,1fr) auto}.hti-upload[data-audio-pair=true] .hti-reference-list li>img,.hti-upload[data-audio-pair=true] .hti-reference-list li>audio{grid-column:1 / -1}.hti-case-media>img,.hti-case-media>video{display:block;width:100%;aspect-ratio:4 / 3;object-fit:contain;max-height:440px}.hti-case-input{position:absolute;top:12px;right:12px;width:98px;border:1px solid #757267;border-radius:8px;background:#191a16;overflow:hidden;pointer-events:none}.hti-case-input img{width:100%;aspect-ratio:1;object-fit:cover}.hti-case-input figcaption{padding:5px;font-size:9px;line-height:1.3}.hti-case-brief{padding:28px;min-height:240px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#282923,#191a16)}.hti-case-brief>span{font-family:Georgia,serif;color:var(--ht-accent);font-size:64px;line-height:.8}.hti-case-brief p{font-size:17px;line-height:1.8;max-width:42rem}.hti-case-copy{padding:20px}.hti-case-kind{color:var(--ht-accent);font-size:11px;line-height:1.7}.hti-case-copy h3{font-size:20px;font-weight:500;margin:9px 0}.hti-case-copy>p{font-size:12px;line-height:1.8;color:var(--ht-muted);margin:10px 0}.hti-case-prompt{margin-top:14px;padding-top:12px;border-top:1px solid var(--ht-line)}.hti-case-prompt summary{min-height:32px;font-size:12px}.hti-case-prompt small{color:var(--ht-accent);font-size:11px;display:block;margin-top:12px}.hti-case-prompt p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.hti-case-copy>button{min-height:44px;border:1px solid #8f7152;border-radius:8px;padding:10px 18px;font-size:13px;margin-top:12px}.hti-case-copy>button:hover:not(:disabled){background:#3c3024}.hti-case-copy>button:disabled{opacity:.45;cursor:not-allowed}.hti-case-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.hti-case-picker button{text-align:left;min-width:0;padding:8px;border:1px solid var(--ht-line);border-radius:8px;display:flex;align-items:center;gap:8px}.hti-case-picker button[aria-pressed=true]{border-color:var(--ht-accent);background:#363025}.hti-case-picker img{width:44px;height:44px;object-fit:cover;border-radius:4px}.hti-case-picker button>span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.hti-case-picker button>span[aria-hidden]{font-family:Georgia,serif;font-size:40px;color:var(--ht-accent);width:28px}.hti-case-gallery[data-catalog=true] .hti-case-picker{display:grid;overflow:visible;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.hti-case-gallery[data-catalog=true] .hti-case-picker button{aspect-ratio:1;min-height:44px;padding:0;overflow:hidden;border-width:2px}.hti-case-gallery[data-catalog=true] .hti-case-picker img{width:100%;height:100%;border-radius:0}.hti-case-gallery[data-catalog=true] .hti-case-picker button{flex-basis:auto}.hti-case-gallery[data-catalog=true] .hti-case-picker button>span{display:none}.hti-reference-file audio{width:100%;max-width:100%}@media(max-width:639px){.hti-case-gallery[data-catalog=true] .hti-case-picker{grid-template-columns:repeat(5,minmax(0,1fr))}}.hti-case-footnote{line-height:1.8;margin-top:14px}.hti-tool-story .hti-steps ol{grid-template-columns:repeat(4,minmax(0,1fr))}.hti-tool-story .hti-steps li{min-width:0}.hti-tutorial-visual{position:relative;margin-top:18px;padding:14px;background:var(--ht-panel);border:1px solid var(--ht-line);border-radius:10px;min-height:200px}.hti-tutorial-visual textarea{display:block;width:100%;min-height:140px;max-height:180px;resize:none;padding:10px;font-size:11px;line-height:1.65;border:1px solid var(--ht-line);border-radius:8px;background:var(--ht-bg);color:var(--ht-muted)}.hti-tutorial-visual audio{width:100%;margin-top:8px}.hti-tutorial-original{position:absolute;bottom:38px;right:20px;width:52px;background:var(--ht-panel);border:1px solid var(--ht-line);border-radius:5px;overflow:hidden}.hti-tutorial-original img{width:100%;aspect-ratio:1;object-fit:cover}.hti-tutorial-original figcaption{font-size:8px;padding:2px}.hti-tutorial-visual>img,.hti-tutorial-visual>video{width:100%;height:185px;object-fit:contain;border-radius:5px}.hti-tutorial-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:8px 18px;border-radius:999px;text-decoration:none}.hti-tutorial-visual>p{font-size:12px;line-height:1.8;margin-top:8px;color:var(--ht-muted)}.hti-tutorial-visual>strong{font-size:12px;font-weight:500;color:var(--ht-accent)}.hti-tutorial-visual .hti-generation-rate{margin:0;padding:0;background:none;border:none}.hti-tutorial-frames{display:flex;flex-direction:column;gap:8px}.hti-tutorial-frames figure{display:flex;gap:8px;align-items:center}.hti-tutorial-frames img{width:75%;max-height:90px;object-fit:contain}.hti-tutorial-frames figcaption{font-size:10px;color:var(--ht-muted)}.hti-tool-features,.hti-tool-examples,.hti-tool-related{padding:60px 5%;border-top:1px solid var(--ht-line)}.hti-tool-features h2,.hti-tool-examples h2,.hti-tool-related h2{font-size:clamp(24px,2.7vw,38px);font-weight:500;margin:16px 0 30px;letter-spacing:-.03em}.hti-tool-features>div,.hti-tool-example-grid,.hti-tool-related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hti-tool-features article{position:relative;padding:24px;border:1px solid var(--ht-line);border-radius:12px;min-width:0}.hti-tool-features article>span{font-size:11px;color:var(--ht-muted)}.hti-tool-features article h3{font-size:18px;margin:14px 0 12px}.hti-tool-features article p{font-size:13px;line-height:1.9;color:var(--ht-muted)}.hti-tool-features article svg{width:100%;max-height:115px;margin-bottom:18px}.hti-tool-related a{display:flex;flex-direction:column;gap:14px;border:1px solid var(--ht-line);padding:24px;border-radius:10px}.hti-tool-related a strong{font-size:16px;font-weight:500}.hti-tool-related a span{font-size:13px;color:var(--ht-muted);line-height:1.7}.hti-tool-related a:hover{background:var(--ht-panel)}.hti-tool-story .hti-final>p{color:var(--ht-muted);max-width:650px;line-height:1.8;margin:0 auto 24px;font-size:14px}.hti-case-status{margin:12px 0;font-size:12px;line-height:1.8;color:var(--ht-accent)}.hti-case-dialog{background:#1b1b19;color:#f4f1e9;border:1px solid #565348}.hti-case-dialog p{color:#c4c0b3;line-height:1.8}.hti-case-dialog-actions{display:flex;flex-wrap:wrap;gap:12px}.hti-case-dialog-actions button{padding:10px 14px;min-height:44px;border:1px solid #827154;border-radius:8px}.hti-case-dialog-actions button:last-child{background:#bdfa9a;color:#171410}@media(max-width:1050px){.hti-tool-story .hti-steps ol,.hti-tool-features>div{grid-template-columns:repeat(2,minmax(0,1fr))}.hti-tool-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hti-case-picker button{flex-direction:column;align-items:flex-start}}@media(max-width:700px){.hti-case-gallery{padding:16px}.hti-case-copy{padding:18px}.hti-case-media>img,.hti-case-media>video{max-height:320px}.hti-case-picker button{flex-direction:row}.hti-case-picker img{width:32px;height:40px}.hti-case-input{width:70px;top:8px;right:8px}.hti-case-brief{min-height:220px;padding:22px}.hti-case-brief p{font-size:15px}.hti-tool-story .hti-steps ol,.hti-tool-features>div,.hti-tool-example-grid,.hti-tool-related>div{grid-template-columns:minmax(0,1fr)}.hti-tool-features,.hti-tool-examples,.hti-tool-related{padding:38px 6%}.hti-tutorial-frames{flex-direction:row}.hti-tutorial-frames figure{flex-direction:column;width:33%}.hti-tutorial-frames img{width:100%}.hti-tutorial-visual{min-height:130px}.hti-case-picker{gap:6px}.hti-case-picker button{gap:5px;padding:7px}.hti-case-picker button>span{font-size:10px}}@media(prefers-reduced-motion:reduce){.hti-tool-story *,.hti-case-gallery *{scroll-behavior:auto;transition:none}}.hti-long-features{padding:64px 2.5%;scroll-margin-top:150px}.hti-long-features>div{display:block}.hti-long-features article{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(28px,5vw,72px);padding:72px 0;border:none;border-top:1px solid var(--ht-line);border-radius:0}.hti-long-features article[data-direction=text-first]>.hti-feature-media{grid-column:2;grid-row:1}.hti-long-features article[data-direction=text-first]>.hti-feature-narrative{grid-column:1;grid-row:1}.hti-feature-narrative{min-width:0}.hti-feature-narrative h4{margin:26px 0 10px;font-size:17px;line-height:1.5;font-weight:500}.hti-long-features .hti-feature-narrative p{overflow-wrap:anywhere}.hti-feature-narrative button{min-height:44px;margin-top:24px;padding:10px 18px;border:1px solid #8f7152;border-radius:8px;font-size:13px}.hti-feature-narrative button:hover:not(:disabled){background:#3c3024}.hti-feature-narrative button:disabled{opacity:.45}.hti-feature-media{min-width:0;background:var(--ht-panel);border:1px solid var(--ht-line);padding:14px;border-radius:18px}.hti-feature-media>img,.hti-feature-media>video{display:block;width:100%;max-height:540px;aspect-ratio:1;object-fit:contain;background:#10110e;border-radius:10px}.hti-feature-media>figcaption{padding:16px 6px 4px;font-size:12px;line-height:1.7}.hti-feature-media>figcaption strong{font-weight:500;color:var(--ht-accent)}.hti-long-features .hti-feature-media p{font-size:12px;margin-top:10px}.hti-feature-diagram{padding:30px 18px;min-height:320px;display:flex;flex-direction:column;justify-content:center}.hti-feature-diagram>span{color:var(--ht-accent);font-size:11px}.hti-long-features article .hti-feature-diagram svg{max-height:200px;margin:24px 0}.hti-feature-frames{display:grid;gap:12px}.hti-feature-frames figure{display:flex;gap:14px;align-items:center}.hti-feature-frames img{width:75%;max-height:150px;object-fit:contain}.hti-feature-frames figcaption{color:var(--ht-muted);font-size:12px}.hti-workspace-results{min-width:0;gap:0}.hti-workspace-tabs{width:100%;justify-content:flex-start;padding:16px 24px 0;gap:24px;height:auto;border-bottom:1px solid var(--ht-line)}.hti-workspace-tabs>button{flex:0 1 auto;min-height:44px;height:auto;padding:0 0 14px;color:var(--ht-muted);border-radius:0;font-size:13px;white-space:normal;text-align:left}.hti-workspace-tabs>button[data-active]{color:#f4f1e9;background:none}.hti-workspace-tabs>button:after{background:var(--ht-accent);bottom:0}.hti-workspace-results>[hidden]{display:none}.hti-embedded-history{padding:24px;min-width:0;min-height:500px}.hti-history-scope{color:var(--ht-muted);font-size:13px;line-height:1.8}.hti-history-loading{display:block;padding:48px 24px;color:var(--ht-muted)}.hti-embedded-history [data-testid=creations-history]{padding-top:16px}.hti-embedded-history [data-testid=creation-detail]{margin-left:0;padding-left:14px}.hti-embedded-history [data-testid=creation-row]>button{gap:16px}.hti-embedded-history [data-testid=creation-row]>button>div:last-child{flex-wrap:wrap}@media(max-width:700px){.hti-long-features{padding:38px 6%}.hti-long-features article{display:flex;flex-direction:column;gap:28px;padding:42px 0}.hti-feature-narrative{order:1;width:100%}.hti-feature-media{order:0;width:100%}.hti-feature-media>img,.hti-feature-media>video{max-height:380px}.hti-feature-narrative h4{font-size:16px;margin-top:24px}.hti-feature-diagram{min-height:250px}.hti-workspace-tabs{padding:12px 16px 0;gap:20px}.hti-workspace-tabs>button{font-size:12px}.hti-embedded-history{padding:20px 16px;min-height:360px}}.hti-home-intro-layout{display:grid;grid-template-columns:5fr 7fr;align-items:center;gap:64px;max-width:1280px;margin:auto;padding-inline:24px}.hti-home-intro-copy{min-width:0}.hti-home-intro-copy p{font-size:16px;line-height:1.75;color:var(--ht-muted)}.hti-home-video-wall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.hti-home-video-wall>.hti-home-video{border:1px solid var(--ht-line);border-radius:22px;padding:4px;background:var(--ht-panel)}.hti-home-video{position:relative;aspect-ratio:16 / 9;min-width:0;overflow:hidden;background:#000}.hti-home-video video{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}.hti-home-video-wall video{border-radius:16px}.hti-home-video-controls{display:flex;gap:8px;position:absolute;right:12px;bottom:12px;opacity:0;transition:opacity .18s}.hti-home-video:hover .hti-home-video-controls,.hti-home-video:focus-within .hti-home-video-controls{opacity:1}.hti .hti-home-video-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#0009;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.hti-home-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px;max-width:1280px;margin:auto;padding-inline:24px}.hti-home-case{min-width:0;overflow:hidden;border:1px solid var(--ht-line);border-radius:24px;background:var(--ht-panel)}.hti-home-case-content{padding:24px}.hti-home-case-content h3{font-size:20px;line-height:28px;font-weight:700;margin:0}.hti-home-case-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.hti .hti-home-case-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;border:1px solid var(--ht-line);border-radius:999px;background:var(--ht-bg);color:inherit;font-size:14px;font-weight:600;line-height:20px}.hti .hti-home-case-actions button.hti-home-use-prompt{border-color:var(--ht-accent);background:var(--ht-accent);color:#17120d}.hti-home-case-actions button:disabled{opacity:.5;cursor:default}@media(max-width:1023px){.hti-home-intro-layout{grid-template-columns:1fr;gap:36px}.hti-home-intro-copy{text-align:center}.hti-home-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:639px){.hti-home-intro-layout{padding-inline:16px}.hti-home-video-wall{gap:12px}.hti-home-video-wall>.hti-home-video{border-radius:16px;padding:3px}.hti-home-video-wall video{border-radius:12px}.hti-home-case-grid{grid-template-columns:minmax(0,1fr);padding-inline:16px}.hti-home-case{border-radius:22px}.hti-home-video-controls{opacity:1}.hti-home-video-wall .hti-home-video-controls{right:7px;bottom:7px;gap:4px}.hti .hti-home-video-wall .hti-home-video-controls button{width:32px;height:32px}}.hti .hti-tool-heading{max-width:none;padding:52px 24px 36px;text-align:center}.hti-tool-heading>a{display:inline-block;margin-bottom:8px}.hti-tool-heading h1{max-width:850px;margin:14px auto 22px;font-weight:600}.hti .hti-tool-heading>p{max-width:780px;margin:0 auto;font-size:16px;line-height:1.8}.hti .hti-tool-workspace{scroll-margin-top:128px}.hti-tool-workspace{max-width:1480px;padding:24px;gap:24px;grid-template-columns:minmax(0,520px) minmax(0,1fr)}.hti-tool-workspace .hti-editor,.hti-tool-workspace .hti-canvas{min-width:0;min-height:0;border:1px solid var(--ht-line);border-radius:16px;background:var(--ht-panel)}.hti-tool-workspace .hti-editor{padding:24px;display:flex;flex-direction:column}.hti-tool-workspace .hti-editor-scroll{min-height:0;min-width:0}.hti-tool-workspace .hti-editor-actions{padding-top:16px;border-top:1px solid var(--ht-line);flex-shrink:0}.hti-parameter-row{display:flex;align-items:center;gap:16px;min-width:0;margin-bottom:8px}.hti-parameter-row>.hti-parameter-row{flex:1;margin:0}.hti-parameter-trigger{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:10px 16px;border:1px solid var(--ht-line);border-radius:16px;background:#151513;font-size:12px;cursor:pointer}.hti-parameter-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hti-parameter-trigger>svg{flex-shrink:0}.hti-parameter-row[data-media=video]>.hti-parameter-trigger{width:100%}.hti-parameter-row[data-media=video]>.hti-parameter-trigger>svg:last-child{margin-left:auto}.hti-parameter-trigger[data-popup-open]>svg:last-child{transform:rotate(180deg)}.hti-parameter-trigger:disabled{opacity:.5}.hti .hti-quantity-trigger{flex-shrink:0;height:44px;min-width:74px;margin-left:auto;padding:8px 16px;border:1px solid var(--ht-line);border-radius:16px;background:#151513;color:inherit;font-size:12px}.hti.hti-quantity-menu{min-width:100px;border:1px solid var(--ht-line);border-radius:16px;padding:8px}.hti-quantity-trigger>svg:last-child{display:none}.hti-quantity{flex-shrink:0;margin-left:auto}.hti-quantity select{min-width:74px;height:44px;padding:8px 12px;border:1px solid var(--ht-line);border-radius:16px;background:#151513;color:inherit;font-size:12px;cursor:pointer}.hti.hti-parameter-popover{width:min(370px,calc(100vw - 24px));max-height:min(720px,calc(100dvh - 100px),var(--available-height));overflow-y:auto;padding:16px;border:1px solid var(--ht-line);border-radius:20px;background:#171715;box-shadow:0 16px 40px #0006}.hti.hti-image-parameters{width:min(420px,calc(100vw - 24px))}.hti-parameter-popover .hti-settings{display:block;width:100%}.hti-parameter-popover .hti-field,.hti-parameter-popover .hti-audio-field{margin:0 0 12px;padding:12px;border-radius:18px;background:#262623}.hti-parameter-popover .hti-settings>:last-child{margin-bottom:0}.hti-parameter-popover .hti-fields>.hti-status{margin:16px 0 0;font-size:12px;line-height:1.5}.hti-parameter-choice{min-width:0;padding:0;border:0;margin-bottom:16px;font-size:12px;color:var(--ht-muted)}.hti-parameter-choice>legend{float:left;width:100%;padding:0}.hti-parameter-choice>div{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.hti-parameter-choice button{min-width:0;min-height:36px;padding:8px;border:1px solid transparent;border-radius:14px;background:#1d1d1a;color:inherit;font-size:12px}.hti-parameter-choice button[aria-pressed=true]{border-color:#8f7152;background:#2d251e;color:#f4f1e9}.hti-parameter-choice button:disabled{opacity:.4}.hti-parameter-choice .hti-more-parameters{display:flex;flex-direction:row;align-items:center;gap:4px;min-height:16px;padding:0;margin:8px 0;border:0;border-radius:0;background:transparent}.hti-more-parameters[aria-expanded=true]>svg{transform:rotate(180deg)}.hti-ratio-choice>div{grid-template-columns:repeat(4,minmax(0,1fr))}.hti-ratio-choice button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:56px}.hti-duration-field{display:block;padding:12px;margin-bottom:12px;border-radius:18px;background:#262623;color:var(--ht-muted);font-size:12px}.hti-duration-field>span{display:flex;justify-content:space-between}.hti-duration-field output{color:#f4f1e9}.hti-duration-field input{width:100%;margin:12px 0 8px;accent-color:var(--ht-accent)}.hti-image-parameters .hti-field{padding:0;border-radius:0;background:transparent}.hti-image-parameters .hti-parameter-choice button:not([aria-pressed=true]){background:transparent}.hti-image-parameters .hti-parameter-extra{padding-top:16px;border-top:1px solid var(--ht-line)}.hti-image-parameters .hti-field select{min-height:36px;padding:8px;border-radius:8px}.hti-image-parameters .hti-audio-field{justify-content:space-between;padding:0;background:transparent;border-radius:0}.hti-parameter-popover:not(.hti-image-parameters) .hti-parameter-choice{padding:12px;border-radius:18px;background:#262623}.hti-tool-workspace .hti-submit{min-height:44px}.hti-tool-workspace .hti-media-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid transparent;border-radius:24px;background:#292925;padding:4px;margin-bottom:16px}.hti-tool-workspace .hti-media-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;height:35.5px;padding:0;border:0;border-radius:20px;font-size:14px;line-height:20px;font-weight:400}@media(min-width:768px){.hti-tool-workspace .hti-media-tabs button{height:31.5px}}.hti-tool-workspace .hti-media-tabs [aria-pressed=true]{background:#41413a}.hti-tool-workspace .hti-workspace-offer{width:100%;padding:8px 12px;margin-top:10px;border-radius:8px;background:#332719;color:#f1b17c;font-size:11px;line-height:1.5}.hti-tool-workspace .hti-canvas{padding:32px}.hti-tool-workspace .hti-workspace-results{height:100%;display:flex;flex-direction:column;min-height:0}.hti-tool-workspace .hti-workspace-tabs{flex-shrink:0;padding:0;gap:24px}.hti-tool-workspace .hti-workspace-tabs>button{padding:0 0 12px;min-height:36px}.hti-tool-workspace .hti-case-gallery,.hti-tool-workspace .hti-embedded-history{padding:16px 0 0;min-height:0}.hti-tool-workspace .hti-case-gallery-header h2{font-size:14px}.hti-tool-workspace .hti-case-card{border:0;border-radius:0}.hti-tool-workspace .hti-case-media{border-radius:12px;overflow:hidden}.hti-tool-workspace .hti-case-media>img,.hti-tool-workspace .hti-case-media>video{max-height:400px}.hti-tool-workspace .hti-case-copy{padding:16px 0 0}.hti-tool-workspace .hti-case-overlay{position:absolute;bottom:52px;left:50%;transform:translate(-50%);max-width:calc(100% - 24px);min-height:44px;padding:10px 18px;border-radius:24px;border:1px solid #8f7152;background:#211b15ed;color:#f4f1e9;font-size:13px}.hti-tool-workspace .hti-case-overlay:disabled{opacity:.5}.hti-case-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.hti-case-navigation>button{width:44px;height:44px;border:1px solid var(--ht-line);border-radius:10px}.hti-case-navigation>output{color:var(--ht-muted);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.hti-tool-workspace .hti-case-picker{display:flex;overflow-x:auto;padding-bottom:8px;gap:8px}.hti-tool-workspace .hti-case-picker button{flex:0 0 76px;padding:4px;flex-direction:column;align-items:stretch}.hti-tool-workspace .hti-case-picker img{width:66px;height:52px}.hti-tool-workspace .hti-case-picker button>span{font-size:10px}.hti-case-explore{display:block;margin-top:18px;font-size:12px;text-decoration:underline}.hti-tool-examples{scroll-margin-top:150px}@media(min-width:1024px){.hti .hti-tool-workspace{scroll-margin-top:128px}.hti-tool-workspace{height:calc(100dvh - 80px);min-height:480px}.hti-tool-workspace .hti-editor,.hti-tool-workspace .hti-canvas{height:100%;overflow:hidden}.hti-tool-workspace .hti-editor-scroll{flex:1;overflow-y:auto;width:calc(100% + 4px);scrollbar-gutter:auto;padding-right:4px}.hti-tool-workspace .hti-editor-actions{max-height:48%;overflow-y:auto}.hti-tool-workspace[data-media=video] .hti-editor-actions{margin-inline:-4px;padding-inline:4px}.hti-tool-workspace .hti-workspace-results>[role=tabpanel]{min-height:0;flex:1;overflow-y:auto;scrollbar-gutter:stable}}@media(min-width:701px)and (max-width:1023px){.hti-tool-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px;gap:20px;align-items:start}.hti-tool-workspace .hti-canvas{min-height:520px;padding:24px}}@media(max-width:700px){.hti.hti-parameter-popover{max-height:min(420px,var(--available-height))}.hti .hti-tool-heading{padding:32px 24px 24px}.hti-tool-heading h1{font-size:30px;line-height:1.2;margin-bottom:18px}.hti .hti-tool-heading>p{font-size:14px}.hti-tool-workspace{padding:16px;gap:16px}.hti-tool-workspace .hti-editor,.hti-tool-workspace .hti-canvas{border-radius:16px;padding:24px}.hti-tool-workspace .hti-canvas{min-height:460px}.hti-tool-workspace .hti-editor-scroll{max-height:400px;overflow-y:auto}.hti-tool-workspace .hti-workspace-tabs>button{min-height:44px}.hti-tool-workspace .hti-case-gallery{padding-top:16px}.hti-tool-workspace .hti-case-media>img,.hti-tool-workspace .hti-case-media>video{max-height:340px}}.hti-parameter-popover .hti-audio-field{justify-content:space-between}.hti-parameter-popover .hti-audio-field input{order:1}.hti-parameter-popover:not(.hti-image-parameters) .hti-ratio-choice>div{display:flex;flex-wrap:wrap}.hti-parameter-popover:not(.hti-image-parameters) .hti-ratio-choice button:not(.hti-more-parameters){min-height:50.5px;padding:6px 10px;gap:2px;font-size:11px;line-height:1.5}.hti-parameter-popover:not(.hti-image-parameters) .hti-ratio-choice button:not(.hti-more-parameters)>svg{width:18px;height:18px}.hti-tool-workspace .hti-editor-actions{padding-top:0;border-top:0}.hti-tool-workspace .hti-parameter-row{margin-bottom:0}.hti-tool-workspace[data-media=image] .hti-editor-actions>.hti-parameter-row{margin-top:16px}.hti-tool-workspace[data-media=image] .hti-parameter-trigger,.hti-tool-workspace[data-media=image] .hti-quantity-trigger{height:38px;min-height:38px;padding:0 12px;border-radius:14px;font-size:12px;line-height:16px}.hti-tool-workspace[data-media=image] .hti-quantity-trigger{width:60px;min-width:60px;font-size:14px;font-weight:600}.hti-tool-workspace[data-media=video] .hti-editor-actions>.hti-submission>.hti-parameter-row{margin:16px -4px 0;padding-top:20px;border-top:1px solid var(--ht-line)}.hti-tool-workspace[data-media=video] .hti-parameter-trigger,.hti-tool-workspace[data-media=video] .hti-quantity-trigger{height:48px;min-height:48px;border-radius:18px;font-size:14px;line-height:20px}.hti-tool-workspace .hti-editor-actions .hti-submit{margin-top:8px;border-radius:14px;font-size:14px;font-weight:600}.hti-tool-workspace[data-media=image] .hti-editor-actions .hti-submit{height:48px}.hti-tool-workspace[data-media=video] .hti-editor-actions .hti-submit,.hti-tool-workspace[data-media=video] .hti-workspace-offer{margin-left:-4px;width:calc(100% + 8px)}.hti-tool-workspace .hti-workspace-offer{border-radius:10px;height:34px;margin-top:8px;padding:4px 12px;line-height:1.2}.hti-tool-workspace .hti-source-tabs{gap:12px;margin:16px 0 0;padding:0;border-radius:0;background:transparent}.hti-tool-workspace .hti-source-tabs button{height:38px;min-height:38px;padding:0;border:1px solid var(--ht-line);border-radius:10px;font-size:12px;line-height:16px;font-weight:600}.hti-tool-workspace .hti-media-tabs{margin-bottom:0}.hti-tool-workspace .hti-editor-scroll>.hti-fields>.hti-field{margin:16px 0 0}.hti-tool-workspace .hti-model-trigger{height:50px;min-height:50px;padding:0 12px;border-radius:14px;font-size:14px;font-weight:600}.hti-tool-workspace .hti-label-line{margin-top:16px;margin-bottom:12px}.hti .hti-tool-workspace textarea{height:162.5px;min-height:162.5px;resize:none;padding:12px 16px 32px;border-radius:14px;font-size:14px;line-height:1.625}.hti-tool-workspace .hti-workspace-tabs>button{height:32px;min-height:32px;padding:0 0 10px;font-size:14px;font-weight:600}@media(min-width:768px){.hti-tool-workspace[data-media=image] .hti-editor-actions{margin-inline:21px}}@media(max-width:700px){.hti-tool-workspace[data-media=video] .hti-source-tabs button{height:54px;min-height:54px}}.hti-case-image-apply{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}.hti-case-image-apply img{width:100%;height:100%;object-fit:contain}.hti-tool-workspace .hti-case-image-apply{height:min(430px,48vh)}.hti-case-video-apply{position:absolute;inset:0 0 54px;background:transparent;border:0;cursor:pointer}.hti-case-image-apply:focus-visible,.hti-case-video-apply:focus-visible{outline:2px solid var(--ht-accent);outline-offset:-3px}@media(max-width:700px){.hti-tool-workspace .hti-case-image-apply{height:340px}}@media(min-width:1024px){.hti-tool-workspace[data-home=true]{height:calc(100dvh - 130px);min-height:480px}}.hti-tool-workspace .hti-case-gallery[data-media=image]{padding-top:0}.hti-case-sample-label{font-size:18px;line-height:28px;font-weight:600;margin:0 0 12px}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-media,.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-image-apply{height:min(48vh,440px);min-height:224px}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-media{background:color-mix(in srgb,var(--muted) 30%,transparent)}.hti-case-gallery[data-media=image] .hti-case-navigation{position:absolute;inset:0;margin:0;pointer-events:none}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-navigation>button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;background:#000a;border:1px solid #fff6;color:#fff;pointer-events:auto;font-size:24px;line-height:32px}.hti-case-gallery[data-media=image] .hti-case-navigation>button:first-of-type{left:8px}.hti-case-gallery[data-media=image] .hti-case-navigation>button:last-of-type{right:8px}.hti-case-gallery[data-media=image] .hti-case-navigation>output{position:absolute;bottom:8px;right:8px;border-radius:999px;background:#000a;padding:4px 8px;color:#fff;font-size:12px;line-height:16px}.hti-tool-workspace .hti-case-overlay{bottom:40px;padding:12px 20px;font-size:14px;line-height:20px;font-weight:600;white-space:nowrap}.hti-case-caption{margin:12px 0 0;color:var(--ht-muted);font-size:14px;line-height:20px}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-picker{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin-top:12px;padding-bottom:0;overflow:visible}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-picker button{aspect-ratio:1;min-height:44px;flex-basis:auto;padding:0;border:2px solid transparent}.hti-tool-workspace .hti-case-gallery .hti-case-picker button[aria-pressed=true]{border-color:var(--ht-accent)}.hti-tool-workspace .hti-case-gallery .hti-case-picker button>span{display:none}.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-picker img{width:100%;height:100%}.hti-tool-workspace[data-media=video] .hti-workspace-results>[role=tabpanel]{scrollbar-gutter:auto}.hti-tool-workspace .hti-case-gallery[data-media=video]{padding-top:14.5px}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-navigation{margin-top:12px;gap:8px}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-navigation>button{width:auto;height:40px;padding:0 12px;font-size:14px;line-height:20px;border-radius:8px}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-picker{position:relative;min-inline-size:0;width:100%;max-width:100%;display:flex;gap:8px;margin-top:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:auto}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-picker button{width:96px;min-width:96px;flex:0 0 96px;min-height:0;aspect-ratio:auto;padding:0;border:2px solid transparent}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-picker img{width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover}.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-picker button[aria-pressed=true]{border-color:var(--ht-accent)}.hti-case-gallery[data-media=video] .hti-case-explore{text-align:center;text-decoration:none;margin-top:12px;font-size:14px;line-height:20px}.hti-case-gallery[data-media=video]>.hti-case-prompt{margin-top:8px;padding-top:0;border-top:0;color:var(--ht-muted)}.hti-case-gallery[data-media=video]>.hti-case-prompt summary{min-height:0;line-height:16px}.hti-case-gallery[data-media=video]>.hti-case-prompt p{max-height:192px;overflow-y:auto;font-size:12px;line-height:16px;margin:8px 0 0}@media(max-width:1023px){.hti-tool-workspace[data-media=image] .hti-canvas{height:552px;min-height:552px;overflow:hidden}.hti-tool-workspace[data-media=video] .hti-canvas{height:552px;min-height:459.5px;overflow:hidden}.hti-tool-workspace .hti-workspace-results>[role=tabpanel]{min-height:0;flex:1;overflow-y:auto}.hti-tool-workspace[data-media=image] .hti-workspace-results>[role=tabpanel]{scrollbar-gutter:stable}}@media(max-width:767px){.hti-tool-workspace .hti-case-gallery[data-media=video] .hti-case-picker button{width:64px;min-width:64px;flex-basis:64px}}@media(max-width:639px){.hti-tool-workspace .hti-case-gallery[data-media=image] .hti-case-picker{grid-template-columns:repeat(5,minmax(0,1fr))}}
