/* SaviMade Egg Collection Poster app — every rule is scoped to .sepg so it can't affect the theme */
.sepg{
  --sepg-red:#BE1E2D; --sepg-red-dark:#9a1824;
  --sepg-ink:#222; --sepg-muted:#6b6b6b; --sepg-line:#e4ddd6;
  container-type:inline-size;
  color:var(--sepg-ink); font-size:15px; line-height:1.45; text-align:left;
  margin:0 auto 24px; max-width:1200px;
}
.sepg.alignwide{width:auto;max-width:var(--wp--style--global--wide-size,1200px)}
/* no transform here: a transformed parent would trap the full-screen popups inside the app */
.sepg.sepg-full{width:min(1800px,calc(100vw - 48px));max-width:none !important;position:relative;left:50%;margin-left:calc(-1 * min(900px, 50vw - 24px)) !important;margin-right:0 !important}
@media (max-width:640px){.sepg.sepg-full{width:auto;left:auto;margin-left:auto !important}}
.sepg *,.sepg *::before,.sepg *::after{box-sizing:border-box}
.sepg p{margin:0 0 10px;font-size:15px;line-height:1.45;color:inherit}
.sepg h2,.sepg h3{font-family:inherit;color:inherit;letter-spacing:normal;text-transform:none}

.sepg .sepg-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
.sepg .sepg-col{display:flex;flex-direction:column;gap:20px;min-width:0}
@container (min-width:960px){
  .sepg .sepg-grid{grid-template-columns:minmax(340px,1fr) minmax(0,1.35fr)}
  .sepg .sepg-preview-card{position:sticky;top:20px}
}
.sepg .sepg-card{background:#fff;border:1px solid var(--sepg-line);border-radius:10px;padding:18px;margin:0;min-width:0}
.sepg h2.sepg-h{margin:4px 0 10px;font-size:20px;line-height:1.3}
.sepg .sepg-lbl{display:block;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--sepg-muted);margin:12px 0 5px}
.sepg input.sepg-text,.sepg input.sepg-search,.sepg select.sepg-select,.sepg input[type=number]{
  width:100%;height:auto;margin:0;padding:9px 10px;border:1px solid #cfc6bd;border-radius:8px;background:#fff;color:var(--sepg-ink);
  font:inherit;font-size:16px;line-height:1.3;box-shadow:none;min-height:0;text-transform:none;letter-spacing:normal}
.sepg select.sepg-select{cursor:pointer}
.sepg input:focus,.sepg select:focus{outline:none;border-color:var(--sepg-red);box-shadow:0 0 0 3px rgba(190,30,45,.12)}
.sepg details.sepg-about{font-size:14px;color:var(--sepg-muted);margin-bottom:8px}
.sepg details.sepg-about summary{cursor:pointer;color:var(--sepg-red);margin-bottom:6px}
.sepg details.sepg-about p{font-size:14px}
.sepg details.sepg-about a{color:var(--sepg-red)}

