.collage-picker{display:inline-block;padding:14px 20px;border-radius:12px;background:#364dcc;color:white;font-weight:700;cursor:pointer;margin:8px}.collage-picker input{display:block;max-width:100%;margin-top:8px}.collage-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px;margin:24px 0}.collage-settings label{display:flex;flex-direction:column;gap:8px}.collage-settings select{padding:10px;max-width:100%}.collage-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;padding:0;list-style:none}.collage-photos li{padding:12px;background:#f1f4fc;border-radius:12px;min-width:0;overflow-wrap:anywhere}.collage-photos img{width:100%;height:100px;object-fit:contain}.collage-photos button{margin:4px;padding:8px}.collage-photos label{display:block;font-size:14px}.collage-photos input{width:100%}#preview{display:block;width:100%;max-width:700px;height:auto;border:1px solid #cbd2e2;margin:20px auto}button:disabled{opacity:.5}main>.card{margin-bottom:24px}
.collage-page button,.collage-file-button{font:inherit;font-size:14px;font-weight:700;border:1px solid #dfe3f0;border-radius:12px;padding:11px 16px;background:white;color:#4752b3;cursor:pointer;min-height:44px}.collage-page button:hover{background:#ebedff;border-color:#8189ec}.collage-page button:focus-visible,.collage-file-button:focus-within{outline:3px solid #5964de;outline-offset:3px}.collage-page .download-button,.collage-file-button{background:#5b64e8;color:white;border-color:#5b64e8}.collage-page button:disabled{cursor:not-allowed}.collage-page .collage-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:250px;padding:32px 20px;border:2px dashed #a7afe8;border-radius:20px;background:linear-gradient(135deg,#f3f4ff,#f5fbf8);text-align:center;color:#4752b3;margin:16px 0}.collage-picker strong{font-size:20px}.collage-picker span,.collage-picker small{color:#586079}.collage-page .collage-picker.is-dragging{background:#e6e9ff;border-color:#4752b3}.collage-file-button{position:relative;overflow:hidden;display:inline-block}.collage-page .collage-file-button input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.collage-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:28px;align-items:start}.collage-stage{position:sticky;top:16px;min-width:0}.collage-stage h2,.collage-design h2{margin-top:0}.collage-page .collage-settings{grid-template-columns:1fr;margin:16px 0}.collage-settings select{border:1px solid #dfe3f0;border-radius:10px;background:white;color:#1b2440;font:inherit;width:100%}.collage-page #preview{max-height:52vh;object-fit:contain;margin:12px auto;background:#eef0fa}.collage-page .collage-photos{display:flex;gap:8px;overflow-x:auto;padding:4px;margin:12px 0}.collage-page .collage-photos li{flex:0 0 64px;padding:0;background:none}.collage-page .photo-thumbnail{padding:4px;width:64px;margin:0;min-height:58px}.collage-page .photo-thumbnail img{display:block;width:52px;height:46px;object-fit:contain}.collage-page .photo-thumbnail[aria-pressed=true]{border:2px solid #5b64e8;background:#ebedff}.collage-photo-editor{padding:14px;background:#f3f4ff;border:1px solid #e0e4f0;border-radius:14px;margin-bottom:16px;overflow-wrap:anywhere}.collage-photo-editor:empty{display:none}.collage-photo-editor p{margin:0 0 10px;font-weight:700}.collage-photo-editor button{margin:0 6px 6px 0}.collage-photo-editor label{display:inline-block;width:calc(50% - 10px);margin:10px 5px 0;font-size:13px}.collage-photo-editor input{width:100%;accent-color:#5b64e8}.collage-page footer,.collage-page footer nav{flex-wrap:wrap}.collage-page #cookie-settings-status{flex-basis:100%}.collage-page #save-status a{display:inline-block;padding:10px;border-radius:10px;font-size:13px}@media(max-width:760px){.collage-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.collage-stage{position:static}.collage-page #preview{max-height:36vh}.collage-design{border-top:1px solid #e0e4f0;padding-top:18px}.collage-page .collage-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.collage-page .collage-picker{min-height:220px}.collage-picker strong{font-size:18px}}
@media(max-width:760px){.collage-page .collage-stage{display:contents}.collage-page #preview{position:sticky;top:8px;z-index:2;box-shadow:0 4px 16px #293c7224;background:white}.collage-page .collage-workspace{gap:10px}}
