.sgprag-notice{border-radius:18px;padding:18px 22px;margin:18px 0;font-size:16px}.sgprag-notice--success{background:#eef8ef;border:1px solid #b7dfbd;color:#137333}.sgprag-notice--locked{background:#fff4f2;border:1px solid #f2bab3;color:#8a1c12}.sgprag-status-box{background:#fff;border:1px solid #eadfd9;border-radius:18px;padding:18px;margin:18px 0}.sgprag-moodboard{background:#fff;border:1px solid #eadfd9;border-radius:24px;padding:28px;margin:24px 0;box-shadow:0 12px 30px rgba(17,17,17,.045)}.sgprag-moodboard__title{font-size:28px;line-height:1.2;margin:0 0 22px;color:#111}.sgprag-moodboard__grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:18px}.sgprag-moodboard__grid--all{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.sgprag-icon-card{border:1px solid #f0e4df;border-radius:20px;padding:18px;text-align:center;background:#faf7f5}.sgprag-icon-card__image{width:92px;height:92px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center}.sgprag-icon-card__image img{max-width:100%;max-height:100%;height:auto;display:block}.sgprag-icon-card__heading{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#777;margin-bottom:5px}.sgprag-icon-card__name{font-size:15px;font-weight:700;color:#111}.sgprag-icon-card__code{font-size:12px;color:#777;margin-top:5px}.sgprag-moodboard__all-energy{margin-top:26px;padding-top:22px;border-top:1px solid #f0e4df}.sgprag-moodboard__all-energy h3{margin:0 0 16px}.sgprag-moodboard--compact{padding:18px}.sgprag-moodboard--compact .sgprag-moodboard__grid{display:flex;flex-wrap:wrap;gap:12px}.sgprag-moodboard--compact .sgprag-icon-card{display:flex;align-items:center;text-align:left;gap:10px;padding:12px 14px}.sgprag-moodboard--compact .sgprag-icon-card__image{width:42px;height:42px;margin:0}.sgprag-deny{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center;padding:40px}@media(max-width:760px){.sgprag-moodboard__grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.sgprag-moodboard{padding:20px}}@media(max-width:420px){.sgprag-moodboard__grid{grid-template-columns:1fr}}


/* SG Profile Receiver v1.0.5: original moodboard layout preserved; popup is icon-triggered modal only */
.sgprag-icon-card--has-popup{cursor:pointer}
.sgprag-icon-card--has-popup:focus{outline:2px solid #ed2024;outline-offset:4px}
.sgprag-icon-popup{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(0,0,0,.72);box-sizing:border-box}
.sgprag-icon-popup.is-open{display:flex}
.sgprag-icon-popup__panel{position:relative;width:min(760px,94vw);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:34px 28px 28px;box-shadow:0 18px 44px rgba(0,0,0,.28);text-align:center;box-sizing:border-box}
.sgprag-icon-popup__close{position:absolute;top:10px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#ed2024;color:#fff;font-size:30px;line-height:1;cursor:pointer;padding:0}
.sgprag-icon-popup__image{width:110px;height:110px;object-fit:contain;display:block;margin:0 auto 18px}
.sgprag-icon-popup__panel h2{margin:0 0 14px;font-size:34px;line-height:1.1}
.sgprag-icon-popup__text{text-align:left;font-size:17px;line-height:1.55}
body.sgprag-modal-open{overflow:hidden}
@media(max-width:767px){.sgprag-icon-popup{padding:0;align-items:stretch;justify-content:stretch}.sgprag-icon-popup__panel{width:100vw;min-height:100dvh;max-height:none;border-radius:0;padding:58px 20px 26px}.sgprag-icon-popup__panel h2{font-size:30px}.sgprag-icon-popup__text{font-size:16px}}


/* SG Profile Receiver v1.0.7: readable popup typography and preserved editor line breaks */
.sgprag-icon-popup__text p{margin:0 0 1.05em}
.sgprag-icon-popup__text p:last-child{margin-bottom:0}
.sgprag-icon-popup__text br{display:block;content:"";margin-top:.45em}
.sgprag-icon-popup__text ul,.sgprag-icon-popup__text ol{margin:.9em 0 1.1em 1.35em;padding:0}
.sgprag-icon-popup__text li{margin:.35em 0}
.sgprag-icon-popup__text strong,.sgprag-icon-popup__text b{font-weight:700}
.sgprag-icon-popup__text h1,.sgprag-icon-popup__text h2,.sgprag-icon-popup__text h3,.sgprag-icon-popup__text h4{margin:1.15em 0 .55em;line-height:1.2}
.sgprag-icon-popup__text h1:first-child,.sgprag-icon-popup__text h2:first-child,.sgprag-icon-popup__text h3:first-child,.sgprag-icon-popup__text h4:first-child{margin-top:0}
