/* v0.3.7 private staging homepage wizard. All selectors are plugin-specific. */
.bpe-modal-dialog{box-sizing:border-box;width:min(780px,calc(100vw - 36px));max-width:780px;max-height:min(86dvh,850px);padding:0;border:1px solid #C5B5A1;border-radius:22px;background:#FCFAF6;color:#32200C;box-shadow:0 24px 90px rgba(22,15,8,.28);font-family:var(--font-body,Inter,Arial,sans-serif);overflow:auto;overscroll-behavior:contain}
.bpe-modal-dialog::backdrop{background:rgba(32,22,12,.67);backdrop-filter:blur(3px)}
.bpe-modal-dialog *{box-sizing:border-box}
.bpe-modal-top{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 28px 12px;background:#FCFAF6}
.bpe-modal-eyebrow{font-size:11px;font-weight:800;letter-spacing:.11em;color:#855C11}
.bpe-modal-close{cursor:pointer;width:40px;height:40px;border:1px solid #C5B5A1;border-radius:50%;background:#fff;color:#32200C;font:300 26px/1 Arial,sans-serif}
.bpe-modal-progress-wrap{padding:0 28px}
.bpe-modal-step{font:700 12px/1.5 var(--font-body,Inter,sans-serif);letter-spacing:.04em;color:#6E5838;margin:0 0 8px}
.bpe-modal-progress{height:5px;background:#E8E0D6;border-radius:999px;overflow:hidden}
.bpe-modal-progress span{display:block;height:100%;width:33.333%;background:#A23626;transition:width .18s ease}
.bpe-modal-content{padding:22px 28px 16px}
.bpe-modal-content h2{color:#32200C;font:600 clamp(26px,3.5vw,35px)/1.17 var(--font-heading,Fraunces,Georgia,serif);margin:0 0 10px}
.bpe-modal-content >p{font:400 16px/1.55 var(--font-body,Inter,sans-serif);color:#5D4B38;margin:0 0 19px}
.bpe-modal-options{display:grid;grid-template-columns:1fr;gap:11px}
.bpe-modal-option{position:relative;display:flex;align-items:flex-start;gap:14px;text-align:left;width:100%;min-height:76px;padding:17px 44px 17px 18px;cursor:pointer;border:1px solid #C5B5A1;border-left:4px solid #4A6E6E;border-radius:14px;background:#fff;color:#32200C;box-shadow:0 2px 8px rgb(50 32 12 / 6%);transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.bpe-modal-option:hover{background:#F5F1EB;border-color:#A68555;box-shadow:0 5px 12px rgb(50 32 12 / 10%)}
.bpe-modal-option-icon{flex:0 0 26px;width:26px;height:26px;color:#4A6E6E;margin-top:2px}
.bpe-modal-option-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bpe-modal-option-text{display:block;min-width:0;flex:1}
.bpe-modal-option-title{display:block;font:700 17px/1.35 var(--font-body,Inter,sans-serif);color:#32200C}
.bpe-modal-option-summary{display:block;font:400 14px/1.5 var(--font-body,Inter,sans-serif);color:#5D4B38;margin-top:5px}
.bpe-modal-option-arrow{position:absolute;right:18px;top:22px;font-size:22px;color:#855C11}
.bpe-modal-option[data-role=supporting]{border-left-color:#A68555}
.bpe-modal-bottom{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #E2D7C6;background:#FCFAF6;padding:17px 28px 19px}
.bpe-modal-bottom button{border:0;background:transparent;color:#855C11;font:700 14px/1.4 var(--font-body,Inter,sans-serif);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bpe-modal-bottom button:disabled{opacity:.35;text-decoration:none;cursor:default}
.bpe-modal-dialog :is(button,a):focus-visible,.bpe-home-launch:focus-visible{outline:3px solid #A23626;outline-offset:3px}
.bpe-home-launch{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 19px;border-radius:999px;border:2px solid #855C11;background:#FCFAF6;color:#32200C;cursor:pointer;font:700 14px/1.3 var(--font-body,Inter,sans-serif)}
.bpe-home-launch:hover{background:#EEE6E1;border-color:#A23626}
@media(min-width:720px){.bpe-modal-dialog .bpe-modal-options[data-count="3"]{grid-template-columns:1fr}}
@media(max-width:650px){.bpe-modal-dialog{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.bpe-modal-dialog::backdrop{background:rgba(32,22,12,.7)}.bpe-modal-top{padding:17px 18px 12px}.bpe-modal-progress-wrap{padding:0 18px}.bpe-modal-content{padding:18px 18px 12px}.bpe-modal-bottom{padding:14px 18px}.bpe-modal-option{padding:15px 36px 15px 14px}.bpe-modal-option-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){.bpe-modal-dialog :is(.bpe-modal-progress span,.bpe-modal-option){transition:none}}

.bpe-modal-loading{padding:20px 18px;border:1px solid #C5B5A1;border-radius:14px;background:#F5F1EB;color:#32200C;font:600 16px/1.5 var(--font-body,Inter,sans-serif)}

/* Stable optical centering: two strokes instead of a platform-font glyph. */
.bpe-modal-dialog .bpe-modal-close {
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 48px;width:48px;height:48px;padding:0;
  border:1px solid #C5B5A1;border-radius:50%;
  background:#A23626;color:#fff;cursor:pointer;
  box-shadow:0 3px 10px rgb(50 32 12 / 12%);
}
.bpe-modal-dialog .bpe-modal-close:hover{background:#8E2E20}
.bpe-modal-dialog .bpe-modal-close:focus-visible{outline:3px solid #32200C;outline-offset:3px}
.bpe-modal-close-icon{position:relative;display:block;width:17px;height:17px;flex:0 0 17px}
.bpe-modal-close-icon::before,.bpe-modal-close-icon::after{
  content:'';position:absolute;left:50%;top:50%;width:17px;height:2px;
  background:currentColor;border-radius:2px;transform-origin:center;
}
.bpe-modal-close-icon::before{transform:translate(-50%,-50%) rotate(45deg)}
.bpe-modal-close-icon::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* v0.3.9: color-coded, concise navigation eyebrows with semantic color parity. */
.bpe-modal-dialog .bpe-modal-option{
  border-left-color:var(--bpe-option-accent,#4A6E6E);
}
.bpe-modal-dialog .bpe-modal-option:hover{
  border-left-color:var(--bpe-option-accent,#4A6E6E);
}
.bpe-modal-dialog .bpe-modal-option-icon,
.bpe-modal-dialog .bpe-modal-option-arrow{
  color:var(--bpe-option-accent,#4A6E6E);
}
.bpe-modal-dialog .bpe-modal-option-eyebrow{
  display:inline-block;width:fit-content;max-width:100%;
  margin:0 0 9px;padding:5px 11px;border-radius:999px;
  background:var(--bpe-option-accent,#4A6E6E);color:#fff;
  font:800 11px/1.3 var(--font-body,Inter,sans-serif);
  letter-spacing:.055em;text-transform:uppercase;overflow-wrap:anywhere;
}
/* The category's tint remains visible during hover; no unrelated red stripe. */
.bpe-modal-dialog .bpe-modal-option[data-role=supporting]{
  border-left-color:var(--bpe-option-accent,#4A6E6E);
}
/* The transition is a lightweight ivory surface, never a synthetic AI answer. */
.bpe-modal-dialog.bpe-modal-is-loading .bpe-modal-content{
  text-align:center;padding-block:clamp(26px,5vw,52px);
}
.bpe-modal-dialog.bpe-modal-is-loading .bpe-modal-content h2{
  max-width:650px;margin-inline:auto;
}
.bpe-modal-dialog.bpe-modal-is-loading .bpe-modal-content > p{
  max-width:600px;margin:0 auto 25px;
}
.bpe-modal-dialog.bpe-modal-is-loading .bpe-modal-bottom{display:none;}
.bpe-modal-dialog .bpe-modal-loading{
  display:flex;flex-direction:column;align-items:center;gap:20px;
  width:100%;max-width:520px;margin:4px auto 0;
  padding:24px clamp(16px,4vw,34px);
  border:1px solid #D9CBB9;border-radius:18px;background:#FCFAF6;
  color:#32200C;text-align:center;
}
.bpe-modal-dialog .bpe-modal-loading-label{
  display:inline-block;padding:6px 13px;border-radius:999px;
  background:#32200C;color:#fff;
  font:800 11px/1.3 var(--font-body,Inter,sans-serif);letter-spacing:.08em;
}
.bpe-modal-dialog .bpe-modal-loading-track{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;max-width:320px;padding:10px 0;
}
.bpe-modal-dialog .bpe-modal-loading-node{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 54px;width:54px;height:54px;border-radius:50%;
  background:#E8F0F0;color:#4A6E6E;
  animation:bpe-connect-dots 2.6s ease-in-out infinite;
}
.bpe-modal-dialog .bpe-modal-loading-node--workflow{
  background:#F3EEE3;color:#855C11;animation-delay:.45s;
}
.bpe-modal-dialog .bpe-modal-loading-node--lightbulb{
  background:#F7E4DF;color:#A23626;animation-delay:.9s;
}
.bpe-modal-dialog .bpe-modal-loading-node svg{
  width:26px;height:26px;fill:none;stroke:currentColor;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
.bpe-modal-dialog .bpe-modal-loading-connector{
  flex:1 1 38px;min-width:12px;max-width:42px;height:3px;
  border-radius:999px;background:#D7CABB;overflow:hidden;
}
.bpe-modal-dialog .bpe-modal-loading-connector::after{
  content:'';display:block;width:100%;height:100%;transform:translateX(-100%);
  background:#4A6E6E;animation:bpe-connect-line 2.6s ease-in-out infinite;
}
.bpe-modal-dialog .bpe-modal-loading-connector:nth-of-type(4)::after{animation-delay:.5s;}
.bpe-modal-dialog .bpe-modal-loading-caption{
  color:#6E5838;font:600 13px/1.5 var(--font-body,Inter,sans-serif);
}
@keyframes bpe-connect-dots{
  0%,20%,90%,100%{transform:scale(1);box-shadow:0 0 0 0 transparent;}
  42%{transform:scale(1.08);box-shadow:0 0 0 7px rgb(74 110 110 / 10%);}
}
@keyframes bpe-connect-line{
  0%,12%{transform:translateX(-100%);}
  45%,72%{transform:translateX(0);}
  95%,100%{transform:translateX(100%);}
}
@media(max-width:650px){
  .bpe-modal-dialog .bpe-modal-option-eyebrow{font-size:10px;}
  .bpe-modal-dialog .bpe-modal-loading-node{
    flex-basis:45px;width:45px;height:45px;
  }
  .bpe-modal-dialog .bpe-modal-loading-node svg{width:22px;height:22px;}
}
@media(prefers-reduced-motion:reduce){
  .bpe-modal-dialog .bpe-modal-loading-node,
  .bpe-modal-dialog .bpe-modal-loading-connector::after{animation:none;transform:none;}
}
