/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
#macro-calc{max-width:560px;margin:1.5rem 0;padding:1.25rem;border:1px solid #d0d7de;border-radius:10px;background:#f8fafc;font-family:system-ui,-apple-system,sans-serif;color:#1e293b;}#macro-calc .mc-row{margin-bottom:0.9rem;}#macro-calc .mc-lbl{display:block;font-weight:600;margin-bottom:0.35rem;font-size:0.93rem;}#macro-calc .mc-grp{display:flex;gap:0.5rem;flex-wrap:wrap;}#macro-calc input[type="number"]{flex:1 1 100px;min-width:85px;padding:0.52rem 0.7rem;border:1px solid #94a3b8;border-radius:6px;font-size:0.98rem;background:#fff;}#macro-calc .mc-pills{display:inline-flex;flex-wrap:wrap;border:1px solid #94a3b8;border-radius:6px;overflow:hidden;background:#fff;}#macro-calc .mc-pills label{margin:0;cursor:pointer;}#macro-calc .mc-pills input{position:absolute;opacity:0;pointer-events:none;}#macro-calc .mc-pills span{display:block;padding:0.5rem 0.68rem;font-size:0.84rem;font-weight:600;color:#475569;border-right:1px solid #e2e8f0;transition:0.15s;}#macro-calc .mc-pills label:last-child span{border-right:none;}#macro-calc .mc-pills input:checked + span{background:#0f766e;color:#fff;}#macro-calc .mc-btns{display:flex;gap:0.6rem;margin-top:1.1rem;}#macro-calc button{padding:0.6rem 1.1rem;border:none;border-radius:6px;font-weight:600;font-size:0.95rem;cursor:pointer;}#macro-calc button[type="submit"]{background:#0f766e;color:#fff;flex:1;}#macro-calc button[type="reset"]{background:#e2e8f0;color:#334155;}#macro-calc .mc-res{margin-top:1.1rem;padding:0.9rem;border-radius:8px;background:#fff;border-left:4px solid #0f766e;font-size:0.94rem;line-height:1.55;}#macro-calc .mc-res:empty{display:none;}#macro-calc [hidden]{display:none;}
