#multiPhotoPanel[hidden], .upload-shell[hidden] { display: none !important; }
.multi-photo-mode .step-line { display: none; }
#multiPhotoPanel { padding: 14px 12px 10px; }
.slot-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slot-heading h2 { font-size: 18px; line-height: 26px; margin: 0; color: var(--ink, #261414); }
.slot-count { flex-shrink: 0; padding: 4px 8px; border-radius: 20px; color: var(--red, #c90822); background: #fff0e8; font-size: 12px; font-weight: 700; }
.slot-intro { margin: 5px 0 12px; color: var(--muted, #7a6b63); font-size: 12px; line-height: 18px; }
.photo-slots { position: relative; display: flex; align-items: stretch; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.photo-slots::-webkit-scrollbar { display: none; }
.photo-slots::after { content: ''; flex: 0 0 18px; }
.photo-slot { flex: 0 0 calc(100% - 28px); min-width: 0; padding: 10px; border: 1px solid #f0dcd1; border-radius: 14px; background: #fffaf3; scroll-snap-align: start; scroll-snap-stop: always; }
.photo-slot.ready { border-color: #dec5b5; }
.photo-slot.error { border-color: #c56f69; }
.photo-slot h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; line-height: 24px; color: var(--ink, #261414); }
.slot-number { display: inline-grid; place-items: center; width: 23px; height: 23px; flex-shrink: 0; border-radius: 50%; background: var(--red, #c90822); color: #fff; font-size: 13px; }
.slot-photo-hint { height: 34px; font-size: 11px; line-height: 17px; color: var(--muted, #7a6b63); margin: 6px 0 8px; }
.slot-pick { display: flex; width: 100%; height: 128px; padding: 8px; border: 1px dashed #dfbba5; border-radius: 10px; background: #fffdf8; flex-direction: column; align-items: center; justify-content: center; color: var(--red, #c90822); overflow: hidden; font: inherit; cursor: pointer; }
.slot-pick img { width: 100%; height: 100%; object-fit: contain; }
.slot-plus { display: grid; place-items: center; font-size: 31px; width: 41px; height: 41px; margin-bottom: 4px; border-radius: 50%; background: #ffefe4; font-weight: 400; }
.slot-upload-label { font-size: 16px; line-height: 24px; font-weight: 700; }
.slot-file-hint { color: #a08c7c; font-size: 10px; line-height: 18px; }
.slot-card-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 32px; gap: 4px; }
.slot-status { min-width: 0; line-height: 16px; font-size: 11px; color: #988377; margin: 6px 0 0; }
.ready .slot-status { color: #5a7958; }
.error .slot-status { color: #a0443c; }
.slot-actions { display: flex; gap: 15px; flex-shrink: 0; }
.slot-actions button { border: 0; background: transparent; min-height: 32px; padding: 6px 0 0; color: var(--red, #c90822); font-size: 12px; cursor: pointer; }
.slot-actions button + button { color: #90786c; }
.slot-navigation { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding-top: 4px; }
.slot-navigation button { min-height: 40px; min-width: 76px; padding: 5px 7px; border: 0; border-radius: 9px; color: var(--red, #c90822); background: transparent; font-size: 12px; font-weight: 600; }
.slot-navigation button:disabled { color: #c6b7ac; cursor: default; }
.slot-navigation-middle { display: flex; align-items: center; flex-direction: column; gap: 1px; }
.slot-page { font-size: 12px; line-height: 18px; font-weight: 700; color: #765a4a; font-variant-numeric: tabular-nums; }
.slot-swipe-hint { font-size: 10px; color: #a08c7c; }
.slot-guide { border-top: 1px solid #f4e5da; margin-top: 3px; }
.slot-guide summary { cursor: pointer; color: #927461; font-size: 12px; line-height: 20px; padding: 9px 0 3px; }
.slot-guide img { display: block; width: 100%; margin: 12px 0 6px; border-radius: 8px; }
.slot-guide small { display: block; color: #927461; font-size: 11px; padding-bottom: 6px; }
.multi-template-badge { font-size: 10px; color: #9d4c3e; background: #fff0e8; padding: 3px 7px; margin: -3px 0 9px; border-radius: 5px; }
.photo-slot button:disabled { opacity: .55; cursor: default; }
.photo-slots:focus-visible, .photo-slot button:focus-visible, .slot-navigation button:focus-visible { outline: 2px solid var(--red, #c90822); outline-offset: -2px; }
@media (min-width: 410px) { .slot-pick { height: 140px; } }
@media (max-height: 760px) { #multiPhotoPanel { padding-top: 10px; } .slot-pick { height: 126px; } .slot-intro { margin-bottom: 8px; } }
