
.ref-pi1-admin{max-width:1240px}
.ref-pi1-admin-hero,
.ref-pi1-panel{
  margin:20px 0;
  padding:25px;
  border:1px solid #dcdfe4;
  border-radius:20px;
  background:#fff;
}
.ref-pi1-admin-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.ref-pi1-safety,
.ref-pi1-segment-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.ref-pi1-safety>div,
.ref-pi1-segment-grid article{
  padding:16px;
  border:1px solid #e2e5e9;
  border-radius:14px;
  background:#fafbfc;
}
.ref-pi1-safety span{
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#e7f6ed;
  color:#176a3a;
  font-weight:900;
}
.ref-pi1-safety strong,
.ref-pi1-segment-grid strong,
.ref-pi1-segment-grid span{
  display:block;
}
.ref-pi1-safety p,
.ref-pi1-segment-grid p{
  margin-bottom:0;
  color:#69717c;
}
.ref-pi1-segment-grid span{
  margin-top:10px;
  color:#69717c;
  font-size:11px;
}
.ref-pi1-toggle-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.ref-pi1-toggle-grid label{
  padding:12px;
  border:1px solid #e2e5e9;
  border-radius:11px;
  background:#fafbfc;
}
.ref-pi1-field-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.ref-pi1-field-grid label{
  display:grid;
  gap:7px;
  font-weight:700;
}
.ref-pi1-simulate,
.ref-pi1-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.ref-pi1-preview-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.ref-pi1-preview-grid article{
  padding:13px;
  border:1px solid #e2e5e9;
  border-radius:14px;
  background:#fafbfc;
}
.ref-pi1-preview-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
}
.ref-pi1-preview-grid strong,
.ref-pi1-preview-grid span{
  display:block;
  margin-top:7px;
}
.ref-pi1-section{
  width:min(1280px,calc(100vw - 32px));
  margin:32px auto;
  padding:clamp(22px,4vw,42px);
  border:1px solid var(--ref-ci-border,#e1e3e7);
  border-radius:26px;
  background:#fff;
}
.ref-pi1-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.ref-pi1-heading h2{margin:0}
.ref-pi1-heading span{
  color:#747b84;
  font-size:11px;
}
.ref-pi1-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
}
.ref-pi1-card{
  overflow:hidden;
  border:1px solid var(--ref-ci-border,#e1e3e7);
  border-radius:18px;
}
.ref-pi1-image{
  display:flex;
  aspect-ratio:1/1;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:#f7f7f7;
}
.ref-pi1-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.ref-pi1-copy{padding:15px}
.ref-pi1-copy h3{
  margin:0 0 8px;
  font-size:14px;
  line-height:1.4;
}
.ref-pi1-price{
  color:var(--ref-primary,#ad002b);
  font-weight:800;
}
.ref-pi1-dismiss{
  margin-top:10px;
  padding:0;
  border:0;
  background:transparent;
  color:#777;
  font-size:11px;
  text-decoration:underline;
  cursor:pointer;
}
@media(max-width:950px){
  .ref-pi1-safety,
  .ref-pi1-segment-grid,
  .ref-pi1-toggle-grid,
  .ref-pi1-field-grid,
  .ref-pi1-preview-grid,
  .ref-pi1-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .ref-pi1-admin-hero{align-items:flex-start;flex-direction:column}
  .ref-pi1-safety,
  .ref-pi1-segment-grid,
  .ref-pi1-toggle-grid,
  .ref-pi1-field-grid,
  .ref-pi1-preview-grid,
  .ref-pi1-grid{
    grid-template-columns:1fr;
  }
  .ref-pi1-section{width:calc(100vw - 20px)}
  .ref-pi1-heading{align-items:flex-start;flex-direction:column}
}


/* v15.3.1 — homepage-content placement */
.ref-pi1-homepage-sections{
  display:block;
  width:100%;
  max-width:100%;
  clear:both;
  overflow:hidden;
  box-sizing:border-box;
}

.ref-pi1-homepage-sections .ref-pi1-section{
  width:min(1280px,calc(100% - 32px));
  max-width:1280px;
  box-sizing:border-box;
}

.ref-pi1-placement-control{
  display:grid;
  gap:7px;
  margin:18px 0;
  padding:16px;
  border:1px solid #e2e5e9;
  border-radius:13px;
  background:#fafbfc;
}

.ref-pi1-placement-control label{
  display:grid;
  gap:7px;
  max-width:520px;
  font-weight:700;
}

.ref-pi1-placement-control p{
  margin:0;
  color:#69717c;
}

body > .ref-pi1-homepage-sections,
footer + .ref-pi1-homepage-sections,
#footer + .ref-pi1-homepage-sections{
  display:none!important;
}
