/* Additional CLS Prevention Rules */

/* Force layout stability */
* {
    contain: none;
}

/* Prevent font swap layout shifts */
@font-face {
    font-family: 'Inter';
    font-display: block;
}

/* Reserve space for common elements */
.header {
    min-height: 70px;
}

.visual-results,
.smart-results {
    min-height: 200px;
}

.form-input {
    min-height: 44px;
}

.calc-btn {
    min-height: 44px;
}

/* Force immediate rendering without shifts */
.main {
    contain: layout style paint;
}

/* Prevent any content shifts during load */
.calculator-grid > * {
    will-change: auto;
}

/* Ensure consistent sizing during load */
.logo svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
}