.photo-ai-task-button[data-generation-status=busy]{box-shadow:inset 0 0 0 1.5px #0a7eff;animation:photo-ai-task-pulse 1.8s ease-in-out infinite}.photo-ai-task-button[data-generation-status=ready]{box-shadow:inset 0 0 0 1.5px #10b981}.photo-ai-task-button[data-generation-status=failed]{box-shadow:inset 0 0 0 1.5px #ef4444}@keyframes photo-ai-task-pulse{50%{box-shadow:inset 0 0 0 1.5px #0a7eff,0 0 0 3px rgb(10 126 255/12%)}}@media (prefers-reduced-motion:reduce){.photo-ai-task-button[data-generation-status=busy]{animation:none}}.photo-ai-design-face,.photo-ai-face{container:photo-ai-form/size;--photo-ai-card-fixed-space:384px;--photo-ai-prompt-height:clamp(48px,calc((100cqh - 230px) * .28),96px)}.photo-ai-face{--photo-ai-fixed-space:280px;--photo-ai-reference-height:clamp(3rem,16cqw,4rem)}.photo-ai-face>*{flex-shrink:0}.photo-ai-generate-face,.photo-ai-style-face{--photo-ai-reference-height:clamp(3rem,16cqw,4rem)}.photo-ai-generate-face{--photo-ai-fixed-space:240px;gap:clamp(14px,3.2cqh,24px)}.photo-ai-prompt{margin-top:auto}.photo-ai-prompt textarea{overflow-y:auto}.photo-ai-format-card,.photo-ai-style-card{height:clamp(72px,calc((100cqh - var(--photo-ai-card-fixed-space, 384px)) * .36),96px)}.photo-ai-format-card svg{width:24px;height:24px;max-height:100%}.photo-ai-options-row{height:calc(clamp(24px, (100cqh - var(--photo-ai-fixed-space)) * .1, 40px) + 46px)}.photo-ai-style-controls{display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:center;gap:12px;height:calc(clamp(24px, (100cqh - var(--photo-ai-fixed-space)) * .1, 40px) + 16px)}.photo-ai-style-controls .range-theme-neon{min-width:0;gap:6px}.photo-ai-style-controls .range-theme-neon span,.photo-ai-style-switch label span{font-size:11px;line-height:14px}.photo-ai-style-switch{gap:6px;align-items:center}.photo-ai-style-controls input[type=range]{zoom:.8}.photo-ai-style-face{--photo-ai-fixed-space:384px;gap:clamp(14px,3.2cqh,22px)}.photo-ai-style-face .photo-ai-style-controls{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));height:auto;gap:8px 12px}.photo-ai-style-face .photo-ai-style-controls .range-theme-neon{gap:4px}.photo-ai-style-face .photo-ai-style-controls input[type=range]{height:24px;zoom:1}.photo-ai-style-face .photo-ai-style-controls .range-theme-neon span{font-size:12px;line-height:16px}.photo-ai-style-face .photo-ai-style-switch{align-items:center}.photo-ai-style-face .photo-ai-style-switch label{gap:0}.photo-ai-style-face .photo-ai-style-switch label span{font-size:11px;line-height:14px}.photo-ai-style-face .photo-ai-style-switch label span+span{font-size:10px}@container photo-ai-sidebar (max-height: 570px){.photo-ai-design-face,.photo-ai-face{--photo-ai-card-fixed-space:350px}.photo-ai-style-face{--photo-ai-fixed-space:350px;gap:12px}.photo-ai-style-face .photo-ai-style-controls{gap:6px 12px}}@container photo-ai-sidebar (max-width: 460px){.photo-ai-style-face .photo-ai-style-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-ai-style-face .photo-ai-style-controls .range-theme-neon{grid-column:1/-1}}.photo-ai-pair-preview{height:clamp(24px,calc((100cqh - var(--photo-ai-fixed-space)) * .1),40px)}.photo-ai-pair-preview img{max-height:100%}.photo-ai-pair-header{display:flex;align-items:center;justify-content:space-between;gap:4px}.photo-ai-pair-header h3{font-size:11px;line-height:14px}.photo-ai-pair-header>div{flex-shrink:0}.photo-ai-pair-header button{width:20px;height:24px}.photo-ai-footer>div>div:first-child{flex:1 1 0%;min-width:0}.photo-ai-footer>div>div:first-child [data-pill-trigger]{max-width:100%}.photo-ai-footer [data-pill-label]{min-width:0}.photo-ai-footer>div>div:first-child [data-pill-label],.photo-ai-footer>div>div:first-child [data-pill-label]>span{display:block;overflow:hidden;text-overflow:ellipsis}.photo-ai-footer [data-pill-trigger]>:not([data-pill-label]){flex-shrink:0}.photo-ai-footer [data-photo-ai-footer-stacked]>div:first-child{flex:0 0 auto}[data-photo-ai-footer-stacked] [data-pill-icon-only]{width:40px;height:40px;min-height:40px;border-radius:12px}@container photo-ai-sidebar (max-width: 460px){.photo-ai-footer [data-photo-ai-footer-mode]:not([data-photo-ai-footer-mode=generate]) [data-collapse-priority="2"] [data-pill-label]{display:none}}.quiet-scroll::-webkit-scrollbar{width:5px}.quiet-scroll::-webkit-scrollbar-track{background:transparent}.quiet-scroll::-webkit-scrollbar-thumb{background:rgb(var(--color-muted-foreground)/.35);border-radius:9999px}.quiet-scroll::-webkit-scrollbar-thumb:hover{background:rgb(var(--color-muted-foreground)/.6)}.photo-ai-preset-strip{scrollbar-width:thin;scrollbar-color:#7eb8ff transparent;padding-bottom:10px}.photo-ai-preset-strip::-webkit-scrollbar{height:6px;width:6px}.photo-ai-preset-strip::-webkit-scrollbar-track{background:transparent;border-radius:999px}.photo-ai-preset-strip::-webkit-scrollbar-thumb{background-color:#7eb8ff;border-radius:999px;border:1px solid transparent;background-clip:content-box}.photo-ai-preset-strip::-webkit-scrollbar-thumb:hover{background-color:#0a7eff}.photo-ai-preset-strip::-webkit-scrollbar-button{display:none;width:0;height:0}.photo-ai-design-face{--photo-ai-design-room:max(0px,calc(100cqh - 230px));--photo-ai-reference-height:clamp(3rem,16cqw,4rem);gap:clamp(14px,3.2cqh,22px)}.photo-ai-reference-slot-mark{width:24px;height:20px;flex:0 0 auto;border-radius:3px}.photo-ai-reference-slot-label{font-size:9px;line-height:1.1}.photo-ai-reference-slots{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}.photo-ai-reference-slots>*{min-width:0}.photo-ai-reference-slot{width:100%;height:var(--photo-ai-reference-height,4rem);overflow:hidden}.photo-ai-reference-slot img{min-height:0;max-height:100%;-o-object-fit:contain;object-fit:contain}.photo-ai-design-face>.grid,.photo-ai-design-face>section:not([data-agent-compose-stepper]){flex-shrink:0}.photo-ai-design-face .photo-ai-format-card,.photo-ai-generate-face .photo-ai-format-card{display:flex;justify-content:center;width:100%;max-width:44px;height:44px;min-height:44px;margin-inline:auto;padding:3px;border-radius:10px}:is(.photo-ai-design-face,.photo-ai-generate-face) .photo-ai-format-card>div{width:100%;height:100%}:is(.photo-ai-design-face,.photo-ai-generate-face) .photo-ai-format-card svg{width:26px;height:26px}.photo-ai-design-face .photo-ai-style-card{height:clamp(56px,calc(var(--photo-ai-design-room) * .26),88px)}.photo-ai-design-face .photo-ai-design-pair-preview{height:clamp(24px,5cqh,36px)}.photo-ai-design-face .photo-ai-design-pair-preview img{max-height:100%}@container photo-ai-sidebar (max-height: 540px){[data-photo-ai-mode=design] [data-photo-ai-sidebar-content]{padding-block:8px}.photo-ai-design-face{gap:12px}.photo-ai-design-face>.grid section>div:first-child,.photo-ai-design-face>section:not([data-agent-compose-stepper])>div:first-child{min-height:20px}.photo-ai-design-face .photo-ai-design-pair-preview{height:24px}}@container photo-ai-sidebar (max-height: 500px){.photo-ai-design-face,.photo-ai-face{--photo-ai-prompt-height:48px}[data-photo-ai-mode=design] [data-photo-ai-sidebar-content]{padding-block:6px}.photo-ai-design-face{--photo-ai-reference-height:3rem;gap:10px}.photo-ai-design-face .photo-ai-style-card{height:48px}.photo-ai-design-face>.grid section>:not([hidden])~:not([hidden]),.photo-ai-design-face>section:not([data-agent-compose-stepper])>:not([hidden])~:not([hidden]){margin-top:8px}.photo-ai-design-face>section:not([data-agent-compose-stepper])>div:first-child>button{height:24px}.photo-ai-design-face [data-design-catalog] button{width:18px;height:18px}.photo-ai-design-face .photo-ai-design-pair-preview{height:18px}.photo-ai-design-face>.grid section>div+div button{padding:4px}.photo-ai-prompt>.relative{padding:6px}}@container photo-ai-sidebar (max-width: 420px) and (min-height: 501px){.photo-ai-design-face{gap:12px}.photo-ai-design-face>.grid h3{font-size:11px;line-height:14px}}