.mghl-trial{border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:14px 16px;margin:0 0 18px}
.mghl-trial h4{margin:0 0 8px}
.mghl-form label{display:inline-block;margin-right:6px}
.mghl-form input[type=text]{width:12em;max-width:100%}
.mghl-msg{display:block;margin-top:6px;font-size:.92em}
.mghl-flash{font-weight:600}
.mghl-steps{font-size:.92em;margin:6px 0 0 1.2em}
.mghl-change{margin-top:8px}
.mghl-notice{padding:10px 16px;margin:10px auto;max-width:1100px;border-radius:6px}
.mghl-ok{background:#e7f6ec;color:#155d2a}.mghl-err{background:#fdecea;color:#8a1c12}
/* 0.5.1: trial buttons in the style of the old "Download Demo" button (black, gold border, turning gold light) */
.mghl-trial .button.mghl-btn,.mghl-lt .button.mghl-btn,.mghl-lt-terms .button.mghl-btn{position:relative;display:inline-block;padding:10px 24px;background:#0d0d0d;color:#ffd700;font-weight:700;font-family:inherit;font-size:1em;text-transform:none;letter-spacing:normal;border:1px solid #d4af37;border-radius:8px;cursor:pointer;overflow:hidden;z-index:1;line-height:1.4;text-decoration:none;transition:transform .2s,box-shadow .2s,color .2s}
.mghl-trial .button.mghl-btn::before,.mghl-lt .button.mghl-btn::before,.mghl-lt-terms .button.mghl-btn::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:conic-gradient(transparent,#ffd700,transparent 30%);animation:mghl-glow 5s linear infinite;z-index:-2}
.mghl-trial .button.mghl-btn::after,.mghl-lt .button.mghl-btn::after,.mghl-lt-terms .button.mghl-btn::after{content:'';position:absolute;inset:2px;background:#0d0d0d;border-radius:6px;z-index:-1}
.mghl-trial .button.mghl-btn:hover,.mghl-lt .button.mghl-btn:hover,.mghl-lt-terms .button.mghl-btn:hover,.mghl-trial .button.mghl-btn:focus-visible,.mghl-lt .button.mghl-btn:focus-visible,.mghl-lt-terms .button.mghl-btn:focus-visible{transform:scale(1.03);box-shadow:0 0 15px rgba(212,175,55,.5);color:#fff;background:#0d0d0d}
.mghl-trial .button.mghl-btn:disabled,.mghl-lt .button.mghl-btn:disabled,.mghl-lt-terms .button.mghl-btn:disabled{opacity:.6;cursor:wait;transform:none}
@keyframes mghl-glow{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.mghl-trial .button.mghl-btn::before,.mghl-lt .button.mghl-btn::before,.mghl-lt-terms .button.mghl-btn::before{animation:none}.mghl-trial .button.mghl-btn,.mghl-lt .button.mghl-btn,.mghl-lt-terms .button.mghl-btn{transition:none}}
.mghl-privacy{font-size:.82em;opacity:.8;margin:10px 0 0}
/* 0.6.0 lifetime */
.mghl-lt-terms{border:1px solid rgba(212,175,55,.6);border-radius:8px;padding:12px 16px;margin:14px 0;font-size:.92em}
.mghl-lt-terms p{margin:6px 0 0}
.mghl-lt{border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:14px 16px;margin:0 0 18px;background:#fff;color:#222}
.mghl-lt h4{margin:0 0 8px}
.mghl-lt-form input[type=text]{width:11em;max-width:100%}
.mghl-lt-seller{display:block;margin-top:6px;font-size:.85em;opacity:.85}
/* 0.6.5: lifetime terms as short points (product box + checkout) */
.mghl-lt-box,.mghl-lt-terms{border:1px solid rgba(212,175,55,.55);border-left:4px solid #d4af37;border-radius:8px;padding:12px 14px;margin:14px 0;font-size:.9em;line-height:1.45;background:rgba(212,175,55,.06)}
.mghl-lt-head{display:block;font-size:1.05em;margin:0 0 4px}
.mghl-lt-points{list-style:none;margin:4px 0 8px;padding:0}
.mghl-lt-points li{position:relative;padding-left:1.35em;margin:3px 0}
.mghl-lt-points li::before{content:'\2713';position:absolute;left:0;top:0;color:#b8901f;font-weight:700}
.mghl-lt-box .mghl-lt-accept{margin:8px 0 0;padding:8px 0 0;border-top:1px dashed rgba(127,127,127,.35)}
.mghl-lt-box .mghl-lt-accept label{display:flex;gap:6px;align-items:flex-start;font-weight:600;line-height:1.4}
.mghl-lt-box .mghl-lt-accept input{margin-top:3px;flex:0 0 auto}
.mghl-lt-rule{margin:0 0 8px;opacity:.85}
.mghl-lt-box .mghl-lt-accept label,.mghl-lt-box .mghl-lt-accept label span{line-height:1.45!important}
.mghl-lt-help{background:#fff;color:#222;padding:8px 12px;border-radius:6px}
/* 0.6.9: locked checkout e-mail */
#billing_email[readonly]{background:#f3f4f6;cursor:not-allowed}
/* 0.8.0: plans */
.mghl-plans{margin:10px 0 24px}
.mghl-pl-durs{display:inline-flex;border:1px solid rgba(127,127,127,.35);border-radius:999px;padding:3px;margin:0 0 18px;gap:2px;background:rgba(127,127,127,.06)}
.mghl-pl-dur{border:0;background:transparent;border-radius:999px;padding:7px 16px;cursor:pointer;font-weight:600;color:inherit}
.mghl-pl-dur.on{background:#111;color:#fff}.mghl-pl-save{color:#2e9d57;font-size:.85em;margin-left:4px}.mghl-pl-dur.on .mghl-pl-save{color:#7ee2a0}
.mghl-pl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.mghl-pl-card{position:relative;border:1px solid rgba(127,127,127,.3);border-radius:14px;padding:22px 20px;background:#fff;color:#222;box-shadow:0 2px 10px rgba(0,0,0,.05);display:flex;flex-direction:column}
.mghl-pl-card.best{border:2px solid #d4af37;box-shadow:0 6px 22px rgba(212,175,55,.25)}
.mghl-pl-tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#d4af37;color:#111;font-size:12px;font-weight:700;padding:3px 12px;border-radius:999px;white-space:nowrap}
.mghl-pl-card h3{margin:0 0 8px;font-size:1.35em}
.mghl-pl-price .amt{font-size:2em;font-weight:700}.mghl-pl-price .per{opacity:.7}.mghl-pl-price .pm{display:block;font-size:.85em;opacity:.7}
.mghl-pl-feat{list-style:none;margin:14px 0 10px;padding:0}.mghl-pl-feat li{position:relative;padding-left:1.4em;margin:5px 0;font-size:.95em}
.mghl-pl-feat li::before{content:'\2713';position:absolute;left:0;color:#b8901f;font-weight:700}
.mghl-pl-list{margin:0 0 14px;font-size:.92em}.mghl-pl-list summary{cursor:pointer;color:#2271b1}.mghl-pl-list ul{margin:6px 0 0 18px}
.mghl-pl-cta{margin-top:auto}.mghl-pl-cta .button{display:block;width:100%;box-sizing:border-box;text-align:center}.mghl-pl-na{display:block;text-align:center;opacity:.65;font-size:.9em;padding:8px 0}
.mghl-pl-current,.mghl-pl-small{font-size:.92em;opacity:.85;margin:10px 0}
.mghl-pl-note{margin:8px 0 0;font-weight:600}
.mghl-pl-my{background:#fff;color:#222;border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:14px 16px}
.mghl-pl-head{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.mghl-pl-badge{display:inline-block;background:#d4af37;color:#111;font-weight:700;border-radius:999px;padding:2px 12px}
.mghl-pl-dates{opacity:.8;margin:4px 0}.mghl-pl-bar{height:8px;width:280px;max-width:100%;background:#eee;border-radius:4px;overflow:hidden}.mghl-pl-bar span{display:block;height:100%;background:#2e9d57}
.mghl-pl-tier{font-size:.75em;border:1px solid rgba(127,127,127,.4);border-radius:999px;padding:0 7px;margin-left:4px;opacity:.75}
/* 0.9.0 wallet (My Account > Wallet) */
.mghl-wl-my{background:#fff;color:#222;border:1px solid rgba(127,127,127,.35);border-radius:8px;padding:14px 16px}
.mghl-wl-my h3{margin:18px 0 8px}
.mghl-wl-card{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#0d0d0d,#2a2410);color:#f5f1e3;border:1px solid #d4af37;border-radius:10px;padding:16px 18px}
.mghl-wl-card .mghl-muted{color:#cfc6a6;opacity:1}
.mghl-wl-label{display:block;font-size:.85em;letter-spacing:.04em;text-transform:uppercase;color:#d4af37}
.mghl-wl-amount{display:block;font-size:2em;font-weight:700;line-height:1.2;color:#ffd700}
.mghl-wl-runway{display:block;margin-top:4px;font-size:.9em;color:#e8e2cc}
.mghl-wl-presets{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.mghl-wl-presets label{cursor:pointer}.mghl-wl-presets input{position:absolute;opacity:0;width:1px;height:1px}
.mghl-wl-presets span{display:inline-block;min-width:84px;text-align:center;padding:9px 14px;border:1px solid rgba(127,127,127,.45);border-radius:8px;font-weight:700;background:#fafafa}
.mghl-wl-presets input:checked+span{border-color:#d4af37;background:#fbf3d0;box-shadow:0 0 0 2px rgba(212,175,55,.35)}
.mghl-wl-presets input:focus-visible+span{outline:2px solid #2271b1;outline-offset:2px}
.mghl-wl-other{width:140px}
.mghl-wl-redeem input[type=text]{width:240px;max-width:100%;font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase}
.mghl-wl-note{border-left:4px solid #d4af37;background:#fbf7e9;padding:8px 12px;border-radius:6px;margin:12px 0}
.mghl-wl-note p{margin:4px 0 0}
.mghl-flash-err{color:#b32d2e}
.mghl-neg{color:#b32d2e;font-weight:600}.mghl-pos{color:#1e7a3c;font-weight:600}
.mghl-wl-my .button.mghl-btn,.mghl-pl-my .button.mghl-btn{background:#0d0d0d;color:#ffd700;border:1px solid #d4af37;border-radius:8px;font-weight:700;padding:9px 20px;text-decoration:none}
.mghl-wl-my .button.mghl-btn:hover,.mghl-pl-my .button.mghl-btn:hover{color:#fff;box-shadow:0 2px 10px rgba(212,175,55,.35)}
@media(max-width:600px){.mghl-wl-card{flex-direction:column;align-items:flex-start}.mghl-wl-amount{font-size:1.7em}.mghl-wl-hist{font-size:.9em}.mghl-wl-hist th:nth-child(4),.mghl-wl-hist td:nth-child(4){display:none}.mghl-wl-hist td,.mghl-wl-hist th{padding:6px 4px}}
/* 0.9.1 auto-renew + extra accounts (My plan) */
.mghl-ar-on summary{cursor:pointer;font-weight:600;margin:6px 0}
.mghl-ar-on[open] summary{margin-bottom:8px}
.mghl-ar-form,.mghl-xs-buy{margin:6px 0 10px}
.mghl-xs td{vertical-align:middle}
.mghl-pl-my .button:not(.mghl-btn){padding:7px 14px;border-radius:6px}
/* 0.10.2: hover / focus / active always readable. The theme (Astra) gives every button and .button its own hover colours,
   which made our buttons white-on-white. Every state of every front-end button of the plugin is set here explicitly. */
:is(.mghl-pl-my,.mghl-wl-my,.mghl-plans,.mghl-ss-ty,.mghl-lt,.mghl-lt-terms,.mghl-trial,.mghl-cancel) .button.mghl-btn:is(:hover,:focus,:focus-visible,:active){background:#0d0d0d!important;color:#fff!important;border-color:#d4af37!important;text-decoration:none!important;opacity:1}
:is(.mghl-pl-my,.mghl-wl-my,.mghl-plans,.mghl-ss-ty,.mghl-lt,.mghl-lt-terms,.mghl-trial,.mghl-cancel) .button.mghl-btn:disabled:is(:hover,:focus){background:#0d0d0d!important;color:#ffd700!important;transform:none;box-shadow:none}
:is(.mghl-pl-my,.mghl-wl-my,.mghl-plans,.mghl-ss-ty,.mghl-cancel) .button:not(.mghl-btn){background:#fff;color:#1d2327;border:1px solid #1d2327;border-radius:6px;text-decoration:none}
:is(.mghl-pl-my,.mghl-wl-my,.mghl-plans,.mghl-ss-ty,.mghl-cancel) .button:not(.mghl-btn):is(:hover,:focus,:focus-visible,:active){background:#1d2327!important;color:#fff!important;border-color:#1d2327!important;text-decoration:none!important}
.mghl-pl-dur:is(:hover,:focus,:focus-visible){background:rgba(127,127,127,.18)!important;color:inherit!important}
.mghl-pl-dur.on:is(:hover,:focus,:focus-visible){background:#111!important;color:#fff!important}
.mghl-ss-ty{margin:16px 0;padding:14px 16px;border:1px solid #d4af37;border-radius:8px;background:rgba(212,175,55,.06)}
/* 0.12.0: My Account > Security */
.mghl-sec h3{margin:18px 0 8px;font-size:1.05em}.mghl-sec h3:first-of-type{margin-top:4px}
.mghl-sec table.shop_table{width:100%;font-size:.92em;margin:6px 0 10px}.mghl-sec table.shop_table td,.mghl-sec table.shop_table th{padding:6px 8px}
.mghl-sec .mghl-pl-badge{font-size:.8em;margin-left:6px}
/* 0.13.0: "Confirm it's you" */
.mghl-su{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:99999;padding:16px}
.mghl-su-box{background:#fff;color:#1d2327;border-radius:10px;border-top:4px solid #d4af37;max-width:420px;width:100%;padding:20px 22px;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.mghl-su-box h3{margin:0 0 8px;font-size:1.2em}
.mghl-su-box input{width:100%;font-size:1.4em;letter-spacing:.3em;text-align:center;padding:8px;border:1px solid #c3c4c7;border-radius:6px}
.mghl-su-msg{min-height:1.2em;color:#b32d2e;font-size:.92em;margin:8px 0}
.mghl-su-act{display:flex;gap:8px;flex-wrap:wrap}
.mghl-su-field{margin:10px 0;padding:10px 12px;background:#fbf7e9;border:1px solid #ecd98d;border-radius:6px}
.mghl-su-field input{display:block;margin-top:6px;max-width:180px;letter-spacing:.2em;text-align:center}
.mghl-su-field small{display:block;margin-top:6px;color:#50575e}
