.recipient-body{grid-column:1/-1;min-width:0;width:100%}
.recipient-body>fieldset,.recipient-addresses{margin:20px 0;padding:20px;border:1px solid #d4dceb;border-radius:14px;background:#fff}
.sr-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.sr-personal-grid p,.sr-address-grid p{margin:0;min-width:0}
.sr-personal-grid label,.sr-address-grid label{display:block;font-weight:600;font-size:15px;color:#25364c;margin-bottom:8px}
.sr-address-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.sr-address-street{grid-column:span 9}.sr-address-unit{grid-column:span 3}
.sr-address-city{grid-column:span 8}.sr-address-province{grid-column:span 4}
.sr-address-postal,.sr-address-country{grid-column:span 6}.sr-address-notes{grid-column:1/-1}
.sr-address-grid input,.sr-address-grid select,.sr-personal-grid input,.sr-personal-grid select{width:100%;min-width:0;min-height:48px;font:inherit}
.sr-address-country input{background:#f0f3f7;color:#475569;cursor:default}
.recipient-addresses .formset,.recipient-addresses .formset-rows{display:block;grid-column:1/-1}
.sr-address{display:block;min-width:0;padding:20px;margin:16px 0;border:1px solid #cbd5e1;border-radius:12px;background:#fafbfd}
.sr-address>legend{padding:0 8px;font-size:16px;font-weight:600}
.sr-address-controls{display:flex;flex-wrap:wrap;gap:16px 24px;margin-top:16px}
.sr-address-controls label{display:flex;gap:10px;align-items:center;min-height:44px;font-weight:500}
.sr-address-controls input,.sr-remove-recipient input{width:20px!important;min-height:20px!important;height:20px;flex:none}
.sr-address-removed .sr-address-grid,.sr-address-removed .sr-primary-control{display:none}
.sr-address-removed{border-style:dashed;background:#f1f3f5}.sr-address-removed>legend::after{content:' - marked for removal';font-weight:400}
.sr-primary-status:empty{display:none}.sr-primary-status{color:#214981;font-weight:600}
.sr-dropzone{min-width:0;padding:20px;border:2px dashed #9cacbf;border-radius:14px;background:#f7f9fc;margin:12px 0}
.sr-dropzone.is-dragover{border-color:#195bc4;background:#edf4ff}
.sr-dropzone:focus-within{outline:3px solid #7ba5ec;outline-offset:3px}
.sr-dropzone .sr-dropzone-title{font-size:17px;font-weight:600;margin:0 0 6px;color:#1d1d1f}
.sr-dropzone input[type=file]{display:block;max-width:100%;width:100%;font:inherit;min-height:48px;margin:12px 0 0}
.sr-upload-error{color:#a51e25;font-size:15px;font-weight:500;white-space:pre-line;overflow-wrap:anywhere}
.sr-upload-error[hidden]{display:none}
.sr-remove-recipient{display:flex;gap:12px;align-items:center;min-height:44px;color:#9b252c;margin-top:20px}
.sr-deletion-control{display:none!important}
.sr-removal-actions{display:flex;justify-content:flex-end;margin-top:20px}
.sr-remove-row{min-height:44px;border:1px solid #c9353d;background:#fff;color:#a51e25}
.sr-remove-row:hover{background:#fff3f3}
.sr-remove-row:disabled{border-color:#cbd5e1;color:#64748b;background:#f1f5f9;cursor:not-allowed}
.sr-removal-state{align-items:center;gap:12px;justify-content:space-between;padding:14px 16px;border:1px dashed #9aa7b8;border-radius:12px;background:#f4f6f8;color:#334155}
.sr-removal-state:not([hidden]){display:flex}
.sr-removal-state span{flex:1;font-size:14px}
.is-formset-removed>.sr-address-grid,.is-formset-removed>.sr-address-controls,.is-formset-removed>.recipient-addresses,.is-formset-removed>.recipient-photos,.is-formset-removed>.sr-removal-actions,.is-formset-removed>fieldset{display:none}
dialog[data-formset-removal-dialog]{width:min(480px,calc(100% - 32px));padding:0;border:0;border-radius:14px;box-shadow:0 24px 64px rgba(15,23,42,.25)}
dialog[data-formset-removal-dialog]::backdrop{background:rgba(15,23,42,.48)}
.sr-removal-dialog-card{padding:24px}.sr-removal-dialog-card h2{margin-top:0}.sr-removal-dialog-card .actions{justify-content:flex-end}
.sr-removal-photo-warning{color:#8a3b12;font-weight:600}
@media(max-width:600px){.sr-personal-grid{grid-template-columns:minmax(0,1fr)}.sr-address-grid{display:block}.sr-address-grid p+p{margin-top:16px}.recipient-body>fieldset,.recipient-addresses,.sr-address,.sr-dropzone{padding:16px}.sr-address-controls{display:block}.sr-address-controls label{margin:8px 0}}
@media(max-width:600px){.sr-mobile-shell .recipient-card{padding:0;border:0}.sr-mobile-shell .recipient-body>fieldset,.sr-mobile-shell .recipient-addresses{padding:0;border:0;border-radius:0;background:transparent}.sr-mobile-shell .recipient-card>summary{padding:12px 0}}
