main{max-width:1100px}.setup,.rating-box{max-width:620px;margin:auto}.panel{margin:14px 0}.flow-photos{display:flex;gap:10px;overflow-x:auto;padding:5px}.photo-choice{flex:0 0 130px;padding:5px;border-radius:12px;white-space:normal}.photo-choice img{width:118px;height:125px;object-fit:contain;background:#eee5d5}.selected{outline:2px solid #235746}.group{padding:12px 0;border-bottom:1px solid #ddcdb2}.group label{margin:8px 0}.pair{display:flex;flex-wrap:wrap;gap:8px}.wait{text-align:center;max-width:620px;margin:40px auto}.wait strong{font-size:36px}.invite{overflow-wrap:anywhere;word-break:break-all}.loading{padding:20px;background:#f3e9d7}.hidden{display:none!important}.result-grid{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:20px;align-items:start}.result-grid>div{min-width:0}.result-grid .performance{height:auto;object-fit:contain}.food-area{height:270px}.gallery .preview{height:100%}.error{color:#8d3125}.saved-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.saved-row button{white-space:normal;text-align:left}.status-note{font-size:16px}.form-grid{margin:14px 0}input[type=checkbox],input[type=radio]{width:auto}.collection-tile{max-width:330px}.collection-tile img{width:100%;height:170px;object-fit:contain}.person img{object-fit:contain}.card,.panel{overflow-wrap:anywhere}.rating-box input[type=number]{font-size:24px}.bottom{overflow-wrap:normal}.asset-error{display:block;padding:24px;border:1px solid #b77550;background:#fff4e7}a{color:#245748}@media(max-width:700px){.result-grid{grid-template-columns:1fr}.pill{font-size:22px;padding:4px 12px}.photo-choice{flex-basis:112px}.photo-choice img{width:100px;height:110px}.gallery{height:360px}.thumb{flex:0 0 88px;min-width:88px}.form-grid{grid-template-columns:1fr}.food-area{height:270px}}
/* Same contain-first photo contract for the integrated album. */
.thumb img{object-fit:contain}
.image-shell{position:relative;display:block;overflow:hidden;background:#f3e9d7;min-width:0}
.image-shell img{display:block}.image-loading img,.image-error img{visibility:hidden}.image-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;color:#654830;font-size:16px;background:#f3e9d7}.image-ready .image-message{display:none}.image-error .image-message{background:#fff1e5;color:#8d3125}.food-area>.image-shell{height:100%}.art-shell{aspect-ratio:1/1}.art-shell img{width:100%;height:100%!important;object-fit:contain}.gallery>.image-shell{flex:1;min-height:0}.gallery>.image-shell img{width:100%;height:100%;object-fit:contain}.person>.image-shell{width:64px;flex-shrink:0}.collection-tile>.image-shell{height:170px}.collection-filters select,.collection-filters input{max-width:100%;min-width:0;width:100%;box-sizing:border-box}.collection-filters summary{cursor:pointer;padding:8px;font-size:20px}.delete-card{color:#8d3125;font-size:16px;justify-self:start;margin:24px 0}dialog{max-width:calc(100vw - 32px);box-sizing:border-box}dialog h2{font-size:23px;overflow-wrap:anywhere}dialog button{margin:5px}.collection-filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.collection-filters .form-grid{grid-template-columns:1fr}.collection-tile{width:100%;max-width:100%}}
.photo-item{flex:0 0 126px;min-width:0;display:grid;gap:14px}.photo-item .photo-choice{width:100%}.delete-photo{min-height:44px;border:1px solid #9e5945;color:#793c2e;background:#fff6ed}.photo-delete-row{padding-top:18px;margin-top:10px;border-top:1px solid #ded1bd}.photo-delete-actions{display:flex;justify-content:space-between;gap:28px;margin-top:24px}.photo-delete-dialog{max-width:min(420px,calc(100vw - 32px));box-sizing:border-box}.photo-delete-dialog h2{font-size:22px;line-height:1.45}.pre-reveal-photos{margin-top:24px}
