/* MQC Toolkit v1.0.0 — mobile-first, theme-agnostic. Scoped under .mqc */
.mqc { max-width: 680px; margin: 1.5rem auto; font-family: inherit; color: inherit; }
.mqc-card { border: 1px solid #dfe3da; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(46,125,50,.07); overflow: hidden; }
.mqc-head { background: #2e7d32; color: #fff; padding: 1rem 1.25rem; }
.mqc-head h2, .mqc-head h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.mqc-form { padding: 1.25rem; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mqc-form { grid-template-columns: 1fr 1fr; } .mqc-field-full { grid-column: 1 / -1; } }
.mqc-field { display: flex; flex-direction: column; gap: .3rem; }
.mqc-field label { font-weight: 600; font-size: .9rem; }
.mqc-field .mqc-hint { font-weight: 400; font-size: .8rem; color: #666; }
.mqc-field input[type=number], .mqc-field input[type=text], .mqc-field select { padding: .6rem .7rem; border: 1px solid #c9cfc4; border-radius: 8px; font-size: 1rem; width: 100%; box-sizing: border-box; background: #fff; }
.mqc-field input:focus, .mqc-field select:focus { outline: 2px solid #2e7d32; outline-offset: 1px; border-color: #2e7d32; }
.mqc-input-wrap { display: flex; align-items: center; gap: .4rem; }
.mqc-input-wrap .mqc-unit { font-size: .85rem; color: #555; white-space: nowrap; }
.mqc-check { flex-direction: row; align-items: center; gap: .5rem; }
.mqc-check input { width: 1.15rem; height: 1.15rem; accent-color: #2e7d32; }
.mqc-actions { grid-column: 1 / -1; display: flex; gap: .75rem; flex-wrap: wrap; }
.mqc-btn { background: #2e7d32; color: #fff; border: none; border-radius: 8px; padding: .75rem 1.5rem; font-size: 1rem; font-weight: 700; cursor: pointer; }
.mqc-btn:hover { background: #276a2b; }
.mqc-btn-ghost { background: #f1f4ee; color: #2e7d32; border: 1px solid #c9cfc4; border-radius: 8px; padding: .75rem 1.25rem; font-size: 1rem; cursor: pointer; }
.mqc-results { margin: 0 1.25rem 1.25rem; border: 1px solid #dfe3da; border-radius: 8px; background: #f7faf5; overflow: hidden; }
.mqc-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid #e7ebe3; font-size: .95rem; }
.mqc-row:last-child { border-bottom: none; }
.mqc-row-label { color: #444; }
.mqc-row-value { font-weight: 700; text-align: right; }
.mqc-row-big { background: #e8f2e8; font-size: 1.05rem; }
.mqc-row-big .mqc-row-value { color: #1b5e20; }
.mqc-tip { margin: 0 1.25rem 1.25rem; font-size: .85rem; color: #555; background: #fffbe8; border: 1px solid #f0e6b8; border-radius: 8px; padding: .7rem .9rem; }
@media print { .mqc-form, .mqc-tip { display: none; } }

/* v1.2.0 — premium card header + results title */
.mqc-head { display: flex; align-items: center; gap: 12px; }
.mqc-head-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.mqc-head-icon svg { width: 26px; height: 26px; color: #fff; }
.mqc-head h2 { margin: 0; }
.mqc-free { text-align: center; font-size: 13px; color: #5a6b5e; margin: 0 1.25rem 1.25rem; }
.mqc-results-title { font-weight: 700; color: #1b5e20; padding: .7rem 1rem .2rem; font-size: 1rem; }
