body { font-family: Arial; padding: 20px; }
table { border-collapse: collapse; }
td, th { padding: 6px; }
.modal {
    max-width: 350px;
    padding: 20px;
    margin: 50px auto;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
}
.modal input {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
}
.bloky-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.blok-card {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blok-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.blok-name {
    font-weight: bold;
    font-size: 18px;
}

.blok-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.blok-flags span {
    display: inline-block;
    background: #eee;
    padding: 3px 7px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 12px;
}

.blok-actions a {
    margin-right: 10px;
    color: #0077cc;
    text-decoration: none;
}

.blok-actions a.delete {
    color: #cc0000;
}
<!--------------------------->
.excel-table {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block; 
}

/* jeden společný grid */
.excel-table-inner {
    display: grid;
    grid-template-columns: repeat(9, max-content); /* POČET SLOUPCŮ! */
}

.excel-header {
    background: #f5f5f5;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.excel-cell {
    padding: 2px 6px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.excel-row:hover .excel-cell {
    background: #f9f9f9;
}


<!--------------------------------->
.row-updated {
    background-color: #d6f5d6;
    animation: fadeOut 2.5s forwards;
}

@keyframes fadeOut {
    0% { background-color: #d6f5d6; }
    100% { background-color: transparent; }
}