/* egg checklist */
.sepg .sepg-eggs-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.sepg .sepg-count{font-size:14px;font-weight:500;color:var(--sepg-muted);margin-left:6px}
.sepg .sepg-link{all:unset;cursor:pointer;color:var(--sepg-red);font-size:14px;font-weight:600}
.sepg .sepg-link:focus-visible{outline:2px solid var(--sepg-red);outline-offset:2px}
.sepg .sepg-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0 8px}
/* 1.8.3: group, family and country filters, combined */
.sepg .sepg-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 8px}
.sepg .sepg-flt{display:flex;flex-direction:column;gap:3px;margin:0;min-width:0}
.sepg .sepg-flt[hidden]{display:none}
.sepg .sepg-flt>span{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--sepg-muted)}
.sepg .sepg-flt select.sepg-select{font-size:14px;padding:8px 8px;text-overflow:ellipsis}
.sepg .sepg-shown{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;flex-wrap:wrap;font-size:13px;color:var(--sepg-muted);margin:0 0 6px}
.sepg .sepg-shown-acts{display:flex;gap:14px;flex-wrap:wrap}
.sepg .sepg-link.sepg-small{font-size:13px}
.sepg .sepg-link[hidden]{display:none}
.sepg .sepg-mylist{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.sepg .sepg-mylist-lbl{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--sepg-muted);margin-right:4px}
.sepg .sepg-btn.sepg-sm{padding:7px 12px;font-size:14px}
.sepg .sepg-listmsg{font-size:14px;background:#f6efe9;border-radius:8px;padding:8px 10px;margin:8px 0 0}
.sepg .sepg-listmsg[hidden]{display:none}
.sepg .sepg-specmsg{background:#f3efe2}
.sepg .sepg-specmsg .sepg-link{font-size:14px}
.sepg .sepg-fltchk{flex-direction:row !important;align-items:center;gap:6px;align-self:flex-end;padding-bottom:6px;cursor:pointer}
.sepg .sepg-fltchk input{margin:0}
.sepg .sepg-listmsg code{font-size:13px}
.sepg .sepg-search-wrap{position:relative}
.sepg .sepg-search-wrap svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--sepg-muted);pointer-events:none}
.sepg input.sepg-search{padding-left:34px;-webkit-appearance:none;appearance:none}
.sepg ul.sepg-list{list-style:none;margin:0;padding:4px;border:1px solid var(--sepg-line);border-radius:8px;max-height:420px;overflow-y:auto;overscroll-behavior:contain}
.sepg .sepg-list li{margin:0;padding:0}
.sepg .sepg-list li::before,.sepg .sepg-list li::marker{content:none}
.sepg .sepg-list label{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:6px;cursor:pointer;margin:0;line-height:1.25}
.sepg .sepg-list label:hover{background:#f6efe9}
.sepg .sepg-list input[type=checkbox]{width:18px;height:18px;margin:0;flex:none;accent-color:var(--sepg-red)}
.sepg .sepg-n{flex:1;min-width:0;display:flex;flex-direction:column}
.sepg .sepg-nm{font-size:15px;font-weight:600}
.sepg .sepg-sci{font-size:13px;font-style:italic;color:var(--sepg-muted)}
.sepg .sepg-sci:empty{display:none}
.sepg .sepg-sz{flex:none;font-size:12px;color:var(--sepg-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.sepg .sepg-list li.sepg-empty{color:var(--sepg-muted);padding:14px 10px;font-size:14px}
.sepg .sepg-setpick{position:relative}
.sepg ul.sepg-setlist{list-style:none;position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:20;margin:0;padding:4px;background:#fff;
  border:1px solid #cfc6bd;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-height:340px;overflow-y:auto;overscroll-behavior:contain}
.sepg ul.sepg-setlist[hidden]{display:none}
.sepg .sepg-setlist li{margin:0;padding:8px 10px;border-radius:6px;cursor:pointer;line-height:1.25}
.sepg .sepg-setlist li::before,.sepg .sepg-setlist li::marker{content:none}
.sepg .sepg-setlist li[aria-selected=true],.sepg .sepg-setlist li:hover{background:#f6efe9}
.sepg .sepg-setlist .sepg-st{display:block;font-weight:600;font-size:15px}
.sepg .sepg-setlist .sepg-sk{display:block;font-size:13px;color:var(--sepg-muted);margin-top:2px}
.sepg .sepg-setlist mark{background:none;color:var(--sepg-red);font-weight:inherit;padding:0}
.sepg .sepg-setlist li.sepg-empty{cursor:default;color:var(--sepg-muted);font-size:14px}
.sepg .sepg-setlist li.sepg-empty:hover{background:none}
.sepg .sepg-ext{color:var(--sepg-muted);font-weight:400}
.sepg .sepg-note{font-size:13px !important;color:var(--sepg-muted);margin:8px 0 0 !important}
.sepg .sepg-note a{color:var(--sepg-red)}
@container (max-width:520px){ .sepg .sepg-filters{grid-template-columns:1fr} }
@container (max-width:420px){ .sepg .sepg-filter{grid-template-columns:1fr} .sepg ul.sepg-list{max-height:340px} }

/* preview */
.sepg .sepg-preview-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.sepg .sepg-info{font-size:14px;color:var(--sepg-muted)}
.sepg .sepg-canvas-wrap{width:100%;margin:6px 0 14px}
.sepg canvas{width:100%;display:block;max-width:100%;border-radius:3px;box-shadow:0 1px 6px rgba(0,0,0,.14)}

/* buttons, messages, popups */
.sepg .sepg-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sepg .sepg-btn{all:unset;box-sizing:border-box;cursor:pointer;display:inline-block;padding:11px 20px;border-radius:8px;background:var(--sepg-red);color:#fff;font-weight:600;font-size:15px;line-height:1.3;text-align:center}
.sepg .sepg-btn:hover{background:var(--sepg-red-dark);color:#fff}
.sepg .sepg-btn.sepg-btn-alt{background:transparent;color:var(--sepg-red);box-shadow:inset 0 0 0 1.5px var(--sepg-red)}
.sepg .sepg-btn.sepg-btn-alt:hover{background:rgba(0,0,0,.04);color:var(--sepg-red-dark)}
.sepg .sepg-btn[hidden]{display:none}
.sepg .sepg-btn:focus-visible{outline:2px solid var(--sepg-red);outline-offset:2px}
.sepg .sepg-btn.secondary{background:#fff;color:var(--sepg-red);border:1px solid var(--sepg-red)}
.sepg .sepg-btn[disabled]{opacity:.5;pointer-events:none}
.sepg .sepg-fine{font-size:13px;color:var(--sepg-muted)}
.sepg .sepg-msg{font-size:14px;color:#1d7a3a;margin-top:10px;min-height:1.2em}
.sepg .sepg-credit{text-align:center;font-size:14px;color:var(--sepg-muted);margin-top:20px}
.sepg .sepg-credit a{color:var(--sepg-red)}
.sepg .sepg-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;padding:16px;z-index:999999}
.sepg .sepg-modal.open{display:flex}
.sepg .sepg-box{background:#fff;color:var(--sepg-ink);border-radius:12px;max-width:440px;width:100%;padding:24px;text-align:center;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.sepg .sepg-box h3{margin:0 0 8px;font-size:20px}
.sepg .sepg-box p{color:var(--sepg-muted);margin:0 0 18px}
.sepg .sepg-box .sepg-actions{justify-content:center}
.sepg .sepg-box .sepg-fine{display:block;margin:14px 0 0 !important;font-size:12px}
.sepg .sepg-amount{display:flex;align-items:center;justify-content:center;gap:8px;font-size:22px;font-weight:600;margin-bottom:6px}
.sepg .sepg-amount input[type=number]{width:130px;font-size:22px;text-align:center;padding:8px;border:2px solid var(--sepg-line)}
.sepg .sepg-amount span:last-child{font-size:15px;color:var(--sepg-muted);font-weight:500}
.sepg .sepg-pay-err{color:var(--sepg-red);font-size:13px;min-height:1.3em;margin-bottom:10px}

/* v1.6: header row with the About link, colours, popups */
.sepg .sepg-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.sepg .sepg-colhead{display:flex;justify-content:space-between;align-items:baseline}
.sepg .sepg-small{font-size:13px}
.sepg .sepg-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;margin-top:10px}
.sepg .sepg-sw{display:flex;align-items:center;gap:8px;font-size:13px;margin:0;cursor:pointer;min-width:0}
.sepg .sepg-sw span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sepg .sepg-sw input[type=color]{flex:none;width:34px;height:28px;padding:2px;margin:0;border:1px solid #cfc6bd;border-radius:6px;background:#fff;cursor:pointer}
@container (max-width:420px){ .sepg .sepg-swatches{grid-template-columns:repeat(2,minmax(0,1fr))} }
.sepg .sepg-about-box{max-width:600px;text-align:left;max-height:90vh;overflow-y:auto}
.sepg .sepg-about-box p{font-size:15px;color:var(--sepg-ink);margin:0 0 12px}
.sepg .sepg-about-box a{color:var(--sepg-red)}
.sepg .sepg-about-box .sepg-actions{justify-content:flex-end;margin-top:6px}
.sepg .sepg-illus-box{max-width:min(760px,96vw);padding:18px;max-height:96vh;display:flex;flex-direction:column}
.sepg .sepg-illus-wrap{flex:1;min-height:0;overflow:auto;background:#f6f3ee;border-radius:6px;display:flex;align-items:center;justify-content:center;min-height:200px}
.sepg .sepg-illus-wrap img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;box-shadow:0 1px 6px rgba(0,0,0,.14)}
.sepg .sepg-illus-box .sepg-fine{margin:10px 0 12px !important}

/* reminder after changing a ready-made set */
.sepg .sepg-setnote{margin:8px 0 4px;padding:10px 12px;border:1px solid #e8c48f;border-left:4px solid #d9962b;background:#fff8ec;border-radius:8px}
.sepg .sepg-setnote[hidden]{display:none}
.sepg .sepg-setnote p{margin:0 0 6px;font-size:14px}
.sepg .sepg-setnote .sepg-actions{gap:16px}
.sepg input.sepg-text.sepg-attn{border-color:#d9962b;box-shadow:0 0 0 3px rgba(217,150,43,.18)}

/* "Life size" checkbox under Paper size */
.sepg label.sepg-check{display:flex;align-items:flex-start;gap:9px;margin:10px 0 0;font-size:14px;line-height:1.35;color:var(--sepg-muted);cursor:pointer}
.sepg label.sepg-check strong{color:var(--sepg-ink);font-weight:600}
.sepg label.sepg-check input[type=checkbox]{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--sepg-red)}

/* v1.6.3: terms note and copyright line */
.sepg .sepg-terms-note{margin:10px 0 0 !important}
.sepg .sepg-link.sepg-inline{font-size:inherit;font-weight:600}
.sepg .sepg-about-box .sepg-copy{font-size:13px;color:var(--sepg-muted)}

/* v1.6.3: paired download */
.sepg .sepg-pair{color:var(--sepg-ink) !important;font-size:14px}

/* v1.6.8: mounting sheet mode (with a tooltip), "Your download" list, download popup with progress bars */
.sepg label.sepg-check.sepg-off{opacity:.55;cursor:default}
.sepg .sepg-tipwrap{position:relative}
.sepg .sepg-tip{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;padding:10px 12px;background:#2b2a28;color:#fff;
  border-radius:8px;font-size:13px;line-height:1.4;box-shadow:0 6px 20px rgba(0,0,0,.2)}
.sepg .sepg-tip::before{content:"";position:absolute;top:-6px;left:22px;border:6px solid transparent;border-top:0;border-bottom-color:#2b2a28}
.sepg .sepg-tipwrap:hover .sepg-tip,.sepg .sepg-tipwrap:focus-within .sepg-tip{display:block}
.sepg .sepg-tip .sepg-link{color:#ffb3ba}
.sepg .sepg-preview-actions{margin-bottom:14px}
.sepg .sepg-dlbox{border:1px solid var(--sepg-line);border-radius:10px;padding:14px 16px;background:#fcfaf7}
.sepg h3.sepg-h3{margin:0 0 8px;font-size:17px;line-height:1.3}
.sepg ul.sepg-items{list-style:none;margin:0 0 6px;padding:0}
.sepg .sepg-items li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0;padding:8px 0;border-bottom:1px solid var(--sepg-line)}
.sepg .sepg-items li::before,.sepg .sepg-items li::marker{content:none}
.sepg .sepg-items label{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer;min-width:0;flex:1}
.sepg .sepg-items input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--sepg-red)}
.sepg .sepg-it{display:flex;flex-direction:column;min-width:0}
.sepg .sepg-it-name{font-weight:600;font-size:15px;line-height:1.3}
.sepg .sepg-it-sub{font-size:13px;color:var(--sepg-muted);line-height:1.35}
.sepg .sepg-price{flex:none;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;padding-top:1px}
.sepg .sepg-items li.sepg-subitem{padding-left:28px}
.sepg .sepg-items li.sepg-subitem .sepg-it-name{font-weight:500;font-size:14px}
.sepg .sepg-items li.sepg-off{opacity:.5}
.sepg .sepg-items li.sepg-off label{cursor:default}
.sepg .sepg-total{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;font-size:17px;margin:10px 0 2px}
.sepg .sepg-total-note{margin:0 0 12px !important}
.sepg ul.sepg-dlfiles{list-style:none;margin:0 0 4px;padding:0;text-align:left}
.sepg .sepg-dlfiles li{margin:0 0 10px;padding:12px;border:1px solid var(--sepg-line);border-radius:8px}
.sepg .sepg-dlfiles li::before,.sepg .sepg-dlfiles li::marker{content:none}
.sepg .sepg-dlrow{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sepg .sepg-dlfiles .sepg-btn{padding:9px 16px;font-size:14px;flex:none}
.sepg .sepg-dlfiles progress{display:block;width:100%;height:8px;margin:10px 0 4px;accent-color:var(--sepg-red)}
.sepg .sepg-dlfiles progress[hidden]{display:none}
.sepg .sepg-dlstat{font-size:13px;color:var(--sepg-muted);min-height:1em}

/* 1.9.0 printed posters */
.sepg .sepg-modes{display:flex;gap:4px;margin:18px 0 0;border-bottom:1px solid var(--sepg-line)}
.sepg .sepg-modes[hidden]{display:none}
.sepg .sepg-mode{all:unset;cursor:pointer;padding:9px 14px;font-size:15px;font-weight:600;color:var(--sepg-muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.sepg .sepg-mode[aria-selected=true]{color:var(--sepg-red);border-bottom-color:var(--sepg-red)}
.sepg .sepg-mode:focus-visible{outline:2px solid var(--sepg-red);outline-offset:2px}
.sepg .sepg-dlbox[hidden]{display:none}
.sepg .sepg-testnote{background:#fff6e0;border:1px solid #ecd9a6;border-radius:8px;padding:9px 12px;font-size:14px;margin:0 0 12px}
.sepg .sepg-testnote[hidden]{display:none}
.sepg .sepg-prline{font-size:15px;margin:10px 0 4px}
.sepg .sepg-printbox .sepg-check{margin:10px 0}
.sepg .sepg-printbox .sepg-check[hidden]{display:none}
.sepg .sepg-warnbox{background:#fbf3f3;border:1px solid #e8c9cc;border-radius:8px;padding:10px 12px;margin:4px 0 10px}
.sepg .sepg-warnbox[hidden]{display:none}
.sepg .sepg-warnbox p{font-size:14px;margin:0 0 8px}
.sepg .sepg-agree{border-top:1px solid var(--sepg-line);margin-top:12px;padding-top:4px}
.sepg .sepg-agree a{color:var(--sepg-red)}
.sepg .sepg-pr-kind input[type=radio]{width:18px;height:18px;margin:0;flex:none;accent-color:var(--sepg-red)}
/* 1.9.1: settings changed for printing */
.sepg select.sepg-select.sepg-attn{border-color:var(--sepg-red);box-shadow:0 0 0 3px rgba(190,30,45,.18)}
.sepg label.sepg-check.sepg-attn{outline:2px solid var(--sepg-red);outline-offset:4px;border-radius:4px}
.sepg .sepg-changed{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;background:#fbf3f3;border:1px solid #e8c9cc;border-radius:8px;padding:8px 10px;margin:8px 0 0}
.sepg .sepg-changed[hidden]{display:none}
.sepg .sepg-changed p{font-size:14px;margin:0}
.sepg select.sepg-select option:disabled{color:#aaa}
/* 1.10.3: the "?" beside Layout, with its tooltip */
.sepg .sepg-qmark{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:4px;border-radius:50%;border:1px solid currentColor;font-size:11px;line-height:1;font-weight:600;opacity:.65;cursor:help;vertical-align:1px}
.sepg .sepg-lbl-tip .sepg-lbl{cursor:help}
/* 1.10.9: sorting the sets and the egg list */
.sepg .sepg-lblrow{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.sepg .sepg-sortlbl{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--sepg-muted);margin:12px 0 5px}
.sepg .sepg-select.sepg-select-sm{width:auto;padding:3px 26px 3px 8px;font-size:12px;min-height:0}
.sepg .sepg-setlist li.sepg-sethead{cursor:default;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sepg-muted);padding:10px 12px 4px;background:none}
.sepg .sepg-setlist li.sepg-sethead:hover{background:none}
.sepg .sepg-scty{color:var(--sepg-muted)}
.sepg .sepg-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
/* 1.10.9: the way into printed posters, under the Download button */
.sepg .sepg-goprint{margin-top:14px;padding-top:14px;border-top:1px solid var(--sepg-line,#e4ddd2);text-align:center}
.sepg .sepg-goprint[hidden]{display:none}
.sepg .sepg-goprint .sepg-btn{width:100%}
.sepg .sepg-goprint .sepg-fine{margin:8px 0 0}
/* 1.10.9: where the ready-made sets come from */
.sepg .sepg-lbl.sepg-inline-lbl{display:inline-block;margin-right:8px}
.sepg .sepg-src-box{max-width:720px}
.sepg .sepg-src-list h4{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sepg-muted);margin:18px 0 6px;padding-bottom:4px;border-bottom:1px solid var(--sepg-line)}
.sepg .sepg-src{margin:0 0 12px}
.sepg .sepg-about-box .sepg-src p{margin:0 0 3px;font-size:14px}
.sepg .sepg-src-t{font-weight:600}
.sepg .sepg-src-t span{font-weight:400;color:var(--sepg-muted)}
.sepg .sepg-src-sel{font-style:normal;font-weight:400;font-size:12px;color:var(--sepg-muted);border:1px solid var(--sepg-line);border-radius:10px;padding:1px 7px;margin-left:4px}
.sepg .sepg-about-box .sepg-src p.sepg-src-m{color:var(--sepg-muted)}
.sepg .sepg-src ul{margin:2px 0 0 18px;padding:0;font-size:13px;color:var(--sepg-ink)}
.sepg .sepg-src li{margin:0 0 2px}

/* 1.10.10 key text size */
.sepg-hint{font-size:12.5px;color:#6b6b6b;margin:4px 0 12px;line-height:1.4}
.sepg-hint.sepg-warn{color:#a03a1c;font-weight:600}

/* ---------- 1.11.0 redesign: three steps (Choose eggs · Design · Download or print) beside a sticky preview ---------- */
.sepg.sepg-v2 .sepg-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.sepg.sepg-v2 .sepg-steps{display:flex;gap:6px;flex-wrap:wrap;background:#f6f2ec;border:1px solid var(--sepg-line);border-radius:12px;padding:5px}
.sepg.sepg-v2 .sepg-step-tab{all:unset;cursor:pointer;display:flex;align-items:center;gap:9px;padding:9px 16px 9px 10px;border-radius:9px;font-size:15px;font-weight:600;color:var(--sepg-muted)}
.sepg.sepg-v2 .sepg-step-tab:hover{color:var(--sepg-ink)}
.sepg.sepg-v2 .sepg-step-tab:focus-visible{outline:2px solid var(--sepg-red);outline-offset:1px}
.sepg.sepg-v2 .sepg-step-tab[aria-selected=true]{background:#fff;color:var(--sepg-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.sepg.sepg-v2 .sepg-step-n{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e4ddd6;color:#5c5850;font-size:13px}
.sepg.sepg-v2 .sepg-step-tab[aria-selected=true] .sepg-step-n{background:var(--sepg-red);color:#fff}
.sepg.sepg-v2 .sepg-step-c{font-weight:500;color:var(--sepg-muted);font-size:13.5px}
.sepg.sepg-v2 h3.sepg-sub{font-size:15px;font-weight:700;margin:22px 0 2px;padding-top:16px;border-top:1px solid var(--sepg-line)}
.sepg.sepg-v2 h2.sepg-h + h3.sepg-sub{border-top:0;padding-top:0;margin-top:8px}
.sepg.sepg-v2 .sepg-next{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--sepg-line)}
.sepg.sepg-v2 .sepg-next .sepg-btn:only-child{margin-left:auto}
.sepg.sepg-v2 .sepg-step[hidden]{display:none}
/* the illustrated/silhouette switch sits under the preview */
.sepg.sepg-v2 .sepg-preview-actions{margin-top:12px}
/* the egg list may be taller now that it has the column to itself */
@container (min-width:960px){
  .sepg.sepg-v2 .sepg-list{max-height:min(62vh,640px)}
  .sepg.sepg-v2 .sepg-grid{grid-template-columns:minmax(360px,1fr) minmax(0,1.3fr)}
}
@container (max-width:959px){
  /* phones and narrow pages: the preview first, then the step you're on */
  .sepg.sepg-v2 .sepg-preview-card{order:-1}
  .sepg.sepg-v2 .sepg-step-tab{padding:8px 10px 8px 8px;font-size:14px}
  .sepg.sepg-v2 .sepg-steps{width:100%;justify-content:space-between}
}
.sepg.sepg-v2 .sepg-twocol{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.sepg.sepg-v2 .sepg-twocol>div{min-width:0}
@container (max-width:520px){.sepg.sepg-v2 .sepg-twocol{grid-template-columns:1fr}}
.sepg.sepg-v2 .sepg-short{display:none}
@container (max-width:560px){
  .sepg.sepg-v2 .sepg-long{display:none} .sepg.sepg-v2 .sepg-short{display:inline}
  .sepg.sepg-v2 .sepg-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
  .sepg.sepg-v2 .sepg-step-tab{justify-content:center;padding:8px 6px;gap:6px}
  .sepg.sepg-v2 .sepg-bar{flex-direction:column;align-items:stretch}
  .sepg.sepg-v2 .sepg-bar>.sepg-link{align-self:flex-end}
}
.sepg.sepg-v2 .sepg-step-t{white-space:nowrap}

/* 1.11.3: egg-shaped loading circle over the preview while the illustrated eggs are drawn (step 3) */
.sepg .sepg-canvas-wrap{position:relative}
.sepg .sepg-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:18px 26px 16px;background:rgba(255,255,255,.88);border:1px solid var(--sepg-line);border-radius:14px;box-shadow:0 4px 18px rgba(0,0,0,.08);
  color:var(--sepg-ink);font-size:15px;font-weight:600;letter-spacing:.02em;pointer-events:none}
.sepg .sepg-loading[hidden]{display:none}
/* 1.19.7: only transforms are animated (the browser runs them apart from the page's own work, so they stay smooth while the
   eggs are being drawn): the red dash is a turning conic gradient seen through an egg-shaped ring mask */
.sepg .sepg-eggspin{position:relative;width:40px;height:52px;animation:sepg-wobble 2.4s ease-in-out infinite;transform-origin:50% 70%;will-change:transform}
.sepg .sepg-eggspin svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sepg .sepg-eggspin path{fill:none;stroke-width:3.2;stroke-linecap:round}
.sepg .sepg-egg-track{stroke:#e4ddd6}
.sepg .sepg-egg-run{position:absolute;inset:0;overflow:hidden;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M20 3C29.5 3 36.5 18 36.5 31C36.5 42.5 29 49.5 20 49.5C11 49.5 3.5 42.5 3.5 31C3.5 18 10.5 3 20 3Z' fill='none' stroke='%23fff' stroke-width='3.2'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M20 3C29.5 3 36.5 18 36.5 31C36.5 42.5 29 49.5 20 49.5C11 49.5 3.5 42.5 3.5 31C3.5 18 10.5 3 20 3Z' fill='none' stroke='%23fff' stroke-width='3.2'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.sepg .sepg-egg-run i{position:absolute;left:50%;top:54%;width:80px;height:80px;margin:-40px 0 0 -40px;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(190,30,45,0) 0deg 250deg,var(--sepg-red) 335deg 358deg,rgba(190,30,45,0) 359deg);animation:sepg-eggturn 1.1s linear infinite;will-change:transform}
@keyframes sepg-eggturn{to{transform:rotate(360deg)}}
@keyframes sepg-wobble{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@media (prefers-reduced-motion:reduce){.sepg .sepg-eggspin,.sepg .sepg-egg-run i{animation:none}.sepg .sepg-egg-run{display:none}.sepg .sepg-egg-track{stroke:#cfc6bd}}

/* 1.11.4: "+ Add" on a ready-made set combines it with the eggs already chosen */
.sepg .sepg-setlist li[role=option]{position:relative}
.sepg .sepg-setadd{all:unset;cursor:pointer;float:right;margin:2px 0 4px 10px;padding:3px 10px;border:1px solid var(--sepg-red);border-radius:999px;color:var(--sepg-red);font-size:13px;font-weight:600;background:#fff}
.sepg .sepg-setadd:hover{background:var(--sepg-red);color:#fff}
/* 1.12.0: egg files only at life size; mounting style */
.sepg .sepg-items li.sepg-nolife input,.sepg .sepg-items li.sepg-nolife .sepg-it-name,.sepg .sepg-items li.sepg-nolife .sepg-it-sub:not(.sepg-warn),.sepg .sepg-items li.sepg-nolife .sepg-price{opacity:.5}
.sepg .sepg-items li.sepg-nolife label{cursor:default}
.sepg .sepg-items .sepg-it-sub.sepg-warn{display:block;margin-top:4px}
.sepg .sepg-subfield{margin:-2px 0 12px 28px}
.sepg .sepg-items .sepg-it-sub.sepg-warn{color:#a03a1c;font-weight:600}
.sepg .sepg-items .sepg-it-sub.sepg-warn[hidden],.sepg .sepg-subfield[hidden]{display:none}
/* 1.12.1: the life-size note is a note, not a warning */
.sepg .sepg-items .sepg-it-sub.sepg-note{display:block;margin-top:4px;color:#7a5a12;font-weight:500}
.sepg .sepg-items .sepg-it-sub.sepg-note[hidden]{display:none}
/* 1.12.3: what comes with a printed mounting sheet */
.sepg .sepg-prIncl{background:#f3f7ef;border:1px solid #cfdcc4;border-radius:8px;padding:8px 12px;font-size:14px}
.sepg .sepg-prIncl[hidden]{display:none}
/* 1.12.4: mounting style cards with diagrams */
.sepg .sepg-mbcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px;
  --mb-board:#d9d2c3;--mb-sheet:#8f8b84;--mb-egg:#bfdcd8;--mb-line:#4a6e6a;--mb-num:#2f4744;--mb-pin:#55504a}
.sepg .sepg-mbcard{position:relative;display:flex;flex-direction:column;gap:3px;border:1.5px solid #ddd5c8;border-radius:10px;padding:8px 8px 10px;cursor:pointer;background:#fff;font-size:13px;line-height:1.35}
.sepg .sepg-mbcard input{position:absolute;opacity:0;pointer-events:none}
.sepg .sepg-mbcard:has(input:checked){border-color:#b5202e;box-shadow:0 0 0 2px rgba(181,32,46,.15)}
.sepg .sepg-mbcard:has(input:focus-visible){outline:2px solid #b5202e;outline-offset:2px}
.sepg .sepg-mbsvg{width:100%;height:auto;display:block}
.sepg .sepg-mbname{font-weight:600;font-size:14px}
.sepg .sepg-mbsub{color:#6b655d}
.sepg .sepg-items li.sepg-locked input{cursor:default}
@media (max-width:520px){.sepg .sepg-mbcards{grid-template-columns:1fr}.sepg .sepg-mbcard{display:grid;grid-template-columns:110px 1fr;column-gap:10px}.sepg .sepg-mbsvg{grid-row:1/3}}
.sepg .sepg-aboutlist{margin:4px 0 10px 20px;padding:0}
.sepg .sepg-aboutlist li{margin:0 0 6px}

/* 1.16.2: advanced settings (egg spacing, key row spacing) */
.sepg .sepg-adv{border:1px solid var(--sepg-line, #ddd);border-radius:8px;padding:8px 10px;margin:6px 0 4px}
.sepg .sepg-adv[hidden]{display:none}
.sepg .sepg-adv input[type=range]{width:100%}
.sepg .sepg-adv output{float:right;font-weight:500}
.sepg .sepg-advchk{margin-top:12px}

/* 1.18.0: "New idea" beside the Pre-title label */
.sepg .sepg-kickhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.sepg .sepg-kickhead .sepg-lbl{margin-bottom:0}

/* 1.21.0: "Copy a link to this poster" */
.sepg .sepg-share{margin:14px 0 4px}
.sepg .sepg-share .sepg-fine{margin-top:6px}
.sepg .sepg-linkOut{display:block;width:100%;margin-top:6px;font-size:12px}
