.mgpx-dialog,.mgpx-thankyou,.mgpx-invoice,.mgpx-preview{--mgpx-ink:#24282d;--mgpx-orange:var(--mg-primary,#ff7a12);--mgpx-pale:#fff6ed;--mgpx-line:#e8e9eb;color:var(--mgpx-ink);font-family:inherit;line-height:1.9;box-sizing:border-box}.mgpx-dialog *,.mgpx-thankyou *,.mgpx-invoice *{box-sizing:border-box}.mgpx-dialog{border:1px solid var(--mgpx-line);border-radius:26px;width:min(520px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:34px;text-align:center;background:#fff;box-shadow:0 24px 100px #24282d40}.mgpx-dialog::backdrop{background:#24282d99;backdrop-filter:blur(3px)}.mgpx-dialog:not([open]){display:none}.mgpx-close{position:absolute;inset:10px auto auto 12px;border:0;background:#f6f7f8;color:#667078;border-radius:50%;width:38px;height:38px;cursor:pointer;font:28px/1 inherit;padding:0}.mgpx-success-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;background:#e5f5ed;color:#15804d;border-radius:50%;font:36px/1 sans-serif}.mgpx-eyebrow{font-size:12px;font-weight:700;color:#667078;letter-spacing:0;margin:0 0 5px;display:block}.mgpx-dialog h2,.mgpx-thankyou h2{font-size:25px;line-height:1.6;margin:0 0 10px;color:#24282d}.mgpx-dialog p{margin:10px 0}.mgpx-actions{display:grid;gap:10px;margin:24px 0 14px}.mgpx-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:1px solid #fff0;border-radius:12px;padding:10px 22px;font:inherit;font-size:14px;font-weight:700;text-decoration:none!important;cursor:pointer;line-height:1.8;white-space:normal}.mgpx-primary{background:#c95700!important;color:white!important;border-color:#c95700}.mgpx-primary:hover{background:#ad4b00!important}.mgpx-secondary{background:#f6f7f8!important;color:#24282d!important;border-color:#e8e9eb}.mgpx-button:focus-visible,.mgpx-close:focus-visible,.mgpx-play:focus-visible{outline:3px solid var(--mg-a,#ffa01c);outline-offset:3px}.mgpx-small{color:#667078;font-size:12px;line-height:1.9}.mgpx-thankyou{max-width:1000px;margin:26px auto 32px;display:grid;gap:22px}.mgpx-receipt{border:1px solid #f4ddc9;border-radius:22px;background:linear-gradient(120deg,#fffaf4,#fff);padding:28px}.mgpx-receipt p{margin:8px 0 20px}.mgpx-receipt-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.mgpx-invoice-form{margin:0!important}.mgpx-guide{border:1px solid var(--mgpx-line);border-radius:22px;background:#fff;padding:28px}.mgpx-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.mgpx-badge{display:inline-block;background:#f6f7f8;border-radius:30px;color:#24282d;font-size:12px;font-weight:700;padding:5px 12px;white-space:nowrap}.mgpx-steps{list-style:none!important;margin:20px 0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mgpx-steps li{display:flex;gap:12px;border:1px solid #e8e9eb;border-radius:15px;padding:16px;background:#fafafa}.mgpx-step-number{flex:0 0 30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#24282d;color:#fff;font-size:14px}.mgpx-steps h3{font-size:15px!important;margin:0 0 8px!important;color:#24282d}.mgpx-steps p{font-size:13px;color:#667078;margin:0}.mgpx-animation{display:grid;justify-items:center;gap:10px;background:#f6f7f8;border:1px solid #e8e9eb;padding:20px;border-radius:18px;margin:20px 0}.mgpx-demo-window{width:100%;max-width:330px;border:1px solid #e8e9eb;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 7px 22px #24282d0c}.mgpx-demo-bar{height:32px;background:#f6f7f8;display:flex;align-items:center;gap:4px;padding:0 12px;font:11px sans-serif;color:#667078;direction:ltr}.mgpx-demo-bar span{margin-right:auto}.mgpx-demo-bar i{width:6px;height:6px;border-radius:50%;background:#aeb2b6}.mgpx-demo-scene{display:grid;gap:10px;justify-items:stretch;text-align:center;padding:16px;min-height:205px;animation:mgpx-in .3s ease}.mgpx-demo-scene[hidden]{display:none!important}.mgpx-demo-icon{font:24px sans-serif;color:var(--mg-primary,#ff7a12)}.mgpx-demo-scene strong{font-size:14px}.mgpx-demo-input{border:1px solid #e8e9eb;border-radius:8px;padding:8px;font-size:12px;color:#667078}.mgpx-demo-button{padding:7px;border-radius:8px;background:#24282d;color:#fff;font-size:12px}.mgpx-play{background:#fff0;border:1px solid #dfe2e4;color:#24282d;min-height:42px;padding:5px 16px;border-radius:9px;cursor:pointer;font:inherit;font-size:12px}.mgpx-preview,.mgpx-document{margin:0;background:#f6f7f8;font-family:Tahoma,Arial,sans-serif;line-height:1.9}.mgpx-preview>main{max-width:1056px;margin:auto;padding:22px}.mgpx-preview-note{padding:10px 15px;border:1px dashed #c9ab71;background:#fff9e9;border-radius:10px;color:#705a2d;font-size:12px}.mgpx-invoice{max-width:960px;margin:25px auto;padding:32px;background:#fff;border:1px solid #e8e9eb;border-radius:16px}.mgpx-invoice h1{font-size:28px;margin:8px 0}.mgpx-invoice h2{font-size:16px;margin:0 0 8px}.mgpx-print-tools{display:flex;gap:10px;margin-bottom:25px;flex-wrap:wrap}.mgpx-invoice-head{display:flex;justify-content:space-between;gap:25px;border-bottom:3px solid var(--mg-primary,#ff7a12);padding-bottom:20px}.mgpx-invoice-head p{font-size:13px;margin:4px 0}.mgpx-invoice-customer{margin:22px 0;padding:18px;background:#f6f7f8;border-radius:12px}.mgpx-invoice-customer p{margin:4px 0;font-size:13px}.mgpx-table-wrap{overflow-x:auto}.mgpx-invoice table{border-collapse:collapse;width:100%;font-size:13px;text-align:right}.mgpx-invoice th,.mgpx-invoice td{padding:12px;border-bottom:1px solid #e8e9eb}.mgpx-invoice th{background:#f6f7f8}.mgpx-invoice-totals{margin:24px 0 24px auto;max-width:440px}.mgpx-invoice-totals>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-bottom:1px solid #e8e9eb}.mgpx-invoice-totals dt,.mgpx-invoice-totals dd{margin:0;font-size:13px}.mgpx-invoice-totals>div:last-child{font-weight:700}.mgpx-invoice-note{border-top:1px solid #e8e9eb;padding-top:18px;font-size:12px;color:#667078;white-space:normal;overflow-wrap:anywhere}@keyframes mgpx-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:640px){.mgpx-dialog{padding:30px 22px}.mgpx-dialog h2,.mgpx-thankyou h2{font-size:21px}.mgpx-steps{grid-template-columns:1fr}.mgpx-receipt,.mgpx-guide{padding:20px}.mgpx-guide-heading{align-items:flex-start}.mgpx-badge{font-size:10px}.mgpx-receipt-actions{display:grid}.mgpx-thankyou .mgpx-button{width:100%}.mgpx-animation{padding:12px}.mgpx-invoice{padding:16px;margin:12px;border-radius:12px}.mgpx-invoice-head{display:block}.mgpx-invoice-head>div+div{margin-top:15px}.mgpx-invoice th,.mgpx-invoice td{padding:8px;font-size:11px}.mgpx-preview>main{padding:12px}.mgpx-preview-note{font-size:11px}}@media(prefers-reduced-motion:reduce){.mgpx-demo-scene{animation:none}}@media print{.mgpx-document{background:#fff}.mgpx-invoice{border:0;margin:0;max-width:none;padding:0;border-radius:0}.mgpx-print-tools{display:none!important}.mgpx-table-wrap{overflow:visible}.mgpx-invoice tr,.mgpx-invoice-customer,.mgpx-invoice-head{break-inside:avoid}.mgpx-invoice thead{display:table-header-group}.mgpx-preview-note{display:block}body{print-color-adjust:exact;-webkit-print-color-adjust:exact}@page{size:A4;margin:15mm}}#mgpx-added-dialog .mgpx-close{position:absolute!important;inset:10px auto auto 12px!important;display:grid!important;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0!important;border:0!important;border-radius:50%!important;font-size:28px;line-height:1;font-family:Arial,sans-serif;background:#f6f7f8!important;color:#667078!important;transform:none!important}#mgpx-added-dialog .mgpx-button,.mgpx-thankyou .mgpx-button{border-radius:12px!important}.mgpx-primary{background:var(--mg-grad,linear-gradient(225deg,#ffa01c,#ff7a12 52%,#ff5a00))!important;color:#fff!important;border-color:#fff0}.mgpx-primary:hover{background:var(--mg-grad,linear-gradient(225deg,#ffa01c,#ff7a12 52%,#ff5a00))!important;filter:brightness(1.05);color:#fff!important}.mgpx-dialog .mgpx-button,.mgpx-thankyou .mgpx-button,.mgpx-guide .mgpx-button{min-height:48px!important;height:auto!important;padding:10px 22px!important;font-size:14px!important;line-height:1.8!important;text-transform:none!important;letter-spacing:0!important}.mgpx-thankyou .mgpx-play{min-height:42px!important;height:auto!important;padding:5px 16px!important;font-size:12px!important;text-transform:none!important}