.land-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.grid-square {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.grid-square:hover {
    filter: brightness(0.9);
}

.tooltip-inner {
    max-width: 350px !important;
    text-align: left;
    padding: 10px;
}

.sub-section-title {
    border-left: 5px solid #007bff;
    padding-left: 10px;
    margin-bottom: 15px;
}

.analysis-table thead th {
    border-bottom: 1px solid #dee2e6 !important;
    color: #495057;
    font-weight: 600;
}

.analysis-table tbody td {
    border-bottom: 1px dashed #e9ecef;
}

.analysis-table tbody tr:last-child td {
    border-bottom: none;
}

.land-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 4px;
    max-width: 240px;
    margin: 10px auto;
}

.grid-square-small {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background-color: #fff;
    border-radius: 4px;
    padding: 4px;
    text-align: center;
}

.grid-square-small.good {
    border-color: #28a745;
    background-color: #f8fff9;
}

.grid-square-small.warning {
    border-color: #ffc107;
    background-color: #fffdf5;
}

.grid-square-small.bad {
    border-color: #dc3545;
    background-color: #fff9f9;
}

.grid-square-small.none {
    background-color: #f8f9fa;
    color: #6c757d;
}

.block-name {
    font-size: 0.65rem;
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 2px;
}

.hardness-value {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.hardness-sparkline {
    width: 100%;
    height: 30px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hardness-sparkline svg {
    width: 100%;
    height: 100%;
}

.grid-square-small.good .hardness-sparkline {
    color: #28a745;
}

.grid-square-small.warning .hardness-sparkline {
    color: #ffc107;
}

.grid-square-small.bad .hardness-sparkline {
    color: #dc3545;
}

.grid-square-small.none .hardness-sparkline {
    color: #adb5bd;
}

