/* RECATOOLS — Cooking Measurement Converter */
.cmc-wrap { padding: 1.25rem; }
.cmc-grid { display: grid; gap: .9rem; }
.cmc-row { display: grid; gap: .4rem; }
.cmc-row label { font-size: .8rem; font-weight: 600; color: #1a1814; }
.cmc-value-units { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: end; }
.cmc-input, .cmc-select { padding: .65rem .8rem; border: 1px solid #ebebeb; border-radius: 10px; font-size: .95rem; font-family: inherit; background: #fff; }
.cmc-input { font-size: 1.2rem; font-weight: 700; text-align: center; color: #92400e; }
.cmc-input:focus, .cmc-select:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.cmc-units { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; margin-top: .4rem; }
.cmc-unit-block label { font-size: .72rem; font-weight: 600; color: #6b6760; display: block; margin-bottom: .25rem; }
.cmc-swap { align-self: end; margin-bottom: .1rem; width: 40px; height: 40px; border-radius: 999px; border: 1px solid #f59e0b; background: #fffbeb; color: #b45309; font-size: 1.1rem; cursor: pointer; }
.cmc-swap:hover { background: #fef3c7; }
.cmc-ingredient-row select { width: 100%; }
.cmc-result { margin: 1.25rem 0 .5rem; padding: 1.3rem 1rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; text-align: center; font-size: 1.25rem; color: #92400e; }
.cmc-result .cmc-out { color: #b45309; font-size: 1.4rem; }
.cmc-need { font-size: .9rem; font-weight: 500; color: #b45309; }
.cmc-note { font-size: .76rem; color: #9b968d; text-align: center; min-height: 1.1em; }
.cmc-presets { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #ebebeb; }
.cmc-presets-head { font-size: .8rem; font-weight: 700; color: #1a1814; margin-bottom: .55rem; }
.cmc-preset-btns { display: flex; flex-wrap: wrap; gap: .45rem; }
.cmc-preset { padding: .45rem .85rem; font-size: .78rem; font-weight: 600; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 999px; cursor: pointer; }
.cmc-preset:hover { background: #fef3c7; }
