.photo-restore-page .restore-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;max-width:1060px;margin:0 auto}
.photo-restore-page .restore-identity-note{display:grid;gap:3px;max-width:1060px;margin:0 auto 16px;padding:14px 18px;border:1px solid #e0d5f2;border-radius:14px;background:#f5f0fc;color:#675087;font-size:13px}
.photo-restore-page .restore-identity-note span{color:#746b80;font-size:12px}
.photo-restore-page #restore-plan-step{grid-column:1/-1}
.photo-restore-page .restore-step{min-width:0}
.photo-restore-page .restore-step h2{display:flex;align-items:center;gap:10px;margin-top:0}
.photo-restore-page .restore-step-number{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#eee8ff;color:#7950d7;font-size:14px}
.photo-restore-page .restore-photo-choices{display:grid;grid-template-columns:1fr;gap:10px;margin:14px 0 8px}
.photo-restore-page .restore-photo-choices>button,.photo-restore-page .restore-photo-choices>.prelab-upload{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:92px;width:100%;padding:14px;text-align:left;border:1px solid #ded5ed;border-radius:14px;background:#faf8ff;color:#5e4b83;cursor:pointer}
.photo-restore-page .restore-photo-choices>.prelab-upload{align-items:center;min-height:210px;text-align:center;border-style:dashed;background:#fff}
.photo-restore-page .restore-photo-choices span{font-size:12px;line-height:1.5;color:#857b94}
.photo-restore-page .prelab-nav{display:none}
.photo-restore-page .restore-mobile-help{display:none}
.photo-restore-page .restore-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 0 12px}
.photo-restore-page .restore-tabs button{min-width:0;border:1px solid #e6def4;border-radius:14px;background:#fff;color:#5f596b;padding:10px 4px;font:inherit;cursor:pointer}
.photo-restore-page .restore-tabs button[aria-selected="true"]{border-color:#7950d7;background:#f1eaff;color:#6639c8;font-weight:700}
.photo-restore-page .restore-panel[hidden]{display:none}
.photo-restore-page .restore-panel{border-top:1px solid #eee8f4;padding-top:14px}
.photo-restore-page .restore-panel .prelab-field{display:block;margin:0 0 14px}
.photo-restore-page .restore-panel .prelab-field[hidden]{display:none}
.photo-restore-page .prelab-upload input[type="file"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.photo-restore-page .prelab-upload:focus-within{outline:2px solid #7950d7;outline-offset:3px}
.photo-restore-page .restore-plan-summary{border:1px solid #ece4f7;border-radius:12px;background:#faf7ff;padding:14px 16px;line-height:1.7;color:#514566}
.photo-restore-page .restore-plan-summary strong{display:block;margin-bottom:4px}
.photo-restore-page .prelab-result{max-width:860px;margin:16px auto 0}
.photo-restore-page .restore-history-section{max-width:1060px;margin:16px auto 0}
.photo-restore-page .restore-history-head{display:flex;justify-content:space-between;align-items:start;gap:16px}
.photo-restore-page .restore-history-head h2{margin:0}
.photo-restore-page .restore-history-head a{white-space:nowrap;color:#7950d7}
.photo-restore-page .restore-history-section [aria-pressed="true"]{border-color:#7950d7;background:#f1eaff;color:#6639c8;font-weight:700}
.photo-restore-page #restoreHistoryInline{display:block;margin-top:12px}
.photo-restore-page #restoreHistoryInline .history-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
.photo-restore-page #restoreHistoryInline .history-picker-grid button{min-width:0;overflow:hidden}
.photo-restore-page #restoreHistoryInline .history-picker-grid img{width:100%;height:108px;object-fit:cover}
@media(max-width:760px){.photo-restore-page.prototype-inner-frame>.prototype-interior-top,.photo-restore-page.prototype-inner-frame>.prelab-header{display:none!important}.photo-restore-page .prototype-interior-sub .restore-mobile-help{display:inline-grid;place-items:center;margin-left:auto;width:28px;height:28px;min-height:28px;padding:0;border:1px solid #77717e;border-radius:50%;background:#fff;color:#6f6975;font-weight:700}.photo-restore-page .restore-flow{grid-template-columns:1fr;gap:12px}.photo-restore-page .restore-photo-choices{grid-template-columns:1fr}.photo-restore-page #restore-plan-step{grid-column:auto}.photo-restore-page .restore-step{padding:18px}.photo-restore-page .restore-tabs button{font-size:.8rem;padding:9px 2px}}
