.cimg-hero{max-width:1200px;margin:auto;padding:28px 24px 40px}.cimg-hero h1{letter-spacing:-.035em;max-width:900px;font-size:clamp(1.7rem,3.2vw,2.8rem);line-height:1.12}.cimg-definition{color:var(--muted-foreground);max-width:850px;margin:12px 0 24px;line-height:1.5}.cimg-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:24px;display:grid}.cimg-form{border:1px solid var(--border);background:var(--card);border-radius:12px;flex-direction:column;gap:12px;padding:22px;display:flex}.cimg-upload{text-overflow:ellipsis;white-space:nowrap;width:100%;min-height:56px;overflow:hidden}.cimg-help{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.4;display:flex}.cimg-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.cimg-presets button{border:1px solid var(--border);cursor:pointer;border-radius:6px;align-items:center;gap:6px;min-width:0;padding:7px;font-size:12px;display:flex}.cimg-presets button[aria-checked=true]{border-color:var(--foreground);background:var(--secondary)}.cimg-presets img{object-fit:cover;border-radius:3px;flex-shrink:0}.cimg-settings{border-block:1px solid var(--border);padding:10px 0;font-size:13px}.cimg-settings-grid{gap:16px;display:grid}.cimg-settings-grid legend{margin-bottom:8px;font-weight:600}.cimg-consent{align-items:flex-start;gap:8px;font-size:12px;line-height:1.4;display:flex}.cimg-consent input{flex-shrink:0;margin-top:2px}.cimg-action{flex-direction:column;gap:12px;display:flex}.cimg-action .studio-generate{width:100%}.cimg-preview{flex-direction:column;gap:12px;min-width:0;display:flex}.cimg-preview>video{background:#000;border-radius:10px;width:100%;max-height:480px}.cimg-preview>p,.cimg-history p{color:var(--muted-foreground);font-size:13px}.cimg-preview [role=status]{border:1px solid var(--border);border-radius:10px;align-items:center;gap:12px;padding:40px 20px;display:flex}.cimg-history{border-top:1px solid var(--border);padding-top:14px}.cimg-history>button{margin:6px 4px 0 0}.cimg-content-table{border-collapse:collapse;width:100%;font-size:14px}.cimg-content-table th,.cimg-content-table td{text-align:left;border-bottom:1px solid var(--border);padding:12px}.cimg-content-table th{background:var(--secondary)}.cimg-table-wrap{border:1px solid var(--border);border-radius:10px;overflow:auto}.cimg-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;display:grid}.cimg-steps li{gap:12px;display:flex}.cimg-step-number{color:var(--muted-foreground);font-size:22px}.cimg-steps h3{margin-bottom:8px;font-weight:600}.cimg-steps p{color:var(--muted-foreground);font-size:14px}.cimg-examples figure{min-width:0}.cimg-examples figure>div{border-radius:10px}.cimg-faq details{border-bottom:1px solid var(--border);padding:18px 0}.cimg-faq summary{cursor:pointer;font-weight:600}.cimg-faq p{color:var(--muted-foreground);margin-top:12px;line-height:1.7}@media (width<=767px){.cimg-hero{padding:16px 16px 28px}.cimg-hero h1{font-size:26px}.cimg-definition{margin:8px 0 12px;font-size:13px;line-height:1.4}.cimg-workspace{grid-template-columns:1fr;gap:20px}.cimg-form{gap:8px;padding:12px}.cimg-upload{min-height:42px}.cimg-presets{gap:5px}.cimg-presets button{gap:4px;padding:5px;font-size:11px}.cimg-presets img{width:26px;height:26px}.cimg-settings{padding:8px 0}.cimg-action{gap:8px}.cimg-action .studio-generate{min-height:42px;padding:9px 12px;font-size:14px}.cimg-consent{font-size:11px}.cimg-steps,.cimg-examples{grid-template-columns:1fr}.cimg-help{font-size:11px}.cimg-content-table th,.cimg-content-table td{padding:8px;font-size:12px}.cimg-preview{margin-top:4px}}@media (width<=359px){.cimg-hero{padding:12px}.cimg-hero h1{font-size:23px}.cimg-definition{font-size:12px}.cimg-form{padding:10px}.cimg-presets img{width:22px;height:24px}.cimg-presets button{gap:3px;font-size:10px}.cimg-presets span{overflow-wrap:normal;word-break:normal}.cimg-help{font-size:10px}}.cimg-styles{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.cimg-styles button{border:1px solid var(--border);text-align:center;cursor:pointer;border-radius:6px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:6px 4px;font-size:11px;line-height:1.2;display:flex}.cimg-styles button[aria-checked=true]{border-color:var(--foreground);background:var(--secondary)}.cimg-styles svg{flex-shrink:0}.cimg-inline{grid-template-columns:92px minmax(0,1fr);align-items:center;gap:8px;display:grid}.cimg-inline legend{float:left;margin:0;font-weight:600}.cimg-chips{gap:6px;display:grid}.cimg-chips button{min-height:36px}.cimg-result img,.cimg-sample img{object-fit:contain;background:var(--secondary);border-radius:10px;width:100%;max-height:560px}.cimg-prompt{border:1px solid var(--border);white-space:pre-wrap;border-radius:8px;padding:12px;font-size:13px;line-height:1.55}.cimg-examples{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.cimg-examples img{border-radius:10px;width:100%;height:auto}.cimg-examples h3{margin:10px 0 4px;font-size:15px;font-weight:600}.cimg-examples p{color:var(--muted-foreground);font-size:12px}.cimg-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.cimg-ref{flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.cimg-ref img{object-fit:cover;border-radius:4px}@media (width<=1023px){.cimg-examples,.cimg-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=767px){.cimg-styles button{padding:4px 2px;font-size:10px}.cimg-styles svg{width:16px;height:16px}.cimg-inline{grid-template-columns:74px minmax(0,1fr)}.cimg-chips button{min-height:32px;font-size:12px}.cimg-form textarea{min-height:64px}}.cimg-brief{position:relative}.cimg-brief .cimg-ref{max-width:60%;position:absolute;top:-4px;right:0}.cimg-brief .cimg-ref button{height:28px;font-size:12px}.cimg-brief textarea{min-height:76px}.cimg-size-row{grid-template-columns:minmax(0,3fr) minmax(0,4fr);gap:10px;display:grid}.cimg-size-row .cimg-inline{border:0;min-width:0;margin:0;padding:0;display:block}.cimg-size-row .cimg-inline legend{float:none;margin-bottom:4px;font-size:12px}.cimg-settings-grid{gap:10px}.cimg-form .hl-field label{margin-bottom:4px;font-size:12px;font-weight:650;display:block}.cimg-form .hl-model-trigger{min-height:44px;padding:4px 10px}@media (width<=767px){.cimg-hero h1{font-size:22px}.cimg-brief textarea{height:48px;min-height:48px;font-size:14px}.cimg-brief-help{display:none}.cimg-form .hl-model-trigger{min-height:38px;padding:2px 8px}.cimg-form .hl-model-icon{width:22px;height:22px;padding:3px}.cimg-chips{gap:4px}.cimg-chips button{min-height:32px;padding:0;font-size:11px}.cimg-styles button{gap:2px;padding:3px 2px}.cimg-styles legend,.cimg-form .hl-field label,.cimg-size-row .cimg-inline legend,.cimg-form>fieldset>legend{margin-bottom:2px;font-size:11px}.cimg-form [data-slot=field]{gap:4px}.cimg-form [data-slot=field-label]{font-size:12px}}@media (width<=359px){.cimg-hero h1{font-size:20px}.cimg-styles span{font-size:9px}}@media (width<=767px){.cimg-settings{padding:4px 0}.cimg-form .hl-model-option small{display:none}.cimg-form .hl-model-trigger{min-height:34px}.cimg-styles button{flex-direction:row;justify-content:center;min-height:34px}.cimg-styles svg{width:14px;height:14px}}@media (width<=420px){.cimg-styles button{flex-direction:column;min-height:0}.cimg-styles span{font-size:9.5px;line-height:1.1}.cimg-help{font-size:10px}.cimg-definition{margin:6px 0 8px;line-height:1.3}.cimg-brief textarea{height:44px;min-height:44px}.cimg-form{gap:7px}}
