/* --- Стили для Обоев (Fuchsia Theme) --- */
:root {
    --accent-fuchsia: #C026D3;
    --accent-fuchsia-light: #FDF4FF;
    --gradient-fuchsia-card: linear-gradient(135deg, #E879F9 0%, #C026D3 100%);
}

.calc-header { margin-bottom: 32px; }
.subtitle { color: var(--text-secondary); margin-top: 8px; }

/* Сетка */
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1.2fr 0.8fr; } }

/* Inputs */
.calc-inputs { gap: 12px; /* !FIX: Минимальный гап контейнера */ }

.input-group { 
    margin-bottom: 12px; /* !FIX: Уменьшил до 12px для максимальной компактности */
}

.input-group label { 
    display: block; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 6px; /* !FIX: Чуть ближе к полю */
    color: var(--text-primary); 
}
.input-wrapper { position: relative; display: flex; align-items: center; }

.input-wrapper input {
    width: 100%; 
    padding: 12px 16px; /* !FIX: Уменьшил высоту поля */
    padding-right: 40px;
    font-size: 18px; 
    font-weight: 500;
    border: 1px solid #E5E7EB; border-radius: 12px;
    outline: none; transition: border 0.2s, box-shadow 0.2s;
    font-family: var(--font-main);
}
/* Розовый фокус */
.input-wrapper input:focus { 
    border-color: var(--accent-fuchsia); 
    box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.15); 
}
.suffix { position: absolute; right: 16px; color: var(--text-secondary); pointer-events: none; }
/* Уменьшаем отступ для подсказок */
.helper-text { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* Сетка для двух колонок (Ширина/Длина рулона) */
.row-2-col { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; /* !FIX: Тоже уменьшаем гап */
}

/* Разделитель делаем тоньше и меньше отступы */
.divider { 
    border: 0; 
    border-top: 1px solid #E5E7EB; 
    margin: 16px 0; /* !FIX: Был 24px */
}

/* Результаты (Fuchsia Card) */
.card--fuchsia { 
    background: var(--gradient-fuchsia-card); 
    color: #fff; 
    border: none; 
}
.card--fuchsia h2 { color: rgba(255,255,255,0.95); margin-bottom: 24px; font-size: 16px; }
@media (min-width: 900px) { .sticky-card { position: sticky; top: 24px; } }

.big-result {
    font-size: 64px; font-weight: 800; line-height: 1; margin-bottom: 32px;
    display: flex; align-items: baseline; gap: 12px;
    white-space: nowrap; 
}
.big-result small { font-size: 24px; font-weight: 600; opacity: 0.8; }

/* Детали расчета */
.details-list { display: flex; flex-direction: column; gap: 12px; }
.detail-row {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2); 
    padding-bottom: 12px; font-size: 15px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row span { opacity: 0.9; }

.detail-row strong { 
    font-size: 18px; font-weight: 700;
    white-space: nowrap; 
    flex-shrink: 0;
    margin-left: 12px;
}

.summary-divider { height: 1px; background: rgba(255,255,255,0.2); margin: 24px 0; }

/* Подсказка */
.tip-box {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff; 
    background: rgba(255, 255, 255, 0.15); 
    padding: 16px; 
    border-radius: 12px; 
    backdrop-filter: blur(4px);
    margin-top: 16px;
}

.tip-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.tip-box strong {
    color: #fff;
    font-weight: 700;
    background: rgba(255,255,255,0.1);
    padding: 0 4px;
    border-radius: 4px;
}