/* Scoped to recovery messages. Native fields, spacing and menu layouts remain
   owned by their forms; the error is more than a colour change. */
.guided-recovery {
  display:block;box-sizing:border-box;max-width:100%;min-width:0;margin:10px 0;padding:12px;
  border:1px solid var(--menu-danger-border,#edb5bc);border-left:3px solid var(--menu-danger,#b4232c);
  border-radius:var(--menu-control-radius,8px);background:var(--menu-danger-soft,#fff1f2);
  color:var(--menu-ink,#182333);font:650 12px/1.5 var(--menu-font,var(--font-ui,system-ui,sans-serif));
  overflow-wrap:anywhere;white-space:normal;text-align:left;
}
.guided-recovery :is(.guided-recovery-content,.guided-recovery-title,.guided-recovery-problem,.guided-recovery-retention,.guided-recovery-steps,.guided-recovery-step,.guided-recovery-fields,.guided-recovery-field,.guided-recovery-action-status) {display:block;min-width:0;max-width:100%;}
.guided-recovery .guided-recovery-title {font:760 12px/1.4 var(--menu-font,var(--font-ui,system-ui,sans-serif));color:var(--menu-danger,#b4232c);margin-bottom:5px;}
.guided-recovery :is(.guided-recovery-retention,.guided-recovery-steps,.guided-recovery-fields) {margin-top:7px;}
.guided-recovery .guided-recovery-step + .guided-recovery-step,.guided-recovery .guided-recovery-field + .guided-recovery-field {margin-top:4px;}
.guided-recovery .guided-recovery-retention {color:var(--menu-muted,#5c6b7e);}
.guided-recovery .guided-recovery-actions {display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;min-width:0;}
.guided-recovery :is(.guided-recovery-action,.guided-recovery-field-link) {
  appearance:none;box-sizing:border-box;width:auto;max-width:100%;min-width:0;min-height:32px;height:auto;
  padding:6px 9px;border:1px solid var(--menu-border-strong,#b9c8da);border-radius:var(--menu-control-radius,8px);
  background:var(--menu-surface,#fff);color:var(--menu-accent,#075fc4);
  font:760 12px/1.4 var(--menu-font,var(--font-ui,system-ui,sans-serif));white-space:normal;overflow-wrap:anywhere;text-align:left;
  box-shadow:none;text-shadow:none;cursor:pointer;
}
.guided-recovery .guided-recovery-field-link {padding:2px 0;min-height:28px;border:0;border-radius:2px;background:transparent;text-decoration:underline;text-underline-offset:2px;}
.guided-recovery :is(.guided-recovery-action,.guided-recovery-field-link):focus-visible,.guided-recovery:focus-visible {outline:2px solid var(--menu-accent,#075fc4);outline-offset:2px;}
.guided-recovery :is(.guided-recovery-action,.guided-recovery-field-link):not(:disabled):hover {background:var(--menu-hover,#edf2f8);}
.guided-recovery .guided-recovery-action:disabled {opacity:.65;cursor:not-allowed;}
.guided-recovery .guided-recovery-disabled-reason {flex-basis:100%;font-size:11px;color:var(--menu-muted,#5c6b7e);}
.guided-recovery .guided-recovery-action-status:empty {display:none;}
@media(max-width:420px){.guided-recovery{padding:10px;}.guided-recovery .guided-recovery-actions{gap:6px;}}
@media(forced-colors:active){.guided-recovery{border:2px solid CanvasText;}.guided-recovery .guided-recovery-title{color:CanvasText;}.guided-recovery .guided-recovery-action{border:1px solid ButtonText;}}
