/* The BM layout reuses the existing order controller and shared brand controls. */
.restoration-page .restore-workspace{box-sizing:border-box}
.restoration-page .restore-workspace .restore-flow-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin:0}
.restoration-page .restore-upload-column{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:14px;border:1px dashed #b6a58f;border-radius:12px;padding:24px;background:#fffdf9}
.restoration-page .restore-upload-column:not(:has(.restore-preview-grid figure)){align-items:center;text-align:center;justify-content:center;min-height:320px}
.restoration-page .restore-upload-column.is-dragging{outline:3px solid #2f7d5a;outline-offset:3px;background:#edf5f0}
.restoration-page .restore-drop-prompt{color:#665b4e;text-align:center}
.restoration-page .restore-drop-prompt svg{margin:auto;display:block}
.restoration-page .restore-drop-prompt p{font-size:1.125rem;margin:14px 0 2px;color:#163a5f}
.restoration-page .restore-upload-column>.restore-note{margin:0;font-size:.875rem;line-height:1.6}
.restoration-page .restore-flow-form .restore-flow-options{grid-column:2;grid-row:1;min-width:0;gap:18px}
.restoration-page .restore-submit-options{display:grid;gap:16px;min-width:0}
.restoration-page .restore-flow-form .restore-activity-host,.restoration-page .restore-flow-form .restore-live-steps,.restoration-page .restore-flow-form .restore-flow-message{grid-column:1/-1}
.restoration-page .restore-inline-payment:empty{display:none}
.restoration-page .restore-count{margin:0;font-size:.9375rem;color:#163a5f}
.restoration-page .restore-setup-hint{margin:0;font-size:.875rem;color:#52636d;line-height:1.6}
.restoration-page .restore-before-processing{margin:0;line-height:1.65}
.restoration-page .restore-packages{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.restoration-page .restore-packages legend,.restoration-page .restore-tones legend{font-weight:600;font-size:1rem;margin-bottom:10px}
.restoration-page .restore-choice>span{font-size:.875rem;padding:10px 8px;min-width:0;text-align:center}
.restoration-page .restore-choice input:checked+span{padding:9px 7px}
.restoration-page .restore-choice>span strong{font-size:1rem}
.restoration-page .restore-tones{display:flex;gap:8px;flex-wrap:wrap;border:0;margin:0;padding:0;min-width:0}
.restoration-page .restore-flow-options .restore-tones label{display:flex;flex-direction:row;align-items:center;gap:6px;border:1px solid #c7bba9;border-radius:7px;padding:10px;font-size:.875rem;background:#fffdf9;cursor:pointer}
.restoration-page .restore-tones label:has(input:checked){border-color:#2f7d5a;background:#edf5f0;color:#163a5f}
.restoration-page .restore-tones input{accent-color:#2f7d5a;margin:0;flex-shrink:0}
.restoration-page .restore-flow-form.is-saved{grid-template-columns:minmax(0,1fr)}
.restoration-page .restore-flow-form.is-saved .restore-upload-column{border:0;padding:0;background:transparent}
.restoration-page .restore-preview-grid{width:100%;min-width:0}
.restoration-page .restore-upload-column .restore-scan-frame img{width:100%;height:auto!important;max-height:none;object-fit:contain;aspect-ratio:auto;transform:none}
.restoration-page .restore-flow-form :is(button,input,textarea):focus-visible{outline:3px solid #69b9d0;outline-offset:4px}
.restoration-page .restore-flow-form .net-btn{white-space:normal;min-height:48px;line-height:1.35;text-align:center;justify-content:center}
.restoration-page .restore-flow-form button:disabled{opacity:.6;cursor:wait}
.restoration-page .restore-flow-form [hidden]{display:none!important}
@media(max-width:900px){.restoration-page .restore-workspace .restore-flow-form{grid-template-columns:minmax(0,1fr)}.restoration-page .restore-flow-form .restore-flow-options{grid-column:1;grid-row:auto}.restoration-page .restore-upload-column{padding:20px}.restoration-page .restore-upload-column:not(:has(.restore-preview-grid figure)){min-height:230px}}
@media(max-width:390px){.restoration-page .restore-upload-column{padding:16px 12px}.restoration-page .restore-packages{grid-template-columns:1fr}.restoration-page .restore-choice>span{display:flex;justify-content:space-between;align-items:center}.restoration-page .restore-tones{flex-direction:column}.restoration-page .restore-flow-options .restore-tones label{justify-content:flex-start}}
