.mg-content{max-width:1100px;min-width:0}.mg-panel{background:#fff;border:1px solid #d7dfdf;border-radius:18px;padding:clamp(18px,4vw,36px);box-shadow:0 8px 30px #173c3b0b}.mg-intro{max-width:75ch}.mg-inputs{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.mg-inputs fieldset{min-width:0;border:1px solid #d7dfdf;border-radius:12px;padding:18px}.mg-inputs legend{font-weight:700;padding:0 8px}.mg-inputs select,.mg-inputs input,.mg-tva select,.mg-tva input{width:100%;max-width:100%;padding:12px;border:1px solid #96abaa;border-radius:8px;background:#fff;font:inherit;color:#153735}.mg-inputs label,.mg-tva label{display:block;font-weight:600;margin:12px 0 6px}.mg-tva{display:grid;grid-template-columns:2fr 1fr;gap:24px}.mg-help{font-size:.92rem;color:#466361}.mg-actions,.mg-examples{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.mg-examples button{background:#fff;border:1px solid #6b8987;padding:9px 14px;border-radius:8px;font:inherit;color:#174d49;cursor:pointer}.mg-status{padding:14px;border-left:4px solid #158277;background:#eff7f5}.mg-error{border-color:#b03a2e;color:#862f23;background:#fff1ee}.mg-result{background:#f3f8f7;border:1px solid #bfd9d5;border-radius:12px;padding:24px;margin-top:24px}.mg-table{border-collapse:collapse;width:100%;margin:18px 0;overflow-wrap:anywhere}.mg-table caption{text-align:left;font-weight:600;margin-bottom:10px}.mg-table th,.mg-table td{padding:12px;text-align:left;border-bottom:1px solid #c6d8d6;vertical-align:top}.mg-table thead{background:#e5efed}.mg-table tbody th{font-weight:600}.mg-table td:last-child{font-variant-numeric:tabular-nums}.mg-results{font-size:1.05rem}.mg-results td{font-weight:700;color:#135c52}.mg-formulas{padding-left:20px;line-height:1.8}.mg-reference{font-size:.93rem;overflow-wrap:anywhere}.mg-table-box{overflow-x:auto}.mg-tax-table{font-size:.94rem;min-width:640px}.mg-tax-table td:first-child{font-weight:600}.mg-updated{font-size:.94rem;color:#496562}.mg-panel button:focus-visible,.mg-panel input:focus-visible,.mg-panel select:focus-visible{outline:3px solid #e09a28;outline-offset:3px}.mg-panel [hidden]{display:none}.mg-status:empty{display:none}.mg-content h2{margin-top:28px}.mg-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;list-style:none;padding:0}.mg-links li{border:1px solid #d7dfdf;border-radius:12px;padding:18px;background:white}.mg-links a{font-weight:700}.mg-links p{font-size:.95rem}.mg-copy-note{align-self:center;font-size:.95rem}@media(max-width:650px){.mg-inputs,.mg-tva,.mg-links{grid-template-columns:1fr}.mg-inputs,.mg-tva{gap:12px}.mg-result{padding:16px}.mg-table th,.mg-table td{padding:10px 8px}.mg-results th{width:65%}.mg-inputs fieldset{padding:14px}.mg-panel{border-radius:12px}}@media(prefers-reduced-motion:reduce){.mg-panel *{scroll-behavior:auto}}
