.free-image-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.free-image-grid fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.free-image-quota{padding-bottom:16px;border-bottom:1px solid var(--border,#30313d);margin-bottom:18px}.free-image-quota strong{color:#ed6cc9}.free-image-ratios{display:flex;gap:12px;flex-wrap:wrap}.free-image-ratios legend{margin-bottom:10px;font-weight:600}.free-image-ratios label{flex:1;min-width:110px;border:1px solid #3d3e49;border-radius:10px;padding:14px;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;cursor:pointer}.free-image-ratios label:has(input:checked){border-color:#e85abf;background:#e85abf18}.free-image-ratios input{width:16px;height:16px;accent-color:#e85abf}.free-frame{display:block;border:1.5px solid currentColor;border-radius:3px;width:28px;height:28px}.free-frame.landscape{width:38px;height:22px}.free-frame.phone{width:18px;height:32px;border-radius:5px}.free-image-drop{border:1px dashed #626272;border-radius:12px;padding:20px;display:grid;gap:8px}.free-image-drop span{font-size:.85rem;color:#a8a9b9}.free-image-drop input{max-width:100%}.free-image-grid textarea{width:100%;box-sizing:border-box}.free-image-output img{display:block;width:100%;height:auto;border-radius:12px;margin:16px 0}.free-image-output a{display:inline-block;margin-top:12px}.free-image-output h2{line-height:1.15}.free-image-grid fieldset:disabled{opacity:.65}.free-image-grid #free-image-create{width:100%;min-height:48px}.image-perk a{display:inline-block;margin-left:12px;font-weight:600}@media(max-width:760px){.free-image-grid{grid-template-columns:minmax(0,1fr);gap:16px}.free-image-ratios{gap:8px}.free-image-ratios label{min-width:0;padding:12px 8px}.image-perk a{margin:8px 0 0}.free-image-output{min-width:0}}

.free-image-output>div+div{margin-top:24px}

.image-library{border-top:1px solid var(--border,#30313d);margin-top:20px;padding-top:20px;min-width:0}.image-library h3{font-size:1.3rem;margin:0 0 8px}.image-library fieldset{display:grid;gap:12px}.image-library label{display:grid;gap:6px}.image-library input,.image-library select{width:100%;box-sizing:border-box;min-width:0}.image-library button{min-height:44px;white-space:normal}.image-library-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.image-library-actions>*{flex:1;min-width:130px}.image-library #image-library-source{max-height:180px;object-fit:contain}.image-library #image-library-submit{width:100%}.image-library [hidden]{display:none!important}

.free-image-selection{border-left:3px solid var(--accent,#d5c2ff);padding:4px 0 12px 14px;margin-bottom:16px}.free-image-selection p{margin:6px 0 12px}.free-image-selection button,#free-image-open-retry{min-height:44px}.image-library #image-library-pending{margin:0 0 18px}.image-library #image-library-pending summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.image-library #image-library-pending-links{display:grid;gap:8px}.image-library #image-library-pending-links a{min-height:44px;display:flex;align-items:center;margin:0}
