#wz-factory-reset-panel{
  width:100%;
  box-sizing:border-box;
}

.wz-fr-panel{
  display:block;
  width:100%;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #ddd;
  border-radius:0;
  box-shadow:0 2px 3px rgba(0,0,0,.16);
  margin:0 0 10px;
  font-family:inherit;
  color:#333;
}

.wz-fr-head{
  width:100%;
  min-height:92px;
  border:0;
  background:#fff;
  color:#333;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:22px;
  padding:19px 27px;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
}

.wz-fr-head:focus-visible,
.wz-fr-reset:focus-visible,
.wz-fr-input:focus-visible{
  outline:3px solid #005fcc;
  outline-offset:2px;
}

.wz-fr-copy{
  min-width:0;
  display:grid;
  gap:4px;
}

.wz-fr-copy strong{
  font-size:24px;
  line-height:1.2;
  font-weight:500;
}

.wz-fr-copy span{
  font-size:15px;
  color:#8a8a8a;
}

.wz-fr-icon{
  font-size:27px;
  line-height:1;
}

.wz-fr-chevron{
  font-size:24px;
  transition:transform .18s ease;
}

.wz-fr-head[aria-expanded="true"] .wz-fr-chevron{
  transform:rotate(180deg);
}

.wz-fr-body{
  border-top:1px solid #eee;
  padding:22px 27px 27px;
  box-sizing:border-box;
}

.wz-fr-body[hidden]{
  display:none!important;
}

.wz-fr-warning{
  border-left:4px solid #d92d20;
  background:#fff6f5;
  padding:14px 16px;
  line-height:1.5;
  margin-bottom:16px;
}

.wz-fr-counts{
  margin:10px 0 18px;
  font-size:15px;
}

.wz-fr-label{
  display:block;
  margin-bottom:7px;
}

.wz-fr-input{
  width:min(420px,100%);
  min-height:44px;
  padding:9px 11px;
  border:1px solid #aaa;
  border-radius:4px;
  box-sizing:border-box;
  font:inherit;
}

.wz-fr-help{
  color:#777;
  font-size:13px;
  margin:7px 0 15px;
}

.wz-fr-reset{
  min-height:45px;
  border:0;
  border-radius:5px;
  padding:10px 19px;
  background:#e90046;
  color:#fff;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}

.wz-fr-reset:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.wz-fr-status{
  margin-top:14px;
  min-height:20px;
  font-size:14px;
}

@media(max-width:700px){
  .wz-fr-head{
    min-height:84px;
    padding:16px 18px;
    gap:12px;
  }

  .wz-fr-copy strong{
    font-size:21px;
  }

  .wz-fr-body{
    padding:18px;
  }
}

/* R6: Factory Reset title mirrors the computed typography of Push Notifications. */
.wz-fr-title{display:block;}

/* R6: WayzAway-styled confirmation lightbox. */
.wz-fr-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
  background:rgba(22,22,26,.58);
  backdrop-filter:blur(2px);
}
.wz-fr-modal{
  position:relative;
  width:min(560px,100%);
  max-height:min(720px,calc(100vh - 48px));
  overflow:auto;
  box-sizing:border-box;
  background:#fff;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  padding:30px 30px 26px;
  color:#333;
  font-family:inherit;
}
.wz-fr-modal-accent{
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:#e90046;
  border-radius:8px 8px 0 0;
}
.wz-fr-modal h2{
  margin:0 0 18px;
  font:inherit;
  font-size:24px;
  font-weight:600;
  line-height:1.25;
  color:#333;
}
.wz-fr-modal-copy{
  font-size:16px;
  line-height:1.55;
  color:#4a4a4a;
}
.wz-fr-modal-copy p{margin:0 0 13px;}
.wz-fr-modal-warning{font-weight:600;color:#b00035;}
.wz-fr-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:24px;
}
.wz-fr-modal-actions button{
  min-height:44px;
  padding:10px 20px;
  border-radius:5px;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.wz-fr-modal-cancel{
  border:1px solid #e90046;
  background:#fff;
  color:#e90046;
}
.wz-fr-modal-confirm{
  border:1px solid #e90046;
  background:#e90046;
  color:#fff;
}
.wz-fr-modal-actions button:focus-visible{
  outline:3px solid #005fcc;
  outline-offset:2px;
}
@media(max-width:600px){
  .wz-fr-modal-backdrop{padding:14px;}
  .wz-fr-modal{padding:26px 20px 20px;}
  .wz-fr-modal-actions{flex-direction:column-reverse;}
  .wz-fr-modal-actions button{width:100%;}
}
