.mc-editorial .mc-fipe-calc {
    margin: 24px 0 36px; padding: clamp(20px, 4vw, 32px);
    border: 1px solid #dfe1d5; border-top: 4px solid #e3d300;
    border-radius: 16px; background: #fafbf5; color: #20251a;
}
.mc-editorial .mc-fipe-calc h2 {
    margin: 0 0 12px; font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.3; letter-spacing: -.02em;
}
.mc-fipe-calc p { margin: 0 0 16px; line-height: 1.65; }
.mc-fipe-calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.mc-fipe-calc legend { font-size: .9rem; font-weight: 700; padding: 0 0 12px; }
.mc-fipe-calc .mc-fipe-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mc-fipe-calc .mc-fipe-field { min-width: 0; }
.mc-fipe-calc label { display: block; margin: 0 0 7px; font-size: .9rem; font-weight: 700; }
.mc-fipe-calc input {
    width: 100%; min-width: 0; box-sizing: border-box; padding: 14px;
    border: 1px solid #969e88; border-radius: 9px; background: #fff;
    color: #20251a; font: inherit; font-size: 16px; line-height: 1.4;
}
.mc-fipe-calc input[aria-invalid="true"] { border: 2px solid #a12424; }
.mc-fipe-calc .mc-fipe-error { margin: 8px 0 0; color: #a12424; font-size: .85rem; }
.mc-fipe-calc .mc-fipe-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.mc-fipe-calc button {
    border: 1px solid #d3c400; border-radius: 9px; padding: 13px 20px;
    min-height: 48px; background: #ffed00; color: #20251a; font: inherit;
    font-size: .9rem; font-weight: 800; cursor: pointer; line-height: 1.4;
}
.mc-fipe-calc button[type="reset"] { background: #fff; border-color: #969e88; }
.mc-fipe-calc button:disabled { cursor: default; opacity: .55; }
.mc-fipe-calc input:focus-visible,.mc-fipe-calc button:focus-visible,.mc-fipe-calc a:focus-visible {
    outline: 3px solid #566226 !important; outline-offset: 3px;
}
.mc-fipe-calc .mc-fipe-result {
    padding: 18px; margin: 0 0 16px; border-radius: 10px;
    background: #ecefe1; color: #343e20; line-height: 1.7; overflow-wrap: anywhere;
}
.mc-fipe-calc .mc-fipe-result[data-state="calculated"] { background: #20251a; color: #fff; font-weight: 700; }
.mc-fipe-calc .mc-fipe-help { font-size: .85rem; color: #515b43; }
.mc-fipe-calc .mc-fipe-help:last-child { margin-bottom: 0; }
.mc-fipe-calc a { color: #414d20; text-decoration: underline; text-underline-offset: 3px; }
.mc-fipe-calc [hidden] { display: none; }
@media (max-width: 600px) {
    .mc-fipe-calc .mc-fipe-fields { grid-template-columns: 1fr; }
    .mc-fipe-calc .mc-fipe-actions { flex-direction: column; }
    .mc-fipe-calc button { width: 100%; }
}
