.stm-offer,.stm-offer *{box-sizing:border-box}
.stm-offer[hidden],.stm-offer [hidden]{display:none!important}
body.stm-offer-locked{overflow:hidden!important}
.stm-offer{position:fixed;inset:0;z-index:9999999;display:flex;align-items:center;justify-content:center;padding:24px;font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182b23;text-align:left;line-height:1.5}
.stm-offer-backdrop{position:absolute;inset:0;background:#071c16b8;backdrop-filter:blur(7px)}
.stm-offer-dialog{position:relative;display:grid;grid-template-columns:40% 60%;width:min(800px,100%);max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 32px 100px #0005;isolation:isolate;animation:stmOfferIn .25s ease-out}
.stm-offer .stm-offer-close{position:absolute;right:14px;top:14px;z-index:3;display:grid;place-items:center;width:34px;height:34px;padding:8px;background:#f0f3f0;color:#243b30;border:1px solid #dfe6e0;border-radius:50%;cursor:pointer;box-shadow:none}
.stm-offer .stm-offer-close:hover{background:#dfe6e0;color:#152a20;border-color:#cbd5cf}
.stm-offer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.stm-offer-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:90px;min-height:480px;overflow:hidden;background:radial-gradient(ellipse at 80% 20%,#3e6754 0,transparent 65%),#122f24;padding:30px;color:#fff}
.stm-offer-visual img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.stm-offer-visual.has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0b251c85,transparent 35%,#0b251ce6)}
.stm-offer-brand,.stm-offer-visual-note{position:relative;z-index:1}
.stm-offer-brand{font-size:12px;font-weight:800;letter-spacing:1.8px}
.stm-offer-brand span{display:block;font-size:8px;letter-spacing:1.3px;opacity:.8;margin-top:6px}
.stm-offer-pill{display:inline-flex;border:1px solid #ffffff50;background:#ffffff10;border-radius:30px;padding:7px 10px;font-size:9px;letter-spacing:1.1px;font-weight:700}
.stm-offer .stm-offer-visual-note p{font-size:27px;line-height:1.25;letter-spacing:-.8px;font-weight:600;color:#fff;margin:18px 0}
.stm-offer-rule{display:block;width:40px;height:3px;background:#ff9a5c;border-radius:3px}
.stm-offer-body{padding:44px 36px 32px;min-width:0;align-self:center}
.stm-offer-eyebrow{display:block;font-size:9px;font-weight:800;letter-spacing:1.6px;color:#a34311;margin-bottom:12px}
.stm-offer .stm-offer-intro h2{font-family:inherit;font-size:30px;line-height:1.15;font-weight:750;letter-spacing:-1px;color:#172e23;margin:0 0 14px;overflow-wrap:anywhere}
.stm-offer .stm-offer-intro p{font-size:13px;line-height:1.7;color:#69736d;margin:0 0 24px}
.stm-offer-form{display:grid;gap:14px;margin:0}
.stm-offer .stm-offer-form label{display:grid;gap:6px;color:#33473b;font-size:11px;font-weight:650;margin:0}
.stm-offer-form label>.stm-offer-label{color:#33473b}
.stm-offer-form .stm-offer-label em{color:#b34b16;font-style:normal}
.stm-offer-form label small{font-size:10px;font-weight:400;color:#879289}
.stm-offer .stm-offer-form input:not([type=hidden]),.stm-offer .stm-offer-form textarea{width:100%;min-width:0;background:#f8faf7;color:#182e22;border:1px solid #dde5dd;border-radius:9px;font:400 13px/1.5 inherit;font-family:inherit;font-size:13px;line-height:1.5;padding:11px 12px;margin:0;box-shadow:none}
.stm-offer .stm-offer-form input:focus,.stm-offer .stm-offer-form textarea:focus{outline:2px solid #d8753c55;outline-offset:1px;border-color:#b96534;background:#fff}
.stm-offer .stm-offer-form input::placeholder,.stm-offer .stm-offer-form textarea::placeholder{color:#929b95;opacity:1}
.stm-offer .stm-offer-submit,.stm-offer .stm-offer-gift{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 16px;border:1px solid #b24912;border-radius:9px;background:#b84b14;color:#fff;font:650 13px/1.4 inherit;font-family:inherit;font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;box-shadow:0 4px 10px #b84b141a;cursor:pointer;margin:2px 0 0}
.stm-offer .stm-offer-submit:hover,.stm-offer .stm-offer-gift:hover{background:#963b0c;color:#fff;border-color:#963b0c}
.stm-offer .stm-offer-submit:disabled{opacity:.65;cursor:wait}
.stm-offer .stm-offer-fine{font-size:10px;line-height:1.6;color:#8a938d;margin:0;text-align:center}
.stm-offer .stm-offer-error{margin:0;padding:10px;background:#fff1ec;color:#a13519;border-radius:6px;font-size:12px}
.stm-offer-honey{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.stm-offer-success{padding-top:8px}
.stm-offer-check{display:grid;place-items:center;width:44px;height:44px;background:#e9f3e8;color:#2a6840;border-radius:50%;font-size:22px;margin:0 0 18px}
.stm-offer .stm-offer-success h3{font-size:24px;line-height:1.2;color:#173725;margin:0 0 12px;letter-spacing:-.5px;font-family:inherit}
.stm-offer .stm-offer-success p{font-size:13px;color:#667267;line-height:1.7;margin:0 0 20px;overflow-wrap:anywhere}
.stm-offer-gift-note{display:block;font-size:10px;color:#7c8980;margin-top:10px}
.stm-offer .stm-offer-done{display:block;font:inherit;font-size:12px;color:#476252;padding:6px 0;background:none;border:0;text-decoration:underline;cursor:pointer;margin-top:20px}
.stm-offer button:focus-visible,.stm-offer a:focus-visible{outline:2px solid #dd905f;outline-offset:3px}
@keyframes stmOfferIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.stm-offer{padding:16px}.stm-offer-dialog{display:block;width:min(420px,100%);max-height:calc(100dvh - 32px);border-radius:16px}.stm-offer-visual{min-height:150px;height:150px;padding:22px;gap:0}.stm-offer-visual-note{display:none}.stm-offer-brand{font-size:11px;margin-top:auto}.stm-offer-visual.has-image:after{background:linear-gradient(180deg,transparent,#0b251caa)}.stm-offer-body{padding:27px 24px 24px}.stm-offer .stm-offer-intro h2{font-size:27px}.stm-offer .stm-offer-close{background:#ffffffed;border-color:#fff8;right:12px;top:12px}.stm-offer .stm-offer-intro p{margin-bottom:20px}}

/* Neutral Tutor LMS styling: the uploaded campaign image remains the visual
 * focus while controls use Tutor's familiar primary blue. */
.stm-offer{color:#212327}
.stm-offer-backdrop{background:#1f2430b8}
.stm-offer .stm-offer-close{background:#f4f5f7;color:#41454f;border-color:#dcdfe5}
.stm-offer .stm-offer-close:hover{background:#e8eaf0;color:#212327;border-color:#c9cdd5}
.stm-offer-visual{background:linear-gradient(145deg,#3e64de,#2749b4);color:#fff}
.stm-offer-visual.has-image:after{background:linear-gradient(180deg,#1d2a535c,transparent 40%,#18234bbf)}
.stm-offer-rule{background:#fff}
.stm-offer-eyebrow{color:#3e64de}
.stm-offer .stm-offer-intro h2{color:#212327}
.stm-offer .stm-offer-form label,.stm-offer-form label>.stm-offer-label{color:#41454f}
.stm-offer-form .stm-offer-label em{color:#e53935}
.stm-offer .stm-offer-form input:not([type=hidden]),.stm-offer .stm-offer-form textarea{background:#fff;color:#212327;border-color:#dcdfe5}
.stm-offer .stm-offer-form input:focus,.stm-offer .stm-offer-form textarea:focus{outline-color:#3e64de40;border-color:#3e64de}
.stm-offer .stm-offer-submit,.stm-offer .stm-offer-gift{background:#3e64de;border-color:#3e64de;box-shadow:0 4px 12px #3e64de24}
.stm-offer .stm-offer-submit:hover,.stm-offer .stm-offer-gift:hover{background:#2f4fc0;border-color:#2f4fc0}
.stm-offer-check{background:#e8f7ef;color:#23834d}
.stm-offer .stm-offer-success h3{color:#212327}
.stm-offer .stm-offer-done{color:#3e64de}
.stm-offer button:focus-visible,.stm-offer a:focus-visible{outline-color:#3e64de}
@media(max-width:600px){.stm-offer-visual.has-image:after{background:linear-gradient(180deg,transparent,#18234bb0)}}
@media(prefers-reduced-motion:reduce){.stm-offer-dialog{animation:none}}
