/* Misma estructura visual que modal-header/body/footer del administrador. */
.customer-portal dialog.portal-standard-modal{width:min(720px,calc(100% - 32px));max-width:720px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 20px 65px #10243d33;color:#172033;overflow:auto;outline:none;background:#fff}
.customer-portal dialog.portal-standard-modal::backdrop{background:rgba(16,34,55,.48)}
.customer-portal .portal-standard-modal .portal-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e5ebf2;background:#fff}
.customer-portal .portal-standard-modal .portal-modal-header h2{font-size:18px;line-height:1.4;font-weight:600;margin:0;color:#172033}
.customer-portal .portal-standard-modal .portal-modal-close{position:static;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:6px;color:#6d7c90;background:transparent;flex-shrink:0;cursor:pointer;font-size:16px}
.customer-portal .portal-standard-modal .portal-modal-close:hover{background:#eef3f8;color:#172033}
.customer-portal .portal-standard-modal .portal-modal-body{padding:22px;margin:0}
.customer-portal .portal-standard-modal form.portal-modal-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.customer-portal .portal-standard-modal .portal-profile-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.customer-portal .portal-standard-modal label{margin:0;font-size:13px;line-height:1.5;font-weight:500;color:#40516a}
.customer-portal .portal-standard-modal input:not([type=hidden]),.customer-portal .portal-standard-modal select{width:100%;height:40px;min-height:40px;box-sizing:border-box;font-family:inherit;font-size:14px;border-radius:7px;padding:8px 10px;border:1px solid #d5deea}
.customer-portal .portal-standard-modal .portal-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid #e5ebf2;background:#fff}
.customer-portal .portal-standard-modal .portal-modal-footer button{width:auto;min-height:38px;height:auto;margin:0;padding:8px 14px;border-radius:7px;font-size:13px;font-weight:500;line-height:1.5;cursor:pointer}
.customer-portal .portal-standard-modal .portal-primary{background:#075ee8;border:1px solid #075ee8;color:#fff}
.customer-portal .portal-standard-modal .portal-secondary{background:#fff;border:1px solid #d5deea;color:#40516a}
.customer-portal .portal-standard-modal .portal-repeat-options .portal-pickup{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;margin:0;border:0;border-bottom:1px solid #e5ebf2;border-radius:0;text-decoration:none}
.customer-portal .portal-standard-modal .portal-repeat-options .portal-pickup:last-child{border-bottom:0}
.customer-portal .portal-standard-modal .portal-pickup strong{font-size:14px;font-weight:600}
.customer-portal .portal-standard-modal .portal-pickup small{font-size:12px;line-height:1.7}
.customer-portal .portal-standard-modal .portal-pickup>span:last-child{flex-shrink:0;font-size:13px;color:#075ee8}
.customer-portal .portal-standard-modal :is(button,a,input,select):focus-visible{outline:2px solid #3985f7;outline-offset:3px}
@media(max-width:600px){.customer-portal .portal-standard-modal form.portal-modal-body{grid-template-columns:minmax(0,1fr)}.customer-portal .portal-standard-modal .portal-modal-header,.customer-portal .portal-standard-modal .portal-modal-body{padding:16px}.customer-portal .portal-standard-modal .portal-modal-footer{padding:12px 16px}.customer-portal .portal-standard-modal .portal-repeat-options .portal-pickup{gap:10px}}
