/*
=====================================================
CCFT Lund Heart Module v2
=====================================================
*/

.lund-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.lund-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.lund-form-grid input,
.lund-form-grid select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
}

.lund-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.lund-result-grid > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lund-interpretation-card {
    margin: 20px 0;
    padding: 18px;
    border-left: 5px solid var(--communio-light-blue);
    border-radius: 8px;
    background: rgba(44, 110, 155, 0.08);
}

.lund-scale {
    position: relative;
    height: 90px;
    margin: 30px 10px 20px;
}

.lund-scale-line {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border);
}

.lund-marker {
    position: absolute;
    top: 28px;
    transform: translateX(-50%);
}

.lund-marker::before {
    content: "";
    display: block;
    width: 3px;
    height: 32px;
    margin: 0 auto;
    background: currentColor;
}

.lund-marker span {
    display: block;
    margin-top: 4px;
    white-space: nowrap;
    font-size: 12px;
    transform: translateX(-50%);
    margin-left: 50%;
}

.lund-marker-observed {
    font-weight: 700;
}

@media print {

    .navigation,
    .header,
    footer,
    .cjd-action-row {
        display: none !important;
    }

    .page {
        display: none !important;
    }

    #lund-heart.page {
        display: block !important;
    }
}
